/* ═══════════════════════════════════════════════════════
   WEDDING INVITATION — Alejo & María — 22.08.2026
   Style: Rustic Bohemian · Warm Earth Tones
   ═══════════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ol, ul { list-style: none; }
img    { max-width: 100%; display: block; }
a      { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── DESIGN TOKENS ───────────────────────────────────── */
:root {
  /* Colour Palette — pulled from the bird illustration */
  /* Misty Colombian mountains: soft blue-white mist  */
  /* Bird: teal feathers, golden breast, cobalt crown */
  /* Coffee cherries: terracotta red, olive green     */
  --terracotta:    #B85C3E;  /* ripe coffee cherry red      */
  --terracotta-dk: #8E3F27;  /* deep coffee cherry          */
  --cream:         #EEF0E8;  /* pale mist / soft sky        */
  --cream-mid:     #DDE3D8;  /* mid mist tone               */
  --cream-drk:     #C5CFC0;  /* medium mist / fog           */
  --sage:          #7FA37B;  /* coffee leaf green           */
  --olive:         #5A7340;  /* deep foliage green          */
  --teal:          #4A9490;  /* bird teal feather           */
  --cobalt:        #3A5E8C;  /* bird cobalt wing / tail     */
  --gold:          #C8A84B;  /* bird golden breast          */
  --brown:         #7A6248;  /* warm soil / branch          */
  --brown-dk:      #3A2E22;  /* deep bark                   */
  --bg-light:      #F4F6EE;  /* misty pale background       */
  --bg-dark:       #1B2A1E;  /* deep mountain forest        */

  /* Typography */
  --font-h: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Lato', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --pad-x:   clamp(1.25rem, 5vw, 3.5rem);
  --pad-sec: clamp(5rem, 9vw, 8rem);
  --max:     920px;

  /* Motion */
  --t: 0.35s ease;
}

/* ── BASE ────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-b);
  color: var(--brown-dk);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ───────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: 660px; }

/* Sections */
section { padding: var(--pad-sec) 0; }
.section-cream { background: var(--cream); }

/* Section headings */
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.6rem;
  color: var(--brown-dk);
}
.section-sub {
  font-size: 0.95rem;
  color: var(--brown);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border-radius: 2px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primary:hover {
  background: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193,113,79,.35);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  transition: background var(--t), color var(--t);
}
.btn-outline:hover { background: var(--terracotta); color: #fff; }

/* ── SCROLL ANIMATIONS ───────────────────────────────── */
/* fade-in sections: visible by default; hidden only when JS is loaded (progressive enhancement) */
.fade-in {
  transition: opacity 0.75s ease var(--fd, 0s),
              transform 0.75s ease var(--fd, 0s);
}
body.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(30px);
}
.fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── NAVBAR ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem var(--pad-x);
  transition: background var(--t), box-shadow var(--t);
}
/* Before scrolling — navbar sits over the bright image; use dark text */
#navbar:not(.scrolled) {
  background: rgba(232,237,229,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#navbar.scrolled {
  background: rgba(27, 42, 30, 0.94);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-couple {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  flex: 1;
  /* shifts colour with scrolled state */
  color: var(--brown-dk);
  transition: color var(--t);
}
#navbar.scrolled .nav-couple { color: #fff; }

/* Right side controls group */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
#lang-toggle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: 1.5px solid rgba(58,46,34,.3);
  border-radius: 2px;
  padding: 0.35rem 0.85rem;
  color: var(--brown-dk);
  transition: background var(--t), border-color var(--t), color var(--t);
}
#navbar.scrolled #lang-toggle {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
#lang-toggle:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.7); color: var(--brown-dk); }
#navbar.scrolled #lang-toggle:hover { color: #fff; }


/* ── HERO ────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #E8EDE5;
}

/* Full-viewport background image — watercolour mountain & bird scene */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/bird-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(232,237,229,0) 0%,
    rgba(232,237,229,0) 40%,
    rgba(232,237,229,0.5) 68%,
    rgba(232,237,229,0.92) 100%
  );
}

/* ── HERO INNER (text content) ─────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 800px;
  width: 100%;
  padding: 0 var(--pad-x);
  margin-top: 28vh;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Names block: CSS animation — no JS required */
.hero-names {
  animation: heroFadeUp 1.2s ease 0.4s both;
}

/* Details block: follows names */
.hero-details {
  animation: heroFadeUp 1.2s ease 0.9s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
}

.eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.44em;
  color: var(--olive);
  text-transform: uppercase;
}

#hero h1 {
  font-family: var(--font-h);
  font-size: clamp(3.8rem, 11vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--brown-dk);
  text-shadow: 0 2px 24px rgba(232,237,229,0.85);
}
#hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
}

.hero-date {
  font-family: var(--font-h);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
}
.hero-venue {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

/* Countdown */
#countdown {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.5rem 0 0.25rem;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5rem;
}
.cd-block span {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 300;
  color: var(--brown-dk);
  line-height: 1;
}
.cd-block label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 0.3rem;
}
.cd-sep {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
  align-self: flex-start;
  padding-top: 0;
  opacity: 0.7;
}

