/* ==============================================
   WEDDING WEBSITE — Antoni & Derika
   Design Direction: Luxury Botanical Elegance
   ============================================== */

/* ==============================================
   1. CSS CUSTOM PROPERTIES
   ============================================== */
:root {
  /* Color Palette — Rich Gold & Warm Ivory */
  --c-bg:           #F5E8C8;   /* warm golden ivory */
  --c-bg-alt:       #EDD898;   /* deeper amber-gold */
  --c-bg-dark:      #1C1005;
  --c-bg-dark-mid:  #281808;

  --c-text:         #2C1F14;
  --c-text-mid:     #6A5240;
  --c-text-muted:   #9A8068;
  --c-text-light:   rgba(255,255,255,0.88);
  --c-text-faint:   rgba(255,255,255,0.45);

  --c-gold:         #A87820;   /* boosted — richer gold */
  --c-gold-light:   #D4A050;   /* more vivid warm gold */
  --c-gold-pale:    #F4E6D0;
  --c-gold-vivid:   #E8BC6E;   /* bright accent */
  --c-gold-glow:    rgba(168,120,32,0.15); /* stronger glow */

  --c-rose:         #C08880;
  --c-divider:      #DDD0BC;
  --c-divider-dark: rgba(255,255,255,0.1);
  --c-placeholder:  #EDE4D4;

  /* Typography */
  --f-serif:  'Cormorant Garamond', 'Georgia', serif;
  --f-script: 'Pinyon Script', cursive;
  --f-sans:   'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  32px;
  --sp-lg:  60px;
  --sp-xl:  100px;
  --sp-2xl: 140px;

  /* Layout */
  --max-w:     1240px;
  --max-w-sm:  800px;
  --pad-x:     40px;

  /* Motion */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-both: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:  0.25s;
  --dur-med:   0.5s;
  --dur-slow:  0.8s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
img { display: block; max-width: 100%; height: auto; }
textarea { resize: vertical; }

/* ==============================================
   3. CINEMATIC INTRO OVERLAY
   ============================================== */

/* ── Lock scroll during intro ── */
html.intro-active,
body.intro-active {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100svh !important;
  touch-action: none !important; /* Disables swipe scrolling completely on mobile */
}

/* Enable touch-action for skip overlay so skip clicks/taps still work */
body.intro-active #intro-overlay {
  touch-action: auto !important;
}

/* ── Bring #hero above overlay during intro so text is shared ── */
body.intro-active #hero,
body.exiting #hero {
  z-index: 10000;
  position: relative;
  transform: translate3d(0, 0, 0); /* Force compositor layer to prevent 3D z-index bleed-through */
  backface-visibility: hidden;
}

/* Hide hero background components during intro */
body.intro-active:not(.exiting) #hero {
  background-color: transparent !important;
}
body.intro-active:not(.exiting) #hero .hero-bg-placeholder,
body.intro-active:not(.exiting) #hero .hero-overlay,
body.intro-active:not(.exiting) #hero .hero-botanical {
  opacity: 0;
  pointer-events: none;
}

/* Hide other interactive hero elements during intro */
body.intro-active:not(.exiting) #hero #countdown,
body.intro-active:not(.exiting) #hero .hero-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
}
body.intro-active:not(.exiting) #hero .hero-scroll {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(15px) !important;
  animation: none !important; /* Prevent CSS fadeIn keyframes from overriding opacity during intro */
}

/* Hide navbar during intro */
body.intro-active:not(.exiting) #navbar {
  opacity: 0;
  pointer-events: none;
}

/* Transition rules for when intro is closed or exiting */
body.exiting #hero .hero-bg-placeholder,
body.exiting #hero .hero-overlay,
body.exiting #hero .hero-botanical,
body:not(.intro-active) #hero .hero-bg-placeholder,
body:not(.intro-active) #hero .hero-overlay,
body:not(.intro-active) #hero .hero-botanical {
  opacity: 1;
  transition: opacity 2.9s cubic-bezier(0.25, 1, 0.5, 1);
}

body.exiting #navbar,
body:not(.intro-active) #navbar {
  opacity: 1;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s;
}

/* ── Full-screen overlay ── */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #060403;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* No transition on background-color to keep it solid #060403 during cross-fade */
}
#intro-overlay.exiting {
  pointer-events: none;
}
#intro-overlay.gone {
  display: none;
}

/* Premium Vignette Backdrop */
.intro-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1b120c 0%, #060403 100%);
  opacity: 1;
  z-index: 1;
  transition: opacity 2.9s cubic-bezier(0.25, 1, 0.5, 1);
}
#intro-overlay.exiting .intro-bg-vignette {
  opacity: 0;
}

/* Fine Film Grain Texture */
.intro-bg-grain {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
  transition: opacity 2.9s cubic-bezier(0.25, 1, 0.5, 1);
}
#intro-overlay.exiting .intro-bg-grain {
  opacity: 0;
}

/* ── Rose canvas INSIDE overlay (fullscreen, bright) ── */
#rose-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s ease;
}
#rose-bg-canvas.intro-visible {
  opacity: 1;
}
/* Lower rose opacity to 0.85 when writing animation begins */
#rose-bg-canvas.intro-visible.write-active {
  opacity: 0.65;
}
/* Smoothly transition opacity from 1.0 to 0.22 during exit */
#intro-overlay.exiting #rose-bg-canvas {
  opacity: 0.22;
  transition: opacity 2.9s cubic-bezier(0.25, 1, 0.5, 1);
}
/* After intro: shrink to ambient background */
#rose-bg-canvas.bg-mode {
  position: fixed;
  z-index: 1; /* Render above solid section backgrounds but below content */
  opacity: 0;
  transition: opacity 2.5s ease 0.5s;
}
#rose-bg-canvas.bg-mode.bg-visible {
  opacity: 0.22;
}

/* Ensure section content stacks above the fixed background canvas */
.container,
.kisah-sticky,
.location-grid,
.footer-inner {
  position: relative;
  z-index: 2;
}

