:root {
  --wf-black: #050607;
  --wf-asphalt: #0b0f10;
  --wf-steel: #161b1d;
  --wf-panel: #101416;
  --wf-border: rgba(255, 255, 255, 0.12);
  --wf-border-strong: rgba(255, 255, 255, 0.24);
  --wf-text: #f5f2ec;
  --wf-muted: #a9aaa5;
  --wf-dim: #6f746f;
  --wf-limestone: #c6bca8;
  --wf-paper: #e7e0d3;
  --wf-amber: #ffd60a;
  --wf-signal: #6f9d60;
  --wf-cold-blue: #7d91a1;
  --wf-blood: #8f1d16;
  --wf-rain: #24313a;
  --wf-max: 1160px;
  --wf-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wf-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--wf-black);
  color: var(--wf-text);
  scroll-behavior: smooth;
}

body.westfall-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--wf-text);
  font-family: var(--wf-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.88), rgba(11, 15, 16, 0.98) 36%, #050607 100%),
    var(--wf-black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.westfall-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(110deg, transparent 0 42%, rgba(198, 188, 168, 0.045) 48%, transparent 58% 100%);
  opacity: 0.32;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--wf-amber); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--wf-amber); outline-offset: 4px; }
[hidden] { display: none !important; }

.wf-shell { position: relative; z-index: 1; }
.wf-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--wf-border);
  background: rgba(5, 6, 7, 0.9);
  backdrop-filter: blur(20px);
}

.wf-topbar__inner {
  width: min(var(--wf-max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wf-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wf-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--wf-border-strong);
  color: var(--wf-amber);
  background: #0a0d0e;
}

.wf-menu-toggle { display: none; }

.wf-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  font-family: var(--wf-mono);
  font-size: 12px;
  color: var(--wf-muted);
}

.wf-nav a { padding: 9px 0; border-bottom: 1px solid transparent; }
.wf-nav a:hover, .wf-nav a[aria-current="page"] { color: var(--wf-text); border-bottom-color: var(--wf-amber); }

.wf-cta, .wf-button, .wf-pill, .wf-track-button, .wf-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--wf-border-strong);
  background: rgba(255, 214, 10, 0.08);
  color: var(--wf-text);
  font-family: var(--wf-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.wf-cta:hover, .wf-button:hover, .wf-pill:hover, .wf-track-button:hover, .wf-menu-toggle:hover,
.wf-pill[aria-pressed="true"], .wf-track-button.is-active {
  border-color: var(--wf-amber);
  background: rgba(255, 214, 10, 0.16);
  color: var(--wf-amber);
}

.wf-menu-toggle { display: none; }

.wf-button--solid {
  border-color: var(--wf-amber);
  background: var(--wf-amber);
  color: #080908;
}
.wf-button--solid:hover { background: #ffe46d; color: #080908; }

.wf-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--wf-border);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.76) 46%, rgba(5, 6, 7, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.02), rgba(5, 6, 7, 0.92)),
    url("https://zacgibson.work/assets/westfall-BoOvYqP9.webp") center right / min(62vw, 760px) no-repeat,
    linear-gradient(180deg, #0d1114, #050607);
}

