/* ==========================================================================
   Samuel Suh — Public Site
   Vibrant Gospel Reggae identity: sunset-over-stage energy. Deep night-purple
   ground with a hot pink -> orange -> gold sunset gradient carrying the
   brand, tropical green as a live accent, hand-crafted 3D floating elements
   and dancer motifs that animate alongside the music.
   Built on top of Bootstrap 5 (see header.php) — this file overrides/extends it.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg-dark: #171716;
  --bg-dark-soft: #232321;
  --bg-dark-softer: #2d2c28;
  --text-on-dark: #f4efe6;
  --text-on-dark-dim: rgba(244, 239, 230, 0.72);
  --text-on-dark-faint: rgba(244, 239, 230, 0.48);
  --border-on-dark: rgba(244, 239, 230, 0.16);
  --border-on-dark-strong: rgba(244, 239, 230, 0.34);

  --gold: #e9ad4b;
  --gold-strong: #f4c77b;
  --gold-deep: #c7852d;
  --sunset-orange: #e66d4a;
  --sunset-pink: #d95055;
  --reggae-green: #88b878;
  --reggae-green-deep: #5d8f52;
  --reggae-red: #d95055;

  --gradient-sunset: linear-gradient(110deg, var(--sunset-pink) 0%, var(--sunset-orange) 58%, var(--gold) 100%);
  --gradient-sunset-soft: linear-gradient(110deg, rgba(217,80,85,0.2), rgba(230,109,74,0.14), rgba(233,173,75,0.12));

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-ui: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.75rem;
  --space-5: 4.5rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --radius-photo: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -- base ------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--player-height, 96px) + 24px);
}
a { color: var(--gold-strong); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.01em; }
.heritage-rule {
  height: 4px;
  width: 72px;
  border-radius: 2px;
  background: var(--gradient-sunset);
  margin: var(--space-2) auto;
  box-shadow: 0 0 16px rgba(255, 122, 60, 0.5);
}
.text-gold { color: var(--gold-strong) !important; }
.text-on-dark-dim { color: var(--text-on-dark-dim) !important; }
.text-on-dark-faint { color: var(--text-on-dark-faint) !important; }
.text-sunset {
  background: var(--gradient-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
}

/* -- ambient background -----------------------------------------------------*/
.grain {
  position: fixed; inset: -10%; z-index: 0; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; filter: blur(90px); opacity: 0.65; mix-blend-mode: screen;
}
.glow--gold {
  background:
    radial-gradient(36% 30% at 85% 10%, rgba(255, 61, 119, 0.5) 0%, transparent 70%),
    radial-gradient(34% 30% at 8% 18%, rgba(255, 201, 60, 0.4) 0%, transparent 70%),
    radial-gradient(38% 34% at 30% 92%, rgba(46, 213, 115, 0.32) 0%, transparent 70%),
    radial-gradient(30% 28% at 95% 85%, rgba(255, 122, 60, 0.38) 0%, transparent 70%);
  animation: glow-drift 22s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.08); }
}
.container, .site-nav, main#page-content, .site-footer, .player-bar, .floaters { position: relative; z-index: 1; }

