/* =========================
   Wedding Theme — Global
   ========================= */

:root{
  --w-bg: #0b1f22;          /* deep green/blue */
  --w-ink: rgba(247,244,238,.92);
  --w-ink-dim: rgba(247,244,238,.68);
  --w-line: rgba(247,244,238,.16);
  --w-glass: rgba(247,244,238,.06);

  --w-card: rgba(247,244,238,.92);
  --w-card-ink: #2E2D24;

  --w-accent: #E8B7A3;      /* dusty pink */
  --w-accent-2: #D9C7A3;    /* champagne */

  --w-shadow: 0 24px 70px rgba(0,0,0,.35);
  --w-radius: 22px;
}

/* Page background everywhere */
body{
  background: radial-gradient(1200px 800px at 10% 0%, rgba(232,183,163,.16), transparent 60%),
              radial-gradient(900px 650px at 90% 20%, rgba(217,199,163,.10), transparent 55%),
              radial-gradient(1000px 700px at 50% 110%, rgba(10,60,70,.45), transparent 60%),
              var(--w-bg);
              overflow-x: hidden;
}

/* Soft noise overlay */
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

/* Basic layout helpers */
.w-page, .w-home { color: var(--w-ink); }
.w-container{ max-width:1100px; margin:0 auto; padding:0 18px; }
.w-section{ padding: 28px 0; }

/* Eyebrow + text */
.w-eyebrow{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(0, 0, 0, 0.72);
}
.w-sub, .w-hero-sub{
  margin:0;
  max-width:100ch;
  color:rgba(0, 0, 0, 0.92);
  font-size:16px;
  line-height:1.7;
}

p.w-eyebrow.w-anim.w-anim-eyebrow.is-in {
    color: rgba(0, 0, 0, 0.92);
}

/* =========================
   Fancy panels (hero shells)
   ========================= */

.w-hero2, .w-hero-shell{
  position:relative;
  overflow:hidden;
  border-radius:var(--w-radius);
  border:1px solid var(--w-line);
  background: linear-gradient(180deg, rgba(247,244,238,.16), rgba(247,244,238,.10));
  box-shadow: 1px -7px 20px 6px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow .35s ease;
}

/* soft top-to-bottom veil to improve hero text contrast */
.w-hero2:before, .w-hero-shell:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.12) 48%,
    rgba(255,255,255,.05) 100%
  );
  pointer-events:none;
}

/* gold edge sheen */
.w-hero2:after, .w-hero-shell:after{
  content:"";
  position:absolute; inset:-2px;
  border-radius:calc(var(--w-radius) + 2px);
  padding:1px;
  background: linear-gradient(120deg,
    rgba(217,199,163,.00),
    rgba(217,199,163,.55),
    rgba(232,183,163,.35),
    rgba(217,199,163,.00)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity:.55;
  background-size: 220% 220%;
  animation: w-shell-border-shimmer 11s linear infinite;
}

.w-hero-shell.is-hovering{
  box-shadow: 1px -7px 20px 6px rgba(0, 0, 0, .35), 0 18px 44px rgba(0,0,0,.24);
}

/* Cards */
.w-card{
  border-radius:18px;
  padding:18px;
      background: rgb(255 255 255 / 43%);
  border:1px solid var(--w-line);
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
}

/* Light card (like your venue panel) */
.w-card-lite{
  border-radius:18px;
  padding:18px;
  background: var(--w-card);
  color: var(--w-card-ink);
  border:1px solid rgba(19,16,15,.10);
  box-shadow:0 14px 40px rgba(0,0,0,.22);
}

/* Homepage ceremony info card */
.w-info-card{
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 26px;
}

.w-info-kicker{
  margin: 0;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(0,0,0,.62);
}

.w-info-title{
  margin: 10px 0 14px;
  line-height: 1.12;
  color: rgba(0,0,0,.92);
  font-size: clamp(24px, 3.4vw, 34px);
}

.w-info-list{
  display: grid;
  gap: 0;
}

.w-info-row{
  display: grid;
  grid-template-columns: minmax(78px, 110px) 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,.14);
}

.w-info-label{
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(0,0,0,.62);
}

.w-info-value{
  color: rgba(0,0,0,.90);
  line-height: 1.55;
  font-size: 16px;
}

/* Divider motif between hero and ceremony */
.w-section-divider{
  width: min(100% - 36px, 760px);
  margin: 8px auto 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  opacity: .92;
}

