/* ==========================================================================
   STRAND // Mission Dossier design system (2026 redesign)
   One stylesheet for the whole site. Colours from the V2 smoke-and-fire
   cover, A-10 gunship grey and the STRAND challenge coin.
   ========================================================================== */

:root {
  /* Palette sampled from the V2 "smoke and fire" cover */
  --bg: #121010;            /* charcoal smoke */
  --bg-2: #171413;
  --panel: #1c1917;
  --panel-2: #231f1c;
  --line: #ffffff14;
  --line-2: #ffffff26;
  --grey: #8b8785;          /* smoke grey */
  --text: #f2eee8;
  --muted: #b0a79c;
  --dim: #7f776d;
  --fire: #e0741f;          /* burnt orange */
  --fire-2: #f3964a;
  --ember: #b8500f;
  --gold: #c9a24a;          /* bronze eagle */
  --gold-2: #e3c47e;

  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Figtree', Avenir, 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --label: 'Figtree', Avenir, 'Avenir Next', system-ui, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--fire); color: #140a04; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
main { display: block; outline: none; }
[hidden] { display: none !important; }

.mono { font-family: var(--label); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .95; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--gold); color: #111; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

/* Body background: subtle ember glow + scanline grain on inner pages */
body:not([data-page-id="home"]) {
  background:
    radial-gradient(ellipse 60rem 30rem at 85% -10rem, #e0741f14, transparent 70%),
    radial-gradient(ellipse 50rem 40rem at -10% 30rem, #d9b46c08, transparent 70%),
    var(--bg);
}

/* ---------- Buttons & links ---------- */
.btn {
  --b: var(--fire);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px;
  font: 600 .82rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--b); border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer;
}
.btn-fire { background: linear-gradient(180deg, var(--fire-2), var(--fire) 45%, var(--ember)); color: #1a0a02; border-color: #f3a060; box-shadow: 0 10px 30px -10px #e0741f99; }
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px #e0741fcc; filter: brightness(1.06); }
.btn-ghost { background: #0b0d0f66; color: var(--text); border-color: #ffffff55; backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: #0b0d0f99; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .7rem; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }

.text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--gold-2); font: 600 .78rem/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #d9b46c55; padding-bottom: 3px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--fire-2); border-color: var(--fire-2); }

.dossier-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; color: var(--gold); margin-bottom: 18px; }
.dossier-head span + span::before { content: '//'; margin-right: 14px; color: var(--dim); }
.dossier-head .stamp::before { display: none; }
.stamp { margin-left: auto; padding: 4px 10px; border: 2px solid var(--ember); color: var(--ember); font-weight: 600; letter-spacing: .22em; transform: rotate(-4deg); opacity: .9; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: #0b0d0fd9; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.over-hero:not(.scrolled):not(.menu-open) { background: linear-gradient(180deg, #000000b3, transparent); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-eagle { width: 66px; height: auto; filter: drop-shadow(0 3px 8px #000c); transition: transform .5s var(--ease), filter .5s; }
.brand:hover .brand-eagle { transform: translateY(-2px) scale(1.06); filter: drop-shadow(0 3px 8px #000c) brightness(1.12); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 600 1.05rem/1 var(--label); letter-spacing: .3em; color: #fff; }
.brand-text span { font: 500 .56rem/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav nav { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; padding: 10px 12px; font: 500 .72rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: #d6d0c4; text-decoration: none; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--fire-2); }
.menu-toggle { display: none; }

@media (max-width: 1100px) { .brand-text span { display: none; } .nav-link { padding: 10px 9px; } }
@media (max-width: 960px) {
  .menu-ready .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: #0b0d0fa6; color: var(--gold-2); cursor: pointer; }
  .menu-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .menu-open .menu-toggle { background: var(--fire); color: #1a0a02; border-color: var(--fire); }
  .menu-ready .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 24px; background: #0b0d0ff7; border-bottom: 1px solid var(--line-2); box-shadow: 0 30px 60px #000a; }
  .menu-open .site-nav { display: flex; }
  .menu-ready .site-nav nav { flex-direction: column; align-items: stretch; }
  .menu-ready .nav-link { padding: 16px 4px; font-size: .85rem; border-bottom: 1px solid var(--line); }
  .menu-ready .nav-link::after { display: none; }
  .menu-ready .nav-buy { align-self: stretch; min-height: 48px; }
  /* no-JS fallback: nav wraps under the brand */
  .site-header:not(.menu-ready) { height: auto; position: absolute; }
  .site-header:not(.menu-ready) .site-header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-header:not(.menu-ready) .site-nav nav { flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, #0e1114, #08090b); }
.site-footer::before { content: ''; position: absolute; inset: -1px 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--fire) 30%, var(--gold) 70%, transparent); opacity: .6; }
.footer-inner { max-width: var(--shell); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer-brand img { width: 110px; height: auto; flex-shrink: 0; filter: drop-shadow(0 6px 16px #0008); }
.footer-brand strong { font: 400 2rem/1 var(--display); letter-spacing: .08em; color: var(--gold-2); }
.footer-brand p { margin: 8px 0 0; color: var(--muted); max-width: 30ch; }
.footer-nav, .footer-book { display: flex; flex-direction: column; gap: 8px; }
.footer-label { font: 600 .68rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.footer-nav a, .footer-book a { color: #cfc9bd; text-decoration: none; font-size: .95rem; width: fit-content; }
.footer-nav a:hover, .footer-book a:hover { color: var(--fire-2); }
.footer-base { max-width: var(--shell); margin: 0 auto; padding: 20px var(--gutter) 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); color: var(--dim); }
.footer-base small { font-size: .8rem; }
.footer-base .mono { font-size: .66rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 20% 40%, #2a221d, transparent 70%), linear-gradient(180deg, #0d0b0a, var(--bg)); }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 1100px); z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: hero-drift 24s var(--ease) both; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-scan { display: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 32px); padding-bottom: 96px; }
.hero-lockup { width: min(520px, 44vw); display: flex; flex-direction: column; align-items: center; text-align: center; }
.lk-series { width: 76%; margin-bottom: 26px; animation: rise 1s .05s var(--ease) both; }
.lk-eagle { width: 40%; margin-bottom: 26px; filter: drop-shadow(0 10px 24px #000c); animation: rise 1s .15s var(--ease) both; }
.hero-title { margin: 0; width: 100%; }
.hero-title img { width: 100%; filter: drop-shadow(0 6px 24px #000a); animation: rise 1.1s .25s var(--ease) both; }
.hero-tagline { margin: 30px 0 28px; font: 400 clamp(1.1rem, 1.7vw, 1.35rem)/1.4 var(--serif); font-style: italic; color: #f3ede2; animation: rise 1.1s .35s var(--ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; animation: rise 1.1s .45s var(--ease) both; }
.hero-kicker, .blink { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; color: #ffffffa0; text-decoration: none; font-size: .62rem; }
.hero-scroll svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; animation: nudge 2s ease-in-out infinite; }
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 4.4; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); z-index: 0; order: 2; margin-top: -40px; }
  .hero-content { order: 1; padding-top: calc(var(--header-h) + 28px); padding-bottom: 0; }
  .hero-lockup { width: min(440px, 88vw); margin: 0 auto; }
  .hero::after { display: none; }
  .hero-scroll { display: none; }
}
@keyframes nudge { 50% { transform: translateY(5px); } }

.ticker { overflow: hidden; border-block: 1px solid var(--line-2); background: #0e1114; color: var(--muted); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker span { padding: 14px 28px; white-space: nowrap; font-size: .68rem; }
.ticker span::before { content: '■'; color: var(--fire); margin-right: 14px; font-size: .5rem; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; }

/* File 01 — the mission brief */
.brief-grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.brief-cover { position: sticky; top: calc(var(--header-h) + 32px); display: block; perspective: 1200px; }
.brief-cover img { width: 100%; border-radius: 3px; box-shadow: 0 40px 80px -20px #000, 0 0 0 1px #ffffff12, 30px 30px 80px -30px #e0741f55; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, -8deg)); transition: transform .5s var(--ease); }
.dossier h2 { font-size: clamp(3.4rem, 7vw, 6rem); color: #fff; }
.dossier-sub { margin: 10px 0 30px; color: var(--fire-2); font: 600 .9rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.brief-copy { position: relative; padding-left: 24px; border-left: 1px solid var(--line-2); }
.brief-copy p { color: #cfc9bd; font-size: 1.08rem; line-height: 1.75; max-width: 64ch; }
.brief-copy .lead { color: #fff; font-size: 1.22rem; line-height: 1.6; position: relative; }
.brief-copy .lead::before { content: ''; position: absolute; left: -25px; top: 4px; bottom: 4px; width: 3px; background: var(--fire); }
.brief-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }

/* File 02 — the XAV */
.target { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #140d0a; isolation: isolate; }
.target-art { position: absolute; inset: 0 0 0 auto; width: min(62%, 1000px); z-index: -1; }
.target-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.target-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #140d0a 0%, #140d0a99 25%, transparent 55%), linear-gradient(0deg, #140d0a 0%, transparent 25%), linear-gradient(180deg, #140d0a 0%, transparent 18%); }
.target-grid { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.target-copy { max-width: 520px; }
.target-title { font-size: clamp(8rem, 22vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--fire); background: linear-gradient(180deg, #f7b47a, var(--fire) 50%, var(--ember)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 10px 40px #e0741f55); }
.target-sub { color: var(--gold-2); font-size: .9rem; margin: 10px 0 24px; }
.target-lede { font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.4 var(--serif); font-style: italic; color: #fff; margin-bottom: 36px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid #ffffff22; }
.spec div { padding: 14px 0; border-bottom: 1px solid #ffffff22; }
.spec div:nth-child(odd) { padding-right: 16px; border-right: 1px solid #ffffff22; }
.spec div:nth-child(even) { padding-left: 16px; }
.spec dt { font: 500 .64rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spec dd { margin: 0; font-weight: 600; color: #fff; }
.spec dd.hot { color: var(--fire-2); }

/* File 03 — the team */
.team { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent-tile { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.agent-tile:hover { transform: translateY(-6px); border-color: #e0741f88; box-shadow: 0 30px 60px -30px #e0741f88; }
.agent-tile-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.agent-tile-photo picture { display: block; height: 100%; }
.agent-tile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.85); transition: transform .8s var(--ease), filter .5s; }
.agent-tile:hover .agent-tile-photo img { transform: scale(1.05); filter: none; }
.agent-tile-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--panel)); }
.agent-tile-num { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 4px 8px; background: #0b0d0fb3; color: var(--gold-2); border: 1px solid #d9b46c55; }
.agent-tile-body { padding: 4px 24px 26px; margin-top: -40px; position: relative; display: flex; flex-direction: column; flex: 1; }
.agent-role { color: var(--fire-2); font-size: .66rem; }
.agent-tile h3 { font: 400 2.3rem/1 var(--display); letter-spacing: .03em; color: #fff; margin: 6px 0 14px; }
.agent-tile dl { margin: 0 0 20px; display: grid; gap: 8px; }
.agent-tile dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); font-size: .9rem; }
.agent-tile dt { color: var(--muted); }
.agent-tile dd { margin: 0; text-align: right; color: #e6e0d4; }
.agent-tile .text-link { margin-top: auto; width: fit-content; }

/* File 04 — STRAND */
.division { overflow: hidden; background: radial-gradient(ellipse 70% 80% at 85% 50%, #7a2e0a55, transparent 70%), radial-gradient(ellipse 50% 60% at 20% 50%, #d9b46c14, transparent 70%), var(--bg-2); }
.division-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.coin-stage { position: relative; perspective: 1000px; display: grid; place-items: center; }
.coin-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #e0741f55, transparent 65%); filter: blur(30px); }
.coin { position: relative; width: min(440px, 80vw); border-radius: 50%; box-shadow: 0 50px 80px -30px #000, 0 0 0 1px #ffffff10; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); animation: coin-float 7s ease-in-out infinite; }
@keyframes coin-float { 50% { translate: 0 -10px; } }
.division-copy h2 { font-size: clamp(5rem, 12vw, 9rem); line-height: .85; color: transparent; background: linear-gradient(180deg, #f8e2ad, #d9b46c 55%, #9b7433); -webkit-background-clip: text; background-clip: text; }
.division-full { color: #fff; margin: 12px 0 28px; font-size: .82rem; }
.division-line { font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.35 var(--serif); color: #fff; }
.division-line span { color: var(--fire-2); font-style: italic; }
.division-copy p:last-child { color: var(--muted); max-width: 48ch; }

/* Field reports */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.quote { margin: 0; padding: 30px 28px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { margin: 0; font: 400 1.12rem/1.6 var(--serif); color: #f1ece2; }
.quote blockquote::before { content: '★★★★★'; display: block; margin-bottom: 12px; color: var(--gold); letter-spacing: .2em; font-size: .85rem; }
.quote figcaption { font: 500 .7rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.readers .section-head h2 { max-width: 20ch; }

/* Step inside */
.more { background: var(--bg-2); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; text-decoration: none; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.more-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.more-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b0d0f22 20%, #0b0d0fee 85%); transition: background .4s; }
.more-tile:hover img { transform: scale(1.06); }
.more-tile:hover { border-color: #e0741f88; }
.more-tile div { padding: 26px; }
.more-tile .mono { color: var(--fire-2); font-size: .66rem; }
.more-tile h3 { font: 400 2rem/1 var(--display); letter-spacing: .03em; color: #fff; margin: 8px 0 8px; }
.more-tile p { margin: 0; color: #d6d0c4; font-size: .95rem; }

/* Final call to action */
.final-cta { position: relative; padding: clamp(90px, 12vw, 160px) 0; text-align: center; overflow: hidden; isolation: isolate;
  background: url('/images/2027/cover-v2-painting-1000.webp') 50% 62% / cover; }
.final-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg-2), #0b0d0fcc 30%, #0b0d0fcc 70%, var(--bg)); }
.final-inner .mono { color: var(--fire-2); margin-bottom: 16px; }
.final-inner h2 { font-size: clamp(3rem, 8vw, 6.4rem); max-width: 14ch; margin: 0 auto 36px; color: #fff; }

/* Reveal on scroll (added by JS only) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.team-grid .reveal:nth-child(2), .quote-grid .reveal:nth-child(2), .more-grid .reveal:nth-child(2) { transition-delay: .1s; }
.team-grid .reveal:nth-child(3), .quote-grid .reveal:nth-child(3), .more-grid .reveal:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-title img, .hero-tagline, .hero-ctas, .coin, .ticker-track, .blink, .hero-scroll svg { animation: none !important; }
}

@media (max-width: 960px) {
  .brief-grid { grid-template-columns: 1fr; }
  .brief-cover { position: relative; top: 0; width: min(300px, 70vw); margin: 0 auto; }
  .brief-cover img { transform: none; }
  .target { flex-direction: column; align-items: stretch; min-height: 0; }
  .target-art { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 12; z-index: 0; }
  .target-art::after { background: linear-gradient(0deg, #140d0a 0%, transparent 40%); }
  .target-grid { padding-top: 0; margin-top: -90px; position: relative; }
  .team-grid, .quote-grid, .more-grid { grid-template-columns: 1fr; }
  .team-grid { max-width: 520px; margin: 0 auto; }
  .division-grid { grid-template-columns: 1fr; text-align: center; }
  .division-copy .dossier-head { justify-content: center; }
  .division-copy p:last-child { margin-inline: auto; }
  .more-tile { min-height: 300px; }
}
@media (max-width: 560px) {
  .hero-content { padding-bottom: 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .brief-copy { padding-left: 16px; }
  .brief-copy .lead::before { left: -17px; }
  .stamp { margin-left: 0; }
  .spec { grid-template-columns: 1fr; }
  .spec div:nth-child(odd) { padding-right: 0; border-right: 0; }
  .spec div:nth-child(even) { padding-left: 0; }
}

/* ==========================================================================
   INNER PAGES — shared page header
   ========================================================================== */
.page { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); }
.page-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.page-head h1 { font: 400 clamp(3.4rem, 9vw, 6.5rem)/.9 var(--display); letter-spacing: .02em; color: #fff; margin-bottom: 18px; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

/* ---------- Agents index ---------- */
.agent-files { display: grid; gap: 28px; }
.agent-file-card { display: grid; grid-template-columns: 300px 1fr; text-decoration: none; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.agent-file-card:hover { border-color: #e0741f88; transform: translateX(4px); }
.agent-file-card picture { display: block; min-height: 360px; }
.agent-file-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.agent-file-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.agent-file-body h2 { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); color: #fff; margin: 6px 0 14px; }
.agent-file-body > p { color: #cfc9bd; max-width: 60ch; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; margin: 10px 0 24px; border-top: 1px solid var(--line-2); }
.fields div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.fields dt { font: 500 .62rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fields dd { margin: 0; color: #fff; font-weight: 500; }
.agent-file-body .text-link { margin-top: auto; width: fit-content; }
@media (max-width: 760px) { .agent-file-card { grid-template-columns: 1fr; } .agent-file-card picture { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Agent page ---------- */
.agent-hero { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-bottom: clamp(64px, 8vw, 110px); }
.agent-portrait-frame { position: relative; border: 1px solid var(--line-2); padding: 10px; background: var(--panel); }
.agent-portrait-frame img { width: 100%; filter: contrast(1.05); }
.agent-portrait-frame .stamp { position: absolute; right: -12px; bottom: 28px; background: #0b0d0fd9; font: 600 .72rem/1 var(--label); text-transform: uppercase; }
.agent-portrait-frame::before, .agent-portrait-frame::after { content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); }
.agent-portrait-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.agent-portrait-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.agent-hero h1 { font: 400 clamp(3.4rem, 8vw, 6rem)/.9 var(--display); color: #fff; margin: 4px 0 18px; }
.agent-hero .intro { font: 400 1.2rem/1.6 var(--serif); color: #e7e1d5; margin-bottom: 28px; }
.agent-note { color: var(--dim); font-size: .85rem; }
.story-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.story-card { display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.story-card:hover { border-color: #e0741f88; transform: translateY(-4px); }
.story-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.story-card div { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.story-card h3 { font: 400 1.9rem/1 var(--display); color: #fff; margin-bottom: 10px; letter-spacing: .02em; }
.story-card p { color: #c9c3b7; }
.story-card .text-link { margin-top: auto; width: fit-content; }
.team-switch { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.team-switch .mono { color: var(--muted); }
.sub-head { margin-bottom: 28px; }
.sub-head h2 { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); color: #fff; }
@media (max-width: 800px) { .agent-hero { grid-template-columns: 1fr; } .agent-portrait-frame { max-width: 380px; } }

/* ---------- Short stories index (cards come from public/html/short-stories.html) ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.story-grid .page-list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.story-grid .page-list:hover { border-color: #e0741f88; transform: translateY(-4px); }
.story-grid .page-list > a { display: block; overflow: hidden; }
.story-grid .thumbnail { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .8s var(--ease); }
.story-grid .page-list:hover .thumbnail { transform: scale(1.04); }
.story-grid .title-and-description { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.story-grid h2 { font: 400 2.1rem/1 var(--display); letter-spacing: .02em; margin-bottom: 10px; }
.story-grid h2 a { color: #fff; text-decoration: none; }
.story-grid p { color: #c9c3b7; }
.story-grid .ctas { margin-top: auto; }
.story-grid .ctas a { display: inline-flex; color: var(--gold-2); font: 600 .78rem/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #d9b46c55; padding-bottom: 3px; }
.story-grid .ctas a::after { content: ' →'; white-space: pre; }
.story-grid .ctas a:hover { color: var(--fire-2); border-color: var(--fire-2); }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   READING ROOM — short stories and the preview chapters
   The words are the author's; only presentation lives here.
   ========================================================================== */
:root { --reader-size: 1.18rem; --page: #0f1215; --ink: #e4dfd3; --ink-soft: #b9b3a6; --rule: #ffffff1a; }
:root[data-reader="paper"] { --page: #f4efe4; --ink: #22201b; --ink-soft: #5d574c; --rule: #00000018; }
:root[data-size="s"] { --reader-size: 1.05rem; }
:root[data-size="l"] { --reader-size: 1.32rem; }
:root[data-size="xl"] { --reader-size: 1.48rem; }

.reading-progress { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 49; height: 3px; background: transparent; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--fire-2), var(--gold)); box-shadow: 0 0 10px var(--fire); }

.reader-tools { display: flex; align-items: center; gap: 6px; }
.reader-tools button { min-width: 40px; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); background: #0b0d0f80; color: var(--text); border-radius: var(--radius); cursor: pointer; font: 600 .78rem/1 var(--label); letter-spacing: .06em; }
.reader-tools button:hover { border-color: var(--gold); color: var(--gold-2); }
.reader-tools button[aria-pressed="true"] { background: var(--gold); color: #1c1407; border-color: var(--gold); }

.story-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.story-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.story-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b0d0f99 0%, transparent 30%, #0b0d0fcc 75%, var(--page) 100%); }
.story-hero-inner { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) 48px; }
.story-hero .mono { color: var(--gold-2); }
.story-hero h1 { font: 400 clamp(3.4rem, 10vw, 7rem)/.88 var(--display); color: #fff; margin: 12px 0 16px; text-shadow: 0 4px 30px #000c; }
.story-hero .summary { font: 400 1.25rem/1.5 var(--serif); font-style: italic; color: #f1ebe0; max-width: 54ch; text-shadow: 0 2px 12px #000; margin: 0; }

.reading-room { background: var(--page); color: var(--ink); transition: background .3s, color .3s; }
.reading-bar { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.reading-bar-inner { max-width: 860px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reading-bar a.back { color: var(--ink-soft); font: 600 .7rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.reading-bar a.back:hover { color: var(--fire); }
:root[data-reader="paper"] .reader-tools button { background: #fff8; color: var(--ink); border-color: #0002; }
:root[data-reader="paper"] .reader-tools button[aria-pressed="true"] { background: #22201b; color: #f4efe4; }

.prose { max-width: 680px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(60px, 8vw, 100px); font: 400 var(--reader-size)/1.8 var(--serif); color: var(--ink); }
.prose p { margin: 0 0 1.15em; hanging-punctuation: first; }
.prose em { font-style: italic; }
.prose hr { border: 0; text-align: center; margin: 2.4em 0; }
.prose hr::after { content: '◆ ◆ ◆'; color: var(--fire); letter-spacing: 1em; font-size: .7em; }
.prose h2, .prose h3 { font-family: var(--display); font-weight: 400; letter-spacing: .03em; color: var(--ink); }
.prose img { margin: 2em auto; border-radius: 4px; }

.read-next { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 120px); }
.read-next-card { padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line-2); background: linear-gradient(135deg, #e0741f1a, transparent 50%), var(--panel); color: var(--text); }
.read-next-card .mono { color: var(--fire-2); }
.read-next-card h2 { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); color: #fff; margin: 8px 0 12px; }
.read-next-card p { color: var(--muted); }
.read-next-links { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 22px; }

/* ---------- Preview (Alpha's Ghost, chapters 1–6) ---------- */
.preview-hero { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1000px; margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) var(--gutter) clamp(40px, 6vw, 64px); }
.preview-hero img { width: 100%; box-shadow: 0 40px 80px -20px #000, 20px 20px 60px -20px #e0741f55; }
.preview-hero h1 { font: 400 clamp(3.6rem, 9vw, 6.4rem)/.9 var(--display); color: #fff; margin: 10px 0 14px; }
.preview-hero .mono { color: var(--gold-2); }
.preview-hero p { color: var(--muted); font-size: 1.1rem; }
.preview-hero .hero-ctas { justify-content: flex-start; animation: none; margin-top: 24px; }
@media (max-width: 700px) { .preview-hero { grid-template-columns: 1fr; text-align: center; } .preview-hero img { width: 200px; margin: 0 auto; } .preview-hero .hero-ctas { justify-content: center; } }

.preview-progress { position: sticky; top: var(--header-h); z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 18px; padding: 10px max(var(--gutter), calc((100% - 860px) / 2 + var(--gutter))); background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.preview-progress-status { font: 600 .7rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.preview-progress-status strong { color: var(--fire); }
.preview-progress-percent { margin-left: 8px; opacity: .7; }
.preview-progress-links { display: flex; gap: 4px; justify-self: center; }
.preview-progress-links a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink-soft); font: 600 .74rem/1 var(--label); text-decoration: none; transition: all .2s; }
.preview-progress-links a:hover { border-color: var(--fire); color: var(--fire); }
.preview-progress-links a[aria-current] { background: var(--fire); border-color: var(--fire); color: #1a0a02; }
.preview-progress-track { grid-column: 1 / -1; height: 2px; background: var(--rule); }
.preview-progress-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--fire-2), var(--gold)); }
@media (max-width: 600px) { .preview-progress { grid-template-columns: 1fr auto; } .preview-progress-links { display: none; } }

.chapters { max-width: 680px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(60px, 8vw, 100px); font: 400 var(--reader-size)/1.8 var(--serif); color: var(--ink); }
.chapters > h2 { scroll-margin-top: calc(var(--header-h) + 90px); display: flex; align-items: center; gap: 18px; margin: 2.6em 0 1.2em; font: 400 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); letter-spacing: .04em; color: var(--ink); }
.chapters > h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--fire), transparent); }
.chapters > h2:first-child { margin-top: .4em; }
.chapters > p { margin: 0 0 1.15em; }
.preview-end { margin-top: 3em; padding: clamp(28px, 5vw, 44px); border: 1px solid var(--line-2); background: linear-gradient(135deg, #e0741f1f, transparent 50%), var(--panel); color: var(--text); font-family: var(--sans); text-align: center; }
.preview-end > span { font: 600 .72rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--fire-2); }
.preview-end h2 { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); color: #fff; margin: 10px 0 12px; }
.preview-end p { color: var(--muted); font-size: 1.05rem; }
.preview-end .book-cta { margin-top: 10px; }

/* ==========================================================================
   AUDIOBOOK — re-skins the existing player (markup + JS unchanged)
   ========================================================================== */
.audiobook-page { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.audiobook-page .page-head { margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.audiobook-page .page-head p { margin-inline: auto; }
.audiobook-page .audiobook { --ab-gold: var(--gold-2); --ab-muted: var(--muted); background: none; }
.audiobook-page article.audiobook { padding: 0 0 clamp(48px, 7vw, 96px); }
/* button reset for the player (its own stylesheet, loaded after this one, adds the looks) */
.audiobook button, .ab-dialog button { background: none; border: 0; padding: 0; cursor: pointer; }
.audiobook button:disabled { cursor: default; opacity: .55; }
.audiobook .ab-player { border-color: var(--line-2); background: linear-gradient(160deg, #e0741f12, transparent 40%), var(--panel); }
.audiobook input[type=range] { accent-color: var(--fire); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-page .reviews { width: 100%; padding: 0; margin: 0; }
.reviews-page #reviews-list { columns: 3 320px; column-gap: 20px; }
.review-body { break-inside: avoid; margin: 0 0 20px; padding: 26px 26px 22px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); display: flex; flex-direction: column; gap: 10px; scroll-margin-top: calc(var(--header-h) + 20px); }
.review-body:target, .review-body:focus { outline: 2px solid var(--fire); outline-offset: 3px; }
.review-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font: 500 .66rem/1.4 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); order: 3; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.review-meta .icon { display: none; }
.rating-and-title { order: 1; }
.rating { color: var(--gold); font-size: .8rem; letter-spacing: .15em; margin-bottom: 8px; }
.rating .icon { margin-right: 2px; }
.review-body .title a { font: 400 1.7rem/1.05 var(--display); letter-spacing: .02em; color: #fff; text-decoration: none; }
.review-body .title a:hover { color: var(--fire-2); }
.review-body .review { order: 2; }
.review-body .review p { margin: 0; font: 400 1.05rem/1.65 var(--serif); color: #ddd7cb; }
.read-more-reviews { margin-top: 12px; background: none; border: 0; cursor: pointer; }
.review-themes { margin-bottom: 48px; padding: 32px; border: 1px solid var(--line-2); background: var(--panel); }
.review-themes h2 { font: 400 2.6rem/1 var(--display); color: #fff; margin: 8px 0 12px; }
.review-theme-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.review-theme-buttons button { padding: 10px 14px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 .72rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.review-theme-buttons button[aria-pressed="true"] { background: var(--gold); color: #1c1407; border-color: var(--gold); }
.review-theme-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-theme-quotes blockquote { margin: 0; padding: 18px; border-left: 3px solid var(--fire); background: #0b0d0f80; }
.review-theme-quotes footer { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); }
.review-theme-quotes a { color: var(--gold-2); }
.section-eyebrow { font: 600 .72rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 600px) { .review-theme-quotes { grid-template-columns: 1fr; } }

/* ==========================================================================
   AUTHOR
   ========================================================================== */
.author-grid { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.author-emblem { position: sticky; top: calc(var(--header-h) + 40px); text-align: center; padding: 36px 28px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 30%, #e0741f22, transparent 60%), var(--panel); }
.author-emblem img { width: 220px; margin: 0 auto 20px; border-radius: 50%; box-shadow: 0 30px 60px -20px #000; }
.author-emblem strong { display: block; font: 400 2.6rem/1 var(--display); letter-spacing: .06em; color: var(--gold-2); }
.author-emblem .mono { color: var(--muted); }
.author-copy > p { font: 400 1.18rem/1.8 var(--serif); color: #ddd7cb; max-width: 62ch; }
.author-copy > p:first-of-type::first-letter { float: left; font: 400 4.4em/.8 var(--display); margin: .06em .12em 0 0; color: var(--fire); }
.author-actions { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.social-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.social-panel-label { font: 600 .7rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.social-links { display: flex; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-size: .9rem; transition: border-color .2s, color .2s; }
.social-links a:hover { border-color: var(--fire); color: var(--fire-2); }
.social-links svg { width: 18px; height: 18px; }
@media (max-width: 800px) { .author-grid { grid-template-columns: 1fr; } .author-emblem { position: relative; top: 0; } }

/* ==========================================================================
   404
   ========================================================================== */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.lost img { width: 180px; margin: 0 auto 28px; border-radius: 50%; opacity: .9; filter: grayscale(.4); }
.lost > div { max-width: 900px; }
.lost h1 { font: 400 clamp(3.2rem, 9vw, 6.4rem)/.95 var(--display); color: #fff; }
.lost h1 span { background: var(--ember); color: var(--ember); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lost p { color: var(--muted); margin: 18px auto 32px; max-width: 46ch; }
.lost .hero-ctas { animation: none; }

/* ==========================================================================
   V2 branding additions — banners with character art, cover pictures
   ========================================================================== */
.brief-cover picture, .preview-hero picture { display: block; }
.page-banner { position: relative; min-height: min(80vh, 780px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 72px); }
.page-banner picture, .page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.page-banner img { object-fit: cover; animation: hero-drift 24s var(--ease) both; }
.page-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #121010b3 0%, transparent 22%, transparent 45%, #121010e6 82%, var(--bg) 100%), linear-gradient(90deg, #121010cc 0%, #12101066 35%, transparent 60%); }
.page-banner .page-head { margin-bottom: 0; }
.page-banner .page-head p { color: #e9e3da; text-shadow: 0 2px 12px #000; }
.page-banner .page-head h1 { text-shadow: 0 4px 30px #000c; }
.page-body { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.agent-banner { min-height: min(86vh, 860px); }
.agent-banner .page-head h1 { font-size: clamp(3.6rem, 11vw, 8rem); }
@media (max-width: 700px) { .page-banner { min-height: 72vh; } .agent-banner .page-head h1 { font-size: clamp(3rem, 16vw, 4.4rem); } }
@media (prefers-reduced-motion: reduce) { .page-banner img { animation: none; } }

/* Agent page: the banner carries the portrait, so the file reads full width */
.agent-hero { grid-template-columns: minmax(220px, 340px) 1fr; }
.agent-portrait-frame picture { display: block; }
.agent-banner .stamp { background: #121010b3; }

/* Agents index banner: the three live-action portraits side by side */
.banner-triptych { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--bg); }
.page-banner .banner-triptych picture, .page-banner .banner-triptych img { position: static; width: 100%; height: 100%; z-index: auto; }
.page-banner .banner-triptych img { object-fit: cover; object-position: 50% 18%; animation: none; }
@media (max-width: 800px) { .agent-hero { grid-template-columns: 1fr; } .agent-portrait-frame { max-width: 320px; } }

/* Author headshot */
.author-emblem { padding: 12px 12px 24px; }
.author-emblem picture { display: block; margin-bottom: 20px; }
.author-emblem img.author-photo { width: 100%; margin: 0; border-radius: 0; box-shadow: 0 30px 60px -24px #000; }
.story-hero picture { position: absolute; inset: 0; z-index: -2; }
.story-hero picture img { object-position: 50% 40%; }
