@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/bebas-neue.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f3e9d2;
  --surface: #fffdf7;
  --ink: #111;
  --muted: #6f675b;
  --accent: #1746d1;
  --accent-2: #d94a3a;
  --line: #111;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: Inter, Arial, Helvetica, sans-serif;
  --radius: 0;
  --shadow: 0 22px 40px rgba(46, 35, 18, .18);
}

body[data-template="cinematic"] {
  --bg: #130b0f;
  --surface: #241219;
  --ink: #fff8eb;
  --muted: #c7afa9;
  --accent: #d7a84c;
  --accent-2: #7e233d;
  --line: #d7a84c;
  --display: Georgia, "Times New Roman", serif;
  --radius: 18px;
  --shadow: 0 28px 65px rgba(0, 0, 0, .5);
}

body[data-template="midnight"] {
  --bg: #080813;
  --surface: #121226;
  --ink: #f5f4ff;
  --muted: #aaa9c7;
  --accent: #8b5cf6;
  --accent-2: #11d5df;
  --line: #35345c;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --radius: 22px;
  --shadow: 0 28px 70px rgba(40, 22, 90, .55);
}

body[data-template="acoustic"] {
  --bg: #efe2c7;
  --surface: #fff9eb;
  --ink: #2a2119;
  --muted: #79634e;
  --accent: #8b4528;
  --accent-2: #37543c;
  --line: #2a2119;
  --display: Georgia, "Times New Roman", serif;
  --radius: 8px;
  --shadow: 0 24px 45px rgba(72, 50, 31, .2);
}

body[data-template="studio"] {
  --bg: #f5f5f3;
  --surface: #fff;
  --ink: #101010;
  --muted: #666;
  --accent: #111;
  --accent-2: #e5ff35;
  --line: #111;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --radius: 14px;
  --shadow: 0 24px 55px rgba(0, 0, 0, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--ink) 4%, transparent) 0 1px, transparent 1.5px) 0 0 / 8px 8px,
    var(--bg);
}

body[data-template="cinematic"] .site {
  background:
    radial-gradient(circle at 78% 9%, rgba(126, 35, 61, .56), transparent 31rem),
    radial-gradient(circle at 20% 46%, rgba(215, 168, 76, .08), transparent 34rem),
    var(--bg);
}
body[data-template="midnight"] .site {
  background:
    radial-gradient(circle at 72% 14%, rgba(139, 92, 246, .3), transparent 32rem),
    radial-gradient(circle at 14% 43%, rgba(17, 213, 223, .12), transparent 28rem),
    var(--bg);
}