/* ── Loading ring ── */
#intro-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: opacity 0.8s ease;
}
#intro-loader.hidden { opacity: 0; pointer-events: none; }

.intro-loader-ring {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(212, 160, 80, 0.2);
  border-top-color: rgba(212, 160, 80, 0.8);
  border-radius: 50%;
  animation: introSpin 1.2s linear infinite;
}
@keyframes introSpin { to { transform: rotate(360deg); } }

/* ── Intro text block ── */
#intro-text {
  position: relative;
  z-index: 5;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
}
#intro-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-line {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: rgba(212, 160, 80, 0.6);
  margin-bottom: 18px;
}

.intro-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* Name write animation — clip-path left→right */
.intro-name-wrap {
  display: inline-block;
  overflow: hidden;
}
.intro-name {
  display: inline-block;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  letter-spacing: 3px;
  background: linear-gradient(110deg, #fff 30%, #d4a050 50%, #fff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(212,160,80,0.4));

  clip-path: inset(0 100% 0 0);
  transition: none;
}
.intro-name.writing {
  animation: introWrite 0.6s cubic-bezier(0.22, 0.8, 0.36, 1) forwards,
             introSheen 3s ease-in-out 0.8s infinite;
}
.intro-name.writing-bride {
  animation: introWrite 0.5s cubic-bezier(0.22, 0.8, 0.36, 1) forwards,
             introSheen 3s ease-in-out 0.8s infinite;
  animation-delay: 0s, 1.5s;
  clip-path: inset(0 100% 0 0);
}
@keyframes introWrite {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 -4% 0 0); }
}
@keyframes introSheen {
  0%   { background-position: 200% center; }
  60%, 100% { background-position: -200% center; }
}

.intro-amp {
  font-family: var(--f-script);
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--c-gold-light);
  opacity: 0;
  line-height: 1;
  margin: 4px 0;
  display: block;
  transition: opacity 0.8s ease;
  filter: drop-shadow(0 0 12px rgba(212,160,80,0.5));
}
.intro-amp.visible { opacity: 1; }

.intro-date {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(212, 160, 80, 0.55);
  margin-top: 24px;
  opacity: 0;
  transition: opacity 1s ease;
}
.intro-date.visible { opacity: 1; }

.intro-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,160,80,0.5), transparent);
  margin: 20px auto 0;
  transition: width 1.5s ease;
}
.intro-rule.visible { width: 160px; }

/* ── Skip hint ── */
#intro-skip {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(212, 160, 80, 0.35);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 5;
  animation: skipPulse 2.5s ease-in-out 3s infinite;
}
#intro-skip.visible { opacity: 1; }
@keyframes skipPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.7; }
}

/* ==============================================
   4. FLOATING PETALS
   ============================================== */

#petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -30px;
  will-change: transform;
  animation: petalDrift linear infinite;
}

.petal svg {
  animation: petalSpin linear infinite;
}

@keyframes petalDrift {
  0%   { transform: translateY(0)      translateX(0);    opacity: 0; }
  5%   { opacity: 0.7; }
  95%  { opacity: 0.4; }
  100% { transform: translateY(110vh)  translateX(40px); opacity: 0; }
}

@keyframes petalSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ==============================================
   4. TYPOGRAPHY UTILITIES
   ============================================== */
.section-eyebrow {
  display: block;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.section-eyebrow--light { color: rgba(196, 144, 74, 0.9); }

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--c-text);
}

.section-title--light { color: #fff; }

.section-rule-center {
  width: 50px;
  height: 1px;
  background: var(--c-gold);
  margin: 28px auto 0;
  opacity: 0.7;
}

.section-rule-center--light {
  background: rgba(255,255,255,0.4);
}

.section-sub {
  margin-top: 20px;
  font-size: 14px;
  color: var(--c-text-muted);
  letter-spacing: 0.3px;
}

.section-sub strong { color: var(--c-text-mid); font-weight: 400; }

/* ==============================================
   5. LAYOUT
   ============================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

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

.section--alt { background-color: var(--c-bg-alt); }
.section--dark { background-color: var(--c-bg-dark); }

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

/* ==============================================
   6. IMAGE PLACEHOLDERS
   ============================================== */
.img-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--c-placeholder);
  border: 1.5px dashed var(--c-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(155, 106, 30, 0.04) 100%
  );
  pointer-events: none;
}

.img-placeholder:hover {
  border-color: var(--c-gold);
}

.img-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--c-text-muted);
  text-align: center;
  padding: 20px;
}

.img-placeholder-inner svg {
  opacity: 0.45;
  color: var(--c-gold);
}

.img-placeholder-inner span {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

.img-placeholder--story {
  height: 320px;
}

.img-placeholder--gallery {
  height: 100%;
  min-height: 200px;
}

/* ==============================================
   7. NAVBAR
   ============================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 22px 0;
  transition:
    background var(--dur-slow) var(--ease-out),
    backdrop-filter var(--dur-slow) var(--ease-out),
    padding var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out);
}

#navbar.is-scrolled {
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 1px 0 var(--c-divider);
  padding: 14px 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.95);
  transition: color var(--dur-med);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-amp {
  font-family: var(--f-script);
  font-size: 1.4rem;
  color: var(--c-gold-vivid);
  display: inline-block;
  transform: translateY(2px);
}

#navbar.is-scrolled .nav-brand { color: var(--c-text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color var(--dur-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--c-gold-light);
  transition: right var(--dur-med) var(--ease-out);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }

#navbar.is-scrolled .nav-links a { color: var(--c-text-muted); }
#navbar.is-scrolled .nav-links a:hover { color: var(--c-gold); }

.nav-rsvp {
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding: 8px 20px !important;
  border-radius: 0 !important;
  transition: all var(--dur-fast) !important;
}

.nav-rsvp:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

#navbar.is-scrolled .nav-rsvp {
  border-color: var(--c-divider) !important;
  color: var(--c-gold) !important;
}

#navbar.is-scrolled .nav-rsvp:hover {
  background: var(--c-gold-glow) !important;
  border-color: var(--c-gold) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: transparent;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.85);
  transition: all var(--dur-fast);
}

#navbar.is-scrolled .nav-toggle span { background: var(--c-text); }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==============================================
   8. HERO
   ============================================== */
#hero {
  position: relative;
  z-index: 5;
  height: 100svh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #060403; /* Dark background to prevent bright body background flash when overlay is gone */
}

