/* ==========================================================================
   SeaFor — design tokens
   ========================================================================== */

:root {
  /* Brand swap point. To rebrand: adjust --accent and the data-brand-* text
     in index.html. Logo mark is intentionally rename-safe. */
  --paper:        #EEF2F8;       /* periwinkle-tinted cream */
  --paper-2:      #E4EAF4;       /* card surface, cooler periwinkle */
  --paper-3:      #D4DCEC;       /* soft borders, periwinkle wash */
  --ink:          #0E2A55;       /* deep cobalt, near-black */
  --ink-2:        #233B66;
  --ink-3:        #4A6088;
  --muted:        #7C8AA8;
  --accent:       #D6321F;       /* civic red, kept as punctuation */
  --accent-soft:  rgba(214, 50, 31, 0.10);
  --accent-ink:   #B0270F;
  --accent-2:     #0070A8;       /* Sara teal-blue, secondary */
  --accent-2-soft: rgba(0, 112, 168, 0.10);
  --accent-2-ink: #005580;
  --highlight:    #F2D14A;       /* redaction/highlight yellow */

  --bg:           var(--paper);
  --bg-2:         var(--paper-2);
  --bg-3:         var(--paper-3);
  --fg:           var(--ink);
  --fg-2:         var(--ink-2);
  --fg-3:         var(--ink-3);
  --rule:         rgba(14, 42, 85, 0.14);
  --rule-strong:  rgba(14, 42, 85, 0.32);

  --serif:  "Fraunces", "GT Sectra", "Playfair Display", Georgia, serif;
  --sans:   "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  --container: 1240px;

  --t-fast: 180ms cubic-bezier(.2,.7,.2,1);
  --t-med:  280ms cubic-bezier(.2,.7,.2,1);
}

[data-theme="dark"] {
  --bg:    #0B1220;
  --bg-2:  #121C32;
  --bg-3:  #1B2746;
  --fg:    #E8EEF8;
  --fg-2:  #C8D2E8;
  --fg-3:  #93A2C2;
  --muted: #6C7A98;
  --rule:  rgba(232, 238, 248, 0.14);
  --rule-strong: rgba(232, 238, 248, 0.30);
  --accent: #FF5A3F;
  --accent-soft: rgba(255, 90, 63, 0.14);
  --accent-ink: #FF866F;
  --accent-2: #3FA8D8;
  --accent-2-soft: rgba(63, 168, 216, 0.14);
  --accent-2-ink: #6BC0E8;
  --highlight: #F2D14A;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--t-med), color var(--t-med);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1em; }

::selection { background: var(--accent); color: var(--paper); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fg); color: var(--bg);
  padding: 8px 12px; z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.small { font-size: 12.5px; }
.uppercase { text-transform: uppercase; letter-spacing: 0.14em; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 15.5px; }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }

.btn-link {
  background: transparent;
  color: var(--fg);
  padding-left: 0; padding-right: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-top: 0; border-left: 0; border-right: 0;
  border-radius: 0;
  padding-bottom: 6px;
}
.btn-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--t-med);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0,0,0,.25); }

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--fg);
}
.brand-mark { width: 38px; height: 24px; color: var(--fg); }
.brand-mark.sm { width: 32px; height: 20px; }
.brand-wordmark { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-divider { color: var(--fg-3); }
.brand-long {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}

.nav { display: flex; gap: 28px; justify-self: center; }
.nav a {
  font-size: 14px;
  color: var(--fg-2);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: inline-flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--fg);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.theme-toggle:hover { background: var(--bg-2); border-color: var(--rule-strong); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }

@media (max-width: 880px) {
  .nav { display: none; }
  .header-row { grid-template-columns: 1fr auto; }
  .brand-long { display: none; }
  .brand-divider { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 6vw, 96px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.dispatch-tag { display: inline-flex; align-items: center; gap: 8px; }
.dispatch-tag .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50%     { box-shadow: 0 0 0 8px transparent; }
}
.provisional {
  padding: 4px 10px;
  border: 1px dashed var(--rule-strong);
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--fg-3);
  font-size: 11px;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  max-width: 16ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.hero-em { display: block; color: var(--fg-2); }

.hero-wakeup {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--fg);
  margin: 18px 0 4px;
  max-width: 56ch;
  font-weight: 500;
}
.hero-wakeup b { font-weight: 700; }
.hero-wakeup em { font-style: italic; color: var(--accent); font-weight: 600; }

.hero-tagline {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 22px 0 32px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-2);
  max-width: 60ch;
  line-height: 1.55;
}
[data-theme="dark"] .hero-tagline { color: var(--accent-2-ink); border-left-color: var(--accent-2); }

.hero-deck {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
  margin-top: 20px;
}
.hero-deck strong { color: var(--fg); }

.hero-cta { display: inline-flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }

.hero-seed {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 24px;
  align-items: start;
}
.hero-seed p { margin: 0; color: var(--fg-2); max-width: 70ch; }
.hero-seed strong { color: var(--fg); }

@media (max-width: 720px) {
  .hero-seed { grid-template-columns: 1fr; gap: 6px; }
}

/* Marquee */
.marquee {
  margin-top: clamp(56px, 9vw, 96px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }

.marquee-track {
  display: inline-flex; align-items: center; gap: 36px;
  padding: 18px 0;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 38px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  animation: scroll 28s linear infinite;
  color: var(--fg);
}
.marquee-track .bullet { color: var(--accent); font-size: 0.5em; vertical-align: middle; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .dispatch-tag .dot { animation: none; }
}

/* ==========================================================================
   Sections — shared
   ========================================================================== */

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--rule);
}
.section:first-of-type { border-top: 0; }

.section-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 36px;
}
.section-head .rule {
  flex: 0 0 56px;
  height: 1px;
  background: var(--accent);
}
.section-kicker { color: var(--fg-3); }

.display-1, .display-2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.display-1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
}
.display-2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  max-width: 22ch;
}
.display-2 em { font-style: italic; color: var(--accent); }

.lede {
  font-size: clamp(17px, 1.4vw, 19.5px);
  line-height: 1.6;
  color: var(--fg);
}

.emphasis {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 16px;
  color: var(--fg);
}

