/* ════════════════════════════════════════════════════════════════
   CDO subpages — shared stylesheet (guides / compare / es mirrors)
   Same Editorial Luxury system as the landing (index.html is the
   source of truth for tokens; keep them byte-identical when editing).
   Content pages: everything renders with NO JavaScript — reveals are
   progressive enhancement only.
   ════════════════════════════════════════════════════════════════ */
:root {
  --paper:      #FAF6EE;
  --paper-warm: #F4EDDF;
  --paper-card: #FFFDF8;
  --ink:        #221810;
  --ink-soft:   #594B3F;
  --ink-mute:   #8C7C6D;
  --line:       rgba(34,24,16,0.13);
  --line-soft:  rgba(34,24,16,0.07);
  --ember:      #C2490D;
  --ember-deep: #9E3A09;
  --ember-08:   rgba(194,73,13,0.08);
  --ember-15:   rgba(194,73,13,0.16);
  --espresso:      #171008;
  --espresso-card: #221A11;
  --cream-on-dark: #F3EBDD;
  --mute-on-dark:  #A8998A;
  --line-on-dark:  rgba(243,235,221,0.13);
  --green: #3A7D44;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Schibsted Grotesk', 'Segoe UI', sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
::selection { background: var(--ember); color: var(--paper); }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain — fixed, pointer-events none */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 560; letter-spacing: -0.012em; }
h4 { color: var(--ink); }
.tnum, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}