/* Background — swap for <img> later */
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg-grain {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

/* Botanical line art overlays */
.hero-botanical {
  position: absolute;
  bottom: 0;
  width: 260px;
  height: 400px;
  z-index: 1;
  pointer-events: none;
}

.hero-botanical--left  { left: -20px; }
.hero-botanical--right { right: -20px; transform: scaleX(-1); }

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 11, 3, 0.65) 0%,
    rgba(20, 11, 3, 0.72) 45%,
    rgba(20, 11, 3, 0.9) 100%
  );
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 var(--pad-x);
  max-width: 900px;
  text-shadow: 0 2px 14px rgba(28, 16, 5, 0.95);
  transform: translate3d(0, 0, 0); /* Force compositor layer to prevent 3D z-index bleed-through */
  backface-visibility: hidden;
}

/* Animated elements */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
}

.start-hero .animate-up {
  animation: heroFadeUp 1.1s var(--ease-out) var(--delay, 0s) forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-pre {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.hero-groom,
.hero-bride {
  display: block;
  line-height: 1.05;
  font-family: var(--f-serif); /* Restore Cormorant Garamond italic serif */
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 3px;
  opacity: 1 !important; /* Keep names bright at all times */
}

/* ── Writing animation wrapper ─────────────────── */
.hero-write-wrap {
  display: inline-block;
  position: relative;
}

.hero-write-word-wrap {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  margin: 0 4px; /* smaller spacing for serif */
}

/* The actual name text: clipped from right, reveals left→right */
.hero-write-name {
  display: inline-block;
  /* Rich premium gold linear gradient */
  background: linear-gradient(
    105deg,
    #FFF4D6 0%,
    #E6B860 30%,
    #B88E30 55%,
    #E6B860 80%,
    #FFF4D6 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Start fully clipped (hidden), reveal left→right */
  clip-path: inset(0 100% 0 0);
}

/* --- Intro active state rules for shared text --- */
body.intro-active .hero-pre,
body.intro-active .hero-script,
body.intro-active .hero-rule,
body.intro-active .hero-date {
  opacity: 0;
  transform: none !important;
  transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1);
}
body.intro-active .hero-pre.visible,
body.intro-active .hero-script.visible,
body.intro-active .hero-rule.visible,
body.intro-active .hero-date.visible {
  opacity: 1;
}

body:not(.intro-active) .hero-pre,
body:not(.intro-active) .hero-script,
body:not(.intro-active) .hero-rule,
body:not(.intro-active) .hero-date {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Writing animation triggered by .writing class */
.hero-write-name.writing {
  animation: writeReveal var(--write-dur, 0.7s) var(--write-ease, cubic-bezier(0.22, 0.8, 0.36, 1)) forwards;
}
.hero-write-name.writing + .hero-pen {
  animation: penMove var(--write-dur, 0.7s) var(--write-ease, cubic-bezier(0.22, 0.8, 0.36, 1)) forwards;
}

@keyframes writeReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 -4%  0 0); }
}

@keyframes penMove {
  0%   { left: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

body:not(.intro-active) .hero-write-name {
  clip-path: none !important;
  opacity: 1 !important;
}
body:not(.intro-active) .hero-pen {
  display: none !important;
}

/* ── Pen cursor dot ────────────────────────────── */
.hero-pen {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, #f3dec9 30%, rgba(243,222,201,0) 80%);
  box-shadow: 0 0 8px 4px rgba(243,222,201,0.55);
  pointer-events: none;
  opacity: 0;
}


/* Keep for other uses */
.hero-name-shiny {
  display: inline-block;
  color: #ffffff;
}

.hero-script {
  font-family: var(--f-script);
  font-size: clamp(3rem, 9vw, 8rem);
  color: var(--c-gold-light);
  line-height: 0.95;
  margin: 4px 0;
  display: block;
}

.hero-rule {
  width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
  margin: 30px auto;
}

.hero-date {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 44px;
}

/* Countdown */
#countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 86px;
}

.count-num {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1;
  display: block;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(28, 16, 5, 0.9);
}

.count-label {
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: block;
}

.count-colon {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1;
  color: rgba(255,255,255,0.65);
  padding: 2px 4px 24px;
  align-self: flex-start;
}

/* CTA Button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 16px 42px;
  transition:
    background var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out),
    letter-spacing var(--dur-med) var(--ease-out);
}

.hero-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  letter-spacing: 6px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.8s forwards;
}

@keyframes fadeIn {
  to { opacity: 0.5; }
}

.hero-scroll-label {
  font-family: var(--f-sans);
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  writing-mode: horizontal-tb;
  text-shadow: 0 1px 4px rgba(28, 16, 5, 0.85);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollBob 2.2s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}

/* ==============================================
   9. PEMBUKA (QUOTE)
   ============================================== */
#pembuka {
  padding: var(--sp-xl) var(--pad-x);
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

#pembuka::before,
#pembuka::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--c-gold-glow);
  filter: blur(60px);
  pointer-events: none;
}

#pembuka::before { top: -60px; left: -60px; }
#pembuka::after  { bottom: -60px; right: -60px; }

.quote-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-ornament {
  width: 60px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.quote-text {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--c-text);
  margin-bottom: 28px;
}

.quote-ornament-rule {
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  margin: 0 auto 22px;
  opacity: 0.6;
}

.quote-cite {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-gold);
  font-style: normal;
}

/* ==============================================
   10. PENGANTIN (COUPLE)
   ============================================== */
#pengantin {
  padding: var(--sp-xl) 0;
  background: var(--c-bg-alt);
}

.couple-grid {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: start;
  gap: 0;
}

.couple-card {
  text-align: center;
}

