/* Mae Revel — raw soul, real rock */
:root {
  --bg: #0a0706;
  --bg-raise: #140c0a;
  --bg-card: #1a100d;
  --ink: #f4ebe1;
  --ink-dim: #cbb9a8;
  --ink-mute: #8f7c6d;
  --gold: #d7b36a;
  --gold-bright: #f0d392;
  --gold-deep: #a07838;
  --ember: #c44a2c;
  --ember-soft: #e07a4a;
  --line: rgba(215, 179, 106, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --display: "Cinzel", "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-bright); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #1a100d;
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 7, 6, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
}
.logo:hover { color: #fff6df; }
.nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  width: 44px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(12, 8, 7, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
    align-items: flex-start;
  }
  .nav.is-open { display: flex; }
}

/* Layout */
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); color: var(--gold-bright); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); color: var(--gold-bright); }
h3 { font-size: 1.25rem; color: var(--ink); letter-spacing: 0.04em; }
.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink-dim);
  font-weight: 500;
  max-width: 38rem;
}
p { margin: 0 0 1rem; }
.muted { color: var(--ink-mute); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a100d;
}
.btn-gold:hover { color: #1a100d; }
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #000 url("/assets/images/hero-banner.jpg") right center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,5,4,0.94) 0%, rgba(8,5,4,0.82) 34%, rgba(8,5,4,0.28) 58%, rgba(8,5,4,0.08) 100%),
    linear-gradient(180deg, rgba(8,5,4,0.2) 0%, rgba(8,5,4,0.1) 50%, rgba(8,5,4,0.88) 100%);
  z-index: -1;
}
.hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 4.2rem;
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - min(var(--max), calc(100% - 2rem))) / 2));
}
.hero .tagline {
  font-family: var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.82rem;
  margin: 0 0 1rem;
}
.hero h1 { margin-bottom: 0.9rem; text-shadow: 0 6px 30px rgba(0,0,0,0.45); }
.hero .lede { color: #efe3d4; }

/* Cards / songs */
.song-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .song-grid { grid-template-columns: 1fr; }
}
.song-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.song-card:hover { border-color: var(--gold); transform: translateY(-3px); color: inherit; }
.song-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.song-card .body { padding: 1.3rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.song-card h3 { margin-bottom: 0.35rem; }
.song-card p { color: var(--ink-dim); flex: 1; }
.song-card .meta { color: var(--ink-mute); font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.4rem; }

/* About teaser */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 800px) {
  .split, .split.rev { grid-template-columns: 1fr; }
}
.portrait-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.portrait-wrap img {
  width: 100%;
  border-radius: 50%;
  border: 2px solid var(--line);
  box-shadow: 0 0 0 12px rgba(215,179,106,0.06), var(--shadow);
}
.note {
  font-size: 0.92rem;
  color: var(--ink-mute);
  border-left: 2px solid var(--gold-deep);
  padding-left: 1rem;
  margin-top: 1.4rem;
}

/* Video */
.video-block { margin: 1.5rem 0 2rem; }
.yt-facade {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  cursor: pointer;
}
.yt-facade.is-vertical { aspect-ratio: 9/16; max-width: 360px; margin-inline: auto; }
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 100%;
  color: inherit;
}
.yt-facade .play-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(10,7,6,0.72);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.yt-facade .play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 22px solid var(--gold-bright);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 4px;
}
.yt-facade:hover .play-icon,
.yt-facade .play:focus-visible .play-icon {
  transform: scale(1.06);
  background: rgba(20,12,10,0.9);
}
.short-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

/* Audio player */
.player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: center;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.05rem;
  margin: 1.25rem 0 2rem;
}
.player audio { display: none; }
.play-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a100d;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.play-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.play-toggle .icon-pause { display: none; }
.play-toggle[aria-pressed="true"] .icon-play { display: none; }
.play-toggle[aria-pressed="true"] .icon-pause { display: block; }
.player-meta { min-width: 0; }
.player-meta strong { display: block; font-family: var(--display); letter-spacing: 0.06em; }
.player-meta span { color: var(--ink-mute); font-size: 0.88rem; }
.player-time {
  font-variant-numeric: tabular-nums;
  color: var(--ink-dim);
  font-size: 0.88rem;
  white-space: nowrap;
}
.player-bar {
  grid-column: 1 / -1;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(215,179,106,0.18);
  outline: none;
  cursor: pointer;
  margin: 0;
}
.player-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 0;
}
.player-bar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 0;
}

/* Lyrics */
.lyrics {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  margin: 1rem 0 2rem;
}
.lyrics h2 { text-align: center; margin-bottom: 1.5rem; }
.lyrics-body {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 auto;
  color: var(--ink);
}
.lyrics-body .part {
  margin: 0 0 1.6rem;
}
.lyrics-body h3 {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
}
.lyrics-body p { margin: 0; white-space: pre-line; }

.story {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ink-dim);
  max-width: 40rem;
}

/* Listen grid */
.watch-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .watch-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.8rem;
  background: #070504;
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.site-footer .wrap { display: grid; gap: 1rem; }
.site-footer .brand {
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; }
.site-footer nav a { color: var(--ink-dim); text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.ai-note { font-size: 0.88rem; color: var(--ink-mute); max-width: 40rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: 3.2rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 280px at 80% 0%, rgba(196,74,44,0.18), transparent 60%),
    radial-gradient(600px 240px at 10% 100%, rgba(215,179,106,0.08), transparent 60%);
}
.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin-bottom: 0.8rem;
}
.breadcrumb a { color: var(--ink-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.prose { max-width: 42rem; }
.prose p { font-size: 1.08rem; color: #eadccf; }
.prose h2 { margin-top: 2rem; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
