/* AGINCY site. One accent (lime), near-black, off-white. DM Sans + DotGothic16 readouts. */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-latin.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-latin-ext.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DotGothic16"; src: url("/assets/fonts/DotGothic16-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #050608; --ink: #f2f1ec; --lime: #CFFF13;
  --mute: rgba(242, 241, 236, .66); --faint: rgba(242, 241, 236, .5); --line: rgba(242, 241, 236, .14);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DotGothic16", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4.4vw, 64px);
  --bar: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: .98; text-wrap: balance; }
::selection { background: var(--lime); color: #050608; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--lime); color: #050608; padding: 10px 14px; font-weight: 500; border-radius: 4px; }
.skip:focus { top: 12px; }

/* readouts */
.mono { font: 400 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.mono.dim { color: var(--faint); }
.rule { display: block; height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--bar); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .4s; }
.bar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#050608cc, #05060800); pointer-events: none; opacity: .9; }
.bar.is-solid::after { background: #050608f2; border-bottom: 1px solid var(--line); }
.film-page .bar.is-hidden { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { width: 30px; height: 30px; }
.wm { font: 300 19px/1 var(--sans); letter-spacing: .34em; padding-bottom: 5px; position: relative; }
.wm b { font-weight: 800; }
.wm::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.55em; height: 2px; background: var(--lime); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font: 500 14px/1 var(--sans); letter-spacing: .02em; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--mute); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .tel { color: #050608; background: var(--lime); padding: 0 16px; height: 38px; min-height: 38px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.nav .tel:hover { color: #050608; background: #dcff4d; }
@media (max-width: 640px) { .nav a.opt { display: none; } .wm { font-size: 16px; letter-spacing: .3em; } .brand img { width: 26px; height: 26px; } .nav .tel { padding: 0 13px; font-size: 13px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.lime { background: var(--lime); color: #050608; }
.btn.lime:hover { background: #dcff4d; }
.btn.ghost { border-color: rgba(242, 241, 236, .34); color: var(--ink); background: rgba(5, 6, 8, .28); }
.btn.ghost:hover { border-color: var(--ink); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- film ---------- */
.film { position: relative; background: #000; }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #000; --shade: 0; --p: 0; contain: layout paint; }
.screen { position: absolute; inset: 0; width: 100%; height: 100%; }
.grade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(78% 92% at 0% 100%, rgba(5, 6, 8, calc(.9 * var(--shade))) 0%, rgba(5, 6, 8, calc(.62 * var(--shade))) 38%, rgba(5, 6, 8, 0) 74%),
    linear-gradient(0deg, rgba(5, 6, 8, calc(.5 * var(--shade))) 0%, rgba(5, 6, 8, 0) 30%),
    radial-gradient(120% 90% at 50% 50%, rgba(5, 6, 8, 0) 58%, rgba(5, 6, 8, .46) 100%); }
.grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); } }
.dim { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }
.lids { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.lid { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--bg); will-change: transform; }
.lid::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--lime); transform-origin: center; }
.lid.t { top: 0; } .lid.t::after { bottom: 0; }
.lid.b { bottom: 0; } .lid.b::after { top: 0; }
.js .film[data-film="main"] .lid::after { animation: line 1.5s var(--ease) .15s both; }
@keyframes line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .gate-top > *, .js .gate-bot > *, .js .cue { animation: rise 1.1s var(--ease) both; }
.js .gate-logo { animation-delay: .1s; } .js .gate h1 { animation-delay: .22s; } .js .gate .tag { animation-delay: .5s; } .js .gate .what { animation-delay: .62s; } .js .cue { animation-delay: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .film[data-film="main"] .lid::after, .js .gate-top > *, .js .gate-bot > *, .js .cue { animation: none; } }
.caps { position: absolute; inset: 0; z-index: 3; }
.cap { position: absolute; opacity: 0; will-change: opacity, transform; max-width: min(44ch, 46vw); }
.cap.top { z-index: 6; }
.cap h2 { font-size: clamp(34px, 5.4vw, 88px); }
.cap h2 em { font-style: normal; color: var(--lime); }
.cap .lead { margin-top: clamp(14px, 1.6vw, 24px); font-size: clamp(16px, 1.42vw, 22px); line-height: 1.5; color: rgba(242, 241, 236, .86); max-width: 38ch; text-wrap: pretty; }
.cap .mono { margin-bottom: clamp(12px, 1.4vw, 20px); display: flex; align-items: center; gap: 12px; }
.cap .mono::before { content: ""; width: 26px; height: 1px; background: var(--lime); }
.at-bl { left: var(--pad); bottom: clamp(72px, 13vh, 150px); }
.at-l { left: var(--pad); top: 50%; translate: 0 -50%; }
.at-c { left: 50%; top: 50%; translate: -50% -50%; text-align: center; max-width: min(24ch, 86vw); }
.at-c .lead { margin-inline: auto; }
.at-c .mono { justify-content: center; }
.at-c .mono::before { display: none; }
.at-br { right: var(--pad); bottom: clamp(72px, 13vh, 150px); text-align: right; }
.cap.big { max-width: min(92vw, 1200px); }
.cap.big h2 { font-size: clamp(44px, 7.6vw, 128px); }
.cap.big .lead { max-width: 44ch; }
.cap h2, .cap .lead, .cap .role, .cap li, .cap p { text-shadow: 0 1px 26px rgba(5, 6, 8, .5); }
.veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(5, 6, 8, .56); opacity: var(--veil, 0); }
.cap.line h2 { font-size: clamp(28px, 3.9vw, 62px); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; }
.cap.line h2 b { font-weight: 800; }

/* gate: the first screen */
.gate { inset: 0; max-width: none; display: grid; grid-template-rows: 1fr 1fr; justify-items: center; text-align: center; z-index: 6; }
.gate-top { align-self: end; display: grid; justify-items: center; }
.gate-bot { align-self: start; }
.gate-logo { width: clamp(54px, 6vw, 76px); height: auto; margin-bottom: clamp(22px, 3vh, 34px); }
.gate h1 { font: 300 clamp(34px, 6.4vw, 92px)/1 var(--sans); letter-spacing: .3em; margin-right: -.3em; padding-bottom: clamp(18px, 2.6vh, 30px); }
.gate h1 b { font-weight: 800; }
.gate .tag { padding-top: clamp(18px, 2.6vh, 30px); font: 500 clamp(17px, 1.8vw, 24px)/1.2 var(--sans); letter-spacing: .01em; }
.gate .what { margin-top: 10px; color: var(--mute); font-size: clamp(15px, 1.25vw, 18px); }
.cue { position: absolute; left: 50%; bottom: clamp(26px, 6vh, 60px); translate: -50% 0; display: grid; justify-items: center; gap: 12px; }
.cue i { width: 1px; height: 44px; background: linear-gradient(var(--lime), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* dossier */
.file { max-width: min(40ch, 36vw); }
.file .tabrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(14px, 1.6vw, 22px); }
.file .tabrow .mono { margin: 0; }
.file .tabrow .mono::before { display: none; }
.file .tabrow hr { flex: 1; max-width: 120px; height: 1px; border: 0; background: var(--lime); margin: 0; opacity: .7; }
.file h2 { font-size: clamp(42px, 5.6vw, 96px); font-weight: 300; letter-spacing: -.035em; }
.file h2 b { font-weight: 800; }
.file .role { margin-top: clamp(10px, 1.1vw, 16px); font: 500 clamp(17px, 1.5vw, 23px)/1.25 var(--sans); }
.file ul { list-style: none; margin: clamp(14px, 1.6vw, 22px) 0 0; padding: 0; display: grid; gap: 8px; color: rgba(242, 241, 236, .86); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.45; }
.file li { display: grid; grid-template-columns: 18px 1fr; }
.file li::before { content: ""; width: 7px; height: 1px; background: var(--lime); margin-top: .72em; }
.file .note { margin-top: clamp(16px, 1.8vw, 26px); padding-top: clamp(12px, 1.4vw, 18px); border-top: 1px solid var(--line); display: grid; gap: 6px; }
.file .note a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--lime); width: fit-content; }

/* roster on the film */
.roster { max-width: min(92vw, 1120px); left: var(--pad); right: var(--pad); top: 50%; translate: 0 -50%; }
.roster h2 { font-size: clamp(34px, 5.4vw, 88px); }
.roster ol { list-style: none; margin: clamp(20px, 2.6vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 34px); max-width: 980px; }
.roster li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font: 500 clamp(14px, 1.2vw, 18px)/1.2 var(--sans); }
.roster li span { font: 400 11px/1 var(--mono); color: var(--lime); letter-spacing: .1em; }
.roster .lead { max-width: 56ch; }

