/* ═══════════════════════════════════════════════════════════════
   MOONLIT GARDEN — premium night-garden wedding invitation
   Deep emerald ink · antique gold · ivory moonlight · blush florals
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #081b18;
  --ink-2: #0c2621;
  --emerald: #123c33;
  --emerald-soft: rgba(18, 60, 51, 0.55);
  --gold: #c9a24b;
  --gold-soft: rgba(201, 162, 75, 0.55);
  --gold-light: #ecd7a0;
  --ivory: #f6efe1;
  --ivory-dim: rgba(246, 239, 225, 0.72);
  --blush: #e3b7a7;
  --moon: #f2ead8;
  --font-display: "Marcellus", serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Jost", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.intro-active { overflow: hidden; height: 100vh; height: 100svh; }

img { user-select: none; -webkit-user-drag: none; }

/* Ornament artwork carries true alpha (keyed from black); .blend kept as a no-op marker class */

::selection { background: rgba(201, 162, 75, 0.35); }

/* ═══════════════ INTRO — the garden gate ═══════════════ */

.intro {
  position: fixed; inset: 0; z-index: 60;
  cursor: pointer; overflow: hidden;
  background: var(--ink);
  transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.intro.is-fading { opacity: 0; visibility: hidden; }
.intro.is-gone { display: none; }

.intro-bg { position: absolute; inset: 0; }
.intro-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: introBreathe 9s ease-in-out infinite alternate;
}
@keyframes introBreathe {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}

.intro-glow {
  position: absolute; left: 50%; top: 58%; width: 46vmin; height: 46vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(236, 215, 160, 0.30) 0%, rgba(236, 215, 160, 0.10) 38%, transparent 68%);
  animation: introPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes introPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

.intro-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 27, 24, 0.55) 0%, transparent 22%, transparent 66%, rgba(8, 27, 24, 0.82) 100%),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8, 27, 24, 0.55) 100%);
  pointer-events: none;
}

.intro-hint {
  position: absolute; left: 0; right: 0; bottom: 9%;
  text-align: center; pointer-events: none;
  opacity: 0; animation: hintIn 1.4s var(--ease) 1.2s forwards;
  transition: opacity 0.4s ease;
}
.intro-hint.is-gone { opacity: 0 !important; }
@keyframes hintIn { to { opacity: 1; } }

.intro-hint-label {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  animation: hintPulse 2.8s ease-in-out infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

.intro-hint-sub {
  margin-top: 0.45rem;
  font-size: clamp(0.72rem, 2.4vw, 0.9rem);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory-dim);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* ═══════════════ MOONLIGHT BLOOM ═══════════════ */

.screen-bloom {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: radial-gradient(circle at 50% 52%, var(--moon) 0%, rgba(242, 234, 216, 0.92) 34%, rgba(242, 234, 216, 0) 72%);
  opacity: 0; visibility: hidden;
}
.screen-bloom.is-blooming { visibility: visible; opacity: 1; transition: opacity 0.85s ease-in; }
.screen-bloom.is-retreating { opacity: 0; transition: opacity 1.6s ease-out; }
.screen-bloom.is-gone { display: none; }

/* ═══════════════ PAGE FRAME ═══════════════ */

.page { opacity: 0; transition: opacity 0.9s ease 0.15s; }
.page.is-visible { opacity: 1; }

.section { position: relative; overflow: hidden; }

/* Scroll reveal */
.reveal-item { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-item.is-in { opacity: 1; transform: none; }

/* ═══════════════ HERO ═══════════════ */

.hero-section {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.09) translateY(-1.6%); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 27, 24, 0.42) 0%, rgba(8, 27, 24, 0.10) 34%, rgba(8, 27, 24, 0.34) 68%, var(--ink) 100%);
}

.hero-fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-content {
  position: relative; z-index: 2; padding: 0 1.5rem;
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.4s var(--ease) 0.1s, transform 1.4s var(--ease) 0.1s;
}
.hero-content.is-visible { opacity: 1; transform: none; }

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 2.6vw, 1.02rem);
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
  margin-bottom: 1.1rem;
}

