:root {
  --forest-950: #08140f;
  --forest-900: #0d2118;
  --forest-800: #153326;
  --forest-700: #214838;
  --gold: #c89b43;
  --gold-light: #e1bd70;
  --cream: #f5efe2;
  --paper: #fbf7ed;
  --paper-deep: #eee3cf;
  --ink: #1b211d;
  --muted: #6f716b;
  --white: #fffdf8;
  --line: rgba(65, 63, 51, .17);
  --shadow: 0 24px 70px rgba(13, 25, 19, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; }

a { color: inherit; }

button, input { font: inherit; }

.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;
}

.shell {
  width: min(var(--max), calc(100% - 38px));
  margin: 0 auto;
}

.shell.narrow { max-width: 850px; }
.centered-text { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 228, .96);
  border-bottom: 1px solid rgba(35, 49, 40, .09);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1280px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.wordmark {
  min-width: 190px;
  color: var(--forest-900);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.15;
  font-size: .98rem;
}

.wordmark span { display: block; }

.site-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-menu a {
  position: relative;
  text-decoration: none;
  color: #29332d;
  white-space: nowrap;
}

.site-menu a:not(.spoiler-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}

.site-menu a:hover::after,
.site-menu a[aria-current="page"]::after {
  width: 100%;
}

.site-menu .spoiler-link {
  color: var(--cream);
  background: var(--forest-900);
  border: 1px solid var(--gold);
  padding: 12px 16px;
  border-radius: 3px;
}

.site-menu .spoiler-link:hover,
.site-menu .spoiler-link[aria-current="page"] {
  background: var(--forest-800);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--forest-900);
}

/* Reusable typography */
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #8b6826;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

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

h1, h2, h3 {
  margin-top: 0;
  font-weight: 500;
  line-height: 1.12;
}

h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.5rem; }

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  margin: 22px 0;
}

