/* ============================================================
   FireGrade CA — Editorial Investigation aesthetic
   Palette: warm cream paper, deep ink, oxblood ember, dim amber
   Type: Fraunces (display serif) · DM Sans (body) · JetBrains Mono
   ============================================================ */

:root {
  --paper: #F4EFE6;
  --paper-2: #EFE8DB;
  --ink: #14110D;
  --ink-2: #2A2520;
  --char: #6B6259;
  --rule: #1F1B16;
  --ember: #A02B1B;
  --ember-2: #7A1F12;
  --amber: #C58A2C;
  --moss: #4A5942;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "DM Sans", "Helvetica Neue", sans-serif;
  --mono:  "JetBrains Mono", "Menlo", monospace;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.mono { font-family: var(--mono); font-weight: 600; letter-spacing: 0.02em; }

/* Grain overlay for paper texture */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: none;
}
.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}
.rule + .rule { margin-top: 2px; }
.masthead .rule:first-child { background: var(--rule); }
.masthead .rule:last-child { background: var(--rule); height: 2px; }

.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark { color: var(--ember); display: inline-flex; }
.brand-words { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; line-height: 1; }
.brand-words b { font-weight: 700; }
.brand-region {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--char);
  text-transform: uppercase;
  margin-left: 6px;
}

.nav {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.nav a:hover { color: var(--ember); }
.nav a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav {
    position: fixed;
    top: 60px; right: 0;
    width: 80%;
    max-width: 320px;
    background: var(--ink);
    color: var(--paper);
    flex-direction: column;
    padding: 32px 28px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
    height: calc(100vh - 60px);
    font-size: 18px;
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--paper); }
  .nav a:hover { color: var(--amber); }
  .nav a::after { background: var(--amber); }
  .hamburger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 6vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--char);
  border: 1px solid var(--rule);
  padding: 7px 12px;
  margin-bottom: 28px;
}
.kicker .dot {
  width: 7px; height: 7px;
  background: var(--ember);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: var(--ink);
}
.hero-headline span {
  display: block;
}
.hero-headline .italic {
  font-style: italic;
  font-weight: 350;
  color: var(--ember);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-deck {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 350;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-deck b { font-weight: 600; color: var(--ink); }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  line-height: 1;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ember);
  border-color: var(--ember);
  transform: translateY(-1px);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; justify-content: center; padding-top: 16px; padding-bottom: 16px; }

.hero-meta {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--char);
  text-transform: uppercase;
}
.dot-mid { display: inline-block; width: 3px; height: 3px; background: var(--char); border-radius: 50%; }

/* HERO RIGHT */
.hero-right { display: flex; flex-direction: column; gap: 28px; }