.preview-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 10px 20px;
  background: #111;
  color: white;
  border-bottom: 3px solid #e5ff35;
}
.preview-bar span { color: #bbb; }
.preview-bar a { color: #e5ff35; font-weight: 800; }
.preview-bar form { margin: 0; }
.preview-bar button {
  border: 0;
  padding: 10px 17px;
  background: #e5ff35;
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.topbar {
  height: 76px;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: .025em;
}
.brand-mark { color: var(--accent); font-family: Georgia, serif; }
.topbar nav { display: flex; gap: clamp(18px, 3vw, 48px); align-items: center; }
.topbar nav a, .topbar nav button {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  cursor: pointer;
}
.topbar nav a:hover, .topbar nav button:hover { color: var(--accent); }

.hero {
  width: min(1500px, 100%);
  min-height: 675px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 76px) clamp(22px, 4vw, 64px) 44px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.eyebrow, .section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow span { color: var(--ink); }
.hero h1, .story h2, .lyrics-heading h2, .section-row h2 {
  margin: 0;
  font-family: var(--display);
  line-height: .86;
  font-weight: 900;
}
.hero h1 {
  font-size: clamp(4.8rem, 9vw, 9.5rem);
  letter-spacing: -.025em;
  margin: 18px 0 22px;
  text-transform: uppercase;
}
body[data-template="cinematic"] .hero h1,
body[data-template="acoustic"] .hero h1 {
  text-transform: none;
  line-height: .9;
  font-size: clamp(4.2rem, 7.5vw, 8rem);
}
.artist { margin: -8px 0 24px; color: var(--accent); font-weight: 800; }
.tagline {
  max-width: 610px;
  border-top: 3px solid var(--line);
  padding-top: 14px;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 650;
}
.hero-play {
  border: 0;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: transparent;
  color: var(--ink);
  text-transform: uppercase;
  cursor: pointer;
}
.round-play {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  transition: transform .2s ease;
}
.hero-play:hover .round-play { transform: scale(1.05) rotate(-2deg); }
.hero-play strong {
  background: var(--accent);
  color: var(--bg);
  padding: 20px 30px;
  border-radius: calc(var(--radius) / 2);
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: .045em;
}
body[data-template="studio"] .hero-play strong { color: white; }
.play-icon::after {
  content: "";
  display: block;
  margin-left: 6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid white;
}
.pause-icon::after {
  content: "";
  display: block;
  width: 18px;
  height: 27px;
  border-left: 7px solid white;
  border-right: 7px solid white;
}

.cover-wrap {
  position: relative;
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  transform: rotate(.25deg);
}
.cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: max(0px, calc(var(--radius) - 6px));
  filter: saturate(.94) contrast(1.02);
}
body[data-template="cinematic"] .cover-wrap { border: 1px solid rgba(215, 168, 76, .55); transform: none; }
body[data-template="midnight"] .cover-wrap { border: 1px solid rgba(139, 92, 246, .65); transform: none; }
body[data-template="studio"] .cover-wrap { transform: none; border: 2px solid var(--ink); }

.markdown-stack { position: absolute; inset: 0; pointer-events: none; }
.markdown {
  position: absolute;
  width: 118px;
  min-height: 70px;
  right: -20px;
  padding: 8px 12px;
  background: #e9dfca;
  color: #111;
  border: 1px solid rgba(38, 30, 20, .18);
  box-shadow: 2px 5px 10px rgba(30, 23, 14, .25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotate(4deg);
  font-family: "Courier New", monospace;
}
.markdown small { font-size: .56rem; letter-spacing: .12em; }
.markdown strong { font-size: 2rem; line-height: 1; position: relative; }
.markdown:not(.markdown-final) strong::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 48%;
  height: 5px;
  background: #e5392a;
  transform: rotate(-9deg);
}
.markdown-one { top: 7%; }
.markdown-two { top: 25%; right: -30px; transform: rotate(-3deg); }
.markdown-three { top: 43%; right: -16px; transform: rotate(2deg); }
.markdown-four { top: 61%; right: -28px; transform: rotate(-4deg); }
.markdown-final {
  top: 79%;
  width: 145px;
  min-height: 100px;
  background: #f14c2f;
  transform: rotate(5deg);
}
.markdown-final strong { font-family: var(--display); font-size: 4.5rem; }

.player-shell {
  width: min(1372px, calc(100% - clamp(44px, 8vw, 128px)));
  margin: 0 auto clamp(68px, 8vw, 110px);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  grid-template-columns: auto minmax(155px, .6fr) 1.8fr;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  box-shadow: 10px 10px 0 color-mix(in srgb, var(--accent) 25%, transparent);
}
.mini-play {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mini-play .play-icon::after { border-top-width: 9px; border-bottom-width: 9px; border-left-width: 14px; margin-left: 4px; }
.mini-play .pause-icon::after { width: 13px; height: 20px; border-width: 0 5px; border-style: solid; }
.track-meta { display: flex; flex-direction: column; gap: 4px; }
.track-meta strong { font-family: var(--display); font-size: 1.55rem; }
.track-meta span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.timeline-wrap input {
  --progress: 0%;
  width: 100%;
  height: 7px;
  appearance: none;
  border-radius: 20px;
  background: linear-gradient(to right, var(--accent) var(--progress), color-mix(in srgb, var(--ink) 18%, transparent) var(--progress));
  cursor: pointer;
}
.timeline-wrap input::-webkit-slider-thumb { appearance: none; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); }
.times { display: flex; justify-content: space-between; color: var(--muted); font: 700 .72rem "Courier New", monospace; margin-top: 8px; }

.story {
  width: min(1050px, calc(100% - 44px));
  margin: 0 auto clamp(80px, 10vw, 140px);
  text-align: center;
}
.story h2 { font-size: clamp(3.4rem, 7vw, 7.4rem); margin: 20px auto 30px; max-width: 1000px; }
.story > p:last-child { max-width: 780px; margin: 0 auto; font-family: Georgia, serif; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.75; color: var(--muted); }

.lyrics-section {
  position: relative;
  padding: clamp(64px, 8vw, 110px) clamp(22px, 7vw, 110px);
  background: var(--surface);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.lyrics-heading, .section-row {
  max-width: 1320px;
  margin: 0 auto 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.lyrics-heading h2, .section-row h2 { font-size: clamp(4rem, 8vw, 8rem); }
.lyrics-heading button {
  border: 2px solid var(--line);
  border-radius: calc(var(--radius) / 2);
  background: transparent;
  color: var(--ink);
  padding: 15px 20px;
  display: flex;
  gap: 22px;
  align-items: center;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}
.lyrics-toggle-symbol { color: var(--accent); font-size: 1.5rem; line-height: .7; }
.lyrics-grid {
  max-width: 1320px;
  max-height: 890px;
  overflow: hidden;
  margin: 0 auto;
  columns: 3 310px;
  column-gap: clamp(30px, 5vw, 72px);
}
.lyrics-grid.expanded { max-height: none; }
.lyric-block { break-inside: avoid; margin: 0 0 40px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.lyric-block h3 { margin: 0 0 15px; color: var(--accent); font: 900 1.2rem var(--display); letter-spacing: .06em; text-transform: uppercase; }
.lyric-block p { margin: 0; font: 1rem/1.65 Georgia, serif; }
.lyrics-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--surface) 80%); pointer-events: none; }

.more-songs { padding: clamp(70px, 9vw, 130px) clamp(22px, 6vw, 90px); }
.section-row { max-width: 1320px; }
.section-row h2 { font-size: clamp(3.6rem, 7vw, 7.5rem); }
.coming-label { max-width: 190px; color: var(--muted); text-align: right; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.song-cards { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.song-card {
  min-height: 320px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.song-card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--accent); }
.song-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: max(0px, calc(var(--radius) - 8px)); margin-bottom: 18px; }
.song-card > span { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 900; }
.song-card h3 { margin: 12px 0; font: 900 clamp(2rem, 3vw, 3.4rem)/.92 var(--display); }
.song-card strong { margin-top: auto; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.placeholder-card p { color: var(--muted); line-height: 1.6; }

footer {
  min-height: 180px;
  padding: 42px clamp(22px, 6vw, 90px);
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: var(--bg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
footer p { text-align: center; font-family: Georgia, serif; }
footer > span { text-align: right; color: color-mix(in srgb, var(--bg) 65%, transparent); font-size: .75rem; }
.empty-state { min-height: 100vh; padding: 10vw; display: grid; place-content: center; text-align: center; }
.empty-state h1 { font: 900 clamp(4rem, 9vw, 9rem)/.9 var(--display); margin: 35px 0 10px; }
.primary-link { display: inline-block; margin: 20px auto; padding: 15px 22px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 900; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { text-align: center; }
  .eyebrow, .tagline { margin-left: auto; margin-right: auto; }
  .hero h1 br { display: none; }
  .cover-wrap { width: min(720px, calc(100% - 34px)); margin: 25px auto 0; }
  .markdown { right: -13px; transform: scale(.88) rotate(4deg); transform-origin: right center; }
  .markdown-two, .markdown-four { right: -20px; }
  .player-shell { grid-template-columns: auto 1fr; }
  .timeline-wrap { grid-column: 1 / -1; }
  .song-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer > span { text-align: center; }
}

@media (max-width: 680px) {
  .preview-bar { position: relative; flex-wrap: wrap; gap: 8px 14px; text-align: center; }
  .preview-bar span { width: 100%; }
  .topbar { height: 66px; }
  .topbar nav a { display: none; }
  .topbar nav { gap: 12px; }
  .brand { font-size: 1.35rem; }
  .hero { min-height: auto; padding: 40px 18px 28px; gap: 24px; }
  .hero h1, body[data-template="cinematic"] .hero h1, body[data-template="acoustic"] .hero h1 { font-size: clamp(3.9rem, 20vw, 6.4rem); margin: 15px 0 20px; }
  .tagline { font-size: 1rem; }
  .round-play { width: 62px; height: 62px; }
  .hero-play { gap: 10px; }
  .hero-play strong { padding: 16px 20px; font-size: 1.2rem; }
  .cover-wrap { width: calc(100% - 24px); padding: 8px; }
  .markdown { width: 82px; min-height: 48px; padding: 5px 8px; transform: scale(.82) rotate(4deg); }
  .markdown strong { font-size: 1.4rem; }
  .markdown-final { width: 96px; min-height: 66px; }
  .markdown-final strong { font-size: 3rem; }
  .player-shell { width: calc(100% - 28px); margin-bottom: 70px; padding: 16px; gap: 14px; box-shadow: 5px 5px 0 color-mix(in srgb, var(--accent) 25%, transparent); }
  .mini-play { width: 48px; height: 48px; }
  .track-meta strong { font-size: 1.25rem; }
  .story { width: calc(100% - 32px); margin-bottom: 80px; }
  .story h2 { font-size: 3.2rem; }
  .lyrics-section { padding: 60px 20px; }
  .lyrics-heading, .section-row { align-items: flex-start; flex-direction: column; margin-bottom: 36px; }
  .lyrics-heading h2, .section-row h2 { font-size: 4rem; }
  .lyrics-grid { columns: 1; max-height: 1050px; }
  .lyric-block p { font-size: .95rem; }
  .more-songs { padding: 70px 18px; }
  .coming-label { text-align: left; }
  .song-cards { grid-template-columns: 1fr; }
  .song-card { min-height: 280px; }
  footer { padding: 42px 20px; }
}
