/* ============================================
   RUMI SANDS — design tokens
   Thesis: light finding its way through gaps,
   into the dark. (blinds, leaves, moon phases,
   the spiral). Restraint everywhere except the
   moments light breaks through.
   ============================================ */

:root {
  --bg: #0b0a08;
  --surface: #15130f;
  --surface-2: #1c1912;
  --line: #2a2620;

  --ink: #ede7d8;
  --ink-muted: #9c9384;
  --ink-faint: #635c4f;

  --gold: #c6a059;
  --gold-bright: #e4c785;
  --night: #2f4250;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --body: "EB Garamond", Georgia, serif;

  --max: 1180px;
  --gap: clamp(1.25rem, 3vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- utility ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.eyebrow {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
}

.crescent {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  box-shadow: inset 0.16em 0.05em 0 0 var(--gold);
  vertical-align: middle;
}

/* ---------- nav ---------- */

.site-nav {
  position: relative;
  z-index: 20;
  padding: 1.9rem 0 0;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--serif);
  letter-spacing: 0.24em;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.1rem;
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-links a { transition: color 0.25s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-bright); }

a:focus-visible, button:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95em 1.6em;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover, .btn:focus-visible {
  background: var(--gold);
  color: #0b0a08;
}

.btn.solid {
  background: var(--gold);
  color: #0b0a08;
}
.btn.solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,10,8,0.15) 0%, rgba(11,10,8,0.35) 45%, rgba(11,10,8,0.96) 100%),
    repeating-linear-gradient(100deg, rgba(198,160,89,0.05) 0px, rgba(198,160,89,0.05) 2px, transparent 2px, transparent 34px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 5.5rem;
  width: 100%;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.96;
  margin: 0.5rem 0 1.1rem;
  color: var(--ink);
}

.hero-tagline {
  max-width: 34em;
  color: var(--ink-muted);
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 2rem;
}

/* ---------- section framing ---------- */

section { padding: 6.5rem 0; }
.section-head { margin-bottom: 3rem; max-width: 40em; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin: 0.6rem 0 0;
  color: var(--ink);
}

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

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap);
  align-items: center;
}

.about-grid p { color: var(--ink-muted); font-size: 1.08rem; margin: 0 0 1.2rem; }
.about-grid p:last-of-type { margin-bottom: 1.8rem; }

.about-portrait {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { order: -1; max-width: 340px; margin: 0 auto; }
}

/* ---------- discography grid ---------- */

.disco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.6rem;
}

.disco-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}

.disco-card .cover-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.disco-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1), filter 0.6s ease;
}

.disco-card:hover img, .disco-card:focus-visible img {
  transform: scale(1.045);
  filter: brightness(1.08);
}

.disco-meta {
  padding: 1rem 0.2rem 0.3rem;
}

.disco-meta .title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.disco-meta .genre {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.25rem;
}

/* ---------- follow / social ---------- */

.follow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- footer ---------- */

footer {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.85rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

footer a { color: var(--ink-muted); }
footer a:hover { color: var(--gold-bright); }

/* ============================================
   SONG PAGE
   ============================================ */

.song-hero {
  padding: 8.5rem 0 5rem;
  position: relative;
}

.song-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--gap);
  align-items: end;
}

.song-cover {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.song-cover img { width: 100%; height: 100%; object-fit: cover; }

.song-title-block .eyebrow { display: block; margin-bottom: 1rem; }

.song-title-block h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 1.4rem;
}

.song-sub {
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

@media (max-width: 760px) {
  .song-hero-grid { grid-template-columns: 1fr; }
  .song-cover { max-width: 320px; }
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  color: var(--gold-bright);
  max-width: 30em;
  margin: 0;
  padding-left: 1.3rem;
  border-left: 1px solid var(--gold);
}

.story-body p { color: var(--ink-muted); font-size: 1.08rem; }

.lyrics {
  columns: 1;
  max-width: 40em;
  white-space: pre-line;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.9;
}

.credits-list {
  display: grid;
  gap: 0.9rem;
  max-width: 32em;
}
.credits-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
  gap: 1rem;
}
.credits-list dt { color: var(--ink-faint); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.credits-list dd { margin: 0; color: var(--ink-muted); text-align: right; }

.placeholder-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: italic;
  border: 1px dashed var(--line);
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  max-width: 40em;
}

.more-songs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.4rem;
}
