:root {
  --paper: #f2eee3;
  --paper-deep: #e7e0d2;
  --ink: #132a25;
  --muted: #5d6e68;
  --night: #0b201c;
  --night-soft: #12352e;
  --green: #b2f63b;
  --cyan: #63e4d2;
  --gold: #f0c36a;
  --line: #c9d5ca;
  --display: "Chakra Petch", "Space Grotesk", "Trebuchet MS", sans-serif;
  --body: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(20px, 5.5vw, 80px);
  --measure: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--body);
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
button, input { font: inherit; }
button { cursor: pointer; }

.hero {
  position: relative;
  min-height: min(840px, 100svh);
  overflow: hidden;
  isolation: isolate;
  color: #f5f5e9;
  background: var(--night);
}
.hero-media, .hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: .82;
}
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 16, .97) 0%, rgba(5, 18, 16, .85) 34%, rgba(5, 18, 16, .35) 70%, rgba(5, 18, 16, .18) 100%),
    linear-gradient(0deg, rgba(5, 18, 16, .82) 0%, rgba(5, 18, 16, .12) 50%, rgba(5, 18, 16, .35) 100%);
}
.site-nav, .hero-copy, .scroll-cue { position: relative; z-index: 2; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 25px var(--gutter);
  font-size: 13px;
}
.brand {
  color: #f5f5e9;
  font: 700 21px/1 var(--display);
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--green); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: #e5eee1;
  text-decoration: none;
  text-underline-offset: .3em;
}
.nav-links a:hover { color: var(--green); text-decoration: underline; }
.hero-copy {
  max-width: var(--measure);
  min-height: calc(min(840px, 100svh) - 79px);
  margin: 0 auto;
  padding: clamp(54px, 10vw, 128px) var(--gutter) 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.eyebrow, .section-kicker, .poster-kicker, .lab-number, .reader-label, .share-url-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 22px; color: var(--green); }