.hero-ornament {
  font-size: 1.6rem;
  color: var(--terracotta);
  opacity: 0.7;
  margin: 0.15rem 0;
}

/* Scroll cue: CSS animation — no JS required */
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--brown);
  animation: scrollCueFade 1s ease 1.4s both, bob 2.2s ease-in-out 2.4s infinite;
  z-index: 3;
}
@keyframes scrollCueFade {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── MUSIC BUTTON ─────────────────────────────────────── */
.music-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 2px;
  padding: 0.32rem 0.8rem;
  transition: background var(--t), color var(--t), border-color var(--t);
  flex-shrink: 0;
}
.music-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }
.music-btn svg   { flex-shrink: 0; }

/* Light navbar: music button adapts */
#navbar:not(.scrolled) .music-btn {
  color: rgba(58,46,34,.65);
  border-color: rgba(58,46,34,.3);
}
#navbar:not(.scrolled) .music-btn:hover { background: rgba(58,46,34,.08); color: var(--brown-dk); }

/* ── AUTOPLAY HINT ──────────────────────────────────── */
.music-hint {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(27, 20, 13, 0.78);
  color: #f5f0e8;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  white-space: nowrap;
  z-index: 999;
  animation: hintFadeIn 0.5s ease 1.5s both; /* delay so page loads first */
  transition: opacity 0.4s ease;
}
.music-hint.hidden { opacity: 0; pointer-events: none; animation: none; }
@keyframes hintFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .music-hint { animation: none; }
}


/* ── NO KIDS / PETS NOTICE ──────────────────────────── */
.notice-wrap {
  margin-top: 2rem;
  max-width: 640px;
  margin-inline: auto;
}
.notice-text {
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--brown);
  background: rgba(106,115,78,.08);
  border: 1px solid rgba(106,115,78,.22);
  border-radius: 4px;
  padding: 1.1rem 1.5rem;
  font-style: italic;
}

/* ── OUR STORY / TIMELINE ────────────────────────────── */
#story { background: var(--bg-light); }

/* Section backgrounds referencing new palette */
.section-cream { background: var(--cream); }
#dresscode  { background: var(--bg-light); }
#registry   { background: var(--bg-light); }

.story-prose {
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: center;
}
.story-prose p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brown);
  margin-bottom: 1.6rem;
}
.story-prose p:last-child { margin-bottom: 0; }


/* ── EVENT DETAILS ───────────────────────────────────── */
#details { background: var(--cream); }

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.detail-card {
  background: var(--bg-light);
  border: 1px solid var(--cream-drk);
  border-radius: 4px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}
.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(61,43,31,.1);
}
.detail-icon {
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.detail-card h3 {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--brown-dk);
}
.detail-card p { font-size: 0.93rem; line-height: 1.6; color: var(--brown-dk); }
.detail-sub    { color: var(--brown); font-size: 0.82rem; margin-top: 0.3rem; }

.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61,43,31,.13);
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* No kids / No pets notice */
.notice-wrap {
  margin-top: 2rem;
  border-radius: 6px;
  background: var(--bg-light);
  border: 1px solid var(--cream-drk);
  padding: 1.2rem 1.8rem;
  text-align: center;
}
.notice-text {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.75;
  font-style: italic;
}


/* ── DRESS CODE ──────────────────────────────────────── */
#dresscode { background: var(--bg-light); }

.dress-notes {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.dress-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--cream);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
}
.dress-note-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.dress-note p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--brown-dk);
}


/* ── SCHEDULE ────────────────────────────────────────── */
#schedule { background: var(--cream); }

.schedule-list {
  max-width: 600px;
  margin-inline: auto;
  position: relative;
}

/* Vertical line along schedule */
.schedule-list::before {
  content: '';
  position: absolute;
  left: calc(5.5rem + 0.55rem);   /* time column width + half dot */
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cream-drk), transparent);
}

.schedule-item {
  display: grid;
  grid-template-columns: 5.5rem 1.1rem 1fr;
  gap: 0 1.25rem;
  align-items: start;
  padding-bottom: 2.2rem;
  position: relative;
}
.schedule-time {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--terracotta);
  text-align: right;
  padding-top: 0.05rem;
  white-space: nowrap;
}
.schedule-dot {
  width: 11px;
  height: 11px;
  background: var(--terracotta);
  border-radius: 50%;
  margin-top: 0.3rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--cream-drk);
}
/* Final schedule item uses teal dot to signal end */
.schedule-dot--final {
  background: var(--teal);
}
.schedule-desc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.schedule-desc strong {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brown-dk);
}
.schedule-desc span {
  font-size: 0.88rem;
  color: var(--brown);
  line-height: 1.55;
}


/* ── REGISTRY ────────────────────────────────────────── */
#registry { background: var(--bg-light); }

