/* ============================================================
   NEME HLASY - atmospheric audiobook landing page
   ============================================================ */

:root {
  --ash: #f3ead8;
  --bone: #c8ad76;
  --straw: #b99554;
  --paper: #e5eadf;
  --fog: #9aa49b;
  --smoke: #59625c;
  --cover-blue: #59b9e7;
  --cover-blue-deep: #0d455e;
  --pine: #101a17;
  --night: #070a0a;
  --night-soft: #101513;
  --blood: #8f0000;
  --blood-dark: #690707;
  --amber: #c8ad76;
  --line: rgba(243, 234, 216, 0.18);
  --line-dark: rgba(7, 9, 9, 0.15);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ash);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/></svg>");
  mix-blend-mode: soft-light;
}

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ash);
  color: var(--night);
  padding: 12px 16px;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 52px);
  color: var(--ash);
  background: linear-gradient(180deg, rgba(7, 9, 9, 0.84), rgba(7, 9, 9, 0));
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(241, 236, 226, 0.72);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover { color: var(--ash); }

.eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.h1, .h2, .detail-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

.h1 {
  max-width: 9ch;
  margin: 18px 0 22px;
  font-size: clamp(4.4rem, 15vw, 12rem);
  line-height: 0.78;
  text-transform: uppercase;
}