.w-section-divider::before,
.w-section-divider::after{
  content:"";
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(247,244,238,0),
    rgba(247,244,238,.48),
    rgba(247,244,238,0)
  );
}

.w-divider-rosette{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  position: relative;
  border: 1px solid rgba(232,183,163,.58);
  background:
    radial-gradient(circle at center, rgba(232,183,163,.92) 0 3px, transparent 3.5px),
    radial-gradient(circle at 32% 36%, rgba(247,244,238,.44) 0 2px, transparent 2.6px),
    radial-gradient(circle at 68% 36%, rgba(247,244,238,.44) 0 2px, transparent 2.6px);
  box-shadow:
    0 0 0 5px rgba(247,244,238,.06),
    0 4px 14px rgba(0,0,0,.20);
}

.w-divider-rosette::before,
.w-divider-rosette::after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(247,244,238,.42);
  transform: translate(-50%, -50%) rotate(45deg);
}

.w-divider-rosette::after{
  width: 8px;
  height: 8px;
  opacity: .55;
  transform: translate(-50%, -50%);
}

/* Homepage guided load sequence (hero to ceremony card) */
.w-home .w-hero{
  padding-top: 44px;
  padding-bottom: 8px;
}

.w-home-ceremony{
  padding-top: 8px;
  padding-bottom: 14px;
}

.w-home-guided-divider{
  margin-top: 2px;
  margin-bottom: 6px;
}

.w-home-guided-path{
  --w-guided-path-h: 38px;
  width: min(100% - 36px, 760px);
  height: var(--w-guided-path-h);
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  position: relative;
  pointer-events: none;
}

.w-home-guided-path-line{
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(247,244,238,0) 0%,
    rgba(232,183,163,.72) 52%,
    rgba(247,244,238,0) 100%
  );
  transform-origin: top center;
}

.w-home-guided-path-spark{
  position: absolute;
  top: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(
    circle at center,
    rgba(255,248,240,.96) 0%,
    rgba(232,183,163,.86) 56%,
    rgba(232,183,163,0) 74%
  );
  box-shadow: 0 0 20px rgba(232,183,163,.56);
  transform: translate(-50%, 0) scale(.72);
  opacity: 0;
}

.w-home.is-guided-seq .w-home-hero-shell{
  opacity: 0;
  transform: translateY(14px) scale(.985);
  filter: blur(2px);
  transition:
    opacity .75s ease,
    transform .85s cubic-bezier(.2,.85,.2,1),
    filter .85s ease;
}

.w-home.is-guided-seq .w-home-guided-divider{
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .55s ease, transform .65s cubic-bezier(.2,.85,.2,1);
}

.w-home.is-guided-seq .w-home-guided-path{
  opacity: 0;
  transition: opacity .28s ease;
}

.w-home.is-guided-seq .w-home-guided-path-line{
  transform: scaleY(0);
  transition: transform .70s cubic-bezier(.2,.85,.2,1);
}

.w-home.is-guided-seq .w-home-ceremony-card{
  opacity: 0;
  transform: translateY(20px) scale(.985);
  filter: blur(3px);
  transition:
    opacity .80s ease,
    transform .85s cubic-bezier(.2,.85,.2,1),
    filter .80s ease;
}

