/* ============================================================
   EDEN — Template CSS
   UndanganKu by Bacaunduh
   Slug: eden | Tier: premium | Category: wedding
   Konsep: Soft Botanical Luxury — cream, sage green, dusty rose
   Layout: Organic flowing garden — BEDA TOTAL dari Sakura & Aurum
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&family=Great+Vibes&display=swap');

/* ── 1. VARIABLES ──────────────────────────────────────────── */
:root {
  --c-primary:   var(--inv-primary,   #5B7C5A);
  --c-secondary: var(--inv-secondary, #C98B8B);
  --c-sage:      #5B7C5A;
  --c-sage-lt:   #7FA37E;
  --c-sage-pale: #D4E4D3;
  --c-sage-dim:  rgba(91,124,90,.14);
  --c-rose:      #C98B8B;
  --c-rose-lt:   #E0B4B4;
  --c-rose-pale: #F2E0E0;
  --c-rose-dim:  rgba(201,139,139,.14);
  --c-cream:     #F8F4EC;
  --c-warm:      #F2EDE4;
  --c-sage-soft: #EDF3EC;
  --c-ivory:     #FBF8F2;
  --c-brown:     #6B5744;
  --c-brown2:    rgba(107,87,68,.6);
  --c-brown3:    rgba(107,87,68,.35);
  --c-brown4:    rgba(107,87,68,.18);
  --c-border:    rgba(91,124,90,.2);
  --ed-serif:    'Libre Baskerville', Georgia, serif;
  --ed-script:   'Great Vibes', cursive;
  --ed-sans:     'Lato', system-ui, sans-serif;
  --max-w:       480px;
  --tr:          .45s cubic-bezier(.25,.8,.25,1);
}

/* ── 2. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--ed-sans);
  background: var(--c-warm);
  color: var(--c-brown);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
input, textarea, select { font-family: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-cream); }
::-webkit-scrollbar-thumb { background: var(--c-sage-pale); border-radius: 99px; }

/* ── 3. WRAPPER ────────────────────────────────────────────── */
#ed-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--c-cream);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 80px rgba(107,87,68,.1);
}

/* ── 4. SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .38s; }
.d4 { transition-delay: .52s; }
.d5 { transition-delay: .66s; }

/* fade-in alias */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── 5. SCROLL PROGRESS ────────────────────────────────────── */
#ed-prog {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--c-sage), var(--c-rose), var(--c-sage-lt));
  z-index: 9999; pointer-events: none;
  transition: width .1s linear;
}

/* ── 6. TOAST ──────────────────────────────────────────────── */
#ed-toast {
  position: fixed; bottom: 5.5rem; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--c-brown);
  color: var(--c-ivory);
  padding: .625rem 1.375rem;
  border-radius: 99px;
  font-size: .8125rem;
  font-family: var(--ed-sans);
  white-space: nowrap;
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: all .3s ease;
}
#ed-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── 7. FLOAT CONTROLS ─────────────────────────────────────── */
#ed-float {
  position: fixed; right: 1rem; bottom: 5%;;
  transform: translateY(-50%);
  z-index: 500;
  display: none; flex-direction: column; gap: .5rem;
}
.ed-fb {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-ivory);
  border: 1.5px solid var(--c-border);
  color: var(--c-brown3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(91,124,90,.12);
  transition: all .25s ease; cursor: pointer;
}
.ed-fb:hover { border-color: var(--c-sage); color: var(--c-sage); box-shadow: 0 4px 16px rgba(91,124,90,.2); }
.ed-fb.ed-fb-on { background: var(--c-sage-dim); border-color: var(--c-sage); color: var(--c-sage); }

/* ── 8. GATE / COVER ───────────────────────────────────────── */
#ed-gate {
  position: fixed; inset: 0; z-index: 8000;
  background: var(--c-cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
}
.ed-gate-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.45) saturate(.8);
  transition: filter .4s ease;
}
#ed-gate:hover .ed-gate-photo { filter: brightness(.4) saturate(.7); }
.ed-gate-photo-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(248,244,236,.2) 0%, rgba(248,244,236,.5) 50%, rgba(248,244,236,.75) 100%);
}