.registry-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.registry-card {
  background: var(--cream);
  border: 1px solid var(--cream-drk);
  border-radius: 4px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  transition: transform var(--t), box-shadow var(--t);
}
.registry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,43,31,.1);
}
.registry-icon { color: var(--terracotta); }
.registry-card h3 {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brown-dk);
}
.registry-card p { font-size: 0.9rem; color: var(--brown); line-height: 1.6; }


/* ── RSVP ────────────────────────────────────────────── */
#rsvp {
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(74,148,144,.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 80%, rgba(184,92,62,.12) 0%, transparent 55%);
}
#rsvp .section-title { color: var(--cream); }
#rsvp .section-sub   { color: rgba(247,240,230,.55); }

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: rgba(247,240,230,.04);
  border: 1px solid rgba(247,240,230,.1);
  border-radius: 6px;
  padding: clamp(1.5rem, 5vw, 2.8rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.form-group label,
.form-group legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,240,230,.65);
}
.form-group input[type="text"],
.form-group input[type="tel"] {
  background: rgba(247,240,230,.06);
  border: 1px solid rgba(247,240,230,.18);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--cream);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
  width: 100%;
}
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
  border-color: var(--terracotta);
  background: rgba(247,240,230,.1);
  box-shadow: 0 0 0 3px rgba(193,113,79,.2);
}
.form-group input::placeholder { color: rgba(247,240,230,.28); }

/* Fieldset overrides */
.form-group--radio {
  border: none;
  padding: 0;
}
.form-group--radio legend { margin-bottom: 0.4rem; }

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--cream);
  cursor: pointer;
  padding: 0.55rem 0;
  border-radius: 3px;
  transition: color var(--t);
}
.radio-label:hover { color: var(--cream-mid); }
.radio-label input[type="radio"] {
  accent-color: var(--terracotta);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-submit {
  align-self: center;
  min-width: 220px;
  margin-top: 0.25rem;
}
.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* RSVP status messages */
.rsvp-message {
  text-align: center;
  padding: 1.1rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.rsvp-message--success {
  background: rgba(138,158,126,.18);
  border: 1px solid rgba(138,158,126,.5);
  color: #A8C49A;
}
.rsvp-message--error {
  background: rgba(193,113,79,.18);
  border: 1px solid rgba(193,113,79,.5);
  color: #E08B6A;
}


/* ── FOOTER ──────────────────────────────────────────── */
#footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(247,240,230,.07);
  text-align: center;
  padding: 3.5rem var(--pad-x);
  font-family: var(--font-h);
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.footer-sub {
  font-family: var(--font-b);
  font-size: 0.8rem;
  color: rgba(247,240,230,.35);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* Tablet — stack timeline details-grid */
@media (max-width: 680px) {
  .details-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .registry-cards { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 300px; }
}

/* Mobile — show full hero bird image without cropping */
@media (max-width: 620px) {
  #hero {
    align-items: flex-start;
    min-height: unset;        /* let hero shrink to content height */
  }
  /* margin-top tracks the image's rendered height (contain: width=100vw, ratio=1600/1135≈1.41)
     65vw ≈ 46% down the image, sitting over the bird's lower body */
  .hero-inner {
    margin-top: 65vw;
    padding-bottom: 3rem;     /* breathing room before bottom edge */
  }
  /* Pull scroll-cue out of absolute positioning so it sits below the button */
  .scroll-cue {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 1.5rem auto 0;
    display: block;
    width: fit-content;
    animation: scrollCueFade 1s ease 1.4s both, bobMobile 2.2s ease-in-out 2.4s infinite;
  }
  @keyframes bobMobile {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(9px); }
  }
  .hero-bg {
    background-size: contain;
    background-position: center top;
  }
  /* Gradient starts fading earlier so text over the bird stays readable */
  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(232,237,229,0)    0%,
      rgba(232,237,229,0)   35%,
      rgba(232,237,229,0.6) 55%,
      rgba(232,237,229,0.95) 75%
    );
  }
}

/* Small mobile */
@media (max-width: 480px) {
  #countdown { gap: 0.2rem; }
  .cd-block  { min-width: 3.8rem; }
  .cd-sep    { display: none; }
  .schedule-list::before { display: none; }
  .schedule-item {
    grid-template-columns: 4.5rem 1rem 1fr;
    gap: 0 0.85rem;
  }

  .hero-inner { margin-top: 65vw; padding-bottom: 3rem; } /* keep in sync with ≤620px rule above */
  .music-btn span { display: none; } /* icon only on tiny screens */
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { transition: none; opacity: 1; transform: none; }
  .scroll-cue { animation: none; opacity: 0.55; }
  .btn-primary:hover,
  .detail-card:hover,
  .registry-card:hover { transform: none; }
  .hero-names  { animation: none; opacity: 1; transform: none; }
  .hero-details { animation: none; opacity: 1; transform: none; }
  .scroll-cue   { animation: none; opacity: 0.55; }
}
