/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   Harvard Investment Group — site styles
   Palette: ocean navy → ivory/sand, brushed-gold hairlines. Type: Cormorant Garamond (display) + Inter (text).
   Dark cinematic heroes, light airy content. One breakpoint family at 900 px (the avatar stage's breakpoint).
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */
:root {
  --ink: #071320; --navy: #0B1B2B; --navy-2: #102538;
  --ivory: #F4EFE6; --sand: #E8DFCF; --paper: #FBF8F1;
  --text: #16151A; --text-mid: #4A4842; --text-mute: #6D665B;
  --gold: #B8975A; --gold-light: #D4B778; --gold-deep: #8E7138;
  --slate: #B9C2CC; --on-dark: #F4EFE6; --on-dark-mid: rgba(244,239,230,.78); --on-dark-mute: rgba(244,239,230,.55);
  --line: rgba(184,151,90,.35); --line-dark: rgba(255,255,255,.1); --line-dark-strong: rgba(255,255,255,.2);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.7,.3,1);
  --hdr: 84px; --wrap: 1320px; --gut: clamp(20px, 4vw, 56px);
  /* stage tokens (AVATAR-STAGE-SPEC §3) mapped to the house gold */
  --f-display: var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
/* Sideways overflow is clipped on html AND body: iPhone Safari ignores body alone and lets a pinch zoom out past the
   page. `clip` (not `hidden`) so neither element becomes a scroll container (Lenis and ScrollTrigger use the window). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.js.lenis { scroll-behavior: auto; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
.caps { text-transform: uppercase; letter-spacing: .14em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--ink); }
.skip:focus { left: 10px; }
.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.eyebrow.gold { color: var(--gold-light); }
.eyebrow.mute { color: var(--text-mute); }
h2.serif, .sec-head h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; color: var(--navy); }
h2 em, h1 em { font-style: italic; font-weight: 400; }
.sec-dark h2.serif, .on-dark { color: var(--on-dark); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: var(--text-mid); margin-top: 22px; max-width: 62ch; }
.sec-dark .lede, .lede.on-dark { color: var(--on-dark-mid); }
.big { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.72; }
.rule { display: block; width: 64px; height: 1px; background: var(--gold); margin: 32px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: 2px; font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-dark { background: var(--navy); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { border: 1px solid rgba(244,239,230,.55); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-ghost-dark { border: 1px solid var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: var(--on-dark); }
.btn-line { border: 1px solid var(--gold); color: var(--on-dark); }
.btn-line:hover { background: var(--gold); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 20px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 7px; }
.tlink svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }
.tlink.gold, .sec-dark .tlink { color: var(--gold-light); }
.ext { width: 13px; height: 13px; display: inline-block; vertical-align: -1px; margin-left: 2px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 34px; }

/* ── Header ─────────────────────────────────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); color: var(--on-dark); transition: background .4s, transform .5s var(--ease), box-shadow .4s; }
.hdr.is-solid { background: rgba(7,19,32,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(184,151,90,.25); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; }
.logo-h { display: block; height: 38px; width: auto; }
.ftr .logo-h { height: 34px; }
.brand-t { font-family: var(--serif); font-weight: 600; font-size: 16.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) { font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold-light); border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: var(--hdr) 0 0 0; background: var(--ink); padding: 40px var(--gut); overflow: auto; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu nav a:not(.btn) { font-family: var(--serif); font-size: clamp(34px, 8vw, 48px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); padding: 8px 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(14px); animation: menuIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms); }
.menu nav a[aria-current="page"] { color: var(--gold-light); }
.menu nav .btn { justify-self: start; margin-top: 26px; opacity: 0; animation: menuIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms); }
.menu-foot { margin-top: 40px; display: grid; gap: 8px; color: var(--on-dark-mute); font-size: 15px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { background: var(--ink); }

/* ── Ambient loop layer (Home): fixed behind the page; the hero and the .peek breaks are transparent over it ──── */
.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); width: 100%; max-width: 100vw; }
.amb-poster, .amb-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.amb-v { opacity: 0; transition: opacity 1.2s ease; }
.amb-v.is-on { opacity: 1; }
.amb-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,19,32,.5) 0%, rgba(7,19,32,.12) 30%, rgba(7,19,32,.2) 70%, rgba(7,19,32,.75) 100%); }
.page-home main > :not(.ambient) { position: relative; z-index: 1; }
.page-home .hero-home { background: transparent; overflow: visible; }
.page-home .ftr { position: relative; z-index: 1; }
.sec { background: var(--ivory); }
.peek { position: relative; z-index: 1; height: 42vh; min-height: 260px; display: flex; align-items: flex-end; padding-bottom: 28px; background: transparent; }
.peek-cap { margin: 0; display: inline-flex; align-items: center; gap: 14px; color: var(--gold-light); text-shadow: 0 1px 12px rgba(7,19,32,.8); }
.peek-cap::before { content: ""; width: 40px; height: 1px; background: var(--gold-light); }
@media (max-width: 900px) { .peek { height: 32vh; min-height: 200px; } }

/* ── Heroes ─────────────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-home { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr) + 40px) 0 clamp(64px, 10vh, 120px); }
.hero-home::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,19,32,.72) 0%, rgba(7,19,32,.42) 48%, rgba(7,19,32,.1) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
/* The whole welcome film and its Talk button stay above the fold (Michael, 10-30): on shorter desktop viewports the
   hero tightens its padding and type instead of pushing the film below the screen. */
