/* ═══════════════════════════════════════════════════════════════
   AvatarAgency — homepage (home-next prototype)
   Brand tokens are the live site's (atelier-v5.css). The logo lockup
   rules are copied verbatim so the mark renders exactly as it does today.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1b1917;
  --cream: #fbfaf6;
  --cream-2: #f5f2ea;
  --gold: #C9A84C;
  --gold-light: #E4C97A;
  --gold-deep: #8a7330;
  --gold-faint: rgba(201,168,76,.10);
  --text: #1c1a16;
  --text-mid: #4a4640;
  --text-mute: #8a8278;
  --on-dark: #f5f0e8;
  --on-dark-mid: rgba(245,240,232,.72);
  --on-dark-mute: rgba(245,240,232,.5);
  --line: rgba(28,26,22,.10);
  --line-dark: rgba(255,255,255,.09);
  --line-dark-strong: rgba(255,255,255,.18);

  --f-display: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1320px;
  --hdr: 76px;
  --r: 18px;
  --ease: cubic-bezier(.22,.7,.3,1);
  --ease-io: cubic-bezier(.65,.05,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--on-dark);
  font-family: var(--f-display); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Logo lockup — verbatim from atelier-v5.css ── */
.logo-lockup {
  font-family: var(--f-display); font-weight: 700; font-size: 26px;
  letter-spacing: -0.012em; text-decoration: none; line-height: 1;
  display: inline-flex; align-items: baseline; white-space: nowrap;
}
.logo-lockup .c { color: #fff; }
.logo-lockup .l { color: var(--gold); }
a.logo-lockup:hover .l { color: var(--gold-light); }

/* ── Type ── */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; color: var(--on-dark-mute); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold-deep { color: var(--gold-deep); }
.h2 { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.028em; font-weight: 600; margin: 0; max-width: 16ch; }
.h2 em, .ch-title em, .hero-title em, .final-title em, .svc-t em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold-light);
}
.h2.dark { color: var(--text); }
.h2.dark em { color: var(--gold-deep); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--on-dark-mid); max-width: 58ch; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; box-shadow: 0 10px 30px -10px rgba(201,168,76,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(228,201,122,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost { border-color: var(--line-dark-strong); color: var(--on-dark); background: rgba(10,10,10,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-ghost:hover svg { transform: translateY(3px); }
.btn-portfolio svg { color: var(--gold-light); }
.btn-portfolio:hover svg { transform: none; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 16.5px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--gold-light); border-bottom: 1px solid rgba(228,201,122,.35); padding-bottom: 2px; transition: border-color .25s, color .25s; }
.link:hover { border-color: var(--gold-light); }
.link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link.dark { color: var(--gold-deep); border-color: rgba(138,115,48,.35); }
.link.muted { color: var(--on-dark-mute); border-color: transparent; }

/* ── Grain ── */
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ═════════════ INTRO ═════════════ */
.intro { display: none; }
.has-intro .intro { display: grid; position: fixed; inset: 0; z-index: 120; background: var(--ink); place-items: center; }
.intro-inner { display: grid; justify-items: center; gap: 22px; }
.intro-logo { font-size: clamp(34px, 5.6vw, 72px); }
.intro-logo span { display: inline-block; opacity: 0; transform: translateY(40%); filter: blur(8px); animation: introIn 1s var(--ease) forwards; }
.intro-logo .l { animation-delay: .14s; }
@keyframes introIn { to { opacity: 1; transform: none; filter: none; } }
.intro-line { width: min(320px, 60vw); height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
.intro-line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold)); transform: scaleX(0); transform-origin: left; animation: introLine 1.1s .2s var(--ease-io) forwards; }
@keyframes introLine { to { transform: scaleX(1); } }
.intro-tc { font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; color: var(--on-dark-mute); display: flex; gap: 10px; align-items: center; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #e0493d; box-shadow: 0 0 10px #e0493d; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.intro.is-out { transform: translateY(-100%); transition: transform .9s var(--ease-io); }

/* ═════════════ HEADER ═════════════ */
.hdr { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--hdr); transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(10,10,10,.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-color: var(--line-dark); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-inner { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.hdr-nav { display: flex; gap: 4px; margin-left: auto; }
.hdr-nav a { font-size: 13.5px; font-weight: 500; color: var(--on-dark-mid); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.hdr-nav a:hover { color: var(--gold-light); background: rgba(255,255,255,.04); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr-nav + .hdr-actions { margin-left: 0; }
.btn-login { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); background: transparent; border: 1px solid rgba(201,168,76,.45); border-radius: 6px; padding: 8px 14px; transition: border-color .2s, background .2s; }
.btn-login:hover { border-color: var(--gold); background: var(--gold-faint); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark-strong); background: rgba(10,10,10,.35); position: relative; }
.menu-btn span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-dark); transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 24px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Chapter pill (mobile + tablet progress while inside the chapters) */
.chapter-pill { position: absolute; left: 50%; top: calc(var(--hdr) + 10px); transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(10,10,10,.72); border: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 500; color: var(--on-dark); white-space: nowrap; transition: opacity .35s, transform .35s var(--ease); }
.chapter-pill [data-pill-num] { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.chapter-pill i { width: 1px; height: 12px; background: var(--line-dark-strong); }
.pill-bar { position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.pill-bar b { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.in-chapters .chapter-pill { opacity: 1; transform: translate(-50%, 0); }

/* Full-screen menu */
.menu { position: fixed; inset: 0; z-index: 85; background: rgba(10,10,10,.97); padding: calc(var(--hdr) + 24px) var(--gutter) 40px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; }
.menu-col { display: grid; gap: 4px; align-content: start; }
.menu-col a { font-size: clamp(22px, 3vw, 34px); font-weight: 500; letter-spacing: -.02em; padding: 6px 0; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); display: flex; gap: 14px; align-items: baseline; transition: color .2s, padding .3s var(--ease); }
.menu-col a span { font-size: 12px; color: var(--gold); font-variant-numeric: tabular-nums; }
.menu-col a:hover { color: var(--gold-light); padding-left: 6px; }
.menu-inner > .btn { grid-column: 1 / -1; justify-self: start; }

/* Client login modal */
.modal { position: fixed; inset: 0; z-index: 130; background: rgba(10,10,10,.72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { background: var(--cream); color: var(--text); border-radius: 16px; padding: 46px 40px 36px; width: 100%; max-width: 400px; position: relative; box-shadow: 0 32px 80px rgba(0,0,0,.35); display: grid; gap: 14px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(10,10,10,.06); display: grid; place-items: center; color: var(--text-mid); }
.modal-logo { font-weight: 700; font-size: 22px; letter-spacing: -.012em; }
.modal-logo .gold { color: var(--gold); }
.modal-tag { margin: -8px 0 10px; font-size: 13.5px; color: var(--text-mid); }
.modal label { display: grid; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mid); }
.modal input { font: 15px var(--f-display); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); text-transform: none; letter-spacing: 0; }
.modal .btn { margin-top: 6px; }
.modal-forgot { font-size: 13px; color: var(--text-mute); text-align: center; }

/* ═════════════ VIEWFINDER (shared motif) ═════════════ */
.vf { position: absolute; inset: calc(var(--hdr) + 14px) clamp(14px, 2.2vw, 30px) clamp(14px, 2.2vw, 30px); pointer-events: none; z-index: 3;
  font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; color: rgba(245,240,232,.66); }
.vf-c { position: absolute; width: 22px; height: 22px; border-color: rgba(228,201,122,.75); border-style: solid; border-width: 0; }
.vf-c.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-c.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-c.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-c.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-rec { position: absolute; top: 8px; left: 34px; display: flex; align-items: center; gap: 8px; }
.vf-rec b { width: 7px; height: 7px; border-radius: 50%; background: #e0493d; box-shadow: 0 0 10px #e0493d; animation: blink 1s steps(2) infinite; }
.vf-tc { position: absolute; top: 8px; right: 34px; font-variant-numeric: tabular-nums; }
.vf-meta { position: absolute; bottom: 8px; right: 34px; }

/* ═════════════ HERO + CURTAIN STACK ═════════════ */
.stack { position: relative; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; z-index: 0; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #050505 url("media/poster-hero.jpg") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.hero-scrim { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.18) 26%, rgba(10,10,10,.06) 52%, rgba(10,10,10,.4) 86%, rgba(10,10,10,.82) 100%),
    radial-gradient(120% 70% at 20% 30%, rgba(10,10,10,.45), transparent 60%); }
.hero-content { position: absolute; left: 0; right: 0; top: calc(var(--hdr) + clamp(40px, 9vh, 110px)); z-index: 4;
  max-width: 1480px; margin: 0 auto; padding: 0 calc(var(--gutter) + 20px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-title { font-size: clamp(40px, 6.2vw, 96px); line-height: .98; letter-spacing: -.035em; font-weight: 600; margin: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > * { display: inline-block; }
.hero-title em { font-size: 1.04em; }
.hero-side { max-width: 360px; padding-bottom: 8px; }
.hero-side p { margin: 0 0 22px; color: var(--on-dark-mid); font-size: 16.5px; }
/* Light frosted panel behind the hero sentence — just enough for legibility over any shot;
   the blur and a soft text shadow do the work, not a dark fill (Michael, 30 Sept). */
.hero-side .hero-lede { padding: 14px 18px; border-radius: 14px; color: var(--on-dark); line-height: 1.55;
  background: rgba(10,10,10,.2); border: 1px solid rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(9px) saturate(115%); backdrop-filter: blur(9px) saturate(115%);
  text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rail { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(10,10,10,.2), rgba(10,10,10,.75)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-rail a { display: flex; align-items: center; gap: 12px; padding: 14px clamp(10px, 1.4vw, 22px); border-right: 1px solid var(--line-dark); transition: background .3s; min-width: 0; }
.hero-rail a:last-child { border-right: 0; }
.hero-rail a:hover { background: rgba(201,168,76,.08); }
.hero-rail img { width: 72px; height: 40px; object-fit: cover; border-radius: 4px; opacity: .85; transition: opacity .3s, transform .4s var(--ease); flex: none; }
.hero-rail a:hover img { opacity: 1; transform: scale(1.05); }
.hero-rail span { font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: -.005em; color: var(--on-dark); min-width: 0; }
.hero-rail a:hover span { color: var(--gold-light); }
.hero .vf { z-index: 3; }
.hero .vf-meta { top: 28px; bottom: auto; }

/* Hero entrance (after intro) */
.js .hero-in { opacity: 0; transform: translateY(24px); }
.js .is-ready .hero-in, .js.is-ready .hero-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d) * 110ms + 150ms); }
.js .hero-title .hero-in { transform: translateY(105%); }
.js.is-ready .hero-title .hero-in { transform: none; }

/* Curtain: the manifesto slides up over the sticky hero */
.curtain { position: relative; z-index: 2; border-radius: 28px 28px 0 0; box-shadow: 0 -30px 60px rgba(0,0,0,.35); }

/* ═════════════ MANIFESTO (cream) ═════════════ */
.manifesto { background: var(--cream); color: var(--text); padding: clamp(90px, 13vw, 170px) 0 clamp(80px, 10vw, 140px); }
.manifesto .eyebrow.gold { color: var(--gold-deep); }
.manifesto-text { font-size: clamp(28px, 3.9vw, 58px); line-height: 1.12; letter-spacing: -.026em; font-weight: 500; margin: 0; max-width: 22ch; color: var(--text); }
.manifesto-text .accent { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--gold-deep); letter-spacing: -.01em; }
.manifesto-text .w { opacity: .14; transition: opacity .2s linear; }
.manifesto-text .w.on { opacity: 1; }
.rm .manifesto-text .w { opacity: 1; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(60px, 8vw, 110px); }
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3vw, 40px); }
.group h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; margin: 14px 0 12px; font-weight: 600; }
.group p { margin: 0; color: var(--text-mid); font-size: 16px; }
.group-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-faint); border-radius: 999px; padding: 6px 12px; }
.group-dim { background: transparent; }
.group-dim .group-tag { color: var(--text-mute); background: rgba(28,26,22,.05); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(60px, 8vw, 100px) 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 28px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stats > div:last-child { border-right: 0; margin-right: 0; }
.stats dt { font-size: clamp(44px, 5.4vw, 80px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stats dd { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-mid); }
.stats cite { display: block; font-style: normal; font-size: 12px; color: var(--text-mute); margin-top: 6px; }

/* ═════════════ MARQUEE ═════════════ */
.marquee-band { position: relative; z-index: 3; background: var(--ink); padding: 54px 0 50px; border-bottom: 1px solid var(--line-dark); text-align: center; }
.marquee-band .eyebrow { margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; color: rgba(245,240,232,.34); padding: 0 clamp(22px, 3vw, 46px); position: relative; white-space: nowrap; transition: color .3s; }
.marquee-track span::after { content: "✦"; position: absolute; right: -.35em; top: 50%; transform: translateY(-50%); font-size: .42em; color: var(--gold); }
.marquee-track span:hover { color: var(--on-dark); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ═════════════ SERVICE INDEX ═════════════ */
.index { position: relative; background: var(--ink); padding: clamp(100px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.index-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 60px; margin-bottom: clamp(40px, 6vw, 80px); }
.index-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.index-sub { max-width: 34ch; color: var(--on-dark-mute); margin: 0; font-size: 15.5px; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); counter-reset: none; }
.index-list a { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 90px; align-items: center; gap: 24px; padding: clamp(20px, 2.4vw, 32px) 4px; border-bottom: 1px solid var(--line-dark); position: relative; transition: padding .5s var(--ease), color .3s; }
.index-list a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201,168,76,.10), transparent 70%); opacity: 0; transition: opacity .4s; }
.index-list a:hover::before { opacity: 1; }
.index-list a:hover { padding-left: 18px; }
.ix-n { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ix-t { font-size: clamp(26px, 3.4vw, 50px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.index-list a:hover .ix-t { color: var(--gold-light); }
.ix-d { color: var(--on-dark-mute); font-size: 15px; }
.ix-r { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; color: var(--on-dark-mute); }
.ix-r svg { width: 18px; height: 18px; color: var(--gold); transition: transform .4s var(--ease); }
.index-list a:hover .ix-r svg { transform: translateX(4px); }
.ix-float { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; pointer-events: none; z-index: 60; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.5); border: 1px solid rgba(228,201,122,.3); }
.ix-float img { width: 100%; height: 100%; object-fit: cover; }
.ix-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ═════════════ CHAPTERS ═════════════ */
.chapters { position: relative; background: var(--ink); }
.chapter { position: relative; padding-top: clamp(90px, 11vw, 150px); }
.chapter + .chapter { border-top: 1px solid var(--line-dark); }
.ch-head { position: relative; z-index: 2; }
.ch-label { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-mute); }
.ch-label span { font-size: 12px; color: var(--ink); background: var(--gold); border-radius: 999px; padding: 4px 10px; letter-spacing: .08em; font-weight: 700; }
.ch-title { font-size: clamp(32px, 4.8vw, 72px); line-height: 1.03; letter-spacing: -.03em; font-weight: 600; margin: 0; max-width: 19ch; }

/* The stage: the sticky frame holds while the page scrolls past it —
   this is where the scroll "stops" at each film. */
.ch-stage { position: relative; height: 200vh; margin-top: clamp(20px, 3vw, 40px); }
.ch-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.ch-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); padding-top: clamp(20px, 4vw, 60px); padding-bottom: clamp(100px, 12vw, 170px); align-items: start; }
.ch-lede > p { font-size: clamp(17px, 1.4vw, 20px); color: var(--on-dark-mid); margin: 0 0 20px; max-width: 54ch; }
.ch-lede strong { color: var(--on-dark); font-weight: 600; }
.ch-lede .note { font-size: 15px; color: var(--on-dark-mute); border-left: 2px solid var(--gold); padding-left: 16px; }
.ch-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.ch-lede blockquote { margin: 26px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--gold-light); max-width: 30ch; }
.ch-lede blockquote cite { display: block; font-family: var(--f-display); font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 12px; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.tiles li { background: var(--ink); padding: 26px 24px 28px; display: grid; gap: 8px; align-content: start; transition: background .35s; position: relative; }
.tiles li:hover { background: #121110; }
.tiles li::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); margin-bottom: 10px; transition: width .5s var(--ease); }
.tiles li:hover::before { width: 44px; }
.tiles b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.tiles span { font-size: 14.5px; line-height: 1.55; color: var(--on-dark-mute); }
.tiles-3 { grid-template-columns: 1fr; }
.stages i { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); order: -1; }
.platforms, .ais { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li, .ais li { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark-strong); color: var(--on-dark-mid); }
.ais li { border-color: rgba(201,168,76,.35); color: var(--gold-light); }
.aro-stats { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.aro-stats > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.aro-stats dt { font-size: clamp(48px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.aro-stats dd { margin: 0; color: var(--on-dark-mid); font-size: 15.5px; }
.aro-stats .src { margin: 16px 0 0; font-size: 12px; color: var(--on-dark-mute); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line-dark-strong); display: grid; gap: 26px; }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--gold); }
.timeline i { font-style: normal; font: 500 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.timeline b { font-size: 18px; font-weight: 600; }
.timeline span { color: var(--on-dark-mute); font-size: 14.5px; }

/* Chapter rail (desktop) */
.rail { position: fixed; left: clamp(14px, 1.6vw, 26px); top: 50%; transform: translate(-12px, -50%); z-index: 40; display: grid; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); padding-left: 14px; }
.in-chapters .rail { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.rail a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--on-dark-mute); transition: color .3s; }
.rail b { font-weight: 600; font-variant-numeric: tabular-nums; width: 20px; }
.rail span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.rail:hover span, .rail a.on span { opacity: 1; transform: none; }
.rail a.on { color: var(--gold-light); }
.rail-line { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark-strong); }
.rail-line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(0); }

