/* ==========================================================================
   Karan & Mehak — Wedding Invitation
   Vintage Indian Theme · Ivory & Gold
   Mobile-First Design
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --ivory: #FAF6F0;
  --ivory-dark: #F0E8DB;
  --ivory-mid: #E8DDD0;
  --gold: #C5A55A;
  --gold-light: #D4BC7C;
  --gold-dark: #A68B3E;

  /* Functional colors */
  --bg: #FBF8F3;
  --bg-alt: #F5EFE4;
  --text: #3D3429;
  --text-light: #6B5E50;
  --text-muted: #9A8E80;
  --white: #FFFFFF;

  /* Typography */
  --font-script: 'Great Vibes', cursive;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'EB Garamond', 'Georgia', serif;

  /* Spacing — responsive via clamp */
  --section-pad: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  --container-max: 960px;

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

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
  cursor: pointer;
}

a:hover {
  color: var(--gold);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: var(--section-pad);
  position: relative;
}

/* ---------- Animation Classes ---------- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ---------- Ornament Divider ---------- */
.ornament-divider {
  text-align: center;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.5em;
  margin: 1rem 0;
  user-select: none;
}

/* ---------- Section Headings ---------- */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 500;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.section-heading .heading-decor {
  color: var(--gold);
  font-size: 0.85em;
  margin: 0 0.3em;
  vertical-align: middle;
}

/* Gold underline accent below headings */
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--ivory-mid), var(--gold-light), var(--ivory-mid));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-muted);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

/* ---------- Photo Placeholders ---------- */
.photo-placeholder {
  background: linear-gradient(135deg, var(--ivory-dark) 0%, var(--bg-alt) 100%);
  border: 2px dashed var(--gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.875rem;
  min-height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.photo-placeholder.small { min-height: 160px; }
.photo-placeholder.large { min-height: 240px; }

.photo-placeholder span {
  background: rgba(255,255,255,0.7);
  padding: 0.35em 0.75em;
  border-radius: 4px;
}

.photo-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.gallery-item--photo3 .photo-placeholder img {
  object-position: center 40%;
}

.gallery-item--photo5 .photo-placeholder img {
  object-position: center 45%;
}

.gallery-item--photo8 .photo-placeholder img {
  object-position: center 55%;
}

.gallery-item--photo9 .photo-placeholder img {
  object-position: center 40%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-sage {
  background: var(--gold);
  color: var(--white);
}

.btn-sage:hover {
  background: var(--gold-dark);
  color: var(--white);
}

/* ====================================================================
   SECTION 1: HERO
   ==================================================================== */
.hero-section {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(0.5rem, 1.5vh, 1rem) clamp(1rem, 3vw, 2rem);
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Subtle radial gradient overlay on ivory background */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(197,165,90,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(197,165,90,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(197,165,90,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 85%, rgba(197,165,90,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: 0;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: clamp(0.25rem, 1vh, 0.75rem);
  margin-bottom: clamp(0.25rem, 0.8vh, 0.5rem);
  flex-shrink: 0;
}

/* ── Centered arch wrapper ──
   Fills remaining vertical space between tagline and scroll hint. */
.hero-arch-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: clamp(0.4rem, 1vh, 0.75rem) auto;
  border-radius: 50% 50% 8px 8px / 28% 28% 0 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  left: 0;
  right: 0;
}

/* Photo inside the arch */
.hero-arch-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ivory-dark) 0%, var(--bg-alt) 100%);
  border: 2px dashed var(--gold-light);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 0;
}

.hero-arch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Light shade overlay — only inside the arch */
.hero-arch-shade {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      to top,
      rgba(20, 14, 6, 0.88) 0%,
      rgba(20, 14, 6, 0.72) 23%,
      rgba(20, 14, 6, 0.35) 45%,
      transparent 60%
    );
  z-index: 1;
  pointer-events: none;
}

/* Gold border around the arch */
.hero-arch-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--gold-light);
  box-shadow:
    inset 0 0 20px rgba(197,165,90,0.08),
    0 4px 20px rgba(197,165,90,0.12),
    0 0 0 4px rgba(197,165,90,0.05);
  z-index: 3;
  pointer-events: none;
}

/* Side vine decorations */
.hero-arch-vine {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 4;
}

.hero-arch-vine--left { left: clamp(-20px, -4vw, -36px); }
.hero-arch-vine--right { right: clamp(-20px, -4vw, -36px); }
.hero-arch-vine svg {
  width: clamp(16px, 3vw, 30px);
  height: clamp(50px, 10vw, 90px);
}

