:root {
  color-scheme: light;
  --cream: #f8f3e9;
  --ink: #201323;
  --night: #17091e;
  --white: #fff8ee;
  --amber: #ffcf55;
  --pink: #ff6fc4;
  --cyan: #87e7ef;
  --header-height: clamp(3.75rem, 4.17vw, 5rem);
  --gutter: clamp(1.75rem, 7vw, 10rem);
  --body: Arial, Helvetica, sans-serif;
  --display: Impact, Haettenschweiler, "Arial Narrow", "Arial Black", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  font: 1rem / 1.55 var(--body);
  color: var(--ink);
  background: var(--cream);
}

a { color: inherit; }
img { display: block; max-inline-size: 100%; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }

:focus-visible {
  outline: 2px solid #d33991;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  color: var(--ink);
  background: var(--cream);
  border-block-end: 1px solid #26132922;
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-block-size: calc(var(--header-height) - 1px);
  padding-inline: clamp(1.25rem, 3.35vw, 5rem);
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-block-size: 2.75rem;
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.wordmark img {
  inline-size: clamp(1.75rem, 2vw, 2.32rem);
  block-size: auto;
  border-radius: 0.27rem;
}

.chapter-nav, .social-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(1.3rem, 3vw, 3.5rem);
}

.chapter-nav { justify-content: center; }
.social-nav { justify-self: end; gap: clamp(1rem, 2vw, 2.3rem); }

.chapter-nav a, .social-nav a {
  display: grid;
  place-content: center;
  position: relative;
  min-block-size: calc(var(--header-height) - 1px);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.chapter-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  block-size: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 160ms ease-out;
}

.chapter-nav a:is([aria-current], :hover)::after { transform: scaleX(1); }
.social-nav a:hover { text-decoration: underline; text-underline-offset: 0.26em; }
.social-nav a:not([href]) { visibility: hidden; }
.site-header a:focus-visible { outline-offset: -3px; }

.scene {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: clip;
  min-block-size: 100vh;
  min-block-size: max(56.25vw, 100svh);
  scroll-snap-align: start;
}

.scene-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
}