.hero-names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 7.2rem);
  line-height: 1.12;
  color: var(--ivory);
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.85), 0 0 60px rgba(236, 215, 160, 0.25);
}
.hero-amp {
  display: inline-block; margin: 0 0.18em;
  font-size: 0.52em; color: var(--gold-light);
  vertical-align: baseline;
}

.hero-divider { margin: 0.4rem auto 0.9rem; max-width: 330px; }
.hero-divider-img { width: 100%; display: block; }

.hero-meta { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85); }
.hero-date {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  letter-spacing: 0.2em; color: var(--ivory);
}
.date-ord { font-size: 0.55em; vertical-align: super; letter-spacing: 0; }
.hero-venue {
  margin-top: 0.3rem;
  font-size: clamp(0.8rem, 2.8vw, 1rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory-dim);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 4.2vh; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--gold-light);
}
.hero-scroll-label { font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase; }
.hero-scroll-chevrons { display: flex; flex-direction: column; align-items: center; }
.hero-chevron {
  width: 9px; height: 9px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  animation: chev 1.8s ease-in-out infinite;
}
.hero-chevron:nth-child(2) { animation-delay: 0.18s; }
.hero-chevron:nth-child(3) { animation-delay: 0.36s; }
@keyframes chev { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* ═══════════════ INVITE ═══════════════ */

.invite-section {
  padding: clamp(5rem, 12vh, 8.5rem) 1.25rem clamp(5.5rem, 13vh, 9rem);
  display: flex; justify-content: center;
  background: var(--ink-2);
}

.invite-bg { position: absolute; inset: 0; }
.invite-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.invite-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 27, 24, 0.35) 18%, rgba(8, 27, 24, 0.35) 82%, var(--ink) 100%);
}

.invite-fg {
  position: absolute; top: -2%; left: 0; width: 100%;
  pointer-events: none; opacity: 0.9;
}

.invite-card {
  position: relative; z-index: 2;
  width: min(560px, 94vw);
  aspect-ratio: 928 / 1330;
  display: flex; align-items: center; justify-content: center;
}
.invite-card-panel {
  position: absolute; inset: 7.5% 10.5%;
  background: linear-gradient(168deg, rgba(10, 30, 26, 0.88) 0%, rgba(14, 42, 36, 0.82) 55%, rgba(9, 24, 21, 0.9) 100%);
  border-radius: 46% 46% 18px 18px / 30% 30% 18px 18px;
  box-shadow: inset 0 0 60px rgba(201, 162, 75, 0.07), 0 24px 70px rgba(0, 0, 0, 0.55);
}
.invite-card-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(201, 162, 75, 0.22));
}

.invite-card-text {
  position: relative; z-index: 2;
  width: 64%; text-align: center;
  padding: 6% 0;
}

.invite-overline {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 5.4vw, 2.1rem);
  color: var(--gold-light);
  margin-bottom: 0.9rem;
}

.invite-grandparents { margin-bottom: 0.5rem; }
.invite-grandparents p {
  font-size: clamp(0.62rem, 2.1vw, 0.78rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-dim);
}

.invite-kicker {
  font-size: clamp(0.66rem, 2.3vw, 0.82rem);
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ivory-dim); line-height: 1.9;
}

.invite-rule { width: 56%; margin: 0.6rem auto; display: block; }

.invite-names { display: flex; flex-direction: column; gap: 0.35rem; }
.invite-person { display: flex; flex-direction: column; }
.invite-name {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 9.4vw, 3.7rem);
  line-height: 1.15; color: var(--ivory);
  text-shadow: 0 0 34px rgba(236, 215, 160, 0.28);
}
.invite-parent {
  margin-top: 0.15rem;
  font-size: clamp(0.6rem, 2vw, 0.74rem);
  letter-spacing: 0.12em;
  color: var(--ivory-dim);
}
.invite-amp {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  color: var(--gold); line-height: 1;
}