/* Botanical flora top/bottom */
.ed-gate-flora {
  position: absolute; left: 0; right: 0;
  z-index: 2; pointer-events: none;
}
.ed-gate-flora-top { top: 0; }
.ed-gate-flora-bot { bottom: 0; transform: scaleY(-1); }
.ed-gate-flora svg { width: 100%; display: block; }

/* Gate body */
.ed-gate-body {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 3rem 2.5rem;
}

.ed-gate-eyebrow {
  font-family: var(--ed-sans);
  font-size: .6875rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c-sage);
  margin-bottom: 1.5rem;
  opacity: 0; animation: edIn .8s ease .2s forwards;
}

.ed-gate-names {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  margin-bottom: 1.5rem;
  opacity: 0; animation: edIn .8s ease .4s forwards;
}
.ed-gate-name {
  font-family: var(--ed-script);
  font-size: 2.75rem; color: var(--c-brown);
  line-height: 1.1;
}
.ed-gate-amp {
  font-family: var(--ed-serif);
  font-size: .875rem; font-style: italic;
  color: var(--c-rose); line-height: 1.5;
}

.ed-gate-date {
  font-family: var(--ed-sans);
  font-size: .6875rem; letter-spacing: .2em;
  color: var(--c-brown3); text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .625rem;
  opacity: 0; animation: edIn .8s ease .6s forwards;
}
.ed-gate-date-dot { color: var(--c-sage); font-size: 1rem; }

.ed-gate-to {
  font-size: .75rem; color: var(--c-brown3);
  line-height: 1.7; margin-bottom: 1.75rem;
  opacity: 0; animation: edIn .8s ease .7s forwards;
}
.ed-gate-to strong { color: var(--c-brown2); font-weight: 700; }

.ed-gate-btn {
  display: inline-flex; align-items: center; gap: .625rem;
  padding: .75rem 2rem;
  background: var(--c-sage);
  border: 1.5px solid var(--c-sage);
  border-radius: 99px;
  color: white;
  font-family: var(--ed-sans);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
  transition: all .3s ease; box-shadow: 0 4px 20px rgba(91,124,90,.3);
  opacity: 0; animation: edIn .8s ease .85s forwards;
}
.ed-gate-btn:hover { background: var(--c-sage-lt); border-color: var(--c-sage-lt); box-shadow: 0 6px 28px rgba(91,124,90,.4); transform: translateY(-1px); }
.ed-gate-btn-leaf { width: 15px; height: 15px; }
.ed-gate-hint {
  font-size: .6875rem; color: var(--c-brown4);
  margin-top: .875rem; letter-spacing: .08em;
  opacity: 0; animation: edIn .8s ease 1s forwards;
}

@keyframes edIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── 9. BOTTOM NAV ─────────────────────────────────────────── */
#ed-nav {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: var(--max-w);
  z-index: 400; display: none;
  background: rgba(251,248,242,.94);
  border-top: 1.5px solid var(--c-sage-pale);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(91,124,90,.08);
}
.ed-nav-inner {
  display: flex; align-items: stretch;
  padding: 0 .25rem;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.ed-nb {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: .625rem .25rem; gap: .25rem;
  color: var(--c-brown4);
  font-family: var(--ed-sans);
  font-size: .5625rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s ease; cursor: pointer;
}
.ed-nb:hover { color: var(--c-sage); }
.ed-nb.active { color: var(--c-sage); }
.ed-nb.active svg { stroke: var(--c-sage); transform: translateY(-1px); }
.ed-nb svg { transition: transform .2s ease; }

/* ── 10. SECTION BASE ──────────────────────────────────────── */
.ed-sec { padding: 3.5rem 0 3rem; }
.ed-sec-inner { padding: 0 1.75rem; }
.ed-bg-cream     { background: var(--c-cream); }
.ed-bg-warm      { background: var(--c-warm); }
.ed-bg-sage-soft { background: var(--c-sage-soft); }

/* Section label — centered organic */
.ed-lbl {
  font-family: var(--ed-sans);
  font-size: .625rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c-sage);
  text-align: center; margin-bottom: 1rem;
}
.ed-ttl {
  font-family: var(--ed-serif);
  font-size: 1.6875rem; font-weight: 400;
  line-height: 1.35; color: var(--c-brown);
  text-align: center; margin-bottom: 2rem;
  letter-spacing: -.01em;
}
.ed-ttl em { font-style: italic; color: var(--c-sage); }