/* Photo frame */
.couple-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.couple-photo-frame {
  position: relative;
  width: 230px;
  height: 290px;
  z-index: 2;
}

.couple-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.couple-photo-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(155,106,30,0.25);
  pointer-events: none;
  transition: transform var(--dur-med) var(--ease-out);
}

.couple-card:hover .couple-photo-frame::before {
  transform: translate(6px, 6px);
}

.couple-photo-frame .img-placeholder {
  height: 100%;
}

/* Info */
.couple-name {
  font-family: var(--f-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.couple-parents {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--c-text-muted);
  line-height: 1.9;
}

.couple-parents strong {
  color: var(--c-text-mid);
  font-weight: 400;
}

/* Separator */
.couple-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 160px;
}

.couple-sep-line {
  width: 1px;
  flex: 1;
  max-height: 70px;
  background: var(--c-divider);
}

.couple-sep-amp {
  font-family: var(--f-script);
  font-size: 4rem;
  color: var(--c-gold);
  line-height: 1;
  margin: 12px 0;
  text-shadow: 0 2px 20px rgba(155,106,30,0.2);
}

/* ==============================================
   11. STORY TIMELINE — Scroll-driven Pinned version
   ============================================== */
.kisah-section {
  position: relative;
  height: 650vh; /* extended scroll distance for sequential animation and prolonged settled reading */
  background: var(--c-bg);
}

.kisah-botanical-svg {
  position: absolute;
  top: 80px;
  right: -20px;
  width: 130px;
  height: 360px;
  pointer-events: none;
  z-index: 1;
}

.kisah-botanical-svg--left {
  right: auto;
  left: -20px;
  transform: scaleX(-1);
}

.kisah-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0;
  z-index: 2;
}

/* Scroll hint guide */
.kisah-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-text-muted);
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 15;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.kisah-scroll-arrow {
  font-size: 14px;
  color: var(--c-gold-light);
  animation: hintBob 1.6s ease-in-out infinite;
}

@keyframes hintBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.kisah-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.kisah-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.kisah-media-frame {
  position: relative;
  justify-self: center;
  width: 250px;
  height: 310px;
  z-index: 2;
}

.kisah-media-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(155, 106, 30, 0.25);
  pointer-events: none;
  z-index: 10;
  transition: transform var(--dur-med) var(--ease-out);
}

.kisah-split:hover .kisah-media-frame::before {
  transform: translate(6px, 6px);
}

.kisah-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(0.94) rotate(-1.5deg);
  z-index: 1;
}

.kisah-slide-img.is-active {
  opacity: var(--local-img-opacity, 1);
  transform: scale(var(--local-img-scale, 1)) rotate(var(--local-img-rotate, 0deg));
  z-index: 2;
}

.kisah-text-frame {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.kisah-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kisah-slide-content.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
}

.kisah-slide-content .timeline-year,
.kisah-slide-content .timeline-title,
.kisah-slide-content .timeline-desc {
  opacity: 0;
  transform: translateY(24px);
}

.kisah-slide-content.is-active .timeline-year {
  opacity: var(--local-y-opacity, 1);
  transform: translateY(var(--local-y-translate, 0px));
}

.kisah-slide-content.is-active .timeline-title {
  opacity: var(--local-t-opacity, 1);
  transform: translateY(var(--local-t-translate, 0px));
}

.kisah-slide-content.is-active .timeline-desc {
  opacity: var(--local-d-opacity, 1);
  transform: translateY(var(--local-d-translate, 0px));
}

.timeline-year {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--c-gold-vivid) !important;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.timeline-title {
  font-family: var(--f-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 14px;
  line-height: 1.25;
}

.timeline-desc {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--c-text-muted);
  line-height: 1.85;
}

.kisah-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.kisah-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-divider);
  transition: all 0.35s ease;
  cursor: pointer;
}

.kisah-dot.is-active {
  background: var(--c-gold);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(168, 120, 32, 0.25);
}

@media (max-width: 768px) {
  .kisah-section {
    height: 580vh;
  }

  .kisah-sticky {
    padding: 30px 0;
  }

  .kisah-split {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
  }

  .kisah-media-frame {
    width: 200px;
    height: 250px;
  }

  .kisah-text-frame {
    min-height: 200px;
    text-align: center;
  }

  .kisah-slide-content {
    align-items: center;
  }
}

/* ==============================================
   12. EVENTS / ACARA
   ============================================== */
#acara {
  padding: var(--sp-xl) 0;
  background: var(--c-bg-dark);
  position: relative;
  overflow: hidden;
}

/* Radial ambient glow */
#acara::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(155,106,30,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.events-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.event-card {
  background: var(--c-bg-dark-mid);
  padding: 64px 52px;
  text-align: center;
  transition: background var(--dur-med) var(--ease-out);
  position: relative;
}

.event-card:hover { background: rgba(255,255,255,0.04); }

/* Subtle corner accents */
.event-card::before,
.event-card::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(155,106,30,0.3);
  border-style: solid;
}

.event-card::before {
  top: 20px;
  left: 20px;
  border-width: 1px 0 0 1px;
}

.event-card::after {
  bottom: 20px;
  right: 20px;
  border-width: 0 1px 1px 0;
}

.event-icon {
  margin-bottom: 30px;
  color: var(--c-gold-light);
  display: flex;
  justify-content: center;
}

.event-title {
  font-family: var(--f-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

.event-time-wrap { margin-bottom: 26px; }

.event-day {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.event-time {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--c-gold-light);
  letter-spacing: 1px;
}

.event-divider {
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto 26px;
}

.event-venue {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
}

.event-addr {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
  line-height: 1.6;
}

.event-link {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--c-gold-light);
  border: 1px solid rgba(196,144,74,0.35);
  padding: 11px 30px;
  transition:
    background var(--dur-fast),
    border-color var(--dur-fast),
    letter-spacing var(--dur-med) var(--ease-out);
}

.event-link:hover {
  background: rgba(196,144,74,0.1);
  border-color: var(--c-gold-light);
  letter-spacing: 5px;
}

/* ==============================================
   13. GALLERY
   ============================================== */
#galeri {
  padding: var(--sp-xl) 0;
  background: var(--c-bg);
}

