:root {
  --ink: #06080d;
  --ink-soft: #0d111a;
  --paper: #f2efe9;
  --paper-soft: #e8e3d9;
  --blue: #41a8ff;
  --gold: #d7aa57;
  --white: #f8f8f5;
  --line-dark: rgba(248, 248, 245, .16);
  --line-light: rgba(6, 8, 13, .14);
  --safe-top: max(16px, env(safe-area-inset-top));
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; background: var(--ink); scroll-behavior: auto; }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 120; top: -80px; left: 14px; padding: 12px 16px; background: white; color: var(--ink); }
.skip-link:focus { top: 14px; }

.loader { position: fixed; z-index: 100; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--ink); color: white; transition: opacity .7s, visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; align-items: center; gap: 12px; }
.loader-mark span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-family: Georgia, serif; font-size: 16px; }
.loader-mark i { display: block; width: 70px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.loader p { margin: 0; font-family: Georgia, serif; font-size: clamp(22px, 3vw, 34px); }
.loader-track { width: min(62vw, 300px); height: 1px; background: rgba(255,255,255,.16); }
.loader-track b { display: block; width: 0; height: 100%; background: var(--gold); transition: width .18s linear; }
.loader small { color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: fixed; z-index: 40; top: 0; left: 0; width: 100%; height: 88px; padding: var(--safe-top) clamp(20px, 4vw, 64px) 0; display: flex; align-items: center; justify-content: space-between; color: white; transition: height .35s, background .35s, color .35s; }
.site-header::after { content: ""; position: absolute; left: clamp(20px, 4vw, 64px); right: clamp(20px, 4vw, 64px); bottom: 0; height: 1px; background: rgba(255,255,255,.17); }
.site-header.is-light { height: 72px; background: rgba(242,239,233,.9); color: var(--ink); backdrop-filter: blur(18px); }
.site-header.is-light::after { background: var(--line-light); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 12px; }
.brand strong { font-size: 14px; line-height: 1; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 7px; font-size: 6px; letter-spacing: .22em; opacity: .6; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); font-size: 10px; letter-spacing: .06em; }
.site-header nav a { position: relative; }
.site-header nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .25s; }
.site-header nav a:hover::after { right: 0; }
.nav-cta { padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; }

.film { position: relative; height: 900svh; background: var(--ink); }
.film-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); color: white; }
.cinema-canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; display: block; background: #06080d; }
.quality-control {
  position: absolute;
  z-index: 9;
  top: max(102px, calc(env(safe-area-inset-top) + 78px));
  left: clamp(24px, 4vw, 64px);
  width: min(290px, calc(100vw - 48px));
  color: white;
}
.quality-control summary {
  width: fit-content;
  min-width: 174px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(6,8,13,.58);
  box-shadow: 0 14px 38px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.quality-control summary::-webkit-details-marker { display: none; }
.quality-control summary::after { content: "⌄"; color: var(--gold); font-size: 11px; transition: transform .2s; }
.quality-control[open] summary::after { transform: rotate(180deg); }
.quality-control summary span { color: rgba(255,255,255,.5); font-size: 7px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.quality-control summary b { margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.quality-panel {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(5,8,13,.9);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}
.quality-panel button {
  min-height: 54px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: white;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, opacity .2s;
}
.quality-panel button:hover:not(:disabled), .quality-panel button.is-active { border-color: rgba(215,170,87,.75); background: rgba(215,170,87,.13); }
.quality-panel button:disabled { opacity: .28; cursor: not-allowed; }
.quality-panel button span { font-size: 11px; font-weight: 750; }
.quality-panel button small { color: rgba(255,255,255,.48); font-size: 7px; letter-spacing: .06em; text-transform: uppercase; }
.quality-panel p { grid-column: 1 / -1; margin: 4px 3px 1px; color: rgba(255,255,255,.46); font-size: 7px; line-height: 1.5; }
.quality-control.is-switching summary b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border: 1px solid rgba(255,255,255,.25); border-top-color: var(--gold); border-radius: 50%; animation: quality-spin .7s linear infinite; }
@keyframes quality-spin { to { transform: rotate(360deg); } }
.film-grade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(3,5,9,.8) 0%, rgba(3,5,9,.42) 38%, rgba(3,5,9,.1) 70%), linear-gradient(0deg, rgba(3,5,9,.78), transparent 44%); pointer-events: none; }
.film-vignette { position: absolute; z-index: 2; inset: 0; box-shadow: inset 0 0 14vw rgba(0,0,0,.45); pointer-events: none; }