.h2 {
  margin: 12px 0 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.section {
  position: relative;
  padding-block: clamp(90px, 13vw, 170px);
  scroll-margin-top: 72px;
}

.section-lead {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(241, 236, 226, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: 110px 78px;
  background:
    radial-gradient(circle at 72% 24%, rgba(89, 185, 231, 0.16), transparent 22%),
    radial-gradient(circle at 18% 62%, rgba(143, 0, 0, 0.24), transparent 32%),
    linear-gradient(180deg, #111716 0%, #070a0a 66%, #070a0a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 10, 0.84), rgba(7, 10, 10, 0.46) 48%, rgba(7, 10, 10, 0.78)),
    radial-gradient(circle at 18% 52%, rgba(143, 0, 0, 0.24), transparent 32%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.moon {
  position: absolute;
  z-index: 0;
  right: clamp(32px, 12vw, 190px);
  top: clamp(90px, 16vh, 160px);
  width: clamp(84px, 13vw, 154px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #cfefff 0 9%, #71c4ea 48%, #174e68 100%);
  box-shadow: 0 0 80px rgba(89, 185, 231, 0.22);
  opacity: 0.72;
}

.mountain {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 12vh;
  width: 120vw;
  height: 48vh;
  transform: translateX(-50%) skewX(-12deg);
  transform-origin: bottom center;
  clip-path: polygon(0 100%, 15% 70%, 28% 78%, 44% 38%, 54% 56%, 66% 28%, 80% 64%, 100% 42%, 100% 100%);
}

.mountain-back {
  background: linear-gradient(180deg, rgba(55, 68, 58, 0.48), rgba(10, 13, 12, 0.28));
  filter: blur(1px);
}

.mountain-front {
  bottom: 4vh;
  height: 42vh;
  background: linear-gradient(180deg, rgba(18, 28, 24, 0.9), #060707 82%);
  opacity: 0.94;
}

.forest {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34vh;
  background:
    repeating-linear-gradient(88deg, transparent 0 42px, rgba(5, 8, 7, 0.34) 43px 44px, transparent 45px 92px),
    linear-gradient(180deg, transparent, #050606 62%);
  clip-path: polygon(0 28%, 4% 40%, 8% 21%, 12% 45%, 16% 16%, 20% 42%, 24% 25%, 28% 48%, 32% 17%, 36% 44%, 40% 27%, 44% 49%, 48% 19%, 52% 43%, 56% 28%, 60% 50%, 64% 18%, 68% 45%, 72% 30%, 76% 48%, 80% 21%, 84% 44%, 88% 24%, 92% 42%, 96% 19%, 100% 44%, 100% 100%, 0 100%);
}

.mist {
  position: absolute;
  z-index: 2;
  left: -10%;
  width: 120%;
  height: 12vh;
  border-radius: 999px;
  background: rgba(241, 236, 226, 0.08);
  filter: blur(24px);
}

.mist-one {
  bottom: 28vh;
  animation: drift 12s ease-in-out infinite alternate;
}

.mist-two {
  bottom: 18vh;
  opacity: 0.55;
  animation: drift 15s ease-in-out infinite alternate-reverse;
}

.hero-fog {
  position: absolute;
  z-index: 2;
  left: -24%;
  width: 148%;
  pointer-events: none;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0%, rgba(216, 232, 231, 0.26) 18%, transparent 34%, rgba(243, 234, 216, 0.22) 52%, transparent 72%, rgba(89, 185, 231, 0.18) 88%, transparent 100%),
    radial-gradient(ellipse at 16% 58%, rgba(243, 234, 216, 0.34), transparent 32%),
    radial-gradient(ellipse at 50% 45%, rgba(89, 185, 231, 0.3), transparent 30%),
    radial-gradient(ellipse at 84% 55%, rgba(243, 234, 216, 0.26), transparent 28%);
  filter: blur(6px);
  mix-blend-mode: normal;
  opacity: 0.56;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.fog-low {
  bottom: -2vh;
  height: 36vh;
  animation: fog-drift-low 18s ease-in-out infinite alternate;
}

.fog-mid {
  bottom: 17vh;
  height: 26vh;
  opacity: 0.42;
  animation: fog-drift-mid 24s ease-in-out infinite alternate-reverse;
}

.fog-high {
  bottom: 36vh;
  height: 20vh;
  opacity: 0.24;
  filter: blur(8px);
  animation: fog-drift-high 30s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateX(-4%); }
  to { transform: translateX(4%); }
}

@keyframes fog-drift-low {
  from { transform: translate3d(-12%, 3%, 0) scale(1); }
  to { transform: translate3d(14%, -4%, 0) scale(1.08); }
}

@keyframes fog-drift-mid {
  from { transform: translate3d(13%, -2%, 0) scale(1.06); }
  to { transform: translate3d(-14%, 3%, 0) scale(1); }
}

@keyframes fog-drift-high {
  from { transform: translate3d(-10%, -2%, 0) scale(1); }
  to { transform: translate3d(16%, 2%, 0) scale(1.09); }
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding-top: 38px;
}

.hero-copy {
  position: relative;
}

.tagline {
  max-width: 620px;
  margin: 0;
  color: rgba(243, 234, 216, 0.78);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-meta span {
  border: 1px solid rgba(241, 236, 226, 0.22);
  background: rgba(7, 9, 9, 0.3);
  padding: 8px 12px;
  color: rgba(241, 236, 226, 0.76);
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.author-photo {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(243, 234, 216, 0.26);
  background:
    linear-gradient(180deg, rgba(89, 185, 231, 0.16), rgba(7, 10, 10, 0.22)),
    radial-gradient(circle at 50% 35%, rgba(89, 185, 231, 0.32), transparent 34%),
    #0b1110;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.hero-media {
  position: relative;
  min-height: 530px;
  padding: clamp(14px, 2vw, 22px);
  overflow: visible;
  border: 0;
  background:
    linear-gradient(145deg, rgba(243, 234, 216, 0.11), rgba(89, 185, 231, 0.04)),
    rgba(7, 10, 10, 0.32);
  box-shadow: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 8% -6% -8% 10%;
  z-index: -1;
  background:
    radial-gradient(circle at 55% 42%, rgba(89, 185, 231, 0.22), transparent 40%),
    radial-gradient(circle at 60% 75%, rgba(143, 0, 0, 0.2), transparent 38%);
  filter: blur(18px);
}

.hero-media::before,
.author-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 10, 0.08), transparent 24%, rgba(7, 10, 10, 0.62)),
    linear-gradient(90deg, rgba(7, 10, 10, 0.26), transparent 18%, transparent 82%, rgba(7, 10, 10, 0.26)),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(7, 10, 10, 0.32));
}

.hero-media img,
.author-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  border: 1px solid rgba(243, 234, 216, 0.22);
  border-radius: 2px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.56), inset 0 0 0 1px rgba(243, 234, 216, 0.08);
  filter: saturate(0.74) contrast(0.92) brightness(0.86);
  object-position: 50% 48%;
}

.media-caption {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin: 14px 0 0 auto;
  color: rgba(243, 234, 216, 0.5);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: right;
}

.author-photo img {
  object-position: 50% 18%;
}

.missing-photo {
  position: absolute;
  inset: 18px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed rgba(243, 234, 216, 0.32);
  color: rgba(243, 234, 216, 0.68);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(89, 185, 231, 0.2), rgba(143, 0, 0, 0.16)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(243, 234, 216, 0.04) 23px 24px);
}

.missing-photo span {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.missing-photo small {
  color: rgba(243, 234, 216, 0.46);
  font-size: 0.76rem;
}

.is-missing .missing-photo {
  display: grid;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  color: var(--ash);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blood); }
.btn-primary:hover { background: #b51b1b; }
.btn-ghost { border-color: rgba(241, 236, 226, 0.28); background: rgba(7, 9, 9, 0.22); }
.btn-ghost:hover { border-color: rgba(241, 236, 226, 0.56); }

.hero-note {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 52px);
  bottom: 28px;
  margin: 0;
  color: rgba(241, 236, 226, 0.45);
  font-size: 0.82rem;
}

/* ============================================================
   Launch strip
   ============================================================ */

.launch-strip {
  padding-block: 28px;
  background: var(--bone);
  color: var(--night);
  scroll-margin-top: 72px;
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.2fr);
  align-items: center;
  gap: 24px;
}

.launch-strip .eyebrow { color: var(--blood); }

.date-line {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cd-cell {
  min-width: 0;
  border-left: 1px solid var(--line-dark);
  padding-left: clamp(10px, 2vw, 24px);
}

.cd-num {
  display: block;
  color: var(--blood-dark);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
}

.cd-label {
  display: block;
  margin-top: 4px;
  color: rgba(7, 9, 9, 0.54);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown-released {
  margin: 0;
  color: var(--blood-dark);
  font-family: var(--serif);
  font-size: 2.8rem;
}

/* ============================================================
   Player
   ============================================================ */

.teaser-section {
  text-align: center;
  background: var(--night);
}

.spectrogram {
  position: relative;
  width: min(760px, 100%);
  aspect-ratio: 24 / 7;
  margin: 42px auto 0;
  overflow: hidden;
  border: 1px solid rgba(243, 234, 216, 0.15);
  background:
    linear-gradient(180deg, rgba(89, 185, 231, 0.08), rgba(143, 0, 0, 0.08)),
    radial-gradient(circle at 50% 75%, rgba(143, 0, 0, 0.22), transparent 42%),
    rgba(243, 234, 216, 0.035);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.spectrogram::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 10, 10, 0.48), transparent 18%, transparent 82%, rgba(7, 10, 10, 0.48)),
    repeating-linear-gradient(90deg, rgba(243, 234, 216, 0.045) 0 1px, transparent 1px 22px);
  opacity: 0.75;
}

.spectrogram::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 42%, rgba(7, 10, 10, 0.58));
}

