/* ==========================================================================
   ASHIK & JERRIN — Editorial / Letterpress Invitation
   Fonts: Cormorant Garamond (voice) + Inter (labels only)
   Palette: champagne #F4EBE1 · olive #7A8E2E · burgundy #6E1F2A · espresso #2A1E1A
   ========================================================================== */

:root {
  --color-cream: #F4EBE1;
  --color-cream-raised: #FAF5EE;
  --color-cream-light: #FDFBF7;
  --color-chartreuse: #7A8E2E;
  --color-chartreuse-dark: #4A5B18;
  --color-burgundy: #6E1F2A;
  --color-burgundy-soft: #8A3A45;
  --color-espresso: #2A1E1A;
  --color-espresso-soft: #5A4C46;
  --color-hairline: rgba(42, 30, 26, 0.12);

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Helvetica Neue', sans-serif;

  /* Real generated seamless watercolor paper texture */
  --texture-watercolor: url('../assets/images/watercolor-paper-bg.jpg');

  --space-section: clamp(5rem, 12vw, 9rem);
  --max-width: 1100px;
  --max-width-narrow: 640px;
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background-color: var(--color-cream);
  background-image: var(--texture-watercolor);
  background-repeat: repeat;
  background-size: 800px 800px;
  color: var(--color-espresso);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Off-screen audio player container */
.audio-sandbox,
#youtube-audio-frame {
  position: fixed !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: -9999 !important;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* ---------- Shared type ---------- */

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-chartreuse-dark);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--color-espresso);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

/* Stationery ornament — hairlines flanking the eyebrow */

.section-header .section-eyebrow::before,
.section-header .section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--color-chartreuse);
  vertical-align: middle;
  margin: 0 14px;
  opacity: 0.65;
}

/* Animated underline text link — the single interactive motif */

.text-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  text-decoration: none;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease, color 0.35s ease;
}

.text-link:hover,
.text-link:focus-visible {
  background-size: 0% 1px;
  color: var(--color-chartreuse-dark);
}

/* ==========================================================================
   HEADER & NAV
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160%;
  background: linear-gradient(
    to bottom,
    rgba(20, 12, 10, 0.52) 0%,
    rgba(20, 12, 10, 0.35) 45%,
    rgba(20, 12, 10, 0.12) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.site-header.scrolled {
  background-color: rgba(244, 235, 225, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(42, 30, 26, 0.08);
  padding: 0.85rem 0;
}

.site-header.scrolled::before {
  opacity: 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo-brand {
  text-decoration: none;
}

.logo-names {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.4s ease;
  text-shadow: 0 1px 6px rgba(20, 12, 10, 0.75), 0 2px 14px rgba(20, 12, 10, 0.45);
}

.site-header.scrolled .logo-names {
  color: var(--color-burgundy);
  text-shadow: none;
}

.logo-names:hover {
  color: #fff;
}

.site-header.scrolled .logo-names:hover {
  color: var(--color-espresso);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(20, 12, 10, 0.75), 0 2px 12px rgba(20, 12, 10, 0.45);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.site-header.scrolled .nav-link {
  color: var(--color-espresso-soft);
  text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--color-chartreuse-dark);
}

.nav-rsvp-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(20, 12, 10, 0.25);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.site-header.scrolled .nav-rsvp-btn {
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
  background: transparent;
  backdrop-filter: none;
}

/* Mobile toggle — two-line minimal */

.nav-toggle-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  align-items: center;
  background: none;
}

.nav-toggle-mobile span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(20, 12, 10, 0.6);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled .nav-toggle-mobile span {
  background: var(--color-espresso);
  box-shadow: none;
}

.nav-toggle-mobile.open span {
  background: var(--color-espresso);
  box-shadow: none;
}

.nav-toggle-mobile.open span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle-mobile.open span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--color-cream);
  background-image: var(--texture-watercolor);
  background-size: 800px 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: grid;
  gap: 1.4rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-espresso);
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--color-burgundy);
}

.mobile-rsvp-link {
  color: var(--color-burgundy);
  font-style: italic;
}