.invite-meta { margin-top: 0.4rem; }
.invite-date {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.6vw, 1.3rem);
  letter-spacing: 0.18em; color: var(--gold-light);
}
.invite-venue {
  margin-top: 0.25rem;
  font-size: clamp(0.66rem, 2.3vw, 0.82rem);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ═══════════════ EVENTS ═══════════════ */

.events-section {
  padding: clamp(4.5rem, 11vh, 8rem) 1.25rem clamp(5rem, 12vh, 8.5rem);
  background:
    radial-gradient(90% 46% at 50% 0%, rgba(18, 60, 51, 0.5) 0%, transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%);
}

.events-decor { position: absolute; inset: 0; pointer-events: none; }
.evt-decor { position: absolute; opacity: 0.9; }
.evt-decor--lantern { width: clamp(58px, 9vw, 96px); top: 0; animation: sway 7s ease-in-out infinite; transform-origin: top center; }
.evt-decor--lantern-l { left: 4%; }
.evt-decor--lantern-r { right: 4%; animation-delay: 1.4s; }
@keyframes sway { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
.evt-decor--garland { width: clamp(46px, 7vw, 76px); top: 8%; }
.evt-decor--garland-1 { left: 13%; animation: sway 8.5s ease-in-out infinite; transform-origin: top center; }
.evt-decor--garland-2 { right: 13%; animation: sway 8.5s ease-in-out infinite 2s; transform-origin: top center; }
.evt-decor--birds { width: clamp(96px, 15vw, 160px); left: 2%; top: 46%; opacity: 0.85; }
.evt-decor--deer { width: clamp(110px, 17vw, 180px); right: 2.5%; top: 68%; opacity: 0.8; }

.events-header { position: relative; text-align: center; margin-bottom: clamp(2.6rem, 6vh, 4rem); }
.events-eyebrow {
  font-size: 0.74rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 0.5rem;
}
.events-title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.7rem, 9vw, 4.2rem); color: var(--ivory);
}
.events-title-rule { width: min(300px, 62vw); margin: 0.35rem auto 0; display: block; }

.events-list {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(2.2rem, 5vh, 3.4rem);
  max-width: 1060px; margin: 0 auto;
}

.event-card {
  position: relative;
  width: min(430px, 88vw);
  opacity: 0; transform: translateY(52px) scale(0.94);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.event-card--left  { align-self: flex-start;  margin-left: clamp(0px, 6vw, 90px); }
.event-card--right { align-self: flex-end;    margin-right: clamp(0px, 6vw, 90px); }
.event-card.is-open { opacity: 1; transform: none; }

.event-card-inner { position: relative; aspect-ratio: 928 / 1000; }
.event-card-panel {
  position: absolute; inset: 6% 8%;
  background: linear-gradient(160deg, rgba(12, 38, 33, 0.9), rgba(9, 26, 23, 0.86));
  border-radius: 40% 40% 16px 16px / 24% 24% 16px 16px;
  box-shadow: inset 0 0 44px rgba(201, 162, 75, 0.06), 0 18px 50px rgba(0, 0, 0, 0.5);
}
.event-card-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.event-card--right .event-card-frame { transform: scaleX(-1); }

.event-card-body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 17% 14% 12%;
}
.event-icon {
  width: clamp(44px, 8vw, 58px); height: clamp(44px, 8vw, 58px);
  color: var(--gold-light); margin-bottom: 0.55rem;
  filter: drop-shadow(0 0 10px rgba(201, 162, 75, 0.35));
}
.event-icon svg { width: 100%; height: 100%; }
.event-name {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.9rem, 6.6vw, 2.6rem); color: var(--ivory);
}
.event-rule {
  width: 74px; height: 1px; margin: 0.55rem auto 0.7rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.event-datetime {
  font-family: var(--font-display);
  font-size: clamp(0.84rem, 3vw, 1rem);
  letter-spacing: 0.16em; color: var(--gold-light);
}
.event-ord { font-size: 0.55em; vertical-align: super; }
.event-time { display: block; margin-top: 0.15rem; font-size: 0.86em; color: var(--ivory-dim); font-family: var(--font-body); letter-spacing: 0.2em; }
.event-venue {
  margin-top: 0.45rem;
  font-size: clamp(0.72rem, 2.5vw, 0.84rem);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim);
}
.event-note {
  margin-top: 0.4rem; font-style: italic;
  font-size: clamp(0.74rem, 2.6vw, 0.86rem); color: var(--blush);
}
.event-map {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 0.65rem; padding: 0.42rem 1.05rem;
  border: 1px solid var(--gold-soft); border-radius: 999px;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.event-map:hover { background: rgba(201, 162, 75, 0.14); }

/* ═══════════════ MEET THE COUPLE ═══════════════ */

.couple-section {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(5rem, 13vh, 9rem) 1.5rem;
  text-align: center;
}

.couple-bg { position: absolute; inset: 0; }
.couple-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.couple-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(8, 27, 24, 0.28) 22%, rgba(8, 27, 24, 0.30) 70%, var(--ink) 100%);
}

