/* Palette extracted from your inspiration: ivory, blush, nude, taupe */
:root{
  --ivory:#f9f3ec;
  --blush:#ddc5b1;
  --nude:#bc9d88;
  --taupe:#827065;
  --ink:#3b2b25;
  --mist:#d7d5d1;

  --shadow: 0 18px 60px rgba(0,0,0,.12);
  --radius: 22px;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{
  height:100%; 
  scroll-behavior: smooth !important;
  scroll-padding-top: 18px; 
}

body{
  margin:0;
  color:var(--ink);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(221,197,177,.55), transparent 55%),
              radial-gradient(1000px 600px at 80% 20%, rgba(188,157,136,.40), transparent 60%),
              linear-gradient(180deg, var(--ivory), #ffffff);
  font-family:var(--font-sans);
  overflow-x:hidden;
}

a{color:inherit}

.bg-sparkle{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.55;
  mix-blend-mode:multiply;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 35%, rgba(255,255,255,.7) 0 1px, transparent 3px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,.6) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,.7) 0 1px, transparent 3px);
  background-size: 280px 280px, 220px 220px, 300px 300px, 260px 260px;
  animation: drift 20s linear infinite;
}

@keyframes drift{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-120px, 80px, 0)}
}

.container{
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero{
  min-height: 100svh;
  display:grid;
  place-items:center;
  padding: 74px 0 46px;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  width: min(880px, 92vw);
  height: min(880px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,.25) 45%, transparent 70%);
  filter: blur(0px);
  opacity:.9;
  transform: translateY(-20px);
}

.hero-card{
  position:relative;
  width: min(900px, 92vw);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 52px 24px 38px;
  border: 1px solid rgba(130,112,101,.20);
  overflow:hidden;
}

#details{
  background-color: white !important;
}
#rsvp{
  background-color: white !important;
}
.eyebrow{
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 12px;
  color: rgba(59,43,37,.75);
}

.title{
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 62px);
  line-height:1.08;
  margin: 18px 0 8px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 6px;
}

.script{
  display:inline-block;
  padding: 0 6px;
}

.amp{
  display:inline-block;
  font-size: .72em;
  margin: 0;
  color: var(--taupe);
  letter-spacing: .02em;
}

.subtitle{
  text-align:center;
  font-weight: 300;
  margin: 10px 0 18px;
  font-size: clamp(14px, 2.1vw, 18px);
  color: rgba(59,43,37,.82);
}

.hero-meta{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
  margin: 14px 0 24px;
}

.pill{
  border: 1px solid rgba(130,112,101,.22);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(249,243,236,.75);
  font-size: 13px;
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 6px;
}

.btn{
  appearance:none;
  border: 1px solid rgba(130,112,101,.35);
  background: rgba(255,255,255,.75);
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration:none;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.btn:active{ transform: translateY(0px); }

.btn.primary{
  background: linear-gradient(180deg, rgba(221,197,177,.95), rgba(188,157,136,.85));
  border-color: rgba(130,112,101,.35);
}

.btn.small{ padding: 10px 14px; font-size: 13px; }

.personal-greeting{
  text-align:center;
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(59,43,37,.78);
  min-height: 18px;
}

.scroll-hint{
  display:grid;
  place-items:center;
  height: 30px;
  margin-top: 20px;
}
.scroll-hint .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(130,112,101,.45);
  animation: bounce 1.4s ease-in-out infinite;
}
@keyframes bounce{
  0%,100%{ transform: translateY(0); opacity:.55; }
  50%{ transform: translateY(10px); opacity: 1; }
}

.section{
  padding: 72px 0;
}