.w-home.is-guided-seq.is-stage-hero .w-home-hero-shell{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.w-home.is-guided-seq.is-stage-divider .w-home-guided-divider{
  opacity: .92;
  transform: translateY(0) scale(1);
}

.w-home.is-guided-seq.is-stage-path .w-home-guided-path{
  opacity: 1;
}

.w-home.is-guided-seq.is-stage-path .w-home-guided-path-line{
  transform: scaleY(1);
}

.w-home.is-guided-seq.is-stage-path .w-home-guided-path-spark{
  opacity: 1;
  animation:
    w-home-guided-spark-drop .95s cubic-bezier(.2,.85,.2,1) forwards,
    w-home-guided-spark-pulse 2.6s ease-in-out .95s infinite;
}

.w-home.is-guided-seq.is-stage-card .w-home-ceremony-card{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

@keyframes w-home-guided-spark-drop{
  0%{
    transform: translate(-50%, 0) scale(.62);
    opacity: 0;
  }
  14%{
    opacity: 1;
  }
  100%{
    transform: translate(-50%, calc(var(--w-guided-path-h) - 16px)) scale(1);
    opacity: .96;
  }
}

@keyframes w-home-guided-spark-pulse{
  0%, 100%{
    box-shadow: 0 0 20px rgba(232,183,163,.56);
    filter: saturate(1);
  }
  50%{
    box-shadow: 0 0 34px rgba(232,183,163,.72);
    filter: saturate(1.05);
  }
}

@media (max-width: 700px){
  .w-home-guided-path{
    --w-guided-path-h: 30px;
    margin-bottom: 2px;
  }

  .w-home .w-hero{
    padding-top: 36px;
    padding-bottom: 6px;
  }

  .w-home-ceremony{
    padding-top: 6px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce){
  .w-home.is-guided-seq .w-home-hero-shell,
  .w-home.is-guided-seq .w-home-guided-divider,
  .w-home.is-guided-seq .w-home-guided-path,
  .w-home.is-guided-seq .w-home-guided-path-line,
  .w-home.is-guided-seq .w-home-ceremony-card{
    transition: none !important;
  }

  .w-home.is-guided-seq .w-home-guided-path-spark{
    animation: none !important;
  }
}

/* Buttons */
.w-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.w-btn{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(232,183,163,1), rgba(232,183,163,.86));
  color:#2E2D24;
  font-weight:800;
  text-decoration:none;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 16px 40px rgba(232,183,163,.18);
}
.w-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(232,183,163,.24);
  filter: saturate(1.06);
}
.w-btn:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%);
  transition: transform .7s ease;
  opacity:.65;
  pointer-events:none;
  z-index:0;
}
.w-btn > *{ position:relative; z-index:1; }
.w-btn:hover:before{ transform: translateX(120%); }

.w-btn-ghost{
 background: rgb(0 0 0 / 6%);
  color: var(--w-ink);
  border:1px solid var(--w-line);
  box-shadow:none;
}
.w-btn-ghost:hover{ box-shadow:0 20px 55px rgba(0,0,0,.28); }

/* =========================
   Homepage Hero (fancy type)
   ========================= */

.w-hero{
  padding: 56px 0 18px;
}
.w-hero-inner{
  --hero-mx: 50%;
  --hero-my: 32%;
  --hero-rx: 0deg;
  --hero-ry: 0deg;
  position: relative;
  isolation: isolate;
  padding: 28px;
  transform: perspective(1200px) rotateX(var(--hero-rx)) rotateY(var(--hero-ry));
  transform-style: preserve-3d;
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
}

.w-hero-inner::before{
  content:"";
  position:absolute;
  inset:-14%;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(
      420px 280px at var(--hero-mx) var(--hero-my),
      rgba(255,236,224,.34),
      rgba(255,236,224,.06) 40%,
      rgba(255,236,224,0) 70%
    );
  filter: blur(2px);
}

.w-hero-inner::after{
  content:"";
  position:absolute;
  inset:-28% -36%;
  z-index:1;
  pointer-events:none;
  background: linear-gradient(
    115deg,
    transparent 34%,
    rgba(255,255,255,.22) 48%,
    transparent 62%
  );
  opacity:.0;
  transform: translateX(-125%) skewX(-16deg);
  animation: w-hero-glass-sweep 7.8s ease-in-out infinite;
}

.w-hero-inner > *{
  position: relative;
  z-index: 2;
}
.w-hero-title{
  margin:0 0 10px;
  line-height:1.02;
  letter-spacing:-.02em;
  font-size: clamp(54px, 6vw, 84px);
  display:flex;
  gap:14px;
  align-items:baseline;
  flex-wrap:wrap;
}
.w-title-script{
  font-weight: 800;
  color: rgba(3, 0, 24, 0.92);
  text-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.w-title-amp{
  color: rgb(240 158 158 / 95%);
  font-weight: 900;
  opacity: .95;
  text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black;
}

/* CTA card */
.w-hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:0px;align-items: center;
    justify-content: center; }

@keyframes w-shell-border-shimmer{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 220% 50%; }
}

@keyframes w-hero-glass-sweep{
  0%, 72%{
    opacity: 0;
    transform: translateX(-125%) skewX(-16deg);
  }
  78%{
    opacity: .26;
  }
  92%{
    opacity: .06;
    transform: translateX(122%) skewX(-16deg);
  }
  100%{
    opacity: 0;
    transform: translateX(122%) skewX(-16deg);
  }
}