.redact {
  background: var(--ink);
  color: var(--ink);
  padding: 0 0.18em;
  position: relative;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  border-radius: 2px;
  transition: background var(--t-med), color var(--t-med);
}
.redact:hover { background: transparent; color: var(--fg); }
[data-theme="dark"] .redact { background: var(--fg); color: var(--bg); }

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.why-body p { color: var(--fg-2); }
.why-body p + p { margin-top: 14px; }

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Work section */
.work-title { margin-bottom: 56px; }

.work-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.work-card {
  grid-column: span 3;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--t-med), transform var(--t-med), background var(--t-med);
  position: relative;
  overflow: hidden;
}
.work-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: transparent;
  transition: background var(--t-med);
}
.work-card:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.work-card:hover::before { background: var(--accent); }
.work-card--lg { grid-column: span 6; background: var(--bg-3); }

.card-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
}
.work-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.work-card p { margin: 0; color: var(--fg-2); }
.work-card--lg p { font-size: 18px; max-width: 60ch; }

@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card--lg { grid-column: span 1; }
  .work-card--lg { grid-column: span 2; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card--lg { grid-column: span 1; }
}

/* Opportunity section */
.opp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  margin-bottom: 56px;
}
.opp-text p { color: var(--fg-2); max-width: 60ch; }
.year { font-style: italic; color: var(--fg-2); margin-right: 0.12em; }
.year.accent { color: var(--accent); }

.plate {
  align-self: end;
  background: var(--fg);
  color: var(--bg);
  border-radius: 14px;
  padding: 20px 28px 24px;
  text-align: center;
  font-family: var(--mono);
  display: flex; flex-direction: column; gap: 8px;
  border: 3px solid var(--fg);
  box-shadow:
    inset 0 0 0 2px var(--bg),
    inset 0 0 0 4px var(--fg);
  position: relative;
  min-width: 220px;
  max-width: 320px;
  justify-self: end;
}
.plate-top, .plate-bottom {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0.78;
}
.plate-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(70px, 9vw, 108px);
  line-height: 0.95;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.opp-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 320px;
}
.opp-aside .plate {
  align-self: stretch;
  justify-self: stretch;
  max-width: none;
  margin: 0;
}
.opp-aside .opp-photo {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
}
@media (max-width: 880px) {
  .opp-grid { grid-template-columns: 1fr; }
  .opp-aside { justify-self: start; max-width: 480px; }
  .opp-aside .opp-photo { aspect-ratio: 16 / 10; }
}

.opp-timeline {
  display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.tl-row {
  display: grid;
  grid-template-columns: 64px 1fr 2fr;
  gap: 20px;
  align-items: center;
}
.tl-year { font-size: 14px; color: var(--fg-3); letter-spacing: 0.14em; }
.tl-bar {
  height: 8px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.tl-fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--fg);
  border-radius: 999px;
  transform-origin: left;
  animation: grow 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.tl-fill--accent { background: var(--accent); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tl-label { color: var(--fg-2); font-size: 14.5px; }

@media (max-width: 720px) {
  .tl-row { grid-template-columns: 56px 1fr; }
  .tl-label { grid-column: 1 / -1; }
}

/* Tracker */
.tracker-intro { max-width: 720px; margin-bottom: 48px; }
.tracker-intro p { color: var(--fg-2); font-size: 17.5px; }

.tracker-card {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.35);
  position: relative;
}
.tracker-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 33%, var(--fg) 33%, var(--fg) 66%, var(--fg-3) 66%, var(--fg-3) 100%);
}

.tc-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px;
  padding: 32px 32px 20px;
  border-bottom: 1px solid var(--rule);
}
.tc-eyebrow { color: var(--fg-3); display: block; margin-bottom: 6px; }
.tc-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.tc-meta { color: var(--fg-3); display: inline-flex; gap: 12px; align-items: center; }
.tc-dot { color: var(--accent); }

.tc-body { padding: 8px 32px 24px; }
.tc-items { list-style: none; margin: 0; padding: 0; }
.tc-item {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: start;
}
.tc-item:last-child { border-bottom: 0; }

