:root {
  --red: #891515;
  --deep-red: #531c1c;
  --cream: #d9cabd;
  --paper: #eee2d6;
  --bg: #a29991;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: white;
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  min-height: 100vh;
  padding-bottom: 108px;
}
button, input { font: inherit; }
a { color: inherit; }
.site-bg { position: fixed; inset: 0; z-index: -2; background: var(--bg); overflow: hidden; }
.bg-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-one { opacity: .50; }
.bg-two { opacity: .40; }
.site-shell { width: min(1440px, 100%); margin: 0 auto; position: relative; }
.topbar {
  min-height: 96px; padding: 24px 48px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(30,24,21,.10); backdrop-filter: blur(1px);
}
.brand { font-family: "Kaushan Script", cursive; font-size: 36px; text-decoration: none; }
.topbar nav { display: flex; gap: 28px; font-size: 18px; }
.topbar nav a { text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.topbar nav a:hover { border-color: var(--cream); }
.banner { width: 100%; height: 445px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-section { min-height: 670px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 80px; }
.hero-copy { min-width: 0; }
.hero-kicker { font-family: Inder, sans-serif; font-size: 36px; margin-bottom: 10px; }
.hero-copy h1 { margin: 0; font-family: "Kaushan Script", cursive; font-size: clamp(60px, 6.7vw, 96px); color: var(--cream); text-shadow: 0 4px 4px var(--red); line-height: 1.05; }
.hero-copy p { margin: 28px 0 0; max-width: 410px; font-size: 23px; line-height: 1.35; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.78); }
.hero-art { height: 552px; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display:block; }
.music-section { padding: 56px 72px 88px; }
.music-intro { margin: 0 0 18px; font-size: 25px; }
.music-section > h2 { font-family: "Kaushan Script", cursive; font-weight: 400; font-size: clamp(42px, 5vw, 70px); color: var(--cream); text-shadow: 0 4px 4px var(--red); margin: 0 0 36px; line-height: 1.15; }
.album-grid { display: grid; grid-template-columns: repeat(4, 240px); justify-content: center; gap: 54px 60px; }
.song-card {
  border: 0; width: 240px; min-height: 360px; padding: 20px; border-radius: 2px; cursor: pointer;
  display: flex; flex-direction: column; gap: 12px; align-items: center; position: relative; box-shadow: 0 5px 18px rgba(0,0,0,.10);
  transition: transform .16s ease, box-shadow .16s ease, outline-color .16s ease;
  text-align: center;
}
.song-card.red { background: var(--red); color: var(--cream); }
.song-card.cream { background: var(--cream); color: var(--red); }
.song-card:hover, .song-card:focus-visible { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.24); outline: 2px solid rgba(255,255,255,.55); outline-offset: 3px; }
.song-card.playing { outline: 4px solid #fff; outline-offset: 4px; }
.song-card.playing::after {
  content: "NOW PLAYING"; position:absolute; top: 8px; right: 8px; background:#111; color:#fff; font-size:9px; letter-spacing:.1em; padding:5px 6px; border-radius:2px;
}
.cover { width: 200px; height: 180px; overflow: hidden; box-shadow: 0 4px 4px rgba(0,3,8,.25); background: rgba(255,255,255,.16); }
.cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.song-card h3 { min-height: 58px; margin: 0; display:flex; align-items:center; justify-content:center; font-size: 25px; line-height: 1.05; font-weight: 400; }
.artist { font-size: 12px; }
.desc { font-size: 13px; line-height: 1.25; margin: 0; }
.about { margin: 0 72px 70px; padding: 28px 32px; display:flex; align-items:center; justify-content:space-between; gap: 30px; color: var(--cream); background: rgba(83,28,28,.76); border: 1px solid rgba(217,202,189,.45); }
.about h2 { font-family:"Kaushan Script", cursive; font-size: 42px; font-weight:400; margin:0 0 6px; }
.about p { margin:0; }
.youtube-link { display:inline-block; white-space:nowrap; text-decoration:none; border:1px solid var(--cream); padding:12px 16px; }
.youtube-link:hover { background:var(--cream); color:var(--red); }
.player {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: min(1020px, calc(100% - 28px)); min-height: 86px;
  background: rgba(44,17,17,.96); border: 1px solid rgba(217,202,189,.55); color: var(--cream); z-index: 50;
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 10px 14px; box-shadow: 0 14px 40px rgba(0,0,0,.5); backdrop-filter: blur(9px);
  opacity: 0; pointer-events: none; translate: 0 20px; transition: opacity .2s ease, translate .2s ease;
}
.player.visible { opacity:1; pointer-events:auto; translate:0 0; }
.player > img { width:64px; height:64px; object-fit:cover; background:#111; }
.player-main { min-width:0; }
.player-meta { display:flex; align-items:baseline; gap:10px; margin-bottom:9px; white-space:nowrap; overflow:hidden; }
.player-meta strong { overflow:hidden; text-overflow:ellipsis; font-size:17px; }
.player-meta span { opacity:.72; font-size:12px; }
.timeline-row { display:grid; grid-template-columns: 38px 1fr 38px; gap:9px; align-items:center; font-size:11px; }
#seek { width:100%; accent-color: var(--cream); cursor:pointer; }
.player-controls { display:flex; align-items:center; gap:5px; }
.player-controls button { width:38px; height:38px; border:0; border-radius:50%; background:transparent; color:var(--cream); cursor:pointer; font-size:24px; }
.player-controls button:hover { background: rgba(217,202,189,.13); }
.player-controls .play-button { width:48px; height:48px; background:var(--cream); color:var(--red); font-size:18px; }
@media (max-width: 1180px) {
  .album-grid { grid-template-columns: repeat(3, 240px); }
  .hero-section { padding-inline: 48px; gap: 38px; }
}
@media (max-width: 850px) {
  .topbar { padding: 20px 24px; }
  .brand { font-size: 30px; }
  .banner { height: min(42vw, 340px); }
  .hero-section { grid-template-columns: 1fr; min-height: auto; padding: 46px 28px; }
  .hero-art { height: min(116vw, 580px); }
  .music-section { padding: 44px 22px 76px; }
  .music-intro { font-size: 19px; }
  .album-grid { grid-template-columns: repeat(2, minmax(150px, 240px)); gap: 26px 22px; }
  .song-card { width: 100%; min-height: 330px; padding: 14px; }
  .cover { width:100%; height:auto; aspect-ratio:10/9; }
  .song-card h3 { font-size: 21px; }
  .about { margin:0 22px 60px; flex-direction:column; align-items:flex-start; }
}
@media (max-width: 520px) {
  body { padding-bottom: 126px; }
  .topbar { min-height:72px; }
  .topbar nav { gap:16px; font-size:14px; }
  .brand { font-size:25px; }
  .hero-kicker { font-size:24px; }
  .hero-copy h1 { font-size:52px; }
  .hero-copy p { font-size:16px; }
  .album-grid { grid-template-columns: repeat(2, 1fr); gap:18px 12px; }
  .song-card { min-height: 286px; padding:10px; gap:8px; }
  .song-card h3 { min-height:46px; font-size:17px; }
  .artist { font-size:10px; }
  .desc { font-size:10px; }
  .player { grid-template-columns: 48px 1fr auto; gap:9px; bottom:8px; padding:8px; }
  .player > img { width:48px; height:48px; }
  .player-meta span { display:none; }
  .player-controls #prev, .player-controls #next { display:none; }
}

/* V2 — alternate takes */
.song-card {
  min-height: 394px;
  cursor: default;
}
.song-card-play {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.song-card:hover,
.song-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.24);
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}
.song-card-play:focus-visible {
  outline: none;
}
.version-slot {
  width: 100%;
  min-height: 30px;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
}
.version-select {
  width: 100%;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: rgba(255,255,255,.09);
  color: inherit;
  padding: 3px 24px 3px 7px;
  font-size: 11px;
  letter-spacing: .02em;
  cursor: pointer;
}
.version-select option {
  color: #171717;
  background: #f4eee8;
}
@media (max-width: 850px) {
  .song-card { min-height: 360px; }
}
@media (max-width: 520px) {
  .song-card { min-height: 318px; }
  .song-card-play { gap: 8px; }
  .version-slot { min-height: 27px; }
  .version-select { height: 27px; font-size: 9px; padding-left: 5px; }
}
