/* MindMeld Interactive — cinematic scroll site
   Tokens: ink-black stage, emerald accent (brand teal family), cream type,
   MMI gold (logo system) where the marks live.
   Display: Aquatico (MMI headline face). Labels: Alexana Neue (MMI logo face).
   Serif: Fraunces. Body: Inter. */

@font-face {
  font-family: "Aquatico";
  src: url("/wp-content/uploads/mmi-cinematic/assets/fonts/Aquatico-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alexana Neue";
  src: url("/wp-content/uploads/mmi-cinematic/assets/fonts/AlexanaNeue.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  /* The logo face carries letters only. Without this range, digits and
     punctuation (& + · : .) lay out with an advance width but draw nothing,
     so eyebrow separators silently vanish. Restricting the range lets those
     characters fall through to Aquatico, which has a full set. */
  unicode-range: U+0041-005A, U+0061-007A;
}

:root {
  --ink: #0a0c0b;
  --cream: #faf8f4;
  --cream-60: rgba(250, 248, 244, .62);
  --cream-30: rgba(250, 248, 244, .3);
  --emerald: #2c9b95;
  --emerald-deep: #1f6f6b;
  --emerald-glow: rgba(44, 155, 149, .35);
  --clay: #c8682f;
  --line: rgba(250, 248, 244, .16);
  --gold: #FFBF3C;
  --gold-deep: #D77900;
  --gold-soft: #F6DFA4;
  --font-display: "Aquatico", "Arial Narrow", sans-serif;
  --font-label: "Alexana Neue", "Aquatico", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-deep); color: var(--ink); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  transition: opacity .8s ease, visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark {
  width: clamp(220px, 30vw, 340px);
  height: auto;
}
.loader__bar {
  width: min(320px, 60vw); height: 2px;
  background: var(--line); overflow: hidden;
}
.loader__fill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width .25s ease;
}
.loader__pct {
  font-size: 11px; letter-spacing: .3em; color: var(--cream-60);
  font-variant-numeric: tabular-nums;
}

/* ---------- Stage (fixed canvas) ---------- */
.stage { position: fixed; inset: 0; z-index: 0; }
#scrub { width: 100%; height: 100%; display: block; }
.stage__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 40%, rgba(6, 8, 7, .72) 100%),
    linear-gradient(to bottom, rgba(6, 8, 7, .55), transparent 22%, transparent 72%, rgba(6, 8, 7, .78));
}
/* Global 40% dim over the animated backdrop on every page, so copy stays readable
   against the busy imagery. Sits above the canvas + vignette, inside .stage. */
.stage::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6, 8, 7, .40);
  pointer-events: none;
}
.stage__grain {
  position: absolute; inset: -100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .07;
  mix-blend-mode: overlay;
  animation: grain 850ms steps(4) infinite;
  pointer-events: none;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-38px, 22px); }
  50% { transform: translate(24px, -30px); }
  75% { transform: translate(-16px, -14px); }
  100% { transform: translate(30px, 26px); }
}

/* ---------- Chrome ---------- */
.chrome {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px clamp(20px, 4vw, 56px);
  mix-blend-mode: normal;
}
.chrome__brand { display: block; }
.chrome__brand img {
  height: clamp(34px, 4vw, 46px);
  width: auto; display: block;
  filter: drop-shadow(0 2px 12px rgba(6, 8, 7, .6));
}
.chrome__right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.chrome__link {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-60); text-decoration: none;
  transition: color .3s;
}
.chrome__link:hover { color: var(--gold); }

/* Services dropdown submenu */
.chrome__has-sub { position: relative; }
.chrome__sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px; display: flex; flex-direction: column; padding: 8px;
  background: rgba(6, 8, 7, .94);
  border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(6, 8, 7, .6);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s; z-index: 50;
}
.chrome__has-sub:hover .chrome__sub, .chrome__has-sub:focus-within .chrome__sub {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.chrome__sub a {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-60); text-decoration: none; padding: 10px 14px; border-radius: 9px;
  transition: color .25s, background .25s; white-space: nowrap;
}
.chrome__sub a:hover { color: var(--gold); background: rgba(215, 121, 0, .14); }
.chrome__sub a.is-parent { color: var(--gold-soft); border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 2px; }
@media (max-width: 860px) {
  .chrome__sub,
  .chrome__has-sub:hover .chrome__sub,
  .chrome__has-sub:focus-within .chrome__sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; background: transparent; border: none; min-width: 0;
    padding: 2px 0 0 12px; max-width: 100%;
  }
}