/* Botanical divider */
.ed-flora-div {
  display: flex; align-items: center; gap: .875rem;
  margin: 1.5rem 0;
}
.ed-fd-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}
.ed-fd-svg { width: 60px; height: 28px; flex-shrink: 0; }

/* ── 11. HERO ──────────────────────────────────────────────── */
.ed-hero {
  position: relative; height: 100vh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ed-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--c-warm);
  transition: transform 8s ease;
  transform: scale(1.04);
}
.ed-hero-placeholder {
  background: linear-gradient(140deg, var(--c-sage-pale), var(--c-rose-pale), var(--c-cream));
}
.ed-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248,244,236,.2) 0%,
    rgba(248,244,236,.15) 40%,
    rgba(248,244,236,.7) 80%,
    rgba(248,244,236,1) 100%
  );
}
.ed-hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 0 1.5rem;
  display: flex; flex-direction: column; align-items: center;
}
/* Arch frame SVG in hero */
.ed-hero-arch {
  position: absolute; width: 280px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none; z-index: 0;
}
.ed-hero-arch svg { width: 100%; height: 100%; overflow: visible; }
.ed-hero-eyebrow {
  position: relative; z-index: 1;
  font-family: var(--ed-sans);
  font-size: .625rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--c-sage);
  margin-bottom: 1.25rem;
}
.ed-hero-names {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .125rem;
  margin-bottom: 1.5rem;
}
.ed-hero-groom, .ed-hero-bride {
  font-family: var(--ed-script);
  font-size: 3.25rem; color: var(--c-brown);
  line-height: 1.0; letter-spacing: .01em;
}
.ed-hero-amp {
  font-family: var(--ed-serif);
  font-size: 1rem; font-style: italic;
  color: var(--c-rose); line-height: 1.6;
}
.ed-hero-date {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.ed-hero-date-inner {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--ed-sans);
  font-size: .6875rem; letter-spacing: .16em;
  color: var(--c-brown3); text-transform: uppercase;
  padding: .625rem 1.5rem;
  border: 1px solid var(--c-border);
  border-radius: 99px;
  background: rgba(248,244,236,.7);
  backdrop-filter: blur(4px);
}
.ed-hero-date-vr { width: 1px; height: 12px; background: var(--c-border); }

/* Scroll cue */
.ed-hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .375rem;
}
.ed-hero-scroll-txt {
  font-size: .5625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-brown4);
  font-family: var(--ed-sans);
}
.ed-hero-scroll-track {
  width: 20px; height: 36px;
  border: 1.5px solid var(--c-border);
  border-radius: 99px;
  display: flex; justify-content: center;
  padding-top: 5px;
}
.ed-hero-scroll-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-sage);
  animation: scrollBounce 1.6s ease infinite;
}
@keyframes scrollBounce {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── 12. OPENING ───────────────────────────────────────────── */
.ed-bismillah {
  font-family: var(--ed-serif);
  font-size: 1.75rem; color: var(--c-sage);
  margin-bottom: 1.5rem; line-height: 1.6;
  letter-spacing: .04em;
}
.ed-open-txt {
  font-family: var(--ed-serif);
  font-size: .9375rem; font-style: italic;
  color: var(--c-brown2); line-height: 2;
  max-width: 320px; margin: 0 auto 1.5rem;
}

/* ── 13. QUOTE ─────────────────────────────────────────────── */
.ed-quote-wrap {
  background: var(--c-sage-dim);
  border-left: 3px solid var(--c-sage);
  margin: 0; padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.ed-quote-leaf {
  position: absolute; right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 60px; pointer-events: none;
}
.ed-quote {
  font-family: var(--ed-serif);
  font-size: 1.0625rem; font-style: italic;
  color: var(--c-brown); line-height: 1.9;
  position: relative;
  padding-right: 3rem;
}
.ed-quote-src {
  display: block; font-size: .75rem;
  color: var(--c-sage); margin-top: .875rem;
  letter-spacing: .08em;
}

/* ── 14. COUPLE ────────────────────────────────────────────── */
.ed-couple-grid {
  display: flex; flex-direction: column; gap: 0;
}
.ed-person {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2rem 1.25rem;
}
.ed-person-photo-wrap {
  position: relative; width: 140px; height: 140px; margin-bottom: 1.25rem;
}
.ed-person-ring {
  position: absolute; inset: -8px; pointer-events: none;
}
.ed-person-ring svg { width: 100%; height: 100%; }
.ed-person-img {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--c-ivory);
  box-shadow: 0 4px 20px rgba(91,124,90,.15);
}
.ed-person-ini {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--c-sage-dim); border: 3px solid var(--c-ivory);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ed-serif); font-size: 3rem; color: var(--c-sage);
  box-shadow: 0 4px 20px rgba(91,124,90,.15);
}
.ed-ini-rose { background: var(--c-rose-dim); color: var(--c-rose); }
.ed-person-lbl {
  font-family: var(--ed-sans);
  font-size: .5625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-sage);
  margin-bottom: .375rem;
}
.ed-person-nick {
  font-family: var(--ed-script);
  font-size: 2.25rem; color: var(--c-brown);
  line-height: 1.1; margin-bottom: .25rem;
}
.ed-person-full {
  font-family: var(--ed-sans);
  font-size: .75rem; color: var(--c-brown3);
  letter-spacing: .04em; margin-bottom: .75rem;
}
.ed-person-par {
  font-size: .8125rem; color: var(--c-brown3);
  line-height: 1.7; margin-bottom: .5rem;
}
.ed-person-par strong { color: var(--c-brown2); font-weight: 700; }
.ed-person-bio {
  font-size: .8125rem; color: var(--c-brown3);
  line-height: 1.8; font-style: italic;
}
.ed-couple-amp {
  display: flex; justify-content: center; padding: .5rem 0;
}
.ed-amp-inner {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-rose-dim);
  border: 1.5px solid var(--c-rose-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ed-serif); font-style: italic;
  font-size: 1.375rem; color: var(--c-rose);
}

