/* ═══════════════════════════════════════════════════════════════════
   WEDDING INVITATION — style.css
   ✏️  Where to customise:
     • CSS variables at the top  → colours, fonts, spacing
     • .hero__names              → font size of couple names
     • .countdown__inner         → background image
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────── */
:root {
  /* Colour palette */
  --clr-bg:           #faf9f6;         /* soft warm white */
  --clr-bg-alt:       #f5f1ea;         /* slightly warmer tint */
  --clr-gold:         #c8a96e;         /* primary gold accent */
  --clr-gold-light:   #e8d5a3;         /* lighter gold */
  --clr-gold-dark:    #9c7c40;         /* deeper gold for text */
  --clr-text:         #2e2a24;         /* near-black warm */
  --clr-text-light:   #6b6259;         /* muted warm text */
  --clr-white:        #ffffff;
  --clr-card-bg:      rgba(255, 255, 255, 0.65);
  --clr-glass-border: rgba(200, 169, 110, 0.25);
  --clr-countdown-bg: #1a1410;         /* dark for countdown */

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-garamond:'Cormorant Garamond', 'Palatino Linotype', serif;
  --font-script:  'Great Vibes', cursive;
  --font-sans:    'Lato', system-ui, sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  6rem;

  /* Radii */
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;

  /* Shadows */
  --shadow-soft: 0 4px 32px rgba(46, 42, 36, 0.08);
  --shadow-card: 0 8px 40px rgba(46, 42, 36, 0.10);
  --shadow-gold: 0 4px 24px rgba(200, 169, 110, 0.20);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:  0.55s;
}

/* ─────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

address { font-style: normal; }

/* ─────────────────────────────────────────────
   3. UTILITIES
   ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

.section {
  padding-block: var(--sp-xl);
}

/* Shared section header */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-xs);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
}

/* Gold horizontal rule */
.gold-line {
  width: 70px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  margin-inline: auto;
}
.gold-line.small { width: 40px; }

/* Script font class */
.script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--clr-gold-dark);
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: var(--clr-white);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.40);
}
.btn--primary:active { transform: translateY(0); }

/* Glassmorphism */
.glass {
  background: var(--clr-card-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--clr-glass-border);
  box-shadow: var(--shadow-card);
}

/* ─────────────────────────────────────────────
   4. SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Initial state for reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero fade-up animation classes */
.fade-up {
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.75s; }
.delay-4 { animation-delay: 1s; }

/* Reveal delay helpers */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────────
   5. NAVIGATION
   ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.1rem var(--sp-md);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(46, 42, 36, 0.08);
}

.nav__inner {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--clr-gold-dark);
  line-height: 1;
  transition: opacity 0.3s;
}
.nav__logo:hover { opacity: 0.7; }

.nav__links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}
.nav__links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-gold);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--clr-gold-dark); }
.nav__links a:hover::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(250, 249, 246, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-menu a {
  font-family: var(--font-garamond);
  font-size: 2rem;
  font-weight: 300;
  color: var(--clr-text);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--clr-gold); }

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: var(--sp-md);
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--clr-text-light);
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.mobile-menu__close:hover { color: var(--clr-gold); transform: rotate(90deg); }

/* ─────────────────────────────────────────────
   6. HERO SECTION
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(200,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200,169,110,0.05) 0%, transparent 60%),
    var(--clr-bg);
  padding: 6rem var(--sp-md) var(--sp-xl);
}

/* Floral corner decorations */
.floral {
  position: absolute;
  pointer-events: none;
}
.floral--tl { top: 0;    left: 0;  width: clamp(120px, 22vw, 220px); transform: rotate(0deg); }
.floral--tr { top: 0;    right: 0; width: clamp(120px, 22vw, 220px); }
.floral--bl { bottom: 0; left: 0;  width: clamp(100px, 18vw, 180px); }
.floral--br { bottom: 0; right: 0; width: clamp(100px, 18vw, 180px); }

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.8rem;
}

/* Couple names */
.hero__names {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1.8rem;
}
.hero__name {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  color: var(--clr-text);
  line-height: 1;
  display: block;
}
.hero__ampersand {
  font-family: var(--font-garamond);
  font-size: clamp(2rem, 6vw, 4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-gold);
  line-height: 1;
  margin-top: 0.4em;
}

