/* ==========================================================================
   VOWLINE — ANANYA & NIKHIL | CONTEMPORARY EDITORIAL DESIGN SYSTEM
   Art Direction: Quiet Luxury, Magazine Haute Couture, Asymmetric Layouts
   ========================================================================== */

:root {
  /* Editorial Color Palette */
  --bg-page: #F8F6F0;
  --bg-surface: #FFFFFF;
  --bg-surface-tint: #F2EFE7;
  --bg-dark: #121110;
  --bg-dark-surface: #1A1918;

  --text-main: #171615;
  --text-body: #3C3935;
  --text-muted: #736E67;
  --text-light: #F8F6F0;
  --text-light-muted: #A39E96;

  --accent-gold: #B89248;
  --accent-gold-soft: #DFC794;
  --accent-olive: #3D4436;

  --border-fine: rgba(23, 22, 21, 0.12);
  --border-strong: rgba(23, 22, 21, 0.28);
  --border-dark-fine: rgba(248, 246, 240, 0.15);

  /* Typography */
  --font-serif: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, monospace;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Container */
  --container-max: 1280px;
  --container-editorial: 1080px;
  --container-narrow: 840px;

  /* Transitions */
  --ease-editorial: cubic-bezier(0.25, 1, 0.35, 1);
  --trans-fast: 0.25s var(--ease-editorial);
  --trans-smooth: 0.6s var(--ease-editorial);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

/* Accessibility Skip Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 99999;
  transition: top 0.3s ease;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.editorial-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container-narrow {
  max-width: var(--container-narrow);
}
.container-editorial {
  max-width: var(--container-editorial);
}

/* ==========================================================================
   EDITORIAL SLIPCASE PRELOADER / OPENING EXPERIENCE
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.2s;
}

#preloader.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-magazine-wrap {
  width: 90%;
  max-width: 480px;
  background: #181716;
  border: 1px solid rgba(248, 246, 240, 0.2);
  padding: 3rem 2.5rem;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(0);
  transition: transform 1s var(--ease-editorial);
}

#preloader.opened .preloader-magazine-wrap {
  transform: translateY(-40px) scale(0.96);
}

.magazine-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dark-fine);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-light-muted);
}

.magazine-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.magazine-names {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent-gold-soft);
}

.magazine-meta {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
}

.unfold-btn {
  background: var(--text-light);
  color: var(--text-main);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.unfold-btn:hover, .unfold-btn:focus-visible {
  background: var(--accent-gold);
  color: #FFFFFF;
  outline: none;
  transform: translateY(-2px);
}

.unfold-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.unfold-btn:hover svg {
  transform: translateX(4px);
}

.preloader-footer-note {
  margin-top: 1.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(248, 246, 240, 0.4);
}

/* ==========================================================================
   NAVIGATION BAR & AUDIO CONTROLLER
   ========================================================================== */
.editorial-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 246, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-fine);
  transition: all 0.4s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-monogram {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-volume {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s var(--ease-editorial);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-rsvp-nav {
  display: inline-block;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-rsvp-nav:hover {
  background: var(--accent-gold);
  color: #fff;
}

/* Floating Ambient Audio Widget */
.floating-audio-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-audio-pill:hover, .floating-audio-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.audio-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.audio-equalizer span {
  width: 2.5px;
  height: 100%;
  background: var(--accent-gold);
  border-radius: 1px;
}

.floating-audio-pill.playing .audio-equalizer span:nth-child(1) { animation: soundBars 0.8s ease-in-out infinite alternate; }
.floating-audio-pill.playing .audio-equalizer span:nth-child(2) { animation: soundBars 1.2s ease-in-out 0.2s infinite alternate; }
.floating-audio-pill.playing .audio-equalizer span:nth-child(3) { animation: soundBars 0.9s ease-in-out 0.4s infinite alternate; }

@keyframes soundBars {
  0% { height: 20%; }
  100% { height: 100%; }
}

.audio-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   HERO SECTION — MAGAZINE COVER STORY
   ========================================================================== */
.hero-editorial {
  padding-top: calc(72px + var(--space-xl));
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-fine);
  position: relative;
}

.editorial-masthead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-fine);
  border-bottom: 1px solid var(--border-fine);
  padding: 0.75rem 0;
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-main-title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 300;
  text-align: center;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.hero-main-title .ampersand {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-gold);
  margin: 0 0.1em;
}

.hero-asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-top: var(--space-lg);
}

.hero-col-left {
  padding-bottom: 2rem;
}

.hero-col-left p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-col-center {
  position: relative;
}

.hero-portrait-frame {
  position: relative;
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-fine);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(105%);
  transition: transform 1.2s var(--ease-editorial), filter 1.2s ease;
}

.hero-portrait-frame:hover .hero-portrait-img {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(100%);
}

.frame-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(23, 22, 21, 0.85);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
}

.hero-col-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}

.hero-stat-box {
  border-top: 1px solid var(--border-strong);
  padding-top: 1rem;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  line-height: 1.2;
}

/* ==========================================================================
   COUNTDOWN SECTION — REFINED EDITORIAL SPLIT
   ========================================================================== */