.tc-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  align-self: start;
  justify-self: start;
  white-space: nowrap;
}
.tc-tag--passed  { color: #2E6F45; border-color: #2E6F45; background: rgba(46,111,69,.08); }
.tc-tag--stalled { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.tc-tag--spin    { color: #6A4F00; border-color: #6A4F00; background: rgba(242,209,74,.18); }
.tc-tag--introduced { color: #1F5BAA; border-color: #1F5BAA; background: rgba(31,91,170,.10); }
.tc-placeholder { margin-top: 6px; opacity: .65; font-style: italic; }
.nobr { white-space: nowrap; }
[data-theme="dark"] .tc-tag--introduced { color: #6FA8E2; border-color: #6FA8E2; background: rgba(111,168,226,.12); }

[data-theme="dark"] .tc-tag--passed  { color: #6FCB94; border-color: #6FCB94; background: rgba(111,203,148,.10); }
[data-theme="dark"] .tc-tag--spin    { color: var(--highlight); border-color: var(--highlight); background: rgba(242,209,74,.10); }

.tc-content h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.tc-content p { color: var(--fg-2); margin: 0 0 10px; }

.tc-vote { display: inline-flex; flex-wrap: wrap; gap: 14px; color: var(--fg-3); }
.tc-vote .vote-y { color: #2E6F45; }
.tc-vote .vote-n { color: var(--accent); }
.tc-vote .vote-a { color: var(--fg-3); }
[data-theme="dark"] .tc-vote .vote-y { color: #6FCB94; }

.tc-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 16px 32px;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  color: var(--fg-3);
}
.tc-status { color: var(--accent); }

.tracker-foot { margin-top: 24px; color: var(--fg-3); }

@media (max-width: 720px) {
  .tc-head { padding: 24px 22px 16px; }
  .tc-body { padding: 8px 22px 20px; }
  .tc-foot { padding: 14px 22px; }
  .tc-item { grid-template-columns: 1fr; gap: 10px; }
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: 64px;
}
.support-points { display: flex; flex-direction: column; gap: 28px; }
.sp { display: grid; grid-template-columns: 36px 1fr; gap: 20px; }
.sp-num {
  font-size: 13px;
  color: var(--accent);
  padding-top: 6px;
  letter-spacing: 0.1em;
}
.sp h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.sp p { margin: 0; color: var(--fg-2); }

@media (max-width: 880px) {
  .support-grid { grid-template-columns: 1fr; }
}

.pullquote {
  margin: 0;
  padding: clamp(28px, 4vw, 56px);
  border-top: 2px solid var(--fg);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
}
.pullquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 28ch;
  margin: 0 0 12px;
}
.pullquote cite { color: var(--fg-3); font-style: normal; display: block; }

/* Donate widget */
.donate-widget {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--fg);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  max-width: 720px;
}
.donate-head { display: flex; flex-direction: column; gap: 6px; }
.donate-head .mono { color: var(--accent); letter-spacing: 0.14em; }
.donate-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--fg);
}
.donate-note { color: var(--fg-3); margin: 0; }
.donate-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.donate-contact .mono.uppercase { color: var(--accent); letter-spacing: 0.14em; }
.donate-email {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  width: max-content;
  max-width: 100%;
  transition: color 160ms ease, border-color 160ms ease;
}
.donate-email:hover { color: var(--accent); border-color: var(--accent); }
.donate-contact-note { color: var(--fg-3); }
.donate-contact-lede { color: var(--fg-2); margin: 0; max-width: 52ch; }

/* Anedot donation form embed container
   Sized to fit the Anedot form without an inner scrollbar.
   Measured form heights (June 2026):
     ~1310px @ 1280w, ~1400px @ 768w, ~1500px @ 390w.
   Container heights include ~40px breathing room below the form footer. */
.donate-embed {
  position: relative;
  width: 100%;
  min-height: 1360px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: #fff;
}
.donate-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 1360px;
  border: 0;
}
@media (max-width: 900px) {
  .donate-embed,
  .donate-embed iframe { min-height: 1440px; }
}
@media (max-width: 560px) {
  .donate-embed,
  .donate-embed iframe { min-height: 1580px; }
}

/* Donor contact message box */
.donate-msg { display: grid; gap: 14px; }
.donate-msg-label { display: flex; flex-direction: column; gap: 6px; }
.donate-msg-label > span:first-child {
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.donate-msg input,
.donate-msg textarea {
  appearance: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md, 12px);
  background: var(--bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color 160ms ease;
}
.donate-msg input:focus,
.donate-msg textarea:focus { border-color: var(--accent); }
.donate-msg textarea { resize: vertical; }
.donate-msg-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Contact */
.section-contact {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
}
.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.contact-left .display-1 { margin-top: 12px; }
.contact-left p { color: var(--fg-2); max-width: 50ch; }

.contact-right { display: flex; flex-direction: column; gap: 24px; }

.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 24px 28px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--fg);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.contact-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.contact-cta .mono { color: rgba(255,255,255,.55); display: block; margin-bottom: 8px; grid-column: 1 / -1; }
[data-theme="light"] .contact-cta .mono { color: rgba(244,241,234,.6); }

.contact-email {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.contact-arrow {
  font-size: 28px;
  margin-left: 16px;
  transition: transform var(--t-fast);
}
.contact-cta:hover .contact-arrow { transform: translateX(6px); }

.contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.contact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-3);
}
.cl-key { text-transform: uppercase; letter-spacing: 0.16em; font-size: 11.5px; }
.cl-val { color: var(--fg); }

@media (max-width: 880px) {
  .contact-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 56px 0 64px;
}
.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); }
.footer-wordmark { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.footer-legal { color: var(--fg-3); max-width: 64ch; }
.footer-meta { color: var(--fg-3); justify-self: end; }

@media (max-width: 880px) {
  .footer-row { grid-template-columns: 1fr; }
  .footer-meta { justify-self: start; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Page hero (shared across pages) — editorial collage layout
   ========================================================================== */

.page-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg-3);
  margin-bottom: 22px;
}
.page-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.page-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 14ch;
}
.page-h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.page-deck {
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0;
}

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-h1 { max-width: 18ch; }
}

/* ==========================================================================
   Hero artwork — pure SVG, no images, on-brand collage system
   ========================================================================== */

.hero-art {
  margin: 0;
  position: relative;
  aspect-ratio: 480 / 560;
  width: 100%;
  max-width: 540px;
  justify-self: end;
  filter: drop-shadow(0 30px 50px rgba(14, 15, 12, 0.18));
}
.hero-art svg { width: 100%; height: 100%; display: block; }

/* Shared art tokens — these reference our theme variables so they invert in dark mode */
.art-paper        { fill: var(--bg);   stroke: var(--rule-strong); stroke-width: 1; }
.art-card         { fill: var(--bg-2); stroke: var(--rule);        stroke-width: 1; }
.art-ink          { fill: var(--fg);   }
.art-fold         { fill: var(--bg-2); stroke: var(--rule-strong); stroke-width: 1; }
.art-rule         { stroke: var(--rule); stroke-width: 1; }
.art-rule-strong  { stroke: var(--fg);   stroke-width: 1.5; }
.art-line rect    { fill: var(--fg-3); opacity: .55; }
.art-redact       { fill: var(--fg);   }

.art-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  fill: var(--fg-3);
  text-transform: uppercase;
}
.art-meta--ink  { fill: var(--fg); }
.art-meta--mute { fill: var(--muted); }

.art-h1 {
  font-family: "Fraunces", serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  fill: var(--fg);
}
.art-h1--em {
  font-style: italic;
  fill: var(--accent);
}

.art-stamp {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}
.art-stamp-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  fill: var(--accent);
}
.art-stamp-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  fill: var(--accent);
}

/* 5-alarm bulletin (hero) */
.art-alarm-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  fill: var(--bg);
  text-transform: uppercase;
  dominant-baseline: middle;
}
.art-alarm-sub {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  fill: var(--fg-3);
}
.art-alarm-list-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  fill: var(--muted);
  text-transform: uppercase;
}
.art-alarm-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: var(--accent);
}
.art-alarm-item {
  font-family: "Fraunces", serif;
  font-size: 14px;
  font-weight: 500;
  fill: var(--fg);
}
.art-alarm-cta {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  fill: var(--fg);
}