.lookup-card {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 32px 32px;
  position: relative;
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ember);
}
.lookup-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 18px;
}
.lookup-tag .mono { color: var(--ember); margin-right: 4px; }
.lookup-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.lookup-sub {
  font-size: 14px;
  color: rgba(244, 239, 230, 0.65);
  margin: 0 0 22px;
  line-height: 1.5;
}
.lookup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lookup-form input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.3);
  color: var(--paper);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.2s ease;
}
.lookup-form input:focus { border-color: var(--amber); }
.lookup-form input::placeholder { color: rgba(244, 239, 230, 0.35); }
.lookup-form .btn-primary {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--paper);
}
.lookup-form .btn-primary:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.lookup-result {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.lookup-result.is-shown { display: block; animation: fadeUp 0.5s ease; }
.lookup-result .badge {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lookup-result .badge.high { background: var(--ember); color: var(--paper); }
.lookup-result .badge.mid  { background: var(--amber); color: var(--ink); }
.lookup-result .badge.low  { background: var(--moss); color: var(--paper); }
.lookup-result .badge.unknown { background: var(--char); color: var(--paper); }
.lookup-result h4 { font-family: var(--serif); font-size: 22px; margin: 4px 0 8px; font-weight: 400; }
.lookup-result p { color: rgba(244, 239, 230, 0.75); margin: 0 0 6px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-pull {
  border-left: 2px solid var(--ember);
  padding: 4px 0 4px 20px;
  font-family: var(--serif);
  font-style: italic;
  position: relative;
}
.pull-mark {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0;
  color: var(--ember);
  position: absolute;
  left: 6px; top: 18px;
  opacity: 0.3;
}
.hero-pull p {
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 10px;
  font-weight: 400;
}
.pull-attr {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--char);
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) var(--gutter);
  position: relative;
}
.section + .section { border-top: 1px solid var(--rule); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--char);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow .mono { color: var(--ember); margin-right: 6px; }
.section-h {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0 0 18px;
}
.section-h em {
  font-style: italic;
  color: var(--ember);
  font-weight: 350;
  font-variation-settings: "SOFT" 100;
}
.section-deck {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 350;
  margin: 0;
}
.section-deck em { font-style: italic; color: var(--char); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}
.stat {
  background: var(--paper-2);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-num .prefix { color: var(--ember); margin-right: 2px; }
.stat-cap {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: auto;
}
.stat-src {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--char);
  text-transform: uppercase;
}
.stat-src .mono { color: var(--ember); }

/* CHART */
.chart {
  margin: 0 0 56px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 32px 28px 16px;
}
.chart-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--char);
  margin-bottom: 24px;
}
.chart-caption .mono { color: var(--ember); }
.chart-svg {
  width: 100%;
  height: auto;
  font-family: var(--mono);
  font-size: 11px;
}
.chart-svg .grid line { stroke: var(--rule); stroke-opacity: 0.18; stroke-width: 1; stroke-dasharray: 2 4; }
.chart-svg .axis text { fill: var(--char); }
.chart-svg .dots circle { fill: var(--ember); }
.chart-svg .dots circle.dot-now { fill: var(--ember); stroke: var(--paper-2); stroke-width: 3; }
.chart-svg .annot text { fill: var(--ink); font-weight: 600; font-size: 12px; }
.chart-svg .line {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: draw 2.4s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 0.2s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* BRIEF (editorial paragraph block) */
.brief {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 350;
}
.brief p { margin: 0 0 22px; }
.dropcap {
  float: left;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 78px;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--ember);
}
.brief b { color: var(--ink); font-weight: 600; }

/* ============================================================
   QUIZ
   ============================================================ */
.quiz {
  max-width: 760px;
  margin: 0 auto;
}
.quiz-shell {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 40px;
  position: relative;
}
@media (max-width: 600px) {
  .quiz-shell { padding: 28px 22px; }
}

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.quiz-progress span {
  flex: 1;
  height: 4px;
  background: var(--rule);
  opacity: 0.18;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.quiz-progress span.is-on { opacity: 1; background: var(--ember); }
.quiz-progress span.is-done { opacity: 0.6; background: var(--ink); }

.quiz-stage { min-height: 280px; }
.quiz-q-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}
.quiz-q {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 12px;
}
.quiz-help {
  font-size: 14.5px;
  color: var(--char);
  margin: 0 0 28px;
  line-height: 1.5;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  font-size: 15.5px;
  text-align: left;
  font-family: var(--sans);
  color: var(--ink);
  transition: all 0.2s ease;
  width: 100%;
}
.quiz-option:hover { border-color: var(--ember); transform: translateX(4px); }
.quiz-option.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quiz-option .qmark {
  width: 18px; height: 18px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quiz-option.selected .qmark { background: var(--ember); border-color: var(--ember); }
.quiz-option.selected .qmark::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--paper);
  border-radius: 50%;
}

.quiz-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}
.quiz-step {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--char);
}

#quizBack[disabled], #quizNext[disabled] { opacity: 0.35; cursor: not-allowed; }