/* ═══ Floating island nav (landing DNA) ═══ */
.navwrap { position: fixed; top: 0; left: 0; right: 0; z-index: 90; display: flex; justify-content: center; padding: 18px 16px 0; pointer-events: none; }
nav.island {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  background: rgba(250,246,238,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px -18px rgba(34,24,16,0.28), inset 0 1px 0 rgba(255,255,255,0.7);
  border-radius: 100px; padding: 8px 10px;
}
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; padding: 4px 12px 4px 6px; }
.nav-brand svg { width: 27px; height: 27px; }
.nav-brand b { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 13px; border-radius: 100px;
  transition: background 0.35s var(--spring), color 0.35s var(--spring);
}
.nav-links > a:hover { background: rgba(34,24,16,0.06); color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--ember); }
.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; margin: 0 8px; }
.lang-toggle a {
  text-decoration: none;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-mute); padding: 6px 11px;
  transition: background 0.35s var(--spring), color 0.35s var(--spring);
}
.lang-toggle a.active { background: var(--ink); color: var(--paper); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  background: var(--ember); color: var(--paper) !important;
  padding: 8px 7px 8px 18px !important; border-radius: 100px !important;
  font-weight: 600 !important; font-size: 14px;
  transition: background 0.35s var(--spring), transform 0.35s var(--spring) !important;
}
.nav-cta:hover { background: var(--ember-deep) !important; }
.nav-cta:active { transform: scale(0.97); }
.cta-orb {
  width: 26px; height: 26px; border-radius: 100px; background: rgba(255,248,238,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1; transition: transform 0.5s var(--spring);
}
.nav-cta:hover .cta-orb { transform: translate(2px, -1px) scale(1.05); }

.burger {
  display: none; position: relative; width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
}
.burger i {
  position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: top 0.35s var(--spring), transform 0.35s var(--spring);
}
.burger i:first-child { top: 16px; }
.burger i:last-child { top: 23px; }
.menu-open .burger i:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 19px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 85; background: rgba(250,246,238,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.45s var(--spring), visibility 0.45s var(--spring);
}
.menu-open .sheet { opacity: 1; visibility: visible; pointer-events: auto; }
.sheet a {
  font-family: var(--serif); font-size: 27px; font-weight: 560; color: var(--ink);
  text-decoration: none; padding: 8px 20px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--spring), transform 0.5s var(--spring);
}
.menu-open .sheet a { opacity: 1; transform: none; }
.menu-open .sheet a:nth-child(1) { transition-delay: 0.08s; }
.menu-open .sheet a:nth-child(2) { transition-delay: 0.13s; }
.menu-open .sheet a:nth-child(3) { transition-delay: 0.18s; }
.menu-open .sheet a:nth-child(4) { transition-delay: 0.23s; }
.menu-open .sheet a:nth-child(5) { transition-delay: 0.28s; }
.sheet .sheet-signin { font-family: var(--sans); font-size: 16px; color: var(--ink-mute); border: none; margin-top: 18px; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 12px 14px 26px; border-radius: 100px;
  font-size: 15.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; font-family: var(--sans);
  transition: background 0.4s var(--spring), color 0.4s var(--spring), border-color 0.4s var(--spring), transform 0.4s var(--spring), box-shadow 0.5s var(--spring);
}
.btn:active { transform: scale(0.98); }
.btn .orb {
  width: 30px; height: 30px; border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; flex-shrink: 0;
  transition: transform 0.5s var(--spring);
}
.btn:hover .orb { transform: translate(2px, -1px) scale(1.06); }
.btn-ember { background: var(--ember); color: #FFF8EE; }
.btn-ember:hover { background: var(--ember-deep); box-shadow: 0 18px 38px -14px rgba(194,73,13,0.45); }
.btn-ember .orb { background: rgba(255,248,238,0.2); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 13px 25px; }
.btn-line:hover { border-color: var(--ink); }
.on-dark .btn-line { color: var(--cream-on-dark); border-color: var(--line-on-dark); }
.on-dark .btn-line:hover { border-color: var(--cream-on-dark); }

/* ═══ Section scaffolding ═══ */
section { padding: clamp(72px, 8vw, 120px) clamp(20px, 4.5vw, 56px); }
.wrap { max-width: 1200px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ember); border: 1px solid var(--ember-15);
  background: var(--ember-08); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 26px;
}
.on-dark .eyebrow { color: #E8915C; border-color: rgba(232,145,92,0.25); background: rgba(232,145,92,0.08); }
.h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.06; margin-bottom: 24px; max-width: 24ch;
}
.h2 em { font-style: italic; font-weight: 480; color: var(--ember); }
.on-dark .h2 { color: var(--cream-on-dark); }
.on-dark .h2 em { color: #E8915C; }
.lede { font-size: clamp(16.5px, 1.55vw, 19px); max-width: 62ch; }
.bg-warm { background: var(--paper-warm); }
.on-dark { background: var(--espresso); color: var(--mute-on-dark); }

/* ═══ Article hero ═══ */
.page-hero { padding-top: clamp(140px, 16vw, 190px); padding-bottom: clamp(44px, 5vw, 64px); position: relative; }
.page-hero .h1 {
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.03; letter-spacing: -0.016em; max-width: 20ch; margin-bottom: 24px;
}
.page-hero .h1 em { font-style: italic; font-weight: 480; color: var(--ember); }
.hero-glow { position: absolute; inset: -8% -6%; z-index: -1; pointer-events: none; }
.hero-glow::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 34% 40% at 18% 24%, rgba(194,73,13,0.09), transparent 70%);
}
.page-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  margin-top: 26px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute);
}
.page-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
/* Double-bezel shell for product imagery (landing DNA) */
.shell {
  background: rgba(34,24,16,0.045);
  border: 1px solid var(--line-soft);
  border-radius: 26px; padding: 8px;
}
.shell > .core {
  border-radius: 19px; overflow: hidden;
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 24px 60px -30px rgba(34,24,16,0.35);
}
.shell .core img { width: 100%; display: block; }
figure.product-shot { margin: 0; }
figure.product-shot figcaption {
  margin-top: 12px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px;
}
figure.product-shot figcaption::before { content: ''; width: 14px; height: 1px; background: var(--ember); flex-shrink: 0; }

/* ═══ Long-form prose ═══ */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(25px, 2.8vw, 34px); line-height: 1.12;
  margin-top: 2.2em; scroll-margin-top: 110px;
}
.prose h2 em { font-style: italic; font-weight: 480; color: var(--ember); }
.prose h3 { font-size: clamp(19px, 2vw, 23px); margin-top: 1.8em; scroll-margin-top: 110px; }
.prose p strong, .prose li strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ember); text-decoration-color: var(--ember-15); text-underline-offset: 3px; transition: text-decoration-color 0.3s var(--spring); }
.prose a:hover { text-decoration-color: var(--ember); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.55em; }
.prose li::marker { color: var(--ember); }
.prose .cite { font-family: var(--mono); font-size: 0.82em; color: var(--ink-mute); letter-spacing: 0.02em; }

/* Callout — bordered card, no left-accent slop */
.callout {
  background: var(--paper-card); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 24px 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.callout .co-label {
  display: block; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px;
}
.callout p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.callout p + p { margin-top: 0.8em; }
.callout.co-case { background: var(--paper-warm); }
.callout.co-case .co-label { color: var(--ink-mute); }
.callout.co-case i { font-family: var(--serif); font-style: italic; color: var(--ink); }

/* ═══ Data tables ═══ */
.dtable-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--paper-card); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7); }
table.dtable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.dtable th {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute);
  text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.dtable td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-soft); }