/* -- 3D floating dancing elements --------------------------------------------*/
.floaters {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  perspective: 1400px;
}
.floater {
  position: absolute;
  transform-style: preserve-3d;
  opacity: 0.85;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
  animation: floatDance var(--float-duration, 16s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  will-change: transform;
}
.floater svg { display: block; }

@keyframes floatDance {
  0%   { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  25%  { transform: translate3d(14px, -22px, 30px) rotateX(18deg) rotateY(24deg) rotateZ(8deg); }
  50%  { transform: translate3d(-10px, -6px, -20px) rotateX(-14deg) rotateY(-18deg) rotateZ(-6deg); }
  75%  { transform: translate3d(-18px, 16px, 22px) rotateX(10deg) rotateY(-26deg) rotateZ(6deg); }
  100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
}

/* Turned off for the editorial, photography-led direction (matches the
   sangoedi.com reference) — full-bleed portraits carry the mood instead of
   decorative grain/glow/floating shapes. Markup is left in place (cheap,
   harmless) so this is a one-line revert if the direction changes. */
.grain, .glow, .floaters { display: none; }

@media (prefers-reduced-motion: reduce) {
  .floater, .glow--gold { animation: none !important; }
}

/* -- site flash (no-JS form fallback confirmation) ----------------------------*/
.site-flash {
  margin: var(--space-2) auto 0; padding: 0.8rem 1.2rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; text-align: center; max-width: 640px;
}
.site-flash--success { background: rgba(46,213,115,0.14); border: 1px solid rgba(46,213,115,0.4); color: var(--reggae-green); }
.site-flash--error { background: rgba(255,71,87,0.14); border: 1px solid rgba(255,71,87,0.4); color: var(--reggae-red); }

/* -- navbar ------------------------------------------------------------------*/
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 23, 22, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-on-dark);
  padding: 1.1rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-nav__brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--text-on-dark) !important;
}

/* On the home page only, the nav floats transparently over the full-bleed
   hero photo (matching sangoedi.com's pattern) and gains a solid backdrop
   once scrolled past it — toggled by assets/js/main.js. Every other page
   keeps the always-solid nav above (nothing here applies without .has-hero). */
body.has-hero .site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
}
body.has-hero .site-nav.is-scrolled {
  background: rgba(23, 23, 22, 0.94); border-bottom-color: var(--border-on-dark); backdrop-filter: blur(10px);
}
body.has-hero .site-flash { margin-top: 5rem; }
.site-nav .nav-link { color: var(--text-on-dark-dim); font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link.is-active { color: var(--gold-strong); }
.pwa-install-btn {
  border: 1px solid var(--border-on-dark-strong); border-radius: var(--radius-pill);
  background: transparent; color: var(--text-on-dark); font: inherit; font-size: .78rem;
  padding: .45rem .8rem; margin-left: .75rem;
}
.pwa-install-btn:hover { border-color: var(--gold); color: var(--gold-strong); }
.nav-link--cart { position: relative; display: inline-flex; align-items: center; }
.cart-badge {
  position: absolute; top: -4px; right: -10px;
  background: var(--gradient-sunset); color: #1c1409; font-size: 0.65rem; font-weight: 700;
  border-radius: 999px; min-width: 16px; height: 16px; line-height: 16px; text-align: center; padding: 0 4px;
}

/* -- buttons -----------------------------------------------------------------*/
.btn-gold {
  background: var(--gradient-sunset);
  background-size: 160% 160%;
  color: #1c1409; border: none; border-radius: var(--radius-pill);
  font-weight: 700; padding: 0.7rem 1.6rem;
  box-shadow: 0 6px 24px rgba(255, 61, 119, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-position 0.4s var(--ease);
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(255, 122, 60, 0.48);
  background-position: 100% 0%;
  color: #1c1409;
}
.btn-gold--pulse { animation: cta-pulse 2.6s ease-in-out infinite; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 61, 119, 0.35); }
  50% { box-shadow: 0 6px 34px rgba(255, 201, 60, 0.6); }
}
.btn-outline-gold {
  border: 1.5px solid var(--border-on-dark-strong); color: var(--text-on-dark); border-radius: var(--radius-pill);
  padding: 0.62rem 1.4rem; font-weight: 500; background: transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-outline-gold:hover { border-color: var(--sunset-orange); color: var(--gold-strong); transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .btn-gold--pulse { animation: none; }
}

/* -- hero (index.php) — full-bleed, full-viewport photo hero -------------------
   Structural pattern: absolutely-positioned cover photo, a radial vignette +
   bottom fade so it blends into the page, and a centered content column on
   top. Modeled on sangoedi.com's hero, carrying Samuel's own sunset-gradient
   accent instead of a copy-pasted palette. ------------------------------------*/
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: var(--space-5) 0 var(--space-4);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(23,23,22,0.45) 0%, rgba(23,23,22,0.8) 100%);
}
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to top, var(--bg-dark), transparent);
}
/* Guarantees the transparent, floating nav (see body.has-hero .site-nav) stays
   legible over the photo regardless of what's directly behind it. */