.wf-hero--plain {
  min-height: 54vh;
  background:
    linear-gradient(110deg, rgba(5, 6, 7, 0.98) 0%, rgba(11, 15, 16, 0.9) 58%, rgba(36, 49, 58, 0.42) 100%),
    linear-gradient(180deg, #0d1114, #050607);
}

.wf-hero__inner, .wf-section__inner, .wf-footer__inner {
  width: min(var(--wf-max), calc(100% - 32px));
  margin: 0 auto;
}

.wf-hero__inner { padding: 118px 0 52px; }
.wf-hero-extension { padding: 0 0 44px; border-bottom: 1px solid var(--wf-border); }

.wf-kicker, .wf-label, .wf-meta, .wf-tagline {
  font-family: var(--wf-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.wf-kicker, .wf-tagline { color: var(--wf-limestone); }
.wf-tagline { color: var(--wf-amber); letter-spacing: 0.08em; }

.wf-hero h1, .wf-page-title {
  max-width: 910px;
  margin: 14px 0 18px;
  font-size: 96px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.wf-deck {
  max-width: 760px;
  margin: 0;
  color: var(--wf-paper);
  font-size: 22px;
  line-height: 1.45;
}

.wf-hero__actions, .wf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.wf-proof-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--wf-border);
  background: rgba(16, 20, 22, 0.78);
}

.wf-proof-rail span {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border-right: 1px solid var(--wf-border);
  font-family: var(--wf-mono);
  font-size: 12px;
  color: var(--wf-muted);
}
.wf-proof-rail span:last-child { border-right: 0; }
.wf-proof-rail strong { color: var(--wf-text); font-family: var(--wf-sans); font-size: 15px; }

.wf-section { padding: 76px 0; border-bottom: 1px solid var(--wf-border); }
.wf-section--tight { padding: 48px 0; }
.wf-section--paper {
  color: #171512;
  background:
    linear-gradient(180deg, rgba(231, 224, 211, 0.96), rgba(198, 188, 168, 0.94)),
    var(--wf-paper);
}
.wf-section--paper .wf-label, .wf-section--paper .wf-meta, .wf-section--paper .wf-tagline { color: rgba(23, 21, 18, 0.62); }
.wf-section--paper .wf-copy, .wf-section--paper .wf-panel p, .wf-section--paper .wf-dossier-card p { color: #343029; }
.wf-section--paper .wf-panel, .wf-section--paper .wf-dossier-card { background: rgba(255, 255, 255, 0.36); border-color: rgba(23, 21, 18, 0.18); }

.wf-heading {
  max-width: 820px;
  margin: 0 0 30px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.wf-copy { max-width: 760px; color: var(--wf-muted); }
.wf-copy strong { color: var(--wf-text); }

.wf-grid, .wf-dossier-grid, .wf-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.wf-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wf-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wf-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wf-dossier-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wf-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

.wf-panel, .wf-dossier-card, .wf-track, .wf-row, .wf-evidence-card, .wf-readbox {
  border: 1px solid var(--wf-border);
  background: rgba(16, 20, 22, 0.76);
}
.wf-panel, .wf-dossier-card, .wf-track, .wf-evidence-card, .wf-readbox { padding: 22px; }
.wf-panel:hover, .wf-dossier-card:hover { border-color: var(--wf-border-strong); color: inherit; }

.wf-panel h3, .wf-dossier-card h3, .wf-track h3, .wf-evidence-card h3, .wf-readbox h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.wf-panel p, .wf-dossier-card p, .wf-track p, .wf-evidence-card p, .wf-readbox p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 15px;
}

.wf-card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--wf-amber);
  font-family: var(--wf-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.wf-table { display: grid; border: 1px solid var(--wf-border); }
.wf-row {
  display: grid;
  grid-template-columns: 174px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-width: 0 0 1px;
}
.wf-row:last-child { border-bottom: 0; }
.wf-row strong { font-family: var(--wf-mono); font-size: 12px; color: var(--wf-limestone); text-transform: uppercase; }
.wf-row span { color: var(--wf-muted); }
.wf-section--paper .wf-row { background: rgba(255, 255, 255, 0.34); border-color: rgba(23, 21, 18, 0.16); }
.wf-section--paper .wf-row strong, .wf-section--paper .wf-row span { color: #29251f; }

.wf-spoiler { margin-top: 18px; border: 1px solid var(--wf-border); background: rgba(5, 6, 7, 0.52); }
.wf-spoiler summary { cursor: pointer; padding: 16px 18px; color: var(--wf-paper); font-family: var(--wf-mono); font-size: 12px; text-transform: uppercase; }
.wf-spoiler__body { padding: 0 18px 18px; color: var(--wf-muted); }

.wf-quote {
  margin: 34px 0 0;
  padding: 26px;
  border-left: 3px solid var(--wf-amber);
  background: rgba(255, 214, 10, 0.06);
  color: var(--wf-paper);
  font-size: 24px;
  line-height: 1.35;
}

.wf-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.wf-terminal, .wf-track-console {
  min-height: 320px;
  padding: 22px;
  border: 1px solid rgba(111, 157, 96, 0.4);
  background:
    linear-gradient(180deg, rgba(111, 157, 96, 0.1), rgba(5, 6, 7, 0.2)),
    #07100a;
  color: #b8e0ac;
  font-family: var(--wf-mono);
  font-size: 13px;
  overflow: hidden;
}
.wf-terminal p { margin: 0 0 10px; }
.wf-terminal .dim { color: rgba(184, 224, 172, 0.55); }

.wf-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.wf-pill { min-height: 36px; background: rgba(255, 255, 255, 0.04); }

.wf-wave {
  height: 92px;
  display: grid;
  grid-template-columns: repeat(32, 1fr);
  gap: 4px;
  align-items: end;
  margin: 18px 0;
}
.wf-wave span { display: block; min-height: 14px; background: linear-gradient(180deg, var(--wf-amber), rgba(111, 157, 96, 0.68)); }
.wf-track-console { display: grid; align-content: start; gap: 10px; }
.wf-track-button { justify-content: flex-start; width: 100%; }

.wf-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--wf-mono); font-size: 12px; color: var(--wf-muted); }
.wf-status::before { content: ""; width: 8px; height: 8px; background: var(--wf-signal); }

.wf-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.wf-timeline-entry a {
  display: grid;
  grid-template-columns: 72px 1fr 220px;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--wf-border);
  background: rgba(16, 20, 22, 0.76);
}
.wf-timeline-index { color: var(--wf-amber); font-family: var(--wf-mono); }
.wf-timeline strong { display: block; color: var(--wf-text); font-size: 18px; }
.wf-timeline em { color: var(--wf-muted); font-family: var(--wf-mono); font-size: 12px; font-style: normal; text-transform: uppercase; }

.wf-lock-list {
  margin: 0;
  padding-left: 20px;
  color: inherit;
}
.wf-lock-list li + li { margin-top: 10px; }
.wf-mini { color: var(--wf-dim); font-family: var(--wf-mono); font-size: 11px; text-transform: uppercase; }

.wf-footer { padding: 54px 0; background: #040505; }
.wf-footer__inner { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; }
.wf-footer h2, .wf-footer h3 { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.wf-footer p, .wf-footer a { display: block; margin: 0 0 8px; color: var(--wf-muted); font-size: 14px; }

@media (max-width: 980px) {
  .wf-dossier-grid, .wf-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-nav { gap: 12px; }
}

@media (max-width: 760px) {
  body.westfall-page { font-size: 16px; }
  .wf-topbar__inner { min-height: 60px; flex-wrap: wrap; padding: 14px 0; }
  .wf-menu-toggle { display: inline-flex; margin-left: auto; }
  .wf-nav {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
  }
  .wf-nav.is-open { display: grid; }
  .wf-nav a {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--wf-border);
    background: rgba(255, 255, 255, 0.04);
  }
  .wf-cta { display: none; }
  .wf-hero {
    min-height: 76vh;
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.7), rgba(5, 6, 7, 0.98) 60%),
      url("https://zacgibson.work/assets/westfall-BoOvYqP9.webp") top right / 520px auto no-repeat,
      linear-gradient(180deg, #0d1114, #050607);
  }
  .wf-hero__inner { padding-top: 204px; }
  .wf-hero h1, .wf-page-title { font-size: 58px; }
  .wf-deck { font-size: 18px; }
  .wf-proof-rail, .wf-grid, .wf-grid--two, .wf-grid--three, .wf-grid--four, .wf-dossier-grid, .wf-case-grid, .wf-split, .wf-footer__inner { grid-template-columns: 1fr; }
  .wf-proof-rail span { border-right: 0; border-bottom: 1px solid var(--wf-border); }
  .wf-proof-rail span:last-child { border-bottom: 0; }
  .wf-heading { font-size: 32px; }
  .wf-row { grid-template-columns: 1fr; gap: 6px; }
  .wf-timeline-entry a { grid-template-columns: 46px 1fr; }
  .wf-timeline em { grid-column: 2; }
}

@media (max-width: 440px) {
  .wf-hero h1, .wf-page-title { font-size: 46px; }
  .wf-section { padding: 54px 0; }
  .wf-panel, .wf-dossier-card, .wf-track, .wf-evidence-card, .wf-readbox { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.westfall-page::before { display: none; }
}

/* Premium polish pass: cinematic case-file surface, no new lore assumptions. */
.wf-skip {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  border: 1px solid var(--wf-amber);
  background: var(--wf-black);
  color: var(--wf-amber);
  font-family: var(--wf-mono);
  font-size: 12px;
  text-transform: uppercase;
}
.wf-skip:focus { transform: translateY(0); }

body.westfall-page {
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.78), #050607 42%, #030404 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 98px),
    var(--wf-black);
}

body.westfall-page::before {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 5px),
    linear-gradient(112deg, rgba(125, 145, 161, 0.08), transparent 31% 68%, rgba(255, 214, 10, 0.035));
  opacity: 0.44;
}