/* Vote tally palette */
.art-vote {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.art-vote--y { fill: #2E6F45; }
.art-vote--n { fill: var(--accent); }
.art-vote--a { fill: var(--fg-3); }
.art-vote-num {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
}
.art-vote-num--y { fill: #2E6F45; }
.art-vote-num--n { fill: var(--accent); }
.art-vote-num--a { fill: var(--fg-3); }
[data-theme="dark"] .art-vote--y,
[data-theme="dark"] .art-vote-num--y { fill: #6FCB94; }

/* ==========================================================================
   Form
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
@media (max-width: 980px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-side .display-2 .muted { color: var(--fg-3); font-style: italic; }
.form-note { color: var(--fg-2); max-width: 56ch; margin: 0 0 36px; }

.cta-form {
  display: flex; flex-direction: column; gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.cta-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 640px) {
  .cta-form .row { grid-template-columns: 1fr; }
}

.cta-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}
.cta-form label > span:first-child {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.cta-form label .muted { color: var(--muted); font-style: normal; text-transform: none; letter-spacing: 0.02em; }

.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form input[type="tel"],
.cta-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--fg);
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
  border-radius: 0;
  transition: border-color var(--t-fast);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--muted);
}
.cta-form input:hover,
.cta-form textarea:hover { border-bottom-color: var(--fg); }
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.cta-form textarea { resize: vertical; min-height: 120px; }

.cta-form .full { grid-column: 1 / -1; }

.role-field {
  border: 0; padding: 0; margin: 4px 0 0;
}
.role-field legend {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 0 0 12px;
}
.role-options { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  position: relative;
  cursor: pointer;
}
.chip input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--fg-2);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover span { color: var(--fg); border-color: var(--fg); }
.chip input:checked + span {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px;
  color: var(--fg-2);
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 4px;
  margin: 2px 0 0;
  display: inline-grid; place-items: center;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.checkbox input[type="checkbox"]:hover { border-color: var(--fg); }
.checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox input[type="checkbox"]:checked::after {
  content: "";
  width: 10px; height: 10px;
  background: var(--bg);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.form-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 4px;
}
.form-status { color: var(--fg-3); font-size: 14px; }
.form-status.is-success { color: #2E6F45; }
[data-theme="dark"] .form-status.is-success { color: #6FCB94; }
.form-status.is-error { color: var(--accent); }

.form-fineprint { color: var(--muted); margin: 0; }

/* Direct cards */
.direct-side { display: flex; flex-direction: column; gap: 18px; }

.direct-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  color: var(--fg);
  text-decoration: none;
  position: relative;
  transition: border-color var(--t-med), transform var(--t-med), background var(--t-med);
}
.direct-card:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}
.direct-card .dc-eyebrow { grid-column: 1 / -1; color: var(--fg-3); }
.direct-card .dc-email {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  grid-column: 1;
}
.direct-card .dc-email-sm {
  font-family: var(--serif); font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  grid-column: 1;
}
.direct-card .dc-note { grid-column: 1; color: var(--fg-3); font-size: 14px; }
.direct-card .dc-arrow {
  grid-column: 2; grid-row: 2 / span 2;
  align-self: center;
  font-size: 22px;
  color: var(--fg-3);
  transition: color var(--t-fast), transform var(--t-fast);
}
.direct-card:hover .dc-arrow { color: var(--accent); transform: translateX(4px); }

.direct-card--primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.direct-card--primary .dc-eyebrow { color: rgba(244,241,234,.55); }
[data-theme="dark"] .direct-card--primary .dc-eyebrow { color: rgba(14,15,12,.55); }
.direct-card--primary .dc-note { color: rgba(244,241,234,.7); }
[data-theme="dark"] .direct-card--primary .dc-note { color: rgba(14,15,12,.7); }
.direct-card--primary .dc-arrow { color: rgba(244,241,234,.6); }
.direct-card--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.direct-card--primary:hover .dc-arrow { color: #fff; }

.direct-list {
  list-style: none; margin: 8px 0 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.direct-list li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-3);
}
.direct-list .cl-key { text-transform: uppercase; letter-spacing: 0.16em; font-size: 11.5px; }
.direct-list .cl-val { color: var(--fg); }

.direct-foot { color: var(--muted); margin: 6px 0 0; }

/* ==========================================================================
   Steps
   ========================================================================== */

.next-title { margin-bottom: 56px; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color var(--t-med), transform var(--t-med);
}
.step:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.step-num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.22em;
  margin-bottom: 4px;
}
.step h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em;
  margin: 0;
}
.step p { color: var(--fg-2); margin: 0; }
.step-meta { color: var(--fg-3); margin-top: auto; padding-top: 14px; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-title { margin-bottom: 36px; }
.faq-list {
  border-top: 1px solid var(--rule-strong);
}
.faq {
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq-icon {
  font-family: var(--mono);
  font-size: 22px; line-height: 1;
  color: var(--fg-3);
  transition: transform var(--t-med), color var(--t-fast);
  flex-shrink: 0;
  width: 22px; text-align: center;
}
.faq[open] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-body {
  padding: 0 0 22px;
  max-width: 72ch;
}
.faq-body p {
  margin: 0;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.65;
}

/* ==========================================================================
   Variants for each page hero artwork
   ========================================================================== */

/* Tinted card on home hero */
.hero-art--home { max-width: 520px; }
.hero-art--memo { max-width: 520px; }
.hero-art--memo .art-h1 { font-size: 38px; }

/* Home hero block on the right side */
.hero .hero-grid--with-art {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}
@media (max-width: 980px) {
  .hero .hero-grid--with-art { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin: 0 auto; }
}

/* Home hero artwork text styles */
.art-tag-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.art-tag-text--passed  { fill: #2E6F45; }
.art-tag-text--stalled { fill: var(--accent); }
.art-tag-text--spin    { fill: #6A4F00; }
[data-theme="dark"] .art-tag-text--passed { fill: #6FCB94; }
[data-theme="dark"] .art-tag-text--spin   { fill: #F2D14A; }
[data-theme="dark"] .art-tag-spin         { stroke: #F2D14A; }

.art-item-title {
  font-family: "Fraunces", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  fill: var(--fg);
}
.art-item-title--quote { font-style: italic; }

.art-badge-top {
  font-family: "JetBrains Mono", monospace;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  fill: var(--accent);
}
.art-badge-bottom {
  font-family: "Fraunces", serif;
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  fill: var(--accent);
}

/* Hero text wrapper sizing */
.hero-text { display: flex; flex-direction: column; }

/* On wider screens, slightly tighten hero typography to share space with the art */
@media (min-width: 981px) {
  .hero-grid--with-art .hero-headline {
    font-size: clamp(40px, 5.4vw, 80px);
    max-width: 14ch;
  }
  .hero-grid--with-art .hero-deck { max-width: 50ch; }
}

/* ==========================================================================
   Imagery — duotone treatment, theme-aware
   ========================================================================== */

/* Generic duotone wrap. The actual image goes inside as <img>. We desaturate
   it, then layer the brand paper/ink palette on top in mix-blend-mode so it
   reads as part of the editorial system, not a stock-photo drop-in. */
.dt {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.dt img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.92);
  mix-blend-mode: luminosity;
  opacity: 0.92;
}
/* Color overlay that paints the lights paper and shadows ink/accent. */
.dt::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(214, 50, 31, 0.18), rgba(14, 15, 12, 0.55)),
    var(--paper);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}
.dt::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,15,12,0.30) 100%);
  z-index: 2;
  pointer-events: none;
}
[data-theme="dark"] .dt { background: #000; }
[data-theme="dark"] .dt img {
  filter: grayscale(100%) contrast(1.1) brightness(0.7);
  opacity: 0.7;
}
[data-theme="dark"] .dt::before {
  background:
    linear-gradient(180deg, rgba(255, 90, 63, 0.20), rgba(14, 15, 12, 0.85)),
    #15160F;
}

/* Variant: warmer accent (for momentum band) */
.dt--accent::before {
  background:
    linear-gradient(180deg, rgba(214, 50, 31, 0.32), rgba(14, 15, 12, 0.65)),
    var(--paper);
}
[data-theme="dark"] .dt--accent::before {
  background:
    linear-gradient(180deg, rgba(255, 90, 63, 0.32), rgba(14, 15, 12, 0.85)),
    #15160F;
}

/* A thin film grain via SVG for editorial feel, applied as ::after layer when wanted */
.dt--grain::after {
  background:
    linear-gradient(180deg, transparent 40%, rgba(14,15,12,0.30) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/></svg>");
  background-size: cover, 160px 160px;
}

/* ==========================================================================
   Momentum band — full-bleed photo strip with editorial overlay
   ========================================================================== */
.momentum {
  position: relative;
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.momentum-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.momentum-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.55);
}
.momentum-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,12,0.55), rgba(14,15,12,0.78)),
    radial-gradient(ellipse at 20% 50%, rgba(214,50,31,0.25), transparent 60%);
}
.momentum-inner {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 7vw, 96px) 0;
  color: #F2EFE6;
}
.momentum-inner .container { display: grid; grid-template-columns: 1fr; gap: 32px; }

