.elementor-49 .elementor-element.elementor-element-29f9e60{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;border-style:none;--border-style:none;--z-index:2;}.elementor-49 .elementor-element.elementor-element-29f9e60.e-con{--align-self:center;}.elementor-49 .elementor-element.elementor-element-38ec7b0{width:var( --container-widget-width, 960px );max-width:960px;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:70px 0px 0px 0px;--container-widget-width:960px;--container-widget-flex-grow:0;border-style:none;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-49 .elementor-element.elementor-element-29f9e60{--margin-top:30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-49 .elementor-element.elementor-element-38ec7b0{width:var( --container-widget-width, 80% );max-width:80%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:20px 0px 20px 0px;--container-widget-width:80%;--container-widget-flex-grow:0;}}/* Start custom CSS for html, class: .elementor-element-38ec7b0 *//* ── ORIGINAL DESKTOP (≥ 769px) ── */
.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C9A84C;
  opacity: 1; /* FIXED: was 0.7 */
  margin-bottom: 22px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

/* ── TABLET (≤ 768px) ── */
@media (max-width: 768px) {
  .eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 18px;
  }
}

/* ── MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .eyebrow {
    font-size: 13px;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    padding: 0 8px;
  }
}

/* ── HERO NAMES — Center-Aligned, Responsive (No Clamp) ── */

/* ── BASE DESKTOP (> 1024px) ── */
.hero-names {
  font-family: 'Lavishly Yours', cursive;
  font-weight: 700;
  font-size: 90px; /* FIXED: was 90px but ensuring Elementor doesn't override */
  color: #F8F4E3; /* FIXED: was #ede3cc (pinkish ivory), now matches Sarah's bright white */
  line-height: 1.0;
  margin-bottom: 4px;
  letter-spacing: 2px;
  text-align: center;
  text-shadow:
    1px 3px 8px rgba(70,30,5,0.5),
    0 0 20px rgba(160,110,30,0.08);
}

.hn-first {
  display: block;
  font-family: 'Lavishly Yours', cursive;
  font-size: 90px; /* FIXED: was 72px */
  color: #F8F4E3; /* FIXED: explicit color so no inheritance mismatch with Sarah */
  line-height: 1.1;
  text-align: center;
}

.hn-cap {
  font-family: 'Lavishly Yours', cursive;
  font-size: 1.35em;
  line-height: 0.85;
  display: inline-block;
  vertical-align: middle;
}

.hn-amp {
  display: block;
  font-family: 'Lavishly Yours', cursive;
  font-size: 90px; 
  line-height: 0.9;
  color: #C9A84C;
  text-align: center;
  margin: 6px 0 40px;
}

/* ── TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  .hero-names { font-size: 72px; letter-spacing: 1.5px; }
  .hn-first   { font-size: 72px; } /* FIXED: was 56px, scaled proportionally */
  .hn-amp     { font-size: 72px; margin: 5px 0 32px; } /* FIXED: was 88px */
}

/* ── LARGE MOBILE / TABLET PORTRAIT (≤ 768px) ── */
@media (max-width: 768px) {
  .hero-names {
    font-size: 56px;
    letter-spacing: 1.2px;
    text-shadow:
      1px 2px 6px rgba(70,30,5,0.4),
      0 0 15px rgba(160,110,30,0.06);
  }
  .hn-first { font-size: 42px; line-height: 1.15; }
  .hn-cap   { font-size: 1.25em; }
  .hn-amp   { font-size: 54px; margin: 4px 0 24px; } /* FIXED: was 64px */
}

/* ── MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-names {
    font-size: 12vw;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding: 0 12px;
    text-align: center;
    text-shadow:
      1px 2px 4px rgba(70,30,5,0.35),
      0 0 10px rgba(160,110,30,0.04);
  }
  .hn-first { font-size: 10vw; line-height: 1.2; text-align: center; }
  .hn-cap   { font-size: 1.15em; line-height: 0.9; }
  .hn-amp   { font-size: 14vw; margin: 2px 0 18px; line-height: 0.95; }
}

/* ── EXTRA SMALL MOBILE (≤ 320px) ── */
@media (max-width: 320px) {
  .hero-names { font-size: 36px; padding: 0 8px; }
  .hn-first   { font-size: 28px; }
  .hn-amp     { font-size: 38px; margin-bottom: 14px; }
}

/* ── HERO DATE & VENUE — Centered + Animated + Responsive ── */

/* Base styles (desktop) */
.hero-date,
.hero-venue {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
}