@media (min-width: 901px) and (max-height: 820px) {
  .hero-home { padding-top: calc(var(--hdr) + 18px); padding-bottom: 44px; }
  .hero-home .hero-title-xl { font-size: clamp(36px, 4.6vw, 64px); }
  .hero-lede { margin-top: 16px; font-size: clamp(18px, 1.7vw, 24px); }
  .hero-ctas { margin-top: 24px; }
  .hero-home .scroll-cue { bottom: 14px; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .hero-home { padding-top: calc(var(--hdr) + 10px); padding-bottom: 32px; }
  .hero-home .hero-title-xl { font-size: clamp(32px, 3.8vw, 52px); }
  .hero-film-col { max-width: min(100%, calc((100svh - var(--hdr) - 150px) * 16 / 9)); justify-self: end; }
  .hero-home .scroll-cue { display: none; }
}
.hero-home .hero-copy { position: static; height: auto; padding: 0; display: block; }
.hero-home .hero-title-xl { font-size: clamp(42px, 5.4vw, 78px); letter-spacing: .12em; }
/* the welcome-film frame: Harrison's loop, muted, with the stage's sound icon; the Talk button sits under it */
.hero-film-col { display: grid; gap: 18px; }
.hero-film { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #0d1620; cursor: pointer;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(184,151,90,.45); transform: translateZ(0); }
.hero-film img, .hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,19,32,.0) 55%, rgba(7,19,32,.7)); }
.hero-film .film-sound { z-index: 3; }
.film-under { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.film-under .btn { min-height: 48px; }
.film-under .btn svg { width: 15px; height: 15px; }
.film-under p { font-size: 13.5px; color: var(--on-dark-mid); }
.film-play { position: absolute; z-index: 2; left: 50%; top: 44%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .4s var(--ease), filter .3s; }
.film-play svg { width: 28px; height: 28px; margin-left: 4px; }
.film-play:hover { transform: scale(1.06); filter: brightness(1.05); }
.film-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(212,183,120,.55); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.rm .film-play::before { animation: none; }
.hero-film figcaption { position: absolute; z-index: 2; left: 18px; right: 80px; bottom: 14px; display: grid; gap: 2px; pointer-events: none; }
.hero-film figcaption .eyebrow { margin: 0 0 2px; font-size: 10px; }
.hero-film figcaption b { font-size: clamp(16px, 1.3vw, 20px); font-weight: 500; line-height: 1.15; color: var(--on-dark); }
.js .hero-film-col { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity 1.1s var(--ease) .6s, transform 1.2s var(--ease) .6s; }
.js .hero-film-col.is-in, .js.rm .hero-film-col { opacity: 1; transform: none; }
.hero-page { height: clamp(560px, 78vh, 860px); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-video { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,19,32,.6) 0%, rgba(7,19,32,.08) 32%, rgba(7,19,32,.22) 62%, rgba(7,19,32,.94) 100%); }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 9vh, 110px); padding-top: var(--hdr); }
.hero-title { font-size: clamp(40px, 6vw, 84px); line-height: .98; font-weight: 500; letter-spacing: .12em; color: var(--on-dark); }
.hero-title-xl { font-size: clamp(44px, 7.2vw, 100px); letter-spacing: .13em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln span { display: block; }
.js .hero-title .ln span { transform: translateY(110%); }
.js.rm .hero-title .ln span, .hero-title.is-in .ln span { transform: none; }
.hero-lede { margin-top: 26px; font-size: clamp(21px, 2.1vw, 30px); font-style: italic; font-weight: 400; line-height: 1.3; color: var(--sand); max-width: 24em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.scroll-cue { position: absolute; right: var(--gut); bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--slate); font: 400 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 56px; background: linear-gradient(180deg, var(--gold-light), rgba(212,183,120,0)); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.rm .scroll-cue i { animation: none; }
.js .hero-copy .eyebrow, .js .hero-copy .hero-lede, .js .hero-copy .hero-ctas, .js .hero-copy .cstrip { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero-copy.is-in .eyebrow, .js .hero-copy.is-in .hero-lede, .js .hero-copy.is-in .hero-ctas, .js .hero-copy.is-in .cstrip, .js.rm .hero-copy .eyebrow, .js.rm .hero-copy .hero-lede, .js.rm .hero-copy .hero-ctas, .js.rm .hero-copy .cstrip { opacity: 1; transform: none; }
.js .hero-copy.is-in .hero-lede { transition-delay: .5s; } .js .hero-copy.is-in .hero-ctas, .js .hero-copy.is-in .cstrip { transition-delay: .7s; }
/* About hero: portrait + name */
.hero-about { background: var(--ink); padding: calc(var(--hdr) + clamp(30px, 6vh, 70px)) 0 clamp(48px, 7vh, 90px); }
.about-hero-in { display: grid; grid-template-columns: minmax(280px, .42fr) 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: #0d1620; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(184,151,90,.25); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; } /* the file itself is B&W */
.portrait figcaption { position: absolute; left: 14px; bottom: 12px; font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-mute); background: rgba(7,19,32,.55); padding: 7px 10px; border-radius: 2px; }
.about-hero-copy { padding-bottom: 10px; }
.cstrip { list-style: none; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 15px; color: var(--on-dark-mid); }
.cstrip a:hover { color: var(--gold-light); }
/* Contact / FAQ hero: text only */
.hero-contact { padding: calc(var(--hdr) + clamp(50px, 9vh, 110px)) 0 clamp(50px, 7vh, 90px); background: linear-gradient(180deg, var(--ink), var(--navy)); }
.hero-contact .hero-lede { color: var(--on-dark-mid); }

/* ── Sections ───────────────────────────────────────────────────────────────────────────────────── */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-dark { background: var(--navy); color: var(--on-dark); }
.sec-dark + .sec-dark { padding-top: 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.split-5-7, .split-7-5 { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.prose p + p, .prose p + figure, .prose figure + p, .prose p + .donate, .prose .donate + p { margin-top: 26px; }
.prose p { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.75; }
.inline-img { overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 9; }
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
/* tiles (Home about band) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.tile-big { font-size: clamp(40px, 3.8vw, 54px); line-height: 1; color: var(--navy); font-weight: 500; }
.tile-big sup { font-size: .55em; vertical-align: .4em; }
.tiles .eyebrow { margin: 12px 0 0; }
/* facts list */
.facts { display: grid; gap: 16px; border-left: 1px solid var(--line); padding-left: 28px; font-size: 14.5px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; }
.facts > div > :first-child, .facts dt { color: var(--text-mute); }
.facts dd { text-align: right; }
.facts-dark { border-color: rgba(184,151,90,.5); }
.facts-dark > div > :first-child, .facts-dark dt { color: var(--slate); }
.facts .btn { margin-top: 12px; justify-self: start; }
/* key/value ledgers */
.kv { display: grid; gap: 0; }
.kv > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.kv > div:last-child { border-bottom: 1px solid var(--line-dark); }
.kv dt { font: 500 11px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); padding-top: 4px; }
.kv dd { font-size: 17px; color: var(--on-dark-mid); }
.sectors { margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--line-dark); }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 9px 16px; border: 1px solid var(--line-dark-strong); border-radius: 999px; font-size: 14px; color: var(--on-dark-mid); }
.ledger { display: grid; }
.ledger > div { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line-dark); align-items: baseline; }
.ledger > div:last-child { border-bottom: 1px solid var(--line-dark); }
.ledger dt { font-size: clamp(26px, 2.4vw, 34px); color: var(--gold-light); font-weight: 500; line-height: 1; }
.ledger dd { font-size: 17.5px; color: var(--on-dark-mid); line-height: 1.6; }
.ledger dd a { color: var(--gold-light); border-bottom: 1px solid rgba(212,183,120,.4); }
.quote-band { background: var(--sand); }
.quote { font-size: clamp(26px, 3vw, 40px); font-style: italic; font-weight: 400; line-height: 1.3; color: var(--navy); max-width: 26em; }
/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.chips a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font: 500 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.chips a:hover { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
/* Greg round 1 pin #8 (11-17): the investor-interest band on Investments → /#invest opens Harrison's questionnaire */
.invest-cta { padding-top: 0; }
.invest-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 60px);
  background: var(--paper); border: 1px solid var(--gold); border-left-width: 4px; box-shadow: 0 30px 60px -40px rgba(7,19,32,.5); }