/* Text content on top of the arch */
.hero-arch-content {
  position: relative;
  z-index: 2;
  /* padding: clamp(2rem, 8vw, 4rem) 0 clamp(0.5rem, 1.5vw, 0.5rem); */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.couple-names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.30);
  white-space: nowrap;
  text-align: center;
}

.couple-names .ampersand {
  display: inline;
  font-size: 0.75em;
  color: var(--gold-light);
  margin: 0 0.05em;
}

.hero-invite-line {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  font-style: italic;
  color: rgba(250,246,240,0.88);
  margin-bottom: clamp(0.4rem, 1vh, 0.75rem);
  letter-spacing: 0.04em;
  text-align: center;
}

/* Date inside the arch — white text */
.hero-arch-content .hero-date {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 3vw, 1.35rem);
  font-weight: 500;
  color: rgba(250,246,240,0.95);
  letter-spacing: 0.1em;
  margin-bottom: 0;
  text-align: center;
}

.hero-arch-content .date-sep {
  color: var(--gold-light);
  margin: 0 0.25em;
}

.scroll-hint {
  flex-shrink: 0;
  text-align: center;
  z-index: 5;
  padding: clamp(0.25rem, 0.5vh, 0.5rem) 0;
}

.scroll-hint span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.15rem;
}

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--gold);
}

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

/* ====================================================================
   SECTION 2: INVITATION
   ==================================================================== */
.invitation-section {
  background:
    radial-gradient(ellipse at 10% 30%, rgba(197,165,90,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(197,165,90,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(197,165,90,0.04) 0%, transparent 40%),
    var(--bg);
}

.invitation-card {
  max-width: 640px;
  margin: 0 auto;
}

.invitation-frame {
  background: var(--ivory);
  border: 1.5px solid var(--gold-light);
  border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(197,165,90,0.08), 0 0 0 6px rgba(197,165,90,0.04);
}

/* Decorative corner accents */
.invitation-frame::before,
.invitation-frame::after {
  content: '❊';
  position: absolute;
  font-size: 1.25rem;
  color: var(--gold-light);
  opacity: 0.6;
}

.invitation-frame::before { top: 12px; left: 16px; }
.invitation-frame::after { bottom: 12px; right: 16px; }

.invitation-hindi {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: var(--gold-dark);
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
  letter-spacing: 0.05em;
}

.invitation-blessing {
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.6;
}

.family-names {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 4vw, 2rem);
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
  flex-wrap: wrap;
}

.family {
  text-align: center;
}

.family-label {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
  background: rgba(197,165,90,0.08);
  display: inline-block;
  padding: 0.1em 0.5em;
  border-radius: 3px;
}

.parent-name {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--text);
  line-height: 1.5;
}

.family-divider {
  color: var(--gold-light);
  font-size: 1rem;
  align-self: center;
}

.invitation-main {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.invitation-couple-names {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.invitation-couple-names span {
  color: var(--gold);
}

.invitation-quote {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

/* ====================================================================
   SECTION 3: OUR STORY
   ==================================================================== */
.story-section {
  background: var(--ivory);
}

/* Story section background floral pattern */
.story-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='0.6'%3E%3Cpath d='M60 20 Q70 35 60 50 Q50 35 60 20Z' stroke='%23C5A55A' stroke-opacity='0.06'/%3E%3Cpath d='M60 50 Q70 60 65 75 Q55 60 60 50Z' stroke='%23C5A55A' stroke-opacity='0.04'/%3E%3Ccircle cx='60' cy='35' r='3' stroke='%23C5A55A' stroke-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.story-section > .container {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--gold-light), var(--ivory-mid), var(--gold-light));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory-mid);
  border: 2.5px solid var(--gold-light);
  transform: translateX(calc(-50% + 8px));
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(197,165,90,0.15);
}