.hero-date {
  font-size: 24px;
  letter-spacing: 2px;
  color: #E2C97E;
  opacity: 1; /* FIXED: ensuring full opacity */
  margin-bottom: 6px;
}

.hero-venue {
  font-size: 20px;
  color: #F8F4E3;
  opacity: 1; /* FIXED: ensuring full opacity */
  letter-spacing: 2px;
  margin-bottom: 42px;
}

/* Animation keyframes */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trigger animation when parent has .animated class */
.hero-content.animated .hero-date,
.hero-content.animated .hero-venue {
  animation: fadeUp 0.7s ease forwards 0.9s;
}

/* ── TABLET (≤ 768px) ── */
@media (max-width: 768px) {
  .hero-date {
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
  }

  .hero-venue {
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
  }
}

/* ── MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-date,
  .hero-venue {
    padding: 0 12px;
  }

  .hero-date {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }

  .hero-venue {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 24px;
  }
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 42px;
  width: 260px;
  max-width: 100%;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 45%;
}

.ornament::before {
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.28));
}

.ornament::after {
  background: linear-gradient(to left, transparent, rgba(201,168,76,0.28));
}

.ornament span {
  font-size: 22px;
  color: #C9A84C;
  opacity: 0.7;
  font-family: 'Cormorant Garamond', serif;
  flex-shrink: 0;
}

/* ── TABLET (≤ 768px) ── */
@media (max-width: 768px) {
  .hero-date {
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
  }

  .hero-venue {
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
  }

  .ornament {
    width: 240px;
    margin-bottom: 32px;
    gap: 12px;
  }

  .ornament::before,
  .ornament::after {
    max-width: 42%;
  }

  .ornament span {
    font-size: 20px;
  }
}

/* ── MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-date {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 2px;
    padding: 0 8px;
  }

  .hero-venue {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 24px;
    padding: 0 8px;
  }

  .ornament {
    width: 90%;
    max-width: 220px;
    margin-bottom: 24px;
    gap: 10px;
  }

  .ornament::before,
  .ornament::after {
    max-width: 40%;
  }

  .ornament span {
    font-size: 18px;
  }
}

/* ===============================
   Wrapper
=============================== */
.trees-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  min-height: 200px;
}

/* ===============================
   Glow Layer
=============================== */
.trees-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(70px);
}

.hg1 {
  width: clamp(280px, 60vw, 460px);
  height: clamp(280px, 60vw, 360px);
  top: 10%;
  background: rgba(107, 27, 61, 0.4);
}

.hg2 {
  width: clamp(120px, 30vw, 220px);
  height: clamp(120px, 30vw, 220px);
  top: 15%;
  background: rgba(27, 175, 59, 0.07);
}

.hg3 {
  width: clamp(100px, 25vw, 180px);
  height: clamp(100px, 25vw, 180px);
  top: 25%;
  background: rgba(210, 169, 57, 0.015);
}

/* ===============================
   Image Layer
=============================== */
.trees-image-layer {
  position: relative;
  z-index: 2;
}

.three-trees {
  display: block;
  height: auto;
  margin: 0 auto;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  will-change: transform, opacity;
}

.three-trees-sm {
  max-width: 200px;
  opacity: 0.85;
}

/* ===============================
   Animation (FIXED)
=============================== */
.hero-content .three-trees {
  opacity: 1;
}

.hero-content.animated .three-trees {
  opacity: 0;
  animation: treesIn 0.9s ease forwards 0.15s;
}