.spectrogram canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.teaser-section.is-audio-active .spectrogram {
  border-color: rgba(200, 173, 118, 0.34);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38), 0 0 52px rgba(89, 185, 231, 0.08);
}

.player {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(241, 236, 226, 0.055);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.player-btn {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(241, 236, 226, 0.34);
  border-radius: 50%;
  background: var(--ash);
  color: var(--night);
  display: grid;
  place-items: center;
  padding: 0;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.player-btn:hover:not(:disabled) { transform: scale(1.04); }
.player-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.player-btn .icon-play { fill: currentColor; margin-left: 3px; }
.player-btn .icon-pause { display: none; fill: currentColor; }
.player-btn.is-playing {
  background: var(--blood);
  color: var(--ash);
}
.player-btn.is-playing .icon-play { display: none; }
.player-btn.is-playing .icon-pause { display: block; }
.player-btn.is-pulse { animation: btn-pulse 150ms ease-out; }

@keyframes btn-pulse {
  from { transform: scale(0.96); }
  to { transform: scale(1); }
}

.progress {
  min-width: 0;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(241, 236, 226, 0.2);
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--blood);
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ash);
  transform: translate(-50%, -50%);
}

.time {
  color: rgba(241, 236, 226, 0.66);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.time-sep { color: rgba(241, 236, 226, 0.28); padding-inline: 4px; }

.teaser-note {
  margin: 20px 0 0;
  color: rgba(241, 236, 226, 0.48);
  font-size: 0.86rem;
}

/* ============================================================
   Story + details
   ============================================================ */

.story-section {
  background: var(--paper);
  color: var(--night);
}

.story-grid, .proof-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(36px, 8vw, 92px);
  align-items: start;
}