.dtable tr:last-child td { border-bottom: none; }
.dtable td b { color: var(--ink); font-weight: 600; }
.dtable td.num { font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.dtable .yes { color: var(--green); font-weight: 600; }
.dtable .part { color: var(--ink-mute); }
.dtable .no { color: var(--ink-mute); opacity: 0.7; }
.dtable td .sub { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.dtable td.sub-cell { color: var(--ink-mute); font-size: 13.5px; background: rgba(34,24,16,0.018); }

/* Timeline ruler — the shift-hour visual (guide's signature detail) */
.ruler { margin: 8px 0 4px; }
.ruler-bar {
  position: relative; height: 54px; border-radius: 12px;
  background: var(--paper-warm); border: 1px solid var(--line-soft); overflow: hidden;
}
.ruler-seg { position: absolute; top: 0; bottom: 0; }
.ruler-seg.work { background: transparent; }
.ruler-seg.meal { background: var(--ember-15); border-left: 1px solid var(--ember); border-right: 1px solid var(--ember); }
.ruler-seg .tag {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ember-deep); white-space: nowrap;
}
.ruler-ticks { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-mute); }
.ruler-cap { margin-top: 10px; font-size: 13px; color: var(--ink-mute); }

/* ═══ Calculator (landing .calc DNA, extended) ═══ */
.calc {
  background: var(--paper-card); border: 1px solid var(--line-soft); border-radius: 22px;
  padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  background-image: radial-gradient(130% 100px at 50% -40px, rgba(194,73,13,0.045), transparent);
  background-repeat: no-repeat;
}
.calc-head h2, .calc-head h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.calc-head p { font-size: 14px; color: var(--ink-mute); max-width: 60ch; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 34px; margin-top: 26px; align-items: center; }
.calc-controls label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.calc-controls output { font-size: 13px; font-weight: 600; color: var(--ember); letter-spacing: 0; }
.calc-controls input[type="range"] { width: 100%; accent-color: var(--ember); height: 26px; cursor: pointer; margin-bottom: 18px; }
.calc-outs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc-out { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px; }
.calc-out.wide { grid-column: 1 / -1; }
.calc-num { display: block; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 560; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.calc-num.ember { color: var(--ember); }
.calc-num.green { color: var(--green); }
.calc-lbl { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 5px; }
.calc-note { margin-top: 18px; font-size: 12px; color: var(--ink-mute); }
@media (max-width: 820px) { .calc-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ═══ FAQ (landing DNA) ═══ */
.faq-list { margin-top: 40px; max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(16.5px, 1.8vw, 20px); font-weight: 560; color: var(--ink);
  transition: color 0.3s var(--spring), padding-left 0.35s var(--spring);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--ember); padding-left: 10px; }
.faq-list summary .ind { color: var(--ember); font-size: 23px; font-weight: 400; flex-shrink: 0; line-height: 1; transition: transform 0.45s var(--spring); }
.faq-list details[open] summary .ind { transform: rotate(45deg); }
.faq-a { padding: 0 4px 26px; font-size: 15px; color: var(--ink-mute); line-height: 1.7; max-width: 74ch; }
.faq-a strong { color: var(--ink-soft); }
.faq-a a { color: var(--ember); }

/* ═══ Resource hub cards ═══ */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; margin-top: 44px; }
.res-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: var(--paper-card); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 26px 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--spring), border-color 0.45s var(--spring);
}
.res-card:hover { transform: translateY(-3px); border-color: var(--ember-15); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 18px 40px -22px rgba(34,24,16,0.25); }
.res-card .res-kind {
  align-self: flex-start;
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ember);
  border: 1px solid var(--ember-15); background: var(--ember-08);
  border-radius: 100px; padding: 4px 10px;
}
.res-card h3 { font-size: 19.5px; line-height: 1.2; transition: color 0.3s var(--spring); }
.res-card:hover h3 { color: var(--ember); }
.res-card p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }
.res-card .res-go { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ember); }