@keyframes treesIn {
  from {
    opacity: 0;
    transform: translateY(20px) translateX(-50%);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
}

/* ===============================
   Mobile tweaks
=============================== */
@media (max-width: 480px) {
  .trees-wrapper {
    max-width: 90vw;
  }

  .three-trees-sm {
    max-width: 160px;
  }
}

.hero-content .countdown-wrap { opacity: 0; }
.hero-content.animated .countdown-wrap { animation: fadeUp .7s ease forwards 1.1s; }

/* --- REVISED: Countdown Responsive & Cross-Browser Styles --- */
.countdown-wrap {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  max-width: 98% !important;
  margin: 20px auto !important;
  padding: 1rem 0.25rem !important;
  margin-bottom: clamp(50px, 5vw, 50px) !important;
  border: 1px solid rgba(226, 201, 126, 0.3) !important;
  position: relative !important;
  z-index: 999 !important;
  background: transparent !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.countdown {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  gap: 0 !important;
}

.cd-item {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  min-width: 60px !important;
}

.cd-num {
  font-family: "Lavishly Yours", cursive !important;
  font-size: clamp(2rem, 12vw, 4.5rem) !important;
  font-weight: normal !important;
  line-height: 1.1 !important;
  color: rgb(226, 201, 126) !important;
  opacity: 1 !important;
  margin-bottom: 5px;
}

.cd-lbl {
  font-family: "Karla", sans-serif !important;
  font-size: clamp(0.6rem, 3vw, 0.9rem) !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin-top: 0 !important;
  opacity: 1 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
}

.cd-sep {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  margin: 0 2px !important;
  font-size: clamp(1.2rem, 5vw, 2rem) !important;
  color: rgb(226, 201, 126) !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

/* --- Tablet & Desktop spacing --- */
@media (min-width: 768px) {
  .cd-item {
    padding: 0 30px !important;
    min-width: 80px !important;
  }
  .cd-sep {
    margin: 0 8px !important;
  }
  .cd-lbl {
    margin-top: 2px !important;
  }
}

/* --- Tiny Screens (Safety for iPhone SE etc) --- */
@media (max-width: 360px) {
  .cd-sep {
    display: none !important;
  }
  .cd-item {
    padding: 0 12px !important;
    min-width: 50px !important;
  }
}

/* Container must be relative for the frame to align to it */
.elementor-element-38ec7b0 {
  position: relative !important;
  overflow: visible !important;
}

/* Base Frame Styles */
.hero-frame {
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(201,168,76,0.3);
  pointer-events: none;
  z-index: 10;
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 17px;
  border: 1px solid rgba(201,168,76,0.15);
}

/* Corner Markers Base */
.frame-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border-color: rgba(201,168,76,0.71) !important;
}

.fc-tl { top: -1px; left: -1px; border-top: 1.5px solid; border-left: 1.5px solid; }
.fc-tr { top: -1px; right: -1px; border-top: 1.5px solid; border-right: 1.5px solid; }
.fc-bl { bottom: -1px; left: -1px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.fc-br { bottom: -1px; right: -1px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-frame {
    inset: -15px !important;
  }
}

@media (max-width: 767px) {
  .hero-frame {
    inset: -10px !important;
    border-width: 0.5px !important;
  }
  .frame-corner {
    width: 30px !important;
    height: 30px !important;
    border-width: 2.5px !important;
  }
}/* ── FIX: Bring names ABOVE glow & enforce bright white ── */
.hero-content {
  position: relative; /* Establishes proper stacking context */
  z-index: 10;
}

.hero-names,
.hn-first,
.hn-cap {
  position: relative;
  z-index: 50; /* Sits well above glow (z:1) & trees (z:2) */
  color: #F8F4E3 !important; /* Force exact bright white */
  mix-blend-mode: normal !important; /* Stops glow from tinting text */
  -webkit-font-smoothing: antialiased; /* Crisp, consistent color rendering */
  opacity: 1 !important;
}

.hn-amp {
  position: relative;
  z-index: 50;
  mix-blend-mode: normal !important; /* Keeps gold "&" clean & untinted */
  opacity: 1 !important;
}/* End custom CSS */
/* Start custom CSS */html { scroll-behavior: smooth; }
body { background: #0A0A0B; overflow-x: hidden; }
/* Art Nouveau Borders */
.an-border-left, .an-border-right {
  position: fixed;
  top: 0;
  width: clamp(18px, 4.5vw, 65px);
  z-index: 5;
  pointer-events: none;
  display: block;
  height: 100vh;
}
.an-border-left { left: 0; }
.an-border-right { right: 0; transform: scaleX(-1); }

/* Ambient Effects */
#magic-dust, #starfield {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

#vignette-pulse {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(8,0,4,0.55) 100%);
  animation: vignetteBreathe 8s ease-in-out infinite;
}

@keyframes vignetteBreathe {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

/* Dust and Star Animations */
.dust-mote {
  position: absolute;
  border-radius: 50%;
  animation: dustFloat var(--dur, 12s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes dustFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(.6); }
  20% { opacity: var(--op, .08); }
  80% { opacity: var(--op, .08); }
  100% { opacity: 0; transform: translateY(var(--dy, -40px)) translateX(var(--dx, 20px)) scale(1); }
}

.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(226, 201, 126, var(--op, .08));
  animation: starTwinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes starTwinkle {
  0% { opacity: var(--op, .08); transform: scale(1); }
  100% { opacity: calc(var(--op) * 3.5); transform: scale(1.6); }
}/* End custom CSS */