/* ==========================================================================
   Lane Rivers — Listen Page
   Design tokens
   ========================================================================== */

:root {
  /* Color */
  --bg:            #0b0907;
  --bg-elevated:   #17120e;
  --bg-elevated-2: #1e1712;
  --ink:           #f3ece1;
  --ink-muted:     #b9ac9b;
  --ink-faint:     #7a6f61;
  --gold:          #c89b4a;
  --gold-bright:   #e8be72;
  --gold-dim:      #8a6b34;
  --line:          rgba(200, 155, 74, 0.16);
  --line-strong:   rgba(200, 155, 74, 0.30);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --content-width: 640px;
  --content-width-wide: 780px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Respect reduced-motion preference; disables the smooth anchor-scroll
   and the small hover transforms — the only "motion" anywhere on this
   page. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Visible keyboard focus everywhere — accessibility floor */
a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Ambient background glow (static, no animation) — kept subtle on purpose,
   sits behind the content below the hero
   ========================================================================== */

.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 460px at 50% 0%, rgba(200, 155, 74, 0.09), transparent 60%),
    radial-gradient(ellipse 700px 460px at 100% 100%, rgba(200, 155, 74, 0.05), transparent 60%);
}

/* ==========================================================================
   HERO
   Full-bleed cinematic header: photo + dark/warm gradient scrim +
   centred content. Height is controlled per breakpoint below (roughly
   400px on mobile, up to 500–650px on desktop, per brief).
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* Dark gradient (bottom-heavy, so text stays readable and the hero
   blends into the page background below) plus a very restrained warm
   amber wash — not a colour effect, just enough to keep the identity
   warm rather than neutral-black. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 15%, rgba(200, 155, 74, 0.10), transparent 60%),
    linear-gradient(
      to bottom,
      rgba(11, 9, 7, 0.35) 0%,
      rgba(11, 9, 7, 0.55) 40%,
      rgba(11, 9, 7, 0.86) 75%,
      var(--bg) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 32px;
  text-align: center;
}

.hero__mark {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mark-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.hero__mark-initials {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
}

/* The dominant identity element on the page. */
.hero__name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__tagline {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 4vw, 19px);
  color: var(--gold-bright);
}

.hero__statement {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(200, 155, 74, 0.08);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: rgba(200, 155, 74, 0.18);
  border-color: var(--gold-bright);
}

/* ==========================================================================
   Music section intro — the transition from artist → message → music
   ========================================================================== */

.music-intro {
  text-align: center;
  padding-top: 8px;
  margin-bottom: 28px;
  scroll-margin-top: 20px;
}

.music-intro__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.music-intro__sub {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Page shell (everything below the hero)
   ========================================================================== */

.page {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 20px 40px;
}

/* ==========================================================================
   Song cards
   ========================================================================== */

.songs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}

.song {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

/* The featured/newest release gets a slightly stronger border and a small
   eyebrow label — not a badge, not a colour change, just quiet emphasis.
   Move the "song--latest" class to whichever card is current with each
   new release; nothing else about the card needs to change. */
.song--latest {
  border-color: var(--line-strong);
}

.song__eyebrow {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 9, 7, 0.72);
  border: 1px solid var(--line-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.song__art-link {
  display: block;
  background: var(--bg-elevated-2);
}

.song__art {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* If I Could Turn Time (Just A Little) uses a non-square source image.
   Rather than force-crop it to match the other square covers, it's
   shown uncropped with letterboxing — the frame stays square and
   consistent, the image itself is never cropped. */
.song__art--contain {
  object-fit: contain;
  background: var(--bg-elevated-2);
}

.song__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.song__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}

.song__title-sub {
  display: block;
  font-size: 0.72em;
  font-weight: 500;
  color: var(--ink-muted);
}

.song__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #14100c;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.song__cta:hover,
.song__cta:focus-visible {
  background: var(--gold-bright);
}

.song__cta:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Social
   ========================================================================== */

.social {
  text-align: center;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}

.social__label {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.social__sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-muted);
}

.social__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.social__link:hover,
.social__link:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

/* Icons use each platform's own brand colour (set via fill= on the SVG
   paths themselves), not currentColor — that's deliberate so the row
   stays recognisable at a glance, while the card/border/label still
   follow the site's black/gold styling. */

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
}

.footer p {
  margin: 0;
}

/* ==========================================================================
   ≥560px — large phones / small tablets
   ========================================================================== */

@media (min-width: 560px) {
  .song__body {
    padding: 22px 26px;
  }

  .song__title {
    font-size: 21px;
  }
}

/* ==========================================================================
   ≥768px — desktop/tablet landscape: hero grows toward its full height,
   song cards switch from stacked to horizontal (art left, details right).
   Still one flowing list — not a grid — so running order stays intact.
   ========================================================================== */

@media (min-width: 768px) {
  .hero {
    height: 540px;
  }

  .hero__content {
    max-width: 640px;
    padding-bottom: 44px;
  }

  .page {
    max-width: var(--content-width-wide);
  }

  .song {
    display: flex;
    align-items: stretch;
  }

  .song__art-link {
    width: 220px;
    flex-shrink: 0;
  }

  .song__art {
    height: 100%;
  }

  .song__body {
    flex: 1;
    padding: 0 32px;
  }

  .song__title {
    font-size: 23px;
  }

  .song:hover {
    border-color: var(--gold-dim);
  }
}

/* ==========================================================================
   ≥1200px — larger desktop: hero reaches its full cinematic height, page
   content widens a touch further; card art stays proportional rather
   than growing to fill the extra width.
   ========================================================================== */

@media (min-width: 1200px) {
  .hero {
    height: 620px;
  }

  .page {
    max-width: 860px;
  }

  .song__art-link {
    width: 240px;
  }
}