/* Timeline V3 — real project interfaces crossing the HIC transition */
.project-reel { position: absolute; z-index: 3; top: clamp(108px, 13vh, 148px); left: auto; right: clamp(150px, 12vw, 190px); width: min(30vw, 460px); height: clamp(150px, 21vh, 220px); contain: strict; overflow: hidden; opacity: 0; transform: translate3d(24px, 18px, 0); pointer-events: none; transition: opacity .32s, transform .45s; -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 11%, #000 92%, transparent); }
.project-reel::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6,8,13,.18), rgba(6,8,13,.56)); }
.project-reel-track { height: 100%; width: max-content; display: flex; align-items: center; gap: 16px; padding: 0 18px; animation: project-reel-flow 26s linear infinite; will-change: transform; }
.project-shot { width: clamp(280px, 24vw, 400px); margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(7,11,17,.88); box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.project-shot:nth-child(even) { transform: translateY(22px); }
.project-shot-bar { height: 31px; padding: 0 12px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 7px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.project-shot-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.34); }
.project-shot-bar span { margin-left: 7px; }
.project-shot-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #10141d; }
.project-shot-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.03); }
.project-shot.is-second-brain .project-shot-frame img { width: 124%; max-width: none; transform: translateX(-19%); }
@keyframes project-reel-flow { to { transform: translateX(calc(-50% - 10px)); } }
.final-agent-roster { position: absolute; z-index: 4; top: clamp(112px, 14vh, 160px); right: clamp(82px, 8vw, 128px); width: min(292px, 22vw); padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 2px 28px 2px 2px; background: rgba(5,8,13,.62); box-shadow: 0 24px 80px rgba(0,0,0,.34); backdrop-filter: blur(14px); opacity: 0; transform: translate3d(24px,0,0); pointer-events: none; }
.final-agent-roster > p { margin: 0 0 14px; color: var(--gold); font-size: 7px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.final-agent-roster ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.final-agent-roster li { min-width: 0; padding: 10px 8px; display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translate3d(16px,0,0); }
.final-agent-roster li:nth-child(3n+2), .final-agent-roster li:nth-child(3n+3) { border-left: 1px solid rgba(255,255,255,.1); }
.final-agent-roster b { color: white; font-family: Georgia, serif; font-size: 13px; font-weight: 400; }
.final-agent-roster span { color: rgba(255,255,255,.48); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }

.film-copy { position: absolute; z-index: 4; left: clamp(24px, 7vw, 112px); bottom: clamp(96px, 15vh, 150px); max-width: min(820px, 78vw); opacity: 0; transform: translate3d(0, 34px, 0); pointer-events: none; will-change: opacity, transform; }
.film-copy.is-active { opacity: 1; transform: none; }
.film-copy p { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 9px; font-weight: 750; letter-spacing: .2em; }
.film-copy p span { color: var(--gold); }
.film-copy h1, .film-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 7vw, 108px); font-weight: 400; line-height: .9; letter-spacing: -.055em; text-wrap: balance; }
.film-copy h2 { font-size: clamp(45px, 6.1vw, 92px); }
.film-copy em { color: #f0c26d; font-weight: 400; }
.film-copy small { display: block; max-width: 520px; margin-top: 23px; color: rgba(255,255,255,.72); font-size: clamp(13px, 1.2vw, 17px); line-height: 1.55; }
.film-index { position: absolute; z-index: 5; right: clamp(22px, 4vw, 64px); bottom: 34px; display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .12em; }
.film-index i { width: 70px; height: 1px; background: rgba(255,255,255,.22); }
.film-index i b { display: block; width: 0; height: 100%; background: var(--gold); }
.film-index small { color: rgba(255,255,255,.4); }
.scroll-cue { position: absolute; z-index: 5; left: clamp(24px, 7vw, 112px); bottom: 32px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.56); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; transition: opacity .4s; }
.scroll-cue i { position: relative; width: 34px; height: 1px; overflow: hidden; background: currentColor; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: white; transform: translateX(-100%); animation: cue 1.8s infinite; }
@keyframes cue { 60%, 100% { transform: translateX(100%); } }
.chapter-rail { position: absolute; z-index: 6; top: 50%; right: clamp(20px, 2.3vw, 34px); display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.chapter-rail button { width: 28px; padding: 3px 0; border: 0; background: transparent; color: rgba(255,255,255,.34); font-size: 7px; cursor: pointer; transition: color .2s, transform .2s; }
.chapter-rail button::before { content: ""; display: inline-block; width: 8px; height: 1px; margin-right: 5px; background: currentColor; vertical-align: middle; transition: width .2s; }
.chapter-rail button.is-active { color: var(--gold); transform: translateX(-6px); }
.chapter-rail button.is-active::before { width: 18px; }

.editorial, .timeline, .hic-section, .panteao-section, .projects-section, .closing, footer { padding-left: clamp(24px, 7vw, 112px); padding-right: clamp(24px, 7vw, 112px); }
.editorial { padding-top: clamp(90px, 13vw, 180px); padding-bottom: clamp(90px, 13vw, 180px); }
.eyebrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-bottom: clamp(62px, 9vw, 116px); font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.eyebrow i { height: 1px; background: var(--line-light); }
.eyebrow small { opacity: .5; }
.opening-grid { display: grid; grid-template-columns: 1.2fr .65fr; gap: clamp(56px, 10vw, 180px); align-items: end; }
.opening h2, .hic-section h2, .section-head h2, .closing h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 104px); font-weight: 400; line-height: .91; letter-spacing: -.06em; }
.opening h2 em, .hic-section h2 em, .section-head h2 em { color: #49647d; font-weight: 400; }
.opening-grid > div > p { margin: 0; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.5; letter-spacing: -.025em; }
.opening-grid .muted { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-light); color: rgba(6,8,13,.56); font-size: 13px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.timeline article { min-height: 300px; padding: 40px 30px 36px 0; display: flex; flex-direction: column; justify-content: flex-end; }
.timeline article + article { padding-left: 30px; border-left: 1px solid var(--line-light); }
.timeline span, .section-label { color: #956b25; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.timeline h3 { margin: 30px 0 12px; font-family: Georgia, serif; font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.timeline p { margin: 0; color: rgba(6,8,13,.58); font-size: 12px; line-height: 1.6; }

.hic-section { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(320px, .78fr) minmax(520px, 1.22fr); gap: clamp(54px, 8vw, 136px); align-items: center; padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px); overflow: hidden; background: var(--ink); color: white; }
.hic-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 18% 42%, rgba(65,168,255,.14), transparent 32%), linear-gradient(120deg, transparent 56%, rgba(215,170,87,.055)); pointer-events: none; }
.hic-portrait { position: relative; min-width: 0; }
.hic-monogram { position: absolute; z-index: 0; top: -.27em; left: -.08em; color: transparent; font-family: Georgia, serif; font-size: clamp(170px, 22vw, 360px); line-height: 1; letter-spacing: -.1em; -webkit-text-stroke: 1px rgba(215,170,87,.22); opacity: .72; pointer-events: none; }
.hic-portrait figure { position: relative; z-index: 1; width: min(100%, 520px); aspect-ratio: 3 / 4; margin: 64px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 4px 76px 4px 4px; background: #101722; box-shadow: 0 40px 100px rgba(0,0,0,.42); }
.hic-portrait figure::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(4,6,10,.18) 52%, rgba(4,6,10,.9) 100%); pointer-events: none; }
.hic-portrait img, .hic-portrait video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 28%; filter: saturate(.86) contrast(1.03); }
.hic-portrait img { z-index: 0; }
.hic-portrait video { z-index: 1; }
.hic-portrait figcaption { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 26px; display: grid; gap: 7px; }
.hic-portrait figcaption span { font-family: Georgia, serif; font-size: 28px; letter-spacing: -.03em; }
.hic-portrait figcaption small { color: rgba(255,255,255,.62); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hic-copy { min-width: 0; }
.hic-section h2 { max-width: 860px; margin: 28px 0 30px; font-size: clamp(48px, 5.7vw, 88px); }
.hic-section h2 em { color: var(--gold); }
.hic-definition { max-width: 760px; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(18px, 1.55vw, 24px); line-height: 1.52; letter-spacing: -.02em; }
.hic-definition strong { color: var(--gold); font-weight: 750; }
.hic-personal { max-width: 720px; margin: 28px 0 0; padding-left: 22px; border-left: 1px solid rgba(65,168,255,.55); color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.72; }
.hic-pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.hic-pillars article { min-height: 138px; padding: 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.hic-pillars b { color: var(--gold); font-size: 7px; letter-spacing: .15em; }
.hic-pillars span { margin-top: auto; font-family: Georgia, serif; font-size: clamp(22px, 2vw, 31px); }
.hic-pillars small { margin-top: 7px; color: rgba(255,255,255,.44); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }

.panteao-section, .projects-section { padding-top: clamp(100px, 13vw, 180px); padding-bottom: clamp(100px, 13vw, 180px); }
.section-head { display: grid; grid-template-columns: 1.2fr .55fr; gap: clamp(60px, 11vw, 180px); align-items: end; }
.section-head h2 { margin-top: 28px; font-size: clamp(45px, 6vw, 88px); }
.section-head > p { margin: 0; padding-bottom: 8px; color: rgba(6,8,13,.6); font-size: 16px; line-height: 1.7; }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.agent-grid article { min-height: 190px; padding: 28px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.agent-grid span { color: #956b25; font-size: 22px; }
.agent-grid h3 { margin: 36px 0 6px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.agent-grid p { margin: 0; color: rgba(6,8,13,.54); font-size: 11px; }

.projects-section { background: var(--paper-soft); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(70px, 9vw, 116px); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.project-grid article { position: relative; min-height: 370px; padding: 40px; display: flex; flex-direction: column; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .3s, color .3s; }
.project-grid article:hover { background: var(--ink); color: white; }
.project-grid article > span { color: #956b25; font-size: 9px; font-weight: 800; }
.project-grid h3 { margin: auto 0 18px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 58px); font-weight: 400; letter-spacing: -.045em; }
.project-grid p { max-width: 560px; margin: 0; color: rgba(6,8,13,.62); font-size: 14px; line-height: 1.65; }
.project-grid article:hover p { color: rgba(255,255,255,.68); }
.project-grid small { margin-top: 30px; color: #956b25; font-size: 7px; letter-spacing: .16em; }

.closing { padding-top: clamp(110px, 15vw, 210px); padding-bottom: clamp(110px, 15vw, 210px); background: #05070b; color: white; text-align: center; }
.section-label.light { color: var(--gold); }
.closing h2 { margin: 28px auto; max-width: 1000px; font-size: clamp(58px, 9vw, 132px); }
.closing h2 em { color: var(--gold); font-weight: 400; }
.closing > p:not(.section-label) { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.7; }
.closing-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 56px; }
.closing-actions a { min-width: 220px; display: flex; justify-content: space-between; gap: 30px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.22); font-size: 10px; transition: background .25s, color .25s; }
.closing-actions a:hover { background: var(--gold); color: var(--ink); }
footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; padding-bottom: 30px; background: #020306; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .1em; }

@media (max-width: 900px) {
  .quality-control { top: max(78px, calc(env(safe-area-inset-top) + 62px)); left: auto; right: 16px; width: min(260px, calc(100vw - 32px)); }
  .quality-control summary { min-width: 156px; margin-left: auto; padding: 8px 11px; }
  .quality-panel { grid-template-columns: repeat(2, 1fr); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .film { height: 900svh; }
  .chapter-rail { display: none; }
  .film-grade { background: linear-gradient(0deg, rgba(3,5,9,.92) 0%, rgba(3,5,9,.72) 27%, rgba(3,5,9,.08) 66%, rgba(3,5,9,.28) 100%); }
  .film-copy { left: 22px; right: 22px; bottom: max(92px, calc(env(safe-area-inset-bottom) + 74px)); max-width: 620px; }
  .film-copy h1, .film-copy h2 { font-size: clamp(39px, 11vw, 66px); line-height: .94; }
  .film-copy p { margin-bottom: 13px; font-size: 7px; }
  .film-copy small { margin-top: 16px; max-width: 420px; font-size: 12px; }
  .opening-grid, .hic-section, .section-head { grid-template-columns: 1fr; }
  .opening-grid, .section-head { gap: 42px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline article:nth-child(3) { border-left: 0; }
  .timeline article:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .hic-section { gap: 70px; }
  .hic-portrait { max-width: 620px; margin: 0 auto; }
  .hic-portrait figure { width: min(82vw, 500px); margin: 54px auto 0; }
  .hic-monogram { left: 50%; transform: translateX(-54%); }
  .hic-copy { max-width: 760px; margin: 0 auto; }
  .project-reel { top: 17svh; left: auto; right: -18px; width: min(62vw, 390px); height: 22svh; max-height: 190px; opacity: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 100%); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 100%); }
  .project-reel-track { gap: 9px; padding: 0 6px; animation-duration: 28s; }
  .project-shot { width: min(52vw, 280px); border-radius: 7px; box-shadow: 0 14px 34px rgba(0,0,0,.42); }
  .project-shot:nth-child(even) { transform: translateY(6px); }
  .project-shot-bar { height: 20px; font-size: 5px; }
  .final-agent-roster { top: 90px; right: 18px; width: min(58vw, 250px); padding: 12px; border-radius: 2px 20px 2px 2px; }
  .final-agent-roster > p { margin-bottom: 8px; font-size: 5px; }
  .final-agent-roster li { padding: 7px 5px; }
  .final-agent-roster b { font-size: 10px; }
  .final-agent-roster span { display: none; }
}

@media (max-width: 600px) {
  .quality-control summary span { font-size: 6px; }
  .quality-control summary b { font-size: 8px; }
  .quality-panel button { min-height: 49px; }
  .site-header { height: 70px; padding-left: 17px; padding-right: 17px; }
  .site-header::after { left: 17px; right: 17px; }
  .brand > span { width: 31px; height: 31px; font-size: 9px; }
  .brand strong { font-size: 12px; }
  .brand small { margin-top: 5px; font-size: 5px; }
  .nav-cta { padding: 8px 12px; font-size: 8px; }
  .film-copy { bottom: max(88px, calc(env(safe-area-inset-bottom) + 70px)); }
  .film-copy h1, .film-copy h2 { font-size: clamp(37px, 10.8vw, 55px); }
  .film-index { right: 18px; bottom: max(24px, calc(env(safe-area-inset-bottom) + 14px)); }
  .scroll-cue { left: 22px; bottom: max(23px, calc(env(safe-area-inset-bottom) + 13px)); }
  .scroll-cue span { max-width: 160px; line-height: 1.5; }
  .eyebrow { grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 62px; font-size: 6px; }
  .eyebrow i { display: none; }
  .opening h2, .hic-section h2, .section-head h2 { font-size: clamp(42px, 12.8vw, 58px); }
  .hic-section { gap: 52px; padding-top: 82px; padding-bottom: 86px; }
  .hic-portrait figure { width: 100%; margin-top: 42px; border-radius: 3px 48px 3px 3px; }
  .hic-monogram { top: -.22em; font-size: 46vw; }
  .hic-portrait figcaption { left: 20px; right: 20px; bottom: 20px; }
  .hic-portrait figcaption span { font-size: 24px; }
  .hic-definition { font-size: 17px; }
  .hic-personal { margin-top: 22px; padding-left: 15px; font-size: 13px; }
  .hic-pillars { grid-template-columns: 1fr; margin-top: 34px; }
  .hic-pillars article { min-height: 104px; padding: 17px; }
  .opening-grid > div > p { font-size: 18px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article { min-height: 220px; padding: 28px 0; }
  .timeline article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .agent-grid, .project-grid { grid-template-columns: 1fr; }
  .agent-grid article { min-height: 154px; padding: 24px; }
  .agent-grid h3 { margin-top: 24px; }
  .project-grid article { min-height: 310px; padding: 30px 24px; }
  .closing h2 { font-size: clamp(50px, 15vw, 72px); }
  .closing-actions { display: grid; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .quality-control.is-switching summary b::after { animation: none; }
  .scroll-cue i::after { animation: none; }
  .film { height: 900svh; }
  .film-copy { transition: none; }
  .project-grid article { transition: none; }
  .project-reel-track { animation: none; }
  .project-reel { transition: none; }
  .hic-portrait video { display: none; }
  .final-agent-roster, .final-agent-roster li { transition: none; }
  body.mobile-motion-consented .hic-portrait video { display: block; }
}


/* Timeline V2 — trajectory embedded in the cinematic stage */
.scene-facts { list-style: none; max-width: 760px; margin: 20px 0 0; padding: 0 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 26px; border-left: 1px solid var(--gold); }
.scene-facts li { min-width: 220px; display: grid; gap: 4px; }
.scene-facts b { color: var(--white); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.scene-facts span { color: rgba(255,255,255,.56); font-size: 10px; line-height: 1.45; }

.journey-rail { position: absolute; z-index: 6; top: 102px; right: clamp(24px, 3vw, 52px); bottom: 68px; width: 210px; padding: 26px 18px 10px 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(90deg, rgba(6,8,13,.16), rgba(6,8,13,.62)); box-shadow: 0 18px 54px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.journey-kicker { position: absolute; top: 9px; left: 40px; margin: 0; color: rgba(255,255,255,.58); font-size: 8px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.journey-line { position: absolute; top: 30px; bottom: 12px; left: 23px; width: 2px; overflow: hidden; background: rgba(255,255,255,.25); box-shadow: 0 0 16px rgba(255,255,255,.05); }
.journey-line b { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--gold), var(--blue)); box-shadow: 0 0 16px rgba(65,168,255,.68); }
.journey-rail ol { height: 100%; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(10, 1fr); list-style: none; }
.journey-rail li { min-height: 0; }
.journey-rail button { width: 100%; height: 100%; padding: 3px 8px; display: flex; align-items: center; gap: 15px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.5); text-align: left; cursor: pointer; transition: color .25s, transform .25s, background .25s; }
.journey-rail button > i { position: relative; z-index: 1; flex: 0 0 auto; width: 17px; height: 17px; border: 1.5px solid currentColor; border-radius: 50%; background: var(--ink); transform: scale(.55); transition: transform .25s, background .25s, box-shadow .25s; }
.journey-rail button > span { display: grid; gap: 2px; }
.journey-rail button b { font-size: 10px; letter-spacing: .12em; }
.journey-rail button small { font-size: 8px; letter-spacing: .09em; text-transform: uppercase; opacity: .78; }
.journey-rail button.is-active { color: var(--gold); transform: translateX(-9px); background: linear-gradient(90deg, rgba(215,170,87,.14), transparent); }
.journey-rail button.is-active > i { background: var(--gold); transform: scale(1); box-shadow: 0 0 22px rgba(215,170,87,.72); }

@media (max-width: 900px) {
  .journey-rail { top: 88px; bottom: 78px; left: 11px; right: auto; width: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .journey-kicker { display: none; }
  .journey-line { left: 7px; }
  .journey-rail button { gap: 0; }
  .journey-rail button > span { display: none; }
  .journey-rail button.is-active { transform: none; }
  .film-copy { left: 44px; right: 18px; bottom: max(82px, calc(env(safe-area-inset-bottom) + 68px)); }
  .film-copy small { margin-top: 10px; }
  .scene-facts { margin-top: 12px; padding-left: 10px; display: grid; gap: 5px; }
  .scene-facts li { min-width: 0; gap: 1px; }
  .scene-facts b { font-size: 7px; }
  .scene-facts span { font-size: 8px; }
  .scroll-cue { left: 44px; }
}

@media (max-width: 600px) {
  .film-copy { left: 42px; }
  .film-copy h1, .film-copy h2 { font-size: clamp(34px, 10vw, 51px); }
  .film-copy p { margin-bottom: 9px; }
  .film-copy small { font-size: 10px; line-height: 1.42; }
  .scene-facts { margin-top: 9px; }
  .journey-rail { left: 9px; }
  .scroll-cue { left: 42px; }
}

/* V9 — retratos oficiais do Panteão */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(70px, 9vw, 120px);
  border: 0;
}
.agent-grid article {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(6,8,13,.12);
  border-radius: 2px 34px 2px 2px;
  background: #080b11;
  box-shadow: 0 24px 60px rgba(6,8,13,.12);
  isolation: isolate;
}
.agent-grid figure { position: absolute; inset: 0; margin: 0; }
.agent-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4,6,10,.22) 55%, rgba(4,6,10,.94) 100%);
}
.agent-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.04);
  transition: transform .7s ease, filter .7s ease;
}
.agent-grid article:hover img { transform: scale(1.035); filter: saturate(.94) contrast(1.03); }
.agent-card-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: white;
}
.agent-grid .agent-card-copy span {
  color: #d8b365;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .18em;
}
.agent-grid .agent-card-copy h3 {
  margin: 10px 0 6px;
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  letter-spacing: -.035em;
}
.agent-grid .agent-card-copy p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .agent-grid article { min-height: 230px; padding: 0; border-radius: 2px 24px 2px 2px; }
  .agent-grid article:last-child { grid-column: 1 / -1; aspect-ratio: 1.8 / 1; }
  .agent-card-copy { padding: 18px; }
  .agent-grid .agent-card-copy h3 { margin-top: 8px; font-size: 27px; }
}

/* V12.3 — controles fora do palco, Panteão legível e HIC em movimento */
.site-header nav { position: relative; }
.site-header .quality-control {
  position: relative;
  inset: auto;
  z-index: 2;
  width: auto;
  flex: 0 0 auto;
  color: currentColor;
}
.site-header .quality-control summary {
  min-width: 128px;
  padding: 9px 12px;
  border-color: rgba(255,255,255,.24);
  background: rgba(6,8,13,.52);
  color: white;
}
.site-header.is-light .quality-control summary {
  border-color: rgba(6,8,13,.18);
  background: rgba(242,239,233,.92);
  color: var(--ink);
}
.site-header .quality-panel {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: min(290px, calc(100vw - 32px));
  color: white;
}
.final-agent-roster {
  top: auto;
  right: auto;
  left: clamp(24px, 7vw, 112px);
  bottom: clamp(360px, 42vh, 430px);
  width: min(270px, 46vw);
  min-height: 78px;
  padding: 10px 14px 11px 17px;
  overflow: hidden;
  border: 0;
  border-left: 2px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(5,8,13,.82), rgba(5,8,13,.16));
  box-shadow: none;
  backdrop-filter: blur(8px);
  transform: translate3d(-18px,0,0);
}
.final-agent-roster > p {
  margin: 0 0 5px;
  color: rgba(255,255,255,.54);
  font-size: 6px;
}
.final-agent-roster > p span { color: var(--gold); }
.final-agent-roster ol { position: relative; height: 42px; display: block; }
.final-agent-roster li {
  position: absolute;
  inset: 0;
  padding: 0;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 0 !important;
  opacity: 0;
  transform: translate3d(-12px,0,0);
}
.final-agent-roster b { font-size: 22px; line-height: 1; }
.final-agent-roster span { font-size: 7px; }