#galeri .container {
  margin-bottom: var(--sp-lg);
}

.gallery-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 5px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .img-placeholder--gallery {
  transition: all var(--dur-slow) var(--ease-out);
}

.gallery-item:hover .img-placeholder--gallery {
  border-color: var(--c-gold);
  background: rgba(155,106,30,0.04);
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

/* ==============================================
   14. RSVP
   ============================================== */
#rsvp {
  padding: var(--sp-xl) 0;
  background: var(--c-bg-alt);
}

.rsvp-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.rsvp-form {
  background: var(--c-bg);
  padding: 56px 60px;
  border: 1px solid var(--c-divider);
  position: relative;
}

/* Corner decorations */
.rsvp-form::before,
.rsvp-form::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(155,106,30,0.2);
  border-style: solid;
}

.rsvp-form::before { top: 18px; left: 18px; border-width: 1px 0 0 1px; }
.rsvp-form::after  { bottom: 18px; right: 18px; border-width: 0 1px 1px 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group--full { margin-bottom: 24px; }

.form-group label {
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-divider);
  border-radius: 0;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--c-text-muted);
  font-style: italic;
  font-size: 13px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(155,106,30,0.08);
  outline: none;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  cursor: pointer;
  padding-right: 40px;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--c-text-muted);
  pointer-events: none;
}

.form-group textarea {
  min-height: 130px;
  line-height: 1.7;
}

.form-submit {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-gold);
  border: 1px solid var(--c-gold);
  padding: 16px 52px;
  cursor: pointer;
  transition:
    background var(--dur-med) var(--ease-out),
    letter-spacing var(--dur-med) var(--ease-out),
    gap var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
}

.btn-submit:hover::before { transform: translateX(0); }

.btn-submit:hover {
  background: var(--c-gold-light);
  letter-spacing: 6px;
  gap: 20px;
}

.btn-submit:active { transform: scale(0.99); }

.btn-icon { font-size: 14px; }

/* Success state */
.rsvp-success {
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--c-divider);
  background: var(--c-bg);
}

.success-icon {
  font-size: 2.5rem;
  color: var(--c-gold);
  display: block;
  margin-bottom: 24px;
  animation: successPop 0.5s var(--ease-out);
}

@keyframes successPop {
  0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
  60%  { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.rsvp-success h3 {
  font-family: var(--f-serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.rsvp-success p {
  font-size: 14px;
  color: var(--c-text-muted);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.9;
}

.hidden { display: none !important; }

/* ==============================================
   15. LOCATION
   ============================================== */
#lokasi {
  padding: var(--sp-xl) 0;
  background: var(--c-bg);
}

.location-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-card {
  text-align: center;
}

.location-badge {
  font-family: var(--f-serif);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--c-gold);
  border: 1px solid rgba(155,106,30,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.location-title {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--c-text);
}

.location-name {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.location-addr {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

.location-time {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--c-text-muted);
  margin-bottom: 20px;
}

.location-map-btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
  border-bottom: 1px solid rgba(155,106,30,0.4);
  padding-bottom: 3px;
  margin-bottom: 28px;
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast);
}

.location-map-btn:hover {
  color: var(--c-gold-light);
  border-color: var(--c-gold-light);
}

.map-embed-placeholder {
  height: 280px;
  border: 1.5px dashed var(--c-divider);
  background: var(--c-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-med);
}

.map-embed-placeholder:hover { border-color: var(--c-gold); }

.map-embed-placeholder .img-placeholder-inner {
  color: var(--c-text-muted);
}

.map-embed-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==============================================
   16. FOOTER
   ============================================== */
#footer {
  background: var(--c-bg-dark);
  padding: var(--sp-2xl) var(--pad-x) 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(155,106,30,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.footer-botanical {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  opacity: 0.6;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-name-script {
  font-family: var(--f-script);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: #fff;
  display: block;
  text-shadow: 0 2px 30px rgba(155,106,30,0.2);
}

.footer-amp {
  font-family: var(--f-script);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--c-gold-light);
  display: block;
}

.footer-date {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
}

.footer-ornament {
  font-size: 0.65rem;
  letter-spacing: 8px;
  color: var(--c-gold);
  margin-bottom: 30px;
  opacity: 0.7;
}

.footer-verse {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

.footer-verse em {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
  display: block;
  margin-top: 10px;
  color: var(--c-gold);
  opacity: 0.8;
}

.footer-rule {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 30px;
}

.footer-credit {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.15);
}

/* ==============================================
   17. SCROLL REVEAL
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   18. RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }

  .timeline-item--left,
  .timeline-item--right {
    grid-template-columns: 1fr 20px 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root { --pad-x: 24px; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(251, 246, 238, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 800;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    color: var(--c-text-muted) !important;
    font-size: 12px !important;
    letter-spacing: 4px !important;
  }

  .nav-links a:hover { color: var(--c-gold) !important; }

  .nav-rsvp {
    border-color: var(--c-divider) !important;
    color: var(--c-gold) !important;
  }

  .nav-toggle { display: flex; z-index: 901; }

  /* Couple */
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .couple-sep {
    flex-direction: row;
    padding: 30px 0;
    justify-content: center;
  }

  .couple-sep-line {
    width: 60px;
    height: 1px;
    flex: none;
  }

  /* Timeline */
  .timeline-spine { display: none; }

  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-item--right .timeline-img-wrap { grid-column: 1; grid-row: 1; }
  .timeline-item--right .timeline-dot      { grid-column: 1; grid-row: 2; }
  .timeline-item--right .timeline-content  { grid-column: 1; grid-row: 3; text-align: left; }
  .timeline-item--left .timeline-dot       { display: none; }
  .timeline-item--right .timeline-dot      { display: none; }

  .timeline-item--left .timeline-img-wrap  { order: 0; }
  .timeline-item--left .timeline-content   { order: 1; }

  /* Events */
  .events-grid {
    grid-template-columns: 1fr;
    background: none;
    gap: 2px;
  }

  .event-card { padding: 50px 36px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 220px 220px;
  }

  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: auto; }

  /* RSVP */
  .rsvp-form {
    padding: 40px 28px;
  }

  .form-row { grid-template-columns: 1fr; gap: 18px; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }

  #hero { min-height: 100svh; }

  .hero-botanical { display: none; }

  .count-block { min-width: 60px; }
  .count-num    { font-size: 2rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }

  .gallery-item--wide { grid-column: 1; }

  .rsvp-form { padding: 30px 20px; }

  #footer { padding: 90px 24px 50px; }
}

/* ==============================================
   19. UTILITIES / ACCESSIBILITY
   ============================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

  .animate-up { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  #petals-container { display: none; }
}

/* ==============================================
   20. SCROLL PROGRESS BAR
   ============================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(
    to right,
    var(--c-gold) 0%,
    var(--c-gold-light) 60%,
    #F4E6D0 100%
  );
  z-index: 1100;
  transition: width 0.08s linear;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(196, 144, 74, 0.5);
}

/* ==============================================
   21. DIRECTIONAL REVEAL VARIANTS
   ============================================== */

/* Slide from left */
.reveal--left {
  transform: translateX(-60px) translateY(0) !important;
}

/* Slide from right */
.reveal--right {
  transform: translateX(60px) translateY(0) !important;
}

/* Scale up from slightly smaller */
.reveal--scale {
  transform: scale(0.88) translateY(16px) !important;
}

/* When visible — all variants converge to natural state */
.reveal.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1) !important;
}

