:root{
  --bg0:#fff7f8;
  --bg1:#fbfbff;
  --paper:#ffffff;
  --paper2: rgba(255,255,255,.82);
  --ink:#2b2a2f;
  --ink2:#4a4650;
  --muted:#6f6a76;
  --rose:#e7a8bd;
  --rose2:#f2c8d6;
  --line: rgba(20,16,26,.10);
  --shadow: 0 18px 50px rgba(22,12,28,.12);
  --shadow-soft: 0 10px 24px rgba(22,12,28,.10);
  --radius: 22px;
  --bg-art-opacity: .12;
  --bg-dress-boost: .22;
}

/* ===== Reset & Base ===== */
*{box-sizing:border-box; margin:0; padding:0}
html,body{
  height:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  width:100%;
  max-width:100vw;
}
html{touch-action:manipulation}
body{
  font-family:"Cormorant Garamond", serif;
  color:var(--ink);
  background:
    radial-gradient(1200px 900px at 20% 0%, rgba(231,168,189,.22), transparent 60%),
    radial-gradient(1000px 800px at 90% 10%, rgba(242,200,214,.18), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-size:18px;
  overflow-x:hidden;
}
a{color:inherit}
img{max-width:100%; display:block}
.no-scroll{overflow:hidden}

/* ===== Cinematic background ===== */
.cin-bg{
  position:fixed; inset:-20px;
  pointer-events:none;
  background:
    radial-gradient(900px 700px at 50% -10%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(900px 700px at 10% 30%, rgba(231,168,189,.18), transparent 60%),
    radial-gradient(900px 700px at 95% 40%, rgba(242,200,214,.16), transparent 60%);
  z-index:-1;
}

/* ===== Illustration background ===== */
body::before{
  content:"";
  position:fixed; inset:0;
  background:url("images/bg-art.png") center bottom/cover no-repeat;
  opacity:0;
  transition:opacity 1.1s ease;
  pointer-events:none;
  z-index:-3;
}
body::after{
  content:"";
  position:fixed; inset:0;
  background:url("images/bg-art.png") center bottom/cover no-repeat;
  filter:brightness(1.22) saturate(1.05);
  opacity:0;
  transition:opacity 1.1s ease;
  -webkit-mask-image:radial-gradient(closest-side at 62% 88%, rgba(0,0,0,1) 0%, rgba(0,0,0,.9) 35%, rgba(0,0,0,0) 75%);
  mask-image:radial-gradient(closest-side at 62% 88%, rgba(0,0,0,1) 0%, rgba(0,0,0,.9) 35%, rgba(0,0,0,0) 75%);
  pointer-events:none;
  z-index:-3;
}
body.bg-visible::before{opacity:var(--bg-art-opacity)}
body.bg-visible::after{opacity:var(--bg-dress-boost)}

/* Branches */
.bg-branches{position:fixed; inset:0; pointer-events:none; z-index:-2}
.bg-branches::before,
.bg-branches::after{
  content:"";
  position:absolute; inset:0;
  background:url("images/bg-art.png") center bottom/cover no-repeat;
  opacity:.55;
}
.bg-branches::before{
  transform-origin:6% 12%;
  animation:branchesSway 8.5s ease-in-out infinite;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 28%,transparent 52%),linear-gradient(180deg,#000 0%,#000 44%,transparent 70%);
  mask-image:linear-gradient(90deg,#000 0%,#000 28%,transparent 52%),linear-gradient(180deg,#000 0%,#000 44%,transparent 70%);
}
.bg-branches::after{
  transform-origin:8% 88%;
  animation:branchesSway2 10.5s ease-in-out infinite;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 28%,transparent 52%),linear-gradient(180deg,transparent 25%,#000 55%,#000 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 28%,transparent 52%),linear-gradient(180deg,transparent 25%,#000 55%,#000 100%);
}
@keyframes branchesSway{
  0%,100%{transform:rotate(0deg) translateY(0)}
  50%{transform:rotate(-1.2deg) translateY(2px)}
}
@keyframes branchesSway2{
  0%,100%{transform:rotate(0deg) translateY(0)}
  50%{transform:rotate(1deg) translateY(-2px)}
}

/* ===== Layout ===== */
.page{
  width:min(980px, 92vw);
  margin:0 auto;
  padding:26px 0 70px;
  max-width:100%;
  overflow-x:hidden;
}
.section{padding:34px 16px; max-width:100%; overflow-x:hidden}

/* ===== Dividers ===== */
.divider{
  position:relative;
  height:10px;
  padding:0;
  margin:18px auto;
  width:min(92%, 820px);
}
.divider svg{display:none}
.divider::before,.divider::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:1px;
  background:rgba(60,40,40,.18);
}
.divider::before{top:2px}
.divider::after{bottom:2px}

.section__divider{
  position:relative;
  height:10px;
  margin:18px auto;
  width:min(92%, 820px);
  background:none;
  border:0;
}
.section__divider::before,.section__divider::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:1px;
  background:rgba(60,40,40,.18);
}
.section__divider::before{top:2px}
.section__divider::after{bottom:2px}

/* ===== Intro overlay ===== */
.intro{
  position:fixed; inset:0;
  display:grid;
  place-items:center;
  z-index:50;
  padding:18px;
  opacity:1;
  visibility:visible;
  transition:opacity .45s ease, visibility .45s ease;
}
.intro[aria-hidden="true"]{display:none}
.intro__veil{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 700px at 30% 20%, rgba(231,168,189,.35), transparent 60%),
    radial-gradient(900px 700px at 80% 10%, rgba(242,200,214,.28), transparent 60%),
    rgba(255,255,255,.55);
  backdrop-filter:blur(12px);
}
.intro__card{
  position:relative;
  width:min(560px, 92vw);
  border-radius:calc(var(--radius) + 6px);
  background:
    radial-gradient(800px 420px at 10% 0%, rgba(231,168,189,.22), transparent 55%),
    radial-gradient(520px 340px at 90% 10%, rgba(242,200,214,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.80));
  box-shadow:0 26px 70px rgba(22,12,28,.16);
  border:1px solid rgba(20,16,26,.12);
  padding:28px 22px 22px;
  text-align:center;
  overflow:hidden;
  transform:translateY(0) scale(1);
  transition:transform .45s ease;
}
.intro__card::before{
  content:"";
  position:absolute; inset:-2px;
  border-radius:inherit;
  background:linear-gradient(135deg, rgba(231,168,189,.45), rgba(255,255,255,0), rgba(242,200,214,.35));
  opacity:.55;
  pointer-events:none;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding:1px;
  box-sizing:border-box;
}
.intro__card::after{
  content:"";
  position:absolute;
  inset:-60px;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%);
  transform:rotate(8deg);
  pointer-events:none;
}
.intro.is-closing{opacity:0; visibility:hidden}
.intro.is-closing .intro__card{transform:translateY(10px) scale(.98)}
.intro.is-closed{display:none}

