:root {
  --ink: #0c0c0b;
  --muted: #77746c;
  --paper: #f5f0e4;
  --surface: #e6e1d7;
  --surface-2: #0c0c0b;
  --accent: #b5221b;
  --accent-2: #e23a30;
  --line: rgba(12, 12, 11, 0.18);
  --shadow: #0c0c0b;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 0;
  --page-pad: clamp(1rem, 2.6vw, 2.75rem);
  --text-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.82rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.14vw, 0.96rem);
  --text-body: clamp(1rem, 0.96rem + 0.16vw, 1.1rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: var(--text-body);
  font-kerning: normal;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  transition: color 180ms ease, background-color 180ms ease;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #0c0c0b;
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 var(--page-pad);
  color: var(--ink);
  background: rgba(245, 240, 228, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.wordmark span:last-child {
  color: var(--accent-2);
}

.site-header > .wordmark {
  flex-direction: row;
  gap: 0.28em;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 3.2vw, 3.6rem);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
}

.primary-nav a::after {
  bottom: -0.55rem;
  height: 2px;
  background: var(--accent);
}

.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.primary-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(820px, calc(100vh - 72px));
  color: #fff;
  background: #0c0c0b;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: 46rem;
  padding: clamp(3.5rem, 8vw, 7rem) var(--page-pad);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero .eyebrow {
  color: #f5f0e4;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 5.2vw, 6.75rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero__dek {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid currentColor;
  font-size: var(--text-xs);
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--shadow);
}

.button--primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.button--ghost {
  background: transparent;
}

.button--sun {
  color: #fff;
  background: #b5221b;
  border-color: #b5221b;
}

.hero .button {
  color: #fff;
}

.hero .button:hover,
.hero .button:focus-visible {
  box-shadow: 5px 5px 0 rgba(12, 12, 11, 0.85);
}