.invest-card h2.serif { font-size: clamp(28px, 3vw, 42px); }
.invest-card p:not(.eyebrow) { margin-top: 14px; max-width: 40em; }
.invest-card .btn { min-height: 54px; white-space: nowrap; }
.invest-card .btn svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .invest-card { grid-template-columns: 1fr; } .invest-card .btn { width: 100%; white-space: normal; } }
/* Greg round 4 #15 (11-20): the button is to the right on desktop and below the text on phones; the sentence says which */
.dir-phone { display: none; }
@media (max-width: 900px) { .dir-desk { display: none; } .dir-phone { display: inline; } }
/* Greg round 1 pin #4 (11-17): he missed the showcase line and the six tabs, so both are louder now */
.prose .showcase-line { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.35; color: var(--navy); border-left: 2px solid var(--gold); padding-left: 22px; }
.prose .showcase-line b { font-weight: 600; color: var(--gold-deep); }
.chips { align-items: center; gap: 12px; }
.chips-label { flex: 0 0 100%; margin: 0 0 6px; font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.chips a { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; background: var(--paper); border-color: var(--gold); font-size: 12.5px; box-shadow: 0 10px 24px -16px rgba(7,19,32,.45); }
.chips a svg { width: 14px; height: 14px; transform: rotate(90deg); color: var(--gold-deep); transition: color .25s; }
.chips a:hover svg { color: var(--gold-light); }
/* Greg round 4 #16 (11-20): "highlight these development tabs in brown": filled gold like the site's gold buttons */
.chips a { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.chips a svg { color: var(--ink); }
.chips a:hover { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.chips a:hover svg { color: var(--gold-light); }
.netflix-line a { color: var(--navy); font-weight: 400; border-bottom: 1px solid var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.nflx { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; background: #E50914; color: #fff; font: 700 13px/1 Georgia, serif; }

/* ── Featured 2201 (Home): pinned layered reveal ────────────────────────────────────────────────── */
.feat { padding-bottom: clamp(80px, 10vw, 140px); }
/* the 2201 layers start beside the screen and float in: clip them at the screen edge (full-width row), so the page is
   never wider than the phone (iPhone pinch-zoom showed the loop beside the page, 10-30) */
.feat-pin { overflow-x: clip; }   /* x only: the layers still drift and cast shadows above and below */
.feat-head, .proj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 64px); }
.feat-head h2, .proj-head h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: .1em; }
/* Homepage featured 2201: bronze tab (palette --gold) linking to the six development chips (Greg #18) */
.feat-tab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 48px; flex-wrap: wrap; flex: 1 1 16rem; min-width: 0; box-sizing: border-box; padding: 20px 24px; border-radius: 2px; background: var(--gold); color: var(--ink); text-decoration: none; }
.sec-dark .feat-tab,
.sec-dark .feat-tab h2,
.sec-dark .feat-tab h2.serif,
.sec-dark .feat-tab .eyebrow,
.sec-dark .feat-tab .eyebrow.gold,
.sec-dark .feat-tab .sold,
.feat-tab-go { color: var(--ink); }
.feat-tab .eyebrow { margin-bottom: 12px; }
.feat-tab-go { display: block; flex: 0 1 auto; flex-basis: 100%; width: 100%; margin-top: 4px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border: 0; padding: 0; }
.feat-tab-go > span { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 7px; }
.feat-tab-go svg { width: 14px; height: 14px; }
.feat-tab:hover { background: var(--gold-light); }
.feat-tab:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
#development-tabs { scroll-margin-top: calc(var(--hdr) + 12px); }
.sold { font-size: clamp(20px, 1.8vw, 26px); font-style: italic; font-weight: 400; color: var(--slate); }
/* "As seen on Netflix" (2201 on Home): the full wordmark, in the space above the staircase photo */
.as-seen { display: grid; justify-items: center; align-content: center; gap: 10px; color: var(--on-dark); text-align: center; }
.as-seen img { width: clamp(150px, 14vw, 230px); height: auto; display: block; transition: transform .5s var(--ease); }
.as-seen:hover img { transform: scale(1.04); }
.as-seen-k { font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.as-seen-t { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; letter-spacing: .04em; padding-bottom: 5px; border-bottom: 1px solid var(--gold); }
.as-seen-t svg { width: 12px; height: 12px; }
.as-seen-desk { position: absolute; z-index: 2; right: 0; top: 0; width: 38%; height: 18%; }
.as-seen-mob { display: none; }
@media (max-width: 900px) {
  .as-seen-desk { display: none; }
  .as-seen-mob { display: grid; justify-items: start; flex-basis: 100%; }
  .as-seen-mob img { width: 150px; }
}
.proj-head > div > .sold { margin-top: 10px; font-size: clamp(18px, 1.5vw, 22px); }
.sec:not(.sec-dark) .sold { color: var(--text-mute); }
.proj-head .lede { max-width: 56ch; margin-top: 0; flex: 1 1 420px; }
.proj-head > div { flex: 1 1 320px; }
.feat-pin { position: relative; }
.feat-layers { position: relative; height: clamp(420px, 56vw, 800px); }
.fl { position: absolute; overflow: hidden; border-radius: 2px; will-change: transform; }
.fl img { width: 100%; height: 100%; object-fit: cover; }
.fl-a { left: 0; top: 0; width: 68%; height: 82%; }
.fl-b { right: 0; top: 18%; width: 38%; height: 62%; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.fl-c { left: 46%; bottom: 6%; width: 32%; height: 36%; box-shadow: 0 30px 60px rgba(0,0,0,.45); }   /* larger and higher, over both (Michael 10-31) */
.feat-copy { margin-top: clamp(48px, 6vw, 80px); }

/* ── Duo cards ──────────────────────────────────────────────────────────────────────────────────── */
.duo { padding-top: 0; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--ink); color: var(--on-dark); }
.duo-wide { aspect-ratio: 21 / 9; }
.duo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.duo-card:hover img { transform: scale(1.05); }
.duo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,19,32,.05) 30%, rgba(7,19,32,.9)); }
.duo-txt { position: absolute; z-index: 1; left: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); bottom: clamp(22px, 3vw, 40px); display: grid; gap: 14px; }
.duo-txt .eyebrow { margin: 0; }
.duo-t { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; max-width: 22em; }
.duo-txt .tlink { color: var(--gold-light); justify-self: start; }