/* readout rail */
.hud { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: clamp(18px, 3.4vh, 34px); display: flex; align-items: center; gap: 16px; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.stage:not([data-now="gate"]):not(.lids-shut) .hud { opacity: 1; }
.hud .mono { white-space: nowrap; }
.hud .rail { flex: 1; height: 1px; background: var(--line); position: relative; }
.hud .rail::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(var(--p)); }
.hud .lvl { min-width: 5.2em; }

@media (max-aspect-ratio: 4/5) {
  .cap, .file { max-width: none; }
  .at-bl, .at-l, .at-br { left: var(--pad); right: var(--pad); top: auto; bottom: clamp(84px, 13lvh, 130px); translate: none; text-align: left; }
  .cap h2 { font-size: clamp(34px, 10.4vw, 60px); }
  .cap.big h2 { font-size: clamp(44px, 13.6vw, 84px); }
  .cap.line h2 { font-size: clamp(27px, 7.6vw, 44px); }
  .file h2 { font-size: clamp(48px, 15vw, 96px); }
  .grade { background:
    linear-gradient(0deg, rgba(5, 6, 8, calc(.94 * var(--shade))) 0%, rgba(5, 6, 8, calc(.74 * var(--shade))) 30%, rgba(5, 6, 8, 0) 62%),
    radial-gradient(130% 90% at 50% 45%, rgba(5, 6, 8, 0) 55%, rgba(5, 6, 8, .45) 100%); }
  .roster { top: auto; bottom: clamp(84px, 12lvh, 120px); translate: none; }
  .roster ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster li { padding: 8px 0; }
  .hud .lvl { min-width: 0; }
}