.scene-art img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.frame {
  inline-size: 100%;
  max-inline-size: 137rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font: 700 0.875rem / 1.35 var(--mono);
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  inline-size: 2.1rem;
  block-size: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.hero {
  color: var(--white);
  background: var(--night);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #10071453 0%, #10071425 34%, transparent 63%);
  pointer-events: none;
}

.hero-art img { object-position: center; }

.hero-frame {
  display: grid;
  align-items: center;
  padding-block: calc(var(--header-height) + clamp(2.4rem, 4.2vw, 5.25rem)) clamp(3rem, 5vw, 6rem);
}

.hero-copy { justify-self: start; }
.hero .eyebrow { color: var(--amber); }

.hero h1, .scene h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.hero h1 {
  margin-block-start: clamp(1rem, 1.65vw, 1.9rem);
  font-size: clamp(5.35rem, 10.7vw, 13rem);
  line-height: 0.83;
  text-shadow: 0.035em 0.035em 0 #1e0b26;
}

.hero h1 span { display: block; }
.hero h1 span + span { color: var(--amber); }

.hero-line {
  margin-block-start: clamp(1.35rem, 2vw, 2.5rem);
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-description {
  max-inline-size: 32ch;
  margin-block-start: 0.62rem;
  color: #f6e6f2;
  font-size: clamp(1rem, 1.28vw, 1.375rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.75rem;
  margin-block-start: clamp(1.5rem, 2.1vw, 2.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-block-size: clamp(2.88rem, 3.18vw, 3.85rem);
  padding: 0.65rem clamp(0.88rem, 1.7vw, 2.1rem);
  border: 1px solid transparent;
  border-radius: 0;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
}

.button-light { color: var(--ink); background: var(--cream); }
.button-light:hover { background: var(--amber); }
.copy-action { position: relative; max-inline-size: 100%; }

.button-copy {
  max-inline-size: min(20rem, 100%);
  color: var(--white);
  background: #190c25ac;
  border-color: #f8f0e996;
  font-family: var(--mono);
}

.button-copy:is(:hover, [data-state="copied"]) {
  border-color: var(--amber);
  color: var(--amber);
  background: #190c25eb;
}

.button-copy:disabled { opacity: 0.65; cursor: default; }
.ca-label { overflow: hidden; text-overflow: ellipsis; }
.icon { inline-size: 1.15em; block-size: 1.15em; flex: 0 0 auto; }
.check-icon, [data-state="copied"] .copy-icon { display: none; }
[data-state="copied"] .check-icon { display: block; }

.copy-feedback {
  position: absolute;
  inset: calc(100% + 0.55rem) auto auto 0;
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.clipboard-field {
  position: fixed;
  inset: 0 auto auto 0;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.lore {
  grid-template-columns: 52% 48%;
  background: var(--cream);
}

.lore-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: calc(var(--header-height) + 2.5rem) clamp(2rem, 4.45vw, 6rem) 3.25rem var(--gutter);
  color: var(--white);
  background: var(--night);
}

.lore-background { object-position: 38% center; }

.station {
  inline-size: 100%;
  max-inline-size: 54rem;
  background: #1c1025;
  border: 1px solid #f6d8ff4d;
  box-shadow: 0 1.5rem 5rem #1306186b;
}

.station img { inline-size: 100%; block-size: auto; }

.station figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: clamp(0.65rem, 1.15vw, 1.25rem) clamp(0.8rem, 1.45vw, 1.6rem);
  color: #eed9ee;
  font: 600 clamp(0.75rem, 0.83vw, 0.98rem) / 1.4 var(--mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.radio-frequency {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--amber);
  font-weight: 700;
}

.radio-dot {
  inline-size: 0.58rem;
  block-size: 0.58rem;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 0.7rem #ff78cbc0;
}

.lore-copy {
  align-self: center;
  inline-size: 100%;
  max-inline-size: 63rem;
  padding: calc(var(--header-height) + 2.35rem) var(--gutter) 3.6rem clamp(2.25rem, 5vw, 6.25rem);
}

.lore .eyebrow { color: #722152; }

.scene h2 {
  margin-block-start: clamp(0.82rem, 1.4vw, 1.6rem);
  font-size: clamp(3.2rem, 5.5vw, 7rem);
  line-height: 0.92;
}

.story {
  max-inline-size: 50ch;
  margin-block-start: clamp(1.25rem, 2vw, 2.25rem);
  color: #463648;
  font-size: clamp(1rem, 1.11vw, 1.25rem);
  line-height: 1.58;
}

.story p + p { margin-block-start: 0.85em; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  margin-block-start: clamp(0.72rem, 1.45vw, 1.6rem);
  color: #6d1d4f;
  font-weight: 700;
  text-underline-offset: 0.32em;
  text-decoration-thickness: 1px;
}

.text-link:hover { color: #a91c6d; }

.roadmap {
  grid-template-rows: 1fr auto;
  background: var(--night);
  color: var(--white);
}

.roadmap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #11071a8c 0%, #160b20a6 38%, #13081926 75%, #11071855 100%);
  pointer-events: none;
}

.road-art { object-position: center 58%; }

.road-frame {
  display: grid;
  align-items: center;
  padding-block: calc(var(--header-height) + 2.8rem) clamp(3.75rem, 5.6vw, 7rem);
}

.road-content { inline-size: 100%; }
.roadmap .eyebrow { color: var(--cyan); }
.roadmap h2 { font-size: clamp(3.45rem, 8vw, 9.4rem); }

.road-intro {
  margin-block-start: clamp(0.75rem, 1.1vw, 1.25rem);
  color: #f6e6f3;
  font-size: clamp(1.1rem, 1.35vw, 1.5rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.3vw, 1.5rem);
  margin: clamp(1.6rem, 3.65vw, 4.4rem) 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  --accent: var(--amber);
  min-inline-size: 0;
  padding: clamp(1rem, 1.95vw, 2.35rem);
  background: #140a1de8;
  border: 1px solid #f0d4ef43;
  border-block-start: 2px solid var(--accent);
}

.timeline li:nth-child(2) { --accent: var(--pink); }
.timeline li:nth-child(3) { --accent: var(--cyan); }

.milestone {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
  font: 700 0.84rem / 1.35 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.milestone span { padding-inline-end: 0.7rem; border-inline-end: 1px solid currentColor; }

.timeline h3 {
  margin-block-start: clamp(0.65rem, 1.1vw, 1.3rem);
  font-size: clamp(1.28rem, 2.04vw, 2.48rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.timeline li > p:last-child {
  max-inline-size: 33ch;
  margin-block-start: 0.65rem;
  color: #efdced;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  line-height: 1.5;
}

.scene-footer {
  background: #140a1dcf;
  border-block-start: 1px solid #f0d4ef4d;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: clamp(3.75rem, 4.17vw, 5rem);
}

.footer-name {
  font-weight: 900;
  font-size: 0.91rem;
  letter-spacing: 0.13em;
}

.scene-footer a {
  display: inline-grid;
  align-items: center;
  min-block-size: 2.75rem;
  font-size: 0.875rem;
  text-underline-offset: 0.27em;
}

.scene-footer a:hover { color: var(--amber); }

@media (min-width: 64em) and (min-height: 35em) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
}

@media (max-width: 63.99em) {
  :root { --gutter: clamp(1.5rem, 5.4vw, 4.2rem); }
  .hero h1 { font-size: clamp(5.2rem, 12vw, 7.8rem); }
  .lore-stage { padding-inline-end: clamp(1.25rem, 3vw, 2.5rem); }
  .lore-copy { padding-inline-start: clamp(1.45rem, 4vw, 2.5rem); }
}

@media (max-width: 47.99em) {
  :root { --header-height: 5.95rem; --gutter: clamp(1rem, 5.8vw, 2.6rem); }

  .header-shell {
    grid-template-columns: 1fr auto;
    grid-template-rows: 3.35rem 2.6rem;
    padding-inline: var(--gutter);
  }

  .wordmark { gap: 0.45rem; font-size: 0.88rem; letter-spacing: 0.065em; }
  .wordmark img { inline-size: 1.67rem; }
  .chapter-nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(1.55rem, 7vw, 3.45rem); border-block-start: 1px solid #26132923; }
  .chapter-nav a { min-block-size: 2.6rem; }
  .social-nav { grid-column: 2; grid-row: 1; gap: clamp(0.6rem, 2.6vw, 1.1rem); }
  .social-nav a { min-block-size: 3.35rem; font-size: 0.8rem; }

  .lore { grid-template-columns: 1fr; }
  .lore-stage { padding: calc(var(--header-height) + 1.75rem) var(--gutter) 2rem; }
  .station { max-inline-size: 36rem; }

  .lore-copy {
    justify-self: center;
    max-inline-size: 41rem;
    padding: 2.75rem var(--gutter) 3.7rem;
  }

  .scene h2 { font-size: clamp(2.8rem, 12vw, 5.3rem); }
  .story { max-inline-size: 53ch; }
  .road-art { object-position: 58% center; }
  .road-frame { padding-block: calc(var(--header-height) + 3.9rem) 3.2rem; }
  .roadmap h2 { font-size: clamp(3.4rem, 13vw, 6.5rem); }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 1.15rem 1.2rem 1.32rem; }
  .timeline li > p:last-child { max-inline-size: 52ch; }
}

@media (max-width: 43.99em) {
  .hero::before { display: none; }

  .hero-art {
    inset-block-start: var(--header-height);
    block-size: clamp(22rem, 112vw, 45rem);
  }

  .hero-art img { object-position: center 52%; }

  .hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 59%, #17091e58 77%, var(--night) 100%);
  }

  .hero-frame {
    align-items: end;
    padding-block: calc(var(--header-height) + clamp(17.7rem, 96vw, 38rem)) 3.5rem;
  }

  .hero h1 { font-size: clamp(4.45rem, 21vw, 9.5rem); }
  .hero-line { margin-block-start: 1.45rem; }
  .hero-description { max-inline-size: 35ch; }
  .eyebrow { font-size: 0.8rem; letter-spacing: 0.115em; }
  .eyebrow::before { inline-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .button, .chapter-nav a::after { transition: none; }
}