.chrome__cta {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px;
  transition: border-color .3s, background .3s, color .3s;
}
.chrome__cta:hover { border-color: var(--gold); background: rgba(215, 121, 0, .3); }

/* ---------- Progress rail ---------- */
.rail {
  position: fixed; right: clamp(14px, 2.4vw, 34px); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.rail__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cream-30);
  transition: background .4s, transform .4s, box-shadow .4s;
}
.rail__dot.is-active {
  background: var(--gold);
  transform: scale(1.5);
  box-shadow: 0 0 12px rgba(255, 191, 60, .4);
}

/* ---------- Panels ---------- */
main { position: relative; z-index: 10; }

.panel {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 14vh clamp(20px, 6vw, 96px);
  position: relative;
}
.panel__inner { max-width: 1240px; width: 100%; margin: 0 auto; }

/* extra scroll room so the scrub breathes between content moments */
.panel--hero    { min-height: 180vh; justify-content: flex-start; padding-top: 24vh; }
.panel--stats   { min-height: 160vh; }
.panel--pillars { min-height: 200vh; }
.panel--work    { min-height: 200vh; }
.panel--path    { min-height: 190vh; }
.panel--finale  { min-height: 140vh; justify-content: flex-end; padding-bottom: 0; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 18px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  text-shadow: 0 1px 3px rgba(6, 8, 7, .95), 0 2px 18px rgba(6, 8, 7, .85);
}
.display {
  font-family: var(--font-display);
  font-size: clamp(32px, 6.2vw, 92px);
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 4px 60px rgba(6, 8, 7, .6);
}
.display--sm { font-size: clamp(28px, 5vw, 74px); }
.display .ch { display: inline-block; will-change: transform, opacity; }
.display .ws { display: inline-block; width: .28em; }

.headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.9vw, 58px);
  line-height: 1.06;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 4px 50px rgba(6, 8, 7, .65);
}
.serif { font-family: var(--font-serif); font-weight: 400; }
.serif em { color: var(--gold); font-style: italic; }

.lede {
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.25;
  max-width: 21ch;
  margin-bottom: 8vh;
  text-shadow: 0 2px 40px rgba(6, 8, 7, .7);
}
.lede-sm {
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--cream);
  max-width: 46ch;
  margin-bottom: 7vh;
  text-shadow: 0 1px 3px rgba(6, 8, 7, .9), 0 2px 18px rgba(6, 8, 7, .8);
}

.hero__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 34px);
  color: var(--cream);
  text-shadow: 0 2px 4px rgba(6, 8, 7, .95), 0 2px 24px rgba(6, 8, 7, .85);
  max-width: 30ch;
  margin-top: 4vh;
  text-shadow: 0 2px 30px rgba(6, 8, 7, .8);
}
.hero__tag {
  margin-top: 3vh;
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: .06em;
  color: var(--cream);
  max-width: 52ch;
  text-shadow: 0 1px 2px rgba(6, 8, 7, .95), 0 2px 22px rgba(6, 8, 7, .9);
}

.hero__actions {
  margin-top: 5vh;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn--sm { padding: 14px 26px; font-size: 12px; }

.scrollcue {
  position: absolute; bottom: 6vh; left: 50%;
  transform: translateX(-50%);
  font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 3px rgba(6, 8, 7, .95), 0 2px 18px rgba(6, 8, 7, .9);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  white-space: nowrap;
}
.scrollcue__line {
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3.6vh, 36px) clamp(18px, 2vw, 32px);
  background: rgba(6, 8, 7, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.7vw, 58px);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(255, 191, 60, .3);
}
.stat__label {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
  max-width: 22ch;
}

/* ---------- Diagnostic engine ---------- */
.quiz { margin-top: 8vh; }
.quiz__kicker {
  font-family: var(--font-label);
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 3.5vh;
}
.quiz__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.quiz__item {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 2vw, 26px);
  background: rgba(10, 12, 11, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.quiz__num {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
}
.quiz__name {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 19px);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 6px;
}
.quiz__q { color: var(--cream-60); font-size: 14px; line-height: 1.55; }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 2.6vw, 40px);
  background: rgba(10, 12, 11, .48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
  opacity: 0; transform: translateY(60px);
  transition: border-color .4s, box-shadow .4s;
}
.pillar:hover { border-color: var(--gold-deep); box-shadow: 0 20px 60px rgba(6, 8, 7, .5), 0 0 0 1px var(--gold-deep); }
.pillar__step {
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-soft);
}
.pillar__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 30px);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.pillar__pitch { color: var(--cream); font-size: 16px; line-height: 1.65; flex: 1; }
.pillar__price {
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; color: var(--cream);
  border-top: 1px solid var(--line); padding-top: 16px;
}