.hero__nav-fade {
  position: absolute; left: 0; right: 0; top: 0; height: 180px;
  background: linear-gradient(to bottom, rgba(23,23,22,0.65), transparent);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  max-width: 760px; padding: 0 1.25rem;
}
.hero__eyebrow {
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold-strong); margin: 0 0 1.5rem;
}
.hero__headline { margin: 0 0 1.75rem; }
.hero__headline-line1 {
  display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-on-dark); line-height: 1.4;
}
.hero__headline-line2 {
  display: block; font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -0.01em;
  background: var(--gradient-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  max-width: 42ch; font-size: 0.95rem; line-height: 1.6; color: var(--text-on-dark-dim); margin: 0 0 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 2rem; }
.hero__scroll-cue {
  position: absolute; left: 50%; bottom: 2.5rem; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  background: none; border: none; color: var(--text-on-dark-faint); cursor: pointer;
}
.hero__scroll-cue span { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero__scroll-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: dot-pulse 2s ease-in-out infinite; }
.hero__scroll-cue:hover { color: var(--gold-strong); }
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(233,173,75,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(233,173,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,173,75,0); }
}

.social-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.social-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  border: 1px solid rgba(244,239,230,0.28); border-radius: var(--radius-pill); color: var(--text-on-dark-dim); font-size: 0.8rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.social-pill:hover { border-color: var(--sunset-orange); color: var(--gold-strong); transform: translateY(-2px); background: rgba(230,109,74,0.1); }

/* -- marquee ticker (sits directly under the hero) -----------------------------*/
.marquee {
  position: relative; overflow: hidden; background: rgba(233,173,75,0.06);
  border-top: 1px solid rgba(233,173,75,0.14); border-bottom: 1px solid rgba(233,173,75,0.14);
  padding: 0.85rem 0;
}
.marquee__track {
  display: flex; width: max-content; gap: 2.5rem;
  animation: marquee-scroll 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-style: italic; font-size: 1rem;
  letter-spacing: 0.04em; color: var(--text-on-dark-dim); white-space: nowrap;
}
.marquee__track span.marquee__dot { color: var(--gold); font-style: normal; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* -- cards / sections ----------------------------------------------------------*/
.card-dark {
  background: var(--bg-dark-soft); border: 1px solid var(--border-on-dark); border-radius: var(--radius-md);
  padding: var(--space-3);
}
.section { padding: var(--space-4) 0; }
.section-heading { text-align: center; margin-bottom: var(--space-3); }

/* -- music page ------------------------------------------------------------*/
.release-card {
  background: var(--bg-dark-soft); border: 1px solid var(--border-on-dark); border-radius: var(--radius-md);
  padding: var(--space-3); margin-bottom: var(--space-2);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.release-card:hover { border-color: rgba(255,122,60,0.4); box-shadow: 0 8px 30px rgba(255,61,119,0.12); }
.release-card__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.release-card__title { font-family: var(--font-display); font-size: 1.4rem; margin: 0; }
.release-card__meta { color: var(--text-on-dark-faint); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.track-row {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; flex-wrap: wrap;
  border-top: 1px solid var(--border-on-dark);
}
.track-row__title { flex: 1; font-weight: 500; min-width: 140px; }
.track-row__featuring { color: var(--text-on-dark-faint); font-size: 0.85rem; }
.track-row__actions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--border-on-dark); color: var(--text-on-dark-dim); background: transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.icon-btn:hover { color: var(--gold-strong); border-color: var(--sunset-orange); transform: translateY(-1px) scale(1.06); }

/* -- gallery ------------------------------------------------------------------*/
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-2); }
.gallery-grid a { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4/5; position: relative; }
.gallery-grid a::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s var(--ease);
  background: linear-gradient(180deg, transparent 50%, rgba(255,61,119,0.25) 100%);
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }

/* -- forms ------------------------------------------------------------------*/
.form-dark .form-control, .form-dark .form-select {
  background: var(--bg-dark-soft); border: 1px solid var(--border-on-dark); color: var(--text-on-dark);
  border-radius: var(--radius-sm);
}
.form-dark .form-control:focus, .form-dark .form-select:focus {
  background: var(--bg-dark-soft); color: var(--text-on-dark); border-color: var(--sunset-orange);
  box-shadow: 0 0 0 3px rgba(255,122,60,0.2);
}
.form-dark label { color: var(--text-on-dark-dim); font-size: 0.85rem; margin-bottom: 0.3rem; }
.honeypot-field { display: none; }

/* -- dancers (animate while the player bar is active) ------------------------*/
.dancers {
  display: flex; align-items: flex-end; gap: 4px; height: 30px;
}
.dancer {
  width: 14px; height: 26px; transform-origin: bottom center;
  animation: dance 1.1s ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0.9;
}
.dancer:nth-child(1) { animation-delay: 0s; }
.dancer:nth-child(2) { animation-delay: 0.18s; }
.dancer:nth-child(3) { animation-delay: 0.36s; }
.is-playing .dancer { animation-play-state: running; }
@keyframes dance {
  0%, 100% { transform: rotate(-8deg) translateY(0) scaleY(1); }
  25% { transform: rotate(6deg) translateY(-3px) scaleY(1.05); }
  50% { transform: rotate(-4deg) translateY(-6px) scaleY(0.96); }
  75% { transform: rotate(9deg) translateY(-2px) scaleY(1.04); }
}

/* -- equalizer bars (now-playing indicator) -----------------------------------*/
.eq-bars { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 14px; margin-left: 0.4rem; }
.eq-bars span {
  width: 3px; background: var(--gradient-sunset); border-radius: 2px; height: 30%;
  animation: eq-bounce 0.9s ease-in-out infinite; animation-play-state: paused;
}
.is-playing .eq-bars span { animation-play-state: running; }
.eq-bars span:nth-child(1) { animation-delay: -0.6s; }
.eq-bars span:nth-child(2) { animation-delay: -0.3s; }
.eq-bars span:nth-child(3) { animation-delay: -0.9s; }
.eq-bars span:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq-bounce {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dancer, .eq-bars span { animation: none !important; }
}

/* -- player bar ----------------------------------------------------------------*/
.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(21, 11, 34, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-on-dark);
  box-shadow: 0 -10px 40px rgba(255, 61, 119, 0.1);
}
.player-bar__toggle {
  position: absolute; top: -18px; right: 20px; width: 36px; height: 18px;
  background: rgba(21,11,34,0.96); border: 1px solid var(--border-on-dark); border-bottom: none;
  border-radius: 8px 8px 0 0; color: var(--text-on-dark-dim); display: flex; align-items: center; justify-content: center;
}
.player-bar__body {
  max-width: 1100px; margin: 0 auto; padding: 0.6rem 1rem;
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 1rem; align-items: center;
}
.player-bar.is-minimized .player-bar__embed,
.player-bar.is-minimized .player-bar__links,
.player-bar.is-minimized .dancers { display: none; }
.player-bar.is-minimized .player-bar__toggle svg { transform: rotate(180deg); }
.player-bar__now-playing { display: flex; flex-direction: column; min-width: 140px; }
.player-bar__eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-dark-faint); }
.player-bar__title { font-family: var(--font-display); font-size: 0.95rem; display: inline-flex; align-items: center; }
.player-bar__embed iframe { border-radius: var(--radius-sm); display: block; }
.player-bar__empty { margin: 0; color: var(--text-on-dark-faint); font-size: 0.85rem; }
.player-bar__links { display: flex; gap: 0.5rem; white-space: nowrap; }
.player-bar__links a { font-size: 0.8rem; border: 1px solid var(--border-on-dark); padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); color: var(--text-on-dark-dim); }
.player-bar__links a:hover { color: var(--gold-strong); border-color: var(--sunset-orange); }
.player-bar.just-started { animation: player-bounce 0.5s var(--ease); }
@keyframes player-bounce {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-6px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .player-bar__body { grid-template-columns: 1fr auto; gap: 0.5rem 0.75rem; }
  .player-bar__now-playing { grid-column: 1 / -1; flex-direction: row; gap: 0.5rem; align-items: baseline; min-width: 0; }
  .player-bar__title { min-width: 0; }
  .player-bar__embed { grid-column: 1 / -1; }
  .player-bar__embed iframe { width: 100%; }
  .player-bar__links { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; }
  .dancers { display: none; }

  /* Keep a couple of floaters for atmosphere, drop the rest — a phone screen
     doesn't have room for seven tumbling 3D shapes without feeling cluttered. */
  .floater:nth-child(n+4) { display: none; }

  .hero__media img { object-position: center 14%; }
  .hero__scroll-cue { bottom: 1.5rem; }

  .site-footer form.ajax-enhanced-form { flex-direction: column; }
  .site-footer form.ajax-enhanced-form button { width: 100%; }

  .card-dark, .release-card { padding: var(--space-2); }
  .pwa-install-btn { margin-left: auto; margin-right: .5rem; }
}

