@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/newsreader-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-600.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-400.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-600.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/figtree-700.woff2") format("woff2");
}

:root {
  --night: #100e0c;
  --night-2: #1a1714;
  --cream: #f6f1e8;
  --cream-2: #efe6d8;
  --ink: #221c17;
  --muted: #6b6258;
  --muted-dark: #cbbfae;
  --copper: #9a5b2e;
  --copper-bright: #c4894f;
  --line: rgba(34, 28, 23, 0.12);
  --line-dark: rgba(246, 241, 232, 0.14);
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --shadow: 0 24px 50px rgba(16, 14, 12, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 400 18px/1.7 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, label.btn { font: inherit; }
::selection { background: #e7c39a; color: #1a1208; }

.skip {
  position: fixed;
  left: 12px;
  top: 0;
  transform: translateY(-150%);
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 90;
  border-radius: 8px;
}
.skip:focus { transform: translateY(12px); }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--copper-bright);
  transform: scaleX(0);
  transform-origin: left center;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 14, 12, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.top .wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--cream);
}
.brand em {
  font-style: italic;
  font-weight: 500;
  color: #e4c09a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.primary { background: var(--copper-bright); color: #1a1208; }
.btn.primary:hover { background: #d7a36a; }
.btn.ghost { border-color: var(--line-dark); color: var(--cream); background: transparent; }
.btn.ghost:hover { border-color: rgba(246, 241, 232, 0.4); }
.btn.ink { background: var(--ink); color: var(--cream); }
.btn.ink:hover { background: #3a312a; }
.btn.small { min-height: 42px; padding: 0 14px; font-size: 0.95rem; }

.hero { padding: 48px 0 96px; }
.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--muted-dark);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pill {
  border: 1px solid var(--line-dark);
  color: #e4c09a;
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  max-width: 100%;
}
.dek {
  margin: 0;
  max-width: 38rem;
  color: #e6ddd2;
  font-size: 1.18rem;
  line-height: 1.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 42px;
  align-items: end;
}
.hero-grid > *,
.facts > *,
.band > * { min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.fine { margin: 0; color: var(--muted-dark); font-size: 0.86rem; max-width: 36rem; }
.fine a { color: #e4c09a; }

.hero-shot {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  border: 1px solid rgba(246, 241, 232, 0.16);
}
.hero-shot img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 50% 30%;
}
.badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(16, 14, 12, 0.78);
  color: var(--cream);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet {
  background: var(--cream);
  color: var(--ink);
  border-radius: 32px 32px 0 0;
  padding: 28px 0 72px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -64px;
  position: relative;
}
.facts div {
  background: #fffdf9;
  border: 1px solid rgba(34, 28, 23, 0.06);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(16, 14, 12, 0.08);
}
.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.facts span { color: var(--muted); font-size: 0.95rem; }

.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  padding-top: 42px;
}
.layout > * { min-width: 0; }
.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  counter-reset: item;
}
.toc p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.toc a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0 6px 34px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.35;
}
.toc a::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--copper);
}
.toc a:hover,
.toc a[aria-current="true"] { color: var(--ink); }
.toc a[aria-current="true"]::before { color: var(--ink); }

.prose { max-width: 74ch; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 1.7em 0 0.4em;
  scroll-margin-top: 96px;
}
.prose h3 { scroll-margin-top: 96px; }
.prose h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 1.4em 0 0.3em;
}
.prose p { margin: 0.85em 0; }
.prose a { color: var(--copper); text-underline-offset: 3px; }
.lead::first-letter {
  font-family: var(--serif);
  font-weight: 600;
  float: left;
  font-size: 3.4rem;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  color: var(--copper);
}
.pull {
  margin: 1.5em 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--copper-bright);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.answer {
  background: var(--cream-2);
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 1.2em;
}
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin: 1.2em 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 640px; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
tr:first-child th { border-bottom-color: rgba(34, 28, 23, 0.2); }
figure { margin: 1.5em 0; }
.prose figure a { display: block; text-decoration: none; color: inherit; }
figure img { border-radius: 18px; width: 100%; object-fit: cover; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
  margin: 1.4em 0;
}
.checks { margin: 1em 0 1.2em; padding: 0; list-style: none; }
.checks li {
  padding: 10px 0 10px 34px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.checks li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 16px;
}
.cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: var(--night);
  color: var(--cream);
  border-radius: 20px;
  padding: 20px 22px;
  margin: 1.6em 0;
}
.cta strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.cta span { display: block; color: var(--muted-dark); margin-top: 4px; }
.cta .btn.primary { flex: 0 0 auto; }
.faq { border-top: 1px solid var(--line); margin-top: 0.6em; }
.faq h3 { margin-bottom: 0.2em; }
.faq p { margin-top: 0; }

.foot {
  background: var(--night);
  color: var(--muted-dark);
  padding: 28px 0 40px;
  font-size: 0.92rem;
}
.foot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot a { color: #e4c09a; }
.foot strong { color: var(--cream); font-weight: 600; }

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 14, 12, 0.94);
  border-top: 1px solid var(--line-dark);
}
.dock .btn { width: 100%; }

.age-kicker {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--copper);
}

@media (max-width: 900px) {
  .hero-grid, .layout, .band, .facts { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .prose h2, .prose h3 { scroll-margin-top: 140px; }
  .layout { padding-top: 28px; gap: 8px; }
  .toc {
    position: sticky;
    top: 72px;
    z-index: 30;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    background: var(--cream);
    padding: 10px 0;
    margin: 0 -4px;
    counter-reset: none;
  }
  .toc p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .toc a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    background: #fffdf9;
  }
  .toc a::before { content: none; }
  .cta { flex-direction: column; align-items: flex-start; }
  .dock {
    display: block;
    transform: translateY(110%);
    transition: transform 0.2s ease;
  }
  .dock.is-on { transform: translateY(0); }
  body { padding-bottom: 76px; }
  .facts { margin-top: -28px; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .top-cta { display: none; }
  h1 { font-size: 2.3rem; }
  .sheet { border-radius: 22px 22px 0 0; }
  .lead::first-letter { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock { transition: none; }
}

.miss { min-height: 70vh; }
.miss .wrap { padding: 72px 0 40px; }
.miss h1 { max-width: 12ch; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.miss .dek { color: #4e463e; margin: 0 0 22px; }

@media print {
  body { background: white; color: black; }
  .skip, .top, .dock, .progress, .hero-shot, .cta, .toc { display: none !important; }
  .hero, .sheet, body { background: #fff !important; color: #1c1612 !important; }
  .dek, .fine, .kicker { color: #3c342c !important; }
  .btn.ghost { color: #1c1612 !important; border-color: #1c1612 !important; }
  .sheet { box-shadow: none; }
  a { text-decoration: underline; }
}
