:root {
  --night: #141b26;
  --night-deep: #0c1118;
  --ash: #1a2330;
  --cream: #efe6d4;
  --cream-dim: #c4bdb0;
  --smoke: #8b93a0;
  --ember: #c85a2a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hearth-veil: 0;
  --font-display: "Playfair Display", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: Figtree, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--night-deep); color: var(--cream); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100dvh; font-family: var(--font-sans); background: var(--night-deep); color: var(--cream); }
img { max-width: 100%; display: block; outline: 1px solid rgb(239 230 212 / 0.1); outline-offset: -1px; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: color-mix(in oklab, var(--cream) 28%, var(--night)); color: var(--cream); }

.stage {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--night-deep); pointer-events: none;
}
.stage img, .stage video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.stage video { opacity: 0; transition: opacity 800ms var(--ease); }
.stage video.is-live { opacity: 1; }
.veil {
  position: absolute; inset: 0;
  background: var(--night-deep);
  opacity: calc(var(--hearth-veil) * 0.78);
}
.shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(12 17 24 / 0.55), transparent 42%, rgb(12 17 24 / 0.28));
}

.page { position: relative; z-index: 10; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin: 0 auto; }
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; pointer-events: none;
}
.nav-inner {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; pointer-events: none;
}
.nav a, .nav button { pointer-events: auto; min-height: 44px; display: inline-flex; align-items: center; }
.brand {
  font-family: var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.95rem; color: rgb(239 230 212 / 0.9); text-decoration: none;
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a, .nav button {
  padding: 0 0.75rem; font-size: 0.9rem; color: var(--cream-dim); text-decoration: none;
}
.nav-links a:hover, .nav button:hover, .nav button.is-on { color: var(--cream); }

.hero {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  padding: 16vh 1.5rem 2.5rem; text-align: center;
}
.kicker { font-size: 0.68rem; letter-spacing: 0.48em; text-transform: uppercase; color: var(--cream-dim); font-weight: 500; }
.hero h1 {
  margin: 1.75rem 0 0; font-size: clamp(2.8rem, 10vw, 6.2rem); line-height: 0.9;
  letter-spacing: 0.02em; text-transform: uppercase; text-shadow: 0 2px 28px rgb(12 17 24 / 0.62);
}
.hero h1 span { display: block; margin-top: 0.15em; letter-spacing: 0.06em; }
.tm { display: inline-block; margin-left: 0.18em; font-size: 0.16em; letter-spacing: 0.08em; vertical-align: super; opacity: 0.72; font-style: normal; }
.sub { margin: 2rem auto 0; max-width: 36rem; font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.65rem); font-style: italic; line-height: 1.3; text-shadow: 0 2px 28px rgb(12 17 24 / 0.62); }
.worth { margin: 0.75rem auto 0; max-width: 32rem; font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--cream-dim); }
.author { margin-top: 2rem; font-size: 0.72rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--cream-dim); }
.xlink { margin-top: 0.5rem; min-height: 44px; display: inline-flex; align-items: center; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none; }
.xlink:hover { color: var(--cream); }
.hero-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero-foot p { margin: 0; max-width: 22rem; font-size: 0.9rem; color: rgb(239 230 212 / 0.8); }
.hero-foot a { min-height: 44px; display: inline-flex; align-items: center; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none; }
.hero-foot a:hover { color: var(--cream); }

.light-fire {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 30; min-height: 44px; padding: 0.75rem 1.25rem;
  border-radius: 999px; background: rgb(12 17 24 / 0.75);
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream); border: 0;
}

.block { padding: 6rem 0; }
.grid-book { display: grid; gap: 3rem; align-items: start; }
.cover { width: min(24rem, 100%); margin: 0 auto; border-radius: 0.5rem; }
figcaption { margin-top: 0.75rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--smoke); text-align: center; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--cream-dim); }
.block h2 { margin: 1rem 0 0; font-size: clamp(1.7rem, 3.6vw, 2.55rem); line-height: 1.12; letter-spacing: -0.02em; }
.block h2 .dim { display: block; margin-top: 0.7rem; color: var(--cream-dim); }
.quote { margin: 2rem 0 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-style: italic; line-height: 1.35; }
.copy { margin-top: 2rem; max-width: 40rem; }
.copy p { margin: 0 0 1.25rem; font-size: 1.05rem; line-height: 1.7; color: var(--cream-dim); }
.copy strong { color: var(--cream); font-weight: 500; }

.question { width: min(56rem, calc(100% - 3rem)); margin: 0 auto; padding: 2rem 0 4rem; text-align: center; }
.question h2 { font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; }
.question h2 span { display: block; margin-top: 0.5rem; }
.question h2 .dim { color: var(--cream-dim); }
.question .copy { margin: 3rem auto 0; text-align: left; }

.plates { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
.plate {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.5rem 1.5rem; border-radius: 1rem; background: rgb(26 35 48 / 0.7);
  box-shadow: 0 0 0 1px rgb(239 230 212 / 0.08); text-decoration: none; height: 100%;
}
.plate svg { color: var(--cream); }
.plate .n { margin-top: 2rem; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--cream-dim); }
.plate h3 { margin: 0.75rem 0 0; font-size: 1.65rem; font-style: italic; line-height: 1.2; letter-spacing: -0.02em; }
.plate .mode { margin-top: 0.5rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); }
.plate .body { margin-top: 1.25rem; font-size: 0.98rem; line-height: 1.6; color: var(--cream-dim); }

.author-grid { display: grid; gap: 3rem; align-items: center; }
.photo { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center 40%; border-radius: 0.5rem; }

.close {
  min-height: 88dvh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 1.5rem 4rem; text-align: center;
}
.close p.lead { margin: 0; max-width: 40rem; font-family: var(--font-display); font-size: clamp(1.35rem, 3.2vw, 1.85rem); line-height: 1.35; color: var(--cream-dim); }
.close p.end { margin: 1.5rem 0 0; max-width: 40rem; font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; text-transform: uppercase; }
.site-foot { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke); }
.site-foot a { min-height: 44px; display: inline-flex; align-items: center; color: var(--smoke); text-decoration: none; }
.site-foot a:hover { color: var(--cream-dim); }

@media (min-width: 900px) {
  .grid-book { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .author-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .plates { grid-template-columns: 1fr 1fr 1fr; }
  figcaption { text-align: left; }
  .nav-links a { display: inline-flex; }
}
@media (max-width: 899px) {
  .nav-links a { display: none; }
}

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