.grade-result {
  max-width: 880px;
  margin: 56px auto 0;
  background: var(--ink);
  color: var(--paper);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ember);
  animation: fadeUp 0.6s ease;
}
@media (max-width: 720px) {
  .grade-result { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
}
.grade-letter {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(120px, 18vw, 200px);
  line-height: 0.85;
  color: var(--ember);
  letter-spacing: -0.04em;
}
.grade-body h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 8px;
}
.grade-body h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.018em;
}
.grade-body p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.78);
  margin: 0 0 16px;
}
.grade-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.grade-actions .btn {
  border-color: rgba(244, 239, 230, 0.4);
  color: var(--paper);
}
.grade-actions .btn-primary {
  background: var(--ember);
  border-color: var(--ember);
}
.grade-actions .btn-primary:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.grade-actions .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   BROKERS
   ============================================================ */
.broker-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.broker-search input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.broker-search input:focus { border-color: var(--ember); }
.broker-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.broker-filter {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-2);
}
.broker-filter:hover { border-color: var(--ember); color: var(--ember); }
.broker-filter.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.broker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 880px) { .broker-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .broker-grid { grid-template-columns: 1fr; } }

.broker {
  background: var(--paper-2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.25s ease;
}
.broker:hover { background: var(--paper); }
.broker-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}
.broker-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.broker-meta {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.broker-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.broker-spec span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  color: var(--char);
}
.broker-count {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--char);
  margin-top: 18px;
  text-align: center;
}

/* ============================================================
   HARDEN
   ============================================================ */
.harden-progress {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.harden-track {
  flex: 1;
  height: 6px;
  background: var(--rule);
  opacity: 1;
  position: relative;
  background-color: rgba(31, 27, 22, 0.12);
}
.harden-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--ember);
  transition: width 0.4s cubic-bezier(.2,.8,.2,1);
}
.harden-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char);
  white-space: nowrap;
}

.zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .zones { grid-template-columns: 1fr; } }

.zone {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.zone-num {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ember);
}
.zone-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--char);
  text-align: right;
}
.zone-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.012em;
}
.zone-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 8px;
}
.zone-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zone-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid transparent;
  background: var(--paper);
  transition: all 0.2s ease;
  line-height: 1.45;
}
.zone-list li:hover { border-color: var(--ember); }
.zone-list li.checked { color: var(--char); text-decoration: line-through; background: var(--paper-2); }
.zone-list .check {
  width: 16px; height: 16px;
  border: 1px solid var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.zone-list li.checked .check { background: var(--ember); border-color: var(--ember); }
.zone-list li.checked .check::after {
  content: "";
  position: absolute;
  width: 8px; height: 4px;
  border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

/* ============================================================
   FAIR PLAN Q&A
   ============================================================ */
.qa {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.qa-item {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
}
.qa-item:last-child { border-bottom: 1px solid var(--rule); }
.qa-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.014em;
  margin: 0 0 14px;
  color: var(--ink);
}
.qa-item p, .qa-item ol {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 350;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.qa-item ol { padding-left: 28px; }
.qa-item ol li { margin-bottom: 8px; }
.qa-item b { color: var(--ink); font-weight: 600; }
.qa-item em { color: var(--ember); font-style: italic; }
.qa-item .mono { background: var(--paper-2); padding: 1px 6px; font-size: 14px; }

/* ============================================================
   SOURCES
   ============================================================ */
.src-list {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  counter-reset: src;
}
.src-list li {
  counter-increment: src;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.src-list li::before {
  content: counter(src, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ember);
  padding-top: 4px;
}
.src-list li:last-child { border-bottom: 1px solid var(--rule); }
.src-list a { color: var(--ember); border-bottom: 1px solid var(--ember); transition: opacity 0.2s ease; }
.src-list a:hover { opacity: 0.7; }
.src-list .src-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char);
  display: block;
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 2px solid var(--rule);
  background: var(--paper-2);
  padding: 48px var(--gutter);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  .foot-inner { grid-template-columns: 1fr; gap: 24px; }
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
}
.foot-brand .brand-mark { color: var(--ember); }
.foot-disc p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--char);
  margin: 0 0 8px;
  max-width: 720px;
}
.foot-disc .mono { color: var(--ink-2); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