/* ═══ CTA band ═══ */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; margin: 0 auto 18px; max-width: 22ch; color: var(--cream-on-dark); }
.cta-band h2 em { font-style: italic; font-weight: 480; color: #E8915C; }
.cta-band p { max-width: 58ch; margin: 0 auto 30px; color: var(--mute-on-dark); }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══ Footer (landing DNA) ═══ */
footer { background: var(--espresso); border-top: 1px solid rgba(243,235,221,0.08); padding: 54px clamp(20px, 4.5vw, 56px) 40px; font-size: 13px; color: var(--mute-on-dark); }
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.foot-brand { font-family: var(--serif); color: var(--cream-on-dark); font-weight: 560; font-size: 17px; margin-bottom: 8px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--mute-on-dark); text-decoration: none; transition: color 0.3s var(--spring); }
.foot-links a:hover { color: #E8915C; }
.foot-legal { opacity: 0.6; line-height: 1.7; border-top: 1px solid rgba(243,235,221,0.08); padding-top: 24px; }

/* ═══ Reveals — progressive enhancement (IO adds .on) ═══ */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--spring), transform 0.8s var(--spring); }
.js .rv.on { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: 0.06s; }
.js .rv-d2 { transition-delay: 0.12s; }
.js .rv-d3 { transition-delay: 0.18s; }
.js .rv-d4 { transition-delay: 0.24s; }

/* ════════════════════════════════════════════════════════════════
   VISUAL VOCABULARY — data figures, all CSS-only, zero JS.
   Everything below renders identically with scripting disabled;
   these are information graphics, never decoration. No new colors.
   ════════════════════════════════════════════════════════════════ */

/* Let a figure break the 74ch prose measure */
.prose .bleed { max-width: none; }
.fig { margin: 34px 0; }
.fig-cap {
  margin-top: 12px; font-family: var(--mono); font-size: 11px; line-height: 1.6;
  letter-spacing: 0.03em; color: var(--ink-mute); max-width: 68ch;
}
.fig-cap b { color: var(--ink-soft); font-weight: 600; }

/* ─── Key fact — the self-contained citable answer block ─── */
.keyfact {
  border: 1px solid var(--line); border-top: 2px solid var(--ember);
  border-radius: 4px 4px 18px 18px; background: var(--paper-card);
  padding: 26px 28px 24px; margin: 32px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.keyfact .kf-label {
  display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px;
}
.keyfact p { font-size: 16px; line-height: 1.72; color: var(--ink-soft); max-width: 72ch; }
.keyfact p + p { margin-top: 0.85em; }
.keyfact strong { color: var(--ink); font-weight: 600; }
.keyfact.on-warm { background: var(--paper-warm); }

/* ─── Stat strip — headline numbers with provenance ─── */
.statstrip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
}
.statstrip .st {
  background: var(--paper-card); padding: 22px 20px 20px;
}
.statstrip .st-n {
  display: block; font-family: var(--serif); font-size: clamp(27px, 3.1vw, 38px);
  font-weight: 560; line-height: 1; letter-spacing: -0.02em; color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.statstrip .st-n.ember { color: var(--ember); }
.statstrip .st-n.green { color: var(--green); }
.statstrip .st-n .u { font-size: 0.52em; letter-spacing: 0; color: var(--ink-mute); margin-left: 2px; }
.statstrip .st-l {
  display: block; margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--ink-soft);
}
.statstrip .st-s {
  display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.04em; color: var(--ink-mute);
}
.on-dark .statstrip { background: var(--line-on-dark); border-color: var(--line-on-dark); }
.on-dark .statstrip .st { background: var(--espresso-card); }
.on-dark .statstrip .st-n { color: var(--cream-on-dark); }
.on-dark .statstrip .st-n.ember { color: #E8915C; }
.on-dark .statstrip .st-l { color: var(--mute-on-dark); }

/* ─── Bar comparison — proportional magnitude ─── */
.barviz { display: flex; flex-direction: column; gap: 16px; }
.barviz .bv-row { display: grid; grid-template-columns: minmax(96px, 22%) 1fr; gap: 16px; align-items: center; }
.barviz .bv-k { font-size: 13.5px; line-height: 1.35; color: var(--ink-soft); }
.barviz .bv-k b { display: block; color: var(--ink); font-weight: 600; }
.barviz .bv-k .bv-sub { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-mute); margin-top: 2px; }
.barviz .bv-track { position: relative; height: 34px; background: var(--line-soft); border-radius: 6px; overflow: hidden; }
.barviz .bv-fill {
  position: absolute; inset: 0 auto 0 0; width: var(--w, 50%);
  background: var(--ember-15); border-right: 2px solid var(--ember);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 11px;
}
.barviz .bv-fill.mute { background: rgba(34,24,16,0.07); border-right-color: var(--ink-mute); }
.barviz .bv-fill.good { background: rgba(58,125,68,0.13); border-right-color: var(--green); }
.barviz .bv-v {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums; color: var(--ink); white-space: nowrap;
}
.barviz .bv-fill.mute .bv-v { color: var(--ink-soft); }
/* value that would overflow a short bar sits outside it */
.barviz .bv-out { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--w, 50%) + 11px); }