.timeline-content {
  background: var(--white);
  border-radius: 10px;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(197,165,90,0.18);
  border-left: 3px solid var(--gold-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  display: inline-block;
  margin-bottom: 0.25rem;
  background: rgba(197,165,90,0.08);
  padding: 0.15em 0.6em;
  border-radius: 3px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.timeline-content .photo-placeholder {
  margin-top: 0.5rem;
  min-height: 140px;
}

.timeline-photo {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197,165,90,0.25);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.timeline-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ====================================================================
   SECTION 4: EVENTS
   ==================================================================== */
.events-section {
  background:
    radial-gradient(ellipse at 5% 50%, rgba(197,165,90,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 50%, rgba(197,165,90,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(197,165,90,0.04) 0%, transparent 50%),
    var(--bg);
}

/* Events background lattice pattern */
.events-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='0.4'%3E%3Cpath d='M0 50 Q25 25 50 50 Q75 75 100 50' stroke='%23C5A55A' stroke-opacity='0.035'/%3E%3Cpath d='M0 50 Q25 75 50 50 Q75 25 100 50' stroke='%23C5A55A' stroke-opacity='0.035'/%3E%3Ccircle cx='50' cy='50' r='8' stroke='%23C5A55A' stroke-opacity='0.03'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%23C5A55A' fill-opacity='0.025'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.events-section > .container {
  position: relative;
  z-index: 1;
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.event-card {
  border-radius: 14px;
  overflow: hidden;
}

.event-card-inner {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(197,165,90,0.05) 0%, transparent 60%),
    var(--ivory);
  border: 1.5px solid rgba(197,165,90,0.18);
  border-radius: 14px;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  transition: box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.event-card:hover .event-card-inner {
  box-shadow: 0 6px 24px rgba(197,165,90,0.12), 0 2px 12px rgba(197,165,90,0.08);
}

.event-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.event-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.event-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
  color: var(--text-muted);
  margin-bottom: clamp(0.75rem, 2.5vw, 1.25rem);
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.event-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: var(--text-light);
}

.event-detail svg {
  flex-shrink: 0;
  color: var(--gold);
}

.event-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.event-dresscode {
  background: linear-gradient(135deg, rgba(197,165,90,0.06) 0%, rgba(197,165,90,0.08) 100%);
  border: 1px solid rgba(197,165,90,0.1);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.dresscode-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.dresscode-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.dresscode-hint {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.event-map-btn {
  margin-top: 0.5rem;
  align-self: center;
}

/* ====================================================================
   SECTION 5: GALLERY
   ==================================================================== */
.gallery-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(197,165,90,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(197,165,90,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(197,165,90,0.03) 0%, transparent 60%),
    var(--ivory);
}

/* Gallery background — scattered dot pattern */
.gallery-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='15' cy='15' r='1.5' fill='%23C5A55A' fill-opacity='0.04'/%3E%3Ccircle cx='45' cy='45' r='1.5' fill='%23C5A55A' fill-opacity='0.04'/%3E%3Ccircle cx='45' cy='15' r='1' fill='%23D4BC7C' fill-opacity='0.03'/%3E%3Ccircle cx='15' cy='45' r='1' fill='%23C5A55A' fill-opacity='0.03'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.gallery-section > .container {
  position: relative;
  z-index: 1;
}

/* Masonry grid — desktop/tablet */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(197,165,90,0.15);
  pointer-events: none;
}

.gallery-item .photo-placeholder {
  min-height: 180px;
  border: none;
  border-radius: 0;
}

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

.gallery-item--tall .photo-placeholder {
  min-height: 100%;
  height: 100%;
}

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

/* (mobile carousel removed — using responsive grid instead) */

/* ====================================================================
   SECTION 6: VENUE
   ==================================================================== */
.venue-section {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(197,165,90,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(197,165,90,0.05) 0%, transparent 50%),
    var(--bg);
}

/* Venue background arch motif */
.venue-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='0.5'%3E%3Cpath d='M30 120 Q30 40 70 30 Q110 40 110 120' stroke='%23C5A55A' stroke-opacity='0.03'/%3E%3Cpath d='M45 120 Q45 55 70 48 Q95 55 95 120' stroke='%23D4BC7C' stroke-opacity='0.025'/%3E%3Ccircle cx='70' cy='45' r='4' stroke='%23C5A55A' stroke-opacity='0.025'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.venue-section > .container {
  position: relative;
  z-index: 1;
}

.venue-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--ivory);
  border: 1.5px solid rgba(197,165,90,0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 0 0 4px rgba(197,165,90,0.04);
}

.venue-photo .photo-placeholder {
  border-radius: 0;
  border: none;
  min-height: 200px;
}

.venue-photo {
  overflow: hidden;
}

.venue-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center center;
}

.venue-info {
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.venue-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.venue-address {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.venue-map-btn {
  margin-bottom: 1.75rem;
}

.venue-qr {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197,165,90,0.15);
}

.qr-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  background: var(--white);
  border: 2px dashed var(--gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.875rem;
}

.venue-qr-img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
  background: var(--white);
  padding: 6px;
}

/* ====================================================================
   SECTION 7: COUNTDOWN
   ==================================================================== */
.countdown-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(197,165,90,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(197,165,90,0.06) 0%, transparent 50%),
    var(--ivory);
  text-align: center;
}

/* Countdown background — mandala rings */
.countdown-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='0.4'%3E%3Ccircle cx='100' cy='100' r='60' stroke='%23C5A55A' stroke-opacity='0.025'/%3E%3Ccircle cx='100' cy='100' r='45' stroke='%23D4BC7C' stroke-opacity='0.025'/%3E%3Ccircle cx='100' cy='100' r='30' stroke='%23C5A55A' stroke-opacity='0.02'/%3E%3Ccircle cx='100' cy='100' r='15' stroke='%23D4BC7C' stroke-opacity='0.02'/%3E%3Ccircle cx='100' cy='100' r='4' fill='%23C5A55A' fill-opacity='0.02'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.countdown-section > .container {
  position: relative;
  z-index: 1;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.2rem, 1.5vw, 0.5rem);
  flex-wrap: nowrap;
  margin: 0 auto;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  max-width: 90px;
  background: rgba(197,165,90,0.05);
  border: 1px solid rgba(197,165,90,0.12);
  border-radius: clamp(6px, 1.5vw, 10px);
  padding: clamp(0.4rem, 1.5vw, 0.75rem) clamp(0.25rem, 1vw, 0.5rem) clamp(0.3rem, 1vw, 0.5rem);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.02em;
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: clamp(0.5rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-top: clamp(0.15rem, 0.5vw, 0.35rem);
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 2rem);
  color: var(--gold-light);
  padding-bottom: clamp(0.5rem, 1.5vw, 1rem);
  flex-shrink: 0;
}