.pillar__cta {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  transition: color .3s, transform .3s;
}
.pillar__cta:hover { color: var(--gold-soft); transform: translateX(4px); }
.pillars__note {
  margin-top: 3.5vh;
  font-size: 13px; letter-spacing: .04em;
  color: var(--cream-60);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ---------- Work cards ---------- */
.work { display: flex; flex-direction: column; }
.card {
  display: grid;
  grid-template-columns: 80px 1.1fr 1.6fr auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  padding: clamp(26px, 3.4vh, 44px) clamp(18px, 2vw, 30px);
  border-top: 1px solid var(--line);
  text-decoration: none; color: var(--cream);
  position: relative;
  transition: background .4s, transform .45s cubic-bezier(.2, .7, .2, 1), padding-left .45s cubic-bezier(.2, .7, .2, 1);
  background: rgba(10, 12, 11, .32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card:last-child { border-bottom: 1px solid var(--line); }
.card__index {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 24px);
  color: var(--gold-soft);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.card__name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 33px);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), color .3s;
}
.card__pitch { color: var(--cream-60); font-size: 15px; max-width: 44ch; }
.card__meta {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-30);
  white-space: nowrap;
  transition: color .3s;
}
.card:hover { background: rgba(215, 121, 0, .14); transform: translateX(6px); }
.card:hover .card__index { transform: translateX(8px) scale(1.12); }
.card:hover .card__name { color: var(--gold); transform: translateX(8px); }
.card:hover .card__meta { color: var(--gold-soft); }

/* ---------- Path sequence ---------- */
.seq { display: flex; flex-direction: column; gap: 1vh; margin-bottom: 6vh; }
.seq__line {
  font-family: var(--font-display);
  font-size: clamp(28px, 5.2vw, 82px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  opacity: .12;
  transform: translateX(-3vw);
  text-shadow: 0 4px 50px rgba(6, 8, 7, .65);
}
.seq__line em { font-style: normal; color: var(--gold); }
.seq__note {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(18px, 1.9vw, 25px);
  color: var(--cream);
  max-width: 40ch;
  text-shadow: 0 1px 3px rgba(6, 8, 7, .9), 0 2px 18px rgba(6, 8, 7, .8);
}

.founder {
  margin-top: 9vh;
  max-width: 560px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-deep);
  border-radius: 14px;
  padding: clamp(22px, 2.4vw, 34px);
  background: rgba(10, 12, 11, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.founder__kicker {
  font-family: var(--font-label);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
}
.founder__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: .03em;
  margin-bottom: 6px;
}
.founder__cred {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.founder__bio {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  color: var(--cream-60);
  margin-bottom: 18px;
}
.founder__cta {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  transition: color .3s;
}
.founder__cta:hover { color: var(--gold-soft); }

/* founder + portrait row (shared: index method panel + about founder panel) */
.founder-row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
  margin-top: clamp(28px, 6vh, 80px);
}
.founder-row .founder { margin-top: 0; flex: 1 1 340px; }
.founder-photo {
  flex: 0 1 300px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .45);
  position: relative;
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 191, 60, .28);
  pointer-events: none;
}
.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  aspect-ratio: 4 / 5;
}
@media (max-width: 720px) {
  .founder-row { flex-direction: column; align-items: flex-start; }
  /* photo stacks ABOVE the founder card on mobile */
  .founder-photo { order: -1; flex-basis: auto; width: 100%; max-width: 340px; }
}