/* Decorative divider */
.hero__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.hero__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold-light));
}
.hero__divider-line:last-child {
  background: linear-gradient(90deg, var(--clr-gold-light), transparent);
}
.hero__divider-icon {
  color: var(--clr-gold);
  font-size: 0.9rem;
}

.hero__invite {
  font-family: var(--font-garamond);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-text-light);
  margin-bottom: 1.4rem;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

/* Wedding date — use lining numerals so digits sit consistently with the letters */
.hero__date {
  font-family: var(--font-garamond);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 2.4rem;

  /* Prevent old-style numerals from making digits look too tall/low */
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.hero__date sup {
  font-size: 0.5em;
  vertical-align: super;
  letter-spacing: 0;
  line-height: 0;
  font-variant-numeric: normal;
  font-feature-settings: normal;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--clr-gold);
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform 0.3s;
}
.hero__btn:hover {
  background: var(--clr-gold);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-gold);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.4; }
}

/* ─────────────────────────────────────────────
   7. OUR STORY SECTION
   ───────────────────────────────────────────── */
.story {
  background-color: var(--clr-bg);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

/* Image with decorative frame */
.story__image {
  position: relative;
}
.story__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.story__image-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1.5px solid var(--clr-gold-light);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}

/* Story text */
.story__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding-top: var(--sp-sm);
}

.story__quote {
  font-family: var(--font-garamond);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-gold-dark);
  border-left: 2px solid var(--clr-gold-light);
  padding-left: 1rem;
  margin-bottom: var(--sp-xs);
  line-height: 1.5;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.story__text p {
  font-family: var(--font-garamond);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--clr-text-light);
  line-height: 1.9;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.story__signature {
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-gold-light);
}

/* ─────────────────────────────────────────────
   8. WEDDING DETAILS SECTION
   ───────────────────────────────────────────── */
.details {
  background-color: var(--clr-bg-alt);
}

.details__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

/* Individual detail card */
.detail-card {
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.detail-card__icon {
  width: 48px;
  height: 48px;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  color: var(--clr-gold);
}
.detail-card__icon svg { width: 100%; height: 100%; }

.detail-card__title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.8rem;
}

.detail-card__main {
  font-family: var(--font-garamond);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.3;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.detail-card__sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--clr-text-light);
  margin-top: 0.3rem;
}

/* Address block */
.details__address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  margin-top: var(--sp-sm);
}
.details__address-icon {
  width: 26px;
  height: 26px;
  color: var(--clr-gold);
}
.details__address address {
  font-family: var(--font-garamond);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--clr-text-light);
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

/* ─────────────────────────────────────────────
   9. VENUE SECTION
   ───────────────────────────────────────────── */
.venue { background-color: var(--clr-bg); }

.venue__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-glass-border);
  margin-bottom: var(--sp-md);
}
.venue__map iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  max-height: 480px;
}

.venue__actions {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-lg);
}

/* Contacts */
.venue__contacts {
  text-align: center;
}
.venue__contacts-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: 1.8rem;
}
.venue__contacts-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.venue__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.venue__contact-role {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
}
.venue__contact-name {
  font-family: var(--font-garamond);
  font-size: 1.3rem;
  color: var(--clr-text);
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.venue__contact-phone {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--clr-gold-dark);
  transition: opacity 0.3s;
}
.venue__contact-phone:hover { opacity: 0.7; }
.venue__contact-divider {
  font-size: 1rem;
  color: var(--clr-gold-light);
  margin-top: 0.3rem;
}

/* ─────────────────────────────────────────────
   10. GALLERY SECTION
   ───────────────────────────────────────────── */
.gallery { background-color: var(--clr-bg-alt); }

/* Masonry-style CSS columns layout */
.gallery__grid {
  columns: 3;
  column-gap: 14px;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease);
  border-radius: var(--radius-md);
}