.wf-topbar {
  border-bottom-color: rgba(231, 224, 211, 0.14);
  background: rgba(3, 4, 4, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 45px rgba(0, 0, 0, 0.34);
}

.wf-brand__mark {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 214, 10, 0.44);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.13), rgba(255, 255, 255, 0.02)),
    #080a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 24px rgba(255, 214, 10, 0.1);
}

.wf-nav a {
  position: relative;
  color: rgba(245, 242, 236, 0.64);
}
.wf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.wf-nav a:hover::after, .wf-nav a[aria-current="page"]::after { transform: scaleX(1); }

.wf-cta, .wf-button, .wf-pill, .wf-track-button, .wf-menu-toggle {
  border-color: rgba(231, 224, 211, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(9, 12, 13, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}
.wf-cta:hover, .wf-button:hover, .wf-pill:hover, .wf-track-button:hover, .wf-menu-toggle:hover {
  transform: translateY(-1px);
}
.wf-button--solid {
  border-color: rgba(255, 214, 10, 0.86);
  background:
    linear-gradient(180deg, #ffe16a, #ffd60a 54%, #c99c05),
    var(--wf-amber);
  color: #050607;
  box-shadow: 0 12px 38px rgba(255, 214, 10, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.wf-hero {
  min-height: calc(100svh - 0px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(3, 4, 4, 0.98) 0%, rgba(3, 4, 4, 0.82) 43%, rgba(3, 4, 4, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.02), rgba(5, 6, 7, 0.94)),
    #050607;
}
.wf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("https://zacgibson.work/assets/westfall-BoOvYqP9.webp") center right / min(76vw, 1040px) auto no-repeat;
  opacity: 0.72;
  filter: saturate(0.78) contrast(1.18) brightness(0.86);
}
.wf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 50%, rgba(5, 6, 7, 0.92) 92%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(231, 224, 211, 0.055) 120px 121px),
    repeating-linear-gradient(180deg, transparent 0 79px, rgba(231, 224, 211, 0.035) 80px 81px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2) 72%, transparent);
}
.wf-hero__weather {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(106deg, transparent 0 28px, rgba(125, 145, 161, 0.16) 29px 30px, transparent 31px 88px);
  opacity: 0.22;
  transform: translate3d(0, 0, 0);
  animation: wfRain 12s linear infinite;
}
@keyframes wfRain {
  from { background-position: 0 0; }
  to { background-position: -180px 420px; }
}
.wf-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 138px;
  padding-bottom: 96px;
}
.wf-hero h1, .wf-page-title {
  max-width: 980px;
  margin: 16px 0 20px;
  font-size: 112px;
  font-weight: 720;
  line-height: 0.9;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.76);
}
.wf-deck {
  max-width: 720px;
  color: rgba(245, 242, 236, 0.88);
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.88);
}
.wf-kicker, .wf-label, .wf-meta, .wf-tagline {
  color: rgba(255, 214, 10, 0.78);
}
.wf-hero__actions--lead { margin-top: 34px; }
.wf-hero__case-rail {
  position: absolute;
  right: max(24px, calc((100vw - var(--wf-max)) / 2));
  bottom: 64px;
  z-index: 3;
  width: min(420px, 34vw);
  display: grid;
  gap: 0;
  border: 1px solid rgba(231, 224, 211, 0.2);
  background:
    linear-gradient(180deg, rgba(11, 15, 16, 0.82), rgba(5, 6, 7, 0.9)),
    rgba(8, 11, 12, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}
.wf-hero__case-rail span {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(231, 224, 211, 0.11);
  color: rgba(245, 242, 236, 0.74);
  font-family: var(--wf-mono);
  font-size: 12px;
  line-height: 1.45;
}
.wf-hero__case-rail span:last-child { border-bottom: 0; }
.wf-hero__case-rail .wf-rail-label {
  color: var(--wf-amber);
  background: rgba(255, 214, 10, 0.08);
}

.wf-hero-extension {
  padding: 0 0 56px;
  margin-top: -42px;
  position: relative;
  z-index: 4;
}
.wf-proof-rail {
  border-color: rgba(231, 224, 211, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 20, 22, 0.92), rgba(8, 11, 12, 0.92)),
    rgba(16, 20, 22, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}
.wf-proof-rail span {
  min-height: 90px;
  border-color: rgba(231, 224, 211, 0.11);
}

.wf-section {
  position: relative;
  border-bottom-color: rgba(231, 224, 211, 0.1);
}
.wf-section:not(.wf-section--paper) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 42%),
    transparent;
}
.wf-section--paper {
  position: relative;
  background:
    linear-gradient(180deg, rgba(237, 231, 219, 0.98), rgba(198, 188, 168, 0.95)),
    repeating-linear-gradient(0deg, rgba(23, 21, 18, 0.03) 0 1px, transparent 1px 9px),
    var(--wf-paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.wf-heading {
  font-size: 46px;
  font-weight: 680;
}
.wf-copy {
  color: rgba(245, 242, 236, 0.7);
}

.wf-panel, .wf-dossier-card, .wf-track, .wf-evidence-card, .wf-readbox {
  position: relative;
  overflow: hidden;
  border-color: rgba(231, 224, 211, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(12, 16, 17, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.wf-panel::before, .wf-dossier-card::before, .wf-evidence-card::before, .wf-readbox::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--wf-amber), rgba(111, 157, 96, 0.62), transparent);
  opacity: 0.8;
}
.wf-panel:hover, .wf-dossier-card:hover, .wf-evidence-card:hover {
  border-color: rgba(255, 214, 10, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(12, 16, 17, 0.9);
}
.wf-panel h3, .wf-dossier-card h3, .wf-track h3, .wf-evidence-card h3, .wf-readbox h3 {
  font-size: 24px;
  font-weight: 680;
}

.wf-table {
  border-color: rgba(231, 224, 211, 0.13);
  background: rgba(3, 4, 4, 0.18);
}
.wf-evidence-card .wf-table, .wf-panel .wf-table {
  border: 0;
  background: transparent;
}
.wf-evidence-card .wf-row, .wf-panel .wf-row {
  background: transparent;
  border-color: rgba(231, 224, 211, 0.1);
  padding-left: 0;
  padding-right: 0;
}
.wf-section--paper .wf-evidence-card .wf-row,
.wf-section--paper .wf-panel .wf-row {
  border-color: rgba(23, 21, 18, 0.14);
}

.wf-terminal, .wf-track-console {
  position: relative;
  border-color: rgba(111, 157, 96, 0.48);
  background:
    linear-gradient(180deg, rgba(111, 157, 96, 0.12), rgba(5, 6, 7, 0.34)),
    repeating-linear-gradient(0deg, rgba(184, 224, 172, 0.045) 0 1px, transparent 1px 18px),
    #06100a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(184, 224, 172, 0.08);
}
.wf-terminal::after, .wf-track-console::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--wf-signal);
  box-shadow: 0 0 18px rgba(111, 157, 96, 0.8);
}

.wf-timeline-entry a {
  border-color: rgba(231, 224, 211, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 214, 10, 0.055), transparent 24%),
    rgba(16, 20, 22, 0.78);
}
.wf-timeline-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 214, 10, 0.34);
  background: rgba(255, 214, 10, 0.08);
}