.celebration-msg {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--gold-dark);
}

/* ====================================================================
   SECTION 8: CLOSING — THE FURRY SEAL OF APPROVAL
   ==================================================================== */
.closing-section {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(197,165,90,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(197,165,90,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(197,165,90,0.06) 0%, transparent 40%),
    var(--bg);
  padding-bottom: 3.5rem;
  text-align: center;
}

/* Closing background — scattered petal pattern */
.closing-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-width='0.5'%3E%3Cpath d='M20 30 Q25 20 30 30 Q25 40 20 30Z' stroke='%23D4BC7C' stroke-opacity='0.04' fill='%23F0E8DB' fill-opacity='0.015'/%3E%3Cpath d='M70 70 Q75 60 80 70 Q75 80 70 70Z' stroke='%23C5A55A' stroke-opacity='0.035' fill='%23C5A55A' fill-opacity='0.012'/%3E%3Ccircle cx='50' cy='50' r='1' fill='%23C5A55A' fill-opacity='0.03'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.closing-section > .container {
  position: relative;
  z-index: 1;
}

/* --- Prelude teaser --- */
.dogs-intro {
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.dogs-prelude {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-style: italic;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* --- Dog cards grid --- */
.dogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem 1rem;
  max-width: 860px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

/* Mobile: Noddy top row (spans both cols), heart middle, Bugs bottom row */
.dog-card:first-child {
  grid-column: 1 / -1;
}

.dogs-heart {
  /* already defined below */
}

.dog-card:last-child {
  grid-column: 1 / -1;
}

/* Single dog card */
.dog-card {
  background: var(--ivory);
  border: 1.5px solid rgba(197,165,90,0.25);
  border-radius: 16px;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 1.75rem);
  box-shadow:
    0 4px 20px rgba(197,165,90,0.09),
    0 0 0 6px rgba(197,165,90,0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.dog-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 32px rgba(197,165,90,0.14),
    0 0 0 6px rgba(197,165,90,0.07);
}

/* Dog photo frame */
.dog-photo-frame {
  position: relative;
  width: clamp(160px, 55%, 240px);
  margin: 0 auto clamp(0.75rem, 2vw, 1.25rem);
}

.dog-photo {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  min-height: unset;
  height: clamp(160px, 55vw, 240px);
  border: 2.5px solid var(--gold-light);
  box-shadow: 0 4px 16px rgba(197,165,90,0.15);
}

.dog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.40);
}

.dog-paw-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  background: var(--ivory);
  border: 1.5px solid rgba(197,165,90,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.dog-name {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.dog-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: clamp(0.6rem, 2vw, 1rem);
}

.dog-message {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2.4vw, 1rem);
  font-style: italic;
  color: var(--text-light);
  line-height: 1.75;
}

/* Heart divider between the two dogs */
.dogs-heart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  grid-column: 1 / -1; /* spans full width on mobile */
}