/* ── 15. LOVE STORY — Organic vertical timeline ────────────── */
.ed-story-txt {
  font-family: var(--ed-serif);
  font-size: .9375rem; font-style: italic;
  color: var(--c-brown2); line-height: 2;
  text-align: center; margin-bottom: 2rem;
}
.ed-timeline { padding: 0 1.75rem 1rem; }
.ed-tl-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 0;
}
.ed-tl-node {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 20px; padding-top: .25rem;
}
.ed-tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-sage);
  border: 2px solid var(--c-ivory);
  box-shadow: 0 0 0 2px var(--c-sage-pale);
  flex-shrink: 0;
}
.ed-tl-stem {
  width: 1.5px; flex: 1;
  background: linear-gradient(to bottom, var(--c-sage-pale), transparent);
  min-height: 40px; margin-top: 4px;
}
.ed-tl-card {
  flex: 1; background: var(--c-ivory);
  border: 1px solid rgba(91,124,90,.12);
  border-radius: 12px; padding: 1.125rem 1.25rem;
  margin-bottom: 1.25rem; min-width: 0;
  box-shadow: 0 2px 12px rgba(91,124,90,.07);
}
.ed-tl-year {
  font-family: var(--ed-sans);
  font-size: .5625rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-sage);
  margin-bottom: .25rem;
}
.ed-tl-icon {
  font-size: 1.25rem; margin-bottom: .5rem;
}
.ed-tl-ttl {
  font-family: var(--ed-serif);
  font-size: .9375rem; font-weight: 700;
  color: var(--c-brown); line-height: 1.4; margin-bottom: .375rem;
}
.ed-tl-dsc {
  font-size: .8125rem; color: var(--c-brown3); line-height: 1.7;
}