.story-section .eyebrow, .proof-section .eyebrow, .faq-section .eyebrow { color: var(--blood); }

.story-copy {
  color: rgba(7, 9, 9, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.story-copy p {
  margin: 0;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
}

.story-copy p:last-child { border-bottom: 1px solid var(--line-dark); }

.details-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(89, 185, 231, 0.13), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(143, 0, 0, 0.18), transparent 26%),
    var(--night-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-item {
  min-height: 280px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(7, 9, 9, 0.86);
}

.detail-kicker {
  color: var(--blood);
  font-family: var(--serif);
  font-size: 2rem;
}

.detail-item h3 {
  margin: 34px 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.92;
}

.detail-item p {
  margin: 0;
  color: rgba(241, 236, 226, 0.78);
}

.fit-section {
  background:
    linear-gradient(180deg, rgba(7, 10, 10, 0.96), rgba(12, 15, 14, 0.92)),
    radial-gradient(circle at 16% 26%, rgba(89, 185, 231, 0.13), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(143, 0, 0, 0.18), transparent 28%),
    var(--night);
  color: var(--ash);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: start;
}

.fit-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding: 20px 0 20px 42px;
  border-top: 1px solid rgba(241, 236, 226, 0.14);
  color: rgba(241, 236, 226, 0.8);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
  line-height: 1.55;
}

.fit-list li:last-child {
  border-bottom: 1px solid rgba(241, 236, 226, 0.14);
}

.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(200, 173, 118, 0.7);
  background: radial-gradient(circle, var(--blood) 0 42%, transparent 45%);
  transform: rotate(45deg);
}

/* ============================================================
   Quote + proof
   ============================================================ */

.quote-section {
  text-align: center;
  background: var(--bone);
  color: var(--night);
}

.quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-style: italic;
  line-height: 1.03;
}

.quote-source {
  margin: 28px 0 0;
  color: rgba(7, 9, 9, 0.5);
  font-size: 0.9rem;
}

.proof-section {
  background: var(--paper);
  color: var(--night);
}

.reviews {
  display: grid;
  gap: 18px;
}

.review {
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}

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

.review blockquote {
  margin: 0;
  color: rgba(7, 9, 9, 0.74);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-style: italic;
  line-height: 1.18;
}