/* ═════════════ PLAYER ═════════════ */
.player { --s: 1; position: relative; margin: 0; width: min(88vw, 1500px); aspect-ratio: 16 / 9; max-height: 84vh; border-radius: 20px; overflow: hidden; background: #050505;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); transform: scale(var(--s)); will-change: transform; isolation: isolate; }
.player-poster, .player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .p-loop { z-index: 1; }
.player .p-film { z-index: 2; object-fit: contain; background: #000; opacity: 0; transition: opacity .5s; }
.player.is-playing .p-film, .player.is-paused .p-film { opacity: 1; }
.player::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,10,.35), transparent 30%, transparent 60%, rgba(10,10,10,.65)); transition: opacity .5s; }
.player.is-playing::after { opacity: 0; }
.player .vf { inset: clamp(12px, 1.6vw, 22px); z-index: 4; transition: opacity .5s; }
.player.is-playing .vf, .player.is-paused .vf { opacity: 0; }
.p-play { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; border-radius: 999px;
  border: 1px solid rgba(228,201,122,.5); background: rgba(10,10,10,.42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--on-dark); transition: transform .5s var(--ease), background .3s, border-color .3s, opacity .4s; }
.p-play:hover { transform: translate(-50%, -50%) scale(1.04); background: rgba(10,10,10,.6); border-color: var(--gold-light); }
.p-play .ring { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; box-shadow: 0 0 0 0 rgba(228,201,122,.55); animation: ring 2.4s var(--ease) infinite; }
.p-play .ring svg { width: 24px; height: 24px; margin-left: 3px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(228,201,122,.5); } 70%,100% { box-shadow: 0 0 0 18px rgba(228,201,122,0); } }
.p-play .lbl { display: grid; text-align: left; line-height: 1.2; }
.p-play .lbl b { font-size: 16px; font-weight: 600; }
.p-play .lbl small { font: 500 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--on-dark-mute); text-transform: uppercase; }
.player.is-playing .p-play, .player.is-paused .p-play { opacity: 0; pointer-events: none; }
.p-bar { position: absolute; z-index: 6; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgba(10,10,10,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.player.is-playing .p-bar, .player.is-paused .p-bar { opacity: 1; transform: none; pointer-events: auto; }
.player.is-playing.idle .p-bar { opacity: 0; transform: translateY(8px); }
.player.is-playing.idle { cursor: none; }
.p-bar button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; display: grid; place-items: center; color: var(--on-dark); transition: background .2s, color .2s; }
.p-bar button:hover { background: rgba(255,255,255,.08); color: var(--gold-light); }
.p-bar button svg { width: 20px; height: 20px; }
.p-time { font: 500 12px/1 ui-monospace, Menlo, monospace; color: var(--on-dark-mid); font-variant-numeric: tabular-nums; min-width: 92px; text-align: center; }
.p-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 22px; background: transparent; cursor: pointer; --pct: 0%; }
.p-seek::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--pct), rgba(255,255,255,.18) var(--pct)); }
.p-seek::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); }
.p-seek::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--gold); }
.p-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--gold-light); margin-top: -5px; border: 0; }
.p-seek::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--gold-light); border: 0; }
/* Desktop: the chapter film ends full-bleed — the whole screen becomes the film. */
@media (min-width: 901px) {
  .ch-sticky .player { width: 100vw; height: 100vh; height: 100svh; max-height: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .ch-sticky .player .vf { inset: calc(var(--hdr) + 16px) clamp(18px, 2.2vw, 32px) clamp(18px, 2.2vw, 32px); }
  .ch-sticky .p-bar { left: 50%; right: auto; width: min(760px, 90vw); transform: translate(-50%, 8px); bottom: 26px; }
  .ch-sticky .player.is-playing .p-bar, .ch-sticky .player.is-paused .p-bar { transform: translate(-50%, 0); }
  .ch-sticky .player.is-playing.idle .p-bar { transform: translate(-50%, 8px); }
}
.player-card { width: 100%; max-height: none; margin: 30px 0 22px; border-radius: 16px; }
.player-card .p-play .ring { width: 52px; height: 52px; }

/* ═════════════ FOUNDER (cream) ═════════════ */
.founder { background: var(--cream); color: var(--text); padding: clamp(100px, 12vw, 170px) 0; position: relative; z-index: 2; }
.founder-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.founder-portrait { position: relative; display: grid; place-items: end center; min-height: 520px; }
.founder-portrait .halo { position: absolute; left: 50%; top: 44%; width: min(460px, 90%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(228,201,122,.55), rgba(201,168,76,.18) 45%, transparent 70%); }
.founder-portrait { place-items: center; }
.founder-portrait img.founder-cover { position: relative; width: min(440px, 100%); height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(28,26,22,.28), 0 8px 18px rgba(28,26,22,.16); }
.founder-copy .lede { color: var(--text-mid); margin: 26px 0 0; }
.founder-copy blockquote { margin: 28px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.25; color: var(--gold-deep); max-width: 26ch; }

/* ═════════════ CAST — cylinder carousel (ported from thrivingincollege home.js) ═════════════ */
.cast { background: var(--ink); padding: clamp(100px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: clip; }
.cast::before { content: ""; position: absolute; left: 50%; top: 60%; width: 900px; height: 520px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(201,168,76,.16), transparent); pointer-events: none; }
.cast-head { text-align: center; display: grid; justify-items: center; }
.cast-head .h2 { max-width: 18ch; }
.sub { color: var(--on-dark-mute); margin: 18px 0 0; font-size: 16px; }
.cyl { --ch: clamp(300px, 52vh, 480px); --cw: calc(var(--ch) * .6); position: relative; height: calc(var(--ch) + 90px); margin-top: 40px; perspective: 1100px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cyl.grabbing { cursor: grabbing; }
.cyl-stage { position: absolute; left: 50%; top: calc(50% - 20px); width: 0; height: 0; transform-style: flat; perspective: 1100px; }
.cyl-card { position: absolute; margin: 0; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); width: var(--cw); height: var(--ch); border-radius: 16px; overflow: hidden; cursor: grab; will-change: transform, opacity;
  background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.cyl-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cyl-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(10,10,10,.85)); font-size: 12.5px; color: var(--on-dark-mute); display: grid; gap: 2px; }