.section-title{
  font-family: var(--font-serif);
  font-size: 34px;
  margin: 0 0 10px;
  text-align:center;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.card{
  grid-column: span 12;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(130,112,101,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  padding: 20px 18px;
}

@media (min-width: 900px){
  .card{ padding: 24px 22px; }
  .grid .card{ grid-column: span 4; }
  .card.wide{ grid-column: span 12; }
}

.card h3{
  font-family: var(--font-serif);
  margin: 0 0 10px;
  font-size: 20px;
}

.tight{ margin: 0 0 10px; }
.muted{ color: rgba(59,43,37,.70); }
.muted.small{ font-size: 12px; }

.link{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline{
  list-style:none;
  padding:0;
  margin: 0 0 14px;
  display:grid;
  gap: 10px;
}
.timeline li{
  display:flex;
  gap: 12px;
  align-items:baseline;
}
.time{
  min-width: 110px;
  font-weight: 500;
  color: rgba(59,43,37,.85);
}
.divider{
  height: 1px;
  background: rgba(130,112,101,.15);
  margin: 12px 0;
}

.form{
  max-width: 720px;
  margin: 0 auto;
}

.form-row{
  display:grid;
  gap: 8px;
  margin-bottom: 14px;
}

label{
  font-size: 13px;
  color: rgba(59,43,37,.85);
}

input[type="text"], textarea{
  width:100%;
  border: 1px solid rgba(130,112,101,.22);
  background: rgba(249,243,236,.70);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  outline:none;
}
input[type="text"]:focus, textarea:focus{
  border-color: rgba(130,112,101,.45);
  box-shadow: 0 0 0 4px rgba(221,197,177,.35);
}

.segmented{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.seg{
  flex: 1 1 220px;
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid rgba(130,112,101,.22);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(249,243,236,.60);
  cursor:pointer;
}
.seg input{ accent-color: var(--taupe); }

.checkbox{
  display:flex;
  align-items:center;
  gap: 10px;
}

.form-actions{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}

.status{
  min-height: 18px;
  font-size: 13px;
  color: rgba(59,43,37,.80);
}
/* Floating minimal florals overlay */
.floral-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;            /* above content */
  opacity: .22;          /* keep it subtle */
  mix-blend-mode: multiply;
}

/* Simple line-art flower as a tiny SVG background */
.floral-overlay span{
  position: absolute;
  width: 64px;
  height: 64px;
  background: url("./apricot-roses.svg") center/contain no-repeat;
  filter: blur(.1px);
  transform: translate3d(0,0,0) rotate(0deg);
  animation: floralFloat 18s linear infinite;
}

/* Position + vary each flower */
.floral-overlay span:nth-child(1){ left: 6%;  top: 12%; animation-duration: 22s; }
.floral-overlay span:nth-child(2){ left: 78%; top: 18%; animation-duration: 26s; animation-delay: -6s; width:52px; height:52px; }
.floral-overlay span:nth-child(3){ left: 14%; top: 64%; animation-duration: 24s; animation-delay: -10s; opacity:.75; }
.floral-overlay span:nth-child(4){ left: 84%; top: 62%; animation-duration: 28s; animation-delay: -14s; width:70px; height:70px; opacity:.65; }
.floral-overlay span:nth-child(5){ left: 44%; top: 8%;  animation-duration: 25s; animation-delay: -8s; width:48px; height:48px; opacity:.55; }
.floral-overlay span:nth-child(6){ left: 52%; top: 78%; animation-duration: 30s; animation-delay: -18s; width:58px; height:58px; opacity:.60; }

/* Gentle drift + rotation (loop-safe: 0% == 100%) */
@keyframes floralFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(10px, -18px, 0) rotate(10deg); }
}


.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}

.footer{
  padding: 28px 0 44px;
  text-align:center;
  background-color: white;
}

.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .bg-sparkle{ animation:none; }
  .btn, .reveal{ transition:none; }
  .scroll-hint .dot{ animation:none; }
}


@media (min-width: 700px){
  .title{ flex-direction:row; gap: 14px; }
  .amp{ margin: 0; }
}


.floral-divider{
  height: 28px;
  margin: 10px auto 4px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 60'%3E %3Cg fill='none' stroke='%23827065' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'%3E %3Cpath d='M30 30h240'/%3E %3Cpath d='M630 30h240'/%3E %3C/g%3E %3Cg fill='none' stroke='%23bc9d88' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.85'%3E %3Cpath d='M450 18c-14 0-26 12-26 26c0 6 2 12 6 16c6-6 12-10 20-10s14 4 20 10c4-4 6-10 6-16c0-14-12-26-26-26z'/%3E %3Cpath d='M450 26c-7 2-12 8-12 15'/%3E %3Cpath d='M450 26c7 2 12 8 12 15'/%3E %3Cpath d='M422 42c-10 2-20 0-28-6'/%3E %3Cpath d='M478 42c10 2 20 0 28-6'/%3E %3C/g%3E %3C/svg%3E") center/contain no-repeat;
  opacity: .9;
}

.section-divider{
  width: min(420px, 82vw);
  height: 24px;
  margin: 10px auto 22px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 60'%3E %3Cg fill='none' stroke='%23827065' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'%3E %3Cpath d='M30 30h240'/%3E %3Cpath d='M630 30h240'/%3E %3C/g%3E %3Cg fill='none' stroke='%23bc9d88' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.85'%3E %3Cpath d='M450 18c-14 0-26 12-26 26c0 6 2 12 6 16c6-6 12-10 20-10s14 4 20 10c4-4 6-10 6-16c0-14-12-26-26-26z'/%3E %3Cpath d='M450 26c-7 2-12 8-12 15'/%3E %3Cpath d='M450 26c7 2 12 8 12 15'/%3E %3Cpath d='M422 42c-10 2-20 0-28-6'/%3E %3Cpath d='M478 42c10 2 20 0 28-6'/%3E %3C/g%3E %3C/svg%3E") center/contain no-repeat;
  opacity: .75;
}


@media (max-width: 420px){
  .hero-card{ padding: 44px 18px 34px; }
  .pill{ padding: 9px 12px; }
  .time{ min-width: 96px; }
  .btn{ width: auto; }
}
