/* ==========================================================================
   Your AI Workshop with Mark Bouris · site draft v0.2 (blue palette)
   --------------------------------------------------------------------------
   Fonts
   - Inter (OFL), self-hosted from assets/fonts/: the one typeface used
     throughout. These are the Latin files Google Fonts serves, with the same
     character range; the italic accent is Inter Italic.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour: blue hues */
  --navy: #0B1733;       /* dark bands */
  --navy-2: #13234A;     /* raised surfaces on dark */
  --navy-3: #1D3263;
  --mist: #F2F6FD;       /* light bands */
  --white: #FFFFFF;
  --ink: #0E1A33;
  --ink-2: #46546F;
  --ink-3: #66738C;
  --line: #DCE4F0;
  --line-2: #BFCADD;
  --on-dark: #F4F7FD;
  --on-dark-2: #B9C5DD;
  --on-dark-3: #8592AE;
  --line-dark: rgba(244, 247, 253, .16);
  --blue: #1D5BEA;       /* buttons and accents */
  --blue-hover: #174CCB;
  --blue-deep: #133E9E;
  --blue-wash: #E6EEFD;
  --sky: #8CADFF;        /* accents on dark: step numerals, stars, cursor */
  --focus: #3B7BFF;

  /* Media placeholders: shown until a file is dropped into assets/ */
  --ph-deep: radial-gradient(140% 110% at 88% 8%, #86A9F2 0%, #4468C4 26%, #1F3670 55%, #0B1733 100%);
  --ph-alt: radial-gradient(130% 110% at 92% 6%, #9BD8F2 0%, #4A8BC4 24%, #1F3D78 56%, #0B1733 100%);
  --ph-light: linear-gradient(140deg, #EDF3FD 0%, #C9D8F4 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  /* Type */
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue); color: var(--white);
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Building blocks
   ========================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--white { background: var(--white); }
.section--tint { background: var(--mist); }
.section--dark { background: var(--navy); color: var(--on-dark); }

.eyebrow {
  margin-bottom: 20px;
  color: var(--ink-3);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.section--dark .eyebrow, .hero .eyebrow, .final .eyebrow { color: var(--on-dark-3); }

.h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.h3-lg {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

/* The pixel italic accent: one phrase per headline */
.px {
  font-style: italic;
  font-weight: 400;
}

.lede { max-width: 56ch; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.section--dark .lede { color: var(--on-dark-2); }

.head { display: grid; gap: 20px; max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.head .eyebrow { margin-bottom: 0; }
.head--split {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}
.head--split > :first-child { grid-column: 1 / -1; }

/* Content still to confirm: remove the brackets as you fill things in */
.tbc {
  padding-inline: .12em;
  border-radius: 3px;
  background: rgba(29, 91, 234, .14);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section--dark .tbc, .hero .tbc, .final .tbc, .site-footer .tbc { background: rgba(140, 173, 255, .22); }


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px; font-weight: 500; line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--dark { background: var(--navy); color: var(--on-dark); }
.btn--dark:hover { background: var(--navy-3); }
.btn--ghost-light { border-color: rgba(244, 247, 253, .38); background: transparent; color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(244, 247, 253, .06); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-wash); color: var(--blue-hover); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--wrap { padding-block: 14px; line-height: 1.3; text-align: center; white-space: normal; }
.btn__arrow { transition: transform .15s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__play {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* Media slots: <img data-slot> sits over a designed placeholder.
   If the file isn't in assets/ yet, the image is removed (see <head>) and the placeholder shows. */
.ph {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--ph-deep);
  border-radius: var(--radius);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  mix-blend-mode: overlay;
  opacity: .28;
  pointer-events: none;
}
.ph > img, .ph > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ph__label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(11, 23, 51, .6);
  color: rgba(244, 247, 253, .92);
  font-size: 12px; line-height: 1.35;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ph:has(> img)::after, .ph:has(> img) > .ph__label { display: none; }
.ph--alt { background: var(--ph-alt); }
.ph--light { background: var(--ph-light); }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-9x16 { aspect-ratio: 9 / 16; }


/* Plus / minus icon for accordions */
.plus {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color .15s, border-color .15s;
}
.plus::before, .plus::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .2s;
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  color: var(--on-dark);
  transition: background-color .25s, border-color .25s;
}
.site-header.is-solid, .site-header.menu-open {
  background: rgba(11, 23, 51, .96);
  border-bottom-color: var(--line-dark);
}
.nav { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 16px; height: 26px; color: var(--sky); }
.logo__name { font-size: 18px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.logo__with { color: var(--on-dark-3); font-size: 14px; white-space: nowrap; }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav__burger span, .nav__burger span::before {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--on-dark);
  transition: transform .2s;
}
.nav__burger span { position: relative; transform: translateY(-4px); }
.nav__burger span::before { content: ""; position: absolute; top: 8px; }
.nav__burger[aria-expanded="true"] span { transform: translateY(0) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(-8px) rotate(-90deg); }
.nav__menu {
  display: grid;
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--line-dark);
}
.nav__menu a:not(.btn) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 20px; letter-spacing: -.01em;
  text-decoration: none;
}
.nav__menu .btn { margin-top: 24px; }
.nav__menu .btn + .btn { margin-top: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(640px, 92vh, 920px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px));
  padding-bottom: clamp(32px, 4vw, 48px);
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
}
/* Hero video: a muted 15-second loop behind the headline; plain navy until it
   plays. Preferred source is a local file (.hero__clip); the fallback is a
   YouTube clip (.hero__video), revealed only once it has played for a few
   seconds so YouTube's start-up controls never show. */
.hero__media {
  position: absolute; inset: 0;
  overflow: hidden;
  container-type: size;
  background: var(--navy);
}
.hero__clip {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
}
.hero__media.is-clip .hero__clip { opacity: 1; transition: opacity .5s ease; }
/* The YouTube frame is sized so the hero only shows its top ~70%: the video's
   burned-in captions (bottom of the frame) and YouTube's title bar (top) both
   fall outside the hero. */
.hero__video {
  --h: max(140cqh, 56.25cqw);
  position: absolute; left: 50%; top: calc(var(--h) * -0.05);
  width: calc(var(--h) * 16 / 9);
  height: var(--h);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
}
.hero__media.is-playing .hero__video { opacity: 1; transition: opacity 1.2s ease; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(8, 17, 40, .9) 0%, rgba(11, 23, 51, .74) 38%, rgba(29, 54, 120, .3) 74%, rgba(29, 54, 120, .1) 100%),
    linear-gradient(0deg, rgba(8, 17, 40, .72) 0%, rgba(8, 17, 40, 0) 38%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero__title .px { display: block; margin-top: .08em; }
.cursor {
  display: inline-block;
  width: .42em; height: .78em;
  margin-left: .1em;
  background: var(--sky);
  vertical-align: -.04em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__lede { max-width: 52ch; margin-top: 28px; color: rgba(244, 247, 253, .86); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ==========================================================================
   Credibility strip
   ========================================================================== */

.cred { padding-block: 40px; background: var(--navy); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.cred__inner { display: flex; align-items: center; gap: 48px; }
.cred__label { color: var(--on-dark-2); font-size: 15px; white-space: nowrap; }
.logos {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin: 0; padding: 0;
  list-style: none;
}
/* Full-colour logos on white tiles, so logos with their own backgrounds sit cleanly */
.logos li {
  display: grid; place-items: center;
  height: 76px;
  padding: 10px 18px;
  background: var(--white);
  border-radius: 10px;
}
.logos img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }

/* ==========================================================================
   Mark's video: plays in the page; the file only downloads once someone
   clicks play (js/main.js swaps the poster for the player)
   ========================================================================== */

.feature-video__title { max-width: 21ch; margin-inline: auto; text-align: center; text-wrap: balance; }
.feature-video__frame {
  position: relative;
  max-width: 960px;
  margin: clamp(32px, 4vw, 56px) auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(11, 23, 51, .5);
}
.feature-video__poster {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 0;
  background: none;
  cursor: pointer;
}
.feature-video__poster img { width: 100%; height: 100%; object-fit: cover; }
.feature-video__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: clamp(64px, 9vw, 92px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue); color: var(--white);
  box-shadow: 0 12px 34px rgba(6, 12, 28, .5);
  transform: translate(-50%, -50%);
  transition: transform .15s, background-color .15s;
}
.feature-video__play svg { width: 36%; height: 36%; margin-left: 8%; }
.feature-video__poster:hover .feature-video__play { background: var(--blue-hover); transform: translate(-50%, -50%) scale(1.06); }
.feature-video__poster:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.feature-video__time {
  position: absolute; right: 14px; bottom: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(6, 12, 28, .78); color: var(--white);
  font-size: 15px; font-weight: 600; line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.feature-video__player { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
@media (prefers-reduced-motion: reduce) { .feature-video__play { transition: none; } }

/* ==========================================================================
   Mark's note
   ========================================================================== */

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.story__photos { display: grid; gap: 16px; }
.story__photo { position: relative; overflow: hidden; margin: 0; background: var(--navy); border-radius: var(--radius); }
.story__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.story__photo figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(11, 23, 51, .6);
  color: var(--on-dark);
  font-size: 13px; font-weight: 500;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.story__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.story__quote { margin-top: 28px; }
.story__quote blockquote { display: grid; gap: 18px; margin: 0; color: var(--ink-2); font-size: 17px; }
.story__pledge {
  color: var(--blue);
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4;
}
.story__quote figcaption { margin-top: 24px; color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Tabs: The AI Program / Custom AI Development
   ========================================================================== */

.tabs-band { padding-top: clamp(56px, 7vw, 96px); background: var(--mist); }
.tabs-band__title { max-width: 860px; margin-bottom: clamp(28px, 4vw, 40px); }
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  width: 100%;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(11, 23, 51, .35);
}
.tabs__tab {
  position: relative;
  padding: 15px 26px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 16px; font-weight: 500; line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--navy); color: var(--on-dark); }
/* Auto-advance (js/main.js adds .is-auto while it runs): a line under the active
   tab's label fills over 5 s, then the other tab takes over. .is-paused holds it
   while the tabs are off screen. */
.tabs__progress {
  position: absolute; left: 28px; right: 28px; bottom: 7px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(140, 173, 255, .22);
  opacity: 0;
  transition: opacity .2s;
}
.tabs__progress::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
}
.tabs.is-auto .tabs__tab[aria-selected="true"] .tabs__progress { opacity: 1; }
.tabs.is-auto .tabs__tab[aria-selected="true"] .tabs__progress::after { animation: tab-progress 5s linear forwards; }
/* Must outrank the rule above: its animation shorthand resets the play state */
.tabs.is-auto.is-paused .tabs__tab[aria-selected="true"] .tabs__progress::after { animation-play-state: paused; }
@keyframes tab-progress { to { transform: scaleX(1); } }
.section--after-tabs { padding-top: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   Custom AI development (tab 2)
   ========================================================================== */

.clients { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 56px); }
.clients__label { color: var(--ink-3); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.logos--light li { border: 1px solid var(--line); }

.build-box {
  padding: clamp(28px, 4.5vw, 64px);
  background: var(--navy);
  color: var(--on-dark);
  border-radius: 16px;
}
.build-box__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.build-box .eyebrow { margin-bottom: 14px; color: var(--sky); }
.build-box__title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.build-box__pitch { display: grid; justify-items: start; gap: 16px; }
.build-box__pitch p { color: var(--on-dark-2); font-size: 17px; }
.build-box__pitch .btn { margin-top: 8px; }
.build-box__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: clamp(36px, 5vw, 56px) 0 0; padding: 0;
  list-style: none;
}
.build-box__grid li {
  position: relative;
  padding: 20px 20px 22px 58px;
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}
.build-box__grid li::before {
  content: "";
  position: absolute; left: 20px; top: 21px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%230B1733' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.build-box__grid h4 { margin: 0 0 6px; font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.build-box__grid p { color: var(--on-dark-2); font-size: 15px; }
.build-box__process { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-dark); }
.build-box__label { margin-bottom: 22px; color: var(--sky); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.process li { display: grid; align-content: start; gap: 8px; }
.process__n { color: var(--sky); font-weight: 700; font-size: 40px; line-height: 1; }
.process h4 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.process p { color: var(--on-dark-2); font-size: 15.5px; }

/* ==========================================================================
   Curriculum
   ========================================================================== */


/* Curriculum: one row per module (headers only; every lesson is in Schedule 1 of the Terms) */
.modules { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.module {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
}
.module__n { color: var(--ink-3); font-weight: 700; font-size: 24px; }
.module__title { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.module__meta { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.modules__label { margin: 40px 0 12px; color: var(--ink-3); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.modules__note { margin-top: 20px; color: var(--ink-3); font-size: 15px; }
.modules__note a { color: var(--blue); }

/* ==========================================================================
   Instructors
   ========================================================================== */

.duo { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.duo__photo { position: relative; margin: 0; background: #E9ECEF; }
/* Full-width card: a wide crop keeps the photo from towering; phones get the full frame */
.duo__photo img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 20%; }
.duo__people { display: grid; grid-template-columns: 1fr 1fr; }
.duo__person { position: relative; padding: 26px 24px 28px; }
.duo__person + .duo__person { border-left: 1px solid var(--line); }
/* a small notch ties each bio to its person in the photo above */
.duo__person::before {
  content: "";
  position: absolute; top: -7px; left: 50%;
  width: 14px; height: 14px;
  background: var(--white);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.duo__person h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.person__role { margin-top: 8px; color: var(--ink-2); }
.person__creds { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; }
.person__creds li { position: relative; padding-left: 18px; }
.person__creds li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; background: var(--blue); }

/* ==========================================================================
   Who it's for
   ========================================================================== */

/* Wraps a sub-section stacked inside a tab panel: Who it's for, What's included */
.tab-block { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-2); }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fit__col { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: var(--radius); }
.fit__col--yes { background: var(--white); border-color: var(--blue); }
.fit__col h3 { margin-bottom: 22px; font-size: 24px; letter-spacing: -.02em; }
.fit__col ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fit__col li { position: relative; padding-left: 36px; font-size: 17px; }
.fit__col li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fit__col--no li { color: var(--ink-2); }
.fit__col--no li::before {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%2366738C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--line-2);
}
.pull { display: grid; gap: 16px; max-width: 900px; margin-top: clamp(56px, 7vw, 96px); }
.pull blockquote { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.16; letter-spacing: -.03em; }
.pull figcaption { color: var(--ink-3); font-size: 15px; }

/* ==========================================================================
   What's included
   ========================================================================== */

/* A thin divider grid, table-style, rather than filled cards: this list can sit
   on a tinted section background, where a same-colour card would disappear. */
.stack {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.stack li {
  display: grid; align-content: start; gap: 12px;
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.stack h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }
.stack p { color: var(--ink-2); font-size: 15px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-size: 18px; letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .plus { border-color: var(--ink); }
.qa p { max-width: 62ch; padding: 0 60px 24px 0; color: var(--ink-2); font-size: 16.5px; }

/* ==========================================================================
   Final call to action
   ========================================================================== */

.final { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.final__media { position: absolute; inset: 0; border-radius: 0; }
.final__media .ph__label { left: auto; right: var(--gutter); bottom: auto; top: 24px; }
.final__shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 17, 40, .92) 0%, rgba(8, 17, 40, .7) 55%, rgba(8, 17, 40, .45) 100%);
}
.final .container { position: relative; z-index: 1; }
.final__main { display: grid; justify-items: start; gap: 22px; max-width: 820px; }
.final__title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { overflow: hidden; padding-top: clamp(56px, 7vw, 88px); background: var(--navy); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
/* Logo on the left, tagline on the right, across the full footer width */
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.footer__brand p { color: var(--on-dark-2); font-size: clamp(16px, 1.4vw, 18px); }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 48px; padding-block: 24px 32px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-3);
  font-size: 13.5px;
}
.footer__legal a { color: inherit; }

/* ==========================================================================
   Mobile enrol bar + video player
   ========================================================================== */

.mobile-cta { display: none; }

.video-modal {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
}
.video-modal::backdrop { background: rgba(6, 12, 28, .88); }
.video-modal__inner { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: var(--radius); }
.video-modal video, .video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(244, 247, 253, .16);
  color: var(--on-dark);
  font-size: 24px; line-height: 1;
  cursor: pointer;
}
.video-modal__missing { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 24px; color: var(--on-dark-2); text-align: center; }
.video-modal__missing code { color: var(--sky); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack li { min-height: 0; }
}

@media (max-width: 960px) {
  .build-box__intro { grid-template-columns: minmax(0, 1fr); }
  .build-box__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cred__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .logos { width: 100%; }
  .head--split { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__photos { grid-template-columns: 1fr 1fr; }
  .story__photo img { aspect-ratio: 1; }
  .story__photo--mark img { object-position: 50% 30%; }
  .story__photo--nick img { object-position: 38% 30%; }
  .duo__photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 1100px) {
  .nav__actions .btn--white { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (min-width: 1101px) {
  .nav__menu { display: none !important; }
}

@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; }
  .module { grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 18px 0; }
  .module__n { grid-row: 1 / span 2; line-height: 1.25; }
  .module__meta { grid-column: 2; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; gap: 10px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 23, 51, .97);
    border-top: 1px solid var(--line-dark);
    color: var(--on-dark-2);
    font-size: 14px;
    transform: translateY(110%);
    transition: transform .25s;
  }
  .mobile-cta .btn { flex: 1; padding-inline: 10px; }
  .mobile-cta.is-shown { transform: none; }
  body.menu-open .mobile-cta { transform: translateY(110%); }
  .site-footer { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .logo__with { display: none; }
  .hero { min-height: 0; }
  .hero__ctas .btn, .final__ctas .btn { width: 100%; }
  .nav__actions { display: none; }
  .nav__burger { margin-left: auto; }
  .tabs__tab { padding: 12px 10px 17px; font-size: 14.5px; white-space: normal; }
  .tabs__progress { left: 16px; right: 16px; bottom: 6px; }
  .build-box__pitch .btn { width: 100%; padding-block: 14px; line-height: 1.3; text-align: center; white-space: normal; }
  .build-box__grid { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo__people { grid-template-columns: 1fr; }
  .duo__person + .duo__person { border-left: 0; border-top: 1px solid var(--line); }
  .duo__person + .duo__person::before { display: none; }
  .stack { grid-template-columns: 1fr; }
  .qa summary { font-size: 17px; }
  .qa p { padding-right: 0; }
  .footer__legal { flex-direction: column; }
}

/* ==========================================================================
   Legal pages (terms/index.html): one readable column, a contents box, and
   hanging indents for the (a), (b) … items
   ========================================================================== */

.legal { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.legal__head, .legal__toc, .legal__body { max-width: 780px; }
.legal__title { margin-top: 12px; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.legal__sub { margin-top: 18px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); }
.legal__meta { margin-top: 6px; color: var(--ink-3); font-size: 14.5px; }
.legal__toc {
  margin-top: clamp(32px, 5vw, 48px);
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal__toc-title { color: var(--ink-3); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.legal__toc ol { margin: 14px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; font-size: 15px; }
.legal__toc li { break-inside: avoid; padding: 3px 0; }
.legal__toc a { color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--blue); text-decoration: underline; }
.legal__section { margin-top: clamp(44px, 6vw, 64px); }
.legal__section h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.legal__num { color: var(--ink-3); }
.legal__body p, .legal__body li { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.legal__body b { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--blue); }
.clause { margin-top: 14px; }
.legal__section h2 + .clause { margin-top: 18px; }
.clause__num { margin-right: 4px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.items { display: grid; gap: 6px; margin: 8px 0 0; padding: 0 0 0 30px; list-style: none; }
.items li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); }
.items--sub { grid-column: 2; margin-top: 6px; padding-left: 0; }
.items--sub li { grid-template-columns: 2.8em minmax(0, 1fr); }
.items__mark { color: var(--ink-3); }
.defs { display: grid; gap: 10px; margin-top: 14px; padding-left: 30px; }
.outline__group { margin-top: 28px; }
.outline__group h3 { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.outline { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.legal__body .outline li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); font-size: 15.5px; }
.outline__num { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legal__body .outline .outline__label { display: block; margin-top: 10px; color: var(--ink-3); font-style: italic; }

@media (max-width: 640px) {
  .legal__toc { padding: 20px; }
  .legal__toc ol { columns: 1; }
  .items, .defs { padding-left: 12px; }
  .legal__body p, .legal__body li { font-size: 16px; }
}
.nowrap { white-space: nowrap; }
/* Tier note on "What you get" items that only come with the Live Cohort Program */
.stack .stack__tier { color: var(--blue); font-size: 13.5px; font-weight: 500; }
/* Privacy Policy contact details (clause 19) */
.legal__contact { display: grid; gap: 2px; margin-top: 14px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