.cyl-card figcaption b { font-size: 16px; color: var(--on-dark); font-weight: 600; }
.cyl-card[aria-hidden="false"] { box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(228,201,122,.55); }
.cyl-arrow { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); z-index: 20; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark-strong); background: rgba(10,10,10,.6); color: var(--on-dark); display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s; }
.cyl-arrow:hover { border-color: var(--gold); color: var(--gold-light); }
.cyl-arrow svg { width: 20px; height: 20px; }
.cyl-arrow.prev { left: max(var(--gutter), calc(50% - 560px)); } .cyl-arrow.prev svg { transform: rotate(180deg); }
.cyl-arrow.next { right: max(var(--gutter), calc(50% - 560px)); }
/* Reduced motion / no JS: a plain grid, all cards visible */
.rm .cyl, .no-js .cyl { height: auto; perspective: none; }
.rm .cyl-stage, .no-js .cyl-stage { position: static; width: auto; height: auto; transform: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.rm .cyl-card, .no-js .cyl-card { position: relative; left: auto; top: auto; width: auto; height: auto; aspect-ratio: 3/5; transform: none !important; opacity: 1 !important; visibility: visible !important; cursor: default; }
.rm .cyl-arrow, .no-js .cyl-arrow { display: none; }

/* ═════════════ FORMATS — horizontal track ═════════════ */
.formats { position: relative; background: var(--ink); }
.formats-pin { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.formats-head { margin-bottom: clamp(30px, 4vw, 56px); }
.formats-track { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.formats-track::-webkit-scrollbar { display: none; }
.fmt { margin: 0; flex: none; scroll-snap-align: center; position: relative; }
.fmt video { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: #111; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.fmt figcaption { margin-top: 14px; font-size: 13.5px; color: var(--on-dark-mute); display: flex; gap: 10px; align-items: baseline; }
.fmt figcaption b { font: 600 12px/1 ui-monospace, Menlo, monospace; color: var(--gold); letter-spacing: .08em; }
.fmt { --h: clamp(300px, 56vh, 540px); }
.fmt video { height: var(--h); }
.r-16x9 video { width: calc(var(--h) * 16 / 9); }
.r-9x16 video { width: calc(var(--h) * 9 / 16); }
.r-1x1 video { width: var(--h); }
.r-4x5 video { width: calc(var(--h) * 4 / 5); }
@media (min-width: 900px) and (pointer: fine) {
  .js:not(.rm) .formats { height: var(--formats-h, 300vh); }
  .js:not(.rm) .formats-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: var(--hdr) 0 0; }
  .js:not(.rm) .formats-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
}

/* ═════════════ SERVICES (cream) ═════════════ */
.svc { background: var(--cream); color: var(--text); padding: clamp(100px, 12vw, 170px) 0; position: relative; z-index: 2; }
.svc-head { margin-bottom: clamp(40px, 5vw, 70px); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 28px; gap: 30px; align-items: center; padding: clamp(24px, 2.8vw, 36px) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc-list a:hover { padding-left: 14px; }
.svc-t { font-size: clamp(26px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.028em; line-height: 1.06; }
.svc-t em { color: var(--gold-deep); }
.svc-d { color: var(--text-mid); font-size: 15.5px; line-height: 1.55; }
.svc-list svg { width: 24px; height: 24px; color: var(--gold-deep); transition: transform .4s var(--ease); }
.svc-list a:hover svg { transform: translateX(5px); }

/* ═════════════ PRIVATE PORTFOLIO ═════════════ */
.work { position: relative; background: radial-gradient(90% 70% at 85% 50%, rgba(201,168,76,.14), transparent 60%), var(--ink); padding: clamp(100px, 12vw, 170px) 0; overflow: clip; border-top: 1px solid var(--line-dark); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.work-copy .lede { margin: 24px 0 34px; }
.work-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 580px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }
.field label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input { font: 16px var(--f-display); color: var(--on-dark); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark-strong); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(201,168,76,.06); }
.field input[aria-invalid="true"] { border-color: #e0493d; }
.work-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.work-form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--on-dark-mute); }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--gold-light); min-height: 1em; }
.form-msg.err { color: #f08a80; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.work-form.done .field, .work-form.done .btn, .work-form.done .form-note { display: none; }
.vault { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-4deg); }
.vault-tile { aspect-ratio: 9/14; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 10px;
  background: linear-gradient(160deg, rgba(228,201,122,.16), rgba(20,18,16,.9) 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px);
  border: 1px solid rgba(228,201,122,.18); color: var(--on-dark-mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 30px 50px -30px rgba(0,0,0,.9); }
.vault-tile:nth-child(3n+2) { transform: translateY(34px); }
.vault-tile svg { width: 26px; height: 26px; color: var(--gold); }

/* ═════════════ PROCESS (cream-2) ═════════════ */
.process { background: var(--cream-2); color: var(--text); padding: clamp(100px, 12vw, 160px) 0; position: relative; z-index: 2; }
.steps { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.steps li { position: relative; padding: 0 20px 0 0; }
.step-n { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--cream-2); border: 1px solid var(--gold); color: var(--gold-deep); font-weight: 600; font-size: 15px; position: relative; z-index: 1; margin-bottom: 26px; }
.steps b { display: block; font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--text-mid); font-size: 15.5px; max-width: 34ch; }

/* ═════════════ THRIVE + TWIN ═════════════ */
.more { background: var(--ink); padding: clamp(90px, 10vw, 140px) 0; }
.more-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.more-card img { object-position: 50% 22%; }
.more-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; background: var(--ink-3); border: 1px solid var(--line-dark); isolation: isolate; }
.more-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.more-card:hover img { transform: scale(1.04); }
.more-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.05) 20%, rgba(10,10,10,.9) 85%); }
.more-body { padding: clamp(24px, 3vw, 40px); }
.more-body h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.02em; margin: 0 0 10px; font-weight: 600; }
.more-body p { color: var(--on-dark-mid); margin: 0 0 18px; max-width: 42ch; font-size: 15.5px; }