/* ==============================================
   22. WORD-BY-WORD TEXT REVEAL
   ============================================== */
.js-split-text {
  overflow: visible;
}

.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* small gap fix */
  margin-bottom: -0.1em;
  padding-bottom: 0.1em;
}

.word {
  display: inline-block;
  transform: translateY(105%);
  transition:
    transform 0.75s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1))
    calc(var(--word-i, 0) * 80ms);
  will-change: transform;
}

/* Triggered when parent section-header gets .is-visible */
.section-header.is-visible .word,
.reveal.is-visible .word {
  transform: translateY(0);
}

/* ==============================================
   23. MUSIC PLAYER
   ============================================== */
.music-player {
  position: fixed;
  bottom: 36px;
  left: 36px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Pulse rings — visible only when playing */
.music-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--c-gold-light);
  opacity: 0;
  pointer-events: none;
  z-index: 0;        /* behind icons (z-index: 1), above button bg */
  transition: opacity 0.4s;
}

.music-player.is-playing .music-ring--1 {
  opacity: 1;
  animation: ringPulse 2.6s ease-out infinite;
}

.music-player.is-playing .music-ring--2 {
  opacity: 1;
  animation: ringPulse 2.6s ease-out 1.3s infinite;
}

@keyframes ringPulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* ── Water-drop beat ripples (spawned by JS) ── */
.water-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  will-change: transform, opacity;
  animation: waterDrop linear forwards;
  transform-origin: center;
}

@keyframes waterDrop {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: var(--ripple-opacity, 0.85);
    border-width: var(--ripple-border, 1.5px);
    border-style: solid;
    border-color: rgba(196, 144, 74, 0.85);
    width: 52px;
    height: 52px;
  }
  40% {
    border-color: rgba(220, 175, 100, 0.5);
    opacity: calc(var(--ripple-opacity, 0.85) * 0.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(var(--ripple-scale, 3.4));
    opacity: 0;
    border-color: rgba(196, 144, 74, 0);
    width: 52px;
    height: 52px;
  }
}

/* Main button */
.music-btn {
  position: relative;
  z-index: 1;
  overflow: visible;  /* allow rings + ripples to expand beyond circle */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(44, 32, 22, 0.85);
  border: 1px solid rgba(196, 144, 74, 0.5);
  color: var(--c-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--dur-fast, 0.25s),
    border-color var(--dur-fast, 0.25s),
    transform var(--dur-fast, 0.25s),
    box-shadow var(--dur-fast, 0.25s);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.music-btn:hover {
  background: rgba(44, 32, 22, 0.95);
  border-color: var(--c-gold-light);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(155, 106, 30, 0.3);
}

.music-btn:active { transform: scale(0.96); }

/* Vinyl spin when playing */
.music-player.is-playing .music-btn {
  animation: vinylSpin 8s linear infinite;
}

@keyframes vinylSpin {
  from { border-width: 1px; }
  25%  { border-width: 2px; }
  50%  { border-width: 1px; }
  75%  { border-width: 2px; }
  to   { border-width: 1px; }
}

/* Subtle rotating border glow when playing */
.music-player.is-playing .music-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    var(--c-gold-light) 0deg,
    transparent 180deg,
    var(--c-gold) 360deg
  );
  animation: borderSpin 3s linear infinite;
  z-index: -1;
  opacity: 0.6;
}

@keyframes borderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.music-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.music-icon.hidden { display: none; }