.review figcaption {
  margin-top: 16px;
  color: var(--blood-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   Author + voice brand
   ============================================================ */

.author-section {
  background:
    linear-gradient(90deg, rgba(7, 10, 10, 0.9), rgba(7, 10, 10, 0.68)),
    radial-gradient(circle at 18% 30%, rgba(89, 185, 231, 0.24), transparent 30%),
    var(--night);
  color: var(--ash);
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.author-photo {
  min-height: 540px;
}

.author-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(243, 234, 216, 0.76);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.voice-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(86px, 11vw, 150px);
  background:
    radial-gradient(circle at 78% 36%, rgba(200, 173, 118, 0.18), transparent 28%),
    linear-gradient(90deg, #620000 0%, #8f0000 46%, #6b0606 100%),
    url("assets/krvavy-pattern.png") center / cover;
  color: var(--bone);
}

.voice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 0, 0, 0.5), rgba(38, 0, 0, 0.08) 58%, rgba(38, 0, 0, 0.46)),
    rgba(80, 0, 0, 0.56);
}

.voice-section::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(200, 173, 118, 0.28);
  pointer-events: none;
}

.voice-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}

.voice-section .eyebrow {
  color: var(--bone);
}

.voice-copy {
  max-width: 690px;
}

.voice-copy .h2 {
  color: var(--ash);
  text-shadow: 0 18px 42px rgba(47, 0, 0, 0.35);
}

.voice-section p:not(.eyebrow) {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(243, 234, 216, 0.9);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.voice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.voice-tags span {
  border: 1px solid rgba(200, 173, 118, 0.5);
  background: rgba(243, 234, 216, 0.08);
  padding: 8px 11px;
  color: var(--ash);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.voice-proof {
  color: rgba(243, 234, 216, 0.86);
}

.btn-voice {
  display: inline-flex;
  margin-top: 28px;
  border-color: rgba(243, 234, 216, 0.3);
  background: rgba(243, 234, 216, 0.92);
  color: var(--blood-dark);
}

.btn-voice:hover {
  background: var(--ash);
  color: #4a0000;
}

.voice-mark {
  position: relative;
  justify-self: end;
  width: min(520px, 100%);
  padding: clamp(14px, 2vw, 20px);
  background: var(--bone);
  box-shadow: 0 34px 80px rgba(43, 0, 0, 0.42);
  transform: rotate(1.2deg);
}

.voice-mark::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 1px solid rgba(243, 234, 216, 0.28);
  transform: rotate(-2deg);
}

.voice-logo {
  width: 100%;
  filter: none;
}

.faq-section {
  background: var(--paper);
  color: var(--night);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 38px 22px 0;
  color: var(--night);
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -30px;
  color: var(--blood);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 0.8;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: -6px 0 24px;
  color: rgba(7, 9, 9, 0.66);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================
   Email + footer
   ============================================================ */

.email-section {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7, 10, 10, 0.12), rgba(7, 10, 10, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(89, 185, 231, 0.16), transparent 28%),
    radial-gradient(circle at 15% 15%, rgba(143, 0, 0, 0.25), transparent 30%),
    var(--night);
}

.email-text {
  max-width: 590px;
  margin: 24px auto 0;
  color: rgba(241, 236, 226, 0.7);
}

.signup-promise {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(241, 236, 226, 0.14);
  text-align: left;
  color: rgba(241, 236, 226, 0.76);
}

.signup-promise p {
  margin: 0 0 14px;
  color: var(--ash);
  font-weight: 800;
}

.signup-promise ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-promise li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
}

.signup-promise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--blood);
  transform: rotate(45deg);
}

.email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 42px auto 0;
}

.consent-check {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  color: rgba(241, 236, 226, 0.58);
  font-size: 0.86rem;
  line-height: 1.5;
}

.consent-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blood);
  flex: 0 0 auto;
}

.consent-check a {
  color: var(--ash);
}

.email-input {
  min-width: 0;
  border: 1px solid rgba(241, 236, 226, 0.2);
  background: rgba(241, 236, 226, 0.08);
  color: var(--ash);
  padding: 16px 18px;
  outline: none;
}