.momentum-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242,239,230,0.72);
}
.momentum-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF5A3F;
  box-shadow: 0 0 0 0 rgba(255, 90, 63, 0.7);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 63, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 90, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 63, 0); }
}

.momentum-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
  color: #F4F1EA;
}
.momentum-h2 em {
  font-style: italic;
  color: #FF866F;
}
.momentum-deck {
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(242,239,230,0.82);
  margin: 0;
}

.shipping-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(242,239,230,0.18);
}
.shipping-item {
  padding: 20px 22px 22px 0;
  border-right: 1px solid rgba(242,239,230,0.12);
}
.shipping-item:last-child { border-right: 0; padding-right: 0; }
.shipping-item .ship-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,239,230,0.55);
  margin-bottom: 10px;
}
.shipping-item .ship-date .ship-status {
  display: inline-block;
  padding: 2px 7px;
  margin-right: 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
}
.shipping-item .ship-status--done   { color: #B8E2C2; }
.shipping-item .ship-status--live   { color: #FF866F; border-color: #FF866F; }
.shipping-item .ship-status--next   { color: rgba(242,239,230,0.6); }
.shipping-item h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 6px 0;
  color: #F4F1EA;
}
.shipping-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(242,239,230,0.7);
}

.momentum-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242,239,230,0.55);
  padding-top: 18px;
  border-top: 1px solid rgba(242,239,230,0.14);
}
.momentum-meta b { color: #F4F1EA; font-weight: 500; }

@media (max-width: 900px) {
  .shipping-grid { grid-template-columns: 1fr 1fr; }
  .shipping-item { border-right: 0; border-bottom: 1px solid rgba(242,239,230,0.12); padding: 18px 18px 18px 0; }
  .shipping-item:nth-child(odd) { border-right: 1px solid rgba(242,239,230,0.12); padding-right: 18px; }
}
@media (max-width: 560px) {
  .shipping-grid { grid-template-columns: 1fr; }
  .shipping-item, .shipping-item:nth-child(odd) {
    border-right: 0;
    padding: 16px 0;
  }
}

/* ==========================================================================
   Inset photos floated in editorial sections
   ========================================================================== */

/* Pike Place inset, sits in the Why grid */
.why-grid { position: relative; }
.photo-inset {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
}
.photo-inset .caption {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F4F1EA;
  display: flex; gap: 10px; align-items: center;
}
.photo-inset .caption::before {
  content: "";
  width: 22px; height: 1px;
  background: #FF866F;
}
.photo-inset .marker {
  position: absolute;
  top: 12px; left: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244,241,234,0.85);
  padding: 4px 8px;
  border: 1px solid rgba(244,241,234,0.4);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Why grid: stack photo on tablet+, hide on small */
.why-grid--with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}
.why-grid--with-photo .why-text { grid-column: 1; }
.why-grid--with-photo .why-photo {
  grid-column: 2;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why-photo .pull {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--fg-3);
  line-height: 1.45;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 14px;
}
@media (max-width: 900px) {
  .why-grid--with-photo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why-grid--with-photo .why-photo { position: static; grid-column: 1; }
}

/* Opportunity photo card under the plate */
.opp-photo {
  margin-top: 18px;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .opp-photo { aspect-ratio: 16 / 10; max-width: 480px; }
}

/* ==========================================================================
   §00 — Diagnosis / state of the city
   ========================================================================== */