/* ── 16. EVENTS — Arch-top cards ───────────────────────────── */
.ed-event {
  background: var(--c-ivory);
  border-radius: 16px; overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 24px rgba(91,124,90,.1);
  border: 1px solid rgba(91,124,90,.1);
}
.ed-event-arch-top {
  display: block; margin-top: -1px;
  background: var(--c-warm);
}
.ed-event-arch-top svg { width: 100%; height: 48px; display: block; }
.ed-event-inner { padding: 1rem 1.5rem 1.625rem; }
.ed-event-emoji { font-size: 1.5rem; margin-bottom: .375rem; }
.ed-event-type {
  font-family: var(--ed-sans);
  font-size: .625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-sage);
  margin-bottom: .5rem;
}
.ed-event-hr {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--c-sage), var(--c-rose));
  border-radius: 2px; margin-bottom: 1.125rem;
}
.ed-event-row {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-bottom: .875rem;
}
.ed-event-ico { font-size: 1.125rem; flex-shrink: 0; margin-top: .125rem; }
.ed-event-val {
  font-family: var(--ed-serif);
  font-size: .9375rem; color: var(--c-brown); line-height: 1.4;
}
.ed-event-sub { font-size: .75rem; color: var(--c-brown3); margin-top: .125rem; }
.ed-maps-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  padding: .625rem 1.25rem;
  background: var(--c-sage);
  border-radius: 99px;
  color: white;
  font-family: var(--ed-sans);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 3px 14px rgba(91,124,90,.25);
}
.ed-maps-btn:hover { background: var(--c-sage-lt); transform: translateY(-1px); }
.ed-maps-embed { margin-top: 1rem; border-radius: 10px; overflow: hidden; }
.ed-maps-embed iframe { width: 100%; height: 200px; border: none; display: block; }

/* ── 17. COUNTDOWN ─────────────────────────────────────────── */
.ed-cd-flora { margin-bottom: 1rem; }
.ed-cd-flora svg { width: 200px; margin: 0 auto; display: block; }
.ed-cd-row {
  display: flex; align-items: center; justify-content: center;
  gap: .25rem; margin: 1.5rem 0;
}
.ed-cd-cell {
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
}
.ed-cd-num {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-ivory);
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  font-family: var(--ed-serif);
  font-size: 1.625rem; font-weight: 700;
  color: var(--c-sage);
  box-shadow: 0 2px 12px rgba(91,124,90,.1);
}
.ed-cd-lbl {
  font-family: var(--ed-sans);
  font-size: .5625rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-brown3);
}
.ed-cd-colon {
  font-family: var(--ed-serif);
  font-size: 1.5rem; color: var(--c-sage-pale);
  align-self: flex-start; margin-top: .875rem;
  font-weight: 700; line-height: 1;
}

/* ── 18. GALLERY — Polaroid style ──────────────────────────── */
.ed-polaroid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem 1.75rem 2rem;
}
.ed-polaroid {
  background: white;
  padding: .75rem .75rem .5rem;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(107,87,68,.12), 0 1px 4px rgba(107,87,68,.08);
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform .35s var(--tr), box-shadow .35s ease;
  position: relative;
  /* tape effect via ::before */
}
.ed-polaroid::before {
  content: '';
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 20px;
  background: rgba(201,139,139,.25);
  border-radius: 2px;
}
.ed-polaroid:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.03);
  box-shadow: 0 10px 32px rgba(107,87,68,.18), 0 2px 8px rgba(107,87,68,.1);
  z-index: 10;
}
.ed-polaroid-img {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; border-radius: 1px;
  background: var(--c-warm);
}
.ed-polaroid-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.ed-polaroid:hover .ed-polaroid-img img { transform: scale(1.06); }
.ed-polaroid-cap {
  font-family: var(--ed-sans);
  font-size: .6875rem; color: var(--c-brown3);
  text-align: center; padding: .5rem 0 .25rem;
  line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── 19. LIGHTBOX ──────────────────────────────────────────── */
#ed-lb {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(40,32,25,.94);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
#ed-lb.open { display: flex; }
#ed-lb-img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: 2px;
  box-shadow: 0 0 60px rgba(0,0,0,.4);
}
#ed-lb-x {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: white; font-size: 1.125rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease;
}
#ed-lb-x:hover { background: rgba(255,255,255,.2); }
#ed-lb-p, #ed-lb-n {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: white; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
#ed-lb-p { left: .75rem; }
#ed-lb-n { right: .75rem; }
#ed-lb-p:hover, #ed-lb-n:hover { background: rgba(255,255,255,.18); }
#ed-lb-cap {
  position: absolute; bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  font-size: .75rem; color: rgba(255,255,255,.5);
  white-space: nowrap; max-width: 90%;
  overflow: hidden; text-overflow: ellipsis;
}

