:root {
  --ink: #0b0b0a;
  --ink-soft: #23211e;
  --cream: #f1ede4;
  --paper: #faf8f3;
  --gold: #a98446;
  --gold-light: #d8bc84;
  --muted: #746e64;
  --line: rgba(11, 11, 10, 0.16);
  --white-line: rgba(250, 248, 243, 0.18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}

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

.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 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 4rem);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--white-line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.brand__sub {
  margin-top: 0.22rem;
  font-size: 0.46rem;
  letter-spacing: 0.22em;
}

.edition {
  color: rgba(250, 248, 243, 0.66);
  font-size: 0.62rem;
  letter-spacing: 0.23em;
}

.hero {
  display: grid;
  min-height: 0;
  background: var(--ink);
  color: var(--paper);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.31em;
  line-height: 1.2;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 10vw, 7.6rem);
}

.hero__intro {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: rgba(250, 248, 243, 0.72);
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
}

.hero__intro strong {
  color: var(--paper);
  font-weight: 500;
}

.countdown-shell {
  max-width: 42rem;
  margin-top: clamp(1.65rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--white-line);
}

.countdown-label {
  margin: 0 0 0.7rem;
  color: rgba(250, 248, 243, 0.53);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(0.3rem, 1.6vw, 1rem);
}