.section-diag { padding-bottom: clamp(40px, 5vw, 72px); }
.diag-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.diag-h2 em { font-style: italic; color: var(--accent); }
.diag-deck {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-3);
  max-width: 56ch;
  margin: 0;
}
@media (max-width: 880px) {
  .diag-head { grid-template-columns: 1fr; gap: 24px; }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.stat-card {
  grid-column: span 2;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.stat-card--lg { grid-column: span 3; }

.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}
.stat-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.stat-trend {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stat-trend--down { color: var(--accent); }
.stat-trend--up-bad { color: var(--accent); }

/* === Sara's spending vs outcomes charts === */
.diag-subhead {
  margin: 56px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.diag-subhead .rule { width: 64px; height: 2px; background: var(--fg); opacity: .9; }
.diag-subdeck {
  font-size: 14px;
  color: var(--fg-3);
  margin: 4px 0 0;
  max-width: 60ch;
  line-height: 1.5;
}
.diag-h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--fg);
  max-width: 56ch;
  margin: 4px 0 0;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.chart-grid > .chart-card { grid-column: auto; }
.chart-grid > .chart-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .chart-grid { grid-template-columns: 1fr; }
  .chart-grid > .chart-card:last-child:nth-child(odd) { grid-column: auto; }
}
.chart-card .stat-figure { margin-bottom: 8px; }
.chart-card .stat-num { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.chart {
  margin: 12px 0 0;
  padding: 0;
}
.chart svg { width: 100%; height: auto; display: block; max-height: 260px; }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.chart-legend .swatch {
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 6px;
  vertical-align: -1px;
  border-radius: 2px;
}
/* chart palette - light theme */
:root {
  --chart-levy:  #1f5f3a;  /* deep green */
  --chart-pet:   #6dbf86;  /* mid green */
  --chart-mha:   #d3826a;  /* warm red-clay */
  --chart-other: #c8b88a;  /* tan */
}
[data-theme="dark"] {
  --chart-levy:  #4f9b6a;
  --chart-pet:   #8cd6a3;
  --chart-mha:   #e89a82;
  --chart-other: #d8c89a;
}

.stat-figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat-card--lg .stat-num { font-size: clamp(54px, 6.5vw, 88px); }
.stat-unit {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-3);
  max-width: 32ch;
}

.stat-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.stat-body .redact {
  background: var(--fg);
  color: var(--bg);
  padding: 2px 6px;
}

.stat-foot {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  margin: auto 0 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
}
.stat-foot cite { font-style: normal; }

/* Sparkline */
.spark { width: 100%; height: 80px; display: block; }
.spark-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  fill: var(--fg-3);
  text-transform: uppercase;
}

/* Bar stack */
.bar-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bar-stack li {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.bar-stack .bar {
  position: relative;
  height: 6px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.bar-stack .bar-fill {
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: var(--accent);
  border-radius: 999px;
}
.bar-stack .bar-num {
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  text-align: right;
  min-width: 44px;
}

/* Rank row */
.rank-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 8px 0;
}
.rank-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 14px;
  border-right: 1px solid var(--rule);
}
.rank-item:last-child { border-right: 0; }
.rank-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.rank-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.rank-num b { font-weight: 500; font-style: italic; }
.rank-num .rank-of {
  font-size: 14px;
  font-style: normal;
  color: var(--fg-3);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}
.rank-num.rank-then { color: var(--fg); }
.rank-num.rank-then b { font-style: normal; }

.diag-cta {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.diag-cta a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.diag-cta a:hover { color: var(--accent); }

@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-card { grid-column: span 2; }
  .stat-card--lg { grid-column: span 4; }
}
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card, .stat-card--lg { grid-column: span 1; }
  .rank-row { grid-template-columns: 1fr; gap: 16px; }
  .rank-item { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 12px; }
  .rank-item:last-child { border-bottom: 0; }
}

/* ==========================================================================
   §03 — How we're different / AI velocity
   ========================================================================== */

.section-edge { background: var(--bg-2); }
.edge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.edge-text .lede { color: var(--fg-2); max-width: 56ch; }
.edge-text .display-2 em { color: var(--accent); font-style: italic; }

