:root {
  --bg: #0e0b0b;
  --bg2: #151010;
  --line: #2a1c1c;
  --text: #ece6e1;
  --muted: #b8aaa5;
  --soft: #d9b8b0;
  --red: #9e1b22;
  --red-hi: #c4323a;
  --ember: #e0703a;
  --vine: #8a2a2e;
  --leaf: #5e1a1d;
  --player-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body.has-player { padding-bottom: var(--player-h); }

img, svg, canvas { max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  z-index: 40;
}

.skip:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(var(--bg) 30%, transparent);
}

.site-header.solid {
  background: rgba(14, 11, 11, .94);
  border-bottom: 1px solid var(--line);
}

.site-header .logo {
  margin-right: auto;
  font: 600 22px/1 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .03em;
  text-transform: none;
  color: var(--text);
  text-decoration: none;
}

.site-header nav { display: flex; align-items: center; gap: 26px; }

.site-header nav a { text-decoration: none; color: var(--muted); }

.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--text); }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  letter-spacing: .16em;
  text-transform: uppercase;
  font: 600 11px/1 Inter, system-ui, sans-serif;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
}

main { display: block; }

main:not([data-page="home"]) {
  padding: 120px 32px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

main h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 18px; }

.label {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: 14px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse at 50% 20%, #4a1417 0%, #2a0d0f 30%, transparent 65%);
  will-change: transform;
}

#embers, .vines { position: absolute; inset: 0; width: 100%; height: 100%; }

.vines { pointer-events: none; }

.hero-inner { position: relative; z-index: 2; padding: 0 20px; }

.hero h1 {
  font-size: clamp(44px, 8vw, 96px);
  margin: 0 0 18px;
  letter-spacing: .01em;
}

.hero .tag {
  margin: 0;
  font: italic 500 clamp(19px, 2.4vw, 26px)/1.4 'Cormorant Garamond', Georgia, serif;
  color: var(--soft);
}

.btn {
  display: inline-block;
  margin-top: 34px;
  padding: 12px 30px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--red-hi); }

.mission, .welcome, .featured, .story-intro, .friends-intro, .contact-intro {
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.mission { text-align: center; max-width: 760px; }

.mission blockquote {
  margin: 0;
  font: italic 500 clamp(22px, 3vw, 32px)/1.45 'Cormorant Garamond', Georgia, serif;
  color: #e4d6d0;
}

.mission cite {
  display: block;
  margin-top: 20px;
  font: normal 12px Inter, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

.welcome p, .story-copy, .contact-intro p, .friends-intro p, .event p, .album-note {
  color: var(--muted);
  max-width: 68ch;
}

.albums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
}

.album { text-decoration: none; color: inherit; }

.album img, .album-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 3px;
  background: #140d0d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

.album h3, .album-head h2 {
  font-size: 28px;
  margin: 16px 0 4px;
}

.playchip, .song-play, .lyrics-button, .email-button {
  font: 600 12px/1 Inter, system-ui, sans-serif;
  color: var(--text);
  background: transparent;
  border: 1px solid #4a2326;
  border-radius: 20px;
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
}

.playchip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; letter-spacing: .06em; }

.playchip:hover, .song-play:hover, .lyrics-button:hover, .email-button:hover { border-color: var(--red-hi); }

.album-block { margin: 0 0 72px; }

.album-head { max-width: 420px; margin-bottom: 22px; }

.album-note { font: italic 18px/1.4 'Cormorant Garamond', Georgia, serif; color: var(--soft); margin: 8px 0 0; }

.album-body { display: block; }

.song-list, .music-static ol { margin: 0; padding: 0; }
.song-list { list-style: none; }
.music-static { margin-top: 12px; }
.music-static section { margin: 0 0 36px; }
.music-static ol { padding-left: 1.2em; }
.music-static li { margin: 0 0 6px; }

.song-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.song-row.is-playing { background: rgba(158, 27, 34, .18); }

.song-title { font: 600 22px/1.2 'Cormorant Garamond', Georgia, serif; }

.song-play { width: 44px; padding: 0; border-radius: 50%; }

.alternates { flex-basis: 100%; }

.alternates summary { cursor: pointer; color: var(--soft); min-height: 44px; display: flex; align-items: center; }

.alternates ul { list-style: none; margin: 0; padding: 0 0 8px 18px; }

.lyrics-panel {
  margin-top: 12px;
  padding: 18px 20px;
  background: var(--bg2);
  border: 1px solid var(--line);
  white-space: pre-wrap;
}

.lyrics-panel p { margin: 0 0 1em; }

.lyrics-panel p:first-child {
  font: 600 28px/1.1 'Cormorant Garamond', Georgia, serif;
  color: var(--text);
}

.timeline { position: relative; padding-left: 90px; }

.tl-vine { position: absolute; left: 0; top: 0; width: 90px; height: 100%; overflow: hidden; pointer-events: none; }

.event { position: relative; margin: 0 0 64px; }

.event .yr { font: 600 30px/1 'Cormorant Garamond', Georgia, serif; color: var(--red-hi); }

.event h2, .event h3 { margin: 6px 0 4px; font-size: 26px; }

.event .dot {
  position: absolute;
  left: -58px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--vine);
}

.event.lit .dot { background: var(--red-hi); box-shadow: 0 0 14px var(--red-hi); }

.event[hidden] { display: none !important; }

.friends { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 0; margin: 28px 0 0; }

.friends li { font: 500 28px/1.2 'Cormorant Garamond', Georgia, serif; color: #e4d6d0; }

.believe { padding-left: 1.2em; max-width: 68ch; }

.believe li { margin: 0 0 12px; color: var(--muted); }

.contact-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }

.site-footer {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer-name {
  font: 600 22px/1.2 'Cormorant Garamond', Georgia, serif;
  color: var(--text);
  margin: 0 0 6px;
}

.site-footer p { margin: 0; }

.player {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 32px;
  background: rgba(21, 16, 16, .97);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.player[hidden] { display: none; }

.player-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  flex: none;
}

.player-title {
  color: var(--text);
  min-width: 0;
  flex: 1 1 30%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-progress {
  flex: 1 1 28%;
  min-width: 72px;
  height: 44px;
  margin: 0;
  background: transparent;
  accent-color: var(--red-hi);
  cursor: pointer;
}

.player-time { flex: none; font-variant-numeric: tabular-nums; }

html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
}

html.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .album-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 28px; align-items: start; }
  .album-body .lyrics-panel { margin-top: 0; position: sticky; top: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .site-header { gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
  .site-header nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 12px; }
  body.nav-open .site-header { background: rgba(14, 11, 11, .96); }
  body.nav-open .site-header nav { display: flex; }
  body.nav-open .site-header nav a { display: flex; align-items: center; min-height: 44px; }
  .menu-button { display: inline-flex; align-items: center; }
  main:not([data-page="home"]) { padding: 96px 16px 32px; }
  .mission, .welcome, .featured, .story-intro, .friends-intro, .contact-intro { padding: 48px 16px; }
  .timeline { padding-left: 64px; }
  .tl-vine { width: 64px; }
  .event .dot { left: -42px; }
  .player { padding: 8px 12px; gap: 8px; }
}