.intro__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-family:"Cormorant Garamond", serif;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(43,42,47,.8);
  background:rgba(255,255,255,.75);
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
  margin:0 auto 14px;
}
.intro__names{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  letter-spacing:.02em;
  font-size:clamp(34px, 4.8vw, 48px);
  line-height:1.05;
}
.intro__amp{opacity:.7; font-weight:500}
.intro__meta{
  margin:10px 0 14px;
  color:var(--muted);
  letter-spacing:.02em;
  font-family:"Cormorant Garamond", serif;
  font-size:18px;
}
.intro__field{
  width:min(360px, 84vw);
  margin:0 auto 14px;
  text-align:left;
}
.intro__label{
  display:block;
  font-size:12px;
  letter-spacing:.02em;
  color:rgba(74,70,80,.85);
  margin:0 0 6px;
}
.intro__input{
  width:100%;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(20,16,26,.14);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow-soft);
  outline:none;
  font-family:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:16px;
  color:var(--ink);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.intro__input:focus{
  border-color:rgba(196,120,154,.5);
  box-shadow:0 14px 30px rgba(196,120,154,.14);
}
.intro__note{margin-top:8px; font-size:12px; color:rgba(74,70,80,.9); min-height:16px}
.intro__error{margin-top:6px; font-size:12px; color:rgba(168,54,54,.92); min-height:16px}
.intro__field.is-error .intro__input{border-color:rgba(168,54,54,.55)}
.intro__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:min(320px, 80vw);
  padding:12px 16px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  letter-spacing:.02em;
  color:#fff;
  background:linear-gradient(135deg, rgba(231,168,189,1), rgba(196,120,154,1));
  box-shadow:0 16px 34px rgba(196,120,154,.30);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.intro__btn:disabled{opacity:.55; cursor:not-allowed; filter:saturate(.85); box-shadow:0 10px 22px rgba(196,120,154,.18)}