/* ── 20. RUNDOWN ───────────────────────────────────────────── */
.ed-rd-list { display: flex; flex-direction: column; }
.ed-rd-item { display: flex; gap: .875rem; align-items: flex-start; padding: .75rem 0; }
.ed-rd-time {
  width: 52px; flex-shrink: 0; text-align: right;
  font-family: var(--ed-sans); font-size: .75rem; font-weight: 700;
  color: var(--c-sage); padding-top: .1875rem;
}
.ed-rd-node {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; gap: 3px; padding-top: .1875rem;
}
.ed-rd-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-rose); border: 2px solid var(--c-ivory);
  box-shadow: 0 0 0 2px var(--c-rose-pale);
}
.ed-rd-line {
  width: 1.5px; flex: 1;
  background: linear-gradient(to bottom, var(--c-rose-pale), transparent);
  min-height: 28px;
}
.ed-rd-ttl { font-family: var(--ed-serif); font-size: .9375rem; font-weight: 700; color: var(--c-brown); line-height: 1.4; }
.ed-rd-dsc { font-size: .8125rem; color: var(--c-brown3); line-height: 1.7; margin-top: .25rem; }

/* ── 21. FORMS ─────────────────────────────────────────────── */
.ed-form { display: flex; flex-direction: column; gap: 1rem; }
.ed-fg { display: flex; flex-direction: column; gap: .4375rem; }
.ed-lbl2 {
  font-family: var(--ed-sans);
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-brown3);
}
.ed-lbl2 small { font-weight: 400; text-transform: none; letter-spacing: 0; }
.ed-inp {
  width: 100%; padding: .75rem 1rem;
  background: var(--c-ivory);
  border: 1.5px solid rgba(91,124,90,.2);
  border-radius: 10px;
  color: var(--c-brown);
  font-size: .875rem; font-family: var(--ed-sans);
  outline: none; transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
}
.ed-inp:focus { border-color: var(--c-sage); box-shadow: 0 0 0 3px rgba(91,124,90,.1); }
.ed-inp::placeholder { color: var(--c-brown4); }
.ed-inp option { background: var(--c-ivory); }
.ed-attend-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ed-attend {
  padding: .75rem .5rem; text-align: center;
  background: var(--c-ivory);
  border: 1.5px solid rgba(91,124,90,.2); border-radius: 10px;
  color: var(--c-brown3);
  font-size: .8125rem; font-family: var(--ed-sans); font-weight: 700;
  cursor: pointer; transition: all .25s ease;
}
.ed-attend.active, .ed-attend:hover {
  border-color: var(--c-sage); background: var(--c-sage-dim);
  color: var(--c-sage);
}
.ed-submit {
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  padding: .875rem 1.5rem; width: 100%;
  background: var(--c-sage); border-radius: 99px;
  color: white;
  font-family: var(--ed-sans); font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 18px rgba(91,124,90,.25);
}
.ed-submit:hover { background: var(--c-sage-lt); box-shadow: 0 6px 24px rgba(91,124,90,.35); transform: translateY(-1px); }

/* ── 22. WISHES ────────────────────────────────────────────── */
.ed-wish {
  display: flex; gap: .875rem; padding: 1.125rem 0;
  border-bottom: 1px solid rgba(91,124,90,.1);
}
.ed-wish-av {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-sage-dim); border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ed-serif); font-size: 1rem; color: var(--c-sage);
}
.ed-wish-body { flex: 1; min-width: 0; }
.ed-wish-top {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: .375rem .75rem; margin-bottom: .375rem;
}
.ed-wish-name { font-family: var(--ed-serif); font-size: .9375rem; font-weight: 700; color: var(--c-brown); }
.ed-wish-rel { font-size: .6875rem; color: var(--c-sage); letter-spacing: .06em; }
.ed-wish-time { font-size: .6875rem; color: var(--c-brown4); margin-left: auto; }
.ed-wish-msg { font-size: .8125rem; color: var(--c-brown2); line-height: 1.75; }
.ed-loadmore {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .875rem; margin-top: 1.25rem;
  background: transparent;
  border: 1.5px solid var(--c-border); border-radius: 99px;
  color: var(--c-brown3); font-family: var(--ed-sans); font-size: .75rem; font-weight: 700;
  cursor: pointer; transition: all .25s ease;
}
.ed-loadmore:hover { border-color: var(--c-sage); color: var(--c-sage); background: var(--c-sage-dim); }