.wf-wave span {
  background: linear-gradient(180deg, #ffe16a, rgba(111, 157, 96, 0.86) 58%, rgba(125, 145, 161, 0.42));
  box-shadow: 0 0 18px rgba(255, 214, 10, 0.08);
  transform-origin: bottom;
  animation: wfPulse 1500ms ease-in-out infinite alternate;
}
.wf-wave span:nth-child(3n) { animation-delay: 140ms; }
.wf-wave span:nth-child(4n) { animation-delay: 320ms; }
@keyframes wfPulse {
  from { transform: scaleY(0.72); opacity: 0.62; }
  to { transform: scaleY(1); opacity: 1; }
}

.wf-footer {
  border-top: 1px solid rgba(231, 224, 211, 0.12);
  background:
    linear-gradient(180deg, #050607, #020303),
    #040505;
}

@media (max-width: 980px) {
  .wf-hero h1, .wf-page-title { font-size: 86px; }
  .wf-hero__case-rail { display: none; }
}

@media (max-width: 760px) {
  .wf-topbar__inner { width: min(var(--wf-max), calc(100% - 24px)); }
  .wf-nav a { min-height: 48px; }
  .wf-hero {
    min-height: min(760px, 88svh);
    align-items: end;
  }
  .wf-hero::before {
    background-position: top center;
    background-size: 520px auto;
    opacity: 0.48;
    mask-image: linear-gradient(180deg, black 0 46%, transparent 72%);
  }
  .wf-hero::after {
    mask-image: linear-gradient(180deg, black, transparent 78%);
  }
  .wf-hero__inner {
    padding-top: 232px;
    padding-bottom: 36px;
  }
  .wf-hero h1, .wf-page-title { font-size: 58px; }
  .wf-hero__actions--lead .wf-button { flex: 1 1 100%; }
  .wf-hero-extension {
    margin-top: 0;
    padding-bottom: 30px;
  }
  .wf-proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wf-proof-rail span {
    min-height: 86px;
    border-right: 1px solid rgba(231, 224, 211, 0.11);
  }
  .wf-proof-rail span:nth-child(2n) { border-right: 0; }
  .wf-proof-rail span:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(231, 224, 211, 0.11);
  }
  .wf-heading { font-size: 34px; }
}

@media (max-width: 440px) {
  .wf-hero::before { background-size: 410px auto; }
  .wf-hero { min-height: min(720px, 86svh); }
  .wf-hero__inner { padding-top: 188px; }
  .wf-hero h1, .wf-page-title { font-size: 48px; }
  .wf-deck { font-size: 17px; }
  .wf-proof-rail { grid-template-columns: 1fr; }
  .wf-proof-rail span, .wf-proof-rail span:nth-child(2n) { border-right: 0; }
  .wf-proof-rail span:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-hero__weather, .wf-wave span { animation: none; }
  .wf-cta, .wf-button, .wf-pill, .wf-track-button, .wf-menu-toggle { transition: none; }
}