/* ==========================================================================
   HERO — book-cover treatment
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(42, 30, 26, 0.36) 0%,
    rgba(42, 30, 26, 0.15) 38%,
    rgba(42, 30, 26, 0.40) 68%,
    rgba(42, 30, 26, 0.54) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 1.5rem 13vh;
  color: #fff;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #FAF5EE;
  text-shadow: 0 1px 4px rgba(25, 15, 12, 0.75), 0 2px 14px rgba(25, 15, 12, 0.5);
  margin-bottom: 1.6rem;
}

.hero-couple-names {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(25, 15, 12, 0.7), 0 8px 36px rgba(25, 15, 12, 0.55);
}

.hero-couple-names .ampersand {
  font-style: italic;
  font-weight: 400;
  color: #D4E082;
  margin: 0 0.15em;
  text-shadow: 0 2px 6px rgba(25, 15, 12, 0.75);
}

.hero-rule {
  width: 72px;
  height: 1px;
  background: rgba(250, 245, 238, 0.65);
  box-shadow: 0 1px 4px rgba(25, 15, 12, 0.5);
  margin: 2.2rem auto;
}

.hero-date-line {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 5px rgba(25, 15, 12, 0.75), 0 3px 18px rgba(25, 15, 12, 0.45);
}

.hero-location-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #F4EBE1;
  text-shadow: 0 1px 5px rgba(25, 15, 12, 0.75), 0 3px 18px rgba(25, 15, 12, 0.45);
  margin-top: 0.6rem;
}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */

.section-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) 1.5rem;
}

.section-wrapper-narrow {
  max-width: var(--max-width-narrow);
}

/* ==========================================================================
   STORY — editorial split
   ========================================================================== */

.story-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.story-photo-frame {
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(42, 30, 26, 0.08);
}

.story-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.story-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-espresso-soft);
}

.story-signature {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-burgundy);
}

/* ==========================================================================
   INTERLUDE — full-bleed photo moment
   ========================================================================== */

.interlude-section {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.interlude-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interlude-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 30, 26, 0.32);
}

.interlude-caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--color-cream);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   COUNTDOWN — quiet numerals on cream
   ========================================================================== */

.countdown-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) 1.5rem;
  text-align: center;
}

.countdown-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.countdown-tab-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-espresso-soft);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.countdown-tab-btn:hover {
  color: var(--color-burgundy);
}

.countdown-tab-btn.active {
  color: var(--color-burgundy);
  border-bottom-color: var(--color-burgundy);
}

.countdown-target-indicator {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-espresso-soft);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(2rem, 7vw, 5.5rem);
}

.countdown-tile {
  display: grid;
  gap: 0.25rem;
}

.countdown-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(4rem, 11vw, 7rem);
  line-height: 1;
  color: var(--color-espresso);
  font-variant-numeric: lining-nums;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-chartreuse-dark);
}

/* ==========================================================================
   CELEBRATIONS — chapter list
   ========================================================================== */

.chapter-list {
  display: grid;
}

.chapter-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.chapter-row-alt {
  grid-template-columns: 1fr 120px;
}

.chapter-row-alt .chapter-number {
  order: 2;
  text-align: right;
}

.chapter-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--color-chartreuse);
}

.chapter-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  color: var(--color-espresso);
}

.chapter-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-burgundy);
  margin-top: 0.35rem;
}

.chapter-meta {
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-espresso-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chapter-meta-sep {
  color: var(--color-chartreuse);
}

.chapter-venue {
  margin-top: 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-espresso);
}

.chapter-desc {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--color-espresso-soft);
  font-size: 1.1rem;
}

.chapter-links {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 2.2rem;
}

.chapter-links .text-link {
  margin-top: 0;
}

/* ==========================================================================
   VENUES — quiet editorial rows
   ========================================================================== */

.venues-list {
  display: grid;
  gap: clamp(3.5rem, 7vw, 5.5rem);
}

.venue-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.venue-row:last-child .venue-image-wrapper {
  order: 2;
}

.venue-image-wrapper {
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(42, 30, 26, 0.08);
}

.venue-image-wrapper img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.venue-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--color-espresso);
}

.venue-time {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.venue-address {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-espresso-soft);
}

.venue-info .text-link {
  margin-top: 1.5rem;
}

.venue-row.highlight-pulse .venue-image-wrapper img {
  animation: venuePulse 1.6s ease;
}