.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 12, 11, 0.58) 0%, rgba(12, 12, 11, 0.24) 45%, transparent 72%),
    linear-gradient(0deg, rgba(12, 12, 11, 0.42) 0%, transparent 40%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.live-strip {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(20rem, 1.25fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 5rem) var(--page-pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.live-strip__status {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.4; }
}

.status-state {
  grid-column: 2;
  color: var(--muted);
  font-weight: 500;
}

.live-strip__copy .eyebrow {
  margin-bottom: 0.75rem;
}

.live-strip h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 3.6vw, 4.25rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.live-strip__copy > :last-child {
  margin-bottom: 0;
}

.text-link {
  position: relative;
  display: inline-flex;
  width: max-content;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 580px;
  color: #0c0c0b;
  background: #f5f0e4;
  border-block: 1px solid rgba(12, 12, 11, 0.18);
}

.story-section__number {
  display: flex;
  align-items: flex-end;
  padding: 0 var(--page-pad);
  overflow: hidden;
  color: #b5221b;
  font-family: var(--display);
  font-size: clamp(9rem, 25vw, 28rem);
  font-weight: 900;
  line-height: 0.68;
  letter-spacing: -0.1em;
  border-right: 1px solid rgba(12, 12, 11, 0.18);
}

.story-section__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(4rem, 8vw, 8rem) var(--page-pad);
}

.story-section__copy .eyebrow {
  color: #b5221b;
}

.story-section__copy h2 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.story-section__copy > p:not(.eyebrow) {
  max-width: 36rem;
  color: #77746c;
  line-height: 1.65;
}

.newsletter {
  padding: clamp(3rem, 6vw, 5rem) var(--page-pad);
  background: var(--surface);
  text-align: center;
}

.newsletter h2 {
  max-width: 16ch;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.newsletter > p:not(.eyebrow) {
  color: var(--muted);
}

.newsletter__form {
  display: flex;
  max-width: 640px;
  margin: 1.75rem auto 0;
  border: 1px solid var(--ink);
}

.newsletter__form input {
  min-width: 0;
  flex: 1;
  padding: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 1rem;
}

.newsletter__form input::placeholder {
  color: var(--muted);
}

.newsletter__form button {
  padding: 1rem 1.25rem;
  color: #fff;
  background: var(--accent);
  border: 0;
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.25rem;
  align-items: end;
  padding: 2.25rem var(--page-pad) 1.5rem;
  color: #0c0c0b;
  background: #f5f0e4;
  border-top: 1px solid rgba(12, 12, 11, 0.18);
}

.wordmark--footer {
  font-size: clamp(1.45rem, 3.2vw, 2.6rem);
}

.site-footer > p {
  max-width: 24rem;
  margin: 0;
  color: #77746c;
}

.site-footer nav {
  display: flex;
  gap: 1.2rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(12, 12, 11, 0.18);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------
   Motion + interaction polish (shared by every page that loads styles.css)
   ------------------------------------------------------------------ */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

.js [data-reveal] {
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}

.js [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(28px);
}

.site-header {
  transition: box-shadow 220ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px -22px rgba(12, 12, 11, 0.7);
}

.button:active {
  transform: translate(0, 0) scale(0.98);
  box-shadow: none;
}

/* Hero entrance */
.js .hero__copy > * {
  animation: rise-in 750ms var(--ease-out) both;
}

.js .hero__copy > :nth-child(2) { animation-delay: 90ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 180ms; }

.js .hero__media {
  overflow: hidden;
  animation: wipe-in 1000ms 120ms var(--ease-out) both;
}

.hero__media img[data-parallax] {
  scale: 1.1;
  will-change: transform;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

@keyframes wipe-in {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* Story: rewinding year + fate ribbon */
.story-section__number span {
  font-variant-numeric: tabular-nums;
}

.story-ribbon {
  width: 100%;
  max-width: 34rem;
  margin: 0 0 2rem;
}

.story-ribbon__bars {
  display: flex;
  height: 3.25rem;
  align-items: flex-end;
  gap: 2px;
  cursor: pointer;
}

.story-ribbon__bars i {
  flex: 1 1 0;
  height: 70%;
  background: #2d6b3d;
  transform-origin: bottom;
  transition: height 180ms var(--ease-out), opacity 180ms ease;
}

.story-ribbon__bars i[data-status="burned"] { height: 100%; background: #b5221b; }
.story-ribbon__bars i[data-status="other"] { height: 45%; background: #77746c; }

.story-ribbon__bars:hover i {
  opacity: 0.55;
}

.story-ribbon__bars i:hover {
  opacity: 1;
  height: 115%;
}

.js .story-section__copy:not(.is-revealed) .story-ribbon__bars i {
  transform: scaleY(0);
}

.js .story-section__copy.is-revealed .story-ribbon__bars i {
  animation: bar-rise 600ms var(--ease-out) both;
  animation-delay: calc(200ms + var(--i, 0) * 14ms);
}

@keyframes bar-rise {
  from {
    transform: scaleY(0);
  }
}

.story-ribbon__caption {
  min-height: 1.6em;
  margin-top: 0.75rem;
  color: #77746c;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-ribbon__caption b {
  color: #0c0c0b;
}

.story-ribbon__caption b[data-status="burned"] { color: #b5221b; }
.story-ribbon__caption b[data-status="survived"] { color: #2d6b3d; }
.story-ribbon__caption b[data-status="other"] { color: #77746c; }

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 1.2rem;
  }

  .menu-toggle {
    display: block;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--page-pad) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
  }

  .live-strip {
    grid-template-columns: 1fr 2fr;
  }

  .live-strip > .text-link {
    grid-column: 2;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story-section__number {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(12, 12, 11, 0.18);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .hero {
    min-height: 560px;
  }

  .hero__copy {
    padding-block: 4.5rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.25rem, 12vw, 4.25rem);
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__media img {
    object-position: 78% center;
  }

  .live-strip {
    grid-template-columns: 1fr;
  }

  .live-strip > .text-link {
    grid-column: 1;
  }

  .story-section__number {
    min-height: 220px;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__form button {
    min-height: 3.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav,
  .site-footer__legal {
    grid-column: 1;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

.live-strip__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(20rem, 1.3fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--page-pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.faq-section__head h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: var(--text-body);
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1.25rem;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tracker-hero {
  padding: clamp(3rem, 7vw, 6rem) var(--page-pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.tracker-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tracker-hero__top .eyebrow {
  margin-bottom: 0;
}

.tracker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tracker-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.geo-answer {
  max-width: 64ch;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  line-height: 1.65;
}

.tracker-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0c0c0b;
  color: #f5f0e4;
  border-bottom: 1px solid var(--line);
}

.tracker-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--page-pad);
  border-right: 1px solid rgba(245, 240, 228, 0.14);
}

.tracker-stat:last-child {
  border-right: 0;
}

.tracker-stat strong {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 0.9;
}

.tracker-stat--burned strong {
  color: var(--accent-2);
}

.tracker-stat--survived strong {
  color: #4ea86d;
}

.tracker-stat span {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.72);
}

.live-updates {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(20rem, 1.3fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--page-pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.live-updates__head h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.live-updates__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.live-update {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.live-update__time {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-update h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.live-update p {
  margin-bottom: 0;
  max-width: 58ch;
  color: var(--muted);
}

@media (max-width: 960px) {
  .faq-section,
  .live-updates {
    grid-template-columns: 1fr;
  }

  .tracker-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-stat {
    border-bottom: 1px solid rgba(245, 240, 228, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .hero__media img[data-parallax] {
    scale: 1;
  }
}