.couple-fireflies { position: absolute; inset: 0; pointer-events: none; }
.firefly {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 160, 0.95) 0%, rgba(255, 214, 130, 0.35) 45%, transparent 70%);
  animation: drift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate;
  opacity: 0.75;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  50%  { transform: translate(var(--dx, 24px), var(--dy, -30px)); opacity: 1; }
  to   { transform: translate(calc(var(--dx, 24px) * -0.6), calc(var(--dy, -30px) * 0.5)); opacity: 0.4; }
}

.couple-content { position: relative; z-index: 2; max-width: 660px; }
.couple-eyebrow {
  font-size: 0.74rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 0.5rem;
}
.couple-title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.7rem, 9vw, 4.2rem); color: var(--ivory);
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.8);
}
.couple-ornament { width: min(280px, 58vw); margin: 0.3rem auto 1.4rem; display: block; }

.couple-story-body {
  font-size: clamp(0.95rem, 3.2vw, 1.12rem);
  line-height: 2.05; color: var(--ivory);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}
.couple-story-line { display: inline; opacity: 0; transform: translateY(12px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.couple-story-line.is-para { display: block; margin-top: 0.9em; }
.couple-story-line.is-in { opacity: 1; transform: none; }
.cpl-alive.is-in { opacity: 1; }

.couple-tags { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }
.couple-tag-chip {
  padding: 0.4rem 1rem; border: 1px solid var(--gold-soft); border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(8, 27, 24, 0.5);
}
.couple-hashtag {
  margin-top: 1.2rem; font-family: var(--font-display);
  letter-spacing: 0.14em; color: var(--gold-light);
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
}

/* ═══════════════ GALLERY ═══════════════ */

.gallery-section { padding: clamp(4.5rem, 11vh, 8rem) 1.25rem clamp(5rem, 12vh, 8rem); }
.gallery-bg { position: absolute; inset: 0; }
.gallery-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.gallery-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, transparent 20%, transparent 80%, var(--ink) 100%); }

.gallery-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }

.gallery-header { margin-bottom: clamp(2rem, 5vh, 3.2rem); }
.gallery-flourish {
  display: block; width: 120px; height: 1px; margin: 0.6rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gallery-title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.7rem, 9vw, 4.2rem); color: var(--ivory);
}

.gallery-featured {
  position: relative; width: min(430px, 82vw); aspect-ratio: 1;
  margin: 0 auto; cursor: pointer;
}
.gallery-featured-photo {
  position: absolute; inset: 12.5%;
  width: 75%; height: 75%; object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}
.gallery-featured.is-fading .gallery-featured-photo { opacity: 0; }
.gallery-featured-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: rgba(8, 27, 24, 0.72); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s ease;
  z-index: 3;
}
.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow:hover { background: rgba(201, 162, 75, 0.22); }
.gallery-arrow--prev { left: -8px; }
.gallery-arrow--next { right: -8px; }
.gallery-featured.single .gallery-arrow { display: none; }

.gallery-caption {
  margin-top: 1.1rem; font-family: var(--font-display);
  letter-spacing: 0.2em; font-size: 0.92rem; color: var(--ivory-dim);
  text-transform: uppercase;
}

.gallery-dots { margin-top: 0.9rem; display: flex; gap: 0.5rem; justify-content: center; }
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(246, 239, 225, 0.28); cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.gallery-dot.is-active { background: var(--gold); transform: scale(1.25); }