/* ═════════════ FAQ ═════════════ */
.faq { background: var(--cream); color: var(--text); padding: clamp(100px, 12vw, 160px) 0; position: relative; z-index: 2; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); }
.faq-side { align-self: start; position: sticky; top: 110px; }
.faq-intro { margin: 18px 0 0; color: var(--text-mid); font-size: 16px; line-height: 1.6; max-width: 38ch; }
.faq-intro a, .faq-topics a { color: var(--gold-deep); }
.faq-intro a { border-bottom: 1px solid rgba(138,115,48,.4); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.faq-topics a { font-size: 13.5px; font-weight: 500; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(138,115,48,.35); transition: background .2s, color .2s; }
.faq-topics a:hover { background: var(--gold-deep); color: var(--cream); }
.faq-list { display: grid; gap: 44px; }
.faq-group { border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.faq-cat { margin: 0; padding: 22px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--gold-deep), var(--gold-deep)) center / 14px 1.5px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) center / 1.5px 14px no-repeat; transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: -6px 0 24px; color: var(--text-mid); font-size: 16px; max-width: 64ch; }
.faq-list p strong { color: var(--text); font-weight: 600; }
.faq-list a { color: var(--gold-deep); border-bottom: 1px solid rgba(138,115,48,.4); }

/* ═════════════ FINAL CTA ═════════════ */
.final { position: relative; overflow: hidden; padding: clamp(130px, 16vw, 220px) 0; text-align: center; isolation: isolate; }
.final-media { position: absolute; inset: 0; z-index: -1; }
.final-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); transform: scale(1.1); }
.final-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(10,10,10,.35), rgba(10,10,10,.95)); }
.final-inner { display: grid; justify-items: center; }
.final-title { font-size: clamp(38px, 6.4vw, 104px); line-height: 1; letter-spacing: -.035em; font-weight: 600; margin: 0; max-width: 16ch; }
.final .lede { margin: 26px auto 38px; text-align: center; }
.final-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-top: 30px; font-size: 14.5px; }
.final-alt a { color: var(--on-dark-mid); border-bottom: 1px solid var(--line-dark-strong); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.final-alt a:hover { color: var(--gold-light); border-color: var(--gold); }
.final-alt strong { color: var(--gold-light); }

/* ═════════════ FOOTER ═════════════ */
.ftr { background: var(--ink-2); border-top: 1px solid var(--line-dark); padding: 80px 0 30px; font-size: 14.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ftr-brand p { color: var(--on-dark-mute); max-width: 34ch; margin: 18px 0 20px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.socials a, .ftr-col a { color: var(--on-dark-mid); transition: color .2s; }
.socials a:hover, .ftr-col a:hover { color: var(--gold-light); }
.ftr-col { display: grid; gap: 10px; align-content: start; }
.ftr-label { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ftr-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-dark); color: var(--on-dark-mute); font-size: 12.5px; }
.ftr-legal { display: flex; gap: 18px; }
.ftr-legal a:hover { color: var(--gold-light); }

/* Custom cursor label over players (desktop) */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(228,201,122,.92); color: #120f08; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transform: scale(0); transition: transform .35s var(--ease); mix-blend-mode: normal; }
.film-on .hdr { transform: translateY(-100%); }
.film-on .rail, .film-on .chapter-pill { opacity: 0 !important; pointer-events: none !important; }

/* Reveal-on-scroll */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rm .rv { opacity: 1 !important; transform: none !important; }

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 1180px) {
  .hdr-nav { display: none; }
  .hdr-nav + .hdr-actions { margin-left: auto; }
  .menu-btn { display: block; }
  .rail { display: none; }
  .hero-rail { grid-template-columns: repeat(6, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .hero-rail::-webkit-scrollbar { display: none; }
}
@media (min-width: 1181px) { .chapter-pill { display: none; } }
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  body { font-size: 16px; }
  .hdr .btn-login { display: none; }
  .hdr .btn-sm { display: none; }
  /* Phones: headline at the top, sentence + buttons parked just above the service strip,
     so the middle of the reel stays clear (Michael, 30 Sept). */
  .hero-content { flex-direction: column; align-items: flex-start; justify-content: space-between; top: calc(var(--hdr) + 5vh); bottom: calc(var(--rail-h) + 10px); padding: 0 calc(var(--gutter) + 8px); gap: 18px; }
  .hero-side { max-width: 460px; width: 100%; padding-bottom: 0; }
  /* Frosted panel: the sentence stays readable over any shot in the reel (Michael, 30 Sept). */
  .hero-side .hero-lede { margin: 0 0 12px; padding: 13px 15px; font-size: 15.5px; line-height: 1.5; }
  .hero-rail { --rail-h: 76px; grid-template-columns: repeat(6, 168px); }
  .hero { --rail-h: 76px; }
  .hero-rail a { height: var(--rail-h); padding-top: 0; padding-bottom: 0; }
  .hero-rail img { width: 56px; height: 32px; }
  .hero-rail span { font-size: 15px; }
  .vf-meta { display: none; }
  .groups, .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .stats > div { padding-bottom: 24px; }
  .index-head { grid-template-columns: 1fr; }
  .index-list a { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 6px 14px; }
  .ix-d { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .ix-r { grid-row: 1 / span 2; grid-column: 3; }
  .ch-stage { height: auto; }
  .ch-sticky { position: relative; height: auto; padding: 22px 0 0; }
  .player { width: calc(100vw - 2 * var(--gutter)); max-height: none; border-radius: 14px; }
  .p-play { padding: 8px 18px 8px 8px; gap: 12px; }
  .p-play .ring { width: 50px; height: 50px; }
  .p-play .lbl b { font-size: 14px; }
  .p-bar { left: 8px; right: 8px; bottom: 8px; gap: 4px; padding: 4px 6px; }
  .p-bar button { width: 34px; height: 34px; }
  .p-time { min-width: 0; font-size: 11px; }
  .ch-body { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .aro-stats > div { grid-template-columns: 110px 1fr; }
  .founder-grid, .work-grid, .faq-grid, .more-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .founder-portrait { min-height: 0; }
  .founder-portrait img.founder-cover { width: min(420px, 86vw); }
  .svc-list a { grid-template-columns: 1fr 24px; gap: 10px 16px; }
  .svc-d { grid-column: 1; }
  .svc-list svg { grid-row: 1 / span 2; grid-column: 2; }
  .vault { max-width: 440px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before, .steps::after { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .cursor { display: none; }
}
@media (max-width: 560px) {
  .groups, .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; margin-right: 0; }
  .work-form { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .menu-inner { grid-template-columns: 1fr; }
  .p-play .lbl small { display: none; }
  .vault { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .vault-tile { font-size: 9.5px; letter-spacing: .08em; }
  .ftr-grid { grid-template-columns: 1fr; }
}
@media (hover: none) { .cursor { display: none; } }

/* Reduced motion: no loops, no marquee motion, no grain */
.rm .grain, .rm .marquee-track { animation: none; }
.rm .p-play .ring { animation: none; }
.rm .hero-in { opacity: 1 !important; transform: none !important; }

/* ═════════════ TALKING AI AGENTS (replaces "The Shift", 1 Oct) ═════════════ */
.agents { background: var(--cream); color: var(--text); padding: clamp(40px, 4.4vw, 64px) 0 clamp(80px, 10vw, 130px); }
.agents-head { display: grid; gap: 0; max-width: 980px; }
.agents-head .h2 { max-width: 18ch; }
.agents-lede { margin: 26px 0 0; font-size: clamp(17px, 1.45vw, 20.5px); line-height: 1.6; color: var(--text-mid); max-width: 62ch; }

/* The stage: Ava on the left, her panel on the right */
.stage { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); background: var(--ink); color: var(--on-dark);
  border-radius: 26px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(28,26,22,.55), 0 0 0 1px rgba(201,168,76,.18); min-height: 560px; }
.stage-av { position: relative; background: #050505 url("media/ava-poster.jpg?v=1") center / cover no-repeat; min-height: 100%; }
/* Direct link avataragency.ai/#ava-stage: the browser's own hash jump ignores the fixed header,
   so without this the header covers the top of Ava's stage. In-page links already offset in JS. */
#ava-stage { scroll-margin-top: calc(var(--hdr) + 12px); }
.ava-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-av::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,10,.35), transparent 22%, transparent 62%, rgba(10,10,10,.7)); }
.ava-badge { position: absolute; z-index: 2; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  background: rgba(10,10,10,.45); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ava-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: avaPulse 2s infinite; }
@keyframes avaPulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } }
.ava-caption { position: absolute; z-index: 2; left: 50%; bottom: 78px; transform: translateX(-50%); width: min(88%, 560px); text-align: center; pointer-events: none; display: grid; gap: 6px; }
.ava-caption:empty { display: none; }
.ava-caption .cap { justify-self: center; padding: 9px 15px; border-radius: 12px; font-size: 15.5px; line-height: 1.45; background: rgba(10,10,10,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: capIn .35s var(--ease); }
.ava-caption .cap.you { background: rgba(201,168,76,.9); color: #120f08; font-weight: 500; }
.ava-caption .cap b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-right: 8px; opacity: .7; }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ava-ctrls { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* Sound toggle for Ava's recorded intro (4 Oct, replaces the "Hear Ava" pill): top right, opposite the badge.
   White with a strike-through while muted; gold while her intro plays (from the start, with captions).
   Hidden during a live conversation, when it would look like it mutes the live Ava. */
.ava-sound { position: absolute; z-index: 3; top: 10px; right: 14px; width: 52px; height: 52px; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(10,10,10,.45); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: color .2s, border-color .2s; }
.ava-sound svg { width: 28px; height: 28px; }
.ava-sound:hover { border-color: var(--gold); }
.ava-sound[aria-pressed="true"] { color: var(--gold-light); border-color: rgba(201,168,76,.65); }
.ava-sound:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
/* "MUTED" under the icon while muted (4 Oct): says what the state is, so tapping to turn sound on is obvious.
   Hidden once the intro plays (the icon turns gold and loses its strike-through). Part of the button, so it is tappable too. */
.ava-sound-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 6px; font: 600 10px/1 var(--f-display);
  letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); white-space: nowrap; }
.ava-sound[aria-pressed="true"] .ava-sound-label { display: none; }
.stage-av.live .ava-sound, .stage-av.live-ready .ava-sound { display: none; }
.ava-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--on-dark);
  background: rgba(10,10,10,.5); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s, background .2s, color .2s; }