/* Label */
.music-label {
  font-family: var(--f-sans, sans-serif);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(44, 32, 22, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border: 1px solid rgba(196, 144, 74, 0.2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.35s var(--ease-out, ease),
    transform 0.35s var(--ease-out, ease);
}

.music-player:hover .music-label {
  opacity: 1;
  transform: translateX(0);
}

/* No-audio hint when file missing */
.music-player.no-audio .music-btn {
  opacity: 0.45;
  cursor: not-allowed;
}

.music-player.no-audio .music-btn:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==============================================
   24. ENHANCED HERO FLOAT
   ============================================== */
.hero-groom,
.hero-bride {
  animation-fill-mode: both;
}

/* Subtle float after initial entry */
@keyframes heroNameFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ==============================================
   25. GALLERY STAGGER (applied via JS)
   ============================================== */
.gallery-item.reveal {
  transition-delay: var(--stagger-delay, 0ms);
}

/* ==============================================
   26. TIMELINE DIRECTIONAL REVEALS
   ============================================== */
.timeline-item--left .timeline-content.reveal  { transform: translateX(-50px); opacity: 0; }
.timeline-item--right .timeline-content.reveal { transform: translateX(50px);  opacity: 0; }
.timeline-item--left .timeline-img-wrap.reveal  { transform: translateX(40px);  opacity: 0; }
.timeline-item--right .timeline-img-wrap.reveal { transform: translateX(-40px); opacity: 0; }

.timeline-content.reveal.is-visible,
.timeline-img-wrap.reveal.is-visible {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.timeline-dot.reveal {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s var(--ease-out, ease), opacity 0.5s;
}

.timeline-dot.reveal.is-visible {
  transform: scale(1);
  opacity: 1;
}

/* ==============================================
   27. QUOTE WORD ANIMATION
   ============================================== */
.quote-text .word {
  transition:
    transform 0.8s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1))
    calc(var(--word-i, 0) * 60ms);
}

/* ==============================================
   28. MOBILE MUSIC PLAYER
   ============================================== */
@media (max-width: 560px) {
  .music-player {
    bottom: 24px;
    left: 20px;
  }

  .music-btn {
    width: 46px;
    height: 46px;
  }

  .music-ring {
    width: 46px;
    height: 46px;
  }
}

/* ==============================================
   29. WAYFINDING ANIMATED MAP
   ============================================== */
.wayfinding-wrap {
  max-width: 860px;
  margin: 70px auto 0;
  padding: 0 var(--pad-x);
}

.wayfinding-header {
  text-align: center;
  margin-bottom: 28px;
}

.wayfinding-eyebrow {
  font-family: var(--f-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 8px;
}

.wayfinding-note {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--c-text-muted);
  letter-spacing: 0.5px;
}

.wayfinding-stage {
  position: relative;
  border: 1px solid rgba(155, 106, 30, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #0D0804;
  box-shadow:
    0 0 0 1px rgba(155,106,30,0.08),
    0 30px 80px rgba(0,0,0,0.4),
    inset 0 0 60px rgba(196,144,74,0.03);
}

.wayfinding-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Street grid — initially invisible, fade in as group */
.wf-street {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.wf-street.wf-drawn {
  opacity: 1;
}

/* Main roads — drawn via dashoffset */
.wf-main-road {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.wf-main-road.wf-drawn {
  stroke-dashoffset: 0;
}

/* Route path */
#wf-route,
#wf-route-draw {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

#wf-route.wf-drawn,
#wf-route-draw.wf-drawn {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade-in elements */
#wf-venue-block,
#wf-pin,
#wf-callout,
#wf-start,
#wf-distance,
#wf-compass,
#wf-scale {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pin positioned by wrapper <g>, animated by CSS on inner #wf-pin */
#wf-pin {
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Before drawn: pin starts 24px above its correct spot */
#wf-pin:not(.wf-drawn) {
  transform: translateY(-24px) scale(0.65);
}

#wf-pin.wf-drawn {
  opacity: 1 !important;
  transform: translateY(0) scale(1);
}

#wf-venue-block.wf-drawn,
#wf-callout.wf-drawn,
#wf-start.wf-drawn,
#wf-distance.wf-drawn,
#wf-compass.wf-drawn,
#wf-scale.wf-drawn {
  opacity: 1 !important;
}

/* Road labels — fade in */
.wf-label-fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wf-label-fade.wf-drawn {
  opacity: 1;
}

/* Pin pulse animation */
.wf-pin-pulse {
  transform-origin: center;
  animation: wfPinPulse 2.4s ease-out infinite;
}

.wf-pin-pulse--2 {
  animation-delay: 1.2s;
}

@keyframes wfPinPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Replay button */
.wf-replay-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  color: rgba(196,144,74,0.6);
  background: rgba(13,8,4,0.7);
  border: 1px solid rgba(196,144,74,0.2);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.wf-replay-btn:hover {
  color: var(--c-gold-light);
  border-color: rgba(196,144,74,0.5);
  background: rgba(13,8,4,0.9);
}

.wf-replay-btn svg {
  flex-shrink: 0;
}

/* SVG Map Typography and Styles */
.wf-road-label {
  font-size: 11px;
  font-weight: 500;
  transition: font-size 0.3s ease;
}

.wf-venue-title {
  font-family: var(--f-serif), Georgia, serif;
  font-size: 14px;
  fill: #F0DCC8;
  letter-spacing: 0.5px;
}

.wf-venue-addr {
  font-family: var(--f-sans), system-ui, sans-serif;
  font-size: 11px;
  fill: rgba(196, 144, 74, 0.75);
  letter-spacing: 0.5px;
}

.wf-venue-city {
  font-family: var(--f-sans), system-ui, sans-serif;
  font-size: 9px;
  fill: rgba(196, 144, 74, 0.55);
  letter-spacing: 1px;
}

.wf-venue-label {
  font-family: var(--f-sans), system-ui, sans-serif;
  font-size: 10px;
  fill: rgba(196, 144, 74, 0.6);
  letter-spacing: 0.5px;
}

.wf-ciputra-label {
  font-family: var(--f-sans), system-ui, sans-serif;
  font-size: 9px;
  fill: rgba(196, 144, 74, 0.55);
  letter-spacing: 0.3px;
}

.wf-compass-label {
  font-family: var(--f-sans), system-ui, sans-serif;
  font-size: 10px;
  fill: #C4904A;
  letter-spacing: 1px;
}

.wf-scale-label {
  font-family: var(--f-sans), system-ui, sans-serif;
  font-size: 10px;
  fill: rgba(196, 144, 74, 0.55);
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .wayfinding-wrap {
    margin-top: 50px;
  }
  /* Increase map legibility on mobile/tablets */
  .wf-road-label {
    font-size: 20px !important;
  }
  .wf-venue-title {
    font-size: 24px !important;
  }
  .wf-venue-addr {
    font-size: 18px !important;
  }
  .wf-venue-city {
    font-size: 16px !important;
  }
  .wf-venue-label {
    font-size: 18px !important;
  }
  .wf-ciputra-label {
    font-size: 16px !important;
  }
  .wf-compass-label {
    font-size: 18px !important;
  }
  .wf-scale-label {
    font-size: 18px !important;
  }
}

/* ==============================================
   30. FLORAL SECTION DIVIDER
   ============================================== */
.floral-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  overflow: hidden;
}