.gallery-thumbs {
  margin-top: 1.5rem; display: flex; gap: 0.85rem; justify-content: center;
  overflow-x: auto; overflow-y: hidden; padding: 0.6rem 0.4rem;
  scrollbar-width: thin; scrollbar-color: rgba(201,162,75,0.45) transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 5px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(201,162,75,0.45); border-radius: 3px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-thumb {
  position: relative; flex: 0 0 auto; width: 62px; height: 62px;
  cursor: pointer; opacity: 0.55; transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-thumb.is-active { opacity: 1; transform: scale(1.06); }
.gallery-thumb-photo {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.5);
}
.gallery-thumb-art { display: none; }

.gallery-lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5, 14, 12, 0.94);
  display: flex; align-items: center; justify-content: center;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lb-inner { max-width: 92vw; max-height: 84vh; text-align: center; }
.gallery-lb-img { max-width: 92vw; max-height: 76vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); }
.gallery-lb-caption { margin-top: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; color: var(--ivory-dim); }
.gallery-lb-close, .gallery-lb-prev, .gallery-lb-next {
  position: absolute; z-index: 2; border: 1px solid var(--gold-soft);
  background: rgba(8, 27, 24, 0.72); color: var(--gold-light);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}
.gallery-lb-close { top: 18px; right: 18px; }
.gallery-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.gallery-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox.single .gallery-lb-prev, .gallery-lightbox.single .gallery-lb-next { display: none; }

/* ═══════════════ THINGS TO KNOW ═══════════════ */

.ttk-section {
  padding: clamp(4.5rem, 11vh, 8rem) 1.25rem;
  background:
    radial-gradient(70% 40% at 50% 8%, rgba(18, 60, 51, 0.55) 0%, transparent 72%),
    var(--ink);
}
.ttk-atm { position: absolute; inset: 0; pointer-events: none; }

.ttk-inner { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; text-align: center; }
.ttk-eyebrow {
  font-size: 0.74rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 0.5rem;
}
.ttk-title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.7rem, 9vw, 4.2rem); color: var(--ivory);
}
.ttk-title-rule { width: min(280px, 58vw); margin: 0.35rem auto 0.7rem; display: block; }
.ttk-subline { color: var(--ivory-dim); font-size: clamp(0.82rem, 2.8vw, 0.98rem); }

.ttk-grid {
  list-style: none; margin-top: clamp(2.2rem, 5vh, 3.4rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.ttk-grid--single { grid-template-columns: minmax(240px, 420px); justify-content: center; }

.ttk-card {
  position: relative; text-align: center;
  border-radius: 18px; padding: 1.9rem 1.4rem 1.7rem;
  background: linear-gradient(165deg, rgba(14, 42, 36, 0.72), rgba(9, 24, 21, 0.78));
  border: 1px solid rgba(201, 162, 75, 0.22);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.5s var(--ease), border-color 0.3s ease;
  overflow: hidden;
}
.ttk-card.is-in { opacity: 1; transform: none; }
.ttk-card:hover { border-color: rgba(201, 162, 75, 0.45); }
.ttk-card--last-odd { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; width: 100%; }
.ttk-card-shine {
  position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(236, 215, 160, 0.07), transparent);
  transform: skewX(-18deg);
  transition: left 0.8s ease;
}
.ttk-card:hover .ttk-card-shine { left: 120%; }

.ttk-card-icon-wrap { position: relative; width: 84px; height: 84px; margin: 0 auto 1rem; }
.ttk-card-icon-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.5);
}
.ttk-card-icon-ring--outer {
  inset: -7px; border-color: rgba(201, 162, 75, 0.22);
  border-style: dashed;
  animation: ringspin 26s linear infinite;
}
@keyframes ringspin { to { transform: rotate(360deg); } }

.ttk-card-icon {
  position: absolute; inset: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.ttk-card-icon svg { width: 100%; height: 100%; }
.ttk-card-icon--blank::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); opacity: 0.7;
}
.ttk-card-img { width: 100%; height: 100%; object-fit: contain; }