/* without the film (no script, or reduced data): everything reads as a normal page */
.no-js .film, .no-film .film { height: auto !important; }
.no-js .stage, .no-film .stage { position: relative; height: auto; overflow: visible; padding: calc(var(--bar) + 40px) var(--pad) 60px; display: grid; gap: 72px; background: var(--bg) center/cover no-repeat; }
.no-js .screen, .no-film .screen, .no-js .lids, .no-film .lids, .no-js .hud, .no-film .hud, .no-js .dim, .no-film .dim, .no-js .grade, .no-film .grade, .no-js .grain, .no-film .grain, .no-js .cue, .no-film .cue { display: none; }
.no-js .caps, .no-film .caps { position: static; display: grid; gap: 72px; }
.no-js .cap, .no-film .cap { position: static; opacity: 1 !important; transform: none !important; translate: none; max-width: 60ch; text-align: left; }

/* ---------- plain sections ---------- */
.band { padding: clamp(84px, 13vh, 170px) var(--pad); position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2.2vw, 30px); }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--lime); }
.band h2 { font-size: clamp(38px, 6vw, 96px); }
.band .lead { margin-top: clamp(16px, 1.8vw, 26px); font-size: clamp(17px, 1.45vw, 22px); color: var(--mute); max-width: 46ch; text-wrap: pretty; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); }
.stat { padding: clamp(22px, 2.6vw, 40px) clamp(14px, 1.8vw, 28px) clamp(22px, 2.6vw, 40px) 0; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-left: clamp(14px, 1.8vw, 28px); border-left: 1px solid var(--line); }
.stat .n { font: 800 clamp(44px, 6vw, 96px)/.95 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: .45em; font-weight: 500; letter-spacing: -.01em; margin-left: .12em; color: var(--lime); }
.stat p { margin-top: 12px; color: var(--mute); font-size: 15.5px; line-height: 1.45; max-width: 24ch; }
.fieldnote { margin-top: clamp(22px, 2.6vw, 36px); color: var(--mute); max-width: 62ch; font-size: 15.5px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); margin-top: clamp(40px, 6vw, 88px); counter-reset: s; }
.step { border-top: 1px solid var(--lime); padding-top: clamp(16px, 1.8vw, 24px); }
.step h3 { font-size: clamp(24px, 2.5vw, 38px); margin-top: 14px; letter-spacing: -.02em; }
.step p { margin-top: 12px; color: var(--mute); max-width: 32ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .steps { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .stat .n { font-size: 40px; } }

/* reveal on scroll for plain sections */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .grain, .cue i { animation: none; } }