/* ── 23. GIFT ──────────────────────────────────────────────── */
.ed-tabs { display: flex; margin-bottom: 1.5rem; border-bottom: 1.5px solid rgba(91,124,90,.15); }
.ed-tab {
  flex: 1; padding: .75rem; text-align: center;
  font-family: var(--ed-sans); font-size: .6875rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-brown3);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: all .25s ease;
}
.ed-tab.active { color: var(--c-sage); border-bottom-color: var(--c-sage); }
.ed-hidden { display: none; }
.ed-bank {
  display: flex; align-items: center; gap: 1rem;
  background: var(--c-ivory);
  border: 1px solid rgba(91,124,90,.15); border-radius: 12px;
  padding: 1.125rem 1.375rem; margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(91,124,90,.07);
}
.ed-bank-left { flex: 1; min-width: 0; }
.ed-bank-nm {
  font-family: var(--ed-sans); font-size: .5625rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-sage); margin-bottom: .375rem;
}
.ed-bank-no {
  font-family: 'Courier New', monospace;
  font-size: 1.1875rem; color: var(--c-brown);
  letter-spacing: .1em; margin-bottom: .25rem;
}
.ed-bank-hd { font-size: .75rem; color: var(--c-brown3); }
.ed-copy {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .5rem 1rem; border-radius: 99px;
  background: var(--c-sage-dim); border: 1.5px solid var(--c-border);
  color: var(--c-sage); font-family: var(--ed-sans); font-size: .6875rem; font-weight: 700;
  cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.ed-copy:hover { background: var(--c-sage); color: white; }
.ed-addr {
  background: var(--c-ivory); border: 1px solid rgba(91,124,90,.15);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  font-size: .875rem; color: var(--c-brown2); line-height: 1.9;
}

/* ── 24. CONTACT ───────────────────────────────────────────── */
.ed-contact {
  display: flex; align-items: center; gap: 1rem;
  background: var(--c-ivory);
  border: 1px solid rgba(91,124,90,.15); border-radius: 12px;
  padding: 1.25rem 1.5rem; margin-bottom: 1.25rem;
}
.ed-contact-av { font-size: 1.5rem; flex-shrink: 0; }
.ed-contact-body { flex: 1; min-width: 0; }
.ed-contact-nm { font-family: var(--ed-serif); font-size: 1rem; font-weight: 700; color: var(--c-brown); }
.ed-contact-ph { font-size: .8125rem; color: var(--c-brown3); margin-top: .25rem; }
.ed-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5625rem .875rem;
  background: rgba(37,211,102,.12); border: 1.5px solid rgba(37,211,102,.25);
  border-radius: 99px; color: #25d366;
  font-size: .75rem; font-weight: 700; cursor: pointer;
  transition: background .25s ease; text-decoration: none;
}
.ed-wa:hover { background: rgba(37,211,102,.22); }
.ed-note {
  font-size: .8125rem; color: var(--c-brown3); line-height: 1.8;
  font-style: italic; padding: .875rem 0;
  border-top: 1px solid rgba(91,124,90,.1);
}

/* ── 25. HASHTAG ───────────────────────────────────────────── */
.ed-hashtag-wrap { display: flex; flex-direction: column; gap: .75rem; margin-top: 0; }
.ed-hashtag {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-ivory);
  border: 1.5px solid var(--c-border); border-radius: 99px;
  padding: .875rem 1.25rem; cursor: pointer;
  transition: all .2s ease;
}
.ed-hashtag:hover { border-color: var(--c-sage); background: var(--c-sage-dim); }
.ed-hashtag span {
  font-family: var(--ed-script);
  font-size: 1.25rem; color: var(--c-sage);
}
.ed-hashtag svg { color: var(--c-brown4); flex-shrink: 0; }