/* Hover overlay */
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(46, 42, 36, 0.55) 0%,
    rgba(46, 42, 36, 0.10) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.4rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: var(--radius-md);
}
.gallery__overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.gallery__item:hover img {
  transform: scale(1.06);
}
.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* ─────────────────────────────────────────────
   11. LIGHTBOX
   ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 8, 6, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  padding: var(--sp-md);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox__img {
  max-height: 82vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transition: opacity 0.3s;
}
.lightbox__caption {
  font-family: var(--font-garamond);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close:hover {
  background: rgba(200,169,110,0.25);
  transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  line-height: 1;
}
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(200,169,110,0.25);
  transform: translateY(-50%) scale(1.1);
}

/* ─────────────────────────────────────────────
   12. COUNTDOWN SECTION
   ───────────────────────────────────────────── */
.countdown {
  background:
    linear-gradient(135deg, rgba(200,169,110,0.05) 0%, transparent 50%),
    var(--clr-countdown-bg);
  padding-block: var(--sp-xl);
  position: relative;
  overflow: hidden;
}

/* Subtle background texture */
.countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(200,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.countdown .section-title {
  color: var(--clr-white);
}
.countdown .gold-line {
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.6), transparent);
}

.countdown__tiles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}

.countdown__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(80px, 16vw, 130px);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,169,110,0.2);
  backdrop-filter: blur(12px);
}

.countdown__num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  min-width: 2ch;
  text-align: center;
  transition: transform 0.3s var(--ease);
}

.countdown__num.flip {
  transform: scale(1.15);
}

.countdown__label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-top: 0.6rem;
}

.countdown__sep {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--clr-gold);
  line-height: 1;
  padding-bottom: 1.8rem;
  opacity: 0.6;
}

.countdown__caption {
  text-align: center;
  font-family: var(--font-garamond);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

/* ─────────────────────────────────────────────
   13. FOOTER
   ───────────────────────────────────────────── */
.footer {
  background-color: var(--clr-bg-alt);
  text-align: center;
  padding-top: 0;
}

.footer__floral {
  width: 100%;
  max-height: 80px;
  overflow: hidden;
  line-height: 0;
}
.footer__floral svg {
  width: 100%;
  height: 80px;
}

.footer__content {
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer__names {
  font-size: 3.5rem;
  color: var(--clr-gold-dark);
}

.footer__date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.footer__divider {
  color: var(--clr-gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  margin-block: 0.4rem;
}

.footer__message {
  font-family: var(--font-garamond);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-text);
  max-width: 480px;
  line-height: 1.6;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.footer__address {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-top: 0.4rem;
}

.footer__bottom {
  border-top: 1px solid rgba(200,169,110,0.15);
  padding: 1.4rem var(--sp-md);
  font-size: 0.78rem;
  color: var(--clr-text-light);
}

/* ─────────────────────────────────────────────
   14. RESPONSIVE — TABLET  (< 1024px)
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .details__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__grid {
    columns: 2;
  }
}

/* ─────────────────────────────────────────────
   15. RESPONSIVE — MOBILE  (< 768px)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --sp-xl: 4rem;
    --sp-lg: 3rem;
  }

  /* Nav */
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero names stacked */
  .hero__names {
    flex-direction: column;
    gap: 0.2rem;
  }
  .hero__ampersand {
    margin-top: 0;
    font-size: clamp(1.6rem, 7vw, 3rem);
  }

  /* Story: single column */
  .story__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
  .story__image-frame { display: none; }

  /* Details: 2 columns */
  .details__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery: single column */
  .gallery__grid {
    columns: 2;
  }

  /* Countdown separators hidden on very small */
  .countdown__sep { display: none; }
  .countdown__tiles { gap: 0.5rem; }

  /* Lightbox nav arrows */
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* ─────────────────────────────────────────────
   16. RESPONSIVE — SMALL MOBILE  (< 480px)
   ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .gallery__grid { columns: 1; }

  .details__grid {
    grid-template-columns: 1fr;
  }

  .hero__btn {
    padding: 0.8rem 1.8rem;
  }

  .venue__contacts-grid {
    flex-direction: column;
  }
  .venue__contact-divider { display: none; }
}

/* ─────────────────────────────────────────────
   17. PRINT STYLES (bonus)
   ───────────────────────────────────────────── */
@media print {
  .nav, .hero__scroll, .lightbox, .nav__hamburger { display: none; }
  .section { page-break-inside: avoid; }
}