.dogs-heart-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Invitation lines from the dogs --- */
.dogs-invite {
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  max-width: 680px;
}

.dogs-invite-inner {
  background: var(--ivory);
  border: 1.5px solid rgba(197,165,90,0.22);
  border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 2px 16px rgba(197,165,90,0.07);
  position: relative;
}

.dogs-invite-inner::before {
  content: '🐾';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  line-height: 1;
}

.dogs-invite-line {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.dogs-invite-big {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.dogs-invite-ps {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-style: italic;
  margin-bottom: 0;
}

/* --- Final sign-off --- */
.closing-content {
  max-width: 560px;
  margin: 0 auto;
}

.closing-names {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.closing-sub-names {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.closing-families {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

/* ====================================================================
   TABLET: 3-column dog grid (640px+) — Noddy | heart | Bugs
   ==================================================================== */
@media (min-width: 640px) {
  .dogs-grid {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
  }

  /* Reset full-width spans — each item occupies its natural cell */
  .dog-card:first-child,
  .dog-card:last-child,
  .dogs-heart {
    grid-column: auto;
  }
}

/* ====================================================================
   LIGHTBOX
   ==================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  object-fit: contain;
}

/* ====================================================================
   RESPONSIVE — TABLET (>= 640px)
   ==================================================================== */
@media (min-width: 640px) {
  .family-names {
    gap: 2rem;
  }
}

/* ====================================================================
   RESPONSIVE — DESKTOP (>= 960px)
   ==================================================================== */
@media (min-width: 960px) {
  .events-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 960px;
    align-items: stretch;
  }

  .event-card {
    flex: 1 1 280px;
    max-width: 320px;
  }

  .event-card .event-card-inner {
    height: 100%;
  }

  .gallery-grid {
    max-width: 960px;
    gap: 1rem;
  }

  .gallery-item .photo-placeholder {
    min-height: 220px;
  }

  .venue-card {
    display: flex;
    max-width: 800px;
  }

  .venue-photo {
    flex: 0 0 45%;
    align-self: stretch;
  }

  .venue-photo .photo-placeholder {
    min-height: 100%;
    height: 100%;
  }

  .venue-photo-img {
    min-height: 100%;
    height: 100%;
  }


  .venue-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 2rem 2.5rem;
  }

  .venue-qr {
    text-align: left;
  }

  .qr-placeholder,
  .venue-qr-img {
    margin: 0;
  }
}

/* ====================================================================
   MOBILE (<= 639px) — MASONRY GALLERY GRID & HEADING FIX
   ==================================================================== */
@media (max-width: 639px) {
  /* Gallery: keep 3-column masonry grid on mobile */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .gallery-item .photo-placeholder {
    min-height: 100px;
  }

  .gallery-item--tall .photo-placeholder {
    min-height: 100%;
    height: 100%;
  }

  /* Events section floating decor — hide on small screens (keep story ones) */
  .decor-float { display: none; }
  .decor-float--story { display: block; }
}

/* ====================================================================
   SUBTLE BACKGROUND TEXTURE (pseudo-element) — paisley motif
   ==================================================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23c5a55a' stroke-opacity='0.04' stroke-width='0.5'%3E%3Cpath d='M40 10 Q50 20 45 35 Q40 50 30 40 Q20 30 30 20 Q35 15 40 10Z'/%3E%3Ccircle cx='40' cy='25' r='3'/%3E%3C/g%3E%3Cg stroke='%23d4bc7c' stroke-opacity='0.025' stroke-width='0.5'%3E%3Cpath d='M10 55 Q15 45 25 50 Q30 55 20 60 Q12 62 10 55Z'/%3E%3Cpath d='M60 65 Q68 58 72 65 Q75 72 65 72 Q58 70 60 65Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body > *:not(.floating-petals) {
  position: relative;
  z-index: 1;
}

/* ====================================================================
   VERSION VISIBILITY (controlled by JS)
   ==================================================================== */
[data-event="sagan"].hidden-event,
[data-event="mehandi"].hidden-event,
[data-event="wedding"].hidden-event {
  display: none !important;
}

/* ====================================================================
   ADDITIONAL DECORATIVE ELEMENTS
   ==================================================================== */

/* (Section dividers now handled by inline SVG mandala/vine elements) */

/* Event card top accent border — gold-ivory gradient */
.event-card-inner {
  border-top: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.event-card-inner::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--ivory-mid), var(--gold-light), var(--ivory-mid), transparent);
  border-radius: 2px 2px 0 0;
}

/* Hero section subtle animated gradient */
@keyframes heroGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,165,90,0.06) 0%, transparent 70%);
  animation: heroGlow 6s ease-in-out infinite;
  pointer-events: none;
}