.floral-div-svg {
  width: 100%;
  max-width: 860px;
  height: 100px;
  display: block;
}

/* ==============================================
   31. GOLD BOOST — enhanced gold presence
   ============================================== */

/* Hero botanical — brighter gold tint */
.hero-botanical path,
.hero-botanical ellipse {
  stroke: rgba(212, 160, 80, 0.30) !important;
}

/* Section rule — more gold */
.section-rule-center {
  background: linear-gradient(
    to right,
    transparent,
    var(--c-gold-light),
    var(--c-gold-vivid),
    var(--c-gold-light),
    transparent
  ) !important;
  height: 1.5px !important;
}

/* Section eyebrow — brighter gold */
.section-eyebrow {
  color: var(--c-gold-light) !important;
  letter-spacing: 5px;
}

/* Location & event cards — gold border accent */
.location-card {
  border-top: 2px solid var(--c-gold-light) !important;
  padding-top: 28px;
}

.event-card {
  border-top: 1px solid rgba(212, 160, 80, 0.35) !important;
}

/* Location card name — vivid gold */
.location-name {
  color: var(--c-gold-light) !important;
  font-size: 1.1rem !important;
}

/* Event time — gold vivid */
.event-time {
  color: var(--c-gold-vivid) !important;
  font-size: 1.35rem !important;
}

/* Event venue — warmer gold */
.event-venue {
  color: var(--c-gold-light) !important;
}

/* Quote wrap gold frame */
.quote-wrap {
  border: 1px solid rgba(212, 160, 80, 0.2) !important;
  box-shadow:
    0 0 0 6px rgba(212, 160, 80, 0.04),
    0 20px 60px rgba(0,0,0,0.06) !important;
}

/* Quote ornament — gold */
.quote-ornament path {
  fill: rgba(212, 160, 80, 0.2) !important;
}

/* Timeline dots — gold */
.timeline-dot::after {
  background: var(--c-gold-light) !important;
  box-shadow: 0 0 0 4px rgba(212,160,80,0.2) !important;
}

/* Footer names — gold vivid */
.footer-name-script {
  text-shadow: 0 2px 40px rgba(212, 160, 80, 0.35) !important;
}

/* Section alt — subtle gold shimmer background */
.section--alt {
  background: linear-gradient(
    180deg,
    #F2EAD8 0%,
    rgba(244, 230, 208, 0.6) 50%,
    #F2EAD8 100%
  );
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,160,80,0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Enhanced petal gold — tint the SVG shapes, NOT the container div */
.petal svg path,
.petal svg ellipse {
  fill: rgba(212, 160, 80, 0.55);
  stroke: rgba(196, 140, 60, 0.4);
}

/* Section dark (acara) — stronger gold top border */
.section--dark {
  border-top: 1px solid rgba(212, 160, 80, 0.15);
  border-bottom: 1px solid rgba(212, 160, 80, 0.15);
}

/* Extra botanical decoration for section headers */
.section-header::after {
  content: '✦ ✦ ✦';
  display: block;
  margin-top: 18px;
  font-size: 8px;
  letter-spacing: 10px;
  color: var(--c-gold-light);
  opacity: 0.5;
  text-align: center;
}

/* ==============================================
   32. AGGRESSIVE GOLD THEME BOOST
   ============================================== */

/* Body — warm amber-gold wash */
body {
  background-color: var(--c-bg) !important;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(212,160,80,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(212,160,80,0.06) 0%, transparent 45%) !important;
}

/* Section titles — metallic gold gradient text */
.section-title {
  background: linear-gradient(
    135deg,
    #A87820 0%,
    #D4A050 30%,
    #E8BC6E 50%,
    #D4A050 70%,
    #A87820 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light section titles (on dark bg) — keep readable */
.section-title--light {
  background: linear-gradient(
    135deg,
    #E8BC6E 0%,
    #F4D898 40%,
    #E8BC6E 60%,
    #C4904A 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation brand — gold */
.nav-brand {
  color: var(--c-gold-light);
  font-weight: 500;
}

/* Navbar background — transparent initially, ivory when scrolled */
#navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#navbar.is-scrolled {
  background: rgba(251, 246, 238, 0.95) !important;
  border-bottom: 1px solid rgba(212, 160, 80, 0.25) !important;
}

#navbar.is-scrolled .nav-brand {
  color: var(--c-gold) !important;
}

#navbar:not(.is-scrolled) .nav-brand {
  text-shadow: 0 1px 8px rgba(28, 16, 5, 0.85);
}

#navbar:not(.is-scrolled) .nav-links a {
  text-shadow: 0 1px 8px rgba(28, 16, 5, 0.85);
}

#navbar:not(.is-scrolled) .nav-toggle span {
  box-shadow: 0 1px 4px rgba(28, 16, 5, 0.85);
}

/* Hero pre-text — vivid gold */
.hero-pre {
  color: var(--c-gold-vivid) !important;
}

/* Hero date — gold */
.hero-date {
  color: var(--c-gold-pale) !important;
}

/* Section subtitles — warmer */
.section-sub {
  color: var(--c-text-mid) !important;
}

/* Location card title gold */
.location-title {
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-vivid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quote text — gold warmth */
.quote-text {
  color: #8C6010 !important;
}

/* Event icon — vivid gold */
.event-icon {
  color: var(--c-gold-vivid) !important;
}

/* Countdown numbers — gold */
.count-num {
  color: var(--c-gold-vivid) !important;
}

/* Section alt — stronger amber */
.section--alt {
  background: linear-gradient(
    180deg,
    var(--c-bg-alt) 0%,
    #F5E8B0 50%,
    var(--c-bg-alt) 100%
  ) !important;
}

/* Timeline year — vivid gold */
.timeline-year {
  color: var(--c-gold-vivid) !important;
}