.countdown-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-fine);
  background-color: var(--bg-surface);
}

.countdown-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.countdown-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.countdown-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.countdown-unit-card {
  background: var(--bg-page);
  border: 1px solid var(--border-fine);
  padding: 1.75rem 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-unit-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   STORY SECTION — ESSAY WITH DROP CAP & MILESTONES
   ========================================================================== */
.story-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-fine);
}

.story-header-wrap {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.story-header-wrap h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-top: 0.5rem;
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: var(--space-xl);
}

.story-narrative p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.story-narrative .drop-cap {
  float: left;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 14px;
  padding-bottom: 4px;
  color: var(--accent-gold);
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid var(--border-fine);
  padding-left: 2.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-gold);
  transform: translateX(-50%);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   EVENT ITINERARY — INDEXED EDITORIAL CARDS
   ========================================================================== */
.events-section {
  padding: var(--space-2xl) 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-fine);
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-fine);
  padding-bottom: 1.5rem;
}

.section-head-split h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 300;
}

.events-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  background: var(--bg-page);
  border: 1px solid var(--border-fine);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  transition: transform 0.4s var(--ease-editorial), border-color 0.4s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
}

.event-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.event-title {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.event-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.event-meta-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-fine);
  padding-top: 1.5rem;
  margin-top: auto;
}

.event-meta-row {
  display: flex;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.event-meta-row strong {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 70px;
  flex-shrink: 0;
  padding-top: 2px;
}

.event-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-meta-action {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-meta-action:hover {
  background: var(--text-main);
  color: #fff;
}

/* ==========================================================================
   VENUE SECTION — ARCHITECTURAL PROFILE
   ========================================================================== */
.venue-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-fine);
}

.venue-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  align-items: center;
}

.venue-image-frame {
  position: relative;
  border: 1px solid var(--border-fine);
  background: var(--bg-surface-tint);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.venue-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-editorial);
}

.venue-image-frame:hover img {
  transform: scale(1.04);
}

.venue-info h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.venue-address {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.venue-meta-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border-fine);
  border-bottom: 1px solid var(--border-fine);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.venue-meta-item .meta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.venue-meta-item .meta-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.venue-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--text-main);
  color: #fff;
}

/* ==========================================================================
   GALLERY — ASYMMETRICAL EDITORIAL SPREAD
   ========================================================================== */
.gallery-section {
  padding: var(--space-2xl) 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-fine);
}

.gallery-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-fine);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.8s var(--ease-editorial), filter 0.8s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-fig-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(23, 22, 21, 0.85);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.65rem;
  z-index: 2;
}

/* Asymmetric grid spans */
.gallery-item-1 { grid-column: span 7; aspect-ratio: 4/3; }
.gallery-item-2 { grid-column: span 5; aspect-ratio: 3/4; }
.gallery-item-3 { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-item-4 { grid-column: span 4; aspect-ratio: 1/1; }
.gallery-item-5 { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-item-6 { grid-column: span 12; aspect-ratio: 21/9; }

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 16, 0.95);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
}

/* ==========================================================================
   FAMILY & BLESSINGS
   ========================================================================== */
.family-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-fine);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.family-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-fine);
  padding: 3rem 2.5rem;
  text-align: center;
}

.family-card-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.family-parents {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.family-blessing {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* ==========================================================================
   TRAVEL & ATTENDANCE LOGISTICS
   ========================================================================== */
.travel-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-fine);
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.travel-card {
  border: 1px solid var(--border-fine);
  background: var(--bg-page);
  padding: 2.25rem 2rem;
}

.travel-card-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.travel-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.travel-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   RSVP SECTION — BESPOKE EDITORIAL REGISTRATION
   ========================================================================== */
.rsvp-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}

.rsvp-box {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark-fine);
  padding: 4rem 3.5rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-box h2 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.rsvp-box p {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.rsvp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 0.5rem;
}

.form-input, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark-fine);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-gold);
}

.form-select option {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-rsvp-submit {
  grid-column: span 2;
  background: var(--accent-gold);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.btn-rsvp-submit:hover {
  background: #fff;
  color: var(--bg-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.editorial-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid var(--border-dark-fine);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-dark-fine);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-credit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
}

.footer-credit a {
  color: var(--accent-gold);
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-asymmetric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-col-right {
    grid-column: span 2;
    flex-direction: row;
  }
  .events-editorial-grid {
    grid-template-columns: 1fr;
  }
  .countdown-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .travel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-asymmetric-grid {
    grid-template-columns: 1fr;
  }
  .hero-col-right {
    grid-column: span 1;
    flex-direction: column;
  }
  .story-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story-timeline {
    border-left: none;
    padding-left: 0;
  }
  .timeline-item::before {
    display: none;
  }
  .countdown-timer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-editorial-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    grid-column: span 1 !important;
    aspect-ratio: 4/3 !important;
  }
  .family-grid {
    grid-template-columns: 1fr;
  }
  .rsvp-box {
    padding: 2.5rem 1.5rem;
  }
  .rsvp-form {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .btn-rsvp-submit {
    grid-column: span 1;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