.countdown__unit {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.countdown__value,
.countdown__divider {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 1;
}

.countdown__value {
  font-size: clamp(2.35rem, 8vw, 4.75rem);
  letter-spacing: -0.055em;
}

.countdown__divider {
  color: var(--gold);
  font-size: clamp(2.15rem, 7vw, 4.4rem);
  opacity: 0.76;
}

.countdown__name {
  margin-top: 0.65rem;
  color: rgba(250, 248, 243, 0.48);
  font-size: clamp(0.48rem, 1.4vw, 0.6rem);
  letter-spacing: 0.2em;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button--primary {
  background: var(--paper);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--gold-light);
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.timezone {
  color: rgba(250, 248, 243, 0.48);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.calendar-alternative {
  align-self: flex-start;
  margin-top: 0.95rem;
  color: rgba(250, 248, 243, 0.62);
  font-size: 0.7rem;
  text-underline-offset: 0.25rem;
}

.calendar-alternative:hover {
  color: var(--paper);
}

.calendar-alternative:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.noscript-note {
  max-width: 34rem;
  color: var(--gold-light);
  font-size: 0.8rem;
}

.hero__art {
  position: relative;
  display: none;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 30rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(169, 132, 70, 0.14), transparent 46%),
    var(--cream);
  color: var(--ink);
  border-left: 1px solid var(--white-line);
}

.hero__art::before,
.hero__art::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background: rgba(11, 11, 10, 0.07);
}

.hero__art::before {
  left: 25%;
}

.hero__art::after {
  right: 25%;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(169, 132, 70, 0.7);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orbit--outer {
  width: min(75%, 33rem);
  aspect-ratio: 2.55 / 1;
  box-shadow: 0 20px 80px rgba(72, 56, 30, 0.12);
}

.orbit--inner {
  width: min(61%, 27rem);
  aspect-ratio: 2.55 / 1;
  border-color: rgba(169, 132, 70, 0.3);
}

.hero__date {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__date span {
  font-family: var(--serif);
  font-size: clamp(6rem, 11vw, 10rem);
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.hero__date small,
.hero__art > p {
  letter-spacing: 0.27em;
}

.mother-countdown {
  display: grid;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mother-countdown__copy h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.mother-countdown__copy > p:last-child {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.countdown--light {
  width: 100%;
  max-width: 46rem;
  align-self: center;
  padding: clamp(0.9rem, 2vw, 1.55rem);
  background: var(--cream);
  border: 1px solid rgba(11, 11, 10, 0.08);
}

.countdown--light .countdown__value {
  color: var(--ink);
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
}

.countdown--light .countdown__divider {
  font-size: clamp(1.75rem, 4vw, 3.2rem);
}

.countdown--light .countdown__divider {
  color: var(--gold);
}

.countdown--light .countdown__name {
  color: var(--muted);
}

.hero__date small {
  margin-top: 1.4rem;
  font-size: 0.62rem;
}

.hero__art > p {
  position: absolute;
  right: 2.2rem;
  bottom: 1.75rem;
  margin: 0;
  font-size: 0.55rem;
  writing-mode: vertical-rl;
}

.campaign-details {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.campaign-details > summary {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem clamp(1.25rem, 7vw, 8rem);
  background: var(--cream);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  list-style: none;
  transition: background-color 180ms ease;
}

.campaign-details > summary::-webkit-details-marker {
  display: none;
}

.campaign-details > summary:hover {
  background: #e9e2d6;
}

.campaign-details > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -5px;
}

.campaign-details > summary small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.campaign-details__icon {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  border: 1px solid rgba(11, 11, 10, 0.28);
  border-radius: 50%;
}

.campaign-details__icon::before,
.campaign-details__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.campaign-details__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.campaign-details[open] .campaign-details__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.campaign-details__body {
  border-top: 1px solid var(--line);
}

.calendar-section {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--cream);
}

.section-heading h2 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 7vw, 6.7rem);
}

.section-heading > p:last-child {
  max-width: 32rem;
  margin: 2rem 0 0;
  color: var(--muted);
}

.calendar-card {
  align-self: start;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  background: var(--paper);
  box-shadow: 0 1.5rem 4rem rgba(48, 38, 23, 0.07);
}

.month {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.months {
  display: grid;
  gap: 2.25rem;
}

.months .month + .month {
  padding-top: 0.5rem;
}

.month caption {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: left;
}

.month th {
  height: 2.5rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.month td {
  position: relative;
  height: clamp(3.6rem, 9vw, 5rem);
  border-top: 1px solid rgba(11, 11, 10, 0.07);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-align: center;
  vertical-align: middle;
}

.month .date span {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.month .date small {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  font-family: var(--sans);
  font-size: 0.43rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.date--launch span {
  background: var(--ink);
  color: var(--paper);
}

.date--launch small {
  color: var(--gold);
}

.date--mother span {
  border: 1px solid var(--gold);
}

.date--mother small {
  color: var(--gold);
}

.calendar-legend {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.calendar-legend > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.legend-dot {
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.legend-dot--launch {
  background: var(--ink);
}

.legend-dot--mother {
  border: 1px solid var(--gold);
}

.calendar-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.calendar-legend strong {
  display: block;
  color: var(--ink);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.roadmap {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--ink);
  color: var(--paper);
}

.section-heading--light {
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

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

.stage {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--white-line);
}

.stage__number,
.stage__date {
  color: rgba(250, 248, 243, 0.45);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.stage__date {
  margin: 0 0 0.8rem;
}

.stage h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
}

.stage p:last-child {
  max-width: 32rem;
  margin: 0.9rem 0 0;
  color: rgba(250, 248, 243, 0.6);
  font-size: 0.88rem;
}

.stage--accent .stage__number,
.stage--accent .stage__date {
  color: var(--gold-light);
}

.hero-game,
.game-section {
  width: 100%;
  max-width: 42rem;
  margin-top: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(0.7rem, 1.5vw, 0.95rem);
  overflow: hidden;
  border: 1px solid rgba(216, 188, 132, 0.3);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 78% 8%, rgba(216, 188, 132, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(250, 248, 243, 0.07), rgba(250, 248, 243, 0.015));
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.25), inset 0 1px rgba(250, 248, 243, 0.08);
}

.hero-game__topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0.15rem 0.7rem;
}

.hero-game__eyebrow {
  margin: 0 0 0.18rem;
  color: var(--gold-light);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-game h2 {
  color: var(--paper);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.game-scoreboard {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(0.8rem, 3vw, 1.4rem);
  margin: 0;
}

.game-scoreboard p {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  text-align: right;
}

.game-scoreboard span {
  color: rgba(250, 248, 243, 0.48);
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.game-scoreboard strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-game__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.65rem 0.15rem 0.05rem;
}

.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.game-button {
  min-height: 2.1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(250, 248, 243, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: 700 0.5rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.game-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.game-button:focus-visible,
.game-canvas:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.game-button--primary {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--ink);
}

.game-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.game-help {
  margin: 0;
  color: rgba(250, 248, 243, 0.52);
  font-size: 0.58rem;
  text-align: right;
}

.game-frame {
  position: relative;
  padding: 0.28rem;
  border: 1px solid rgba(216, 188, 132, 0.28);
  border-radius: 0.75rem;
  background: #070706;
  box-shadow: inset 0 0 2.5rem rgba(169, 132, 70, 0.09);
}

.game-canvas {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 2.85 / 1;
  border-radius: 0.5rem;
  background: #0c0c0b;
  cursor: pointer;
  touch-action: manipulation;
}

.game-frame__label {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.22rem 0.08rem;
  color: rgba(216, 188, 132, 0.55);
  font-size: 0.4rem;
  letter-spacing: 0.18em;
}

.closing {
  display: flex;
  min-height: 21rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem;
  background: var(--paper);
  text-align: center;
}

.closing h2 {
  font-size: clamp(4rem, 11vw, 8rem);
}

.closing > p:not(.eyebrow) {
  margin: 2rem 0 1.2rem;
  color: var(--muted);
}

.text-link {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
  background: var(--ink);
  color: rgba(250, 248, 243, 0.5);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

[hidden] {
  display: none !important;
}

@media (min-width: 48rem) {
  .calendar-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 0.85fr);
    align-items: center;
  }

  .calendar-legend {
    grid-template-columns: 1fr 1fr;
  }

  .stage {
    grid-template-columns: 5rem minmax(0, 1fr);
    padding: 2.5rem 0;
  }
}

@media (min-width: 68rem) {
  .mother-countdown {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(28rem, 0.9fr);
  }

  .hero__art {
    display: flex;
  }

  .stages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--white-line);
  }

  .stage {
    display: block;
    min-height: 20rem;
    padding: 2rem;
    border-right: 1px solid var(--white-line);
    border-bottom: 0;
  }

  .stage:first-child {
    padding-left: 0;
  }

  .stage:last-child {
    border-right: 0;
  }

  .stage__number {
    display: block;
    margin-bottom: 5rem;
  }

}

@media (max-width: 47.99rem) {
  .site-header {
    min-height: 4.35rem;
    padding-block: 0.9rem;
  }

  .hero__copy {
    padding-top: 1.5rem;
    padding-bottom: 1.55rem;
  }

  .hero__copy > .eyebrow {
    margin-bottom: 0.75rem;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero__intro {
    margin-top: 0.9rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .countdown-shell {
    margin-top: 1.15rem;
    padding-top: 0.85rem;
  }

  .countdown__value {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .countdown__divider {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

  .countdown__name {
    margin-top: 0.4rem;
  }

  .hero__actions {
    margin-top: 1rem;
  }

  .button {
    min-height: 3rem;
    padding-block: 0.7rem;
  }

  .calendar-alternative {
    margin-top: 0.6rem;
    font-size: 0.64rem;
  }

  .hero-game {
    margin-top: 1rem;
  }

  .hero-game__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .game-help {
    text-align: left;
  }

  .mother-countdown {
    gap: 1rem;
    padding-block: 1.5rem;
  }

  .mother-countdown .eyebrow {
    margin-bottom: 0.65rem;
  }

  .mother-countdown__copy h2 br {
    display: none;
  }

  .mother-countdown__copy > p:last-child {
    margin-top: 0.55rem;
  }

  .countdown--light .countdown__value {
    font-size: clamp(1.75rem, 9vw, 2.65rem);
  }

  .countdown--light .countdown__divider {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }

  .campaign-details > summary {
    min-height: 4.75rem;
  }

  .closing {
    min-height: 18rem;
    padding-block: 3rem;
  }

  .closing h2 {
    font-size: clamp(3.4rem, 17vw, 5.25rem);
  }
}

@media (max-width: 28rem) {
  .site-header {
    min-height: 4.5rem;
  }

  .edition {
    font-size: 0.5rem;
  }

  .hero {
    min-height: 0;
  }

  .countdown__divider {
    transform: translateY(-0.08em);
  }

  .button {
    width: 100%;
  }

  .game-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .game-button--primary {
    grid-column: 1 / -1;
  }

  .game-canvas {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