@media (min-width: 901px) {
  .final-agent-roster {
    left: auto;
    right: calc(clamp(24px, 3vw, 52px) + 228px);
    bottom: clamp(18px, calc(12vh - 62px), 38px);
    width: min(250px, 22vw);
    padding: 10px 17px 11px 14px;
    border-left: 0;
    border-right: 2px solid var(--gold);
    border-radius: 16px 0 0 16px;
    background: linear-gradient(270deg, rgba(5,8,13,.84), rgba(5,8,13,.14));
    text-align: right;
  }
  .final-agent-roster li { justify-items: end; }
}

@media (max-width: 900px) {
  .site-header nav { gap: 10px; }
  .site-header .quality-control { top: auto; right: auto; left: auto; width: auto; }
  .site-header .quality-control summary { min-width: 92px; margin: 0; padding: 8px 10px; }
  .site-header .quality-panel { right: -74px; grid-template-columns: repeat(2, 1fr); }
  .hic-copy { order: 1; }
  .hic-portrait { order: 2; width: min(100%, 500px); }
  .final-agent-roster {
    top: auto;
    right: auto;
    left: 42px;
    bottom: max(348px, 42svh);
    width: min(210px, 62vw);
    padding: 9px 12px 10px 14px;
    border-radius: 0 14px 14px 0;
  }
  .final-agent-roster > p { margin-bottom: 4px; font-size: 5px; }
  .final-agent-roster ol { height: 36px; }
  .final-agent-roster li { padding: 0; }
  .final-agent-roster b { font-size: 19px; }
  .final-agent-roster span { display: block; font-size: 6px; }
}

@media (max-width: 600px) {
  .site-header nav { gap: 7px; }
  .site-header .quality-control summary { min-width: 58px; max-width: 72px; padding: 8px 9px; gap: 6px; }
  .site-header .quality-control summary span { display: none; }
  .site-header .quality-control summary b { max-width: 48px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
  .site-header .quality-panel { right: -74px; }
}
