/* ============================================================
   AYAAN & ZOYA — WEDDING INVITATION
   Design tokens
   ============================================================ */
:root{
  --paper: #F6F1E2;
  --paper-deep: #ECE1C3;
  --ink: #24322A;
  --ink-soft: #4B5C4F;
  --gold: #A9812F;
  --gold-soft: #CBA968;
  --gold-pale: #E7D8AE;
  --emerald: #2F4A3B;
  --emerald-deep: #1D3026;
  --plum: #6B3A44;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Cormorant Garamond', Georgia, serif;
  --font-script-hero: 'Great Vibes', cursive;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-arabic:  'Scheherazade New', serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 760px;
}

@media (prefers-color-scheme: dark){ :root{ } }

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

/* subtle paper grain overlay */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: .05; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0,0,0,.9) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

/* ============================================================
   TYPE HELPERS
   ============================================================ */
.eyebrow{
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--gold);
  margin: 0 0 .3em;
}
.eyebrow--sub{ color: var(--ink-soft); letter-spacing: .22em; margin-bottom: .6em; }

.section-title{
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin: .2em 0 .5em;
  color: var(--emerald-deep);
  letter-spacing: .02em;
}

.lead{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  margin: .35em 0;
}
.lead--wide{ max-width: 30ch; margin-inline: auto; }

/* ornamental divider */
.divider{
  display: flex; align-items: center; justify-content: center;
  gap: .6em; margin: .9em auto;
  width: min(220px, 60%);
}
.divider span{ flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.divider span:last-child{ background: linear-gradient(270deg, transparent, var(--gold-soft)); }
.divider i{
  width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg);
  background: var(--paper);
}
.divider--small{ width: 120px; margin: .6em auto; }

.amp{ font-family: var(--font-script); font-style: italic; color: var(--gold); font-size: .8em; padding: 0 .12em; }

/* ============================================================
   GATE BISMILLAH (integrated into the intro screen)
   ============================================================ */
.gate__bismillah{
  margin: 0 0 .4rem;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  opacity: 0;
  animation: gate-bismillah-enter 1.4s var(--ease) .4s forwards;
}

.gate__bismillah-arabic{
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 5.5vw, 2.6rem);
  color: var(--gold-soft);
  margin: 0;
  letter-spacing: .04em;
  line-height: 1.3;
  text-shadow: 0 0 28px rgba(169,129,47,.4);
}

.gate__bismillah-translit{
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .62rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}

/* thin ornamental divider between bismillah and the names */
.gate__divider-ornament{
  display: flex; align-items: center; justify-content: center;
  gap: .5em; width: min(160px, 50%); margin: .5rem auto .6rem;
  opacity: 0;
  animation: gate-fade-up 1s var(--ease) 1.1s forwards;
}
.gate__divider-ornament span{
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3));
}
.gate__divider-ornament span:last-child{
  background: linear-gradient(270deg, transparent, rgba(255,255,255,.3));
}
.gate__divider-ornament i{
  width: 5px; height: 5px; border: 1px solid var(--gold-soft); transform: rotate(45deg);
  background: transparent;
}