.edge-points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--rule);
}
.edge-points > li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: start;
}
.edge-points > li:last-child { border-bottom: 0; }
.edge-icon {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  padding-top: 4px;
}
.edge-points h4 {
  margin: 0 0 4px 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.edge-points p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* Console mockup */
.console {
  background: #0E0F0C;
  color: #F2EFE6;
  border-radius: 8px;
  border: 1px solid rgba(242,239,230,0.14);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 40px -20px rgba(14,15,12,0.4);
  font-family: var(--mono);
  position: sticky;
  top: 88px;
}
.console-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #15160F;
  border-bottom: 1px solid rgba(242,239,230,0.12);
}
.console .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #5A5A52;
}
.console .dot--r { background: #FF5A3F; }
.console .dot--y { background: #F2D14A; }
.console .dot--g { background: #66C28E; }
.console-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(242,239,230,0.7);
  margin-left: 8px;
}
.console-status {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #66C28E;
  display: inline-flex; align-items: center; gap: 6px;
}
.console-status .pulse-dot { background: #66C28E; box-shadow: 0 0 0 0 rgba(102,194,142,0.7); }

.console-body {
  padding: 8px 0;
}
.console .step {
  display: grid;
  grid-template-columns: 56px 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  font-size: 12.5px;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  transform: none;
  flex-direction: row;
  transition: background 0.2s;
}
.console .step:hover { background: rgba(242,239,230,0.03); border-color: transparent; border-left-color: transparent; transform: none; }
.console .step .t {
  color: rgba(242,239,230,0.55);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.console .step .src {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(242,239,230,0.45);
  text-align: center;
  border: 1px solid rgba(242,239,230,0.18);
  border-radius: 4px;
  padding: 3px 0;
}
.console .step .msg {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(242,239,230,0.85);
  line-height: 1.4;
}
.console .step .badge {
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.console .step.done .badge.ok { color: #66C28E; }
.console .step.done .src { color: rgba(242,239,230,0.6); }
.console .step.active {
  background: rgba(255,90,63,0.06);
  border-left-color: #FF5A3F;
}
.console .step.active:hover { border-left-color: #FF5A3F; }
.console .step.active .badge.live { color: #FF866F; }
.console .step.active .badge.live .pulse-dot { background: #FF5A3F; }
.console .step.queued { opacity: 0.6; }
.console .step.queued .badge.q { color: rgba(242,239,230,0.5); }

.console-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid rgba(242,239,230,0.12);
  background: #15160F;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(242,239,230,0.5);
  text-transform: uppercase;
}
.console-foot b { color: #F2EFE6; font-weight: 500; }

/* Velocity comparison */
.vs-strip {
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.vs-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}
.vs-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.vs-bar {
  position: relative;
  height: 10px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.vs-fill {
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: var(--fg-3);
  border-radius: 999px;
}
.vs-fill--accent { background: var(--accent); }
.vs-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.vs-row--us .vs-label { color: var(--accent); }
.vs-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .edge-grid { grid-template-columns: 1fr; gap: 32px; }
  .console { position: static; }
  .console .step { grid-template-columns: 48px 36px 1fr; padding: 10px 12px; }
  .console .step .badge { grid-column: 3; justify-self: end; margin-top: 4px; }
}
@media (max-width: 560px) {

  .vs-row { grid-template-columns: 1fr; gap: 4px; }
  .vs-row .vs-bar { order: 2; }
  .vs-row .vs-num { order: 3; justify-self: end; }
}

/* ==========================================================================
   The Work — expanded cards with status-quo vs. SeaFor + deliverables
   ========================================================================== */

.work-deck {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 18px 0 36px;
}

.work-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 6px 0 18px !important;
  max-width: 62ch;
}
.work-card--lg .work-lede { font-size: 18px; max-width: 70ch; }

.work-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
  margin: 4px 0 18px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.work-card--lg .work-vs { padding: 20px; gap: 20px; }

.vs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.vs-col p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.vs-col cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--fg-1);
}
.work-card--lg .vs-col p { font-size: 14.5px; }

.vs-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 4px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  align-self: flex-start;
}
.vs-tag--us {
  color: var(--accent);
  border-color: var(--accent);
}
.vs-col--good {
  position: relative;
  padding-left: 14px;
}
.vs-col--good::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.work-deliv {
  list-style: none;
  margin: 4px 0 0 !important;
  padding: 0;
  display: grid;
  gap: 8px;
}
.work-deliv-head {
  margin: 18px 0 10px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  font-weight: 600;
}
.work-deliv-head + .work-deliv { margin-top: 0 !important; }
.work-deliv li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.work-deliv li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.work-deliv b {
  color: var(--fg-1);
  font-weight: 500;
}
.work-card--lg .work-deliv { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.work-card--lg .work-deliv li { font-size: 14px; }

@media (max-width: 720px) {
  .work-vs { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .work-card--lg .work-deliv { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why section — left column anchor (Not / Is)
   ========================================================================== */

.why-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.why-isnt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.isnt-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.isnt-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-2);
}

.isnt-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 4px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}
.isnt-tag--yes {
  color: var(--accent);
  border-color: var(--accent);
}

.isnt-row--is p {
  color: var(--fg-1);
  font-weight: 500;
}

@media (max-width: 880px) {
  .why-isnt { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .why-isnt { grid-template-columns: 1fr; gap: 16px; }
}

/* Why section — full-width closer */
.why-emphasis {
  margin: 40px 0 0;
  padding: 28px 32px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  background: var(--bg-3);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  max-width: none;
}
.why-emphasis [data-brand-name] {
  font-weight: 600;
}
@media (max-width: 720px) {
  .why-emphasis { padding: 22px 20px; margin-top: 40px; }
}

/* ==========================================================================
   Media section
   ========================================================================== */
.section-media { padding-top: 96px; padding-bottom: 96px; }
.media-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.media-intro h2 { margin: 16px 0 24px; }
.media-intro .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 20px;
  max-width: 40ch;
}
.media-status {
  color: var(--accent-2);
  letter-spacing: 0.2em;
}
[data-theme="dark"] .media-status { color: var(--accent-2-ink); }
.media-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.media-col {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
}
.media-col--good { border-left: 3px solid var(--accent-2); }
.media-col--bad { border-left: 3px solid var(--accent); }
.media-pill {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  color: var(--accent-2);
  letter-spacing: 0.18em;
}
[data-theme="dark"] .media-pill { color: var(--accent-2-ink); border-color: var(--accent-2); }
.media-pill--bad { color: var(--accent); border-color: var(--accent); }
[data-theme="dark"] .media-pill--bad { color: var(--accent-ink); border-color: var(--accent); }
.media-blurb {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.media-foot {
  margin-top: auto;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .media-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .media-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Politics section
   ========================================================================== */
.section-politics { padding-top: 96px; padding-bottom: 96px; background: var(--bg-2); }
.politics-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
}
.politics-intro h2 { margin: 16px 0 24px; max-width: 16ch; }
.politics-intro .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 56ch;
}
.politics-stub {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}
.politics-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
[data-theme="dark"] .politics-pill { color: var(--accent-ink); }
.politics-stub h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.politics-stub p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 20px;
}
.politics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.politics-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.politics-list .cl-key { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.politics-list .cl-val { color: var(--fg); text-align: right; }
@media (max-width: 980px) {
  .politics-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   The Firehose · Tracker as web-app preview (v2)
   ========================================================================== */
.firehose-deck {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 14px;
  max-width: 70ch;
}
.firehose-deck b { color: var(--fg); font-weight: 600; }
.firehose-strap {
  display: inline-block;
  color: var(--accent-2);
  letter-spacing: 0.18em;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin: 0;
}
[data-theme="dark"] .firehose-strap { color: var(--accent-2-ink); }

/* App-chrome variant of tracker-card */
.tracker-card--app::before { display: none; }
.tracker-card--app {
  border-radius: 14px;
  border-color: var(--rule);
  box-shadow: 0 30px 70px -45px rgba(0,0,0,.45), 0 0 0 1px var(--rule);
}
.app-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}
.app-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.app-dot--r { background: #FF5A52; }
.app-dot--y { background: #FFBE2E; }
.app-dot--g { background: #28C940; }
.app-url {
  flex: 1;
  text-align: center;
  padding: 5px 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--fg-3);
  font-size: 12px;
  letter-spacing: 0.02em;
  max-width: 380px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-url-pad { margin-right: 6px; opacity: 0.7; }
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #2E6F45;
  text-transform: uppercase;
}
[data-theme="dark"] .app-status { color: #6FCB94; }
.app-status .pulse-dot { background: #2E6F45; }
[data-theme="dark"] .app-status .pulse-dot { background: #6FCB94; }

/* Action buttons inside tracker items */
.tc-item--act { padding: 26px 0; }
.action-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.action-btn {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--fg);
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.action-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-2);
  background: var(--accent-2-soft);
}
[data-theme="dark"] .action-btn:hover { background: rgba(63, 168, 216, 0.10); }
.action-btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.action-icon {
  grid-row: 1 / span 2;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-2-soft);
  color: var(--accent-2);
  font-size: 14px;
  line-height: 1;
}
[data-theme="dark"] .action-icon { background: rgba(63, 168, 216, 0.16); color: var(--accent-2-ink); }
.action-label {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.25;
  color: var(--fg);
}
.action-meta {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 2px;
}
.action-btn--primary {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.action-btn--primary .action-label,
.action-btn--primary .action-meta { color: #fff; }
.action-btn--primary .action-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.action-btn--primary:hover {
  background: #005A8C;
  border-color: #005A8C;
}
[data-theme="dark"] .action-btn--primary {
  background: var(--accent-2-ink);
  border-color: var(--accent-2-ink);
}
[data-theme="dark"] .action-btn--primary .action-label,
[data-theme="dark"] .action-btn--primary .action-meta { color: #06121F; }
[data-theme="dark"] .action-btn--primary .action-icon {
  background: rgba(0,0,0,0.16);
  color: #06121F;
}
[data-theme="dark"] .action-btn--primary:hover { background: #5BC0E8; border-color: #5BC0E8; }

@media (max-width: 720px) {
  .app-url { max-width: none; font-size: 11px; padding: 4px 10px; }
  .app-status { font-size: 10px; }
  .action-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Media section v2 (pragmatic center with a pulse)
   ========================================================================== */
.media-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 20px;
  max-width: 56ch;
}
.media-col-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 4px 0 10px;
  color: var(--fg);
}
.media-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.media-bullets li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-2);
  padding-left: 14px;
  position: relative;
}
.media-bullets li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.media-col--bad .media-bullets li::before { color: var(--accent); }
.media-pull {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.media-pull p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--fg);
}
.media-pull cite {
  font-style: normal;
  color: var(--fg-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ==========================================================================
   Newsroom console refinements (Section 03)
   ========================================================================== */
.console--newsroom .step .t {
  min-width: 64px;
  color: var(--accent-2);
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}
[data-theme="dark"] .console--newsroom .step .t { color: var(--accent-2-ink); }
.console--newsroom .step.active .t { color: var(--accent); }
[data-theme="dark"] .console--newsroom .step.active .t { color: var(--accent-ink, var(--accent)); }

/* ==========================================================================
   Section 03 — Agent ops: aggregator roster + auto-brief
   ========================================================================== */

.agg-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-top: 1px solid rgba(242,239,230,0.12);
}
.agg-roster {
  padding: 14px 14px 16px;
  border-right: 1px solid rgba(242,239,230,0.12);
  background: rgba(242,239,230,0.02);
}
.agg-roster-head {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(242,239,230,0.5);
  margin: 0 0 10px;
}
.agg-roster-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agg-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
}
.agg-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c, #0070A8);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agg-av--sm {
  width: 20px;
  height: 20px;
  font-size: 9px;
}
.agg-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.agg-name {
  font-size: 13px;
  color: rgba(242,239,230,0.92);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agg-role {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(242,239,230,0.45);
}
.agg-status {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(242,239,230,0.55);
}
.agg-pulse {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #66C28E;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.agg-pulse .pulse-dot { background: #66C28E; box-shadow: 0 0 0 0 rgba(102,194,142,0.7); }

.agg-brief {
  padding: 16px 18px 18px;
  background: rgba(255,90,63,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.agg-brief-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.agg-brief-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #FF866F;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.agg-brief-tag .pulse-dot { background: #FF5A3F; box-shadow: 0 0 0 0 rgba(255,90,63,0.7); }
.agg-brief-id {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(242,239,230,0.45);
}
.agg-brief-title {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #F2EFE6;
  margin: 0;
}
.agg-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed rgba(242,239,230,0.14);
  border-bottom: 1px dashed rgba(242,239,230,0.14);
}
.agg-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.agg-stat-num {
  font-family: var(--serif, var(--sans));
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #F2EFE6;
  font-variant-numeric: tabular-nums;
}
.agg-stat-lbl {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(242,239,230,0.5);
}
.agg-spark {
  width: 100%;
  height: 56px;
  display: block;
}
.agg-spark-cap {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(242,239,230,0.55);
  margin-top: -6px;
}
.agg-angle {
  background: rgba(242,239,230,0.04);
  border-left: 2px solid #FF5A3F;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agg-angle-lbl {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: #FF866F;
}
.agg-angle p {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(242,239,230,0.88);
  margin: 0;
}
.agg-dispatch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.agg-dispatch-lbl {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(242,239,230,0.5);
  margin-right: 2px;
}
.agg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: rgba(242,239,230,0.06);
  border: 1px solid rgba(242,239,230,0.14);
  border-radius: 999px;
  font-size: 11.5px;
  color: rgba(242,239,230,0.92);
}

/* Speed strip header */
.vs-head {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
}

/* Responsive: stack roster + brief */
@media (max-width: 720px) {
  .agg-grid { grid-template-columns: 1fr; }
  .agg-roster {
    border-right: 0;
    border-bottom: 1px solid rgba(242,239,230,0.12);
  }
  .agg-roster-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .agg-row {
    grid-template-columns: 28px auto;
    gap: 8px;
  }
  .agg-row .agg-status,
  .agg-row .agg-pulse { display: none; }
  .agg-stat-row { grid-template-columns: repeat(3, 1fr); }
  .agg-stat-num { font-size: 17px; }
}

/* Section 03: console got tall (roster + brief). Don't sticky-pin it. */
.console--newsroom { position: static; top: auto; }