/* ─── Penalty stack — accumulating line items to a total ─── */
.stack { border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; background: var(--paper-card); }
.stack .sk-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-soft);
}
.stack .sk-row .sk-k { font-size: 14.5px; color: var(--ink-soft); }
.stack .sk-row .sk-k .sk-sub { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.stack .sk-row .sk-v {
  font-family: var(--mono); font-size: 14px; font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums; color: var(--ink);
}
.stack .sk-row.sk-total { background: var(--paper-warm); border-bottom: none; padding: 19px 20px; }
.stack .sk-row.sk-total .sk-k { font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 560; }
.stack .sk-row.sk-total .sk-v { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 27px); color: var(--ember); font-weight: 560; }

/* ─── Flow — numbered process steps ─── */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.flow .fl {
  position: relative; background: var(--paper-card); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 20px 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.flow .fl-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 25px; height: 25px; border-radius: 50%; background: var(--ember-08);
  border: 1px solid var(--ember-15); color: var(--ember);
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; margin-bottom: 12px;
}
.flow .fl h4 { font-family: var(--serif); font-size: 16.5px; font-weight: 560; margin-bottom: 6px; letter-spacing: -0.01em; }
.flow .fl p { font-size: 13.5px; line-height: 1.6; color: var(--ink-mute); }
.flow .fl-t { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ember); }
.flow.flow-dark .fl { background: var(--espresso-card); border-color: var(--line-on-dark); box-shadow: none; }
.flow.flow-dark .fl h4 { color: var(--cream-on-dark); }
.flow.flow-dark .fl p { color: var(--mute-on-dark); }

/* ─── Dial — proportion, one number against its whole ─── */
.dialrow { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.dial {
  position: relative; width: 152px; height: 152px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--ember) 0 var(--p, 10%), var(--line-soft) var(--p, 10%) 100%);
}
.dial::after {
  content: ''; position: absolute; inset: 15px; border-radius: 50%;
  background: var(--paper-card); box-shadow: inset 0 1px 2px rgba(34,24,16,0.06);
}
.dial .dl-in {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.dial .dl-n {
  font-family: var(--serif); font-size: 31px; font-weight: 560; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.dial .dl-l { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
.dialrow .dl-side { flex: 1 1 250px; }
.dialrow .dl-side p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.dialrow .dl-side p + p { margin-top: 0.7em; }

/* ─── Tile map — the states grid (geography as a table, not a drawing) ─── */
.tilemap {
  display: grid; grid-template-columns: repeat(11, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: 5px; max-width: 640px;
}
.tilemap .tm {
  grid-column: var(--c); grid-row: var(--r);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: 5px; text-decoration: none;
  font-family: var(--mono); font-size: clamp(8px, 1.05vw, 11px); font-weight: 600;
  letter-spacing: 0.02em; background: rgba(34,24,16,0.045); color: var(--ink-mute);
  transition: background 0.3s var(--spring), color 0.3s var(--spring), transform 0.3s var(--spring);
}
.tilemap a.tm { background: var(--ember-08); color: var(--ember); border: 1px solid var(--ember-15); }
.tilemap a.tm:hover { background: var(--ember); color: var(--paper); transform: translateY(-2px); }
.tilemap a.tm.tm-home { background: var(--ember); color: #FFF8EE; border-color: var(--ember); }
.tilemap a.tm.tm-home:hover { background: var(--ember-deep); }
.tm-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-mute); }
.tm-legend span { display: flex; align-items: center; gap: 7px; }
.tm-legend i { width: 11px; height: 11px; border-radius: 3px; display: block; }
.tm-legend i.k-home { background: var(--ember); }
.tm-legend i.k-live { background: var(--ember-08); border: 1px solid var(--ember-15); }
.tm-legend i.k-soon { background: rgba(34,24,16,0.045); }

/* ─── Pull quote — case law and testimony ─── */
.pq { margin: 34px 0; padding-left: 26px; border-left: 1px solid var(--ember-15); max-width: 68ch; }
.pq blockquote { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 24px); font-style: italic; font-weight: 400; line-height: 1.42; color: var(--ink); letter-spacing: -0.01em; }
.pq figcaption { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-mute); }
.pq figcaption b { color: var(--ink-soft); font-weight: 600; }

/* ─── Timeline — dated events down a rule ─── */
.tline { position: relative; padding-left: 28px; }
.tline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tline .tl { position: relative; padding-bottom: 26px; }
.tline .tl:last-child { padding-bottom: 0; }
.tline .tl::before {
  content: ''; position: absolute; left: -28px; top: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink-mute);
}
.tline .tl.hot::before { border-color: var(--ember); background: var(--ember); }
.tline .tl-d { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); }
.tline .tl h4 { font-family: var(--serif); font-size: 17px; font-weight: 560; margin: 4px 0 5px; letter-spacing: -0.01em; }
.tline .tl p { font-size: 14px; line-height: 1.65; color: var(--ink-mute); max-width: 66ch; }