.email-input::placeholder { color: rgba(241, 236, 226, 0.44); }

.email-input:focus {
  border-color: rgba(216, 164, 81, 0.7);
  background: rgba(241, 236, 226, 0.12);
}

.email-btn {
  grid-column: 2;
  grid-row: 1;
  border: 0;
  background: var(--blood);
  color: var(--ash);
  padding: 16px 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email-btn:hover { background: #b51b1b; }

.email-helper, .email-success, .email-error {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.email-helper { color: rgba(241, 236, 226, 0.45); }
.email-success { color: var(--ash); }
.email-error { color: #ffb8a7; }

.footer {
  border-top: 1px solid rgba(241, 236, 226, 0.12);
  background: #050606;
  color: rgba(241, 236, 226, 0.46);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ash); }
.footer-sep { padding-inline: 8px; }

.thanks-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 65% 18%, rgba(89, 185, 231, 0.18), transparent 24%),
    radial-gradient(circle at 18% 62%, rgba(143, 0, 0, 0.22), transparent 34%),
    var(--night);
}

.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 10%, rgba(89, 185, 231, 0.16), transparent 26%),
    radial-gradient(circle at 10% 36%, rgba(143, 0, 0, 0.18), transparent 30%),
    var(--night);
  color: var(--ash);
}

.legal-main {
  padding: clamp(120px, 15vw, 180px) 0 clamp(80px, 12vw, 130px);
}

.legal-copy {
  max-width: 820px;
}

.legal-copy .h2 {
  margin-bottom: 34px;
}

.legal-copy h2 {
  margin: 42px 0 12px;
  color: var(--bone);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-copy p {
  color: rgba(241, 236, 226, 0.72);
  line-height: 1.75;
}

.legal-copy a {
  color: var(--ash);
}

.legal-back {
  margin-top: 44px;
}

.thanks-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}

.thanks-main .hero-actions {
  justify-content: center;
}

/* ============================================================
   Focus + animation
   ============================================================ */

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    background: rgba(7, 9, 9, 0.9);
    border-bottom: 1px solid rgba(241, 236, 226, 0.08);
  }

  .nav-links {
    gap: 14px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .hero-note {
    position: static;
    width: min(1120px, calc(100% - 40px));
    margin: 44px auto 0;
  }

  .hero-layout,
  .launch-grid,
  .story-grid,
  .author-grid,
  .proof-grid,
  .voice-grid,
  .fit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .author-photo {
    min-height: 420px;
  }

  .hero-media {
    display: none;
  }

  .moon {
    display: none;
  }

  .hero-layout {
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .voice-section {
    padding-block: 78px;
    background:
      linear-gradient(180deg, rgba(82, 0, 0, 0.98), rgba(104, 0, 0, 0.96)),
      url("assets/krvavy-pattern.png") center top / auto 420px;
  }

  .voice-section::after {
    display: none;
  }

  .voice-logo {
    justify-self: start;
    max-width: 290px;
  }

  .countdown { gap: 6px; }
  .cd-cell { padding-left: 10px; }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-item {
    min-height: auto;
  }

  .player {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .spectrogram {
    aspect-ratio: 16 / 6;
    margin-top: 34px;
  }

  .player-btn {
    width: 54px;
    height: 54px;
  }

  .time {
    grid-column: 2;
    justify-self: start;
  }

  .email-form {
    grid-template-columns: 1fr;
  }

  .email-btn {
    grid-column: 1;
    grid-row: auto;
  }

  .signup-promise {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .container, .narrow {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

  .h1 {
    font-size: clamp(4rem, 23vw, 6.8rem);
  }

  .hero-meta span {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .hero-layout {
    padding-top: 38px;
  }

  .tagline {
    font-size: 1.16rem;
  }

  .launch-strip {
    padding-block: 34px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-fog {
    animation: none;
  }
}
