@font-face {
  font-family: "Montserrat";
  src: url("/site/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0C1424;   /* ground */
  --navy: #38537F;    /* brand primary */
  --slate: #7588A5;   /* brand mid */
  --mist: #B1BCCB;    /* brand light */
  --paper: #E9EDF2;   /* proof section */
  --ink: #15233B;     /* text on paper */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: #fff;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; }

:focus-visible { outline: 2px solid var(--mist); outline-offset: 4px; }

/* ---------- bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 1.25rem) var(--gutter) 1.25rem;
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar { transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease); }
.bar.is-solid { background: rgba(12,20,36,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar-logo img, .foot img, .splash img { filter: brightness(0) invert(1); } /* logo art is a navy gradient */
.bar-logo picture, .foot picture { display: contents; }
.bar-logo img { width: clamp(96px, 9vw, 132px); height: auto; }
.bar-nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.bar-nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  padding-block: .4rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.bar-nav a:hover { background-size: 100% 1px; }

/* ---------- shared ---------- */
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(12,20,36,.92) 0%, rgba(12,20,36,.35) 45%, rgba(12,20,36,.15) 70%, rgba(12,20,36,.55) 100%);
}
.scrim::after { /* grain: hides the soft 720p source */
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scrim-heavy { background: rgba(12,20,36,.62); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.6rem;
  font: 600 .95rem/1 "Montserrat", sans-serif; letter-spacing: .01em;
  text-decoration: none; border-radius: 2px;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: #fff; color: var(--night); }
.btn-solid:hover { background: var(--mist); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn-line:hover { background: rgba(255,255,255,.12); }

/* ---------- 1 hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) clamp(3rem, 9vh, 6.5rem);
  max-width: 68rem;
}
.hero-title {
  font-weight: 500; font-size: clamp(2.4rem, 6.4vw, 6.25rem);
  line-height: 1.02; letter-spacing: -.035em;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.hero-sub { margin-top: 1.5rem; max-width: 34rem; color: var(--mist); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* ---------- 2 statement ---------- */
.statement { padding: clamp(7rem, 22vh, 14rem) var(--gutter); }
.statement-text {
  max-width: 62rem; font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 3.4rem); line-height: 1.15; letter-spacing: -.025em;
}
.statement-text .w { opacity: .18; }

/* ---------- 3 network ---------- */
.network { position: relative; }
.network-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.network-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net line { stroke: var(--mist); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.net rect { fill: #fff; }
.phrases {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(3rem, 12vh, 7rem);
  display: grid;
}
.phrase {
  grid-area: 1 / 1; max-width: 40rem;
  font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 3.1rem); line-height: 1.1; letter-spacing: -.025em;
  clip-path: inset(100% 0 0 0); /* graphic replacement, not cross-fade */
  transform: translateY(.4em);
  transition: clip-path .8s var(--ease), transform .8s var(--ease);
}
.phrase.is-on { clip-path: inset(0 0 0 0); transform: none; }
.phrase.is-past { clip-path: inset(0 0 100% 0); transform: translateY(-.4em); }

/* ---------- 4 cargo ---------- */
.cargo { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.cargo-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cargo-copy { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: 44rem; }
.cargo-copy h2 { font-weight: 500; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; }
.cargo-copy p { margin-top: 1.5rem; color: var(--mist); max-width: 32rem; }

/* ---------- 4b settlement ---------- */
.settle {
  display: grid; gap: 3.5rem; align-items: center;
  padding: clamp(6rem, 18vh, 11rem) var(--gutter);
  background: linear-gradient(180deg, var(--night) 0%, #13213A 100%);
}
@media (min-width: 960px) { .settle { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.settle-copy { max-width: 34rem; }
.settle-copy h2 { font-weight: 500; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.05; letter-spacing: -.03em; }
.settle-copy p { margin-top: 1.4rem; color: var(--mist); }
.settle-fig {
  margin: 0; padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(177,188,203,.22); border-radius: 4px;
  background: rgba(56,83,127,.14);
}
.settle-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--mist); font-size: .95rem; }
.settle-clock { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.settle-scale {
  position: relative; display: flex; justify-content: space-between;
  margin: 1.25rem 0 1.5rem; padding-top: .9rem;
  border-top: 1px solid rgba(177,188,203,.35); color: var(--slate); font-size: .8rem;
}
.settle-playhead {
  position: absolute; top: -6px; left: 22.5%; width: 2px; height: 11px; background: #fff; /* 4.5 s of 20 */
}
.settle-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.settle-rows li { display: grid; grid-template-columns: 10px 6.5rem 1fr 3rem; align-items: center; gap: .9rem; }
.settle-rows b { width: 10px; height: 10px; background: var(--slate); transition: background-color .3s; }
.settle-name { font-weight: 500; }
.settle-bar { height: 2px; background: rgba(177,188,203,.2); }
.settle-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; }
.settle-state { font-size: .85rem; color: var(--mist); }
.settle-rows li.is-paid b { background: #fff; }
.settle-fig figcaption { margin-top: 1.5rem; color: var(--slate); font-size: .85rem; }

/* ---------- 5 proof ---------- */
.proof { background: var(--paper); color: var(--ink); padding: clamp(6rem, 18vh, 11rem) var(--gutter); }
.proof-inner { max-width: 72rem; display: grid; grid-template-columns: 1fr; gap: 0 4rem; }
.proof-number {
  font-weight: 300; font-size: clamp(5rem, 17vw, 15rem); line-height: .9; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; color: var(--navy);
}
.proof-label { margin-top: 1rem; font-weight: 600; font-size: 1.1rem; }
.proof-body { margin-top: 3rem; max-width: 34rem; display: grid; gap: 1rem; }
.proof-status { padding-top: 1rem; color: #4A5D7C; font-size: .95rem; border-top: 1px solid rgba(21,35,59,.18); }
@media (min-width: 900px) {
  .proof-inner { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .proof-number { grid-column: 1 / -1; }
  .proof-label { align-self: start; }
  .proof-body { margin-top: 1rem; }
}

/* ---------- 6 briefings ---------- */
.briefings { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .briefings { grid-template-columns: 1fr 1fr; } }
.panel {
  position: relative; display: flex; align-items: flex-end;
  min-height: 85vh; min-height: 85svh; overflow: hidden; text-decoration: none;
}
.panel-media { position: absolute; inset: -6.5% 0; width: 100%; height: 113%; object-fit: cover; }
.panel-copy { position: relative; z-index: 2; display: grid; justify-items: start; gap: 1rem; padding: var(--gutter); max-width: 34rem; }
.panel-title { font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.03em; }
.panel-text { color: var(--mist); }
.panel .btn { margin-top: .5rem; }
.panel:hover .btn-solid { background: var(--mist); }

/* ---------- final hold ---------- */
.closing { padding: clamp(8rem, 26vh, 16rem) var(--gutter); }
.closing-line { font-weight: 500; font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: -.035em; color: var(--mist); }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem;
  padding: 2.5rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2.5rem);
  border-top: 1px solid rgba(177,188,203,.18); color: var(--slate); font-size: .9rem;
}
.foot img { width: 96px; height: auto; margin-right: auto; }
.foot a { color: var(--mist); }

/* ---------- reduced motion: everything readable, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .statement-text .w { opacity: 1; }
  .phrases { position: static; display: grid; gap: 1.25rem; padding: 0 var(--gutter) 4rem; }
  .phrase { grid-area: auto; clip-path: none; }
  .network-stage { height: auto; padding-top: 60vh; }
  .panel-media, .btn, .bar-nav a { transition: none; }
}
.settle-state { opacity: 0; transition: opacity .3s; }
.settle-rows li.is-paid .settle-state { opacity: 1; }

/* ---------- privacy notice bar ---------- */
.notice {
  position: fixed; z-index: 30; left: var(--gutter); right: var(--gutter);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  max-width: 34rem; margin-left: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem;
  padding: 1rem 1.25rem; border-radius: 4px;
  background: rgba(12,20,36,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(177,188,203,.22); font-size: .9rem; color: var(--mist);
}
.notice { flex-wrap: nowrap; }
.notice p { flex: 1 1 auto; }
@media (max-width: 480px) { .notice { font-size: .82rem; padding: .7rem .9rem; } }
.notice a { color: #fff; }
.notice .btn { min-height: 2.5rem; padding: 0 1.1rem; background: none; border: 0; cursor: pointer; }

/* ---------- legal pages ---------- */
.legal { max-width: 44rem; padding: 9rem var(--gutter) 6rem; }
.legal h1 { font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1.05; }
.legal-date { margin-top: .75rem; color: var(--slate); font-size: .9rem; }
.legal h2 { margin-top: 2.5rem; font-weight: 600; font-size: 1.15rem; }
.legal p { margin-top: .9rem; color: var(--mist); }
.legal a { color: #fff; }
.legal-back { margin-top: 3rem; }
.notice[hidden] { display: none; } /* author display:flex beats the UA [hidden] rule */

/* ---------- logo splash: once per session, set by splash.js before first paint ---------- */
.splash { display: none; }
.has-splash .splash {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 50;
  background: var(--night); pointer-events: none;
  animation: splash-out .7s var(--ease) 2.5s forwards;
}
.splash img { width: min(62vw, 560px); height: auto; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
