:root {
  --ground: #03070f;
  --panel: rgba(3, 7, 15, 0.84);
  --card: rgba(8, 16, 26, 0.7);
  --line: #1a2533;
  --line-strong: #243244;
  --text: #ede6d8;
  --muted: #c9c3b8;
  --dim: #8d939c;
  --gold: #e8b86a;
  --gold-hover: #f3d49c;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 6.5vw, 96px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: var(--ground); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

/* Fixed cover backdrop */
.backdrop {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  height: 100vh; height: 100svh; width: auto; max-width: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 3;
  height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(3, 7, 15, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 184, 106, 0.18);
}
.wordmark {
  font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--gold); }
.site-nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 15px; letter-spacing: 0.04em; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-nav a.nav-ask { color: var(--gold); font-weight: 600; }
@media (max-width: 620px) {
  .site-nav .nav-hide-sm { display: none; }
}

/* Cover spacer */
.cover-space {
  position: relative; z-index: 1;
  height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding-bottom: 24px;
}
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.24em; color: var(--muted); text-decoration: none;
  padding: 8px 12px;
}

/* Content panel that scrolls over the cover */
.panel {
  position: relative; z-index: 1;
  background: var(--panel);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(232, 184, 106, 0.28);
}
.section { padding: clamp(64px, 9vw, 120px) var(--gutter); border-bottom: 1px solid var(--line); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: 0.24em; color: var(--gold); text-transform: uppercase; margin: 0; }
.serif { font-family: var(--serif); }

.title-block { gap: 26px; }
.title-block h1 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 7vw, 64px); line-height: 1; letter-spacing: 0.08em;
}
.subtitle { margin: -8px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 28px); color: var(--muted); }
.epigraph { margin: 0; max-width: 640px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.4; color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn {
  min-height: 52px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 26px; font-size: 16px; font-weight: 600; text-decoration: none; font-family: var(--sans);
  cursor: pointer;
}
.btn-solid { background: var(--gold); color: var(--ground); border: none; }
.btn-solid:hover { background: var(--gold-hover); color: var(--ground); }
.btn-line { border: 1px solid var(--gold); color: var(--text); background: transparent; font-weight: 500; }
.btn-line:hover { color: var(--text); background: rgba(232, 184, 106, 0.12); }

/* A word from T */
.word { gap: 40px; }
.video-frame {
  width: 100%; max-width: 1040px; aspect-ratio: 16 / 9; display: block;
  border-radius: 16px; border: 1px solid rgba(232, 184, 106, 0.35); background: #000;
}
.transcript { max-width: 760px; text-align: left; display: flex; flex-direction: column; gap: 28px; }
.transcript .lead { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; font-weight: 500; }
.transcript p { margin: 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--muted); }
.transcript .sign { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold); }
.label-dim { font-size: 12px; letter-spacing: 0.2em; color: var(--dim); margin: 0; }

/* Books */
.books h2, .ask h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 56px); }
.book-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.book {
  padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  display: flex; flex-direction: column; gap: 14px;
}
.book h3 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.book p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Ask T */
.ask { gap: 32px; }
.ask h2 { font-size: clamp(48px, 6vw, 72px); }
.ask-portrait { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.ask-portrait img {
  width: min(300px, 70vw); height: min(300px, 70vw); border-radius: 50%;
  border: 3px solid var(--gold); object-fit: cover; object-position: 50% 28%; display: block;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ask-portrait:hover img { transform: scale(1.02); box-shadow: 0 0 48px rgba(232, 184, 106, 0.25); }
.ask-portrait span {
  margin-top: -26px; min-height: 52px; padding: 0 36px; display: flex; align-items: center;
  border-radius: 26px; background: var(--gold); color: var(--ground);
  font-family: var(--serif); font-size: 28px; font-weight: 600;
}
.ask-note { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.chip {
  padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: 24px;
  font-size: 16px; color: var(--text); text-decoration: none; background: transparent;
}
.chip:hover { border-color: var(--gold); color: var(--text); }

footer.site-footer {
  padding: 36px var(--gutter); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 14px; color: var(--dim);
}

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