.eyebrow span { color: var(--gold); padding: 0 6px; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1 {
  max-width: 9ch;
  margin: 0 0 26px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: .91;
}
h1 em { color: var(--cyan); font-style: normal; }
.dek {
  max-width: 48ch;
  margin: 0 0 22px;
  color: #e6eee3;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.4;
  text-wrap: pretty;
}
.byline {
  margin: 0 0 13px;
  color: #f5f5e9;
  font-size: 14px;
  line-height: 1.55;
}
.byline span { display: block; color: #bdcec2; font-size: 12px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 17px;
  margin: 0;
  color: #bdcec2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-meta span + span::before { content: "·"; margin-right: 17px; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button, .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.button { padding: 11px 18px; font-size: 14px; font-weight: 600; }
.button:hover { transform: translateY(-2px); }
.button span { margin-left: 10px; }
.button-primary { background: var(--green); color: #0b231d; border-color: var(--green); }
.button-primary:hover { background: #c8ff63; border-color: #c8ff63; }
.button-quiet { background: rgba(8, 31, 26, .55); border-color: rgba(220, 240, 218, .55); color: #f5f5e9; }
.button-quiet:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-note { margin: 31px 0 0; color: #b3c4b8; font-size: 12px; }
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 31px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d6e4d8;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue span { color: var(--gold); font-size: 17px; }
.scroll-cue:hover { color: var(--green); }

main { overflow: hidden; }
.signal, .reader-section, .lab-section, .easter-egg, .share-section {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.signal { padding-top: clamp(65px, 10vw, 130px); padding-bottom: clamp(62px, 9vw, 112px); }
.section-kicker { margin: 0 0 19px; color: #24786b; }
.signal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(38px, 9vw, 130px);
  align-items: start;
}
h2 {
  margin: 0;
  color: var(--night);
  font-size: clamp(34px, 5vw, 63px);
  line-height: 1.02;
}
.signal h2 { max-width: 14ch; }
.lead { max-width: 45ch; margin: 0; color: #324d44; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.42; }
.signal-quote { max-width: 34ch; margin: 34px 0 0; padding-left: 19px; border-left: 3px solid var(--gold); color: #24786b; font-family: var(--display); font-size: 19px; line-height: 1.35; }

.reader-section { padding-top: clamp(66px, 9vw, 112px); padding-bottom: clamp(68px, 9vw, 116px); border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 33px; }
.section-heading h2 { max-width: 12ch; font-size: clamp(35px, 5vw, 64px); }
.section-aside { max-width: 36ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reader-label { color: var(--muted); font-size: 10px; letter-spacing: .08em; overflow-wrap: anywhere; }
.reader-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px 22px; }
.text-button { min-height: 35px; padding: 4px 0; border: 0; background: transparent; color: #24786b; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; }
.text-button:hover { color: #0d4d43; text-decoration-color: currentColor; }
.reader-stage { position: relative; min-height: min(780px, 72svh); margin-top: 24px; background: #0f2b26; }
.reader-poster { position: relative; min-height: min(780px, 72svh); overflow: hidden; background: #0a211d; }
.reader-poster > img { display: block; width: 100%; height: 100%; min-height: min(780px, 72svh); object-fit: cover; object-position: center; opacity: .55; }
.reader-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 17, 15, .93), rgba(4, 17, 15, .48) 58%, rgba(4, 17, 15, .2)); }
.poster-copy { position: absolute; z-index: 1; top: 50%; left: clamp(26px, 7vw, 86px); max-width: 36ch; transform: translateY(-50%); color: #eef2e9; }
.poster-kicker { margin: 0 0 18px; color: var(--green); }
.poster-copy p:not(.poster-kicker) { margin: 0 0 24px; font-size: clamp(18px, 2vw, 25px); line-height: 1.4; }
#pdf-frame { display: block; width: 100%; min-height: min(780px, 72svh); height: min(780px, 72svh); border: 0; background: #fff; }
.reader-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 15px; color: var(--muted); font-size: 12px; }
.reader-foot p { margin: 0; }
.reader-foot a { color: #24786b; text-underline-offset: .25em; }

.lab-section { padding-top: clamp(70px, 10vw, 125px); padding-bottom: clamp(72px, 10vw, 125px); border-top: 1px solid var(--line); }
.lab-links { border-top: 1px solid var(--line); }
.lab-link { display: grid; grid-template-columns: 65px minmax(0, 1fr) 28px; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: padding .22s ease, color .22s ease; }
.lab-link:hover { padding-inline: 12px; color: #176f63; }
.lab-number { color: #24786b; }
.lab-copy { display: flex; flex-direction: column; gap: 5px; }
.lab-copy strong { font-family: var(--display); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.1; }
.lab-copy span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.lab-arrow { color: var(--gold); font-size: 23px; }

.easter-egg { display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr); gap: clamp(40px, 9vw, 120px); padding-top: clamp(67px, 10vw, 124px); padding-bottom: clamp(67px, 10vw, 124px); border-top: 1px solid var(--line); }
.easter-egg h2 { max-width: 8ch; color: #176f63; }
.egg-copy { color: #324d44; }
.egg-copy p { margin: 0 0 17px; max-width: 47ch; }
.egg-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.share-section { padding-top: clamp(68px, 9vw, 113px); padding-bottom: clamp(75px, 10vw, 130px); border-top: 1px solid var(--line); }
.share-section h2 { max-width: 12ch; margin-bottom: 34px; }
.share-row { max-width: 780px; }
.share-url-label { display: block; margin-bottom: 9px; color: var(--muted); }
.share-control { display: flex; gap: 15px; align-items: center; border-bottom: 2px solid var(--ink); }
.share-control input { min-width: 0; flex: 1; padding: 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; }
.share-control input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.share-control .text-button { flex: 0 0 auto; }
.copy-status { min-height: 1.7em; margin: 8px 0 0; color: #24786b; font-family: var(--mono); font-size: 11px; }

.site-footer { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 34px var(--gutter) 40px; background: var(--night); color: #d5e3d5; font-size: 13px; }
.site-footer .brand { display: inline-block; font-size: 18px; }
.site-footer p { max-width: 34ch; margin: 13px 0 0; color: #a9bdb0; line-height: 1.5; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px 23px; color: #a9bdb0; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.footer-meta a { color: var(--gold); text-underline-offset: .25em; }
/* Opens the shared analytics.js consent panel (data-analytics-preferences). */
.footer-link { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.footer-link:hover { color: #fff3d6; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 760px; }
  .hero-copy { min-height: calc(760px - 72px); padding-top: 55px; padding-bottom: 75px; justify-content: center; }
  .nav-links { gap: 14px; font-size: 12px; }
  .hero-meta { max-width: 30ch; gap: 4px 11px; }
  .hero-meta span + span::before { margin-right: 11px; }
  .signal-grid, .easter-egg { grid-template-columns: 1fr; gap: 32px; }
  .signal h2, .easter-egg h2 { max-width: 16ch; }
  .section-heading { display: block; }
  .section-aside { margin-top: 21px; }
  .reader-toolbar { align-items: start; flex-direction: column; }
  .reader-actions { justify-content: start; }
  .reader-stage, .reader-poster { min-height: 570px; }
  .reader-poster > img { min-height: 570px; }
  #pdf-frame { min-height: 570px; height: 570px; }
  .reader-foot { display: block; }
  .reader-foot a { display: inline-block; margin-top: 8px; }
  .lab-link { grid-template-columns: 43px minmax(0, 1fr) 22px; gap: 12px; padding-block: 21px; }
  .lab-link:hover { padding-inline: 0; }
  .lab-copy span { font-size: 13px; }
  .share-control { align-items: end; }
  .share-control input { font-size: 10px; }
  .site-footer { display: block; }
  .footer-meta { justify-content: start; margin-top: 24px; }
}
@media (max-width: 420px) {
  .site-nav { padding-top: 19px; }
  .nav-links a:first-child { display: none; }
  h1 { font-size: clamp(49px, 16vw, 70px); }
  .hero-actions { display: grid; width: 100%; }
  .button { width: 100%; }
  .reader-poster, .reader-poster > img { min-height: 500px; }
  #pdf-frame { min-height: 500px; height: 500px; }
  .share-control { display: block; border-bottom: 0; }
  .share-control input { display: block; width: 100%; padding-block: 11px; border-bottom: 2px solid var(--ink); }
  .share-control .text-button { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
[hidden] { display: none !important; }