@keyframes venuePulse {
  0%, 100% { box-shadow: none; }
  35% { box-shadow: 0 0 0 6px rgba(156, 175, 62, 0.35); }
}

/* ==========================================================================
   RSVP — reply card
   ========================================================================== */

.rsvp-card {
  border: 1px solid var(--color-burgundy);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--color-cream-raised);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  margin-bottom: 0.8rem;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-espresso);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-hairline);
  padding: 0.5rem 0;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--color-burgundy);
}

.form-input::placeholder,
.form-textarea::placeholder {
  font-style: italic;
  color: rgba(42, 30, 26, 0.35);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Elegant custom radios */

.attendance-options,
.events-selection-options {
  display: grid;
  gap: 0.9rem;
}

.events-selection-options {
  gap: 0.75rem;
}

.attendance-option-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-espresso);
  cursor: pointer;
}

.attendance-option-card input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-espresso-soft);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.attendance-option-card input:checked {
  border-color: var(--color-burgundy);
}

.attendance-option-card input:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-burgundy);
}

.form-submit-btn {
  display: inline-block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-cream);
  background: var(--color-burgundy);
  padding: 1.05rem 2rem;
  transition: background-color 0.35s ease;
}

.form-submit-btn:hover {
  background: var(--color-burgundy-soft);
}

/* RSVP confirmation */

.rsvp-confirmation-state {
  display: none;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.rsvp-confirmation-state.active {
  display: block;
}

.confirmation-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-espresso);
}

.confirmation-message {
  margin: 1.2rem auto 2rem;
  max-width: 42ch;
  font-style: italic;
  color: var(--color-espresso-soft);
}

.calendar-action-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

/* ==========================================================================
   WISHES — inscription column
   ========================================================================== */

.wishes-header-action {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.wishes-column {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.wish-card {
  text-align: center;
}

.wish-message {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  line-height: 1.7;
  color: var(--color-espresso);
}

.wish-author {
  margin-top: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.wish-date {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--color-espresso-soft);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(42, 30, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  background: var(--color-cream-raised);
  border: 1px solid var(--color-burgundy);
  width: min(100%, 480px);
  padding: clamp(2rem, 5vw, 3rem);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-title-sm {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-espresso-soft);
  padding: 0.5rem;
  transition: color 0.25s ease;
}

.modal-close-btn:hover {
  color: var(--color-burgundy);
}

/* ==========================================================================
   MUSIC — small fixed vinyl
   ========================================================================== */

.vinyl-player-container {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.vinyl-player-container:hover {
  transform: scale(1.06);
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      #211714 0px,
      #211714 2px,
      #2e211d 3px,
      #211714 4px
    );
  box-shadow: 0 4px 14px rgba(42, 30, 26, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-player-container.is-playing .vinyl-disc {
  animation: vinylSpin 3.2s linear infinite;
}

@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-center-label {
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-center-monogram {
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--color-cream);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  text-align: center;
  padding: var(--space-section) 1.5rem;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--color-espresso);
}

.footer-date {
  margin-top: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-espresso-soft);
}

.footer-note {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-burgundy);
}

.typographic-divider {
  margin: 2rem auto;
  color: var(--color-chartreuse);
  font-size: 1rem;
}

.footer-credit {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-espresso-soft);
}

/* ==========================================================================
   MOTION — single fade-rise, once
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .vinyl-player-container.is-playing .vinyl-disc {
    animation: none;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .story-editorial-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-photo-frame img {
    aspect-ratio: 16 / 10;
  }

  .venue-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .venue-row:last-child .venue-image-wrapper {
    order: 0;
  }

  .chapter-row,
  .chapter-row-alt {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .chapter-row-alt .chapter-number {
    order: 0;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-links-desktop {
    display: none;
  }

  .nav-toggle-mobile {
    display: flex;
  }

  .hero-section {
    min-height: 66svh;
    min-height: max(66svh, 500px);
  }

  .hero-content {
    padding: 5.5rem 1.5rem 3.2rem;
  }

  .hero-background-img {
    object-position: 44% 50%;
  }

  .countdown-grid {
    gap: 1.8rem;
  }

  .countdown-tabs-wrapper {
    gap: 1.5rem;
  }

  .calendar-action-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
}