/* =========================
   Motion helpers
   ========================= */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in{ opacity:1; transform: translateY(0); }

@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.floaty{animation: floaty 6.5s ease-in-out infinite}

/* optional: hero text pop-in */
.w-anim{ opacity:0; transform: translateY(10px); }
.w-anim.is-in{ opacity:1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.w-anim-title.is-in{ transition-delay:.08s; }
.w-anim-sub.is-in{ transition-delay:.16s; }
.w-anim-eyebrow.is-in{ transition-delay:0s; }


/* --- Logo must render on mobile --- */
.w-brand{
  display:flex;
  align-items:center;
  gap:12px;
  line-height:1;
}

/* WP outputs: <a class="custom-logo-link"><img class="custom-logo"></a> */
.w-brand .custom-logo-link{
  display:inline-flex !important;
  align-items:center;
}



/* if header has height constraints on mobile */
@media (max-width: 860px){
  .w-site-header{ overflow: visible; }
  .w-header-inner{ padding:12px 16px; }
  .w-nav-toggle{ z-index: 2; }
}

.w-site-header,
.w-header-inner{
  overflow: visible !important;
}

@media (max-width: 860px){
img.custom-logo {
    width: 100%;
    height: 100%;
}
.w-ticker {
  display: none;
  height: 0px;
}
/* Use the computed top */
.w-ticker {
  top: 0;
}
.w-menu a {
  color: #13100F !important;
  text-decoration: none;
  font-weight: 650;
  opacity: .9;
}

/* Push header down by (ticker-top + ticker height) */
.w-site-header {
  margin-top: 0 !important;
}
:root {
  --ticker-h: 0px;
  --ticker-bg: rgba(247, 244, 238, .10);
  --ticker-line: rgba(247, 244, 238, .18);
  --ticker-ink: rgba(247, 244, 238, .92);
  --ticker-ink-dim: rgba(247, 244, 238, .72);
  --ticker-accent: rgba(232, 183, 163, .95);
  --ticker-top: 0px;
  /* default: no offset */
}
}

/* ===== Homepage flower drop (5s intro) ===== */
.w-flower-rain{
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  overflow: hidden;
}

.w-flower-rain.is-off{
  opacity: 0;
  transition: opacity 500ms ease;
}

/* IMPORTANT: use nested elements so fall + sway don't fight over transform */
.w-flower{
  position: absolute;
  top: -20px;           /* visible even if animation fails */
  left: 0;
  will-change: transform;
  animation: wFlowerFall linear 1 forwards;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
  opacity: .95;
}

.w-flower > span{
  display: block;
  will-change: transform;
  animation: wFlowerSway ease-in-out infinite;
}

@keyframes wFlowerFall{
  0%   { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate3d(0, 115vh, 0) rotate(360deg); opacity: .9; }
}

@keyframes wFlowerSway{
  0%,100% { transform: translate3d(-12px, 0, 0); }
  50%     { transform: translate3d( 12px, 0, 0); }
}


/* ===== Typewriter / handwritten reveal ===== */

.w-typewriter .tw-name {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(3,0,24,0.9);
  letter-spacing: .02em;
}

.w-typewriter.tw-done .tw-name {
  color: rgba(3,0,24,0.92);
  -webkit-text-stroke: 1.4px;
}

/* animated mask */
.w-typewriter .tw-name::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: rgba(3,0,24,0.92);
  overflow: hidden;
  white-space: nowrap;
  width: 0%;
}

.w-typewriter.tw-run .tw-name::after {
  animation: tw-write 1.6s ease forwards;
  -webkit-text-stroke: 1.4px;
}

.w-typewriter.tw-run .tw-name:nth-of-type(2)::after {
  animation-delay: 1.8s;
  -webkit-text-stroke: 1.4px;
}

@keyframes tw-write {
  to { width: 100%; }
}

.tw-name {
  font-family: 'Great Vibes', cursive;
}

section.w-g-grid.reveal.is-in {
  padding: 6px 36px;
}

.w-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.w-btn-small {
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: .14em;
}

.rsvp-wrap {
  padding: 0px 11vw;
}

@media (prefers-reduced-motion: reduce){
  .w-hero2:after, .w-hero-shell:after{
    animation: none;
  }

  .w-hero-inner{
    transform: none !important;
    transition: none !important;
  }

  .w-hero-inner::after{
    animation: none;
    opacity: .12;
    transform: none;
  }
}