/* -- footer ------------------------------------------------------------------*/
.site-footer { text-align: center; padding: var(--space-3) 0 calc(var(--space-3) + 90px); color: var(--text-on-dark-faint); font-size: 0.8rem; }

/* -- lyrics modal --------------------------------------------------------------*/
.modal-content.lyrics-modal { background: var(--bg-dark-soft); color: var(--text-on-dark); border: 1px solid var(--border-on-dark); }
.lyrics-modal .modal-header, .lyrics-modal .modal-footer { border-color: var(--border-on-dark); }
.lyrics-modal pre { white-space: pre-wrap; font-family: var(--font-ui); }

@media (prefers-reduced-motion: reduce) {
  .gallery-grid a:hover img { transform: none; }
}

/* -- editorial layout refinements (nav type, section headings, home call-outs) */
.site-nav__brand { letter-spacing: 0.02em; }
.site-nav__brand img { border-radius: 50%; }
.site-nav .nav-link { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.section-heading h2 span { display: block; color: var(--text-on-dark-faint); font: italic 400 0.55em var(--font-display); margin-top: 0.3rem; }

.home-feature, .home-show { max-width: 700px; margin-left: auto; margin-right: auto; border-top: 1px solid var(--border-on-dark); padding-top: 1.75rem; }
.home-feature__body, .home-show__body { border-left: 2px solid var(--sunset-orange); padding: 0.25rem 0 0.25rem 1.4rem; text-align: left; }
.home-feature__body p, .home-show__body p { color: var(--text-on-dark-dim); font-size: 1.05rem; margin-bottom: 1rem; }
.text-link { display: inline-flex; gap: 0.6rem; align-items: center; color: var(--gold-strong); font-weight: 600; }
.text-link span { transition: transform 0.2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Loose masonry-style gallery grid, echoing an editorial photo layout. */
.gallery-grid { grid-template-columns: repeat(12, 1fr); gap: 0.75rem; }
.gallery-grid a { grid-column: span 4; border-radius: 2px; }
.gallery-grid a:nth-child(3n + 1) { grid-column: span 5; }
.gallery-grid a:nth-child(5n) { grid-column: span 3; }

.site-footer { border-top: 1px solid var(--border-on-dark); padding-top: 3rem; }

@media (max-width: 800px) {
  .gallery-grid a, .gallery-grid a:nth-child(3n + 1), .gallery-grid a:nth-child(5n) { grid-column: span 6; }
}

@media (max-width: 480px) {
  .gallery-grid { gap: 0.5rem; }
  .gallery-grid a, .gallery-grid a:nth-child(3n + 1), .gallery-grid a:nth-child(5n) { grid-column: span 6; }
}