.intro__btn:hover{filter:brightness(1.02); box-shadow:0 18px 40px rgba(196,120,154,.34)}
.intro__btn:active{transform:translateY(1px) scale(.99)}
.intro__hint{
  margin-top:12px;
  font-family:"Cormorant Garamond", serif;
  font-size:13px;
  color:rgba(74,70,80,.85);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 20px;
  border-radius:999px;
  border:1px solid rgba(231,168,189,.55);
  background:linear-gradient(135deg, rgba(231,168,189,.95), rgba(242,200,214,.95));
  color:#1f1a22;
  box-shadow:0 16px 34px rgba(231,168,189,.22);
  cursor:pointer;
  font-family:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:700;
  letter-spacing:.03em;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{filter:brightness(1.02); box-shadow:0 18px 40px rgba(231,168,189,.28)}
.btn:active{transform:translateY(1px) scale(.99); box-shadow:0 12px 26px rgba(231,168,189,.20)}

/* ===== Typography ===== */
.h2{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  letter-spacing:.02em;
  margin:0 0 14px;
  font-size:28px;
  text-align:center;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.h2 .line{
  display:inline-block;
  position:relative;
  padding:12px 20px;
  background:linear-gradient(135deg, rgba(231,168,189,1), rgba(196,120,154,1));
  color:#fff;
  border-radius:8px;
  text-shadow:0 1px 2px rgba(0,0,0,.12);
  z-index:1;
  box-shadow:0 4px 16px rgba(196,120,154,.25);
}
.h2 .line::before,
.h2 .line::after{
  content:"";
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:72px;
  height:72px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  z-index:2;
  pointer-events:none;
}
.h2 .line::before{
  right:100%;
  margin-right:-14px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='75' cy='55' rx='22' ry='8' fill='%23c4789a' opacity='.45' transform='rotate(-15 75 55)'/%3E%3Cellipse cx='80' cy='45' rx='18' ry='7' fill='%23d4a0b5' opacity='.4' transform='rotate(-25 80 45)'/%3E%3Cellipse cx='70' cy='65' rx='20' ry='7' fill='%23b56d8a' opacity='.4' transform='rotate(5 70 65)'/%3E%3Cellipse cx='85' cy='58' rx='16' ry='6' fill='%23c4789a' opacity='.35' transform='rotate(-10 85 58)'/%3E%3Cellipse cx='65' cy='72' rx='15' ry='5' fill='%23d4a0b5' opacity='.35' transform='rotate(15 65 72)'/%3E%3Cellipse cx='60' cy='40' rx='12' ry='5' fill='%23c4789a' opacity='.35' transform='rotate(-30 60 40)'/%3E%3Cellipse cx='55' cy='58' rx='10' ry='4' fill='%23d4a0b5' opacity='.3' transform='rotate(10 55 58)'/%3E%3Cellipse cx='38' cy='42' rx='7' ry='12' fill='%23fff0f4' opacity='.92' transform='rotate(0 38 42)'/%3E%3Cellipse cx='38' cy='42' rx='7' ry='12' fill='%23ffe8ef' opacity='.85' transform='rotate(60 38 42)'/%3E%3Cellipse cx='38' cy='42' rx='7' ry='12' fill='%23ffe0ea' opacity='.8' transform='rotate(120 38 42)'/%3E%3Cellipse cx='38' cy='42' rx='7' ry='12' fill='%23ffd8e3' opacity='.75' transform='rotate(180 38 42)'/%3E%3Cellipse cx='38' cy='42' rx='7' ry='12' fill='%23ffe8ef' opacity='.7' transform='rotate(240 38 42)'/%3E%3Cellipse cx='38' cy='42' rx='7' ry='12' fill='%23fff0f4' opacity='.7' transform='rotate(300 38 42)'/%3E%3Ccircle cx='38' cy='42' r='5' fill='%23e8b0c4' opacity='.9'/%3E%3Cellipse cx='28' cy='62' rx='5' ry='9' fill='%23fff0f4' opacity='.8' transform='rotate(0 28 62)'/%3E%3Cellipse cx='28' cy='62' rx='5' ry='9' fill='%23ffe8ef' opacity='.7' transform='rotate(72 28 62)'/%3E%3Cellipse cx='28' cy='62' rx='5' ry='9' fill='%23ffe0ea' opacity='.7' transform='rotate(144 28 62)'/%3E%3Cellipse cx='28' cy='62' rx='5' ry='9' fill='%23ffe8ef' opacity='.65' transform='rotate(216 28 62)'/%3E%3Cellipse cx='28' cy='62' rx='5' ry='9' fill='%23fff0f4' opacity='.65' transform='rotate(288 28 62)'/%3E%3Ccircle cx='28' cy='62' r='3.5' fill='%23e8b0c4' opacity='.85'/%3E%3Cellipse cx='48' cy='30' rx='3' ry='5' fill='%23fff0f4' opacity='.6' transform='rotate(-20 48 30)'/%3E%3Cellipse cx='20' cy='48' rx='3' ry='5' fill='%23ffe8ef' opacity='.5' transform='rotate(15 20 48)'/%3E%3C/svg%3E");
}
.h2 .line::after{
  left:100%;
  margin-left:-14px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='25' cy='55' rx='22' ry='8' fill='%23c4789a' opacity='.45' transform='rotate(15 25 55)'/%3E%3Cellipse cx='20' cy='45' rx='18' ry='7' fill='%23d4a0b5' opacity='.4' transform='rotate(25 20 45)'/%3E%3Cellipse cx='30' cy='65' rx='20' ry='7' fill='%23b56d8a' opacity='.4' transform='rotate(-5 30 65)'/%3E%3Cellipse cx='15' cy='58' rx='16' ry='6' fill='%23c4789a' opacity='.35' transform='rotate(10 15 58)'/%3E%3Cellipse cx='35' cy='72' rx='15' ry='5' fill='%23d4a0b5' opacity='.35' transform='rotate(-15 35 72)'/%3E%3Cellipse cx='40' cy='40' rx='12' ry='5' fill='%23c4789a' opacity='.35' transform='rotate(30 40 40)'/%3E%3Cellipse cx='45' cy='58' rx='10' ry='4' fill='%23d4a0b5' opacity='.3' transform='rotate(-10 45 58)'/%3E%3Cellipse cx='62' cy='42' rx='7' ry='12' fill='%23fff0f4' opacity='.92' transform='rotate(0 62 42)'/%3E%3Cellipse cx='62' cy='42' rx='7' ry='12' fill='%23ffe8ef' opacity='.85' transform='rotate(60 62 42)'/%3E%3Cellipse cx='62' cy='42' rx='7' ry='12' fill='%23ffe0ea' opacity='.8' transform='rotate(120 62 42)'/%3E%3Cellipse cx='62' cy='42' rx='7' ry='12' fill='%23ffd8e3' opacity='.75' transform='rotate(180 62 42)'/%3E%3Cellipse cx='62' cy='42' rx='7' ry='12' fill='%23ffe8ef' opacity='.7' transform='rotate(240 62 42)'/%3E%3Cellipse cx='62' cy='42' rx='7' ry='12' fill='%23fff0f4' opacity='.7' transform='rotate(300 62 42)'/%3E%3Ccircle cx='62' cy='42' r='5' fill='%23e8b0c4' opacity='.9'/%3E%3Cellipse cx='72' cy='62' rx='5' ry='9' fill='%23fff0f4' opacity='.8' transform='rotate(0 72 62)'/%3E%3Cellipse cx='72' cy='62' rx='5' ry='9' fill='%23ffe8ef' opacity='.7' transform='rotate(72 72 62)'/%3E%3Cellipse cx='72' cy='62' rx='5' ry='9' fill='%23ffe0ea' opacity='.7' transform='rotate(144 72 62)'/%3E%3Cellipse cx='72' cy='62' rx='5' ry='9' fill='%23ffe8ef' opacity='.65' transform='rotate(216 72 62)'/%3E%3Cellipse cx='72' cy='62' rx='5' ry='9' fill='%23fff0f4' opacity='.65' transform='rotate(288 72 62)'/%3E%3Ccircle cx='72' cy='62' r='3.5' fill='%23e8b0c4' opacity='.85'/%3E%3Cellipse cx='52' cy='30' rx='3' ry='5' fill='%23fff0f4' opacity='.6' transform='rotate(20 52 30)'/%3E%3Cellipse cx='80' cy='48' rx='3' ry='5' fill='%23ffe8ef' opacity='.5' transform='rotate(-15 80 48)'/%3E%3C/svg%3E");
}
.lead,.welcome-text,.gift-text,.after-photos,.footer-text{
  margin:0 auto;
  max-width:60ch;
  line-height:1.7;
  color:var(--ink2);
  text-align:center;
  font-family:"Cormorant Garamond", serif;
  font-size:18px;
}

/* ===== Welcome ===== */
.welcome{padding-top:10px}
.welcome-title{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  text-align:center;
  margin:0 0 8px;
  font-size:30px;
}
.welcome-text{font-size:15px}

/* ===== Fun stamp ===== */
.stamp-section{display:none; justify-content:center; padding-top:4px}
.fun-stamp{
  display:inline-block;
  padding:14px 26px;
  font-size:28px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7a1f2d;
  background:rgba(255,240,244,.9);
  border:3px dashed rgba(122,31,45,.6);
  border-radius:18px;
  box-shadow:0 12px 28px rgba(122,31,45,.18);
  transform:rotate(-6deg);
  position:relative;
}

/* ===== Personal invite — ornate ===== */
.personal-invite{padding-top:14px}
.personal-invite .personal-card{
  margin:0 auto;
  width:min(760px, 92vw);
  border-radius:26px;
  padding:36px 28px 32px;
  border:1px solid rgba(231,168,189,.55);
  box-shadow:
    0 18px 46px rgba(196,120,154,.22),
    inset 0 0 60px rgba(231,168,189,.08);
  background:url("images/invite-bg.png") center/cover no-repeat;
  position:relative;
  overflow:hidden;
  text-align:center;
}
.personal-invite .personal-card::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(231,168,189,.12), transparent 60%),
    radial-gradient(600px 400px at 70% 80%, rgba(242,200,214,.10), transparent 60%),
    rgba(255,255,255,.40);
  pointer-events:none;
  z-index:0;
}
.personal-invite .personal-card::after{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:20px;
  border:1px solid rgba(196,120,154,.22);
  pointer-events:none;
  z-index:0;
}