/* Selection color */
::selection {
  background: rgba(197,165,90,0.2);
  color: var(--text);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ====================================================================
   DECORATIVE CORNERS (positioned on sections)
   ==================================================================== */
.decor-corner {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.decor-corner--tl { top: 0; left: 0; }
.decor-corner--tr { top: 0; right: 0; }
.decor-corner--bl { bottom: 0; left: 0; }
.decor-corner--br { bottom: 0; right: 0; }

/* ====================================================================
   SECTION MANDALA DIVIDER
   ==================================================================== */
.section-decor-mandala {
  position: relative;
  margin: -20px auto 0;
  z-index: 2;
  pointer-events: none;
}

/* ====================================================================
   SECTION VINE DIVIDER
   ==================================================================== */
.section-vine-divider {
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  z-index: 2;
  pointer-events: none;
}

/* ====================================================================
   FLOATING SIDE DECORATIONS (events section)
   ==================================================================== */
.decor-float {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.decor-float--left { left: 0.5rem; }
.decor-float--right { right: 0.5rem; }

/* Story floats are thinner — keep on mobile */
.decor-float--story { z-index: 2; }

@media (min-width: 960px) {
  .decor-float--left { left: 2rem; }
  .decor-float--right { right: 2rem; }
}

/* ====================================================================
   FLOATING PETAL PARTICLES
   ==================================================================== */
.floating-petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.petal {
  position: absolute;
  border-radius: 50% 0 50% 0;
  opacity: 0;
  top: 0;
  will-change: transform, opacity;
  box-shadow: 0 1px 4px rgba(140,20,30,0.18);
}

/* ====================================================================
   STAGGER REVEAL ANIMATION (gallery items)
   ==================================================================== */
.anim-stagger {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.anim-stagger.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ====================================================================
   SHIMMER EFFECT (on gold text/elements)
   ==================================================================== */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.couple-names .ampersand,
.invitation-couple-names span {
  background: linear-gradient(
    110deg,
    var(--gold-dark) 0%,
    var(--gold-light) 40%,
    var(--gold) 50%,
    var(--gold-light) 60%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

/* ====================================================================
   PARALLAX-STYLE DEPTH on scroll (via JS class)
   ==================================================================== */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ====================================================================
   SECTION FADE-IN FROM SIDE ANIMATIONS
   ==================================================================== */
.anim-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.anim-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.anim-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ====================================================================
   SCALE-IN ANIMATION (countdown, venue)
   ==================================================================== */
.anim-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.anim-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ====================================================================
   TIMELINE DOT PULSE
   ==================================================================== */
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(197,165,90,0.15); }
  50% { box-shadow: 0 0 0 10px rgba(197,165,90,0); }
}

.timeline-dot.visible {
  animation: dotPulse 2s ease-in-out 1;
}

/* ====================================================================
   HERO DECOR CORNERS — slow float animation
   ==================================================================== */
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, -4px); }
}

.hero-section .decor-corner {
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-section .decor-corner--tr,
.hero-section .decor-corner--bl {
  animation-delay: 2s;
}

/* ====================================================================
   COUNTDOWN NUMBER FLIP EFFECT
   ==================================================================== */
.countdown-number {
  transition: transform 0.3s var(--ease);
}

.countdown-number.tick {
  transform: scale(1.08);
}

/* Print styles */
@media print {
  .floating-nav,
  .scroll-hint,
  .lightbox,
  .floating-petals,
  .countdown-section {
    display: none !important;
  }

  .anim-fade-up,
  .anim-fade-left,
  .anim-fade-right,
  .anim-scale-in,
  .anim-stagger {
    opacity: 1 !important;
    transform: none !important;
  }

  body::before {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}
