:root {
  --night: #091833;
  --night-soft: #102344;
  --panel: #173153;
  --line: #46617f;
  --paper: #f7f9f5;
  --muted: #b7c6db;
  --gold: #ffdf21;
  --gold-soft: #fff078;
  --title: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 16px/1.5 var(--body); }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; background: radial-gradient(circle at 82% 6%, #273c78 0, transparent 34%), radial-gradient(circle at 3% 43%, #163360 0, transparent 31%), linear-gradient(180deg, #091833 0%, #0d2448 42%, #091833 100%); }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 15px; z-index: 50; padding: 10px 16px; background: var(--gold); color: var(--night); font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255, 223, 33, .32); background: rgba(6, 19, 42, .93); backdrop-filter: blur(15px); }
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 36px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font: 800 25px/1 var(--title); letter-spacing: .08em; }
.brand i { color: var(--gold); font-style: normal; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; clip-path: polygon(50% 0, 100% 18%, 100% 77%, 50% 100%, 0 77%, 0 18%); background: var(--gold); color: var(--night); font: 900 19px/1 var(--title); letter-spacing: -.03em; }
.main-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.main-nav a, .header-social { text-decoration: none; font: 700 11px/1 var(--body); letter-spacing: .15em; white-space: nowrap; }
.main-nav a { color: #dfe9f6; transition: color .2s; }
.main-nav a:hover { color: var(--gold); }
.header-social { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.header-social:hover { border-color: var(--gold); background: rgba(255, 223, 33, .1); }
.header-social span { color: var(--gold); font-size: 17px; }
.header-social.is-pending::after { content: "SOON"; padding: 4px 5px; background: rgba(255, 223, 33, .16); color: var(--gold); font-size: 9px; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(28px, 5vw, 80px); min-height: 670px; padding-top: 55px; padding-bottom: 72px; }
.hero::before { position: absolute; z-index: -1; inset: 0 auto 0 -8%; width: 60%; content: ""; background-image: radial-gradient(rgba(255, 223, 33, .16) .8px, transparent .8px); background-size: 17px 17px; mask-image: linear-gradient(90deg, #000, transparent); opacity: .56; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-index, .small-label { color: var(--gold); font: 700 11px/1.3 var(--body); letter-spacing: .22em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(255, 223, 33, .55); background: rgba(255, 223, 33, .09); }
.pulse { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero-pretitle { margin: 28px 0 8px; color: #dbe7f5; font: 700 15px/1.1 var(--title); letter-spacing: .24em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--title); }
h1 { margin: 0 0 26px; font-size: clamp(100px, 12vw, 175px); font-weight: 900; line-height: .73; letter-spacing: -.043em; }
h1 > span { display: block; color: var(--gold); }
.title-dot { color: var(--paper); }
.hero-lede { max-width: 545px; margin-bottom: 28px; color: #cad7e9; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.hero-lede strong { color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 19px; border: 1px solid var(--gold); border-radius: 0; text-decoration: none; white-space: nowrap; cursor: pointer; font: 800 13px/1 var(--body); letter-spacing: .08em; transition: transform .18s, background .18s, color .18s, box-shadow .18s; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(255, 223, 33, .19); }
.button-gold { background: var(--gold); color: var(--night); }
.button-gold:hover:not(:disabled) { background: var(--gold-soft); }
.button-outline { background: transparent; color: var(--gold); }
.button-outline:hover:not(:disabled) { background: rgba(255, 223, 33, .11); }
.button.is-pending::after { content: "SOON"; padding: 4px 5px; margin-left: 1px; background: rgba(9, 24, 51, .16); color: inherit; font-size: 9px; letter-spacing: .04em; }
.button-outline.is-pending::after { background: rgba(255, 223, 33, .14); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 15px 24px; margin-top: 34px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font: 700 11px/1.2 var(--body); letter-spacing: .1em; }
.hero-meta b { margin-right: 5px; color: var(--gold); }
.hero-visual { position: relative; z-index: 1; width: min(100%, 540px); justify-self: end; }
.hero-visual::before { position: absolute; z-index: -1; inset: -17px 24px 24px -18px; border: 2px solid var(--gold); content: ""; }
.portrait-frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid #b6cbeb; background: #172f59; box-shadow: 22px 22px 0 #06142d; }
.portrait-frame::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(180deg, transparent 75%, rgba(5, 14, 34, .52)); }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.portrait-corner { position: absolute; z-index: 2; width: 35px; height: 35px; pointer-events: none; }
.corner-tl { top: 10px; left: 10px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner-br { bottom: 10px; right: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.visual-caption { display: flex; justify-content: space-between; margin-top: 15px; color: #b5c3ce; font: 700 11px/1.2 var(--body); letter-spacing: .16em; }
.visual-caption strong { color: var(--gold); }
.hero-watermark { position: absolute; z-index: 0; right: -2%; bottom: 1%; color: var(--gold); opacity: .03; pointer-events: none; font: 900 400px/.8 var(--title); }

.ticker { overflow: hidden; border-block: 2px solid #070f24; background: var(--gold); color: #08142c; }
.ticker-track { display: flex; width: max-content; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-track span { padding: 13px 0 12px; font: 800 16px/1 var(--body); letter-spacing: .19em; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-space { margin-top: clamp(78px, 10vw, 145px); }
.story { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); padding-bottom: 12px; }
.section-heading h2, .contract-heading h2, .signal-bottom h2 { margin: 19px 0 0; font-size: clamp(66px, 8vw, 114px); font-weight: 900; line-height: .78; letter-spacing: -.03em; }
.section-heading h2 em, .signal-bottom h2 em { color: var(--gold); font-style: normal; }
.story-content { padding-top: 43px; border-top: 1px solid var(--gold); }
.story-lead { margin-bottom: 24px; color: var(--paper); font: 700 clamp(26px, 3vw, 38px)/1.15 var(--title); text-transform: uppercase; }
.story-content > p:not(.story-lead) { max-width: 540px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.story-stamp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 42px; }
.story-stamp span { display: grid; gap: 7px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.story-stamp b { color: var(--gold); font: 800 25px/1 var(--title); letter-spacing: 0; }

.signal { position: relative; }
.section-bar { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 15px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.section-bar > span:last-child { color: var(--muted); }
.signal-image { position: relative; width: min(1440px, calc(100% - 48px)); margin: auto; aspect-ratio: 1280 / 426; overflow: hidden; border: 2px solid #8aa8d1; background: #101e36; box-shadow: 0 17px 0 #07142d; }
.signal-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.signal-image::after { position: absolute; inset: 0; content: ""; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 -75px 70px -45px rgba(6, 11, 21, .61); }
.signal-glow { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: radial-gradient(circle at 65% 40%, rgba(255, 231, 72, .52), transparent 34%); mix-blend-mode: screen; transition: opacity .4s; }
.signal-image.is-lit .signal-glow { opacity: 1; }
.scene-label { position: absolute; z-index: 2; left: 23px; bottom: 19px; padding: 8px 11px; border: 1px solid var(--gold); background: rgba(7, 20, 45, .87); color: var(--gold); font: 700 11px/1.1 var(--body); letter-spacing: .17em; backdrop-filter: blur(8px); }
.signal-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 28px; }
.signal-bottom h2 { margin: 0; font-size: clamp(60px, 7vw, 95px); }
.signal-bottom p { margin: 13px 0 0; color: var(--muted); font-size: 17px; }
.signal-button { min-width: 206px; }

.contract { padding-bottom: clamp(85px, 10vw, 140px); }
.contract-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
.contract-heading h2 { margin-top: 16px; font-size: clamp(68px, 8vw, 112px); }
.contract-heading h2 span { color: var(--gold); }
.contract-heading p { max-width: 350px; margin: 0 0 3px; color: var(--muted); font-size: 16px; }
.contract-card { border: 1px solid #6f8eb6; background: linear-gradient(145deg, #19365f, #102548); box-shadow: 10px 10px 0 #07142d; }
.contract-card-top, .contract-card-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; color: #bdc9d4; font: 700 11px/1.2 var(--body); letter-spacing: .14em; }
.contract-card-top { border-bottom: 1px solid var(--line); }
.contract-card-bottom { border-top: 1px solid var(--line); color: var(--muted); }
.state-tag { padding: 5px 7px; border: 1px solid rgba(255, 223, 33, .6); color: var(--gold); white-space: nowrap; }
.ca-row { display: flex; gap: 14px; padding: 23px; }
.ca-row code { display: flex; align-items: center; flex: 1; min-width: 0; padding: 13px 16px; border: 1px dashed #8ba9d4; background: rgba(7, 20, 45, .72); color: var(--paper); font: 700 clamp(17px, 2vw, 23px)/1.2 var(--body); overflow-wrap: anywhere; }
.button-copy { min-width: 130px; background: transparent; color: var(--gold); }
.button-copy:disabled { color: #8c958f; border-color: #58626d; cursor: not-allowed; }
.social-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 22px; padding: 26px 30px; border: 1px solid #55749e; background: #132c52; }
.social-row h3 { margin: 5px 0 0; font-size: 37px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.social-links .button { min-height: 45px; padding: 10px 14px; font-size: 11px; }

.site-footer { border-top: 1px solid #385479; background: #06152f; }
.footer-inner { display: flex; align-items: center; gap: 30px; min-height: 94px; padding-block: 17px; }
.footer-brand { font-size: 20px; }
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 16px; }
.footer-inner p { max-width: 585px; margin: 0 auto; color: #8d9aaa; font-size: 12px; line-height: 1.4; text-align: center; }
.footer-inner > a:last-child { white-space: nowrap; color: var(--gold); font: 700 11px/1 var(--body); letter-spacing: .12em; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 22px; max-width: min(420px, calc(100% - 28px)); padding: 12px 16px; border: 1px solid var(--gold); background: #16345d; color: var(--paper); box-shadow: 0 12px 30px #0008; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s, transform .2s; text-align: center; font-size: 13px; font-weight: 700; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .header-inner { gap: 22px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .hero { gap: 26px; }
  h1 { font-size: clamp(100px, 12vw, 138px); }
  .hero-visual::before { inset: -12px 17px 17px -12px; }
  .social-row { flex-direction: column; align-items: flex-start; }
  .social-links { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-social { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 50px; min-height: 0; padding-top: 65px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { justify-self: center; width: min(100% - 18px, 590px); }
  h1 { font-size: clamp(110px, 18vw, 170px); }
  .story { grid-template-columns: 1fr; gap: 35px; }
  .story-content { padding-top: 28px; }
  .signal-bottom { align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 3; width: 100%; max-width: none; text-align: left; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 62px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 36px; height: 36px; font-size: 17px; }
  .header-social { padding: 8px 9px; font-size: 10px; letter-spacing: .05em; }
  .header-social.is-pending::after { padding: 3px; font-size: 8px; }
  .hero { padding-top: 43px; padding-bottom: 57px; gap: 45px; }
  .hero-pretitle { margin-top: 25px; }
  h1 { margin-bottom: 20px; font-size: clamp(88px, 20vw, 124px); }
  .hero-lede { font-size: 17px; }
  .hero-actions .button { flex: 1 1 190px; }
  .hero-meta { gap: 10px 16px; margin-top: 25px; font-size: 9px; }
  .hero-visual { width: min(100% - 16px, 480px); }
  .portrait-frame { box-shadow: 12px 12px 0 #06142d; }
  .visual-caption { font-size: 9px; }
  .ticker-track span { font-size: 12px; padding: 11px 0; }
  .section-space { margin-top: 75px; }
  .section-heading h2, .contract-heading h2 { font-size: clamp(68px, 16vw, 92px); }
  .story-lead { font-size: 30px; }
  .story-content > p:not(.story-lead) { font-size: 16px; }
  .story-stamp { margin-top: 30px; }
  .story-stamp b { font-size: 19px; }
  .section-bar { font-size: 9px; }
  .signal-image { width: calc(100% - 20px); height: 260px; aspect-ratio: auto; }
  .signal-image img { object-position: 50% center; }
  .scene-label { bottom: 9px; left: 9px; font-size: 8px; }
  .signal-bottom { flex-direction: column; gap: 20px; padding-top: 22px; }
  .signal-bottom h2 { font-size: clamp(57px, 13vw, 78px); }
  .signal-bottom p { font-size: 15px; }
  .signal-button { width: 100%; }
  .contract { padding-bottom: 77px; }
  .contract-heading { display: block; }
  .contract-heading p { margin-top: 18px; font-size: 15px; }
  .contract-card-top, .contract-card-bottom { padding: 13px 15px; font-size: 9px; }
  .ca-row { display: block; padding: 15px; }
  .ca-row code { min-height: 63px; font-size: 16px; }
  .button-copy { width: 100%; margin-top: 10px; }
  .social-row { padding: 22px 18px; }
  .social-row h3 { font-size: 30px; }
  .social-links { width: 100%; }
  .social-links .button { width: 100%; }
  .footer-inner { gap: 18px; }
  .footer-brand { font-size: 17px; }
  .footer-inner > a:last-child { font-size: 9px; }
}
@media (max-width: 360px) {
  .brand { font-size: 18px; }
  .header-social { font-size: 9px; }
  .header-social.is-pending::after { display: none; }
  h1 { font-size: 82px; }
  .hero-meta { gap: 8px; }
  .story-stamp b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
