/* ---------- Design tokens: change colors and fonts here ---------- */
:root {
  --bg: #0d0907;
  --bg-alt: #140d0a;
  --card: #1a110d;
  --line: #2e1f17;
  --text: #f3e6d3;
  --muted: #b9a58f;
  --sand: #c8794a;
  --ember: #e08a4f;
  --sky: #7fa3c4;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sand); color: #1a0e08; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: linear-gradient(to bottom, rgba(13,9,7,.85), rgba(13,9,7,0)); backdrop-filter: blur(4px); }
.nav.solid { background: rgba(13,9,7,.92); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; letter-spacing: .02em; }
.nav nav a { text-decoration: none; margin-left: 18px; font-size: .9rem; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(to bottom, #0a0a14 0%, #1b1626 28%, #5a3a3a 58%, #d9824a 82%, #f0b070 100%); }
/* With a photo: the photo replaces the drawn sky and mesas, with a dark fade so text stays readable */
.hero.has-photo { background:
  linear-gradient(to bottom, rgba(13,9,7,.6) 0%, rgba(13,9,7,.15) 38%, rgba(13,9,7,.35) 70%, rgba(13,9,7,.95) 100%),
  var(--photo) center / cover no-repeat; }
.hero.has-photo .sun, .hero.has-photo .stars, .hero.has-photo .land { display: none; }
.hero.has-photo h1 { text-shadow: 0 2px 40px rgba(0,0,0,.7); }
.sun { position: absolute; left: 50%; bottom: 22%; width: min(70vw, 620px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,200,130,.55) 0%, rgba(255,160,90,.2) 40%, transparent 70%); }
.stars { position: absolute; inset: 0 0 45% 0; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .6; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.land { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; }
.mesa { transition: transform .1s linear; }
.mesa.far { fill: #6b3d33; opacity: .85; }
.mesa.mid { fill: #3b2018; }
.mesa.near { fill: #150c08; }
.hero-text { position: relative; z-index: 2; padding: 0 20px 14vh; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: var(--ember); margin: 0 0 10px; }
.hero .eyebrow { color: #ffd9b0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.8rem, 10vw, 6.5rem); letter-spacing: .01em; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.amp { font-style: italic; font-weight: 400; color: #ffd9b0; }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 28px; }
h3 { font-size: 1.5rem; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 99px; border: 1px solid rgba(243,230,211,.45); text-decoration: none;
  font-weight: 500; font-size: .95rem; background: rgba(13,9,7,.25); transition: background .2s, transform .2s; }
.btn:hover { background: rgba(243,230,211,.12); transform: translateY(-1px); }
.btn.primary { background: var(--ember); border-color: var(--ember); color: #1a0e08; }
.btn.primary:hover { background: #f0a06a; }
.scroll { position: absolute; bottom: 18px; left: 50%; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(243,230,211,.5); border-radius: 14px; }
.scroll span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: drop 1.8s infinite; }
@keyframes drop { 0% { opacity: 1; transform: translateY(0); } 80%,100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.listen-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.player iframe { width: 100%; border: 0; border-radius: 12px; display: block; background: var(--card); }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.platforms .btn { border-color: var(--line); background: var(--card); }
.platforms .btn:hover { border-color: var(--sand); }

/* ---------- Release cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.art { aspect-ratio: 1; position: relative; display: flex; align-items: flex-end; padding: 16px; background-size: cover; background-position: center; }
.art.gen { background: linear-gradient(160deg, hsl(var(--h) 45% 22%), hsl(calc(var(--h) + 25) 55% 38%)); }
.art.gen::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background: linear-gradient(to top, rgba(13,9,7,.8), transparent 60%); }
.art .badge { position: relative; z-index: 1; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #ffd9b0; }
.body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.body h3 { font-size: 1.35rem; }
.meta { font-size: .85rem; color: var(--muted); }
.tracks { margin: 0; padding-left: 20px; font-size: .88rem; color: var(--muted); }
.tracks li { margin: 2px 0; }
.soon { font-size: .85rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }
.body .player iframe { height: 152px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.row a { font-size: .8rem; color: var(--sky); }

.footer { padding: 40px 20px 60px; text-align: center; border-top: 1px solid var(--line); }
.footer p { margin: 4px 0; }
.noscript { text-align: center; padding: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .listen-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .nav nav a { margin-left: 12px; font-size: .85rem; }
  .brand { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .star, .scroll span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mesa { transition: none; }
}