/* ── Galleries + mosaics ────────────────────────────────────────────────────────────────────────── */
.gal { display: grid; gap: 12px; }
.gal-2 { grid-template-columns: repeat(2, 1fr); }
.gal-3 { grid-template-columns: repeat(3, 1fr); }
.gal-4 { grid-template-columns: repeat(4, 1fr); }
.gal-feature { grid-template-columns: repeat(3, 1fr); }
.gal-feature .gi:first-child { grid-column: span 2; grid-row: span 2; }
.gal-strip { grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: rgba(184,151,90,.5) transparent; }
.gal-strip .gi { scroll-snap-align: start; aspect-ratio: 3 / 2; }
.gal-dense { grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.gal-awards { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gal-awards .gi { aspect-ratio: 3 / 4; background: var(--paper); border: 1px solid var(--line); }
.gal-awards .gi img { object-fit: contain; padding: 6px; }
.gi { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #0d1620; }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.gi:hover img { transform: scale(1.04); }
.gi:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(90px, 9.5vw, 150px); gap: 12px; }
.mosaic .gi { aspect-ratio: auto; height: 100%; }
/* A property film in a mosaic slot (2209, Michael 10-31): loops muted, the sound icon top right as on the welcome film */
.m-film { position: relative; margin: 0; height: 100%; overflow: hidden; border-radius: 2px; background: #000; cursor: pointer; }
.m-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-film .film-sound { z-index: 3; }
.film-cap { position: absolute; left: 16px; bottom: 14px; margin: 0; padding: 7px 12px; border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(7,19,32,.55); pointer-events: none; }
.m-a { grid-column: span 7; grid-row: span 3; } .m-b { grid-column: span 5; grid-row: span 2; } .m-c { grid-column: span 5; grid-row: span 1; }
.m-d { grid-column: span 5; grid-row: span 2; } .m-e { grid-column: span 4; grid-row: span 2; } .m-f { grid-column: span 3; grid-row: span 2; }
.m-g { grid-column: span 5; grid-row: span 2; } .m-h { grid-column: span 7; grid-row: span 2; }
.mosaic-3 .m-a { grid-column: span 7; grid-row: span 3; } .mosaic-3 .m-b { grid-column: span 5; grid-row: span 2; } .mosaic-3 .m-c { grid-column: span 5; grid-row: span 1; }
.proj-copy { margin-top: clamp(40px, 5vw, 64px); }
.proj + .proj { padding-top: 0; }
.sec:not(.sec-dark) + .proj:not(.sec-dark) { padding-top: 0; }
.gal + .gal, .proj-copy + .gal, .proj-copy + .more { margin-top: clamp(32px, 4vw, 48px); }
.more > summary { list-style: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); border-bottom: 1px solid var(--gold); padding-bottom: 8px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.more[open] > summary svg { transform: rotate(90deg); }
/* Greg round 1 pin #5 (11-17): "Additional photographs" must stand out — a filled gold button, larger type */
.more > summary { gap: 14px; padding: 17px 28px; border: 0; border-radius: 2px; background: var(--gold); color: var(--ink); font-size: 14px; letter-spacing: .18em; transition: background .25s; }
.more > summary:hover { background: var(--gold-light); }
.ba-label { margin: 28px 0 14px; }
.ba-label:first-of-type { margin-top: 0; }

/* ── Philanthropic extras ───────────────────────────────────────────────────────────────────────── */
.donate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.donate p { font-size: 17px; max-width: 46ch; }
.donate a:not(.btn) { color: var(--navy); border-bottom: 1px solid var(--gold); }
.soad-abbr { font: 500 12px/1 var(--sans); letter-spacing: .3em; color: var(--text-mute); margin-top: 10px; }
.soad-media { margin-top: clamp(20px, 3vw, 36px); align-items: center; }
.links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.links a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #000; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(7,19,32,.1), rgba(7,19,32,.45)); color: var(--ink); }
.yt-play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt-play::before { content: ""; position: absolute; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
.yt-play svg { position: relative; }
.awards-line { margin: clamp(40px, 5vw, 64px) 0 18px; font-size: 17px; }
.phil-band { background: var(--sand); }
/* small disclosure in the bottom-left corner of AI-enhanced photographs (Michael, 10-30) */
.ai-tag { position: absolute; z-index: 3; left: 12px; bottom: 10px; padding: 4px 8px; border-radius: 2px; font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(244,239,230,.85); background: rgba(7,19,32,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.phil-img { position: relative; }
.phil-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.phil-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contact block + page ───────────────────────────────────────────────────────────────────────── */
.cblock { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 120px) 0; }
.cblock-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cblock .lede { margin-bottom: 30px; }
.cblock .cb-talk { color: var(--navy); border-bottom: 1px solid var(--gold); transition: color .25s, border-color .25s; }
.cblock .cb-talk:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.cl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cl > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.cl dt { font: 500 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); padding-top: 3px; }
.cl a:hover { color: var(--gold-deep); }
.addr { font-style: normal; display: grid; gap: 14px; font-size: 17px; margin-top: 6px; }
.addr p { display: flex; gap: 12px; align-items: flex-start; }
.addr .ico { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold-deep); }
.addr a { border-bottom: 1px solid var(--line); }
.map { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-size: 14px; color: var(--text-mute); }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.form .eyebrow { margin-bottom: 4px; }
.form label { display: grid; gap: 7px; }
.form label span { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); }
.form input, .form textarea { font: 300 16px/1.4 var(--sans); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px; width: 100%; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,90,.18); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #b4463a; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.f-msg { font-size: 14.5px; color: var(--gold-deep); min-height: 1em; }
.f-msg.err { color: #b4463a; }
.f-note { font-size: 13px; color: var(--text-mute); }
.sent { padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.sent[hidden] { display: none; }
.sent-t { font-size: clamp(24px, 2.4vw, 32px); font-style: italic; font-weight: 400; color: var(--navy); margin: 8px 0 26px; }

/* ── FAQ ────────────────────────────────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font: 400 clamp(19px, 1.6vw, 23px)/1.35 var(--serif); color: var(--navy); }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(90deg); }
.faq details p { padding: 0 0 26px; font-size: 17px; line-height: 1.7; color: var(--text-mid); max-width: 66ch; }

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────── */
.ftr { background: var(--ink); color: var(--on-dark-mid); padding: clamp(56px, 7vw, 90px) 0 36px; font-size: 14px; }
.ftr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ftr-nav a { font: 400 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-mid); }
.ftr-nav a:hover { color: var(--gold-light); }
.ftr-mid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.ftr-mid a { color: var(--on-dark); border-bottom: 1px solid rgba(184,151,90,.4); }
.ftr-netflix { display: inline-flex; align-items: center; gap: 10px; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; padding-top: 24px; font-size: 12.5px; color: var(--on-dark-mute); }
.ftr-bot p { max-width: 70ch; line-height: 1.6; }
.credit { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-mid); white-space: nowrap; }
.credit img { height: 21px; width: auto; border-radius: 3px; opacity: .9; }
.credit:hover { color: var(--on-dark); }

/* ── Reveals (GSAP drives .rv / .rv-img; no JS or reduced motion → everything visible) ─────────── */
.js:not(.rm) .rv { opacity: 0; transform: translateY(36px); }
.js:not(.rm) .rv-img { clip-path: inset(0 0 100% 0); }
.js:not(.rm) .rv-img img { transform: scale(1.12); }
.js:not(.rm) .in .rv, .js:not(.rm) .rv.in { opacity: 1; transform: none; }

/* ── Theater (lightbox) ─────────────────────────────────────────────────────────────────────────── */
.theater { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 56px 72px; }
.theater[hidden] { display: none; }
.theater-bg { position: absolute; inset: 0; background: rgba(7,19,32,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.theater-img { position: relative; max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 2px; box-shadow: 0 40px 100px rgba(0,0,0,.6); animation: thIn .5s var(--ease); }
@keyframes thIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.theater-cap { position: absolute; left: 72px; right: 72px; bottom: 18px; text-align: center; color: var(--on-dark-mid); font-size: 14px; }
.theater-count { position: absolute; top: 20px; left: 24px; color: var(--on-dark-mute); font: 500 11px/1 var(--sans); letter-spacing: .2em; }
.theater-x, .theater-prev, .theater-next { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark-strong); color: var(--on-dark); display: grid; place-items: center; background: rgba(7,19,32,.5); transition: border-color .25s, color .25s; }
.theater-x:hover, .theater-prev:hover, .theater-next:hover { border-color: var(--gold); color: var(--gold-light); }
.theater-x { top: 14px; right: 14px; } .theater-prev { left: 14px; top: 50%; transform: translateY(-50%); } .theater-next { right: 14px; top: 50%; transform: translateY(-50%); }
.theater-x svg, .theater-prev svg, .theater-next svg { width: 18px; height: 18px; }

/* ═════════ Avatar stage (AVATAR-STAGE-SPEC v1.3; structure and sizes are the standard) ═════════ */
.stage-sec { background: var(--ivory); }
.stage { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); background: #0a0a0a; 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(184,151,90,.3); min-height: 560px; scroll-margin-top: calc(var(--hdr) + 12px); }
.stage-av { position: relative; background: #050505 center / cover no-repeat; min-height: 100%; }
.stage-av.is-placeholder { background: radial-gradient(120% 90% at 50% 30%, #1a2a3c 0%, #0b1420 55%, #060b12 100%); }
.ava-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; pointer-events: none; }
.ava-ph svg { width: min(62%, 340px); height: auto; }
.ava-ph span { font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(244,239,230,.45); }
.ava-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ava-video[hidden] { display: none; }
.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: 4; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; font: 600 12.5px/1.2 var(--sans); 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); } }
.rm .ava-dot { animation: none; }
.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); }
.ava-toast { position: absolute; z-index: 4; 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(212,183,120,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ava-toast[hidden] { display: none; }
.ava-sound { position: absolute; z-index: 3; top: 10px; right: 14px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; 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); }
.ava-sound[hidden] { display: none; }
.ava-sound svg { width: 28px; height: 28px; }
.ava-sound[aria-pressed="true"] { color: var(--gold-light); border-color: rgba(184,151,90,.65); }
.ava-sound-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 6px; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.ava-sound[aria-pressed="true"] .ava-sound-label { display: none; }
.ava-ctrls { position: absolute; z-index: 5; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.ava-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px; font: 600 13.5px/1 var(--sans); color: #120f08; background: linear-gradient(180deg, var(--gold-light), var(--gold)); border: 1px solid transparent; transition: filter .2s; }
.ava-btn svg { width: 16px; height: 16px; }
.ava-btn:hover { filter: brightness(1.06); }
.ava-btn[disabled] { opacity: .7; pointer-events: none; }
.ava-btn.flash { animation: talkFlash 1.3s var(--ease) 2; }
@keyframes talkFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,183,120,.7); } 50% { box-shadow: 0 0 0 14px rgba(212,183,120,0); } }
/* The live player mounts its own wrapper: without the fill rules it floats as a 340x400 box at the stage's bottom
   right, shifted -170px, and the stage stays black (first live test, Part B, 10-30). Same rules as the Home stage. */