.ttk-card-label {
  font-family: var(--font-display);
  font-size: 1.02rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light);
}
.ttk-card-rule {
  display: block; width: 52px; height: 1px; margin: 0.65rem auto 0.8rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ttk-card-body { font-size: 0.88rem; line-height: 1.8; color: var(--ivory-dim); }
.ttk-card-link {
  display: inline-block; margin-top: 0.85rem; padding: 0.42rem 1.05rem;
  border: 1px solid var(--gold-soft); border-radius: 999px;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); text-decoration: none;
  transition: background 0.3s ease;
}
.ttk-card-link:hover { background: rgba(201, 162, 75, 0.14); }

/* ═══════════════ RSVP ═══════════════ */

.rsvp-section {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(5rem, 13vh, 9rem) 1.5rem;
}
.rsvp-bg { position: absolute; inset: 0; }
.rsvp-bg img { width: 100%; height: 100%; object-fit: cover; }
.rsvp-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(8, 27, 24, 0.18) 30%, rgba(8, 27, 24, 0.30) 68%, var(--ink) 100%);
}
.rsvp-lanterns { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.rsvp-content { position: relative; z-index: 2; max-width: 620px; }
.rsvp-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rsvp-alive .rsvp-reveal { opacity: 1; transform: none; }
.rsvp-alive .rsvp-reveal:nth-child(2) { transition-delay: 0.12s; }
.rsvp-alive .rsvp-reveal:nth-child(3) { transition-delay: 0.24s; }
.rsvp-alive .rsvp-reveal:nth-child(4) { transition-delay: 0.36s; }
.rsvp-alive .rsvp-reveal:nth-child(5) { transition-delay: 0.48s; }

.rsvp-eyebrow {
  font-size: 0.74rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 0.6rem;
}
.rsvp-headline {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.9rem, 10vw, 4.6rem); color: var(--ivory);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}
.rsvp-body {
  margin: 1.1rem auto 1.8rem;
  font-size: clamp(0.92rem, 3.1vw, 1.06rem); line-height: 2;
  color: var(--ivory); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.rsvp-btn {
  display: inline-block; text-decoration: none;
  padding: 1rem 2.6rem; border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.24), rgba(201, 162, 75, 0.10));
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 3vw, 1.05rem);
  letter-spacing: 0.26em; text-transform: uppercase;
  box-shadow: 0 0 34px rgba(201, 162, 75, 0.22), inset 0 0 22px rgba(201, 162, 75, 0.12);
  transition: box-shadow 0.35s ease, transform 0.35s ease, background 0.35s ease;
}
.rsvp-btn:hover {
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.38), rgba(201, 162, 75, 0.16));
  box-shadow: 0 0 52px rgba(201, 162, 75, 0.38), inset 0 0 26px rgba(201, 162, 75, 0.2);
  transform: translateY(-2px);
}
.rsvp-helper { margin-top: 0.85rem; font-size: 0.76rem; color: var(--ivory-dim); letter-spacing: 0.06em; }

.rsvp-std { margin-top: 2.4rem; }
.rsvp-std-heading {
  font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--ivory-dim); margin-bottom: 0.9rem;
}
.rsvp-std-btns { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.rsvp-cal-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.68rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(246, 239, 225, 0.28);
  color: var(--ivory); text-decoration: none;
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.rsvp-cal-btn:hover { border-color: var(--gold); background: rgba(201, 162, 75, 0.1); }
.rsvp-cal-icon { width: 16px; height: 16px; }

/* ═══════════════ COUNTDOWN ═══════════════ */

.countdown-section {
  padding: clamp(4.5rem, 11vh, 8rem) 1.25rem clamp(5.5rem, 13vh, 9rem);
  background: linear-gradient(180deg, var(--ink) 0%, #0a211d 52%, var(--ink) 100%);
  text-align: center;
}
.cd-glow {
  position: absolute; top: 50%; width: 44vmin; height: 44vmin;
  transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.10) 0%, transparent 68%);
}
.cd-glow--l { left: -12vmin; }
.cd-glow--r { right: -12vmin; }

.countdown-title { display: flex; flex-direction: column; align-items: center; }
.cd-title-lead {
  font-size: 0.78rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--blush); font-family: var(--font-body); font-weight: 300;
}
.cd-title-forever {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(3rem, 11vw, 4.8rem); color: var(--ivory);
  line-height: 1.2;
}
.countdown-title-rule { width: min(300px, 62vw); margin: 0.4rem auto 0; display: block; }