.ava-btn svg { width: 16px; height: 16px; }
.ava-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.ava-btn[aria-pressed="true"], .ava-btn.is-on { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; border-color: transparent; }

/* The panel */
.panel { display: flex; flex-direction: column; padding: 22px 22px 18px; background: linear-gradient(180deg, #151413, #0e0d0c); border-left: 1px solid var(--line-dark); min-height: 0; }
.panel-top { display: flex; align-items: center; gap: 10px; min-height: 36px; margin-bottom: 14px; }
.panel.is-home .panel-top { display: none; }   /* opening view: no "How can I help?" row (4 Oct) */
@media (min-width: 901px) { .panel.is-home .panel-body { justify-content: center; } }   /* desktop: options centered in the video-height panel */
.panel-back { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark-strong); background: transparent; color: var(--on-dark); display: grid; place-items: center; }
.panel-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.panel-back:hover { border-color: var(--gold); color: var(--gold-light); }
.panel-back[hidden], .panel-flag[hidden] { display: none; }
.panel-title { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.panel-flag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #120f08; background: var(--gold-light); border-radius: 999px; padding: 4px 10px; }
.panel-body { flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 380px; animation: capIn .35s var(--ease); }
.panel-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--on-dark-mute); }
.p-greet { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--on-dark); margin: 0 0 4px; }
.p-sub { margin: 0; font-size: 14px; color: var(--on-dark-mute); }
.p-actions { display: grid; gap: 9px; margin-top: 4px; }
.p-act { display: grid; grid-template-columns: 38px 1fr 16px; align-items: center; gap: 12px; text-align: left; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); color: var(--on-dark); transition: border-color .2s, background .2s, transform .3s var(--ease); }
.p-act:hover, .p-act.flash { border-color: var(--gold); background: rgba(201,168,76,.08); transform: translateX(2px); }
.p-act i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(201,168,76,.14); color: var(--gold-light); font-style: normal; }
.p-act i svg { width: 18px; height: 18px; }
.p-act b { display: block; font-size: 15px; font-weight: 600; }
.p-act small { display: block; font-size: 12.5px; color: var(--on-dark-mute); margin-top: 2px; }
.p-act > svg { width: 16px; height: 16px; color: var(--gold); }
.p-steps { display: flex; gap: 6px; margin: 0 0 2px; }
.p-steps span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); }
.p-steps span.on { background: var(--gold); }
.p-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); margin: 4px 0 0; }
.p-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.p-days::-webkit-scrollbar { display: none; }
.p-chip { flex: none; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.03); color: var(--on-dark); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 500; text-align: center; transition: border-color .2s, background .2s, color .2s; }
.p-chip small { display: block; font-size: 11px; color: var(--on-dark-mute); margin-top: 2px; }
.p-chip:hover { border-color: var(--gold); }
.p-chip.on, .p-chip.flash { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; border-color: transparent; }
.p-chip.on small, .p-chip.flash small { color: rgba(18,15,8,.7); }
.p-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.p-form { display: grid; gap: 10px; }
.p-field { display: grid; gap: 5px; }
.p-field label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); }
.p-field label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.p-field input, .p-field textarea { font: 15px var(--f-display); color: var(--on-dark); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark-strong); border-radius: 11px; padding: 11px 13px; resize: vertical; }
.p-field input:focus, .p-field textarea:focus { outline: none; border-color: var(--gold); background: rgba(201,168,76,.06); }
.p-field input.flash, .p-field textarea.flash { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.2); }
.p-field input[aria-invalid="true"] { border-color: #e0493d; }
/* "Request a callback" (4 Oct) */
.p-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--on-dark); cursor: pointer; padding: 2px 0; }
.p-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold); cursor: pointer; flex: none; }
/* Callback ticked: the phone number is now required, so its "(optional)" note goes (CSS :has, iOS 15.4+). */
.p-form:has(#ap-lcallback:checked) label[for="ap-lphone"] span { display: none; }
.p-summary { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); font-size: 14px; }
.p-summary b { color: var(--gold-light); }
.p-go { margin-top: 4px; justify-self: start; }
.p-go[disabled] { opacity: .55; pointer-events: none; }
.p-msg { margin: 0; font-size: 14px; color: var(--gold-light); min-height: 1em; }
.p-msg.err { color: #f08a80; }
.p-msg a { color: var(--gold-light); border-bottom: 1px solid rgba(228,201,122,.4); }
.p-consent { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--on-dark-mute); }
.p-consent a, .form-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.p-review { display: grid; gap: 12px; }
.p-rv { margin: 0; display: grid; gap: 0; border-radius: 12px; border: 1px solid rgba(201,168,76,.3); background: rgba(201,168,76,.07); overflow: hidden; }
.p-rv div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 13px; }
.p-rv div + div { border-top: 1px solid rgba(201,168,76,.16); }
.p-rv dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); padding-top: 2px; }
.p-rv dd { margin: 0; font-size: 15px; color: #fff; overflow-wrap: anywhere; }
.p-rv-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.p-done { display: grid; justify-items: start; gap: 12px; margin-top: 6px; }
.p-done .tick { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; font-size: 26px; font-weight: 700; animation: tickIn .5s var(--ease); }
@keyframes tickIn { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.p-done h4 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.p-done p { margin: 0; color: var(--on-dark-mid); font-size: 14.5px; }
.p-svcs { display: grid; gap: 7px; }
.p-svc { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); color: var(--on-dark); font-size: 14.5px; font-weight: 500; transition: border-color .2s, background .2s; }
.p-svc small { color: var(--on-dark-mute); font-weight: 400; font-size: 12.5px; display: block; margin-top: 2px; }
.p-svc:hover, .p-svc.flash { border-color: var(--gold); background: rgba(201,168,76,.08); }
.p-svc svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.p-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.03); }
.p-card img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.p-card > div { padding: 14px 15px 16px; display: grid; gap: 8px; }
.p-card h4 { margin: 0; font-size: 18px; }
.p-card p { margin: 0; color: var(--on-dark-mid); font-size: 14px; }
.p-card .row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 4px; }