.ornament span {
  display: block;
  width: 84px;
  height: 1px;
  background: rgba(225, 189, 112, .55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn.primary {
  color: var(--cream);
  background: var(--forest-900);
  border-color: var(--gold);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.34);
  background: rgba(0,0,0,.15);
}

.btn.gold {
  color: #191b16;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn.full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 730px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}

.hero-bg {
  position: absolute;
  inset: -30px;
  z-index: -3;
  background-image: url("assets/cover-front-20260814-r1.webp");
  background-position: center 48%;
  background-size: cover;
  filter: blur(12px) saturate(.8);
  transform: scale(1.08);
  opacity: .52;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 60% 23%, rgba(240, 201, 116, .42), transparent 32%),
    linear-gradient(90deg, rgba(4,14,10,.9) 0%, rgba(10,28,19,.59) 44%, rgba(8,22,16,.74) 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 730px;
  margin: 0 auto;
  padding: 66px 0;
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.book-stage {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.book-3d {
  position: relative;
  width: min(340px, 78vw);
  transform: rotateY(-8deg) rotateX(1deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 32px 34px rgba(0,0,0,.42));
}

.book-3d.modest { width: min(330px, 76vw); }

.book-3d img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 2px 6px 6px 2px;
}

.book-spine {
  position: absolute;
  left: -14px;
  top: 6px;
  bottom: 6px;
  width: 18px;
  z-index: 1;
  background: linear-gradient(90deg, #07130e, #183325 80%, #2e4739);
  transform: translateZ(-4px);
  border-radius: 2px 0 0 2px;
}

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

.hero-copy .kicker {
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4.6vw, 4.45rem);
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,.32);
}

.hero-copy > p {
  max-width: 670px;
  color: #f0eadc;
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.release-line {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(230, 193, 112, .34);
  display: grid;
  gap: 2px;
  max-width: 390px;
}

.release-line span {
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.release-line strong {
  color: var(--white);
  font-size: 1.38rem;
  font-weight: 500;
}

.release-line small { color: #d7d0c2; }

/* Homepage sections */
.welcome-strip {
  padding: 24px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.welcome-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.welcome-copy {
  min-width: 0;
}

.welcome-strip p {
  margin: 3px 0;
  max-width: 760px;
}

.script-line {
  color: #4e4d45;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.welcome-copy > p:last-child {
  color: #66665f;
  font-size: .98rem;
}

.welcome-thanks {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6e5422;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  white-space: nowrap;
}

.welcome-thanks span:last-child {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.feature-section,
.paper-section {
  padding: 82px 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(200,155,67,.08), transparent 23%),
    var(--cream);
}

.section-heading { margin-bottom: 36px; }
.section-heading.centered { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.section-heading p { color: var(--muted); }

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

.feature-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(88,76,49,.18);
  border-radius: 7px;
  box-shadow: 0 9px 28px rgba(48,47,39,.08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(48,47,39,.13);
}

.feature-image,
.feature-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.feature-thumb {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 52% 42%, rgba(217,178,94,.36), transparent 30%),
    linear-gradient(135deg, var(--forest-900), #1d4030);
}

.author-thumb {
  background:
    radial-gradient(circle at 50% 45%, rgba(238,205,133,.23), transparent 34%),
    linear-gradient(135deg, #223b2e, #795f33);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 1.8rem;
}

.feature-body { padding: 22px 22px 26px; }
.feature-body h3 { margin-bottom: 8px; }
.feature-body p { min-height: 76px; color: #555a54; font-size: .96rem; }
.text-link {
  color: #866222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spoiler-teaser {
  padding: 58px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 20%, rgba(200,155,67,.18), transparent 30%),
    var(--forest-900);
}

.spoiler-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.spoiler-teaser h2 { margin-bottom: 5px; }
.spoiler-teaser p { margin: 0; color: #d9d8cf; font-size: 1.15rem; }

/* Page intros */
.page-intro {
  padding: 88px 0 66px;
  text-align: center;
}

.page-intro.cream {
  background:
    radial-gradient(circle at 50% 0%, rgba(200,155,67,.11), transparent 35%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-intro h1 { margin-bottom: 18px; }
.page-intro p {
  margin: 0 auto;
  max-width: 790px;
  color: #62635d;
  font-size: 1.14rem;
}

.page-hero.light-page {
  padding: 80px 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(200,155,67,.10), transparent 24%),
    var(--paper);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 390px) 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.page-cover { display: flex; justify-content: center; }

.page-hero-copy h1 { margin-bottom: 14px; }
.release-badge {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 12px;
  color: #674c1d;
  background: rgba(200,155,67,.13);
  border: 1px solid rgba(200,155,67,.32);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prose p {
  margin: 0 0 1.15em;
  font-size: 1.08rem;
}

.coming-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 26px;
  padding: 20px 22px;
  background: #f0e6d2;
  border-left: 3px solid var(--gold);
}

.coming-card strong { font-size: 1.05rem; }
.coming-card span { color: #65665f; }

.wrap-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(60,58,48,.15);
  border-radius: 7px;
  overflow: hidden;
  background: transparent;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.wrap-button img { display: block; width: 100%; }
.wrap-button span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(8,20,15,.76);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Music */
.music-title span { display: block; }
.music-title span + span { margin-top: .12em; }
.more-line { margin-top: 8px !important; color: #896a31 !important; }

.music-section {
  padding: 72px 0 90px;
  background:
    radial-gradient(circle at 15% 4%, rgba(200,155,67,.09), transparent 24%),
    var(--cream);
}

.music-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
  gap: 28px;
  align-items: start;
}

.player-card {
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(200,155,67,.18), transparent 28%),
    var(--forest-900);
  border: 1px solid #2b4739;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.player-card h2 { margin: 2px 0 18px; }

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.song-list { margin-top: 18px; }

.song-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.song-choice {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 10px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(74,69,52,.18);
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
}

.song-choice:hover,
.song-choice.active {
  border-color: var(--gold);
  box-shadow: inset 3px 0 var(--gold);
}

.song-num {
  color: #916b25;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  letter-spacing: .08em;
}

.song-choice strong { font-weight: 500; font-size: 1.05rem; }
.play-mark { color: #916b25; text-align: right; }

.song-row > a {
  color: #6f674f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  text-decoration: none;
  white-space: nowrap;
}

.playlist-card {
  position: sticky;
  top: 102px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid rgba(75,70,53,.18);
  border-radius: 7px;
  box-shadow: 0 13px 36px rgba(55,51,38,.10);
}

.playlist-card h2 { font-size: 2rem; }
.playlist-card p { color: #65665f; }
.video-frame.compact { margin: 18px 0; }

/* Artwork */
.art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 26px;
}

.art-card {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(74,69,52,.16);
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(55,51,38,.08);
}

.art-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

.art-open img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  display: block;
  background: #fff;
}

.art-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 17px 20px 20px;
}

.art-card figcaption span {
  color: #916b25;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .71rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.art-card figcaption strong { font-size: 1.16rem; font-weight: 500; }

/* Author */
.reading-shell {
  max-width: 900px;
  display: grid;
  gap: 28px;
}

.reading-card {
  padding: clamp(28px, 5vw, 52px);
  background: var(--paper);
  border: 1px solid rgba(74,69,52,.16);
  border-radius: 7px;
  box-shadow: 0 14px 38px rgba(55,51,38,.08);
}

.reading-card h2 { margin-bottom: 25px; }
.reading-card p { font-size: 1.07rem; }
.author-note { border-top: 3px solid var(--gold); }
.wait-line { color: #8a6422; font-size: 1.35rem !important; font-style: italic; }

/* Spoiler Room */
.spoiler-page {
  min-height: calc(100vh - 78px);
  background: var(--forest-950);
}

.spoiler-gate {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  color: var(--white);
  display: grid;
  place-items: center;
}

.spoiler-bg {
  position: absolute;
  inset: -30px;
  z-index: -3;
  background-image: url("assets/cover-front-20260814-r1.webp");
  background-size: cover;
  background-position: 50% 60%;
  filter: blur(16px);
  transform: scale(1.1);
  opacity: .31;
}

.spoiler-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(198,155,67,.18), transparent 30%),
    linear-gradient(rgba(5,14,10,.83), rgba(5,14,10,.95));
}

.spoiler-shell {
  width: min(820px, calc(100% - 34px));
  margin: 0 auto;
  padding: 68px 0;
}

.gate-panel { text-align: center; }

.lock-symbol,
.unlock-heart {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(224,187,108,.48);
  border-radius: 50%;
  font-size: 1.6rem;
}

.gate-panel h1 { margin-bottom: 7px; }

.gate-script {
  margin: 0 auto 34px;
  color: var(--gold-light);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.gate-question {
  max-width: 590px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(5,15,11,.72);
  border: 1px solid rgba(211,179,108,.35);
  border-radius: 7px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.gate-question h2 { margin-bottom: 10px; font-size: clamp(1.7rem, 3.4vw, 2.45rem); }
.gate-question p { color: #d6d2c8; }

.gate-question form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.gate-question input {
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  color: var(--white);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(225,189,112,.38);
  border-radius: 3px;
  outline: none;
}

.gate-question input:focus { border-color: var(--gold-light); }

.gate-message {
  min-height: 22px;
  margin: 0 !important;
  color: #e2be75 !important;
  font-size: .92rem;
}

.spoiler-warning {
  max-width: 460px;
  margin: 28px auto 0;
  color: #b9b8b0;
  font-size: .9rem;
}

.unlocked {
  max-width: 760px;
  margin: 0 auto;
}

.coming-soon-room {
  margin-top: 36px;
  padding: 38px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(221,188,117,.45);
  border-radius: 7px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.coming-soon-room h2 { margin-bottom: 10px; }
.coming-soon-room p { color: #65665f; }

.reset-room {
  margin-top: 24px;
  color: #c8c7bf;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* Lightbox */
.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 60px 30px 30px;
  background: rgba(4,10,7,.94);
}

.lightbox-close {
  position: absolute;
  right: 22px;
  top: 12px;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-content { text-align: center; max-width: min(1500px, 96vw); }
.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #fff;
}
.lightbox-content p { color: #e7e2d7; }

/* Footer */
.site-footer {
  color: #26302a;
  background:
    linear-gradient(rgba(251,247,237,.88), rgba(251,247,237,.95)),
    radial-gradient(circle at 80% 100%, rgba(47,83,62,.18), transparent 33%);
  border-top: 1px solid rgba(50,58,52,.10);
}

.footer-inner {
  width: min(var(--max), calc(100% - 38px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-brand strong,
.footer-brand span { display: block; }
.footer-brand strong {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 500;
}
.footer-brand span {
  margin-top: 6px;
  color: #6c6d66;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
}

.footer-links a { text-decoration: none; }

.footer-note {
  color: #5b5b53;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.35rem;
}

.footer-bottom {
  padding: 13px 20px;
  color: #d7d5cb;
  background: var(--forest-900);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
}

/* Responsive */
@media (max-width: 1020px) {
  .site-menu { gap: 15px; font-size: .7rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .music-layout { grid-template-columns: 1fr; }
  .playlist-card { position: static; }
}

@media (max-width: 820px) {
  .nav-shell { min-height: 68px; }
  .wordmark { min-width: 0; font-size: .86rem; }
  .nav-toggle { display: block; }

  .site-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 16px 20px 22px;
    background: rgba(247,241,228,.99);
    border-bottom: 1px solid rgba(35,49,40,.12);
    box-shadow: 0 15px 24px rgba(22,32,26,.08);
  }

  .site-menu.open {
    display: grid;
    gap: 0;
  }

  .site-menu a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(46,55,50,.08);
  }

  .site-menu a:not(.spoiler-link)::after { display: none; }
  .site-menu .spoiler-link { margin-top: 12px; text-align: center; }

  .hero { min-height: auto; }
  .hero-inner {
    min-height: auto;
    padding: 55px 0 62px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .book-3d { width: min(310px, 78vw); transform: rotateY(-5deg); }
  .hero-copy { text-align: center; margin: 0 auto; }
  .ornament { justify-content: center; }
  .hero-actions { justify-content: center; }
  .release-line { margin-left: auto; margin-right: auto; }

  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-copy { text-align: left; }

  .spoiler-teaser-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .welcome-compact {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .welcome-strip p {
    margin-left: auto;
    margin-right: auto;
  }

  .welcome-thanks {
    justify-content: center;
    white-space: normal;
  }

  .shell, .nav-shell { width: min(100% - 26px, var(--max)); }
  h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }

  .feature-grid,
  .art-grid { grid-template-columns: 1fr; }

  .feature-body p { min-height: 0; }

  .song-row {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 14px;
  }

  .song-row > a {
    padding-left: 55px;
    margin-top: 3px;
  }

  .player-card,
  .playlist-card,
  .gate-question { padding: 20px; }

  .page-intro { padding: 64px 0 50px; }
  .feature-section, .paper-section { padding: 60px 0; }

  .lightbox { padding: 52px 10px 18px; }
}


@media (max-width: 820px) {
  .essie-teaser-inner {
    grid-template-columns: 58px 1fr;
  }

  .essie-teaser-inner .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .essie-copy-grid,
  .essie-theme-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .essie-teaser-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .essie-mark {
    margin: 0 auto;
  }

  .essie-teaser-inner .btn {
    justify-self: center;
  }

  .essie-hero {
    min-height: 520px;
  }
}


@media (max-width: 820px) {
  .essie-teaser-inner {
    grid-template-columns: 58px 1fr;
  }

  .essie-teaser-inner .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .essie-copy-grid,
  .essie-path-grid {
    grid-template-columns: 1fr;
  }

  .essie-title-block {
    padding: 38px 22px;
  }
}

@media (max-width: 620px) {
  .essie-teaser-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .essie-mark {
    margin: 0 auto;
  }

  .essie-teaser-inner .btn {
    justify-self: center;
  }

  .essie-hero-clean {
    min-height: 590px;
  }

  .essie-title-block h1 {
    font-size: clamp(4.3rem, 22vw, 6.4rem);
  }
}


/* Essie immersive reveal */
.essie-page {
  background: #0b1812;
}

.essie-reveal-shell {
  min-height: calc(100vh - 78px);
}

.essie-teaser-panel {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 78px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0b1812;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity .46s ease, transform .46s ease;
}

.essie-teaser-panel.is-open {
  opacity: 0;
  transform: scale(1.015);
}

.essie-teaser-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) brightness(.73);
}

.essie-teaser-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 28%, rgba(225,189,112,.18), transparent 28%),
    linear-gradient(180deg, rgba(5,14,10,.26), rgba(5,14,10,.82));
}

.essie-teaser-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,.42);
}

.essie-teaser-copy strong {
  display: block;
  margin: 10px 0 12px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.teaser-cta {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.essie-open[hidden] {
  display: none;
}

.essie-open {
  opacity: 0;
  transition: opacity .55s ease;
}

.essie-open.visible {
  opacity: 1;
}

.essie-visual-hero {
  position: relative;
  background: #0b1812;
}

.essie-visual-hero img {
  width: 100%;
  display: block;
  max-height: 82vh;
  object-fit: cover;
}

.essie-hero-caption {
  position: absolute;
  left: clamp(24px, 6vw, 90px);
  bottom: clamp(24px, 6vw, 78px);
  max-width: 650px;
  padding: 20px 24px;
  color: var(--white);
  background: rgba(6,18,12,.58);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(5px);
}

.essie-hero-caption h1 {
  margin: 2px 0 4px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.essie-hero-caption p {
  margin: 0;
  color: #e5dfd3;
  font-size: 1.06rem;
}

.essie-story-section {
  padding: 84px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(200,155,67,.09), transparent 24%),
    #f1e6d3;
}

.essie-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(340px, 1.12fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.essie-story-copy h2 {
  margin-bottom: 22px;
}

.essie-story-copy p {
  font-size: 1.08rem;
}

.essie-release-line {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(117,91,46,.24);
  color: #7f5d1d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.essie-card-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(91,74,45,.22);
  border-radius: 6px;
  box-shadow: 0 22px 58px rgba(37,30,20,.16);
  background: #d9c49d;
}

.essie-card-frame img {
  display: block;
  width: 100%;
}

.essie-world-section {
  padding: 84px 0 92px;
  background:
    radial-gradient(circle at 50% 0%, rgba(208,170,91,.08), transparent 24%),
    #17130f;
  color: var(--white);
}

.essie-world-section .section-heading p {
  color: #cfc6b7;
}

.essie-world-image {
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid rgba(213,174,92,.34);
  border-radius: 6px;
  box-shadow: 0 22px 58px rgba(0,0,0,.32);
}

.essie-world-image img {
  width: 100%;
  display: block;
}

.essie-closing.immersive {
  background:
    radial-gradient(circle at 50% 12%, rgba(200,155,67,.17), transparent 28%),
    #0b1812;
}

.essie-home-teaser {
  background: #0b1812;
}

.essie-home-teaser-link {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.essie-home-teaser-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) brightness(.62);
  transition: transform .45s ease, filter .45s ease;
}

.essie-home-teaser-link:hover img {
  transform: scale(1.025);
  filter: saturate(.86) brightness(.69);
}

.essie-home-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(225,189,112,.12), transparent 24%),
    linear-gradient(90deg, rgba(5,15,10,.82), rgba(5,15,10,.35), rgba(5,15,10,.78));
}

.essie-home-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 38px));
  text-align: center;
  color: var(--white);
}

.essie-home-copy strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.essie-home-copy > span:last-child {
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .essie-story-grid {
    grid-template-columns: 1fr;
  }

  .essie-visual-hero img {
    max-height: none;
  }

  .essie-hero-caption {
    position: static;
    max-width: none;
    background: #0b1812;
    border-left: 0;
    border-top: 1px solid rgba(200,155,67,.28);
    padding: 26px 20px 32px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .essie-teaser-panel {
    min-height: 72vh;
  }

  .essie-teaser-copy strong {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .essie-story-section,
  .essie-world-section {
    padding: 62px 0;
  }

  .essie-home-teaser-link {
    min-height: 230px;
  }
}


/* Essie direct page — no reveal gate */
.essie-direct-page .essie-open,
.essie-direct-page {
  opacity: 1 !important;
}

.essie-direct-page .essie-visual-hero {
  margin-top: 0;
}


/* Essie minimal page */
.essie-minimal-page {
  background: #0b1812;
}

.essie-single-visual {
  padding: 26px 0 34px;
  background: #0b1812;
}

.essie-single-frame {
  width: min(1500px, calc(100% - 30px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(200,155,67,.34);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  background: #0b1812;

  /* Crop away the bottom author/world text area. */
  aspect-ratio: 1659 / 805;
}

.essie-single-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 720px) {
  .essie-single-visual {
    padding: 14px 0 22px;
  }

  .essie-single-frame {
    width: calc(100% - 18px);
  }
}


/* ==========================================================
   TGHL HOMEPAGE / SITE PREMIUM OVERRIDES
   ========================================================== */

body[data-page="home"] {
  background: #0b0d0b;
  color: #e6dbc3;
}

body[data-page="home"] .site-header {
  background: rgba(7, 10, 8, .97);
  border-bottom: 1px solid rgba(200,155,67,.18);
}

body[data-page="home"] .wordmark,
body[data-page="home"] .site-menu a {
  color: #d0c09f;
}

body[data-page="home"] .site-menu .spoiler-link {
  background: rgba(200,155,67,.08);
  color: #ebdfc5;
}

body[data-page="home"] .hero {
  min-height: 760px;
  background: #070908;
}

body[data-page="home"] .hero-bg {
  background-image: url("assets/cover-wrap-20260814-r1.webp");
  background-size: cover;
  background-position: center 35%;
  filter: blur(8px) brightness(.30) saturate(.70);
  transform: scale(1.05);
  opacity: .42;
}

body[data-page="home"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(5,8,6,.96) 0%, rgba(6,8,6,.86) 28%, rgba(6,8,6,.58) 56%, rgba(6,8,6,.72) 100%),
    linear-gradient(0deg, rgba(5,7,5,.66) 0%, rgba(5,7,5,.10) 38%, rgba(5,7,5,.42) 100%);
}

body[data-page="home"] .hero-copy {
  max-width: 640px;
}

body[data-page="home"] .hero-copy h1 {
  color: #f0e3c6;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

body[data-page="home"] .hero-copy > p,
body[data-page="home"] .release-line small {
  color: #ddd0b5;
}

body[data-page="home"] .welcome-strip {
  background: #0d100d;
  border-top: 1px solid rgba(200,155,67,.12);
  border-bottom: 1px solid rgba(200,155,67,.12);
}

body[data-page="home"] .script-line,
body[data-page="home"] .welcome-thanks {
  color: #c89b43;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

body[data-page="home"] .welcome-copy > p:last-child {
  color: #b8ad95;
}

body[data-page="home"] .feature-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(200,155,67,.08), transparent 32%),
    #0c0f0c;
  padding-top: 70px;
  padding-bottom: 78px;
}

body[data-page="home"] .section-heading {
  text-align: center;
}

body[data-page="home"] .section-heading h2 {
  color: #caa35f;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(2rem, 3vw, 2.9rem);
}

body[data-page="home"] .feature-grid {
  gap: 16px;
}

body[data-page="home"] .feature-card {
  background: #11130f;
  border: 1px solid rgba(200,155,67,.28);
  border-radius: 0;
  box-shadow: none;
  color: #e0d4bc;
}

body[data-page="home"] .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  border-color: rgba(225,189,112,.44);
}

body[data-page="home"] .feature-image,
body[data-page="home"] .feature-thumb {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  width: 100%;
  background: #0d0f0c;
}

body[data-page="home"] .book-card .feature-image {
  object-fit: contain;
  background: #0c0d0a;
  padding: 10px;
}

body[data-page="home"] .feature-body {
  padding: 18px 18px 22px;
  text-align: center;
}

body[data-page="home"] .feature-body h3 {
  color: #d2ae70;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 1.16rem;
}

body[data-page="home"] .feature-body p {
  color: #b6aa8f;
  min-height: 70px;
  font-size: .95rem;
}

body[data-page="home"] .text-link {
  color: #d5b06b;
}

body[data-page="home"] .feature-grid-five {
  grid-template-columns: repeat(5, 1fr);
}

body[data-page="home"] .feature-grid-five .feature-card {
  min-height: 100%;
}

body[data-page="home"] .feature-grid-five .feature-image {
  height: 200px;
}

body[data-page="home"] .feature-grid-five .feature-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 178px;
}

body[data-page="home"] .feature-grid-five .feature-body p {
  min-height: 84px;
}

@media (max-width: 1200px) {
  body[data-page="home"] .feature-grid-five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  body[data-page="home"] .feature-grid-five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body[data-page="home"] .feature-grid-five { grid-template-columns: 1fr; }
}

/* Artwork page intro cleanup */
body[data-page="artwork"] .artwork-intro h1 { display: none; }
body[data-page="artwork"] .artwork-intro p { margin-top: 8px; }

/* ==========================================================
   DARK ALL-PAGES REFRESH
   ========================================================== */

:root {
  --tghl-bg: #090b09;
  --tghl-bg-soft: #0d110d;
  --tghl-panel: #11140f;
  --tghl-gold: #c79b4e;
  --tghl-gold-soft: #d7b67a;
  --tghl-text: #e6dbc3;
  --tghl-muted: #b5a98f;
  --tghl-line: rgba(199, 155, 78, .22);
}

body[data-page="book"],
body[data-page="music"],
body[data-page="artwork"],
body[data-page="author"],
body[data-page="coming"],
body[data-page="spoiler"] {
  background:
    radial-gradient(circle at 50% 0%, rgba(199,155,78,.08), transparent 30%),
    var(--tghl-bg);
  color: var(--tghl-text);
}

body[data-page="book"] .site-header,
body[data-page="music"] .site-header,
body[data-page="artwork"] .site-header,
body[data-page="author"] .site-header,
body[data-page="coming"] .site-header,
body[data-page="spoiler"] .site-header {
  background: rgba(7, 10, 8, .97);
  border-bottom: 1px solid var(--tghl-line);
}

body[data-page="book"] .wordmark,
body[data-page="music"] .wordmark,
body[data-page="artwork"] .wordmark,
body[data-page="author"] .wordmark,
body[data-page="coming"] .wordmark,
body[data-page="spoiler"] .wordmark,
body[data-page="book"] .site-menu a,
body[data-page="music"] .site-menu a,
body[data-page="artwork"] .site-menu a,
body[data-page="author"] .site-menu a,
body[data-page="coming"] .site-menu a,
body[data-page="spoiler"] .site-menu a {
  color: #d2c19d;
}

body[data-page="book"] .site-menu .spoiler-link,
body[data-page="music"] .site-menu .spoiler-link,
body[data-page="artwork"] .site-menu .spoiler-link,
body[data-page="author"] .site-menu .spoiler-link,
body[data-page="coming"] .site-menu .spoiler-link,
body[data-page="spoiler"] .site-menu .spoiler-link {
  background: rgba(199,155,78,.08);
  color: #f0e2c5;
}

body[data-page="book"] .page-intro,
body[data-page="book"] .page-hero.light-page,
body[data-page="music"] .page-intro,
body[data-page="artwork"] .page-intro,
body[data-page="author"] .page-intro,
body[data-page="book"] .paper-section,
body[data-page="music"] .music-section,
body[data-page="artwork"] .paper-section,
body[data-page="author"] .paper-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(199,155,78,.08), transparent 32%),
    var(--tghl-bg-soft);
  border-top: 1px solid rgba(199,155,78,.06);
  border-bottom: 1px solid rgba(199,155,78,.06);
}

body[data-page="book"] .page-intro p,
body[data-page="book"] .page-hero-copy p,
body[data-page="music"] .page-intro p,
body[data-page="artwork"] .page-intro p,
body[data-page="author"] .page-intro p,
body[data-page="author"] .reading-card p,
body[data-page="music"] .playlist-card p,
body[data-page="music"] .song-row > a,
body[data-page="book"] .prose p,
body[data-page="author"] .wait-line,
body[data-page="spoiler"] .coming-soon-room p {
  color: var(--tghl-muted);
}

body[data-page="book"] h1,
body[data-page="book"] h2,
body[data-page="music"] h1,
body[data-page="music"] h2,
body[data-page="artwork"] h1,
body[data-page="artwork"] h2,
body[data-page="author"] h1,
body[data-page="author"] h2,
body[data-page="coming"] h1,
body[data-page="coming"] h2,
body[data-page="spoiler"] h1,
body[data-page="spoiler"] h2 {
  color: var(--tghl-gold-soft);
}

body[data-page="book"] .eyebrow,
body[data-page="music"] .eyebrow,
body[data-page="artwork"] .eyebrow,
body[data-page="author"] .eyebrow,
body[data-page="spoiler"] .eyebrow {
  color: var(--tghl-gold);
}

body[data-page="book"] .coming-card,
body[data-page="music"] .player-card,
body[data-page="music"] .playlist-card,
body[data-page="music"] .song-choice,
body[data-page="artwork"] .art-card,
body[data-page="author"] .reading-card,
body[data-page="spoiler"] .coming-soon-room,
body[data-page="spoiler"] .gate-question {
  background: var(--tghl-panel);
  color: var(--tghl-text);
  border-color: var(--tghl-line);
  box-shadow: none;
  border-radius: 0;
}

body[data-page="music"] .player-card {
  background:
    radial-gradient(circle at 82% 14%, rgba(199,155,78,.10), transparent 28%),
    var(--tghl-panel);
}

body[data-page="book"] .coming-card span,
body[data-page="music"] .song-choice strong,
body[data-page="artwork"] .art-card figcaption strong,
body[data-page="author"] .reading-card h2 {
  color: var(--tghl-gold-soft);
}

body[data-page="book"] .release-badge {
  background: rgba(199,155,78,.10);
  color: var(--tghl-gold-soft);
  border-color: rgba(199,155,78,.24);
}

body[data-page="artwork"] .art-open,
body[data-page="artwork"] .art-open img {
  background: #0c0f0b;
}

body[data-page="artwork"] .lightbox {
  background: rgba(3, 5, 4, .88);
}

body[data-page="music"] .video-frame {
  border-color: rgba(199,155,78,.18);
}

body[data-page="music"] .btn.primary,
body[data-page="spoiler"] .btn.primary {
  background: rgba(199,155,78,.10);
  border-color: rgba(199,155,78,.40);
  color: var(--tghl-gold-soft);
}

body[data-page="music"] .btn.ghost,
body[data-page="spoiler"] .btn.ghost {
  background: transparent;
  border-color: rgba(199,155,78,.26);
  color: var(--tghl-muted);
}

body[data-page="author"] .author-note {
  border-top: 1px solid rgba(199,155,78,.30);
}

body[data-page="coming"] .essie-minimal-page {
  background:
    radial-gradient(circle at 50% 10%, rgba(199,155,78,.10), transparent 34%),
    var(--tghl-bg);
}

body[data-page="coming"] .essie-single-frame {
  background: #0b0d0a;
  border-color: rgba(199,155,78,.34);
}

body[data-page="book"] .site-footer,
body[data-page="music"] .site-footer,
body[data-page="artwork"] .site-footer,
body[data-page="author"] .site-footer,
body[data-page="coming"] .site-footer,
body[data-page="spoiler"] .site-footer {
  background: #070907;
  border-top: 1px solid rgba(199,155,78,.14);
}

body[data-page="book"] .footer-brand strong,
body[data-page="music"] .footer-brand strong,
body[data-page="artwork"] .footer-brand strong,
body[data-page="author"] .footer-brand strong,
body[data-page="coming"] .footer-brand strong,
body[data-page="spoiler"] .footer-brand strong {
  color: var(--tghl-gold);
}

body[data-page="book"] .footer-brand span,
body[data-page="book"] .footer-links a,
body[data-page="book"] .footer-note,
body[data-page="book"] .footer-bottom,
body[data-page="music"] .footer-brand span,
body[data-page="music"] .footer-links a,
body[data-page="music"] .footer-note,
body[data-page="music"] .footer-bottom,
body[data-page="artwork"] .footer-brand span,
body[data-page="artwork"] .footer-links a,
body[data-page="artwork"] .footer-note,
body[data-page="artwork"] .footer-bottom,
body[data-page="author"] .footer-brand span,
body[data-page="author"] .footer-links a,
body[data-page="author"] .footer-note,
body[data-page="author"] .footer-bottom,
body[data-page="coming"] .footer-brand span,
body[data-page="coming"] .footer-links a,
body[data-page="coming"] .footer-note,
body[data-page="coming"] .footer-bottom,
body[data-page="spoiler"] .footer-brand span,
body[data-page="spoiler"] .footer-links a,
body[data-page="spoiler"] .footer-note,
body[data-page="spoiler"] .footer-bottom {
  color: #9e927a;
}


/* ESSIE reveal-page identity */
body[data-page="coming"] .essie-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  color: #d7b67a;
}

body[data-page="coming"] .essie-wordmark span {
  display: block;
  font-size: 1.18rem;
  letter-spacing: .22em;
}

body[data-page="coming"] .essie-wordmark small {
  color: #9e927a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 400;
}

@media (max-width: 760px) {
  body[data-page="coming"] .essie-wordmark small {
    font-size: .52rem;
  }
}


/* Essie page: no duplicate title/author above hero artwork */
body[data-page="coming"] .nav-shell {
  justify-content: flex-end;
}

body[data-page="coming"] .site-menu {
  margin-left: 0;
}

body[data-page="coming"] .nav-toggle {
  margin-left: auto;
}


/* Corrected Essie page: keep title/author at top, remove duplicate footer branding */
body[data-page="coming"] .nav-shell {
  justify-content: initial;
}

body[data-page="coming"] .site-menu {
  margin-left: auto;
}

body[data-page="coming"] .footer-inner {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px) {
  body[data-page="coming"] .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* Essie reveal: neutral global site navigation + release note beneath hero */
body[data-page="coming"] .author-wordmark {
  color: #d2c19d;
  font-size: .96rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="coming"] .author-wordmark span {
  display: block;
}

body[data-page="coming"] .essie-release-note {
  width: min(1500px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 18px 8px;
  text-align: center;
}

body[data-page="coming"] .essie-release-note span {
  display: inline-block;
  color: #d7b67a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  letter-spacing: .15em;
  text-transform: uppercase;
}

body[data-page="coming"] .footer-inner {
  grid-template-columns: 1fr;
}

body[data-page="coming"] .footer-links {
  justify-content: center;
}


/* Final Essie header correction */
body[data-page="coming"] .essie-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  color: #d7b67a;
  text-transform: uppercase;
}

body[data-page="coming"] .essie-wordmark span {
  display: block;
  font-size: 1.18rem;
  letter-spacing: .22em;
}

body[data-page="coming"] .essie-wordmark small {
  display: block;
  color: #9e927a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  body[data-page="coming"] .essie-wordmark small {
    font-size: .52rem;
  }
}


/* Author page cleanup */
body[data-page="author"] .author-bio-card > p:first-child {
  margin-top: 0;
}


/* ==========================================================
   PRE-DEPLOY QC FINAL OVERRIDES
   ========================================================== */

/* Mobile navigation must stay dark on every page. */
@media (max-width: 820px) {
  .site-menu {
    background: rgba(8, 10, 8, .99);
    border-bottom: 1px solid rgba(199,155,78,.22);
    box-shadow: 0 16px 28px rgba(0,0,0,.28);
  }

  .site-menu a {
    color: #d8ccb3 !important;
    border-bottom-color: rgba(199,155,78,.12);
  }

  .site-menu .spoiler-link {
    color: #f0e2c5 !important;
    background: rgba(199,155,78,.10);
    border-color: rgba(199,155,78,.34);
  }

  .nav-toggle span:not(.sr-only) {
    background: #caa35f;
  }
}

/* Make the 404 page part of the same dark site instead of reverting to cream. */
body[data-page="404"] {
  background:
    radial-gradient(circle at 50% 0%, rgba(199,155,78,.08), transparent 30%),
    #090b09;
  color: #e6dbc3;
}

body[data-page="404"] .site-header {
  background: rgba(7,10,8,.97);
  border-bottom: 1px solid rgba(199,155,78,.22);
}

body[data-page="404"] .wordmark,
body[data-page="404"] .site-menu a {
  color: #d2c19d;
}

body[data-page="404"] .page-intro.cream {
  min-height: 60vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(199,155,78,.08), transparent 32%),
    #0d110d;
  border-color: rgba(199,155,78,.08);
}

body[data-page="404"] .page-intro h1 {
  color: #d7b67a;
}

body[data-page="404"] .page-intro p {
  color: #b5a98f;
}

body[data-page="404"] .site-footer {
  background: #070907;
  border-top: 1px solid rgba(199,155,78,.14);
}

body[data-page="404"] .footer-brand strong {
  color: #c79b4e;
}

body[data-page="404"] .footer-brand span,
body[data-page="404"] .footer-links a,
body[data-page="404"] .footer-note,
body[data-page="404"] .footer-bottom {
  color: #9e927a;
}

/* Homepage card images: ensure actual supplied artwork wins over any old thumbnail styles. */
body[data-page="home"] .feature-card > img.feature-image {
  display: block !important;
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}

body[data-page="home"] .book-card > img.feature-image {
  object-fit: contain;
  background: #0c0d0a;
}

/* Author bio begins cleanly after the single page heading. */
body[data-page="author"] .author-bio-card > p:first-child {
  margin-top: 0;
}


/* ==========================================================
   FINAL CLEAN FOOTER — same on every page
   ========================================================== */

.footer-inner,
body[data-page="coming"] .footer-inner {
  width: min(var(--max), calc(100% - 38px));
  margin: 0 auto;
  padding: 34px 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links,
body[data-page="coming"] .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 26px;
  text-align: center;
}

.footer-links a {
  color: #9e927a;
}

@media (max-width: 640px) {
  .footer-inner,
  body[data-page="coming"] .footer-inner {
    padding: 28px 0 24px;
  }

  .footer-links,
  body[data-page="coming"] .footer-links {
    gap: 10px 18px;
    font-size: .76rem;
  }
}

/* Ensure the two supplied homepage card images stay visible. */
body[data-page="home"] .music-card > img.feature-image,
body[data-page="home"] .author-card-home > img.feature-image {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}


body[data-page="artwork"] .artwork-intro p {
  margin-top: 14px;
}


/* ==========================================================
   VERIFIED FINAL FOOTER — UNIVERSAL
   Navigation + copyright only. Dark on EVERY page.
   ========================================================== */

.site-footer,
body[data-page="home"] .site-footer,
body[data-page="book"] .site-footer,
body[data-page="music"] .site-footer,
body[data-page="artwork"] .site-footer,
body[data-page="author"] .site-footer,
body[data-page="coming"] .site-footer,
body[data-page="spoiler"] .site-footer,
body[data-page="404"] .site-footer {
  color: #b4a88f !important;
  background: #070907 !important;
  border-top: 1px solid rgba(199,155,78,.16) !important;
}

.footer-inner,
body[data-page="coming"] .footer-inner {
  width: min(var(--max), calc(100% - 38px)) !important;
  margin: 0 auto !important;
  padding: 30px 0 26px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.footer-links,
body[data-page="coming"] .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 24px !important;
  text-align: center !important;
}

.footer-links a,
body[data-page="home"] .footer-links a,
body[data-page="book"] .footer-links a,
body[data-page="music"] .footer-links a,
body[data-page="artwork"] .footer-links a,
body[data-page="author"] .footer-links a,
body[data-page="coming"] .footer-links a,
body[data-page="spoiler"] .footer-links a,
body[data-page="404"] .footer-links a {
  color: #aa9e85 !important;
  text-decoration: none !important;
}

.footer-bottom,
body[data-page="home"] .footer-bottom,
body[data-page="book"] .footer-bottom,
body[data-page="music"] .footer-bottom,
body[data-page="artwork"] .footer-bottom,
body[data-page="author"] .footer-bottom,
body[data-page="coming"] .footer-bottom,
body[data-page="spoiler"] .footer-bottom,
body[data-page="404"] .footer-bottom {
  padding: 13px 20px !important;
  color: #c9bda5 !important;
  background: #082218 !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .footer-inner,
  body[data-page="coming"] .footer-inner {
    padding: 24px 0 22px !important;
  }

  .footer-links,
  body[data-page="coming"] .footer-links {
    gap: 9px 17px !important;
    font-size: .76rem !important;
  }
}

/* Explicitly preserve the two supplied homepage images. */
body[data-page="home"] .music-card > img.feature-image,
body[data-page="home"] .author-card-home > img.feature-image {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================
   COMPACT HUMAN-VIEWING PASS — PREVIEW
   Reduces dead vertical space without changing site identity.
   ========================================================== */

body { line-height: 1.58; }

.nav-shell { min-height: 68px; }

/* Home */
body[data-page="home"] .hero,
body[data-page="home"] .hero-inner {
  min-height: 640px;
}

body[data-page="home"] .hero-inner {
  padding-top: 42px;
  padding-bottom: 42px;
  gap: clamp(38px, 6vw, 78px);
}

body[data-page="home"] .hero-copy > p {
  margin: 14px 0 0;
  line-height: 1.56;
}

body[data-page="home"] .ornament { margin: 16px 0 12px; }
body[data-page="home"] .book-invite { margin-top: 16px; padding-top: 13px; }
body[data-page="home"] .welcome-strip { padding-top: 14px; padding-bottom: 13px; }
body[data-page="home"] .feature-section { padding-top: 24px; padding-bottom: 30px; }
body[data-page="home"] .section-heading { margin-bottom: 14px; }
body[data-page="home"] .spoiler-teaser { padding: 18px 0 20px; }
body[data-page="home"] .spoiler-teaser-inner { justify-content: center; }

/* Interior pages */
.page-intro { padding: 50px 0 34px; }
.page-intro h1 { margin-bottom: 12px; }
.page-hero.light-page { padding: 50px 0; }
.page-hero-grid { gap: clamp(34px, 6vw, 72px); }
.paper-section { padding: 48px 0; }
.music-section { padding: 44px 0 58px; }
.music-layout { gap: 20px; }
.player-card, .playlist-card { padding: 22px; }
.player-card h2 { margin-bottom: 13px; }
.song-list { margin-top: 13px; }
.reading-shell { gap: 18px; }
.reading-card { padding: clamp(24px, 4vw, 40px); }
.reading-card h2 { margin-bottom: 18px; }
.reading-card p { margin-top: .7em; margin-bottom: .7em; }
.art-grid { gap: 18px; }

/* Behind the Story room */
body[data-page="spoiler"] .spoiler-gate {
  min-height: auto;
  align-items: start;
}

body[data-page="spoiler"] .spoiler-shell {
  width: min(980px, calc(100% - 34px));
  padding: 40px 0 44px;
}

body[data-page="spoiler"] .lock-symbol,
body[data-page="spoiler"] .unlock-heart {
  margin-bottom: 14px;
}

body[data-page="spoiler"] .gate-question {
  padding: 24px;
}

body[data-page="spoiler"] .gate-question form { margin-top: 16px; }
body[data-page="spoiler"] .spoiler-warning { margin-top: 18px; }
body[data-page="spoiler"] .gate-script { margin-bottom: 22px; }

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  text-align: left;
}

.beyond-card {
  overflow: hidden;
  background: var(--tghl-panel, #11140f);
  border: 1px solid var(--tghl-line, rgba(199,155,78,.22));
}

.beyond-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #0c0f0b;
}

.beyond-card-body { padding: 20px; }
.beyond-card-body .eyebrow { margin-bottom: 8px; }
.beyond-card-body h2 { margin-bottom: 10px; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.beyond-card-body p { margin: 0 0 16px; color: var(--tghl-muted, #b5a98f); }
.beyond-card-body .btn.ghost { min-height: 44px; padding: 9px 14px; }
body[data-page="spoiler"] .reset-room { margin-top: 18px; }

/* Footer */
.footer-inner,
body[data-page="coming"] .footer-inner {
  padding-top: 20px !important;
  padding-bottom: 18px !important;
}
.footer-bottom,
body[data-page="home"] .footer-bottom,
body[data-page="book"] .footer-bottom,
body[data-page="music"] .footer-bottom,
body[data-page="artwork"] .footer-bottom,
body[data-page="author"] .footer-bottom,
body[data-page="coming"] .footer-bottom,
body[data-page="spoiler"] .footer-bottom,
body[data-page="404"] .footer-bottom {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

@media (max-width: 820px) {
  .nav-shell { min-height: 62px; }
  body[data-page="home"] .hero-inner { padding: 34px 0 38px; gap: 30px; }
  .page-hero.light-page { padding: 38px 0; }
  body[data-page="spoiler"] .spoiler-shell { padding: 30px 0 34px; }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero-inner { padding: 28px 0 32px; }
  body[data-page="home"] .hero-copy > p { margin-top: 11px; }
  body[data-page="home"] .spoiler-teaser { padding: 14px 0 16px; }
  .page-intro { padding: 34px 0 24px; }
  .page-hero.light-page { padding: 32px 0; }
  .feature-section, .paper-section { padding: 34px 0; }
  .music-section { padding: 30px 0 38px; }
  .reading-shell { gap: 14px; }
  .reading-card { padding: 22px 20px; }
  .beyond-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .beyond-card-body { padding: 17px; }
  body[data-page="spoiler"] .gate-question { padding: 18px; }
  .footer-inner, body[data-page="coming"] .footer-inner { padding: 17px 0 15px !important; }
}


/* Keep the locked reader gate compact rather than forcing a full-screen void. */
body[data-page="spoiler"] .spoiler-page { min-height: 0; }

/* ==========================================================
   LAUNCH POLISH PASS — USER REVIEW PREVIEW
   ========================================================== */

/* Home: cleaner hierarchy and deliberate mobile breathing room. */
body[data-page="home"] .live-book-link {
  font-size: 1.08rem;
}

body[data-page="home"] .section-heading h2 {
  text-transform: none;
  letter-spacing: .035em;
}

/* The duplicate lower Beyond CTA is intentionally removed in markup. */

/* Author: reduce repetition and vertical dead space. */
body[data-page="author"] .page-intro {
  padding-top: 38px;
  padding-bottom: 26px;
}
body[data-page="author"] .page-intro h1 {
  margin-bottom: 0;
}
body[data-page="author"] .paper-section {
  padding-top: 32px;
  padding-bottom: 44px;
}
body[data-page="author"] .reading-shell {
  gap: 12px;
}
body[data-page="author"] .reading-card {
  padding: clamp(22px, 3vw, 32px);
}
body[data-page="author"] .reading-card h2 {
  margin-bottom: 14px;
}
body[data-page="author"] .reading-card p {
  line-height: 1.5;
}

/* Music: direct links replace embedded players. */
body[data-page="music"] .music-direct-section {
  min-height: calc(100vh - 150px);
  padding-top: 42px;
  padding-bottom: 52px;
}
body[data-page="music"] .music-direct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, .6fr);
  gap: 18px;
  align-items: start;
}
body[data-page="music"] .direct-listen-card {
  padding: clamp(22px, 3.5vw, 36px);
}
body[data-page="music"] .direct-listen-card h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}
body[data-page="music"] .direct-song-list {
  display: grid;
  gap: 9px;
}
body[data-page="music"] .direct-song {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  color: var(--tghl-text);
  background: rgba(255,255,255,.018);
  border: 1px solid var(--tghl-line);
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
body[data-page="music"] .direct-song:hover,
body[data-page="music"] .direct-song:focus-visible {
  background: rgba(199,155,78,.07);
  border-color: rgba(199,155,78,.48);
  transform: translateY(-1px);
  outline: none;
}
body[data-page="music"] .direct-song strong {
  color: var(--tghl-gold-soft);
  font-size: 1.08rem;
  font-weight: 500;
}
body[data-page="music"] .direct-play {
  color: var(--tghl-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
body[data-page="music"] .direct-playlist-card {
  position: sticky;
  top: 86px;
  padding: 24px;
}
body[data-page="music"] .direct-playlist-card h2 {
  margin-bottom: 10px;
}
body[data-page="music"] .direct-playlist-card p {
  margin: 0 0 20px;
}

/* Beyond page: clearer gate and tighter unlocked cards. */
body[data-page="spoiler"] .lock-symbol {
  font-size: 1.85rem;
}
body[data-page="spoiler"] .beyond-card-body p {
  line-height: 1.5;
}

@media (max-width: 820px) {
  body[data-page="music"] .music-direct-layout {
    grid-template-columns: 1fr;
  }
  body[data-page="music"] .direct-playlist-card {
    position: static;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero-inner {
    padding-top: 42px;
  }
  body[data-page="home"] .live-book-link {
    font-size: 1.03rem;
  }
  body[data-page="home"] .section-heading h2 {
    letter-spacing: .02em;
  }
  body[data-page="author"] .page-intro {
    padding-top: 28px;
    padding-bottom: 20px;
  }
  body[data-page="author"] .paper-section {
    padding-top: 24px;
    padding-bottom: 32px;
  }
  body[data-page="music"] .music-direct-section {
    padding-top: 28px;
    padding-bottom: 34px;
  }
  body[data-page="music"] .direct-listen-card {
    padding: 20px 18px;
  }
  body[data-page="music"] .direct-listen-card h1 {
    margin-bottom: 17px;
  }
  body[data-page="music"] .direct-song {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 62px;
    padding: 10px 12px;
  }
  body[data-page="music"] .direct-song strong {
    font-size: 1rem;
  }
  body[data-page="music"] .direct-play {
    font-size: .67rem;
  }
}

/* Let the streamlined music page end naturally; no artificial empty viewport. */
body[data-page="music"] .music-direct-section {
  min-height: 0;
}


/* ==========================================================
   FINAL PREVIEW POLISH — GATE COPY + REVEALED ROOM + MOBILE HERO
   ========================================================== */

/* The reader gate should read as a simple question, not a warning screen. */
body[data-page="spoiler"] .gate-question h1 {
  margin: 0 auto 12px;
  max-width: 760px;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.06;
  text-wrap: balance;
}
body[data-page="spoiler"] .gate-question > p {
  max-width: 620px;
  margin: 0 auto;
  color: #d6d2c8;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.5;
}
body[data-page="spoiler"] .gate-question form {
  max-width: 520px;
  margin: 20px auto 0;
}
body[data-page="spoiler"] .gate-question input {
  text-align: center;
  letter-spacing: .03em;
}

/* Once inside, the page simply welcomes the reader and gets to the content. */
body[data-page="spoiler"] .gate-panel.unlocked .unlock-heart {
  margin-bottom: 8px;
}
body[data-page="spoiler"] .gate-panel.unlocked > h1 {
  margin: 0;
}
body[data-page="spoiler"] .gate-panel.unlocked .beyond-grid {
  margin-top: 18px;
}
body[data-page="spoiler"] .gate-panel.unlocked .reset-room {
  margin-top: 14px;
}

/* Keep the full cover visible on phones, but don't let it dominate the first screen. */
@media (max-width: 640px) {
  body[data-page="home"] .book-3d {
    width: min(248px, 64vw);
    transform: rotateY(-4deg);
  }
  body[data-page="home"] .hero-inner {
    gap: 28px;
  }
  body[data-page="spoiler"] .spoiler-shell {
    padding-top: 24px;
    padding-bottom: 28px;
  }
  body[data-page="spoiler"] .gate-question {
    padding: 20px 16px;
  }
  body[data-page="spoiler"] .gate-question h1 {
    font-size: clamp(2.05rem, 10.5vw, 3rem);
    margin-bottom: 10px;
  }
  body[data-page="spoiler"] .gate-question > p {
    font-size: 1rem;
  }
  body[data-page="spoiler"] .gate-question form {
    margin-top: 16px;
  }
  body[data-page="spoiler"] .gate-panel.unlocked .beyond-grid {
    margin-top: 14px;
  }
}

/* ==========================================================
   PREVIEW V4 — HOME SALES HIERARCHY
   ========================================================== */

/* Keep the section invitation elegant and clearly subordinate to Welcome Home. */
body[data-page="home"] .section-heading h2 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: .045em;
  margin-bottom: 24px;
}

/* Make the live purchase link unmistakable without turning it into a shouty banner. */
body[data-page="home"] .live-book-link {
  display: inline-block;
  font-size: clamp(1.18rem, 1.7vw, 1.32rem);
  line-height: 1.25;
  font-weight: 600;
}

@media (max-width: 640px) {
  body[data-page="home"] .section-heading h2 {
    font-size: 1.35rem;
    margin-bottom: 20px;
  }
  body[data-page="home"] .live-book-link {
    font-size: 1.15rem;
  }
}

/* ==========================================================
   PREVIEW V5 — FINAL HOME HIERARCHY TUNE
   ========================================================== */

/* "Step Inside" is an invitation, not a headline: keep it visibly below Welcome Home. */
body[data-page="home"] .section-heading h2 {
  font-size: clamp(1.18rem, 1.55vw, 1.45rem);
  letter-spacing: .04em;
  font-weight: 500;
}

/* Give the live sales link just enough more visual weight to be immediately findable. */
body[data-page="home"] .live-book-link {
  font-size: clamp(1.24rem, 1.6vw, 1.42rem);
  font-weight: 600;
}

@media (max-width: 640px) {
  body[data-page="home"] .section-heading h2 {
    font-size: 1.15rem;
  }
  body[data-page="home"] .live-book-link {
    font-size: 1.25rem;
  }
}


/* ==========================================================
   PREVIEW V7 — HOME ABOVE-THE-FOLD FIT
   Shorter card copy and a tighter desktop composition so the
   full five-card row reads without an unnecessary scroll.
   ========================================================== */
@media (min-width: 1201px) and (min-height: 820px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero-inner {
    min-height: 565px;
  }
  body[data-page="home"] .hero-inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  body[data-page="home"] .book-3d {
    width: min(300px, 72vw);
  }
  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(2.5rem, 3.55vw, 3.75rem);
    line-height: 1.03;
  }
  body[data-page="home"] .hero-copy > p {
    font-size: clamp(1rem, 1.22vw, 1.15rem);
    line-height: 1.48;
  }
  body[data-page="home"] .feature-section {
    padding-top: 18px;
    padding-bottom: 20px;
  }
  body[data-page="home"] .feature-grid-five .feature-image {
    height: 145px;
  }
  body[data-page="home"] .feature-grid-five .feature-body {
    min-height: 108px;
    padding: 13px 14px 15px;
  }
  body[data-page="home"] .feature-body h3 {
    margin-bottom: 5px;
    font-size: 1.03rem;
  }
  body[data-page="home"] .feature-grid-five .feature-body p {
    min-height: 0;
    margin: 0 0 8px;
    font-size: .89rem;
    line-height: 1.32;
  }
  body[data-page="home"] .text-link {
    font-size: .86rem;
  }
}

/* ==========================================================
   PREVIEW V8 — SHARP HOME FIT
   Keep the full desktop landing composition visible at once
   while preserving comfortable mobile rhythm.
   ========================================================== */
@media (min-width: 1201px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero-inner {
    min-height: 510px;
  }

  body[data-page="home"] .hero-inner {
    padding-top: 24px;
    padding-bottom: 24px;
    gap: clamp(34px, 5vw, 68px);
  }

  body[data-page="home"] .book-3d {
    width: min(270px, 70vw);
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(2.25rem, 3.15vw, 3.35rem);
    line-height: 1.04;
  }

  body[data-page="home"] .hero-copy > p {
    font-size: clamp(.96rem, 1.05vw, 1.08rem);
    line-height: 1.45;
    margin-top: 10px;
  }

  body[data-page="home"] .ornament {
    margin: 12px 0 9px;
  }

  body[data-page="home"] .book-invite {
    margin-top: 12px;
    padding-top: 10px;
  }

  body[data-page="home"] .feature-section {
    padding-top: 14px;
    padding-bottom: 16px;
  }

  body[data-page="home"] .feature-grid-five .feature-image,
  body[data-page="home"] .music-card > img.feature-image,
  body[data-page="home"] .author-card-home > img.feature-image {
    height: 126px !important;
  }

  body[data-page="home"] .feature-grid-five .feature-body {
    min-height: 88px;
    padding: 10px 12px 12px;
  }

  body[data-page="home"] .feature-body h3 {
    margin-bottom: 4px;
    font-size: .96rem;
    line-height: 1.15;
  }

  body[data-page="home"] .feature-grid-five .feature-body p {
    min-height: 0;
    margin: 0 0 6px;
    font-size: .84rem;
    line-height: 1.25;
  }

  body[data-page="home"] .text-link {
    font-size: .78rem;
  }

  body[data-page="home"] .footer-inner {
    padding-top: 14px !important;
    padding-bottom: 12px !important;
  }

  body[data-page="home"] .footer-bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* Balance the no-scroll desktop composition so it fills the screen rather than
   feeling compressed against a large empty lower margin. */
@media (min-width: 1201px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero-inner { min-height: 620px; }
  body[data-page="home"] .book-3d { width: min(300px, 70vw); }
  body[data-page="home"] .feature-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  body[data-page="home"] .feature-grid-five .feature-image,
  body[data-page="home"] .music-card > img.feature-image,
  body[data-page="home"] .author-card-home > img.feature-image {
    height: 160px !important;
  }
  body[data-page="home"] .feature-grid-five .feature-body {
    min-height: 100px;
  }
}

@media (min-width: 1201px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero-inner { min-height: 613px; }
}

/* ==========================================================
   PREVIEW V9 — READER ARTWORK + MUSIC ROOM
   ========================================================== */
body[data-page="spoiler"] .beyond-room-intro {
  max-width: 640px;
  margin: 10px auto 0;
  color: #d7d0c1;
  font-size: 1.05rem;
  line-height: 1.55;
}

body[data-page="spoiler"] .beyond-room-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
  text-align: left;
}

body[data-page="spoiler"] .beyond-music-card,
body[data-page="spoiler"] .beyond-artwork-section {
  background: var(--tghl-panel, #11140f);
  border: 1px solid var(--tghl-line, rgba(199,155,78,.22));
}

body[data-page="spoiler"] .beyond-music-card {
  padding: 22px;
  position: sticky;
  top: 84px;
}
body[data-page="spoiler"] .beyond-music-card h2,
body[data-page="spoiler"] .beyond-artwork-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
}
body[data-page="spoiler"] .beyond-music-card p,
body[data-page="spoiler"] .beyond-section-head p {
  margin: 0 0 16px;
  color: var(--tghl-muted, #b5a98f);
  line-height: 1.5;
}

body[data-page="spoiler"] .beyond-song-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
body[data-page="spoiler"] .beyond-song {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
  color: var(--tghl-text, #f5f0e6);
  background: rgba(255,255,255,.018);
  border: 1px solid var(--tghl-line, rgba(199,155,78,.22));
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
body[data-page="spoiler"] .beyond-song:hover,
body[data-page="spoiler"] .beyond-song:focus-visible {
  background: rgba(199,155,78,.07);
  border-color: rgba(199,155,78,.48);
  transform: translateY(-1px);
  outline: none;
}
body[data-page="spoiler"] .beyond-song strong {
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: 1.02rem;
  font-weight: 500;
}
body[data-page="spoiler"] .beyond-play {
  color: var(--tghl-gold, #c79b4e);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="spoiler"] .beyond-artwork-section {
  overflow: hidden;
}
body[data-page="spoiler"] .beyond-section-head {
  padding: 20px 20px 0;
}
body[data-page="spoiler"] .beyond-artwork-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}
body[data-page="spoiler"] .beyond-art-item {
  margin: 0;
  overflow: hidden;
  background: #0b0e0a;
  border: 1px solid rgba(199,155,78,.16);
}
body[data-page="spoiler"] .beyond-art-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-page="spoiler"] .beyond-art-item.square {
  aspect-ratio: 1 / 1;
}
body[data-page="spoiler"] .beyond-art-item.landscape {
  aspect-ratio: 4 / 3;
}

@media (max-width: 960px) {
  body[data-page="spoiler"] .beyond-room-layout {
    grid-template-columns: 1fr;
  }
  body[data-page="spoiler"] .beyond-music-card {
    position: static;
  }
}

@media (max-width: 640px) {
  body[data-page="spoiler"] .beyond-room-intro {
    font-size: .99rem;
  }
  body[data-page="spoiler"] .beyond-room-layout {
    margin-top: 18px;
    gap: 14px;
  }
  body[data-page="spoiler"] .beyond-music-card {
    padding: 18px 16px;
  }
  body[data-page="spoiler"] .beyond-song {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px 12px;
    min-height: 58px;
  }
  body[data-page="spoiler"] .beyond-song strong {
    font-size: .98rem;
  }
  body[data-page="spoiler"] .beyond-play {
    font-size: .66rem;
  }
  body[data-page="spoiler"] .beyond-section-head {
    padding: 18px 16px 0;
  }
  body[data-page="spoiler"] .beyond-artwork-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 16px 16px;
  }
}

/* ==========================================================
   EMERGENCY FIX — REAL GATE + IN-PAGE BEYOND MUSIC PLAYER
   ========================================================== */
body[data-page="spoiler"] .beyond-player-wrap {
  margin: 18px 0 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050706;
  border: 1px solid rgba(199,155,78,.28);
  border-radius: 4px;
}
body[data-page="spoiler"] .beyond-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
body[data-page="spoiler"] .beyond-now-playing {
  display: grid;
  gap: 2px;
  margin: 0 0 14px;
  color: var(--tghl-muted, #b5a98f);
}
body[data-page="spoiler"] .beyond-now-playing span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tghl-gold, #c79b4e);
}
body[data-page="spoiler"] .beyond-now-playing strong {
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: 1.04rem;
  font-weight: 500;
}
body[data-page="spoiler"] button.beyond-song {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body[data-page="spoiler"] .beyond-song.is-active {
  background: rgba(199,155,78,.10);
  border-color: rgba(199,155,78,.62);
}
body[data-page="spoiler"] .beyond-playlist-button {
  margin-top: 16px;
}
body[data-page="spoiler"] .beyond-revealed .spoiler-shell {
  padding-top: 32px;
}
@media (max-width: 640px) {
  body[data-page="spoiler"] .beyond-player-wrap { margin-top: 14px; }
  body[data-page="spoiler"] .beyond-now-playing { margin-bottom: 12px; }
}

/* ==========================================================
   BEYOND ROOM — AUDIO-ONLY CONTROLS + FULL-SIZE ARTWORK
   ========================================================== */
body[data-page="spoiler"] .beyond-audio-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  margin: 18px 0 14px;
  padding: 14px 15px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(199,155,78,.24);
}
body[data-page="spoiler"] .beyond-audio-status > span {
  grid-column: 1 / -1;
  color: var(--tghl-gold, #c79b4e);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body[data-page="spoiler"] .beyond-audio-status strong {
  min-width: 0;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: 1.04rem;
  font-weight: 500;
}
body[data-page="spoiler"] .beyond-stop {
  padding: 6px 0;
  color: var(--tghl-gold, #c79b4e);
  background: transparent;
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
body[data-page="spoiler"] .beyond-stop:hover,
body[data-page="spoiler"] .beyond-stop:focus-visible {
  color: var(--tghl-gold-soft, #e7d4aa);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-page="spoiler"] .beyond-art-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}
body[data-page="spoiler"] .beyond-art-open img {
  transition: transform .2s ease, filter .2s ease;
}
body[data-page="spoiler"] .beyond-art-open:hover img,
body[data-page="spoiler"] .beyond-art-open:focus-visible img {
  transform: scale(1.015);
  filter: brightness(1.04);
}
body[data-page="spoiler"] .beyond-art-open:focus-visible {
  outline: 2px solid var(--tghl-gold, #c79b4e);
  outline-offset: -2px;
}
body[data-page="spoiler"] .beyond-lightbox .lightbox-content {
  max-width: min(1600px, 96vw);
}
body[data-page="spoiler"] .beyond-lightbox .lightbox-content img {
  max-height: 88vh;
  background: transparent;
  box-shadow: 0 22px 80px rgba(0,0,0,.45);
}

@media (max-width: 640px) {
  body[data-page="spoiler"] .beyond-audio-status {
    margin-top: 14px;
    padding: 12px;
  }
  body[data-page="spoiler"] .beyond-audio-status strong {
    font-size: .98rem;
  }
  body[data-page="spoiler"] .beyond-stop {
    font-size: .66rem;
  }
  body[data-page="spoiler"] .beyond-lightbox {
    padding: 54px 10px 14px;
  }
  body[data-page="spoiler"] .beyond-lightbox .lightbox-content img {
    max-height: 84vh;
  }
}

/* ==========================================================
   DEPLOY V3 — ON-SITE MUSIC + UNIFORM BEYOND GALLERY
   ========================================================== */

/* Main Music page: music-only controls. */
body[data-page="music"] button.direct-song {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body[data-page="music"] .direct-song.is-active {
  background: rgba(199,155,78,.10);
  border-color: rgba(199,155,78,.62);
}
body[data-page="music"] .main-audio-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px 15px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(199,155,78,.24);
}
body[data-page="music"] .main-audio-status > span {
  grid-column: 1 / -1;
  color: var(--tghl-gold, #c79b4e);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body[data-page="music"] .main-audio-status strong {
  min-width: 0;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: 1.04rem;
  font-weight: 500;
}
body[data-page="music"] .main-stop {
  padding: 6px 0;
  color: var(--tghl-gold, #c79b4e);
  background: transparent;
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
body[data-page="music"] .main-stop:hover,
body[data-page="music"] .main-stop:focus-visible {
  color: var(--tghl-gold-soft, #e7d4aa);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Beyond: every gallery tile is the same square footprint. Full image remains available in lightbox. */
body[data-page="spoiler"] .beyond-art-item,
body[data-page="spoiler"] .beyond-art-item.square,
body[data-page="spoiler"] .beyond-art-item.landscape {
  aspect-ratio: 1 / 1;
}
body[data-page="spoiler"] .beyond-art-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}
body[data-page="spoiler"] .beyond-art-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease, filter .2s ease;
}
body[data-page="spoiler"] .beyond-art-open:hover img,
body[data-page="spoiler"] .beyond-art-open:focus-visible img {
  transform: scale(1.015);
  filter: brightness(1.04);
}
body[data-page="spoiler"] .beyond-art-open:focus-visible {
  outline: 2px solid var(--tghl-gold, #c79b4e);
  outline-offset: -2px;
}
body[data-page="spoiler"] .beyond-lightbox .lightbox-content {
  max-width: min(1600px, 96vw);
}
body[data-page="spoiler"] .beyond-lightbox .lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  margin: 0 auto;
  background: transparent;
  box-shadow: 0 22px 80px rgba(0,0,0,.45);
}

@media (max-width: 640px) {
  body[data-page="music"] .main-audio-status {
    padding: 12px;
    margin-bottom: 14px;
  }
  body[data-page="music"] .main-audio-status strong {
    font-size: .98rem;
  }
  body[data-page="music"] .main-stop {
    font-size: .66rem;
  }
  body[data-page="spoiler"] .beyond-lightbox {
    padding: 54px 10px 14px;
  }
  body[data-page="spoiler"] .beyond-lightbox .lightbox-content img {
    max-height: 84vh;
  }
}

/* ==========================================================
   V4 — NATIVE AUDIO PLAYERS + BEYOND LIGHTBOX
   ========================================================== */
body[data-page="music"] .native-audio-layout,
body[data-page="spoiler"] .beyond-room-layout {
  align-items: start;
}

.audio-intro {
  margin: 0 0 18px;
  color: var(--tghl-muted, #b5a98f);
  line-height: 1.56;
}

.audio-player-shell {
  margin-bottom: 18px;
  padding: 18px 18px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(199,155,78,.22);
}

.audio-player-topline {
  margin-bottom: 8px;
  color: var(--tghl-gold, #c79b4e);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.audio-player-title {
  display: block;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  line-height: 1.3;
  min-height: 2.6em;
}

.audio-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.audio-control-btn {
  appearance: none;
  border: 1px solid rgba(199,155,78,.28);
  background: rgba(255,255,255,.02);
  color: var(--tghl-text, #f5f0e6);
  min-height: 42px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.audio-control-btn:hover,
.audio-control-btn:focus-visible {
  background: rgba(199,155,78,.08);
  border-color: rgba(199,155,78,.48);
  outline: none;
}
.audio-control-btn:active {
  transform: translateY(1px);
}
.audio-control-btn.primary {
  background: rgba(199,155,78,.14);
  color: var(--tghl-gold-soft, #e7d4aa);
}
.audio-control-btn.subtle {
  color: #d9d2c3;
}

.audio-progress-row {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.time-readout {
  color: #d8d1c2;
  font-variant-numeric: tabular-nums;
  font-size: .95rem;
}
.audio-seek {
  width: 100%;
  accent-color: #c79b4e;
  cursor: pointer;
}

body[data-page="music"] button.native-song,
body[data-page="spoiler"] button.native-song,
body[data-page="spoiler"] .beyond-art-open {
  appearance: none;
  font: inherit;
  cursor: pointer;
}
body[data-page="music"] button.native-song,
body[data-page="spoiler"] button.native-song {
  text-align: left;
}
body[data-page="music"] .native-song.is-active,
body[data-page="spoiler"] .native-song.is-active {
  background: rgba(199,155,78,.11);
  border-color: rgba(199,155,78,.52);
}
body[data-page="music"] .native-song.is-active .direct-play,
body[data-page="spoiler"] .native-song.is-active .beyond-play {
  color: #f0d9a6;
}

body[data-page="music"] .native-playlist-card,
body[data-page="spoiler"] .native-audio-card {
  box-shadow: none;
}

body[data-page="spoiler"] .compact-audio-shell {
  margin-bottom: 16px;
}
body[data-page="spoiler"] .beyond-playlist-button {
  margin-top: 14px;
}
body[data-page="spoiler"] .beyond-art-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
body[data-page="spoiler"] .beyond-art-open img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body[data-page="spoiler"] .beyond-art-item.square,
body[data-page="spoiler"] .beyond-art-item.landscape {
  aspect-ratio: 1 / 1;
}
body[data-page="spoiler"] .beyond-art-open:focus-visible {
  outline: 2px solid rgba(240,217,166,.9);
  outline-offset: -2px;
}

body[data-page="spoiler"] .beyond-lightbox .lightbox-content {
  max-width: min(1450px, 96vw);
}
body[data-page="spoiler"] .beyond-lightbox .lightbox-content img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 820px) {
  .audio-controls-row {
    gap: 8px;
  }
  .audio-control-btn {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 640px) {
  .audio-player-shell {
    padding: 16px 14px 14px;
  }
  .audio-player-title {
    font-size: 1.08rem;
    min-height: 2.5em;
  }
  .audio-controls-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .audio-control-btn {
    min-height: 40px;
    padding: 10px 12px;
  }
  .audio-progress-row {
    gap: 8px;
    grid-template-columns: 42px minmax(0,1fr) 42px;
  }
  .time-readout {
    font-size: .86rem;
  }
}

/* ==========================================================
   V6 — MUSIC: NARROW, QUIET LISTENING ROOM
   ========================================================== */
body[data-page="music"] .music-direct-section {
  padding-top: 26px;
  padding-bottom: 30px;
}
body[data-page="music"] .music-direct-layout {
  width: min(690px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
body[data-page="music"] .direct-listen-card {
  padding: 24px 24px 25px;
}
body[data-page="music"] .direct-listen-card h1 {
  max-width: none;
  margin: 0 0 9px;
  font-size: clamp(2.2rem, 4vw, 3.05rem);
  line-height: 1.03;
  white-space: nowrap;
}
body[data-page="music"] .audio-intro {
  max-width: 570px;
  margin-bottom: 14px;
  font-size: .98rem;
}
body[data-page="music"] .compact-main-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 11px 13px 10px;
}
body[data-page="music"] .compact-now-block {
  min-width: 0;
}
body[data-page="music"] .compact-main-player .audio-player-topline {
  margin-bottom: 4px;
  font-size: .65rem;
}
body[data-page="music"] .compact-main-player .audio-player-title {
  min-height: 0;
  font-size: 1rem;
}
body[data-page="music"] .compact-main-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 0;
}
body[data-page="music"] .compact-main-actions .audio-control-btn {
  min-height: 34px;
  min-width: 74px;
  padding: 6px 9px;
  font-size: .82rem;
}
body[data-page="music"] .compact-main-player .audio-progress-row {
  grid-column: 1 / -1;
  margin-top: 0;
}
body[data-page="music"] .direct-song-list {
  gap: 6px;
}
body[data-page="music"] .direct-song {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
}
body[data-page="music"] .direct-playlist-card {
  position: static;
  display: block;
  padding: 17px 20px 18px;
}
body[data-page="music"] .direct-playlist-card h2 {
  margin-bottom: 5px;
  font-size: 1.45rem;
}
body[data-page="music"] .direct-playlist-card > p {
  margin: 0 0 12px;
  font-size: .95rem;
}
body[data-page="music"] .direct-playlist-card > .btn {
  width: 100%;
  min-width: 0;
  margin: 0;
}
body[data-page="music"] .more-music-note {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(199,155,78,.2);
}
body[data-page="music"] .more-music-note > span {
  display: block;
  margin-bottom: 3px;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.03rem;
}
body[data-page="music"] .more-music-note p {
  margin: 0 0 6px;
  color: var(--tghl-muted, #b5a98f);
  font-size: .93rem;
  line-height: 1.45;
}
body[data-page="music"] .more-music-note a {
  color: var(--tghl-gold, #c79b4e);
  font-weight: 600;
  text-decoration: none;
}
body[data-page="music"] .more-music-note a:hover,
body[data-page="music"] .more-music-note a:focus-visible {
  color: var(--tghl-gold-soft, #e7d4aa);
  text-decoration: underline;
}
@media (max-width: 640px) {
  body[data-page="music"] .music-direct-section {
    padding-top: 20px;
    padding-bottom: 28px;
  }
  body[data-page="music"] .music-direct-layout {
    width: min(100% - 24px, 690px);
  }
  body[data-page="music"] .direct-listen-card {
    padding: 18px 15px;
  }
  body[data-page="music"] .direct-listen-card h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }
  body[data-page="music"] .compact-main-player {
    display: block;
    padding: 11px 12px;
  }
  body[data-page="music"] .compact-main-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
  }
  body[data-page="music"] .direct-playlist-card {
    padding: 16px 15px 17px;
  }
}
body[data-page="music"] .more-music-note > span {
  margin-bottom: 7px;
  line-height: 1.4;
}

/* ==========================================================
   V7 — LAUNCH CLEANUP PASS
   ========================================================== */

/* Book: one strong purchase action beneath the synopsis. */
body[data-page="book"] .book-page-buy-wrap {
  margin-top: 18px;
}
body[data-page="book"] .amazon-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 56px;
  padding: 14px 26px;
  background: linear-gradient(180deg, #e8c980 0%, #c89c4e 100%);
  border: 1px solid #efd99f;
  color: #11130f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.22), 0 0 0 1px rgba(232,201,128,.1);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
body[data-page="book"] .amazon-buy-button:hover,
body[data-page="book"] .amazon-buy-button:focus-visible {
  color: #0b0c09;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.3), 0 0 0 2px rgba(240,217,166,.2);
  outline: none;
}

/* Artwork: begin with the gallery instead of repeating the page name. */
body[data-page="artwork"] .paper-section {
  padding-top: 28px;
}

/* Author: name, then content. No repeated page label; less dead space. */
body[data-page="author"] .page-intro {
  padding-top: 28px;
  padding-bottom: 14px;
}
body[data-page="author"] .page-intro h1 {
  margin-bottom: 0;
}
body[data-page="author"] .paper-section {
  padding-top: 18px;
  padding-bottom: 36px;
}
body[data-page="author"] .reading-shell {
  gap: 10px;
}

/* Main Music: no playlist block; the Beyond prompt follows the four songs immediately. */
body[data-page="music"] .music-direct-section {
  padding-top: 22px;
  padding-bottom: 28px;
}
body[data-page="music"] .music-direct-layout {
  width: min(650px, calc(100% - 36px));
}
body[data-page="music"] .direct-listen-card {
  padding: 22px 22px 20px;
}
body[data-page="music"] .more-music-note {
  margin-top: 11px;
  padding-top: 11px;
}
body[data-page="music"] .more-music-note p {
  margin: 0 0 5px;
}

/* Beyond: content starts immediately, player behaves like a control strip rather than a feature panel. */
body[data-page="spoiler"] .spoiler-shell {
  padding-top: 20px;
  padding-bottom: 28px;
}
body[data-page="spoiler"] .gate-panel.unlocked > h1 {
  margin: 0 0 12px;
}
body[data-page="spoiler"] .gate-panel.unlocked .beyond-room-layout {
  margin-top: 0;
}
body[data-page="spoiler"] .beyond-music-card {
  padding: 18px;
}
body[data-page="spoiler"] .beyond-music-card h2,
body[data-page="spoiler"] .beyond-artwork-section h2 {
  margin-bottom: 6px;
}
body[data-page="spoiler"] .beyond-music-card > p {
  margin-bottom: 10px;
  font-size: .94rem;
}
body[data-page="spoiler"] .beyond-compact-player {
  margin-bottom: 10px;
  padding: 8px 10px;
}
body[data-page="spoiler"] .beyond-now-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
body[data-page="spoiler"] .beyond-now-line span {
  flex: 0 0 auto;
  color: var(--tghl-gold, #c79b4e);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body[data-page="spoiler"] .beyond-now-line strong {
  min-width: 0;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
}
body[data-page="spoiler"] .beyond-compact-player .audio-controls-row {
  gap: 6px;
  margin-top: 7px;
}
body[data-page="spoiler"] .beyond-compact-player .audio-control-btn {
  min-height: 32px;
  padding: 5px 8px;
  font-size: .76rem;
}
body[data-page="spoiler"] .beyond-compact-player .audio-progress-row {
  gap: 7px;
  margin-top: 7px;
}
body[data-page="spoiler"] .beyond-compact-player .time-readout {
  font-size: .76rem;
}
body[data-page="spoiler"] .beyond-song-list {
  gap: 6px;
  margin-top: 10px;
}
body[data-page="spoiler"] .beyond-song {
  min-height: 50px;
  padding-top: 7px;
  padding-bottom: 7px;
}
body[data-page="spoiler"] .beyond-section-head {
  padding-top: 18px;
}
body[data-page="spoiler"] .beyond-section-head p {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  body[data-page="book"] .amazon-buy-button {
    width: 100%;
    min-height: 54px;
  }
  body[data-page="artwork"] .paper-section {
    padding-top: 20px;
  }
  body[data-page="author"] .page-intro {
    padding-top: 22px;
    padding-bottom: 10px;
  }
  body[data-page="author"] .paper-section {
    padding-top: 14px;
  }
  body[data-page="music"] .music-direct-layout {
    width: min(100% - 24px, 650px);
  }
  body[data-page="spoiler"] .spoiler-shell {
    padding-top: 16px;
  }
  body[data-page="spoiler"] .beyond-music-card {
    padding: 15px 14px;
  }
  body[data-page="spoiler"] .beyond-compact-player .audio-controls-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="spoiler"] .beyond-now-line {
    display: block;
  }
  body[data-page="spoiler"] .beyond-now-line span {
    display: block;
    margin-bottom: 2px;
  }
}

/* ==========================================================
   V9 — BOOK PAGE: BUY, THEN COVER
   ========================================================== */
body[data-page="book"] .page-hero.light-page {
  padding-bottom: 18px;
}
body[data-page="book"] .book-page-buy-wrap {
  margin-bottom: 0;
}
body[data-page="book"] .book-wrap-section {
  padding-top: 8px;
  padding-bottom: 34px;
  border-top: 0;
}
body[data-page="book"] .book-wrap-button {
  margin-top: 0;
}
body[data-page="book"] .book-wrap-button span {
  display: none;
}
@media (max-width: 640px) {
  body[data-page="book"] .page-hero.light-page {
    padding-bottom: 12px;
  }
  body[data-page="book"] .book-wrap-section {
    padding-top: 4px;
    padding-bottom: 24px;
  }
}


/* ==========================================================
   PREVIEW V10 — NAV POLISH
   ========================================================== */
.site-menu .nav-music-note {
  display: inline-block;
  margin-left: 3px;
  color: var(--tghl-gold, #c79b4e);
  font-size: 1.08em;
  line-height: 1;
  transform: translateY(-1px);
}

/* Give the reader room its own visual identity without decorative clutter. */
.site-menu .spoiler-link,
body[data-page="home"] .site-menu .spoiler-link,
body[data-page="book"] .site-menu .spoiler-link,
body[data-page="music"] .site-menu .spoiler-link,
body[data-page="artwork"] .site-menu .spoiler-link,
body[data-page="author"] .site-menu .spoiler-link,
body[data-page="coming"] .site-menu .spoiler-link,
body[data-page="spoiler"] .site-menu .spoiler-link {
  color: #10130f;
  background: linear-gradient(180deg, #ecd28f 0%, #c79b4e 100%);
  border: 1px solid #f1dfa9;
  border-radius: 999px;
  padding: 11px 17px;
  font-weight: 800;
  letter-spacing: .065em;
  box-shadow: 0 7px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.site-menu .spoiler-link:hover,
.site-menu .spoiler-link:focus-visible,
.site-menu .spoiler-link[aria-current="page"] {
  color: #090b09;
  background: linear-gradient(180deg, #f3dda5 0%, #d4aa5d 100%);
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 10px 23px rgba(0,0,0,.3), 0 0 0 2px rgba(232,201,128,.12);
  outline: none;
}

@media (max-width: 820px) {
  .site-menu .spoiler-link,
  body[data-page="home"] .site-menu .spoiler-link,
  body[data-page="book"] .site-menu .spoiler-link,
  body[data-page="music"] .site-menu .spoiler-link,
  body[data-page="artwork"] .site-menu .spoiler-link,
  body[data-page="author"] .site-menu .spoiler-link,
  body[data-page="coming"] .site-menu .spoiler-link,
  body[data-page="spoiler"] .site-menu .spoiler-link {
    border-radius: 5px;
    padding: 12px 16px;
  }
}

/* ==========================================================
   V12 — REFRESHED BOOK COVER + CLEANER BOOK PAGE
   ========================================================== */
body[data-page="book"] .new-book-cover {
  display: block;
  width: min(100%, 342px);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(71, 52, 25, .18);
  box-shadow: 0 18px 38px rgba(28, 24, 17, .16);
}
body[data-page="book"] .page-hero-copy {
  padding-top: 4px;
}
body[data-page="book"] .page-hero-copy .prose {
  margin-top: 0;
}
body[data-page="book"] .book-wrap-section {
  padding-top: 18px;
}
body[data-page="book"] .book-wrap-button img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep the special Beyond button strong without crowding the desktop nav. */
@media (min-width: 821px) {
  .nav-shell {
    width: min(1340px, calc(100% - 34px));
    gap: 22px;
  }
  .site-menu {
    gap: clamp(12px, 1.45vw, 21px);
    font-size: .74rem;
  }
  .site-menu .spoiler-link,
  body[data-page="home"] .site-menu .spoiler-link,
  body[data-page="book"] .site-menu .spoiler-link,
  body[data-page="music"] .site-menu .spoiler-link,
  body[data-page="artwork"] .site-menu .spoiler-link,
  body[data-page="author"] .site-menu .spoiler-link,
  body[data-page="coming"] .site-menu .spoiler-link,
  body[data-page="spoiler"] .site-menu .spoiler-link {
    padding: 10px 14px;
    letter-spacing: .045em;
    font-weight: 700;
  }
}

@media (max-width: 640px) {
  body[data-page="book"] .new-book-cover {
    width: min(76vw, 290px);
  }
  body[data-page="book"] .page-hero-copy {
    padding-top: 0;
  }
  body[data-page="book"] .book-wrap-section {
    padding-top: 10px;
  }
}

/* V17 preview — keep the music headline intentional on wider screens. */
@media (min-width: 641px) {
  body[data-page="music"] .direct-listen-card h1 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.15rem, 3.7vw, 2.9rem);
    letter-spacing: -0.015em;
  }
}


/* V18 — keep the Music headline on one line on desktop, allow a clean mobile wrap. */
@media (max-width: 640px) {
  body[data-page="music"] .direct-listen-card h1 {
    white-space: normal;
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 2.7rem);
    line-height: 1.02;
  }
}


/* V19 preview — stronger Music headline and Beyond invitation */
body[data-page="music"] .direct-listen-card h1 > span {
  display: inline;
}
body[data-page="music"] .music-beyond-invite {
  margin-top: 20px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(199,155,78,.42);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(199,155,78,.10), rgba(199,155,78,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  text-align: center;
}
body[data-page="music"] .music-beyond-invite .music-invite-lead {
  margin: 0;
  color: var(--tghl-cream, #f1eadb);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.24rem;
  line-height: 1.35;
}
body[data-page="music"] .music-beyond-invite .music-invite-question {
  margin: 11px 0 15px;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.25;
}
body[data-page="music"] .music-beyond-invite .music-beyond-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid rgba(199,155,78,.55);
  border-radius: 999px;
  background: rgba(199,155,78,.12);
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: .015em;
  text-decoration: none;
}
body[data-page="music"] .music-beyond-invite .music-beyond-link:hover,
body[data-page="music"] .music-beyond-invite .music-beyond-link:focus-visible {
  background: rgba(199,155,78,.2);
  text-decoration: none;
}
@media (max-width: 640px) {
  body[data-page="music"] .direct-listen-card h1 {
    white-space: normal;
    font-size: clamp(2.05rem, 10vw, 2.6rem);
    line-height: 1.02;
  }
  body[data-page="music"] .direct-listen-card h1 > span {
    display: block;
  }
  body[data-page="music"] .direct-listen-card h1 .music-title-punch {
    margin-top: 2px;
  }
  body[data-page="music"] .music-beyond-invite {
    margin-top: 18px;
    padding: 20px 16px 18px;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    font-size: 1.08rem;
    line-height: 1.4;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 1.28rem;
    line-height: 1.3;
  }
  body[data-page="music"] .music-beyond-invite .music-beyond-link {
    width: 100%;
    min-height: 48px;
  }
}


/* V20 preview — warmer intro and a more attention-getting Beyond invitation. */
body[data-page="music"] .audio-intro-invite {
  display: inline-block;
  margin-top: 7px;
  color: var(--tghl-gold-soft, #e7d4aa);
  font-size: 1.12em;
  font-style: italic;
}
@media (min-width: 641px) {
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    font-size: 1.38rem;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    margin-top: 14px;
    font-size: 1.72rem;
    line-height: 1.2;
  }
  body[data-page="music"] .music-beyond-invite .music-beyond-link {
    min-height: 50px;
    padding: 11px 23px;
    font-size: 1.10rem;
  }
}
@media (max-width: 640px) {
  body[data-page="music"] .audio-intro-invite {
    margin-top: 9px;
    font-size: 1.08em;
    line-height: 1.35;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    font-size: 1.13rem;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    margin-top: 20px;
    font-size: 1.42rem;
    line-height: 1.25;
  }
}

/* Keep a natural space between the two inline headline spans on desktop. */
@media (min-width: 641px) {
  body[data-page="music"] .direct-listen-card h1 .music-title-punch {
    margin-left: .18em;
  }
}
@media (max-width: 640px) {
  body[data-page="music"] .direct-listen-card h1 .music-title-punch {
    margin-left: 0;
  }
}


/* V21 preview — no awkward wrapping; restrained nickname line. */
body[data-page="music"] .direct-listen-card h1 {
  white-space: nowrap;
  max-width: none;
}
body[data-page="music"] .audio-intro {
  white-space: nowrap;
}
body[data-page="music"] .music-beyond-invite .music-invite-lead,
body[data-page="music"] .music-beyond-invite .music-invite-question {
  white-space: nowrap;
}
body[data-page="music"] .music-beyond-invite .music-invite-question {
  font-size: 1.16rem;
  line-height: 1.3;
  margin-top: 13px;
  margin-bottom: 15px;
  font-weight: 400;
}
@media (min-width: 641px) {
  body[data-page="music"] .direct-listen-card h1 {
    font-size: clamp(2.55rem, 4vw, 3.8rem);
  }
  body[data-page="music"] .audio-intro {
    font-size: 1.06rem;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    font-size: 1.22rem;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    font-size: 1.18rem;
  }
}
@media (max-width: 640px) {
  body[data-page="music"] .direct-listen-card h1 {
    white-space: nowrap;
    font-size: clamp(1.72rem, 7.15vw, 1.95rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  body[data-page="music"] .audio-intro {
    white-space: nowrap;
    font-size: clamp(.79rem, 3.35vw, .92rem);
    line-height: 1.45;
  }
  body[data-page="music"] .audio-intro-invite {
    font-size: 1.08em;
  }
  body[data-page="music"] .music-beyond-invite {
    padding-left: 12px;
    padding-right: 12px;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    white-space: nowrap;
    font-size: clamp(.84rem, 3.55vw, .96rem);
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    white-space: nowrap;
    font-size: clamp(.82rem, 3.45vw, .94rem);
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.3;
  }
}

/* V23 — explicitly soften the Beyond nickname question and use a fresh CSS asset URL. */
body[data-page="music"] .music-beyond-invite p.music-invite-question {
  font-weight: 400 !important;
  font-style: normal;
  text-shadow: none;
  letter-spacing: normal;
}

/* ==========================================================
   V24 — MUSIC DESTINATION: MOBILE FIT + PLAY-THROUGH / REPEAT
   ========================================================== */
body[data-page="music"] {
  overflow-x: clip;
}
body[data-page="music"] .music-direct-layout,
body[data-page="music"] .direct-listen-card,
body[data-page="music"] .compact-main-player,
body[data-page="music"] .direct-song-list,
body[data-page="music"] .direct-song,
body[data-page="music"] .music-beyond-invite {
  min-width: 0;
  max-width: 100%;
}

/* The player reads as one comfortable listening surface. */
body[data-page="music"] .compact-main-player {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px 15px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.015));
}
body[data-page="music"] .compact-now-block {
  text-align: center;
}
body[data-page="music"] .compact-main-player .audio-player-title {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}
body[data-page="music"] .compact-main-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
body[data-page="music"] .compact-main-actions .audio-control-btn {
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: .84rem;
}
body[data-page="music"] .compact-main-player .audio-progress-row {
  width: 100%;
}
body[data-page="music"] .playback-options-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 10px;
  padding-top: 2px;
}
body[data-page="music"] .playback-option {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(199,155,78,.28);
  background: transparent;
  color: #d9d2c3;
  padding: 4px 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  cursor: pointer;
}
body[data-page="music"] .playback-option:hover,
body[data-page="music"] .playback-option:focus-visible,
body[data-page="music"] .playback-option[aria-pressed="true"] {
  color: var(--tghl-gold-soft, #e7d4aa);
  border-bottom-color: rgba(199,155,78,.65);
  outline: none;
}
body[data-page="music"] .playback-status {
  flex-basis: 100%;
  text-align: center;
  color: var(--tghl-muted, #b5a98f);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  line-height: 1.35;
}
body[data-page="music"] .direct-song {
  border-radius: 11px;
}
body[data-page="music"] .direct-song .direct-play {
  min-width: 46px;
  text-align: right;
}

@media (max-width: 640px) {
  body[data-page="music"] .music-direct-section {
    padding: 14px 0 24px;
  }
  body[data-page="music"] .music-direct-layout {
    width: calc(100% - 16px);
  }
  body[data-page="music"] .direct-listen-card {
    width: 100%;
    padding: 16px 12px 17px;
    overflow: hidden;
  }

  /* Keep key phrases intentional, but never allow them to widen the page. */
  body[data-page="music"] .direct-listen-card h1 {
    width: 100%;
    margin-bottom: 8px;
    white-space: nowrap;
    font-size: clamp(1.55rem, 7.2vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -.025em;
  }
  body[data-page="music"] .audio-intro {
    width: 100%;
    max-width: none;
    white-space: normal;
    margin-bottom: 13px;
    font-size: .88rem;
    line-height: 1.42;
  }
  body[data-page="music"] .audio-intro::first-line {
    white-space: nowrap;
  }
  body[data-page="music"] .audio-intro-invite {
    display: block;
    margin-top: 5px;
    font-size: .98rem;
    line-height: 1.32;
    white-space: nowrap;
  }

  body[data-page="music"] .compact-main-player {
    padding: 13px 10px 12px;
  }
  body[data-page="music"] .compact-main-actions {
    gap: 6px;
  }
  body[data-page="music"] .compact-main-actions .audio-control-btn {
    min-height: 40px;
    padding: 7px 5px;
    font-size: clamp(.72rem, 3.25vw, .82rem);
  }
  body[data-page="music"] .compact-main-player .audio-progress-row {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 6px;
  }
  body[data-page="music"] .time-readout {
    font-size: .78rem;
  }
  body[data-page="music"] .playback-options-row {
    gap: 5px 12px;
  }
  body[data-page="music"] .playback-option {
    font-size: .72rem;
  }
  body[data-page="music"] .playback-status {
    font-size: .69rem;
  }

  body[data-page="music"] .direct-song-list {
    gap: 7px;
  }
  body[data-page="music"] .direct-song {
    width: 100%;
    grid-template-columns: 28px minmax(0, 1fr) 44px;
    gap: 8px;
    min-height: 50px;
    padding: 8px 9px;
  }
  body[data-page="music"] .direct-song strong {
    min-width: 0;
    font-size: .92rem;
    line-height: 1.2;
    overflow-wrap: break-word;
  }
  body[data-page="music"] .direct-song .song-num,
  body[data-page="music"] .direct-song .direct-play {
    font-size: .75rem;
  }

  body[data-page="music"] .music-beyond-invite {
    margin-top: 16px;
    padding: 17px 8px 16px;
    border-radius: 13px;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    width: 100%;
    white-space: nowrap;
    font-size: clamp(.74rem, 3.1vw, .88rem);
    line-height: 1.3;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    width: 100%;
    white-space: nowrap;
    margin: 13px 0 14px;
    font-size: clamp(.72rem, 3vw, .86rem);
    line-height: 1.3;
    font-weight: 400 !important;
  }
  body[data-page="music"] .music-beyond-invite .music-beyond-link {
    width: auto;
    max-width: 100%;
    min-height: 44px;
    padding: 9px 17px;
    font-size: .92rem;
  }
}

/* Extra-narrow phones: reduce only what is necessary; never create horizontal scroll. */
@media (max-width: 360px) {
  body[data-page="music"] .direct-listen-card h1 {
    font-size: 1.5rem;
  }
  body[data-page="music"] .audio-intro {
    font-size: .82rem;
  }
  body[data-page="music"] .audio-intro-invite {
    font-size: .9rem;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-lead {
    font-size: .72rem;
  }
  body[data-page="music"] .music-beyond-invite .music-invite-question {
    font-size: .7rem;
  }
}
@media (max-width: 640px) {
  body[data-page="music"] .audio-intro-main {
    display: block;
    white-space: nowrap;
    font-size: clamp(.72rem, 3.05vw, .86rem);
    letter-spacing: -.01em;
  }
}
@media (min-width: 641px) {
  body[data-page="music"] .direct-listen-card h1 {
    font-size: clamp(2.45rem, 3.6vw, 3.4rem);
  }
}


/* ==========================================================
   V26 — ACTIVE LABEL FIT + PLAYER CONTINUITY SUPPORT
   ========================================================== */
body[data-page="music"] .direct-song .direct-play,
body[data-page="spoiler"] .beyond-song .beyond-play {
  min-width: 0;
  max-width: 58px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}
body[data-page="music"] .direct-song.is-active .direct-play,
body[data-page="spoiler"] .beyond-song.is-active .beyond-play {
  font-size: .68rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  body[data-page="music"] .direct-song {
    grid-template-columns: 26px minmax(0, 1fr) 42px;
  }
  body[data-page="music"] .direct-song .direct-play,
  body[data-page="spoiler"] .beyond-song .beyond-play,
  body[data-page="music"] .direct-song.is-active .direct-play,
  body[data-page="spoiler"] .beyond-song.is-active .beyond-play {
    max-width: 42px;
    font-size: .62rem;
    line-height: 1;
  }
}


/* ==========================================================
   V28 — MOBILE-SAFE SEEKING
   Give the timeline a generous touch target. Pointer position
   is mapped directly to media time by the page player script.
   ========================================================== */
.audio-seek {
  min-width: 0;
  min-height: 34px;
  touch-action: none;
}
@media (max-width: 640px) {
  .audio-seek {
    min-height: 40px;
  }
}


/* ==========================================================
   V29 — ROBUST SEEK SURFACE + HEADLINE FIT
   The native range is visual only. A dedicated hit surface
   handles pointer/touch/keyboard seeking consistently.
   ========================================================== */
.audio-seek-touch {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.audio-seek-touch:focus-visible {
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(199,155,78,.42);
}
.audio-seek-touch .audio-seek {
  width: 100%;
  min-width: 0;
  pointer-events: none;
  touch-action: none;
}
@media (max-width: 640px) {
  .audio-seek-touch { min-height: 46px; }
  .audio-seek-touch .audio-seek { min-height: 38px; }
}
@media (min-width: 641px) {
  body[data-page="music"] .direct-listen-card h1 {
    font-size: clamp(2.05rem, 2.85vw, 2.75rem);
    line-height: 1.08;
  }
}

/* ==========================================================
   V30 — NATIVE SEEK CONTROL
   The browser's actual range control is interactive again.
   Server-side byte ranges + client full-file fallback handle
   seeking reliability; this layer keeps touch ergonomics clean.
   ========================================================== */
.audio-seek-host-v30 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  cursor: default;
  touch-action: auto;
  user-select: auto;
  -webkit-user-select: auto;
}
.audio-seek-host-v30 .audio-seek-v30 {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  pointer-events: auto !important;
  touch-action: none;
  cursor: pointer;
}
.audio-seek-host-v30 .audio-seek-v30:focus-visible {
  outline: 2px solid rgba(199,155,78,.5);
  outline-offset: 3px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .audio-seek-host-v30,
  .audio-seek-host-v30 .audio-seek-v30 {
    min-height: 48px;
  }
}


/* ==========================================================
   V36 — CONSOLIDATED LISTENING + BEYOND EXPERIENCE
   ========================================================== */

/* Behind the Story belongs in the navigation without behaving like an ad. */
.site-menu .spoiler-link,
body[data-page="home"] .site-menu .spoiler-link,
body[data-page="book"] .site-menu .spoiler-link,
body[data-page="music"] .site-menu .spoiler-link,
body[data-page="artwork"] .site-menu .spoiler-link,
body[data-page="author"] .site-menu .spoiler-link,
body[data-page="coming"] .site-menu .spoiler-link,
body[data-page="spoiler"] .site-menu .spoiler-link {
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  letter-spacing: inherit;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: color .2s ease;
}
.site-menu .spoiler-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}
.site-menu .spoiler-link:hover,
.site-menu .spoiler-link:focus-visible,
.site-menu .spoiler-link[aria-current="page"] {
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
  transform: none;
  outline: none;
}
.site-menu .spoiler-link:hover::after,
.site-menu .spoiler-link:focus-visible::after,
.site-menu .spoiler-link[aria-current="page"]::after {
  width: 100%;
}

@media (max-width: 820px) {
  .site-menu .spoiler-link,
  body[data-page="home"] .site-menu .spoiler-link,
  body[data-page="book"] .site-menu .spoiler-link,
  body[data-page="music"] .site-menu .spoiler-link,
  body[data-page="artwork"] .site-menu .spoiler-link,
  body[data-page="author"] .site-menu .spoiler-link,
  body[data-page="coming"] .site-menu .spoiler-link,
  body[data-page="spoiler"] .site-menu .spoiler-link {
    margin-top: 0;
    padding: 9px 0;
    text-align: left;
  }
  .site-menu .spoiler-link::after { bottom: 3px; }
}

/* No permanent technical/status copy. It remains in the DOM for player logic only. */
body[data-page="music"] .playback-status,
body[data-page="spoiler"] .playback-status {
  display: none !important;
}

/* Desktop: playlist continuity is automatic; Repeat is a mobile-only option. */
@media (min-width: 641px) {
  body[data-page="music"] .playback-option[id$="-repeat"],
  body[data-page="spoiler"] .playback-option[id$="-repeat"] {
    display: none !important;
  }
  body[data-page="spoiler"] .beyond-playback-options {
    display: none !important;
  }
  body[data-page="music"] .playback-options-row {
    justify-content: center;
    padding-top: 2px;
  }
}

/* Mobile: Repeat is compact and never wraps with a status sentence. */
@media (max-width: 640px) {
  body[data-page="music"] .playback-options-row,
  body[data-page="spoiler"] .playback-options-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding-top: 4px;
  }
  body[data-page="music"] .playback-option[id$="-repeat"],
  body[data-page="spoiler"] .playback-option[id$="-repeat"] {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: .70rem;
    line-height: 1.15;
    padding: 4px 3px;
  }
}

/* Roomier Beyond listening experience on desktop. */
@media (min-width: 961px) {
  body[data-page="spoiler"] .spoiler-shell {
    width: min(1220px, calc(100% - 48px));
  }
  body[data-page="spoiler"] .gate-panel.unlocked .beyond-room-layout {
    grid-template-columns: minmax(500px, .98fr) minmax(0, 1.02fr);
    gap: 30px;
  }
  body[data-page="spoiler"] .beyond-music-card {
    padding: 26px;
  }
  body[data-page="spoiler"] .beyond-compact-player {
    padding: 16px 18px 15px;
    margin-bottom: 17px;
  }
  body[data-page="spoiler"] .beyond-compact-player .audio-controls-row {
    gap: 10px;
    margin-top: 12px;
  }
  body[data-page="spoiler"] .beyond-compact-player .audio-control-btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: .82rem;
  }
  body[data-page="spoiler"] .beyond-compact-player .audio-progress-row {
    gap: 11px;
    margin-top: 12px;
  }
  body[data-page="spoiler"] .beyond-song-list {
    gap: 9px;
    margin-top: 16px;
  }
  body[data-page="spoiler"] .beyond-song {
    min-height: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* The Music-page invitation is the CTA, but should not dominate the page. */
body[data-page="music"] .music-beyond-invite .music-beyond-link {
  width: auto;
  min-height: 38px;
  padding: 7px 14px;
  font-size: .90rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  background: rgba(199,155,78,.08);
  border: 1px solid rgba(199,155,78,.42);
  box-shadow: none;
}
body[data-page="music"] .music-beyond-invite .music-beyond-link:hover,
body[data-page="music"] .music-beyond-invite .music-beyond-link:focus-visible {
  background: rgba(199,155,78,.14);
  box-shadow: none;
}
@media (max-width: 640px) {
  body[data-page="music"] .music-beyond-invite .music-beyond-link {
    width: auto;
    min-height: 38px;
    padding: 7px 14px;
    font-size: .88rem;
  }
}

/* Match the quiet Beyond nav link to its neighboring navigation text. */
body[data-page="home"] .site-menu .spoiler-link,
body[data-page="home"] .site-menu .spoiler-link:hover,
body[data-page="home"] .site-menu .spoiler-link:focus-visible,
body[data-page="home"] .site-menu .spoiler-link[aria-current="page"] {
  color: #d0c09f;
}
body[data-page="book"] .site-menu .spoiler-link,
body[data-page="music"] .site-menu .spoiler-link,
body[data-page="artwork"] .site-menu .spoiler-link,
body[data-page="author"] .site-menu .spoiler-link,
body[data-page="coming"] .site-menu .spoiler-link,
body[data-page="spoiler"] .site-menu .spoiler-link,
body[data-page="book"] .site-menu .spoiler-link:hover,
body[data-page="music"] .site-menu .spoiler-link:hover,
body[data-page="artwork"] .site-menu .spoiler-link:hover,
body[data-page="author"] .site-menu .spoiler-link:hover,
body[data-page="coming"] .site-menu .spoiler-link:hover,
body[data-page="spoiler"] .site-menu .spoiler-link:hover,
body[data-page="book"] .site-menu .spoiler-link:focus-visible,
body[data-page="music"] .site-menu .spoiler-link:focus-visible,
body[data-page="artwork"] .site-menu .spoiler-link:focus-visible,
body[data-page="author"] .site-menu .spoiler-link:focus-visible,
body[data-page="coming"] .site-menu .spoiler-link:focus-visible,
body[data-page="spoiler"] .site-menu .spoiler-link:focus-visible,
body[data-page="book"] .site-menu .spoiler-link[aria-current="page"],
body[data-page="music"] .site-menu .spoiler-link[aria-current="page"],
body[data-page="artwork"] .site-menu .spoiler-link[aria-current="page"],
body[data-page="author"] .site-menu .spoiler-link[aria-current="page"],
body[data-page="coming"] .site-menu .spoiler-link[aria-current="page"],
body[data-page="spoiler"] .site-menu .spoiler-link[aria-current="page"] {
  color: #d2c19d;
}


/* ==========================================================
   V37 PREVIEW — READER-FIRST REFINEMENT PASS
   ========================================================== */

/* Softer purchase invitation on home + book pages. */
body[data-page="home"] .amazon-buy-button,
body[data-page="book"] .amazon-buy-button {
  width: auto;
  min-width: 168px;
  min-height: 42px;
  padding: 10px 18px;
  background: rgba(199,155,78,.09);
  border: 1px solid rgba(199,155,78,.45);
  color: var(--tghl-gold-soft, #e7d4aa);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .91rem;
  font-weight: 650;
  letter-spacing: .025em;
  border-radius: 999px;
  box-shadow: none;
}
body[data-page="home"] .amazon-buy-button:hover,
body[data-page="home"] .amazon-buy-button:focus-visible,
body[data-page="book"] .amazon-buy-button:hover,
body[data-page="book"] .amazon-buy-button:focus-visible {
  color: #f4e3bd;
  background: rgba(199,155,78,.15);
  border-color: rgba(231,212,170,.62);
  box-shadow: none;
  filter: none;
  transform: none;
}
body[data-page="home"] .amazon-buy-wrap { max-width: 700px; margin-top: 18px; }
body[data-page="home"] .home-cta-row { align-items: center; }

.read-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  max-width: 700px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(199,155,78,.16);
}
.read-option {
  min-width: 0;
  padding: 8px 10px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(199,155,78,.12);
}
.read-option strong,
.read-option span,
.read-option em { display:block; }
.read-option strong {
  color: #eee3cf;
  font: 600 .79rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .02em;
}
.read-option span {
  margin-top: 3px;
  color: var(--tghl-gold-soft, #e7d4aa);
  font: 600 .86rem/1.2 Arial, Helvetica, sans-serif;
}
.read-option em {
  margin-top: 3px;
  color: #bdb29d;
  font: 400 .72rem/1.25 Arial, Helvetica, sans-serif;
  font-style: normal;
}
.read-options-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #998f7e;
  font: 400 .7rem/1.3 Arial, Helvetica, sans-serif;
}

/* Music intro: stop explaining the playlist. */
body[data-page="music"] .audio-intro { margin-bottom: 16px; }
body[data-page="music"] .audio-intro-invite { display:block; }

/* Book page: the full wrap IS the visual; no repeated front cover. */
body[data-page="book"] .book-page-refined { padding-top: 34px; padding-bottom: 42px; }
body[data-page="book"] .book-page-refined-inner { max-width: 1120px; }
body[data-page="book"] .book-full-cover-hero {
  display:block;
  width:100%;
  padding:0;
  border:1px solid rgba(199,155,78,.2);
  background:transparent;
  cursor:zoom-in;
  overflow:hidden;
  box-shadow:0 18px 44px rgba(0,0,0,.18);
}
body[data-page="book"] .book-full-cover-hero img { display:block; width:100%; height:auto; }
body[data-page="book"] .book-refined-copy {
  max-width: 830px;
  margin: 26px auto 0;
}
body[data-page="book"] .book-page-buy-wrap { margin-top: 18px; }
body[data-page="book"] .read-options { margin-top: 16px; }

/* Beyond: use the width. Music first, gallery large beneath it. */
@media (min-width: 821px) {
  body[data-page="spoiler"] .spoiler-shell { width:min(1240px, calc(100% - 48px)); }
  body[data-page="spoiler"] .gate-panel.unlocked .beyond-room-layout {
    display:block;
    max-width:none;
  }
  body[data-page="spoiler"] .beyond-music-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 26px 28px;
  }
  body[data-page="spoiler"] .beyond-artwork-section {
    margin-top: 38px;
  }
  body[data-page="spoiler"] .beyond-section-head {
    max-width: 920px;
    margin: 0 auto 16px;
    padding-top: 0;
  }
  body[data-page="spoiler"] .beyond-artwork-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .amazon-buy-button,
  body[data-page="book"] .amazon-buy-button {
    width:auto;
    min-width: 158px;
    min-height: 40px;
    padding: 9px 16px;
    font-size: .88rem;
  }
  body[data-page="home"] .home-cta-row { display:block; }
  .read-options {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 11px;
    padding-top: 10px;
  }
  .read-option {
    display:grid;
    grid-template-columns: 1fr auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 7px 9px;
  }
  .read-option strong { grid-column:1; grid-row:1; }
  .read-option span { grid-column:2; grid-row:1; margin-top:0; }
  .read-option em { grid-column:1 / -1; grid-row:2; margin-top:0; }
  body[data-page="book"] .book-page-refined { padding-top: 20px; padding-bottom: 30px; }
  body[data-page="book"] .book-refined-copy { margin-top: 20px; }
  body[data-page="spoiler"] .beyond-artwork-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body[data-page="spoiler"] .beyond-artwork-section { margin-top: 28px; }
}

/* Preview correction: keep the Amazon invitation modest instead of full-width. */
body[data-page="home"] .home-cta-row .amazon-buy-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 176px;
  max-width: 210px;
}
body[data-page="home"] .home-cta-row {
  justify-content: flex-start;
}
.read-option:first-child em {
  color: #d9c38f;
  font-weight: 600;
}
@media (max-width: 640px) {
  body[data-page="home"] .home-cta-row {
    display: flex;
    justify-content: center;
  }
  body[data-page="home"] .home-cta-row .amazon-buy-button {
    width: auto;
    min-width: 168px;
    max-width: 200px;
  }
}