/* ── 26. CLOSING — Botanical wreath ───────────────────────── */
.ed-wreath {
  width: 200px; height: 200px;
  position: relative; margin: 0 auto 2rem;
  display: flex; align-items: center; justify-content: center;
}
.ed-wreath svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.ed-wreath-mono {
  position: relative; z-index: 1;
  font-family: var(--ed-script);
  font-size: 2.5rem; color: var(--c-brown);
  display: flex; align-items: center; gap: .25rem;
}
.ed-wreath-amp {
  font-family: var(--ed-serif);
  font-size: .875rem; font-style: italic;
  color: var(--c-rose);
  align-self: center;
}
.ed-close-txt {
  font-family: var(--ed-serif);
  font-size: .9375rem; font-style: italic;
  color: var(--c-brown2); line-height: 2;
  text-align: center; margin-bottom: 1.75rem;
  max-width: 300px; margin-left: auto; margin-right: auto;
}
.ed-close-names {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .625rem; margin-bottom: .875rem;
  font-family: var(--ed-script);
  font-size: 2.125rem; color: var(--c-brown);
  line-height: 1.1;
}
.ed-close-amp {
  font-family: var(--ed-serif);
  font-size: 1rem; font-style: italic; color: var(--c-rose);
}
.ed-close-date {
  font-family: var(--ed-sans);
  font-size: .6875rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-brown3);
  margin-bottom: 2rem;
}
.ed-close-share { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.ed-close-share-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem; border-radius: 99px;
  border: 1.5px solid var(--c-border);
  background: var(--c-ivory);
  color: var(--c-brown2); font-family: var(--ed-sans);
  font-size: .75rem; font-weight: 700;
  cursor: pointer; transition: all .25s ease;
}
.ed-close-share-btn:hover { border-color: var(--c-sage); color: var(--c-sage); background: var(--c-sage-dim); }
.ed-brand {
  margin-top: 2.5rem;
  font-size: .6875rem; color: var(--c-brown4);
  letter-spacing: .06em;
}
.ed-brand a { color: var(--c-brown3); text-decoration: underline; text-underline-offset: 3px; }

/* ── 27. SHARE SHEET ───────────────────────────────────────── */
#ed-share {
  position: fixed; inset: 0; z-index: 8500;
  background: rgba(40,32,25,.5);
  backdrop-filter: blur(6px);
  display: none; align-items: flex-end; justify-content: center;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
#ed-share-panel {
  background: var(--c-ivory); width: 100%; max-width: var(--max-w);
  border-radius: 20px 20px 0 0;
  padding: 1.75rem 1.75rem 2rem;
  border-top: 1px solid var(--c-border);
}
.ed-share-leaf { margin: -1rem -1.75rem 0; }
.ed-share-leaf svg { width: 100%; height: 40px; display: block; }
.ed-share-ttl {
  font-family: var(--ed-sans); font-size: .625rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-sage); text-align: center;
  margin-bottom: 1.5rem; margin-top: .5rem;
}
.ed-share-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; margin-bottom: 1.5rem; }
.ed-share-item {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: .875rem .375rem;
  background: var(--c-cream); border: 1px solid var(--c-border);
  border-radius: 12px; cursor: pointer;
  font-family: var(--ed-sans); font-size: .6875rem; color: var(--c-brown2);
  transition: border-color .2s ease;
}
.ed-share-item:hover { border-color: var(--c-sage); }
.ed-share-ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
}
.ed-ico-wa { background: rgba(37,211,102,.12); color: #25d366; }
.ed-ico-tg { background: rgba(42,171,238,.12); color: #29a8eb; }
.ed-ico-fb { background: rgba(59,89,152,.12);  color: #3b5998; }
.ed-ico-cp { background: var(--c-sage-dim); color: var(--c-sage); }
.ed-share-close {
  width: 100%; padding: .875rem;
  background: transparent; border: 1.5px solid var(--c-border);
  border-radius: 99px; color: var(--c-brown3);
  font-family: var(--ed-sans); font-size: .8125rem; font-weight: 700;
  cursor: pointer; transition: all .25s ease;
}
.ed-share-close:hover { border-color: var(--c-sage); color: var(--c-sage); background: var(--c-sage-dim); }

/* ── 28. INIT ──────────────────────────────────────────────── */
#ed-nav   { display: none; }
#ed-float { display: none; }

/* ── 29. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 380px) {
  .ed-hero-groom, .ed-hero-bride { font-size: 2.75rem; }
  .ed-gate-name { font-size: 2.25rem; }
  .ed-cd-num { width: 54px; height: 54px; font-size: 1.375rem; }
  .ed-share-grid { grid-template-columns: repeat(2,1fr); }
  .ed-close-names { font-size: 1.75rem; }
  .ed-wreath { width: 160px; height: 160px; }
  .ed-wreath-mono { font-size: 2rem; }
}
@media (max-width: 340px) {
  .ed-polaroid-grid { grid-template-columns: 1fr; }
}

#ed-nav{display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));}