/* ─── Annotated figure — numbered hotspots over a real screenshot ─── */
.anno { position: relative; }
.anno .an-pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 23px; height: 23px; border-radius: 50%; background: var(--ember); color: #FFF8EE;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 600; z-index: 2;
  box-shadow: 0 0 0 3px rgba(250,246,238,0.85), 0 4px 12px -3px rgba(34,24,16,0.4);
}
.anno-key { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 22px; margin-top: 18px; }
.anno-key .ak { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); }
.anno-key .ak b {
  flex-shrink: 0; width: 19px; height: 19px; border-radius: 50%; margin-top: 1px;
  background: var(--ember-08); border: 1px solid var(--ember-15); color: var(--ember);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
}
.anno-key .ak i { font-style: normal; }
.anno-key .ak i b { all: unset; color: var(--ink-soft); font-weight: 600; }

/* ─── Split contrast — two states of the same moment ─── */
.split2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.split2 .sp {
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 24px 24px 22px;
  background: var(--paper-card); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.split2 .sp.sp-them { background: transparent; box-shadow: none; }
.split2 .sp-label {
  display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 13px;
}
.split2 .sp.sp-us .sp-label { color: var(--ember); }
.split2 .sp h4 { font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); font-weight: 560; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.01em; }
.split2 .sp p { font-size: 14.5px; line-height: 1.68; color: var(--ink-mute); }
.split2 .sp p + p { margin-top: 0.75em; }
.split2 .sp ul { margin-top: 12px; padding-left: 1.15em; font-size: 14px; color: var(--ink-mute); }
.split2 .sp li + li { margin-top: 0.4em; }
.split2 .sp.sp-us li::marker { color: var(--ember); }

/* ─── On-page contents — long guides only ─── */
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin: 34px 0; }
.toc .toc-l { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 13px; }
.toc ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 7px 26px; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; }
.toc a { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; transition: color 0.3s var(--spring); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 10.5px; color: var(--ember); padding-top: 3px; }
.toc a:hover { color: var(--ember); }

/* ─── Fact chips — inline verifiable specifics ─── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--paper-card);
  font-size: 13px; color: var(--ink-soft);
}
.chips .chip b { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--ember); font-variant-numeric: tabular-nums lining-nums; }

/* ─── Sources ─── */
.srcs { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.srcs .src-l { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.srcs ol { padding-left: 1.2em; font-size: 13px; line-height: 1.75; color: var(--ink-mute); }
.srcs li::marker { color: var(--ink-mute); }
.srcs a { color: var(--ink-soft); text-decoration-color: var(--line); }
.srcs a:hover { color: var(--ember); }

/* ═══ Responsive ═══ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  .dialrow { gap: 20px; }
  .anno .an-pin { width: 19px; height: 19px; font-size: 9.5px; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 120px; }
  .calc-outs { grid-template-columns: 1fr; }
  .keyfact { padding: 22px 20px 20px; }
  .barviz .bv-row { grid-template-columns: 1fr; gap: 7px; }
  .barviz .bv-track { height: 30px; }
  .barviz .bv-k b { display: inline; }
  .barviz .bv-k .bv-sub { display: inline; margin-left: 8px; }
  .dial { width: 124px; height: 124px; }
  .dial .dl-n { font-size: 26px; }
  .tilemap { gap: 3px; }
  .pq { padding-left: 18px; }
  .toc ol { grid-template-columns: 1fr; }
}