.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; }
/* The player's own stylesheet places its box with an ID selector (left 50% + a -170px shift), which outranks the rule
   above, so the box is pinned here at the same ID weight. */
.ava-mount #np_companion-avatar-container { inset: 0 !important; left: 0 !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; }
/* Once he is live the player's own control bar (mic, speaker, share, red hang-up) takes over, as on every stage. */
.stage-av.live-ready .ava-ctrls { display: none; }
.stage-av.live-ready .ava-mount { opacity: 1; }
.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-body { flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
@media (min-width: 901px) { .panel.is-home .panel-body { justify-content: center; } }
.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); }
/* stage v1.7 (Michael 11-19): the card itself never moves on hover (a 2 px shift pushed its right border past the
   panel's clip edge); only the arrow nudges, inside the card. */
.p-act:hover, .p-act.flash { border-color: var(--gold); background: rgba(184,151,90,.1); }
.p-act > svg { transition: transform .3s var(--ease); }
.p-act:hover > svg, .p-act.flash > svg { transform: translateX(3px); }
.p-act i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(184,151,90,.16); 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); }
.panel-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--on-dark-mute); }
@media (min-width: 901px) { .stage { height: 560px; min-height: 0; grid-template-rows: minmax(0, 1fr); } }
/* The panel's deeper views (Harrison's contact form and review card), per AVATAR-STAGE-SPEC §7 */
/* stage v1.6 (Michael 11-19): "← Back" in the left corner on every panel view, the view title centered */
.panel-head { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 34px; margin-bottom: 10px; }
.panel.is-home .panel-head { display: none; }
.panel-back { grid-column: 1; justify-self: start; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line-dark-strong); background: transparent; color: var(--on-dark); display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.panel-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.panel-back:hover { border-color: var(--gold); color: var(--gold-light); }
.panel-back[hidden] { display: none; }
.panel-title { grid-column: 2; text-align: center; font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.panel-body { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(184,151,90,.5) transparent; }
/* stage v1.7: a 4 px safe edge inside the clip on every side (10 px on the right, for the scrollbar), cancelled by an
   equal negative margin, so card borders, gold highlights and focus rings are never cropped and the cards still line
   up with the panel header. */
.panel-body { padding: 4px 10px 4px 4px; margin: -4px -10px -4px -4px; }
.panel-body::-webkit-scrollbar { width: 6px; }
.panel-body::-webkit-scrollbar-thumb { background: rgba(184,151,90,.45); border-radius: 3px; }
.p-act.is-on { border-color: var(--gold); background: rgba(184,151,90,.12); box-shadow: 0 0 0 1px var(--gold) inset; }
.p-form { display: grid; gap: 10px; }
.p-field { display: grid; gap: 5px; }
.p-field label { font: 600 11.5px/1.2 var(--sans); 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, .p-field select { font: 400 15px/1.35 var(--sans); color: var(--on-dark); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark-strong); border-radius: 11px; padding: 11px 13px; width: 100%; resize: vertical; }
.p-field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.p-field select option { color: #111; }
.p-field input:focus, .p-field textarea:focus, .p-field select:focus { outline: none; border-color: var(--gold); background-color: rgba(184,151,90,.06); }
.p-field input.flash, .p-field textarea.flash, .p-field select.flash { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,90,.22); }
.p-field input[aria-invalid="true"] { border-color: #e0493d; }
.p-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.p-form .btn, .p-rv-acts .btn { min-height: 44px; padding: 0 18px; font-size: 11px; letter-spacing: .18em; border-radius: 999px; }
.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(212,183,120,.4); }
.p-label { margin: 0; font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); }
.p-review { display: grid; gap: 12px; }
.p-rv { margin: 0; display: grid; border-radius: 12px; border: 1px solid rgba(184,151,90,.3); background: rgba(184,151,90,.07); overflow: hidden; }
.p-rv div { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 10px 13px; }
.p-rv div + div { border-top: 1px solid rgba(184,151,90,.16); }
.p-rv dt { font: 600 11.5px/1.3 var(--sans); 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; }
.p-done h4 { margin: 0; font: 500 24px/1.15 var(--serif); }
.p-done p { margin: 0; color: var(--on-dark-mid); font-size: 14.5px; line-height: 1.5; }
.p-done a { color: var(--gold-light); border-bottom: 1px solid rgba(212,183,120,.4); }
/* Page views on the panel (Investments · Developments · Hope for the Hurting): a short version of each page */
.pv { display: grid; gap: 14px; }
.pv-strip { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; background: #1a1916; }
.pv-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--on-dark-mid); }
.pv-small { font-size: 13.5px; color: var(--on-dark-mute); }
.pv-text a, .pv-small a { color: var(--gold-light); border-bottom: 1px solid rgba(212,183,120,.4); }
.pv-kv { margin: 0; display: grid; border-radius: 12px; border: 1px solid var(--line-dark-strong); overflow: hidden; }
.pv-kv div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 10px 13px; }
.pv-kv div + div { border-top: 1px solid var(--line-dark); }
.pv-kv dt { font: 600 11px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); padding-top: 2px; }
.pv-kv dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.pv-chips { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pv-chips li { padding: 6px 11px; border: 1px solid var(--line-dark-strong); border-radius: 999px; font-size: 12.5px; color: var(--on-dark-mid); }
.pv-rows { display: grid; gap: 8px; }
.pv-row { display: grid; grid-template-columns: 76px 1fr 16px; align-items: center; gap: 12px; padding: 7px 12px 7px 7px; border-radius: 12px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); color: var(--on-dark); transition: border-color .2s, background .2s; }
.pv-row:hover { border-color: var(--gold); background: rgba(184,151,90,.08); }
.pv-row img { width: 76px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.pv-row b { display: block; font-size: 14.5px; font-weight: 600; }
.pv-row small { display: block; font-size: 12px; color: var(--on-dark-mute); margin-top: 2px; }
.pv-row > svg { width: 16px; height: 16px; color: var(--gold); }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; border-radius: 12px; border: 1px solid var(--line-dark-strong); overflow: hidden; }
.pv-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 13px; }
.pv-list li + li { border-top: 1px solid var(--line-dark); }
.pv-list b { font-size: 14.5px; font-weight: 600; }
.pv-list small { font-size: 12.5px; color: var(--on-dark-mute); text-align: right; }
.pv-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 2px; }
.pv .pv-note { min-height: 44px; padding: 0 18px; font-size: 11px; letter-spacing: .18em; border-radius: 999px; }
.pv-more { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.pv-more svg { width: 14px; height: 14px; }
/* phones: a view scrolls inside the panel, so the page around the stage doesn't jump. While he is live, site.js sets
   --pv-max so Harrison and the view share one screen; a swipe past the end of a view carries on to the page. */
@media (max-width: 900px) {
  .panel:not(.is-home) .panel-body { max-height: var(--pv-max, min(78vh, 640px)); }
  .panel-body { overscroll-behavior: auto; }
  .panel:not(.is-home) .panel-note { display: none; }   /* "tap an option" only means something on the four options */
}
/* live: the SDK's bar takes over the video; our caption strip and sound icon step aside */
.stage-av.live .ava-caption, .stage-av.live .ava-sound, .stage-av.live-ready .ava-badge { display: none; }
.stage-av.live-ready::after { display: none; }
.ava-btn.is-on { background: rgba(10,10,10,.6); color: #fff; border-color: rgba(255,255,255,.3); }

/* ── Open prompt + staff (stage v3, the Greg demo 11-08). Everything here applies only when site.js adds .has-prompt
      (data-prompt="on", or the page was opened with ?staff=1): without it the stage is exactly the v1.3 stage. ── */
.stage-prompt { grid-column: 1 / -1; padding: 16px 18px 18px; background: #0a0a0a; border-top: 1px solid var(--line-dark); }
.stage-prompt[hidden] { display: none; }
@media (min-width: 901px) { .stage.has-prompt { height: auto; grid-template-rows: 600px auto; } }
.sp-box { display: grid; gap: 10px; padding: 14px 14px 12px; border-radius: 18px; border: 1px solid var(--line-dark-strong); background: #141516; transition: border-color .2s, box-shadow .2s; }
.sp-box:focus-within { border-color: rgba(184,151,90,.7); }
.stage.is-drop .sp-box { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,90,.22); }
.sp-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sp-input { flex: 1; min-width: 0; font: 400 16px/1.4 var(--sans); color: var(--on-dark); background: transparent; border: 0; padding: 6px 4px; }
.sp-input:focus { outline: none; }
.sp-input::placeholder { color: var(--on-dark-mute); }
.sp-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 46%; padding: 6px 6px 6px 10px; border-radius: 9px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.04); font-size: 13.5px; color: var(--on-dark-mid); }
.sp-chip[hidden] { display: none; }
.sp-chip > svg { width: 16px; height: 16px; flex: none; color: var(--gold-light); }
.sp-chip b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-chip-x { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: transparent; border: 0; color: var(--on-dark-mute); }
.sp-chip-x:hover { color: #fff; background: rgba(255,255,255,.08); }
.sp-chip-x svg { width: 12px; height: 12px; }
.sp-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.03); color: var(--on-dark-mid); transition: border-color .2s, color .2s; }
.sp-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.sp-btn svg { width: 18px; height: 18px; }
.sp-add { position: relative; flex: none; }
.sp-attach[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-light); }
.sp-menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; padding: 6px; border-radius: 14px; border: 1px solid var(--line-dark-strong); background: #1b1c1e; box-shadow: 0 14px 36px rgba(0,0,0,.5); }
.sp-menu[hidden] { display: none; }
.sp-menu-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--on-dark); font: 400 15px/1.2 var(--sans); white-space: nowrap; cursor: pointer; }
.sp-menu-item:hover, .sp-menu-item:focus-visible { background: rgba(255,255,255,.07); color: #fff; outline: none; }
.sp-menu-item svg { width: 19px; height: 19px; flex: none; color: var(--gold-light); }
.sp-hint { flex: 1; min-width: 0; font-size: 13px; color: var(--on-dark-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 0; color: #120f08; background: linear-gradient(180deg, var(--gold-light), var(--gold)); transition: filter .2s, transform .2s; }
.sp-send:hover { filter: brightness(1.08); }
.sp-send.flash { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(184,151,90,.3); }
.sp-send svg { width: 20px; height: 20px; }
.sp-send:disabled { opacity: .5; }
/* the fifth card: dashed, it opens the file picker */
.p-act-doc { width: 100%; font: inherit; border-style: dashed; cursor: pointer; }
.p-act-doc[hidden] { display: none; }
.p-act-team { width: 100%; font: inherit; cursor: pointer; }
.p-act-team[hidden] { display: none; }
.p-act-team i svg { fill: none; }
.p-act-doc i svg { fill: none; }
/* consent */
.sf-consent { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sf-consent p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark); }
/* the staff view */
.sf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sf-file > span, .sf-card > span { min-width: 0; }
.sf-file { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); }
.sf-file .sf-ext { width: 40px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); font: 600 10px/1 var(--sans); letter-spacing: .08em; color: var(--on-dark-mid); }
.sf-file b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-file small { display: block; font-size: 12.5px; color: var(--on-dark-mute); margin-top: 2px; }
.sf-time { font-size: 13px; color: var(--gold-light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sf-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) 12px; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); transition: border-color .3s; }
.sf-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: #1a1916; border: 1px solid var(--line-dark-strong); }
.sf-card b { font-size: 15.5px; font-weight: 600; }
.sf-card b span { font-weight: 400; color: var(--on-dark-mute); }
.sf-line { display: block; font-size: 13px; line-height: 1.4; color: var(--on-dark-mute); margin-top: 2px; }
.sf-dot { width: 10px; height: 10px; border-radius: 50%; background: #55524c; }
.sf-card[data-status="working"] { border-color: rgba(184,151,90,.4); }
.sf-card[data-status="working"] .sf-dot { background: var(--gold-light); animation: sfpulse 1.4s ease-in-out infinite; }
.sf-card[data-status="done"] .sf-dot { background: #3fbf6f; }
.sf-card[data-status="failed"] .sf-dot { background: #e0493d; }
@keyframes sfpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,183,120,.5); } 50% { box-shadow: 0 0 0 6px rgba(212,183,120,0); } }
@media (prefers-reduced-motion: reduce) { .sf-card[data-status="working"] .sf-dot { animation: none; } }
.sf-peek { margin: 0; padding: 11px 14px; border-radius: 14px; border: 1px dashed var(--line-dark-strong); font-size: 13.5px; line-height: 1.45; color: var(--on-dark-mid); }
.sf-peek[hidden] { display: none; }
.sf-peek b { color: #fff; font-weight: 600; }
.sf-note { margin: 0; font-size: 12.5px; color: var(--on-dark-mute); }
.sf-mock { justify-self: start; padding: 3px 8px; border-radius: 6px; background: #5a2320; color: #ffd9d4; font: 600 10.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
/* the case file */
.cf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cf-title { margin: 0; font: 500 22px/1.2 var(--serif); color: #fff; }
.cf-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; counter-reset: cf; }
.cf-list li { counter-increment: cf; position: relative; padding: 11px 13px 11px 44px; border-radius: 13px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); }
.cf-list li::before { content: counter(cf); position: absolute; left: 12px; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(184,151,90,.18); color: var(--gold-light); font: 600 12px/1 var(--sans); }
.cf-list b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.cf-list p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--on-dark-mid); }
.cf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cf-tag { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-dark-strong); font-size: 11.5px; color: var(--on-dark-mid); overflow-wrap: anywhere; }
a.cf-tag { color: var(--gold-light); border-color: rgba(184,151,90,.45); }
a.cf-tag:hover { background: rgba(184,151,90,.12); }
.cf-start { margin: 0; padding: 10px 13px; border-radius: 12px; border: 1px solid rgba(184,151,90,.3); background: rgba(184,151,90,.07); font-size: 13.5px; line-height: 1.5; color: var(--on-dark); }
.cf-start span { display: block; font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 3px; }
.cf-by { margin: 0; font-size: 12.5px; color: var(--on-dark-mute); }
/* Michael 11-21: "What this is" (summary + key facts) above the findings, and a heading for the findings */
.cf-h { display: block; font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: -4px; }
.cf-about { padding: 11px 13px; border-radius: 13px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.04); }
.cf-about .cf-h { margin-bottom: 4px; }
.cf-about p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--on-dark); }
.cf-facts { margin: 9px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; }
.cf-facts li { font-size: 13px; line-height: 1.4; color: #fff; overflow-wrap: anywhere; }
.cf-facts span { display: block; font-size: 11.5px; color: var(--on-dark-mute); }
@media (max-width: 600px) { .cf-facts { grid-template-columns: minmax(0, 1fr); } }
.cf-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--on-dark-mid); font-style: italic; }
.cf .pv-acts .btn, .sf-consent .btn, .rvl .btn { min-height: 44px; padding: 0 18px; font-size: 11px; letter-spacing: .18em; border-radius: 999px; }
.cf-acts, .sf-acts { display: flex; flex-wrap: wrap; gap: 10px; }
/* with the prompt field below, the "prefer to type" note is redundant, and the fifth card needs its room */
.stage.has-prompt .panel-note { display: none; }
.stage.has-prompt .p-act { padding-top: 9px; padding-bottom: 9px; }
.stage.has-prompt .p-actions { gap: 8px; }
/* the staff take the stage: tap a staff member and they replace Harrison in the avatar area */
.sf-card[data-cast] { cursor: pointer; }
.sf-card[data-cast]:hover, .sf-card.is-cast { border-color: var(--gold); background: rgba(184,151,90,.1); }
.sf-card[data-cast]:focus-visible, .team-chip:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.team { display: flex; align-items: center; gap: 10px; margin-top: 2px; min-width: 0; }
.team .p-label { flex: none; font-size: 10.5px; }
.team-row { display: flex; gap: 6px; min-width: 0; flex: 1; }
.team-chip { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; border-radius: 999px; border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,.025); color: var(--on-dark); text-align: left; transition: border-color .2s, background .2s; }
.team-chip:hover, .team-chip.is-cast { border-color: var(--gold); background: rgba(184,151,90,.1); }
.team-chip img { width: 30px; height: 30px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.team-chip span { min-width: 0; }
.team-chip b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-chip small { display: block; font-size: 10.5px; color: var(--on-dark-mute); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ava-back { position: absolute; z-index: 3; left: 16px; top: 58px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 500 12.5px/1 var(--sans); }
.ava-back[hidden] { display: none; }
.ava-back svg { width: 13px; height: 13px; transform: rotate(180deg); }
.ava-back:hover { border-color: var(--gold); color: var(--gold-light); }
.stage-av.live-ready .ava-back { top: 16px; }
@media (max-width: 900px) { .team { flex-direction: column; align-items: stretch; gap: 6px; } }
/* Beat 7: the studio's own roster for the same three faces */
.rvl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rvl-line { margin: 0; font: 500 24px/1.2 var(--serif); color: #fff; }
@media (max-width: 900px) {
  .stage-prompt { padding: 12px; }
  .sp-hint { white-space: normal; font-size: 12px; line-height: 1.35; }
  .sp-chip { max-width: 56%; }
  .sf-file { grid-template-columns: 36px minmax(0, 1fr); }
  .sf-time { grid-column: 2; }
}

/* ── Responsive ─────────────────────────────────────────────────────────────────────────────────── */
/* header: the wordmark and the six nav items must never collide (seen at ~1100 px with "Talk to Harrison") */
@media (max-width: 1280px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { font-size: 11px; letter-spacing: .14em; }
  .nav .btn-sm { padding: 0 14px; min-height: 38px; font-size: 11px; letter-spacing: .14em; }
  .brand-t { font-size: 14px; letter-spacing: .12em; }
}
@media (max-width: 1080px) {
  .brand-t { display: none; }
}
@media (max-width: 1100px) {
  .mosaic { grid-auto-rows: clamp(80px, 9vw, 120px); }
  .gal-dense, .gal-awards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  :root { --hdr: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .brand-t { font-size: 13.5px; letter-spacing: .14em; }
  .logo-h { height: 30px; }
  .split-5-7, .split-7-5, .cblock-in, .duo-grid, .about-hero-in, .f2 { grid-template-columns: 1fr; }
  .hero-home { min-height: 0; padding-top: calc(var(--hdr) + 28px); padding-bottom: 56px; }
  .hero-home::before { background: linear-gradient(180deg, rgba(7,19,32,.55), rgba(7,19,32,.55)); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-home .hero-title-xl { font-size: clamp(40px, 11vw, 56px); }
  .hero-film figcaption { left: 14px; right: 70px; bottom: 12px; }
  .hero-film figcaption b { font-size: 15px; }
  .film-under .btn { width: 100%; }
  /* Michael 11-19 (phone check): the three hero buttons stack at ONE width, tighter, all above the fold */
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 28px; max-width: 420px; }
  .hero-ctas .btn { width: 100%; padding: 0 18px; }
  .hero-home .scroll-cue { display: none; }
}
@media (max-width: 900px) and (max-height: 620px) {   /* iPhone SE-size screens: keep the third button above the fold */
  .hero-home { padding-top: calc(var(--hdr) + 18px); }
  .hero-lede { margin-top: 18px; }
  .hero-ctas { margin-top: 20px; gap: 8px; }
  .hero-ctas .btn { min-height: 46px; }
}
@media (max-width: 900px) {
  .eyebrow { letter-spacing: .22em; }
  .hero-media img, .hero-video { object-position: 58% 45%; }
  .hero-page { height: clamp(480px, 70vh, 640px); }
  .portrait { max-width: 340px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 24px; }
  .feat-layers { height: clamp(360px, 92vw, 560px); }
  .fl-a { width: 78%; height: 70%; } .fl-b { width: 50%; height: 50%; top: 40%; } .fl-c { width: 44%; height: 30%; left: 0; bottom: 4%; }
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(70px, 14vw, 110px); }
  .m-a { grid-column: span 6; grid-row: span 3; } .m-b, .m-c, .m-e, .m-f { grid-column: span 3; grid-row: span 2; } .m-d, .m-g, .m-h { grid-column: span 6; grid-row: span 2; }
  .mosaic-3 .m-a { grid-column: span 6; grid-row: span 3; } .mosaic-3 .m-b, .mosaic-3 .m-c { grid-column: span 3; grid-row: span 2; }
  .gal-4, .gal-3 { grid-template-columns: repeat(2, 1fr); }
  .gal-feature { grid-template-columns: repeat(2, 1fr); }
  .gal-dense, .gal-awards { grid-template-columns: repeat(3, 1fr); }
  .gal-strip { grid-auto-columns: 72%; }
  .ledger > div { grid-template-columns: 1fr; gap: 8px; }
  .kv > div { grid-template-columns: 1fr; gap: 8px; }
  .cl > div { grid-template-columns: 80px 1fr; }
  .theater { padding: 60px 12px; }
  .theater-cap { left: 12px; right: 12px; }
  .theater-prev, .theater-next { top: auto; bottom: 10px; transform: none; }
  .theater-prev { left: 12px; } .theater-next { right: 12px; }
  .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-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; }
  .ftr-bot { align-items: flex-start; }
}
@media (max-width: 480px) {
  .gal-2 { grid-template-columns: 1fr; }
  .brand-t { display: none; }
  .duo-card { aspect-ratio: 1; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
