:root {
  --bg: #070605;
  --bg-2: #100e0b;
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --ink: #f4ead0;
  --muted: #b8a882;
  --line: rgba(212, 175, 55, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.glow-a { background: #c9a227; top: -12vw; left: -8vw; }
.glow-b { background: #7a4b12; bottom: -16vw; right: -10vw; }

.nav, main, footer { position: relative; z-index: 1; }
section[id] { scroll-margin-top: 5.5rem; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 6vw;
  padding-top: max(0.9rem, env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7,6,5,0.92);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-2);
  text-decoration: none;
  font-family: Cinzel, serif;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: var(--gold-2); }
.menu {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold);
  padding: 0.55rem 0.95rem;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 6vw 4rem;
}
.hero-mark { width: 168px; height: auto; margin-bottom: 1.6rem; filter: drop-shadow(0 0 28px rgba(212,175,55,0.4)); }
.kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}
h1, h2, h3 { font-family: Cinzel, serif; font-weight: 700; }
h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
h1 em { font-style: normal; color: var(--gold-2); }
.lede { max-width: 36rem; color: var(--muted); margin: 1.2rem auto 2rem; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.btn {
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}
.btn.gold { background: linear-gradient(180deg, #f0d78c, #b68a1f); color: #1a1304; }
.btn.ghost { border: 1px solid var(--gold); color: var(--gold-2); }

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 0.7rem 0;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.ticker-track { display: flex; gap: 2.5rem; width: max-content; animation: slide 28s linear infinite; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 5.5rem 6vw; }
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 2rem; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.grid { display: grid; gap: 1.2rem; }
.tracks { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: #12100c;
  border: 1px solid var(--line);
  padding: 1.1rem;
  border-radius: 14px;
}
.cover {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
  background:
    radial-gradient(circle at 50% 70%, rgba(240,215,140,0.35), transparent 55%),
    linear-gradient(180deg, #1a1408, #050403);
  color: #f6e7b0;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.92rem; }
.card a { color: var(--gold); text-decoration: none; display: inline-block; margin-top: 0.7rem; }
.cover-img { position: relative; display: block; margin: 0 0 0.9rem; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-img .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(8,6,2,0.72);
  color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 860px;
}
.book-btn {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 12px 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.book-btn img {
  display: block;
  width: 100%;
  height: auto;
}
.book-btn:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 16px 28px 48px rgba(0,0,0,0.6);
}
.book-cta { display: none; }
.book-line {
  color: var(--gold-2);
  font-style: italic;
  margin-bottom: 0.9rem;
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.thumb {
  min-height: 280px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, transparent, #000 85%),
    radial-gradient(circle at 30% 20%, #3a2a10, #0b0906);
  color: white;
  text-decoration: none;
}
.thumb span { color: var(--gold); font-size: 0.8rem; }
.song-list {
  columns: 2;
  list-style: none;
  color: var(--muted);
  margin-top: 1rem;
}
.song-list li { padding: 0.2rem 0; border-bottom: 1px solid rgba(212,175,55,0.12); }

.will {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 0;
  align-items: stretch;
  background: #050403;
  border-block: 1px solid var(--line);
}
.will-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 1.4rem 1.2rem;
  position: sticky;
  top: 5.2rem;
  align-self: start;
}
.will-art {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}
.will-copy {
  padding: 4rem 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.will-copy p { color: var(--muted); margin-bottom: 1rem; max-width: 36rem; }
.verse { color: var(--gold-2) !important; font-style: italic; }
.will-ask { color: var(--ink) !important; font-family: Cinzel, serif; font-size: 1.05rem; }
.fruit {
  list-style: none;
  margin: 0 0 1.2rem;
  max-width: 36rem;
  color: var(--muted);
}
.fruit li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.14);
}
.will-close {
  font-family: Cinzel, serif;
  color: var(--gold-2) !important;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin: 0.4rem 0 1.4rem !important;
}
.will-copy .btn { align-self: flex-start; }

.manifesto { text-align: center; }
blockquote {
  max-width: 44rem;
  margin: 0 auto 1.4rem;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-family: Cinzel, serif;
  line-height: 1.45;
}
.tags { color: var(--gold); letter-spacing: 0.12em; }
.manifesto-follow {
  max-width: 40rem;
  margin: 0 auto 1.2rem;
  color: var(--muted);
}

.yt-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
}
.yt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-label { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; margin: 0.8rem 0 0.3rem; }
.yt-latest { display: grid; gap: 0.8rem; }
.yt-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  background: #12100c;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.yt-card img { width: 140px; height: 80px; object-fit: cover; }
.yt-card span { padding-right: 0.7rem; font-size: 0.92rem; }
.yt-more { margin-top: 1.6rem; }
.muted { color: var(--muted); }
code { color: var(--gold-2); font-size: 0.85em; }

.links { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.link { text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.link:hover { border-color: var(--gold); transform: translateY(-3px); }

footer {
  text-align: center;
  padding: 3rem 6vw 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer img { margin-bottom: 0.8rem; }
.fine { font-size: 0.78rem; margin-top: 0.5rem; opacity: 0.7; }

@media (max-width: 900px) {
  .menu { display: block; }
  .brand span { font-size: 0.72rem; letter-spacing: 0.1em; }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 4vw;
    left: 4vw;
    background: #120f0a;
    border: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0;
    z-index: 40;
  }
  .nav nav a {
    padding: 0.85rem 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav nav.open { display: flex; }
  .hero { min-height: auto; padding: 3.2rem 5vw 2.6rem; }
  .hero-mark { width: 108px; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .lede { margin-bottom: 1.5rem; font-size: 0.98rem; }
  .cta-row { flex-direction: column; align-items: stretch; width: min(100%, 22rem); }
  .section { padding: 3.2rem 5vw; }
  .book-layout, .split, .will, .yt-layout { grid-template-columns: 1fr; }
  .yt-card { grid-template-columns: 110px 1fr; }
  .yt-card img { width: 110px; height: 64px; }
  .will-frame { padding: 0.8rem 0.6rem 0; position: static; }
  .will-art { max-height: none; }
  .will-copy { padding: 1.6rem 5vw 2.6rem; }
  .will-copy p { max-width: none; }
  .will-copy .btn { align-self: stretch; }
  .book-btn { max-width: 240px; margin: 0 auto; }
  .book-layout { justify-items: center; }
  .book-layout .copy { width: 100%; }
  .song-list { columns: 1; }
  .thumb { min-height: 220px; }
  footer { padding: 2.4rem 5vw calc(2.8rem + env(safe-area-inset-bottom)); }
}

@media (hover: hover) {
  .book-btn:hover { transform: translateY(-6px) rotate(-0.4deg); }
}

@media (hover: none) {
  .book-btn:hover { transform: none; }
  .link:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