/* ---------- Finale ---------- */
.panel--finale .panel__inner { text-align: center; padding-bottom: 10vh; }
.finale__sub {
  font-size: clamp(24px, 3.2vw, 46px);
  margin: 4vh 0 6vh;
}
.finale__pitch {
  max-width: 62ch;
  margin: 0 auto 6vh;
  color: var(--cream-60);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.7;
}
.finale__actions {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.btn {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background .35s, border-color .35s;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(180deg, #FFBF3C, #D77900); color: var(--ink);
  box-shadow: 0 12px 40px rgba(215, 121, 0, .35);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 60px rgba(215, 121, 0, .5); }
.btn--ghost {
  border: 1px solid var(--line); color: var(--cream);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(215, 121, 0, .2); transform: translateY(-3px); }

.footer {
  border-top: 1px solid var(--line);
  padding: 4vh clamp(20px, 6vw, 96px) 5vh;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  background: rgba(6, 8, 7, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.footer__brand { height: 30px; width: auto; display: block; }
.footer__line { font-size: 12px; letter-spacing: .12em; color: var(--cream-60); }
.footer__social { display: flex; flex-wrap: wrap; gap: 12px 26px; max-width: 100%; }
.footer__social a { word-break: break-word; }
.footer__social a {
  color: var(--cream-60); text-decoration: none;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  transition: color .3s;
}
.footer__social a:hover { color: var(--gold); }

/* ---------- Reveal defaults (GSAP takes over) ---------- */
.reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Mobile nav (CSS-only hamburger) ---------- */
.chrome__burger { display: none; }
@media (max-width: 860px) {
  .chrome { flex-wrap: wrap; padding: 18px clamp(16px, 5vw, 40px); }
  .chrome__brand img { height: 34px; }
  .chrome__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; padding: 10px; cursor: pointer; z-index: 60;
  }
  .chrome__burger span { width: 26px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s, opacity .3s; }
  .chrome__right {
    flex-basis: 100%; order: 4;
    display: none; flex-direction: column; align-items: flex-start; gap: 16px;
    margin-top: 14px; padding: 18px; border-radius: 16px;
    background: rgba(6, 8, 7, .96);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .chrome__toggle:checked ~ .chrome__right { display: flex; }
  .chrome__toggle:checked ~ .chrome__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .chrome__toggle:checked ~ .chrome__burger span:nth-child(2) { opacity: 0; }
  .chrome__toggle:checked ~ .chrome__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .chrome__link, .chrome__has-sub { font-size: 15px; }
  .chrome__has-sub { width: 100%; }
  .chrome__cta { align-self: stretch; text-align: center; margin-top: 4px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .quiz__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .card { grid-template-columns: 48px 1fr; grid-template-rows: auto auto auto; }
  .card__pitch { grid-column: 2; }
  .card__meta { grid-column: 2; }
  .rail { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .panel { padding: 12vh clamp(18px, 6vw, 40px); }
  .finale__actions, .hero__actions { width: 100%; }
  .finale__actions .btn, .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__social { flex-wrap: wrap; gap: 14px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .stage__grain, .scrollcue__line { animation: none; }
  .reveal, .pillar, .seq__line { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   PARTNERS / AFFILIATES marquee  (home page, between the
   pillars and the testimonials). Deliberately NOT .panel so it
   stays out of the rail-dot chapter mapping in main.js.
   ============================================================ */
.partners {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 8vh, 92px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* The scrub canvas keeps animating behind this band, so darken it back and
     let the logo plates be the only thing competing for attention. Deliberately
     no backdrop-filter: blurring a live canvas behind a continuously animating
     track forces a repaint every frame and drops plates mid-scroll. */
  background: rgba(6, 8, 7, .72);
  overflow: hidden;
}
.partners__head {
  max-width: var(--maxw, 1180px);
  margin: 0 auto clamp(26px, 4vh, 44px);
  padding: 0 clamp(20px, 5vw, 56px);
  text-align: center;
}
.partners__head .eyebrow { margin-bottom: 12px; }
.partners__note {
  color: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(6, 8, 7, .95), 0 2px 18px rgba(6, 8, 7, .85);
}

/* edge fade so logos slide out of view instead of clipping hard */
.partners__viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.partners__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: partners-scroll 46s linear infinite;
}
.partners__viewport:hover .partners__track,
.partners__viewport:focus-within .partners__track { animation-play-state: paused; }

@keyframes partners-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.partners__set {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  list-style: none;
  margin: 0;
}
.partners__set li { display: flex; }

/* every mark sits on the same light plate so mixed-source logos read as one set */
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 118px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(250, 248, 244, .94);
  border: 1px solid rgba(250, 248, 244, .16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
a.partner:hover,
a.partner:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .44);
}
a.partner:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.partner img {
  display: block;
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* stacked badge lockups need more room than a single-line wordmark */
.partner--tall { width: 190px; }
.partner--tall img { max-height: 96px; }
.partner--wide { width: 250px; }
.partner--wide img { max-height: 56px; }
/* Elementor ships a white-on-transparent mark; invert it for the light plate */
.partner--invert img { filter: invert(1); }

@media (max-width: 720px) {
  .partner { width: 168px; height: 96px; padding: 12px 18px; }
  .partner img { max-height: 34px; }
  .partner--tall { width: 150px; }
  .partner--tall img { max-height: 74px; }
  .partner--wide { width: 196px; }
  .partner--wide img { max-height: 44px; }
  .partners__set { gap: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
  .partners__viewport { overflow-x: auto; }
  .partners__set:not(:first-child) { display: none; }
}