/* Floral ornaments */
.personal-ornament{
  position:relative;
  z-index:2;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.personal-ornament::before,
.personal-ornament::after{
  content:"";
  width:80px;
  height:40px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  flex-shrink:0;
}
.personal-ornament::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cellipse cx='80' cy='28' rx='18' ry='6' fill='%23c4789a' opacity='.3' transform='rotate(-10 80 28)'/%3E%3Cellipse cx='70' cy='34' rx='15' ry='5' fill='%23d4a0b5' opacity='.25' transform='rotate(8 70 34)'/%3E%3Cellipse cx='85' cy='20' rx='12' ry='5' fill='%23c4789a' opacity='.25' transform='rotate(-20 85 20)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23fff0f4' opacity='.85'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe8ef' opacity='.75' transform='rotate(60 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe0ea' opacity='.7' transform='rotate(120 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23fff0f4' opacity='.65' transform='rotate(180 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe8ef' opacity='.6' transform='rotate(240 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe0ea' opacity='.6' transform='rotate(300 50 24)'/%3E%3Ccircle cx='50' cy='24' r='4' fill='%23e8b0c4' opacity='.85'/%3E%3Cellipse cx='30' cy='28' rx='4' ry='7' fill='%23fff0f4' opacity='.6' transform='rotate(-15 30 28)'/%3E%3Cellipse cx='20' cy='25' rx='10' ry='4' fill='%23d4a0b5' opacity='.2' transform='rotate(5 20 25)'/%3E%3C/svg%3E");
}
.personal-ornament::after{
  transform:scaleX(-1);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cellipse cx='80' cy='28' rx='18' ry='6' fill='%23c4789a' opacity='.3' transform='rotate(-10 80 28)'/%3E%3Cellipse cx='70' cy='34' rx='15' ry='5' fill='%23d4a0b5' opacity='.25' transform='rotate(8 70 34)'/%3E%3Cellipse cx='85' cy='20' rx='12' ry='5' fill='%23c4789a' opacity='.25' transform='rotate(-20 85 20)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23fff0f4' opacity='.85'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe8ef' opacity='.75' transform='rotate(60 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe0ea' opacity='.7' transform='rotate(120 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23fff0f4' opacity='.65' transform='rotate(180 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe8ef' opacity='.6' transform='rotate(240 50 24)'/%3E%3Cellipse cx='50' cy='24' rx='6' ry='10' fill='%23ffe0ea' opacity='.6' transform='rotate(300 50 24)'/%3E%3Ccircle cx='50' cy='24' r='4' fill='%23e8b0c4' opacity='.85'/%3E%3Cellipse cx='30' cy='28' rx='4' ry='7' fill='%23fff0f4' opacity='.6' transform='rotate(-15 30 28)'/%3E%3Cellipse cx='20' cy='25' rx='10' ry='4' fill='%23d4a0b5' opacity='.2' transform='rotate(5 20 25)'/%3E%3C/svg%3E");
}
.personal-ornament--top{margin-bottom:4px}
.personal-ornament--bottom{margin-top:4px; transform:rotate(180deg)}

/* Guest name with glow animation */
.personal-invite .personal-sign{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:8px 0 6px;
  min-height:64px;
}
.personal-invite .js-guest-name{
  font-family:"Cormorant Garamond", serif;
  font-style:normal;
  font-weight:600;
  letter-spacing:.03em;
  font-size:clamp(36px, 5.5vw, 56px);
  display:block;
  text-align:center;
  color:rgba(35,26,38,.92);
}
/* Name reveal on scroll — smooth */
.js .personal-invite .js-guest-name{
  opacity:0;
  filter:blur(6px);
  transform:translateY(6px);
  transition:opacity 1.6s cubic-bezier(.25,.46,.45,.94) .2s,
             filter 1.4s cubic-bezier(.25,.46,.45,.94) .2s,
             transform 1.4s cubic-bezier(.25,.46,.45,.94) .2s;
}
.js .personal-invite.is-in .js-guest-name{
  opacity:1;
  filter:blur(0px);
  transform:translateY(0);
}

/* Dividers */
.personal-invite .personal-divider{
  position:relative;
  z-index:2;
  height:1px;
  margin:6px auto 10px;
  width:min(480px, 72%);
  background:linear-gradient(90deg, transparent, rgba(196,120,154,.35), transparent);
}
.personal-invite .personal-divider--bottom{
  margin:10px auto 6px;
}

/* Body — italic elegant */
.personal-invite .personal-body{
  position:relative;
  z-index:2;
  margin:0 auto;
  max-width:44ch;
  font-family:"Cormorant Garamond", serif;
  font-size:21px;
  line-height:1.75;
  font-weight:500;
  font-style:italic;
  color:rgba(35,26,38,.82);
  letter-spacing:.015em;
  padding:0 10px;
  text-align:center;
}
.personal-invite .personal-body::before,
.personal-invite .personal-body::after{content:none}
/* First letter — no special styling */
.personal-invite .personal-body::first-letter{
  font-size:inherit;
  font-weight:inherit;
  font-style:inherit;
  color:inherit;
}
.js-guest-name{font-weight:600}

/* ===== Hero ===== */
.hero{text-align:center; padding-top:6px}
.hero-lines{display:none}
.names{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  letter-spacing:.03em;
  margin:0;
  font-size:clamp(44px, 7vw, 64px);
  line-height:.95;
}
.names .amp{font-weight:500; opacity:.75}
.date{
  margin:14px 0 0;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink);
}

/* ===== Photo composition ===== */
.love-photos{padding-top:12px}
.love-stack{width:min(720px, 92vw); margin:0 auto; max-width:100%}
.love-row{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:18px;
  justify-items:center;
  max-width:100%;
}
.love-row--bottom{grid-template-columns:1fr auto}
.polaroid{
  width:min(360px, 78vw);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(20,16,26,.10);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:14px 14px 12px;
  --base-rot:-2deg;
  transform:rotate(var(--base-rot));
  animation:photoSway 5.6s ease-in-out infinite;
  transform-origin:50% 60%;
}
.polaroid--bottom{--base-rot:2deg}
@keyframes photoSway{
  0%,100%{transform:rotate(calc(var(--base-rot) - 0.8deg)) translateY(0)}
  50%{transform:rotate(calc(var(--base-rot) + 0.8deg)) translateY(1px)}
}
.polaroid__mat{
  border-radius:18px;
  overflow:hidden;
  background:rgba(231,168,189,.08);
  aspect-ratio:4/3;
}
.polaroid__mat img{width:100%; height:100%; object-fit:cover; object-position:50% 25%}
.photo-julia{object-position:center 18% !important}
.photo-vladimir{object-position:center 20% !important}
.polaroid figcaption{margin-top:10px; text-align:center; font-weight:600; letter-spacing:.02em}

.formula{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:18px 0 14px;
  font-family:"Cormorant Garamond", serif;
  font-size:28px;
}
.formula .op{opacity:.65}
.formula .heart{
  display:inline-block;
  transform-origin:center;
  filter:drop-shadow(0 10px 20px rgba(231,168,189,.35));
  animation:heartGlow 1.15s ease-in-out infinite;
}
@keyframes heartGlow{
  0%,100%{transform:scale(1); filter:drop-shadow(0 8px 16px rgba(231,168,189,.28))}
  50%{transform:scale(1.12); filter:drop-shadow(0 10px 24px rgba(231,168,189,.45))}
}
.after-photos{margin-top:18px; font-size:15px}

/* ===== Side emojis ===== */
.side-emoji{
  position:relative;
  width:70px; height:70px;
  border-radius:20px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
  display:grid;
  place-items:center;
}
.side-emoji .emoji{display:none}
.side-emoji img{width:44px; height:44px; object-fit:contain; display:block}

/* Syringe */
.side-emoji--syringe .syringe-img{
  transform-origin:60% 60%;
  transform:rotate(-18deg);
  animation:syringeIdle 1.6s ease-in-out infinite;
}
@keyframes syringeIdle{
  0%,100%{transform:rotate(-18deg) translateY(0) scale(1)}
  50%{transform:rotate(-18deg) translateY(2px) scale(.96)}
}
.side-emoji--syringe.is-press .syringe-img{animation:none; transform:rotate(-18deg) translateY(4px) scale(.92)}
.syringe-drop{
  position:absolute;
  right:12px; top:10px;
  width:10px; height:10px;
  border-radius:50%;
  opacity:0;
  background:radial-gradient(circle, rgba(80,200,255,.95), rgba(80,200,255,0) 70%);
  filter:blur(.2px) drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.side-emoji--syringe.is-drop .syringe-drop{animation:dropPop 700ms ease-out forwards}
@keyframes dropPop{
  0%{opacity:0; transform:translateY(0) scale(.5)}
  20%{opacity:1; transform:translateY(2px) scale(1)}
  100%{opacity:0; transform:translateY(18px) scale(.9)}
}

/* Car */
.side-emoji--car .car-img{
  transform-origin:50% 60%;
  animation:carBob 2.2s ease-in-out infinite;
  width:56px; height:56px;
}
@keyframes carBob{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(3px)}
}
.car-headlights{
  position:absolute;
  left:10px; top:36px;
  width:22px; height:14px;
  border-radius:999px;
  opacity:.20;
  background:radial-gradient(closest-side, rgba(255,220,140,.9), rgba(255,220,140,0));
  filter:blur(2px);
  animation:headlightsPulse 1.8s ease-in-out infinite;
  pointer-events:none;
}
@keyframes headlightsPulse{
  0%,100%{opacity:.18; transform:scale(.98)}
  50%{opacity:.55; transform:scale(1.08)}
}
.car-smoke{
  position:absolute;
  right:8px; top:44px;
  width:12px; height:12px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(40,30,48,.14), rgba(40,30,48,0) 70%);
  opacity:0;
  pointer-events:none;
}
.car-smoke--1{animation:smokePuff 1.6s ease-out infinite}
.car-smoke--2{animation:smokePuff 1.6s ease-out infinite .45s}
.car-smoke--3{animation:smokePuff 1.6s ease-out infinite .9s}
@keyframes smokePuff{
  0%{opacity:0; transform:translateX(0) translateY(0) scale(.6)}
  10%{opacity:.35}
  60%{opacity:.15}
  100%{opacity:0; transform:translateX(14px) translateY(-6px) scale(1.6)}
}

/* ===== Calendar ===== */
.calendar{
  width:min(420px, 92vw);
  margin:18px auto 0;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
  padding:16px 16px 14px;
}
.calendar__header{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  letter-spacing:.08em;
  text-align:center;
  font-size:18px;
  margin-bottom:12px;
  color:var(--ink);
}
.calendar__weekdays{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:8px;
  font-size:12px;
  color:var(--muted);
  text-transform:lowercase;
  text-align:center;
  padding:0 4px 8px;
}
.calendar__days{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:8px;
  padding:0 4px;
}
.calendar__days .empty{height:34px}
.calendar__days .day{
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  font-size:14px;
  color:var(--ink);
}
.calendar__days .day span{position:relative; z-index:2}
.calendar__days .day:hover{background:rgba(231,168,189,.08)}
.calendar__days .day.is-marked{
  position:relative;
  background:rgba(231,168,189,.10);
  border:1px solid rgba(231,168,189,.35);
}
.calendar__days .day.is-marked::after{
  content:"❤";
  position:absolute; inset:0;
  display:grid;
  place-items:center;
  color:rgba(231,168,189,.55);
  font-size:18px;
  transform:translateY(1px);
  z-index:1;
}

/* ===== Countdown ===== */
.countdown-section{text-align:center}
.countdown{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:18px auto 0;
  width:min(520px, 92vw);
  padding:20px 16px;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
}
.countdown__item{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:60px;
}
.countdown__number{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:clamp(32px, 5vw, 48px);
  line-height:1;
  color:var(--ink);
  letter-spacing:.02em;
}
.countdown__label{
  font-family:"Cormorant Garamond", serif;
  font-size:13px;
  color:var(--muted);
  margin-top:6px;
  letter-spacing:.02em;
}
.countdown__sep{
  font-family:"Cormorant Garamond", serif;
  font-size:clamp(24px, 4vw, 36px);
  font-weight:600;
  color:var(--rose);
  opacity:.7;
  align-self:flex-start;
  padding-top:4px;
}

/* ===== Schedule ===== */
.schedule.section{padding-top:20px; padding-bottom:4px}
.schedule-list{
  width:min(520px, 92vw);
  margin:0 auto;
  display:grid;
  gap:10px;
}
.schedule-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
  font-family:"Cormorant Garamond", serif;
}
.schedule-item .time{
  font-family:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:700;
  letter-spacing:.03em;
}
.schedule-item .event{color:var(--ink2); text-align:right}

/* ===== Info & links ===== */
.info{text-align:center}
.p{text-align:center; margin:0 auto; max-width:60ch}
.link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(20,16,26,.14);
  background:rgba(255,255,255,.86);
  box-shadow:var(--shadow-soft);
  text-decoration:none;
  font-family:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:500;
}
.link:hover{background:rgba(255,255,255,.95)}

/* ===== Gifts ===== */
.gift-text{font-size:15px}

/* ===== RSVP ===== */
.rsvp-form{
  width:min(520px, 92vw);
  margin:18px auto 0;
  padding:18px 16px 16px;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
}
.rsvp-options{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.rsvp-option{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(20,16,26,.10);
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  user-select:none;
}
.rsvp-option input{width:16px; height:16px}
.rsvp-label{
  display:block;
  font-size:12px;
  letter-spacing:.02em;
  color:rgba(74,70,80,.85);
  margin:0 0 8px;
  text-align:left;
}
.rsvp-textarea{
  width:100%;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(20,16,26,.14);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow-soft);
  outline:none;
  font-family:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:14px;
  color:var(--ink);
  resize:vertical;
  min-height:110px;
}
.rsvp-textarea:focus{
  border-color:rgba(196,120,154,.5);
  box-shadow:0 14px 30px rgba(196,120,154,.14);
}
.rsvp-btn{width:min(320px, 80vw); margin:14px auto 0; display:flex}
.rsvp-note{margin-top:10px; font-size:12px; color:rgba(74,70,80,.9); text-align:center; min-height:16px}

/* ===== Footer ===== */
.footer{padding-top:10px}
.footer-text{color:var(--muted); font-size:14px}

/* ===== Reveal animations ===== */
.reveal{opacity:1; transform:none}
.js .reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .85s ease, transform .85s cubic-bezier(.2,.75,.2,1);
}
.js body.intro-open .reveal{opacity:0; transform:translateY(16px)}
.js .reveal.is-in,
.js .reveal.show{opacity:1; transform:translateY(0)}

.js .reveal[data-anim="pop"]{transform:translateY(16px) scale(.985)}
.js .reveal[data-anim="pop"].is-in{transform:translateY(0) scale(1)}

.js .reveal[data-anim="split"]{
  clip-path:inset(0 0 100% 0);
  transform:none;
  transition:clip-path .9s cubic-bezier(.2,.75,.2,1), opacity .9s ease;
}
.js .reveal[data-anim="split"].is-in{clip-path:inset(0 0 0 0); opacity:1}

.js .reveal[data-anim="photos"] .polaroid{
  opacity:0;
  transition:opacity .9s ease, transform .9s cubic-bezier(.2,.75,.2,1);
}
.js .reveal[data-anim="photos"] .polaroid--top{transform:translateX(-40px) rotate(-3deg)}
.js .reveal[data-anim="photos"] .polaroid--bottom{transform:translateX(40px) rotate(3deg)}
.js .reveal[data-anim="photos"] .formula{
  opacity:0;
  transform:translateY(10px) scale(.98);
  transition:opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1);
  transition-delay:.12s;
}
.js .reveal[data-anim="photos"].is-in .polaroid{opacity:1}
.js .reveal[data-anim="photos"].is-in .polaroid--top{transform:translateX(0) rotate(-2deg); transition-delay:.06s}
.js .reveal[data-anim="photos"].is-in .polaroid--bottom{transform:translateX(0) rotate(2deg); transition-delay:.18s}
.js .reveal[data-anim="photos"].is-in .formula{opacity:1; transform:translateY(0) scale(1)}

.js .reveal[data-anim="stagger"] .schedule-item{
  opacity:0;
  transform:translateY(12px);
  transition:opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1);
}
.js .reveal[data-anim="stagger"].is-in .schedule-item{opacity:1; transform:translateY(0)}
.js .reveal[data-anim="stagger"].is-in .schedule-item:nth-child(1){transition-delay:.05s}
.js .reveal[data-anim="stagger"].is-in .schedule-item:nth-child(2){transition-delay:.14s}
.js .reveal[data-anim="stagger"].is-in .schedule-item:nth-child(3){transition-delay:.23s}