.countdown-stage { margin-top: clamp(2.4rem, 6vh, 3.8rem); }
.countdown-cells {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(0.6rem, 3.4vw, 2rem); flex-wrap: nowrap;
}
.cd-cell { width: clamp(78px, 21vw, 150px); }
.cd-medallion { position: relative; width: 100%; aspect-ratio: 1; }
.cd-medallion > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cd-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cd-num {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 6vw, 2.5rem);
  color: var(--gold-light); line-height: 1;
  text-shadow: 0 0 22px rgba(201, 162, 75, 0.4);
}
.cd-num.is-tick { animation: tick 0.5s var(--ease); }
@keyframes tick {
  0% { transform: translateY(-9px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cd-label {
  margin-top: 0.3rem;
  font-size: clamp(0.52rem, 1.8vw, 0.68rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ═══════════════ FOOTER ═══════════════ */

.site-footer {
  position: relative; text-align: center;
  padding: clamp(3rem, 8vh, 5rem) 1.5rem clamp(6.5rem, 14vh, 8rem);
  background: linear-gradient(180deg, var(--ink) 0%, #050f0d 100%);
}
.ft-border { width: min(340px, 70vw); margin: 0 auto 1.4rem; display: block; }
.ft-names {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 8vw, 3.4rem); color: var(--ivory);
}
.ft-amp { color: var(--gold); font-size: 0.72em; margin: 0 0.2em; }
.ft-date {
  margin-top: 0.3rem; font-family: var(--font-display);
  letter-spacing: 0.22em; color: var(--gold-light);
  font-size: clamp(0.9rem, 3vw, 1.05rem);
}
.ft-tagline {
  margin-top: 0.55rem; font-style: italic;
  color: var(--ivory-dim); font-size: 0.86rem;
}
.ft-bottom-rule {
  width: 120px; height: 1px; margin: 1.4rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ft-credit {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(246, 239, 225, 0.4);
}

/* ═══════════════ FLOATING CONTROLS ═══════════════ */

.fab-cluster {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fab-cluster.is-ready { opacity: 1; transform: none; pointer-events: auto; }

.fab {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.55);
  background: linear-gradient(160deg, rgba(14, 42, 36, 0.88), rgba(8, 24, 21, 0.92));
  color: var(--gold-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 18px rgba(201, 162, 75, 0.14);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 26px rgba(201, 162, 75, 0.28); }
.fab svg { width: 24px; height: 24px; }
.fab-music .fab-slash { opacity: 0; transition: opacity 0.25s ease; }
.fab-music.is-muted .fab-slash { opacity: 1; }

.nav-panel {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  min-width: 208px; padding: 0.9rem 0.6rem 0.7rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(13, 38, 33, 0.96), rgba(7, 19, 17, 0.97));
  border: 1px solid rgba(201, 162, 75, 0.3);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(10px) scale(0.97); pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.fab-cluster.nav-open .nav-panel { opacity: 1; transform: none; pointer-events: auto; }

.nav-panel-head { padding: 0 0.7rem 0.55rem; }
.nav-panel-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--blush);
}
.nav-panel-rule {
  display: block; height: 1px; margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.nav-link {
  display: block; padding: 0.5rem 0.7rem; border-radius: 10px;
  text-decoration: none; color: var(--ivory);
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-link:hover { background: rgba(201, 162, 75, 0.12); color: var(--gold-light); }

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

@media (max-width: 640px) {
  .invite-card-text { width: 58%; }
  .event-card--left, .event-card--right { align-self: center; margin-left: 0; margin-right: 0; }
  .evt-decor--birds { top: 40%; }
  .evt-decor--deer { top: 74%; }
  .gallery-arrow--prev { left: -4px; }
  .gallery-arrow--next { right: -4px; }
  .countdown-cells { gap: 0.35rem; }
}

@media (max-width: 380px) {
  .cd-label { letter-spacing: 0.18em; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */

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

/* verification helper: freeze all motion */
html.still *, html.still *::before, html.still *::after {
  animation: none !important;
  transition: none !important;
}