/* ---------- briefing panel (end film + briefing page) ---------- */
.brief { max-width: min(560px, 46vw); }
.brief h2 { font-size: clamp(40px, 6vw, 96px); }
.brief .lead { margin-top: 16px; }
.brief .btn-row { margin-top: clamp(20px, 2.4vw, 32px); }
.brief .or { margin-top: 18px; color: var(--mute); font-size: 15px; }
.brief .or a { color: var(--ink); border-bottom: 1px solid var(--lime); }
@media (max-aspect-ratio: 4/5) { .brief { max-width: none; } }

/* call-back form */
.callme { display: grid; gap: 12px; margin-top: clamp(20px, 2.4vw, 30px); max-width: 520px; }
.callme .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.field input { width: 100%; height: 52px; padding: 0 16px; background: rgba(5, 6, 8, .62); color: var(--ink); border: 1px solid rgba(242, 241, 236, .26); border-radius: 10px; font: 400 16px/1 var(--sans); -webkit-appearance: none; appearance: none; transition: border-color .2s, background-color .2s; }
.field input::placeholder { color: rgba(242, 241, 236, .34); }
.field input:focus { outline: none; border-color: var(--lime); background: rgba(5, 6, 8, .82); }
.field input[aria-invalid="true"] { border-color: #ff8f6b; }
.field .err { font-size: 13px; color: #ff8f6b; min-height: 0; display: none; }
.field input[aria-invalid="true"] ~ .err { display: block; }
.callme .fine { font-size: 12.5px; line-height: 1.45; color: var(--faint); max-width: 54ch; }
.callme .fine a { text-decoration: underline; text-underline-offset: 2px; }
.callme .status { font-size: 15px; min-height: 22px; }
.callme .status.ok { color: var(--lime); }
.callme .status.bad { color: #ff8f6b; }
.callme button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 520px) { .callme .row { grid-template-columns: 1fr; } }

/* ---------- connected services + footer ---------- */
.connected { border-top: 1px solid var(--line); }
.connected h2 { font-size: clamp(26px, 3vw, 44px); }
.connected .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.connected p { color: var(--mute); font-size: 16px; max-width: 64ch; }
.connected p + p { margin-top: 14px; }
.connected .links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.connected .links a { border-bottom: 1px solid var(--lime); padding-bottom: 2px; font-weight: 500; min-height: 32px; }
@media (max-width: 760px) { .connected .cols { grid-template-columns: 1fr; } }

.foot { padding: clamp(70px, 10vh, 130px) var(--pad) 40px; border-top: 1px solid var(--line); }
.signoff { font: 300 clamp(40px, 8.6vw, 148px)/.98 var(--sans); letter-spacing: -.04em; }
.signoff b { font-weight: 800; }
.signoff .ul { display: inline-block; position: relative; padding-bottom: .1em; }
.signoff .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: max(2px, .035em); background: var(--lime); transform-origin: left; }
.js .signoff .ul::after { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .signoff.in .ul::after { transform: scaleX(1); }
.foot-grid { margin-top: clamp(40px, 6vw, 84px); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h3 { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-grid a, .foot-grid span { display: block; color: var(--mute); padding: 5px 0; font-size: 15.5px; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid .big { color: var(--ink); font: 600 clamp(20px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -.01em; }
.legal { margin-top: clamp(36px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; color: var(--faint); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- inner pages ---------- */
.page main { padding-top: var(--bar); }
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; padding: clamp(80px, 12vh, 150px) var(--pad) clamp(40px, 6vh, 72px); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); }
.js .hero-img img { animation: drift 16s ease-out both; }
@keyframes drift { from { transform: scale(1.16); } to { transform: scale(1.04); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 2%, rgba(5, 6, 8, .62) 44%, rgba(5, 6, 8, .34) 100%); }
.hero h1 { font-size: clamp(44px, 8.4vw, 136px); letter-spacing: -.04em; }
.hero h1 span { font-weight: 300; }
.hero .lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 23px); color: rgba(242, 241, 236, .84); max-width: 46ch; }
.hero.short { min-height: 0; padding-top: clamp(70px, 10vh, 120px); }
.hero.short::after { display: none; }
@media (prefers-reduced-motion: reduce) { .js .hero-img img { animation: none; } }

.files { display: grid; gap: 0; border-top: 1px solid var(--line); }
.agent { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(14px, 3vw, 48px); padding: clamp(24px, 3vw, 42px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.agent h3 { font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.025em; }
.agent h3 small { display: block; margin-top: 10px; font: 400 11px/1.3 var(--mono); letter-spacing: .14em; color: var(--lime); text-transform: uppercase; }
.agent p { color: var(--mute); max-width: 54ch; }
@media (max-width: 760px) { .agent { grid-template-columns: 1fr; gap: 10px; } }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(34px, 5vw, 70px); }
.card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: #0b0c0f; isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 6, 8, .94) 4%, rgba(5, 6, 8, .2) 52%, rgba(5, 6, 8, 0) 100%); }
.card .in { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 1.8vw, 26px); }
.card h3 { font-size: clamp(28px, 3vw, 46px); font-weight: 300; letter-spacing: -.03em; }
.card h3 b { font-weight: 800; }
.card p { margin-top: 8px; color: rgba(242, 241, 236, .82); font-size: 15px; line-height: 1.4; }
.card .mono { margin-bottom: 10px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } .card { aspect-ratio: 4 / 5; } }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.ways { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: clamp(26px, 3vw, 40px); }
.way { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.way h3 { font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -.02em; line-height: 1.15; }
.way p { margin-top: 8px; color: var(--mute); max-width: 50ch; }
.way a.big { display: inline-block; margin-top: 10px; font: 700 clamp(24px, 2.6vw, 38px)/1.1 var(--sans); letter-spacing: -.02em; border-bottom: 2px solid var(--lime); }

.prose { max-width: 76ch; }
.prose h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.035em; }
.prose h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.15; margin-top: 2.4em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose p, .prose li { color: rgba(242, 241, 236, .8); font-size: 16.5px; line-height: 1.65; }
.prose p { margin-top: 1em; }
.prose ul { padding-left: 1.1em; margin: 1em 0 0; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--lime); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose .updated { margin-top: 16px; }

.embed { width: 100%; border: 0; background: #fff; border-radius: 8px; min-height: 760px; }
.embed.dark { background: transparent; }

/* voice widget sits above everything except the skip link */
elevenlabs-convai { z-index: 60; }

/* film page: the corner brand waits until the gate has opened */
.film-page .bar .brand { transition: opacity .6s var(--ease); }
html[data-now="gate"] .film-page .bar .brand, html:not([data-now]).has-film .film-page .bar .brand { opacity: 0; pointer-events: none; }
.cap { visibility: hidden; }
.no-js .cap, .no-film .cap { visibility: visible; }
.hud { padding-right: clamp(0px, 24vw, 330px); }
@media (max-aspect-ratio: 4/5) { .hud { bottom: auto; top: calc(var(--bar) + 4px); padding-right: 0; } .hud .rail { max-width: 26vw; } }

.cue .mono { margin: 0; }
.cue .mono::before { display: none; }
.hud .rail { order: 3; }
.hud [data-hud-label] { color: var(--mute); }

/* mobile menu */
.menu-btn { display: none; background: none; border: 1px solid rgba(242, 241, 236, .3); color: var(--ink); height: 38px; padding: 0 12px; border-radius: 999px; cursor: pointer; letter-spacing: .14em; font-size: 11px; }
.menu { position: fixed; inset: 0; z-index: 39; background: rgba(5, 6, 8, .97); padding: calc(var(--bar) + 6vh) var(--pad) 40px; display: grid; align-content: start; gap: 28px; }
.menu[hidden] { display: none; }
.menu nav { display: grid; border-top: 1px solid var(--lime); }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font: 800 clamp(30px, 9vw, 44px)/1 var(--sans); letter-spacing: -.03em; }
.menu nav a .mono { font-size: 11px; }
.menu-open { overflow: hidden; }
.menu-open .bar .brand { opacity: 1 !important; pointer-events: auto !important; }
@media (max-width: 640px) { .menu-btn { display: inline-flex; align-items: center; } .nav { gap: 8px; } }
@media (max-width: 360px) { .wm { display: none; } }

/* dossiers on phones: shorter, so they sit under the face */
@media (max-aspect-ratio: 4/5) {
  .file h2 { font-size: clamp(40px, 12.4vw, 76px); }
  .file .role { font-size: 17px; }
  .file ul { margin-top: 10px; gap: 5px; font-size: 14.5px; }
  .file li:nth-child(3) { display: none; }
  .file .note { margin-top: 12px; padding-top: 10px; }
  .file .note .mono { display: none; }
  .file .tabrow { margin-bottom: 10px; }
  .at-bl, .at-l, .at-br { bottom: clamp(92px, 11.5lvh, 118px); }
}

/* inner pages open the same way the film does: a lime line, then the picture */
.js .page .hero-img { clip-path: inset(50% 0 50% 0); animation: lids-open 1.25s var(--ease) .15s forwards; }
.js .page .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--lime); z-index: 0; transform-origin: center; animation: line .7s var(--ease) both, fade-out .5s ease .75s forwards; }
.js .page .hero .wrap > * { animation: rise 1s var(--ease) both; }
.js .page .hero .wrap > :nth-child(1) { animation-delay: .5s; } .js .page .hero .wrap > :nth-child(2) { animation-delay: .62s; } .js .page .hero .wrap > :nth-child(3) { animation-delay: .76s; }
@keyframes lids-open { to { clip-path: inset(0 0 0 0); } }
@keyframes fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .js .page .hero-img { clip-path: none; animation: none; } .js .page .hero::before { display: none; } .js .page .hero .wrap > * { animation: none; } }

/* short, wide screens (a phone on its side): keep the files compact */
@media (max-height: 540px) and (min-aspect-ratio: 4/5) {
  .at-bl, .at-br { bottom: 54px; }
  .cap h2 { font-size: clamp(26px, 4.4vw, 44px); }
  .cap.big h2 { font-size: clamp(30px, 6vw, 56px); }
  .cap.line h2 { font-size: clamp(22px, 3.4vw, 34px); }
  .cap .lead { font-size: 14px; margin-top: 8px; }
  .file h2 { font-size: clamp(30px, 5vw, 48px); }
  .file ul, .file .note .mono { display: none; }
  .file .note { margin-top: 8px; padding-top: 8px; }
  .roster { top: auto; bottom: 54px; translate: none; }
  .roster ol { margin-top: 10px; }
  .roster li { padding: 5px 0; font-size: 13px; }
  .roster .lead { display: none; }
  .gate-logo { width: 44px; margin-bottom: 12px; }
  .cue { bottom: 14px; } .cue i { height: 22px; }
  .hud { bottom: 14px; }
  .brief .or { display: none; }
}

a[href^="tel:"] { white-space: nowrap; }