@keyframes gate-bismillah-enter{
  0%{
    opacity: 0;
    transform: translateY(-14px) scale(.94);
    letter-spacing: .3em;
  }
  60%{
    opacity: 1;
    transform: translateY(2px) scale(1.02);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes gate-fade-up{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ============================================================
   GATE / INTRO
   ============================================================ */
.gate{
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background-color: #0d0d0d;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.5) 100%),
    url('../assets/Background.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* no opacity transition — we handle exit via the blur layer below */
  transition: opacity 1.2s var(--ease);
}
.gate.is-open{ pointer-events: none; opacity: 0; }

/* Blur layer — sits above bg image, below panels & content */
.gate::before{
  content: '';
  position: absolute; inset: 0; z-index: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0,0,0,.18);
  transition: opacity 1s var(--ease);
}
/* When gate starts opening, dissolve blur so image sharpens as panels slide */
.gate.is-open::before{
  opacity: 0;
}

.gate__panel{
  position: absolute; top: 0; bottom: 0; width: 51%;
  transition: transform 1.3s var(--ease);
  z-index: 1;
}
.gate__panel--left{ left: 0; }
.gate__panel--right{ right: 0; }
.gate__arch{ width: 100%; height: 100%; }

.gate.is-open .gate__panel--left{ transform: translateX(-105%); }
.gate.is-open .gate__panel--right{ transform: translateX(105%); }

.gate__content{
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.gate.is-open .gate__content{ opacity: 0; transform: translateY(-16px); }

.gate__flourish{
  width: 90px; margin: 0 auto 1.2rem; opacity: 0;
  animation: gate-fade-up 1s var(--ease) 1.4s forwards;
}

.gate__eyebrow{
  font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: .35em; text-transform: uppercase;
  font-size: .68rem; color: var(--gold-soft); margin: 0 0 .8em;
  opacity: 0;
  animation: gate-fade-up 1s var(--ease) 1.6s forwards;
}
.gate__names{
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  color: #fff; margin: 0 0 .4em;
  letter-spacing: .01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  opacity: 0;
  animation: gate-fade-up 1s var(--ease) 1.8s forwards;
}
.gate__date{
  font-family: 'Playfair Display', Georgia, serif; letter-spacing: .22em; font-size: .8rem;
  color: rgba(255,255,255,.65); margin: 0 0 2rem;
  opacity: 0;
  animation: gate-fade-up 1s var(--ease) 2s forwards;
}
.gate__date .dot{ color: var(--gold-soft); margin: 0 .4em; }

.gate__button{
  position: relative;
  font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: .22em; text-transform: uppercase;
  font-size: .82rem; color: #fff;
  background: transparent; border: 1px solid rgba(255,255,255,.55);
  padding: 1rem 2.2rem; cursor: pointer;
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  opacity: 0;
  animation: gate-fade-up 1s var(--ease) 2.2s forwards;
}
.gate__button:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.9); }
.gate__button-ring{
  position: absolute; inset: -6px; border: 1px solid rgba(255,255,255,.2);
  animation: pulse-ring 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring{
  0%,100%{ opacity: .5; transform: scale(1); }
  50%{ opacity: 0; transform: scale(1.08); }
}

/* ============================================================
   MAIN INVITATION
   ============================================================ */
.invitation{ position: relative; }
.invitation[aria-hidden="true"]{ visibility: hidden; }
.invitation.is-visible{ visibility: visible; }

.corner{ position: fixed; width: 90px; height: 90px; z-index: 5; pointer-events: none; opacity: .55; }
.corner--tl{ top: 0; left: 0; }
.corner--br{ bottom: 0; right: 0; transform: rotate(180deg); }
@media (max-width: 640px){ .corner{ width: 56px; height: 56px; } }

.section{
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

/* reveal-on-scroll */
.reveal{
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- HERO ---------- */
.hero{
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  max-width: 100%;
  padding: 0 1.5rem 5rem;
  overflow: hidden;
  position: relative;
  /* Full-bleed background image */
  background-color: #0d0d0d;
  background-image: url('../assets/Background.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.section.hero{
  padding: 0 1.5rem 5rem;
}

/* semi-transparent vignette overlay — keeps text legible over the photo */
.hero__overlay{
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.5) 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}

.hero__inner{
  position: relative; z-index: 2;
  max-width: 820px;
  width: 100%;
  text-align: center;
}

/* eyebrow — small spaced caps, white */
.hero__eyebrow{
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 .6em;
}

/* Names — Great Vibes script, huge, white */
.hero__names{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 0 .5em;
  line-height: 1;
}
.hero__name-line{
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  text-shadow:
    0 2px 24px rgba(0,0,0,.5),
    0 0 60px rgba(180,120,60,.15);
  display: block;
}
.hero__amp-line{
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  color: var(--gold-soft);
  line-height: 1.1;
  display: block;
  text-shadow: 0 0 30px rgba(203,169,104,.4);
}

/* date · time meta line */
.hero__meta{
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin: .6em 0 1.8em;
}

/* CTA button — outlined, white */
.hero__cta{
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .88rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  padding: .9rem 2.4rem;
  text-decoration: none;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  position: relative;
}
.hero__cta:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
}

/* scroll cue — white on dark hero */
.scroll-cue{
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.5);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  z-index: 2;
}
.scroll-cue__line{
  width: 1px; height: 34px; background: rgba(255,255,255,.25); position: relative; overflow: hidden;
}
.scroll-cue__line::after{
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,.7); animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop{
  0%{ top: -100%; } 60%{ top: 100%; } 100%{ top: 100%; }
}

/* ---------- COUPLE ---------- */
.couple{ background: var(--paper); }

.couple__grid{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.couple-card{
  flex: 1 1 220px;
  max-width: 280px;
  padding: 2.4rem 1.8rem 2rem;
  text-align: center;
  border: 1px solid var(--gold-pale);
  background: var(--paper-deep);
  position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.couple-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -18px rgba(36,50,42,.28);
}

/* subtle top accent bar */
.couple-card::before{
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.couple-card__badge{
  width: 56px; height: 56px;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  background: var(--paper);
}

.couple-card__role{
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .3em; text-transform: uppercase;
  font-size: .7rem; color: var(--gold);
  margin: 0 0 .3em;
}

.couple-card__name{
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--emerald-deep);
  margin: 0 0 .2em;
  letter-spacing: .02em;
}

.couple-card__relation{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: .7em 0 .15em;
}

.couple-card__parents{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .98rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 .4em;
  line-height: 1.6;
}

.couple-card__address{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0 0 .35em;
  line-height: 1.65;
  letter-spacing: .015em;
}

.couple-card__contact{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin: .4em 0 0;
}

/* vertical separator between cards */
.couple__sep{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 .8rem;
  align-self: stretch;
}
.couple__sep-line{
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-soft), transparent);
  min-height: 40px;
}
.couple__sep-icon{ opacity: .7; }

/* on mobile stack vertically with horizontal separator */
@media (max-width: 600px){
  .couple__grid{ flex-direction: column; align-items: center; gap: 0; }
  .couple-card{ max-width: 340px; width: 100%; }
  .couple__sep{
    flex-direction: row;
    padding: .6rem 0;
    width: min(200px, 70%);
    align-self: center;
  }
  .couple__sep-line{
    flex: 1; width: auto; height: 1px; min-height: unset;
    background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
  }
}


.ayah{ background: var(--emerald-deep); color: var(--paper); max-width: 100%; padding-inline: 1.5rem; }
.ayah__frame{ max-width: 640px; margin: 0 auto; }
.glyph--star{ width: 26px; margin: 0 auto 1.4rem; }
.ayah__arabic{
  font-family: var(--font-arabic);
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  line-height: 2.1;
  color: var(--gold-pale);
  margin: 0;
}
.ayah .divider span{ background: linear-gradient(90deg, transparent, rgba(203,169,104,.6)); }
.ayah .divider span:last-child{ background: linear-gradient(270deg, transparent, rgba(203,169,104,.6)); }
.ayah .divider i{ background: var(--emerald-deep); border-color: var(--gold-soft); }
.ayah__translation{
  font-family: var(--font-script); font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.7; color: var(--paper); opacity: .92;
  max-width: 46ch; margin: 0 auto;
}
.ayah__ref{ margin-top: 1rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-family: 'Cormorant Garamond', Georgia, serif; }

/* ---------- STORY / MEDALLION ---------- */

/* Section background — warm cream with subtle noise texture */
.story{
  background:
    radial-gradient(ellipse at 60% 40%, rgba(235,224,196,.45) 0%, transparent 65%),
    radial-gradient(ellipse at 30% 70%, rgba(203,169,104,.08) 0%, transparent 55%),
    var(--paper);
  position: relative;
  overflow: hidden;
}

/* Extra breathing room */
.story__inner{
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  text-align: center;
}

/* ---- Medallion ---- */
.medallion{
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 3.2rem;
}

/* All three SVG layers sit exactly on top of each other */
.medallion__rings,
.medallion__petals-svg,
.medallion__initials-svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Petals rotate slowly — 25s feels premium */
.medallion__petals{
  transform-origin: 160px 160px;
  animation: petals-turn 25s linear infinite;
}
@keyframes petals-turn{
  to{ transform: rotate(360deg); }
}

/* Initials: Cormorant Garamond italic, gold, perfectly centered */
.medallion__text{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  fill: var(--gold);
  letter-spacing: .06em;
}

/* ---- Corner accent lines ---- */
.story__corners{
  position: absolute;
  inset: 1.8rem;
  pointer-events: none;
}
.story__corner{
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: .7;
}
.story__corner--tl{ top: 0; left: 0; }
.story__corner--tr{ top: 0; right: 0; }
.story__corner--bl{ bottom: 0; left: 0; }
.story__corner--br{ bottom: 0; right: 0; }

/* ---- Heading ---- */
.story__title{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--emerald-deep);
  margin: 0 0 .5em;
  letter-spacing: .06em;
  line-height: 1.2;
  /* fade-in entrance */
  opacity: 0;
  animation: story-fade-in 1.1s cubic-bezier(.22,.61,.36,1) .3s forwards;
}

/* ---- Body copy ---- */
.story__text{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 2;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto;
  letter-spacing: .015em;
  /* staggered fade-in */
  opacity: 0;
  animation: story-fade-in 1.1s cubic-bezier(.22,.61,.36,1) .6s forwards;
}

@keyframes story-fade-in{
  from{ opacity: 0; transform: translateY(18px); }
  to{   opacity: 1; transform: translateY(0); }
}

/* Respect reduced-motion — still fade in, just no translate */
@media (prefers-reduced-motion: reduce){
  .story__title, .story__text{
    animation: none;
    opacity: 1;
  }
  .medallion__petals{ animation: none; }
}

/* ---------- DETAILS / EVENTS ---------- */
.details__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.event-card{
  padding: 2.4rem 1.6rem;
  border: 1px solid var(--gold-pale);
  background: var(--paper-deep);
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.event-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px -20px rgba(36,50,42,.35); }
.event-card__icon{ width: 40px; margin: 0 auto 1rem; }
.event-card__label{ font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 500; color: var(--emerald-deep); margin: 0 0 .5em; letter-spacing: .02em; }
.event-card__time{ font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1rem; color: var(--ink); margin: 0 0 .3em; }
.event-card__sub{ font-family: 'Cormorant Garamond', Georgia, serif; font-size: .84rem; letter-spacing: .04em; color: var(--ink-soft); margin: 0; }

@media (max-width: 640px){
  .details__grid{
    grid-template-columns: 1fr;
  }
}

.countdown{ margin-top: 3.2rem; }
.countdown__label{
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .28em; text-transform: uppercase;
  font-size: .8rem; color: var(--gold); margin: 0 0 1.4rem;
}
.countdown__grid{ display: flex; align-items: stretch; justify-content: center; gap: clamp(.6rem, 3vw, 1.6rem); }
.countdown__unit{
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  min-width: 64px;
}
.countdown__num{
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--emerald-deep); font-variant-numeric: tabular-nums;
}
.countdown__word{ font-family: 'Cormorant Garamond', Georgia, serif; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- VENUE ---------- */
.venue__address{ font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1rem; color: var(--ink-soft); margin: .4em 0 0; }
.venue__map{
  margin: 2rem auto; max-width: 640px;
  border: 6px solid var(--paper-deep); outline: 1px solid var(--gold-pale);
}
.venue__map iframe{ width: 100%; height: 320px; border: 0; display: block; filter: sepia(.12) saturate(.9); }

.button{
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .22em; text-transform: uppercase;
  font-size: .88rem; padding: .95rem 2rem; text-decoration: none;
  transition: all .4s var(--ease);
}
.button--outline{
  color: var(--emerald-deep); border: 1px solid var(--gold);
}
.button--outline:hover{ background: var(--emerald-deep); border-color: var(--emerald-deep); color: var(--paper); }

.venue__extra{ margin-top: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.venue__extra-item{ font-family: 'Cormorant Garamond', Georgia, serif; font-size: .96rem; color: var(--ink-soft); margin: 0; }
.venue__extra-item strong{ color: var(--emerald-deep); font-weight: 600; }

/* ---------- GALLERY ---------- */
.gallery__grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem; margin-top: 2.4rem;
}
.gallery__item{ margin: 0; }
.gallery__item svg{ width: 100%; height: auto; border: 1px solid var(--gold-pale); }
.gallery__item figcaption{
  margin-top: .7rem; font-family: var(--font-script); font-style: italic;
  font-size: .9rem; color: var(--ink-soft);
}
.gallery__monogram{ font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 34px; fill: var(--gold); text-anchor: middle; }

/* ---------- FOOTER ---------- */
.footer{ background: var(--emerald-deep); color: var(--paper); max-width: 100%; padding-inline: 1.5rem; }
.footer__inner{ max-width: 560px; margin: 0 auto; }
.footer__names{ font-family: 'Great Vibes', cursive; font-size: clamp(2.2rem, 5.5vw, 3.2rem); color: var(--gold-pale); margin: 0 0 .2em; }
.footer .amp{ color: var(--gold); }
.footer__date{ font-family: 'Playfair Display', Georgia, serif; letter-spacing: .28em; font-size: .8rem; color: var(--paper); opacity: .8; margin: 0 0 1.6rem; text-transform: uppercase; }
.footer__dua{
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 1.1rem; line-height: 1.85;
  max-width: 44ch; margin: 0 auto; opacity: .92;
}
.footer__dua-ref{ display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-top: .6em; }
.footer .divider span{ background: linear-gradient(90deg, transparent, rgba(203,169,104,.6)); }
.footer .divider span:last-child{ background: linear-gradient(270deg, transparent, rgba(203,169,104,.6)); }
.footer .divider i{ background: var(--emerald-deep); border-color: var(--gold-soft); }
.footer__note{ font-family: 'Cormorant Garamond', Georgia, serif; font-size: .96rem; color: var(--paper); opacity: .75; line-height: 1.8; }

/* ---------- MUTE BUTTON ---------- */
.mute-btn{
  position: fixed;
  bottom: 1.6rem;
  left: 1.6rem;
  z-index: 10000;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.mute-btn:hover{
  background: rgba(0,0,0,.65);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: scale(1.08);
}
.mute-btn:active{ transform: scale(.95); }

/* Subtle pulse ring so users notice it */
.mute-btn::after{
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(203,169,104,.35);
  animation: mute-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mute-pulse{
  0%,100%{ opacity: .6; transform: scale(1); }
  50%{ opacity: 0; transform: scale(1.18); }
}

/* ---------- FOCUS STATES ---------- */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 480px){
  .gate__names{ font-size: 2rem; }
  .section{ padding-inline: 1.2rem; }
  .venue__map iframe{ height: 240px; }
  .hero__name-line{ font-size: 3rem; }
  .hero__amp-line{ font-size: 2rem; }
}

@media (max-height: 700px){
  /* Short viewport — compress hero further */
  .hero__name-line{ font-size: clamp(2.6rem, 9vw, 5rem); }
  .hero__amp-line{ font-size: clamp(1.8rem, 5vw, 3rem); }
  .hero__meta{ margin-bottom: 1.2em; }
  .scroll-cue{ bottom: 1rem; }
}