.split-lines .line{display:block}

/* ===== Responsive ===== */
@media (max-width:768px){
  :root{--bg-art-opacity:.10; --bg-dress-boost:.18}
  body::before, body::after{background-size:140%}
  .bg-branches::before, .bg-branches::after{opacity:.45}
}

@media (max-width:680px){
  body{font-size:17px}
  .page{
    width:100%;
    margin:0 auto;
    padding-left:12px;
    padding-right:12px;
    box-sizing:border-box;
    overflow-x:hidden;
  }
  .section{width:100%; margin-left:auto; margin-right:auto; box-sizing:border-box}
  .love-row{grid-template-columns:1fr; gap:14px}
  .love-stack{width:100%; max-width:100%}
  .polaroid{width:min(360px, 88vw); margin:0 auto}
  .side-emoji{width:62px; height:62px; margin:0 auto}
  .side-emoji img{width:40px; height:40px}
  .side-emoji--car .car-img{width:52px; height:52px}
  .formula{font-size:26px}
  .schedule-item{flex-direction:row}
  .personal-invite{padding-top:10px}
  .personal-invite .personal-card{padding:24px 16px 20px; border-radius:24px; width:100%; box-sizing:border-box}
  .personal-invite .personal-body{font-size:18px}
  .personal-ornament::before,.personal-ornament::after{width:60px; height:30px}
  .intro__input, .rsvp-textarea{font-size:16px !important}
  .countdown{gap:4px; padding:16px 10px}
  .countdown__item{min-width:48px}
  .countdown__label{font-size:11px}
  .calendar{width:min(420px, 88vw)}
  .schedule-list{width:min(520px, 88vw)}
  .rsvp-form{width:min(520px, 88vw)}
  /* Floral headings mobile */
  .h2 .line{padding:10px 16px; font-size:22px}
  .h2 .line::before,
  .h2 .line::after{width:52px; height:52px}
  .h2 .line::before{margin-right:-10px}
  .h2 .line::after{margin-left:-10px}
}
