
/* Cormorant Garamond — Cormorant Project Authors, SIL OFL 1.1
   Source Sans 3 — Adobe, SIL OFL 1.1
   License text: assets/fonts/OFL.txt */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --paper: #f3eee4;
  --paper-deep: #e7e0d2;
  --paper-raised: #f7f3eb;
  --ink: #2c241c;
  --ink-soft: #5c5146;
  --wine: #6f3038;
  --wine-deep: #4e242b;
  --gold: #a88b55;
  --line: rgba(44, 36, 28, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background:
    radial-gradient(980px 420px at 85% -8%, rgba(168, 139, 85, 0.11), transparent 58%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--paper-raised);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

.prose {
  max-width: 40rem;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 238, 228, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 0.85rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--wine);
  text-decoration: none;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 1.5rem 3rem;
  padding-block: clamp(2.75rem, 7vw, 4.75rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.hero h1::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 1px;
  margin-top: 1.15rem;
  background: var(--gold);
}

.tagline {
  margin: 1.15rem 0 0;
  max-width: 14em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--ink-soft);
  text-wrap: balance;
}

.hero-cta {
  margin-top: 1.9rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art svg {
  width: min(100%, 300px);
  height: auto;
}

.section {
  padding-block: clamp(3.25rem, 7vw, 5.75rem);
}

#app {
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
}

.feature {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.feature h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.decks,
.stages,
.seasons {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.decks {
  display: grid;
  gap: 0;
  max-width: 46rem;
}

.decks li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.decks li:last-child {
  border-bottom: 1px solid var(--line);
}

.decks li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--wine);
}

.feature .prose + .decks,
.feature .prose + .stages,
.feature .prose + .seasons {
  margin-top: 1.15rem;
}

.decks + .prose,
.stages + .prose {
  margin-top: 1.25rem;
}

.stages {
  counter-reset: stage;
  display: grid;
  max-width: 46rem;
}

.stages li {
  counter-increment: stage;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.stages li::before {
  content: counter(stage, decimal-leading-zero);
  color: var(--wine);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.seasons {
  display: grid;
  gap: 1.25rem 1.5rem;
  max-width: 46rem;
}

.seasons li {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.2;
}

.board-figure {
  margin: 2rem 0 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.board-figure a {
  display: block;
  background: none;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

.board-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: none;
  border: 0;
  box-shadow: none;
}

.board-figure figcaption {
  margin-top: 0.7rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  background: var(--wine);
  color: var(--paper-raised);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.button:hover {
  background: #5c2730;
}

.button:active {
  transform: translateY(1px);
}

.domain {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.preorder {
  background: var(--wine-deep);
  color: var(--paper-raised);
  text-align: center;
  padding-block: clamp(4.5rem, 11vw, 7.5rem);
}

.preorder .kicker {
  color: #f0e2d4;
}

.preorder h2 {
  margin: 0 auto;
  max-width: 12em;
  color: inherit;
  font-size: clamp(2.7rem, 6.5vw, 4.6rem);
}

.site-footer {
  background: #32181d;
  color: #f3eee4;
  text-align: center;
  padding-block: 1.4rem;
  font-size: 0.98rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 720px) {
  .decks {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .decks li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .decks li:last-child {
    border-bottom: 1px solid var(--line);
  }

  /* Ten stages: read down the left column, then the right. */
  .stages {
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: 1fr 1fr;
    column-gap: 2.75rem;
  }

  .seasons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .wrap {
    width: min(72rem, calc(100% - 4rem));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    min-height: calc(100svh - 4.75rem);
  }

  .hero-art svg {
    width: min(100%, 360px);
  }
}

@media (max-width: 640px) {
  .nav {
    width: 100%;
  }
}

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

  .button:active {
    transform: none;
  }
}