/* Three ways + capabilities */
.types-title { margin: clamp(40px, 5vw, 64px) 0 18px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; font-weight: 600; line-height: 1.1; color: var(--text); }
.agent-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent-types article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); }
.at-n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold-deep); }
.agent-types h4 { margin: 12px 0 8px; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.015em; font-weight: 600; }
.agent-types p { margin: 0; color: var(--text-mid); font-size: 15.5px; line-height: 1.55; }
.agent-caps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.agent-caps li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.6); font-size: 14px; color: var(--text); }
.agent-caps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Roster carousel (wide 16:9 cards on cream) */
.roster { margin-top: clamp(70px, 9vw, 120px); position: relative; overflow: clip; }
.roster-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.roster-title { margin: 0; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.028em; font-weight: 600; line-height: 1.05; max-width: 16ch; }
.roster-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--gold-deep); }
.roster-role { margin: 0; text-align: right; display: grid; gap: 4px; min-height: 64px; max-width: 420px; }
.roster-role b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; color: var(--gold-deep); transition: opacity .25s; }
.roster-role span { color: var(--text-mid); font-size: 15px; transition: opacity .25s; }
.roster-role.swap b, .roster-role.swap span { opacity: 0; }
.cyl-wide { --ch: clamp(190px, 22vw, 290px); --cw: calc(var(--ch) * 1.62); margin-top: 26px; }
.cyl-wide .cyl-card { border-radius: 16px; background: #ddd; box-shadow: 0 34px 60px -30px rgba(28,26,22,.55), 0 0 0 1px rgba(28,26,22,.08); }
.cyl-wide .cyl-card[aria-hidden="false"] { box-shadow: 0 40px 70px -30px rgba(28,26,22,.6), 0 0 0 2px var(--gold); }
.cyl-wide .cyl-card figcaption { color: rgba(245,240,232,.8); }
.cyl-wide .cyl-arrow { background: #fff; color: var(--text); border-color: var(--line-strong); }
.cyl-wide .cyl-arrow:hover { color: var(--gold-deep); border-color: var(--gold); }
.rm .cyl-wide .cyl-card, .no-js .cyl-wide .cyl-card { aspect-ratio: 16/10; }
.rm .cyl-wide .cyl-stage, .no-js .cyl-wide .cyl-stage { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.agents-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: clamp(30px, 4vw, 50px); }

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
  .stage-av { aspect-ratio: 4 / 3.4; min-height: 0; }
  .ava-caption { bottom: 66px; }
  .ava-caption .cap { font-size: 14.5px; }
  .ava-btn { height: 38px; padding: 0 13px; font-size: 13px; }
  .panel { border-left: 0; border-top: 1px solid var(--line-dark); padding: 18px 16px 16px; }
  .panel-body { min-height: 0; }
  .agent-types { grid-template-columns: 1fr; }
  .roster-role { text-align: left; }
  .cyl-wide { --ch: 168px; }
}
@media (max-width: 420px) { .p-times { grid-template-columns: repeat(2, 1fr); } }

/* ═════════ Talk to Ava (live session) + suggested times (1 Oct, round 2) ═════════ */
.ava-btn.ava-talk { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; border-color: transparent; }
.ava-btn.ava-talk:hover { color: #120f08; filter: brightness(1.06); }
.ava-btn.ava-talk[disabled] { opacity: .7; pointer-events: none; }
.ava-btn.ava-talk.is-on { background: rgba(10,10,10,.55); color: var(--on-dark); border-color: rgba(255,255,255,.2); }
/* The SDK mounts its own wrapper — without these rules it floats as a small panel in a corner of the viewport (spec gotcha #2). */
.ava-mount { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; transition: opacity .8s cubic-bezier(.4,0,.2,1); background: #050505; }
.ava-mount > *, .ava-mount video, .ava-mount canvas { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; object-fit: cover; }
.ava-mount, .ava-mount * { overflow: hidden !important; scrollbar-width: none; }
/* 5 Oct: the SDK puts an INLINE 4px silver border (red while muted or idle) and 10px corners on its avatar box once
   she is live; it read as a white frame around her. ava-panel.js passes borderWidth 0; this is the safety net
   (a stylesheet !important beats an inline style without one). */
.ava-mount #np_companion-avatar-container { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.stage-av.live-ready .ava-mount { opacity: 1; }
/* Hand-off (Michael, 2 Oct: "the video stops and the image is blurred… a little bit clunky"): her clip keeps
   PLAYING at full brightness while Napster connects; the live video fades in OVER it once it is sharp
   (ava-panel.js whenSharp); the clip is hidden only after that fade, and snaps back underneath on end. */
.stage-av .ava-video { opacity: 1; transition: none; }
.stage-av.live-ready .ava-video { opacity: 0; transition: opacity 0s linear .8s; }
.stage-av.live::after { display: none; }
.stage-av.live-ready .ava-ctrls, .stage-av.live-ready .ava-caption { display: none; }   /* the SDK's own control bar takes over */
.stage-av .ava-badge, .stage-av .ava-toast { z-index: 4; }
.stage-av .ava-ctrls { z-index: 5; }
.ava-toast { position: absolute; left: 50%; top: 62px; transform: translateX(-50%); width: min(88%, 520px); text-align: center; padding: 10px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.45;
  background: rgba(10,10,10,.72); border: 1px solid rgba(228,201,122,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ava-toast[hidden] { display: none; }
.stage.is-live .panel-flag { display: none; }
/* Suggested times + the demo link */
.p-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.p-pick { padding: 14px 8px; }
.p-pick small { font-size: 13px; color: var(--gold-light); font-weight: 600; margin-top: 3px; }
.p-pick:hover small { color: var(--gold-light); }
.p-week { background: none; border: 0; border-bottom: 1px solid rgba(228,201,122,.35); justify-self: start; padding: 0 0 2px; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--gold-light); display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.p-week svg { width: 15px; height: 15px; }
.panel-demo { background: none; border: 0; padding: 0; margin-left: 4px; font: inherit; color: var(--gold-light); border-bottom: 1px solid rgba(228,201,122,.4); cursor: pointer; }
.panel-demo:hover { border-color: var(--gold-light); }
@media (max-width: 420px) { .p-picks { grid-template-columns: 1fr; } .p-pick { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 12px 14px; } }

/* ═════════ In-panel service film (1 Oct, round 3) — the panel is Ava's screen; nothing jumps ═════════ */
.p-card { flex: none; }
.sv-film { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.sv-film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.sv-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; border: 0; background: linear-gradient(180deg, rgba(10,10,10,.1), rgba(10,10,10,.45)); color: var(--on-dark); cursor: pointer; transition: background .3s; }
.sv-play:hover { background: linear-gradient(180deg, rgba(10,10,10,.0), rgba(10,10,10,.3)); }
.sv-play .ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #120f08; animation: ring 2.4s var(--ease) infinite; }
.sv-play .ring svg { width: 22px; height: 22px; margin-left: 3px; }
.sv-play .lbl { display: grid; line-height: 1.25; text-align: center; }
.sv-play .lbl b { font-size: 14.5px; font-weight: 600; }
.sv-play .lbl small { font: 500 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--on-dark-mid); }
.sv-film.playing .sv-play { display: none; }
.sv-still { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.p-svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 2px; }
.rm .sv-play .ring { animation: none; }
