
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Marck+Script&family=Manrope:wght@300;400;500;600&display=swap');

:root{
  --bg:#fffafa; --bg2:#fff0f2;
  --glass:rgba(255,255,255,.48); --glass2:rgba(255,255,255,.24);
  --ink:#2d2024; --muted:#806b72;
  --accent:#ff4d4d; --accent2:#ff8791;
  --line:rgba(255,77,77,.62); --line-soft:rgba(255,77,77,.18);
  --soft:rgba(255,77,77,.09);
  --shadow:0 18px 55px rgba(255,77,77,.09);
}
html[data-theme="wine"]{
  --bg:#190d11; --bg2:#2a1018;
  --glass:rgba(255,255,255,.055); --glass2:rgba(255,255,255,.025);
  --ink:#fff8f9; --muted:#d6b9c1;
  --accent:#ff4d4d; --accent2:#ff9ba4;
  --line:rgba(255,77,77,.66); --line-soft:rgba(255,77,77,.20);
  --soft:rgba(255,77,77,.10); --shadow:0 18px 60px rgba(0,0,0,.20);
}
html[data-theme="pearl"]{
  --bg:#f7f3ef; --bg2:#eee6df;
  --glass:rgba(255,255,255,.52); --glass2:rgba(255,255,255,.26);
  --ink:#2d2927; --muted:#786d68;
  --accent:#ff4d4d; --accent2:#c99489;
  --line:rgba(255,77,77,.55); --line-soft:rgba(255,77,77,.17);
  --soft:rgba(255,77,77,.075); --shadow:0 18px 50px rgba(89,55,49,.07);
}


html[data-theme="blush"]{
  --bg:#fff5f7;--bg2:#f9e3e8;--glass:rgba(255,255,255,.52);--glass2:rgba(255,255,255,.25);
  --ink:#38252c;--muted:#8c6a75;--accent:#ff4d4d;--accent2:#e993a5;
  --line:rgba(255,77,77,.55);--line-soft:rgba(255,77,77,.17);--soft:rgba(255,77,77,.075);
  --shadow:0 18px 50px rgba(157,70,90,.08);
}
html[data-theme="sage"]{
  --bg:#f4f6f0;--bg2:#e8eee4;--glass:rgba(255,255,255,.50);--glass2:rgba(255,255,255,.24);
  --ink:#29322b;--muted:#6f7d72;--accent:#ff4d4d;--accent2:#9bad98;
  --line:rgba(255,77,77,.52);--line-soft:rgba(255,77,77,.16);--soft:rgba(255,77,77,.07);
  --shadow:0 18px 50px rgba(61,87,65,.07);
}
html[data-theme="sky"]{
  --bg:#f3f8fa;--bg2:#e4eff3;--glass:rgba(255,255,255,.52);--glass2:rgba(255,255,255,.25);
  --ink:#253139;--muted:#6c7e87;--accent:#ff4d4d;--accent2:#92b7c5;
  --line:rgba(255,77,77,.53);--line-soft:rgba(255,77,77,.16);--soft:rgba(255,77,77,.07);
  --shadow:0 18px 50px rgba(54,89,103,.07);
}
html[data-theme="midnight"]{
  --bg:#0d1118;--bg2:#151b26;--glass:rgba(255,255,255,.055);--glass2:rgba(255,255,255,.022);
  --ink:#f8f7f7;--muted:#aeb6c3;--accent:#ff4d4d;--accent2:#8b9db9;
  --line:rgba(255,77,77,.64);--line-soft:rgba(255,77,77,.20);--soft:rgba(255,77,77,.10);
  --shadow:0 20px 62px rgba(0,0,0,.26);
}
html[data-theme="chocolate"]{
  --bg:#17110f;--bg2:#271915;--glass:rgba(255,255,255,.052);--glass2:rgba(255,255,255,.022);
  --ink:#fff8f3;--muted:#ccb9ae;--accent:#ff4d4d;--accent2:#b78372;
  --line:rgba(255,77,77,.62);--line-soft:rgba(255,77,77,.19);--soft:rgba(255,77,77,.095);
  --shadow:0 20px 62px rgba(0,0,0,.25);
}
html[data-theme="blackruby"]{
  --bg:#090909;--bg2:#160b0d;--glass:rgba(255,255,255,.048);--glass2:rgba(255,255,255,.018);
  --ink:#fffafa;--muted:#bba9ad;--accent:#ff4d4d;--accent2:#a92535;
  --line:rgba(255,77,77,.72);--line-soft:rgba(255,77,77,.22);--soft:rgba(255,77,77,.11);
  --shadow:0 22px 68px rgba(0,0,0,.32);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; overflow-x:hidden;
  color:var(--ink); font-family:Manrope,sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(255,77,77,.11), transparent 34rem),
    linear-gradient(180deg,var(--bg),var(--bg2));
  transition:background .25s ease,color .25s ease;
  position:relative;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  pointer-events:none;
  opacity:.38;
  background:
    repeating-linear-gradient(0deg, rgba(255,77,77,.035) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,77,77,.018) 0 1px, transparent 1px 74px);
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,77,77,.06), transparent 15rem),
    radial-gradient(circle at 88% 72%, rgba(255,77,77,.045), transparent 18rem);
}
a{color:inherit}
.wrap{width:min(1120px,calc(100% - 36px));margin:auto}
.section{padding:74px 0;text-align:center;position:relative}
.eyebrow{font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:var(--accent);font-weight:600}
h1,h2,h3,p{margin-top:0}
h2{font:500 clamp(44px,6vw,72px)/.96 "Cormorant Garamond",serif;letter-spacing:-.035em;margin:12px 0 18px}
.script{font-family:"Marck Script",cursive;color:var(--accent)}
.muted{color:var(--muted)}
.lead{max-width:660px;margin:0 auto;color:var(--muted);line-height:1.8}

.glass{
  position:relative; overflow:hidden;
  background:linear-gradient(145deg,var(--glass),var(--glass2));
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
}
/* lightweight static highlight instead of animated blur */
.glass:before{
  content:"";position:absolute;pointer-events:none;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.24),transparent 24%);
  opacity:.65;
}
.glass>*{position:relative;z-index:1}

.theme-switcher{
  position:fixed;top:16px;right:16px;z-index:100;
  display:grid;grid-template-columns:repeat(3,27px);gap:7px;padding:8px;
  border:1px solid var(--line-soft);border-radius:20px;background:var(--bg);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.theme-switcher button{width:27px;height:27px;border-radius:50%;border:1px solid rgba(255,255,255,.7);cursor:pointer}
.theme-switcher button:nth-child(1){background:linear-gradient(135deg,#fff5f6,#ff4d4d)}
.theme-switcher button:nth-child(2){background:linear-gradient(135deg,#1b0f13,#ff4d4d)}
.theme-switcher button:nth-child(3){background:linear-gradient(135deg,#f1e7df,#c99489)}
.theme-switcher button:nth-child(4){background:linear-gradient(135deg,#fff5f7,#e993a5)}
.theme-switcher button:nth-child(5){background:linear-gradient(135deg,#f4f6f0,#9bad98)}
.theme-switcher button:nth-child(6){background:linear-gradient(135deg,#f3f8fa,#92b7c5)}
.theme-switcher button:nth-child(7){background:linear-gradient(135deg,#0d1118,#46566e)}
.theme-switcher button:nth-child(8){background:linear-gradient(135deg,#17110f,#8c5b4d)}
.theme-switcher button:nth-child(9){background:linear-gradient(135deg,#090909,#a92535)}

.hero{
  min-height:100svh;display:grid;place-items:center;
  padding:80px 0 44px;text-align:center;position:relative;
}
.hero-card{
  width:min(980px,100%);min-height:660px;
  padding:64px 34px;display:grid;place-items:center;
}
.hero-inner{max-width:760px;margin:auto}
.hero .mini{font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:var(--muted)}
.hero h1{
  font:500 clamp(74px,11vw,145px)/.74 "Cormorant Garamond",serif;
  letter-spacing:-.06em;margin:30px 0 26px;
}
.hero h1 .and{
  display:block;font:400 clamp(50px,7vw,82px)/.8 "Marck Script",cursive;
  color:var(--accent);margin:-7px 0 0;transform:rotate(-5deg);
}
.hero-date{
  display:inline-flex;align-items:center;gap:14px;padding:13px 20px;
  border:1px solid var(--line-soft);border-radius:999px;background:var(--soft);
  font-size:10px;letter-spacing:.15em;text-transform:uppercase;
}
.hero-note{max-width:540px;margin:25px auto 0;color:var(--muted);line-height:1.8}
.hero-note .script{display:block;font-size:32px;margin-bottom:5px}

.hero-svg{position:absolute;pointer-events:none;user-select:none}
.hero-heart-left{width:150px;left:5%;top:12%;transform:rotate(-10deg)}
.hero-heart-right{width:130px;right:6%;bottom:8%;transform:rotate(11deg)}
.hero-rings{width:100px;right:12%;top:12%;opacity:.92}
.hero-small-heart{position:absolute;color:var(--accent);font-size:22px;opacity:.5}
.hero-small-heart.a{left:15%;bottom:19%}.hero-small-heart.b{right:18%;top:33%}

.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.card{padding:44px;text-align:center}
.card p{color:var(--muted);line-height:1.85;max-width:560px;margin-left:auto;margin-right:auto}
.quote{font:400 38px/1.1 "Marck Script",cursive;color:var(--accent);margin-top:26px}

.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:28px}
.countdown .num{padding:22px 8px;border:1px solid var(--line-soft);border-radius:20px;background:var(--soft)}
.countdown strong{display:block;font:500 44px/1 "Cormorant Garamond",serif}
.countdown span{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}

.program-card{padding:44px}
.program-list{display:grid;gap:12px;max-width:780px;margin:28px auto 0}
.program-item{
  display:grid;grid-template-columns:82px 70px 1fr;gap:18px;align-items:center;
  text-align:left;padding:16px 18px;border:1px solid var(--line-soft);border-radius:22px;background:var(--glass2);
}
.program-time{font:500 30px/1 "Cormorant Garamond",serif;color:var(--accent)}
.program-icon{width:58px;height:58px;display:grid;place-items:center;margin:auto}
.program-icon img{max-width:58px;max-height:58px;display:block}
.program-item h3{font:500 28px/1 "Cormorant Garamond",serif;margin:0 0 6px}
.program-item p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}

.dress-wrap{display:grid;grid-template-columns:110px 1fr 110px;align-items:center;gap:18px}
.dress-svg{max-width:100px;margin:auto}
.palette{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.swatch{width:46px;height:46px;border-radius:50%;box-shadow:0 0 0 1px var(--line-soft)}
.swatch:nth-child(1){background:#ff4d4d}.swatch:nth-child(2){background:#ffd2d6}.swatch:nth-child(3){background:#fff9f4}.swatch:nth-child(4){background:#7e2c39}.swatch:nth-child(5){background:#d6a098}

.location-card{max-width:900px;margin:28px auto 0;padding:44px}
.location-mark{width:95px;height:95px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;margin:0 auto 22px}
.location-mark:before{
  content:"";width:27px;height:37px;border:1px solid var(--accent);
  border-radius:18px 18px 20px 20px;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);
}
.location-card h3{font:500 42px/1 "Cormorant Garamond",serif;margin:8px 0 12px}
.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.btn{
  min-height:46px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);text-decoration:none;font-size:10px;letter-spacing:.14em;text-transform:uppercase;
}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}

.gallery{
  display:grid;
  grid-template-columns:1.35fr .82fr .82fr;
  grid-template-rows:270px 270px;
  gap:14px;
  margin-top:30px;
}
.photo{
  position:relative;
  overflow:hidden;
  min-width:0;
  border:1px solid color-mix(in srgb,var(--theme-border) 58%,transparent);
  border-radius:var(--theme-radius);
  background:linear-gradient(145deg,var(--soft),var(--glass2));
}
.photo:first-child{
  grid-row:1 / span 2;
  grid-column:1;
}
.photo:nth-child(2){grid-column:2;grid-row:1}
.photo:nth-child(3){grid-column:3;grid-row:1}
.photo:nth-child(4){grid-column:2;grid-row:2}
.photo:nth-child(5){grid-column:3;grid-row:2}
.photo:after{display:none}
.photo:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 62%,rgba(20,8,10,.18));
  opacity:.35;
}
.photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .35s ease;
}
.gallery .photo:first-child img{object-position:center 32%}
.gallery .photo:nth-child(2) img{object-position:center 24%}
.gallery .photo:nth-child(3) img{object-position:center 42%}
.gallery .photo:nth-child(4) img{object-position:center 55%}
.gallery .photo:nth-child(5) img{object-position:center 28%}
.photo:hover img{transform:scale(1.018)}

.gallery-caption{
  margin:16px auto 0;
  max-width:620px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

@media(max-width:820px){
  .gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:340px 220px 220px;
    gap:12px;
  }
  .photo:first-child{
    grid-column:1 / -1;
    grid-row:1;
  }
  .photo:nth-child(2){grid-column:1;grid-row:2}
  .photo:nth-child(3){grid-column:2;grid-row:2}
  .photo:nth-child(4){grid-column:1;grid-row:3}
  .photo:nth-child(5){grid-column:2;grid-row:3}
}

@media(max-width:560px){
  .gallery{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:none;
    gap:12px;
    margin-top:24px;
  }
  .photo,
  .photo:first-child,
  .photo:nth-child(2),
  .photo:nth-child(3),
  .photo:nth-child(4),
  .photo:nth-child(5){
    grid-column:1;
    grid-row:auto;
    height:auto;
    aspect-ratio:4 / 5;
    border-radius:22px;
  }
  .photo:first-child{
    aspect-ratio:4 / 5;
  }
  .gallery .photo img{
    object-fit:cover;
  }
  .gallery .photo:first-child img{object-position:center 30%}
  .gallery .photo:nth-child(2) img{object-position:center 22%}
  .gallery .photo:nth-child(3) img{object-position:center 38%}
  .gallery .photo:nth-child(4) img{object-position:center 48%}
  .gallery .photo:nth-child(5) img{object-position:center 25%}
  .gallery-caption{
    margin-top:14px;
    padding:0 8px;
    font-size:11px;
  }
}

.rsvp{max-width:920px;margin:auto;padding:48px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;text-align:left;margin-top:26px}
.field{display:grid;gap:7px}.field.full{grid-column:1/-1}
label{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
input,select,textarea{
  width:100%;padding:14px 15px;border:1px solid var(--line-soft);border-radius:17px;
  background:var(--glass2);color:var(--ink);font:inherit;outline:none;
}
textarea{min-height:105px;resize:vertical}
.submit{width:100%;min-height:51px;margin-top:14px;border:0;border-radius:999px;background:var(--accent);color:#fff;
  font-size:10px;letter-spacing:.18em;text-transform:uppercase;cursor:pointer}
.footer{padding:60px 0 80px;text-align:center}
.footer img{width:74px;height:auto}
.footer .script{font-size:34px;margin-top:10px}

.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.reveal.in{opacity:1;transform:none}
/* only two tiny decorative movements */
@media (prefers-reduced-motion:no-preference){
  .hero-heart-left{animation:softFloat 5.5s ease-in-out infinite}
  .hero-heart-right{animation:softFloat 6.2s ease-in-out infinite reverse}
}
@keyframes softFloat{50%{transform:translateY(-8px) rotate(-7deg)}}

@media(max-width:820px){
  .section{padding:58px 0}
  .split{grid-template-columns:1fr}
  .hero-card{min-height:650px;padding:55px 22px}
  .hero-heart-left{width:105px;left:-10px;top:12%}
  .hero-heart-right{width:95px;right:-6px;bottom:8%}
  .hero-rings{width:76px;right:8%;top:11%}
  .countdown{grid-template-columns:repeat(2,1fr)}
  .dress-wrap{grid-template-columns:85px 1fr 85px}
  .dress-svg{max-width:78px}}
@media(max-width:560px){
  .wrap{width:min(100% - 22px,1120px)}
  .theme-switcher{top:10px;right:10px}
  .hero{padding:72px 0 26px}
  .hero-card{min-height:610px;border-radius:24px;padding:50px 16px}
  .hero h1{font-size:67px}
  .hero h1 .and{font-size:48px}
  .hero-heart-left{width:88px;left:-14px;top:14%}
  .hero-heart-right{width:82px;right:-12px;bottom:7%}
  .hero-rings{width:63px;right:5%;top:12%}
  h2{font-size:46px}
  .card,.program-card,.location-card,.rsvp{padding:28px 20px}
  .program-item{grid-template-columns:56px 48px 1fr;gap:10px;padding:14px 12px}
  .program-time{font-size:23px}
  .program-icon,.program-icon img{width:44px;max-width:44px;height:44px;max-height:44px}
  .program-item h3{font-size:23px}
  .program-item p{font-size:12px}
  .dress-wrap{grid-template-columns:1fr}
  .dress-svg{max-width:82px}
  .dress-svg:first-child{display:none}
  .palette{gap:9px}.swatch{width:42px;height:42px}  .form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}
  .actions{display:grid}.btn{width:100%}
}

.newspaper-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  overflow:hidden;
  color:var(--accent);
  opacity:.10;
  font-family:"Cormorant Garamond",serif;
}
.news-word{
  position:absolute;
  white-space:nowrap;
  text-transform:uppercase;
  letter-spacing:.035em;
  font-weight:600;
  line-height:.8;
  user-select:none;
}
.news-word.w1{font-size:clamp(120px,19vw,330px);left:-3vw;top:7vh;transform:rotate(-4deg)}
.news-word.w2{font-size:clamp(92px,14vw,240px);right:-5vw;top:39vh;transform:rotate(3deg)}
.news-word.w3{font-size:clamp(90px,13vw,210px);left:7vw;bottom:5vh;transform:rotate(-2deg)}
.news-columns{
  position:absolute;
  width:380px;
  max-width:32vw;
  font:500 12px/1.65 Manrope,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  opacity:.55;
}
.news-columns.c1{left:5vw;top:31vh;transform:rotate(-2deg)}
.news-columns.c2{right:4vw;top:66vh;transform:rotate(1.5deg)}
.news-rule{
  position:absolute;height:1px;background:var(--accent);opacity:.75;
}
.news-rule.r1{width:38vw;left:4vw;top:27vh}
.news-rule.r2{width:31vw;right:4vw;top:61vh}
.news-date{
  position:absolute;
  font:500 20px/1 "Cormorant Garamond",serif;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--accent);
}
.news-date.d1{right:8vw;top:19vh;transform:rotate(4deg)}
.news-date.d2{left:8vw;bottom:20vh;transform:rotate(-3deg)}
.news-heart{
  position:absolute;
  font:400 42px/1 "Cormorant Garamond",serif;
}
.news-heart.h1{left:23vw;top:18vh}
.news-heart.h2{right:19vw;top:57vh}
.news-heart.h3{left:46vw;bottom:8vh}

.section:before{
  content:"";
  position:absolute;
  left:50%;
  top:22px;
  width:min(940px,calc(100% - 70px));
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,var(--line-soft),transparent);
}
.section:first-of-type:before{display:none}

.glass{
  background:
    linear-gradient(145deg,var(--glass),var(--glass2)),
    repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 24px);
}

.editorial-mark{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  color:var(--accent);
  font-size:9px;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.editorial-mark:before,
.editorial-mark:after{
  content:"";
  width:28px;height:1px;background:var(--line);
}

@media(max-width:700px){
  .newspaper-bg{opacity:.075}
  .news-columns{display:none}
  .news-word.w1{top:12vh}
  .news-word.w2{top:48vh}
  .news-rule{opacity:.45}
  .news-date{font-size:14px}
}


.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px}
.location-photo-card{padding:0;text-align:left}
.location-photo{height:300px;overflow:hidden;border-bottom:1px solid var(--line-soft)}
.location-photo img{width:100%;height:100%;display:block;object-fit:cover}
.location-photo-card .location-body{padding:30px}
.location-photo-card .location-body h3{font:500 38px/1 "Cormorant Garamond",serif;margin:8px 0 12px}
.location-photo-card .actions{justify-content:flex-start}
.gallery .photo{background:none}
.gallery .photo:after{display:none}
.gallery .photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.gallery .photo:hover img{transform:scale(1.025)}
.details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
.detail-card{padding:30px 24px;min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.detail-icon{width:62px;height:62px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--accent);font-size:25px;margin-bottom:18px}
.detail-card h3{font:500 31px/1 "Cormorant Garamond",serif;margin:0 0 10px}
.detail-card p{margin:0;max-width:270px;color:var(--muted);line-height:1.7;font-size:13px}
.contacts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
.contact-card{padding:32px 24px;text-align:center}
.contact-avatar{width:82px;height:82px;border-radius:50%;margin:0 auto 16px;border:1px solid var(--line);background:linear-gradient(145deg,var(--soft),var(--glass2));display:grid;place-items:center;font:500 35px/1 "Cormorant Garamond",serif;color:var(--accent)}
.contact-role{color:var(--accent);font-size:9px;letter-spacing:.18em;text-transform:uppercase}
.contact-card h3{font:500 31px/1 "Cormorant Garamond",serif;margin:8px 0 8px}
.contact-phone{color:var(--muted);font-size:13px}
.contact-actions{display:flex;justify-content:center;gap:8px;margin-top:18px}
.contact-actions a{min-height:40px;padding:0 15px;border:1px solid var(--line-soft);border-radius:999px;display:inline-flex;align-items:center;text-decoration:none;text-transform:uppercase;letter-spacing:.1em;font-size:9px}
@media(max-width:820px){.location-grid,.details-grid,.contacts-grid{grid-template-columns:1fr}}
@media(max-width:560px){.location-photo{height:250px}.location-photo-card .location-body{padding:24px 20px}.detail-card{min-height:190px}}


/* v6 — themes now change the whole visual language, not only the page background */
:root{
  --theme-surface:#fff7f8;
  --theme-surface2:#ffe9ed;
  --theme-border:#ff4d4d;
  --theme-heading:#3a1d24;
  --theme-script:#ff4d4d;
  --theme-news:#ff4d4d;
  --theme-button:#ff4d4d;
  --theme-button-text:#fff;
  --theme-photo-filter:none;
  --theme-radius:28px;
  --theme-pattern-opacity:.10;
}
html[data-theme="ruby"]{
  --theme-surface:#fff4f5;--theme-surface2:#ffdfe4;--theme-border:#ff4d4d;
  --theme-heading:#421c25;--theme-script:#ff4d4d;--theme-news:#ff4d4d;
  --theme-button:#ff4d4d;--theme-button-text:#fff;--theme-photo-filter:saturate(1.04);
  --theme-radius:28px;--theme-pattern-opacity:.12;
}
html[data-theme="wine"]{
  --theme-surface:#32131c;--theme-surface2:#1e0c12;--theme-border:#ff6671;
  --theme-heading:#fff4f6;--theme-script:#ff7781;--theme-news:#ff6470;
  --theme-button:#ff4d4d;--theme-button-text:#fff;--theme-photo-filter:saturate(.84) contrast(1.06);
  --theme-radius:20px;--theme-pattern-opacity:.18;
}
html[data-theme="pearl"]{
  --theme-surface:#fffaf6;--theme-surface2:#eadfd6;--theme-border:#c98f85;
  --theme-heading:#3b302c;--theme-script:#b66e65;--theme-news:#b77d72;
  --theme-button:#b9786d;--theme-button-text:#fff;--theme-photo-filter:saturate(.82) sepia(.07);
  --theme-radius:34px;--theme-pattern-opacity:.075;
}
html[data-theme="blush"]{
  --theme-surface:#fff2f6;--theme-surface2:#f4cdd9;--theme-border:#df8199;
  --theme-heading:#542b38;--theme-script:#d75d7c;--theme-news:#d46c87;
  --theme-button:#d96482;--theme-button-text:#fff;--theme-photo-filter:saturate(.9) brightness(1.03);
  --theme-radius:38px;--theme-pattern-opacity:.10;
}
html[data-theme="sage"]{
  --theme-surface:#f5f8f1;--theme-surface2:#cedac8;--theme-border:#809b7e;
  --theme-heading:#27372b;--theme-script:#657f64;--theme-news:#718b70;
  --theme-button:#718d70;--theme-button-text:#fff;--theme-photo-filter:saturate(.72) sepia(.05);
  --theme-radius:22px;--theme-pattern-opacity:.09;
}
html[data-theme="sky"]{
  --theme-surface:#f2f9fc;--theme-surface2:#cce4ed;--theme-border:#72a8bb;
  --theme-heading:#233c47;--theme-script:#528fa7;--theme-news:#5f9bb1;
  --theme-button:#5798b0;--theme-button-text:#fff;--theme-photo-filter:saturate(.78) brightness(1.04);
  --theme-radius:32px;--theme-pattern-opacity:.08;
}
html[data-theme="midnight"]{
  --theme-surface:#18202d;--theme-surface2:#0b1018;--theme-border:#7189ad;
  --theme-heading:#f2f6ff;--theme-script:#8fa7ca;--theme-news:#7189ad;
  --theme-button:#667fa6;--theme-button-text:#fff;--theme-photo-filter:saturate(.62) contrast(1.08) brightness(.78);
  --theme-radius:18px;--theme-pattern-opacity:.19;
}
html[data-theme="chocolate"]{
  --theme-surface:#302019;--theme-surface2:#160e0b;--theme-border:#b17a65;
  --theme-heading:#fff3ea;--theme-script:#d69a82;--theme-news:#bb8069;
  --theme-button:#a86851;--theme-button-text:#fff;--theme-photo-filter:saturate(.7) sepia(.14) brightness(.82);
  --theme-radius:14px;--theme-pattern-opacity:.18;
}
html[data-theme="blackruby"]{
  --theme-surface:#171012;--theme-surface2:#050505;--theme-border:#ff4d4d;
  --theme-heading:#fff;--theme-script:#ff4d4d;--theme-news:#ff303f;
  --theme-button:#ff303f;--theme-button-text:#fff;--theme-photo-filter:grayscale(.22) contrast(1.12) brightness(.72);
  --theme-radius:8px;--theme-pattern-opacity:.24;
}

body{
  background:
    radial-gradient(circle at 50% -10%,color-mix(in srgb,var(--theme-news) 18%,transparent),transparent 34rem),
    linear-gradient(155deg,var(--bg),var(--bg2)) !important;
}
body:before{
  opacity:var(--theme-pattern-opacity)!important;
  background:
    repeating-linear-gradient(0deg,color-mix(in srgb,var(--theme-news) 28%,transparent) 0 1px,transparent 1px 28px),
    repeating-linear-gradient(90deg,color-mix(in srgb,var(--theme-news) 15%,transparent) 0 1px,transparent 1px 74px)!important;
}
.newspaper-bg{color:var(--theme-news)!important}
.news-rule{background:var(--theme-news)!important}
.news-date,.news-heart{color:var(--theme-news)!important}

.glass{
  border-color:color-mix(in srgb,var(--theme-border) 70%,transparent)!important;
  border-radius:var(--theme-radius)!important;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--theme-surface) 82%,transparent),
      color-mix(in srgb,var(--theme-surface2) 48%,transparent)
    )!important;
}
h1,h2,h3,.location-photo-card .location-body h3,.contact-card h3,.detail-card h3,.program-item h3{
  color:var(--theme-heading);
}
.script,.quote{color:var(--theme-script)!important}
.eyebrow,.contact-role,.program-time{color:var(--theme-script)!important}
.editorial-mark{color:var(--theme-news)!important}
.editorial-mark:before,.editorial-mark:after{background:var(--theme-border)!important}
.btn.primary,.submit{
  background:var(--theme-button)!important;
  border-color:var(--theme-button)!important;
  color:var(--theme-button-text)!important;
}
.btn:not(.primary),.contact-actions a{
  border-color:color-mix(in srgb,var(--theme-border) 48%,transparent)!important;
}
.location-mark,.detail-icon,.contact-avatar{
  border-color:color-mix(in srgb,var(--theme-border) 72%,transparent)!important;
  color:var(--theme-script)!important;
}
.location-mark:before{border-color:var(--theme-border)!important}
.program-item,.countdown .num{
  border-color:color-mix(in srgb,var(--theme-border) 30%,transparent)!important;
  background:color-mix(in srgb,var(--theme-surface2) 36%,transparent)!important;
}
.location-photo img,.gallery .photo img{filter:var(--theme-photo-filter)}
.gallery .photo{border-color:color-mix(in srgb,var(--theme-border) 62%,transparent)!important}
input,select,textarea{
  border-color:color-mix(in srgb,var(--theme-border) 32%,transparent)!important;
  background:color-mix(in srgb,var(--theme-surface2) 32%,transparent)!important;
}
.hero-date{
  border-color:color-mix(in srgb,var(--theme-border) 35%,transparent)!important;
  background:color-mix(in srgb,var(--theme-surface2) 38%,transparent)!important;
}
.palette .swatch{box-shadow:0 0 0 1px color-mix(in srgb,var(--theme-border) 32%,transparent)!important}

/* theme-specific dress-code palettes */
html[data-theme="ruby"] .swatch:nth-child(1){background:#ff4d4d}
html[data-theme="ruby"] .swatch:nth-child(2){background:#ffd2d6}
html[data-theme="ruby"] .swatch:nth-child(3){background:#fff9f4}
html[data-theme="ruby"] .swatch:nth-child(4){background:#7e2c39}
html[data-theme="ruby"] .swatch:nth-child(5){background:#d6a098}

html[data-theme="wine"] .swatch:nth-child(1){background:#661927}
html[data-theme="wine"] .swatch:nth-child(2){background:#a82e43}
html[data-theme="wine"] .swatch:nth-child(3){background:#d57b89}
html[data-theme="wine"] .swatch:nth-child(4){background:#e7c2c8}
html[data-theme="wine"] .swatch:nth-child(5){background:#2c1118}

html[data-theme="pearl"] .swatch:nth-child(1){background:#c49388}
html[data-theme="pearl"] .swatch:nth-child(2){background:#e8d7ce}
html[data-theme="pearl"] .swatch:nth-child(3){background:#fffaf3}
html[data-theme="pearl"] .swatch:nth-child(4){background:#a99a8d}
html[data-theme="pearl"] .swatch:nth-child(5){background:#765c55}

html[data-theme="blush"] .swatch:nth-child(1){background:#d95f7e}
html[data-theme="blush"] .swatch:nth-child(2){background:#efaabd}
html[data-theme="blush"] .swatch:nth-child(3){background:#f9dce5}
html[data-theme="blush"] .swatch:nth-child(4){background:#fff4f6}
html[data-theme="blush"] .swatch:nth-child(5){background:#8e4d60}

html[data-theme="sage"] .swatch:nth-child(1){background:#6f8c70}
html[data-theme="sage"] .swatch:nth-child(2){background:#a9bca4}
html[data-theme="sage"] .swatch:nth-child(3){background:#d9e1d4}
html[data-theme="sage"] .swatch:nth-child(4){background:#f7f3e8}
html[data-theme="sage"] .swatch:nth-child(5){background:#465848}

html[data-theme="sky"] .swatch:nth-child(1){background:#5798b0}
html[data-theme="sky"] .swatch:nth-child(2){background:#94c0d0}
html[data-theme="sky"] .swatch:nth-child(3){background:#d8ebf1}
html[data-theme="sky"] .swatch:nth-child(4){background:#f7f4ec}
html[data-theme="sky"] .swatch:nth-child(5){background:#3f6878}

html[data-theme="midnight"] .swatch:nth-child(1){background:#344660}
html[data-theme="midnight"] .swatch:nth-child(2){background:#61799d}
html[data-theme="midnight"] .swatch:nth-child(3){background:#91a5c1}
html[data-theme="midnight"] .swatch:nth-child(4){background:#d7deea}
html[data-theme="midnight"] .swatch:nth-child(5){background:#151c27}

html[data-theme="chocolate"] .swatch:nth-child(1){background:#5b392d}
html[data-theme="chocolate"] .swatch:nth-child(2){background:#98644f}
html[data-theme="chocolate"] .swatch:nth-child(3){background:#c79b87}
html[data-theme="chocolate"] .swatch:nth-child(4){background:#ead8cc}
html[data-theme="chocolate"] .swatch:nth-child(5){background:#241510}

html[data-theme="blackruby"] .swatch:nth-child(1){background:#050505}
html[data-theme="blackruby"] .swatch:nth-child(2){background:#421016}
html[data-theme="blackruby"] .swatch:nth-child(3){background:#9c202c}
html[data-theme="blackruby"] .swatch:nth-child(4){background:#ff4d4d}
html[data-theme="blackruby"] .swatch:nth-child(5){background:#f2d6d8}

/* SVG artwork reacts to theme too */
html[data-theme="sage"] .hero-svg,
html[data-theme="sage"] .program-icon img,
html[data-theme="sage"] .dress-svg,
html[data-theme="sage"] .footer img{filter:hue-rotate(72deg) saturate(.55)}
html[data-theme="sky"] .hero-svg,
html[data-theme="sky"] .program-icon img,
html[data-theme="sky"] .dress-svg,
html[data-theme="sky"] .footer img{filter:hue-rotate(150deg) saturate(.65)}
html[data-theme="midnight"] .hero-svg,
html[data-theme="midnight"] .program-icon img,
html[data-theme="midnight"] .dress-svg,
html[data-theme="midnight"] .footer img{filter:hue-rotate(180deg) saturate(.55) brightness(.9)}
html[data-theme="chocolate"] .hero-svg,
html[data-theme="chocolate"] .program-icon img,
html[data-theme="chocolate"] .dress-svg,
html[data-theme="chocolate"] .footer img{filter:sepia(.55) saturate(.65) brightness(.88)}
html[data-theme="blackruby"] .hero-svg,
html[data-theme="blackruby"] .program-icon img,
html[data-theme="blackruby"] .dress-svg,
html[data-theme="blackruby"] .footer img{filter:saturate(1.3) contrast(1.08)}


.theme-switcher button{position:relative;transition:transform .15s ease,box-shadow .15s ease}
.theme-switcher button.is-active{transform:scale(1.14);box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--theme-border)}


/* v11 — compact mobile hero */
@media(max-width:560px){
  .hero{
    min-height:auto !important;
    padding:68px 0 22px !important;
    display:block;
  }
  .hero-card{
    min-height:0 !important;
    height:auto !important;
    padding:38px 18px 32px !important;
  }
  .hero-inner{
    width:100%;
    max-width:100%;
  }
  .hero .mini{
    margin-bottom:0;
  }
  .hero h1{
    margin:20px 0 16px !important;
    font-size:64px;
    line-height:.78;
  }
  .hero h1 .and{
    font-size:45px;
    margin-top:-4px;
  }
  .hero-date{
    margin-top:0;
    padding:11px 16px;
  }
  .hero-note{
    margin-top:18px !important;
    max-width:310px;
    line-height:1.6;
    font-size:12px;
  }
  .hero-note .script{
    font-size:29px;
    line-height:1.35;
    margin-bottom:7px;
  }
  .hero-heart-left{
    width:78px;
    left:-12px;
    top:13%;
  }
  .hero-heart-right{
    width:76px;
    right:-10px;
    bottom:6%;
  }
  .hero-rings{
    width:58px;
    right:7%;
    top:10%;
  }
  .hero-small-heart.a{
    left:16%;
    bottom:13%;
  }
  .hero-small-heart.b{
    right:17%;
    top:35%;
  }
}


/* v12 — mobile hero fills one screen */
@media(max-width:560px){
  .hero{
    min-height:100svh !important;
    padding:64px 0 18px !important;
    display:grid !important;
    place-items:center !important;
  }
  .hero .wrap{
    width:min(100% - 20px,1120px);
  }
  .hero-card{
    min-height:calc(100svh - 82px) !important;
    height:auto !important;
    padding:48px 18px 40px !important;
    display:grid !important;
    place-items:center !important;
  }
  .hero-inner{
    width:100%;
    max-width:100%;
    margin:auto;
  }
  .hero h1{
    margin:24px 0 18px !important;
    font-size:66px;
  }
  .hero h1 .and{
    font-size:47px;
  }
  .hero-note{
    margin-top:22px !important;
    max-width:320px;
    font-size:12px;
    line-height:1.65;
  }
  .hero-note .script{
    font-size:30px;
    margin-bottom:8px;
  }
  .hero-heart-left{
    width:84px;
    left:-10px;
    top:12%;
  }
  .hero-heart-right{
    width:82px;
    right:-8px;
    bottom:7%;
  }
  .hero-rings{
    width:60px;
    right:7%;
    top:10%;
  }
}


/* v13 — every section gets its own border language */
.hero-card{
  border-radius:42px 42px 18px 18px !important;
  border-width:1px !important;
}
.hero-card:after{
  content:"";
  position:absolute;inset:10px;
  border:1px solid color-mix(in srgb,var(--theme-border) 22%,transparent);
  border-radius:34px 34px 12px 12px;
  pointer-events:none;
}

/* Story: soft asymmetric editorial card */
.split > .card:first-child{
  border-radius:52px 16px 52px 16px !important;
  border-left-width:3px !important;
}
.split > .card:first-child:after{
  content:"♡";
  position:absolute;right:20px;top:15px;
  font:400 34px/1 "Cormorant Garamond",serif;
  color:var(--theme-script);opacity:.38;
}

/* Timer: clipped-paper feeling */
.split > .card:nth-child(2){
  border-radius:16px 52px 16px 52px !important;
  border-top-width:3px !important;
}

/* Program: long newspaper frame + inner rule */
.program-card{
  border-radius:12px 44px 12px 44px !important;
  border-bottom-width:3px !important;
}
.program-card:after{
  content:"";
  position:absolute;left:18px;right:18px;top:18px;bottom:18px;
  border:1px dashed color-mix(in srgb,var(--theme-border) 24%,transparent);
  border-radius:8px 34px 8px 34px;
  pointer-events:none;
}

/* Dress code: capsule-ish but flat */
.dress-wrap{
  position:relative;
}
.dress-wrap:before,.dress-wrap:after{
  content:"♥";position:absolute;top:50%;transform:translateY(-50%);
  color:var(--theme-script);opacity:.16;font-size:38px;
}
.dress-wrap:before{left:2px}.dress-wrap:after{right:2px}

/* Dress-code parent card */
.section:has(.dress-wrap) .glass{
  border-radius:70px 18px 70px 18px !important;
  border-right-width:3px !important;
}

/* Location: ceremony and banquet intentionally different */
.location-photo-card:first-child{
  border-radius:54px 14px 14px 14px !important;
  border-top-width:3px !important;
}
.location-photo-card:nth-child(2){
  border-radius:14px 14px 54px 14px !important;
  border-bottom-width:3px !important;
}
.location-photo-card:first-child .location-photo{border-radius:52px 12px 0 0}
.location-photo-card:nth-child(2) .location-photo{border-radius:12px 12px 0 0}

/* Gallery: each photo has its own silhouette */
.gallery .photo:nth-child(1){border-radius:60px 14px 60px 14px !important;border-left-width:3px!important}
.gallery .photo:nth-child(2){border-radius:14px 48px 14px 14px !important;border-top-width:2px!important}
.gallery .photo:nth-child(3){border-radius:48px 14px 14px 14px !important;border-right-width:2px!important}
.gallery .photo:nth-child(4){border-radius:14px 14px 14px 48px !important;border-left-width:2px!important}
.gallery .photo:nth-child(5){border-radius:14px 14px 48px 14px !important;border-bottom-width:2px!important}

/* Details: three separate shapes */
.details-grid .detail-card:nth-child(1){
  border-radius:50% 50% 18px 18px / 34% 34% 18px 18px !important;
  border-top-width:3px!important;
}
.details-grid .detail-card:nth-child(2){
  border-radius:18px 58px 18px 58px !important;
  border-left-width:3px!important;
}
.details-grid .detail-card:nth-child(3){
  border-radius:58px 18px 58px 18px !important;
  border-right-width:3px!important;
}

/* Contacts: ticket / portrait frames */
.contacts-grid .contact-card:nth-child(1){
  border-radius:18px 18px 48px 48px !important;
  border-bottom-width:3px!important;
}
.contacts-grid .contact-card:nth-child(2){
  border-radius:48px 48px 18px 18px !important;
  border-top-width:3px!important;
}
.contacts-grid .contact-card:nth-child(3){
  border-radius:18px 48px 48px 18px !important;
  border-right-width:3px!important;
}

/* RSVP: double framed invitation */
.rsvp{
  border-radius:18px 70px 18px 70px !important;
  border-width:2px !important;
}
.rsvp:after{
  content:"";
  position:absolute;inset:11px;
  border:1px solid color-mix(in srgb,var(--theme-border) 26%,transparent);
  border-radius:12px 58px 12px 58px;
  pointer-events:none;
}

/* Preserve strong theme differences while shapes stay unique */
html[data-theme="blackruby"] .hero-card,
html[data-theme="blackruby"] .program-card,
html[data-theme="blackruby"] .rsvp{
  border-radius:6px !important;
}
html[data-theme="pearl"] .hero-card{border-radius:56px 56px 22px 22px!important}
html[data-theme="blush"] .rsvp{border-radius:80px 22px 80px 22px!important}
html[data-theme="sage"] .program-card{border-radius:6px 48px 6px 48px!important}
html[data-theme="sky"] .location-photo-card:first-child{border-radius:70px 16px 16px 16px!important}
html[data-theme="midnight"] .details-grid .detail-card{border-radius:8px 36px 8px 36px!important}
html[data-theme="chocolate"] .contacts-grid .contact-card{border-radius:8px 42px 8px 42px!important}

/* Mobile: keep variety, but avoid awkward giant curves */
@media(max-width:560px){
  .hero-card{border-radius:30px 30px 12px 12px!important}
  .split > .card:first-child{border-radius:38px 12px 38px 12px!important}
  .split > .card:nth-child(2){border-radius:12px 38px 12px 38px!important}
  .program-card{border-radius:10px 34px 10px 34px!important}
  .section:has(.dress-wrap) .glass{border-radius:44px 12px 44px 12px!important}
  .location-photo-card:first-child{border-radius:38px 10px 10px 10px!important}
  .location-photo-card:nth-child(2){border-radius:10px 10px 38px 10px!important}
  .gallery .photo:nth-child(1){border-radius:42px 10px 42px 10px!important}
  .gallery .photo:nth-child(2){border-radius:10px 34px 10px 10px!important}
  .gallery .photo:nth-child(3){border-radius:34px 10px 10px 10px!important}
  .gallery .photo:nth-child(4){border-radius:10px 10px 10px 34px!important}
  .gallery .photo:nth-child(5){border-radius:10px 10px 34px 10px!important}
  .details-grid .detail-card:nth-child(1){border-radius:44px 44px 12px 12px!important}
  .details-grid .detail-card:nth-child(2){border-radius:12px 38px 12px 38px!important}
  .details-grid .detail-card:nth-child(3){border-radius:38px 12px 38px 12px!important}
  .contacts-grid .contact-card:nth-child(1){border-radius:12px 12px 36px 36px!important}
  .contacts-grid .contact-card:nth-child(2){border-radius:36px 36px 12px 12px!important}
  .contacts-grid .contact-card:nth-child(3){border-radius:12px 36px 36px 12px!important}
  .rsvp{border-radius:12px 48px 12px 48px!important}
}


/* v14 — hero uses the same content width as all other sections */
.hero .wrap{
  width:min(1120px,calc(100% - 36px)) !important;
}
.hero-card{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
}
@media(max-width:560px){
  .hero .wrap{
    width:min(100% - 22px,1120px) !important;
  }
}


/* v15 — more life and identity, still lightweight */
.love-ticker{
  width:100%;
  overflow:hidden;
  border-top:1px solid color-mix(in srgb,var(--theme-border) 35%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--theme-border) 35%,transparent);
  background:color-mix(in srgb,var(--theme-surface) 36%,transparent);
  padding:12px 0;
}
.love-ticker-track{
  display:flex;
  width:max-content;
  white-space:nowrap;
  font:500 12px/1 "Cormorant Garamond",serif;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--theme-news);
  animation:tickerMove 34s linear infinite;
}
.love-ticker-track span{padding-right:34px}
@keyframes tickerMove{to{transform:translateX(-50%)}}

.editorial-break{
  width:min(1120px,calc(100% - 36px));
  min-height:170px;
  margin:0 auto;
  position:relative;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
}
.editorial-break .big{
  font:600 clamp(58px,10vw,138px)/.75 "Cormorant Garamond",serif;
  letter-spacing:-.055em;
  color:color-mix(in srgb,var(--theme-news) 12%,transparent);
  white-space:nowrap;
  text-transform:uppercase;
}
.editorial-break .front{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  font:400 clamp(25px,3.5vw,42px)/1 "Marck Script",cursive;
  color:var(--theme-script);
  white-space:nowrap;
}
.editorial-break:before,.editorial-break:after{
  content:"♥";
  position:absolute;
  color:var(--theme-script);
  opacity:.22;
  font-size:22px;
}
.editorial-break:before{left:10%;top:28%;transform:rotate(-12deg)}
.editorial-break:after{right:10%;bottom:25%;transform:rotate(13deg)}

.section-heart-bg{
  position:absolute;
  z-index:0;
  pointer-events:none;
  color:transparent;
  -webkit-text-stroke:1px color-mix(in srgb,var(--theme-border) 18%,transparent);
  font:400 clamp(180px,28vw,430px)/1 "Cormorant Garamond",serif;
  opacity:.7;
}
.section-heart-bg.right{right:-5vw;top:8%}
.section-heart-bg.left{left:-6vw;bottom:2%;transform:rotate(-10deg)}
.section > .wrap{position:relative;z-index:1}

/* SVGs become part of the composition */
.program-card{overflow:visible!important}
.program-card .program-float{
  position:absolute;
  width:82px;
  height:auto;
  z-index:3;
  pointer-events:none;
  filter:drop-shadow(0 10px 18px color-mix(in srgb,var(--theme-border) 12%,transparent));
}
.program-float.left{left:-34px;top:22%}
.program-float.right{right:-32px;bottom:16%;transform:rotate(8deg)}

.section:has(.dress-wrap) .glass{overflow:visible!important}
.dress-float-heart{
  position:absolute;
  right:-28px;
  top:-30px;
  width:86px;
  pointer-events:none;
  z-index:3;
}

.rsvp{overflow:visible!important}
.rsvp-bg-heart{
  position:absolute;
  right:-42px;
  bottom:-48px;
  width:150px;
  opacity:.22;
  pointer-events:none;
  z-index:0!important;
  transform:rotate(10deg);
}
.rsvp > *:not(.rsvp-bg-heart){position:relative;z-index:2}

.mini-love-mark{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin:20px 0 0;
  color:var(--theme-script);
  opacity:.6;
  font:400 18px/1 "Cormorant Garamond",serif;
}
.mini-love-mark:before,.mini-love-mark:after{
  content:"";
  width:46px;height:1px;
  background:color-mix(in srgb,var(--theme-border) 38%,transparent);
}

/* only ticker moves continuously; respect reduced-motion */
@media(prefers-reduced-motion:reduce){
  .love-ticker-track{animation:none}
}
@media(max-width:560px){
  .love-ticker{padding:10px 0}
  .love-ticker-track{font-size:10px;animation-duration:40s}
  .editorial-break{
    width:min(100% - 22px,1120px);
    min-height:120px;
  }
  .editorial-break .big{font-size:58px}
  .editorial-break .front{font-size:26px}
  .section-heart-bg{font-size:220px;opacity:.5}
  .program-float{display:none}
  .dress-float-heart{width:66px;right:-10px;top:-26px}
  .rsvp-bg-heart{width:105px;right:-18px;bottom:-30px}
}


/* v16 — final RSVP deadline note */
.footer-deadline{
  width:min(760px,calc(100% - 36px));
  margin:22px auto 0;
  padding:16px 22px;
  border-top:1px solid color-mix(in srgb,var(--theme-border) 28%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--theme-border) 28%,transparent);
  color:var(--muted);
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.footer-deadline strong{
  color:var(--theme-script);
  font-weight:600;
}
@media(max-width:560px){
  .footer-deadline{
    width:min(100% - 28px,760px);
    margin-top:18px;
    padding:14px 16px;
    font-size:10px;
    line-height:1.6;
  }
}


/* v17 — completely renewed 9-theme collection */

/* 1. Scarlet Paper */
html[data-theme="scarlet-paper"]{
  --bg:#fff9f5;--bg2:#f7e8df;--glass:rgba(255,252,248,.72);--glass2:rgba(255,240,234,.40);
  --ink:#3d2925;--muted:#876e68;--accent:#ff4d4d;--accent2:#d28a78;
  --line:rgba(255,77,77,.58);--line-soft:rgba(255,77,77,.17);--soft:rgba(255,77,77,.07);
  --shadow:0 18px 50px rgba(118,67,55,.08);
  --theme-surface:#fffaf6;--theme-surface2:#f3d9cf;--theme-border:#ff4d4d;
  --theme-heading:#402722;--theme-script:#e74242;--theme-news:#cf4c45;
  --theme-button:#ef4b4b;--theme-button-text:#fff;--theme-photo-filter:saturate(.94) sepia(.035);
  --theme-radius:24px;--theme-pattern-opacity:.12;
}

/* 2. Provence */
html[data-theme="provence"]{
  --bg:#f8f5fb;--bg2:#e9e1f0;--glass:rgba(255,255,255,.64);--glass2:rgba(239,230,247,.34);
  --ink:#3b3043;--muted:#817388;--accent:#8f6aa6;--accent2:#c7a8d7;
  --line:rgba(143,106,166,.56);--line-soft:rgba(143,106,166,.18);--soft:rgba(143,106,166,.075);
  --shadow:0 18px 50px rgba(83,61,96,.08);
  --theme-surface:#fbf8fd;--theme-surface2:#dfd2e9;--theme-border:#8f6aa6;
  --theme-heading:#3b3043;--theme-script:#8f6aa6;--theme-news:#9670ab;
  --theme-button:#87639d;--theme-button-text:#fff;--theme-photo-filter:saturate(.78) brightness(1.02);
  --theme-radius:36px;--theme-pattern-opacity:.09;
}

/* 3. Olive Editorial */
html[data-theme="olive-editorial"]{
  --bg:#f5f3e9;--bg2:#e5e2cf;--glass:rgba(255,255,250,.61);--glass2:rgba(231,230,210,.34);
  --ink:#303427;--muted:#777964;--accent:#78815a;--accent2:#a9ad82;
  --line:rgba(120,129,90,.58);--line-soft:rgba(120,129,90,.18);--soft:rgba(120,129,90,.075);
  --shadow:0 18px 50px rgba(66,72,48,.08);
  --theme-surface:#faf9f0;--theme-surface2:#d9d9bd;--theme-border:#78815a;
  --theme-heading:#303427;--theme-script:#737c55;--theme-news:#7d8560;
  --theme-button:#727b55;--theme-button-text:#fff;--theme-photo-filter:saturate(.68) sepia(.08);
  --theme-radius:18px;--theme-pattern-opacity:.11;
}

/* 4. Champagne */
html[data-theme="champagne"]{
  --bg:#fffaf0;--bg2:#efe3c9;--glass:rgba(255,254,248,.66);--glass2:rgba(242,225,190,.32);
  --ink:#44392b;--muted:#8d7c65;--accent:#b88b4a;--accent2:#d8bb83;
  --line:rgba(184,139,74,.57);--line-soft:rgba(184,139,74,.18);--soft:rgba(184,139,74,.07);
  --shadow:0 18px 50px rgba(109,82,43,.08);
  --theme-surface:#fffdf6;--theme-surface2:#ead8b2;--theme-border:#b88b4a;
  --theme-heading:#44392b;--theme-script:#ad7d3b;--theme-news:#b88b4a;
  --theme-button:#ad7f43;--theme-button-text:#fff;--theme-photo-filter:saturate(.78) sepia(.09) brightness(1.02);
  --theme-radius:30px;--theme-pattern-opacity:.08;
}

/* 5. Powder Blue */
html[data-theme="powder-blue"]{
  --bg:#f4f9fb;--bg2:#dcecf1;--glass:rgba(255,255,255,.66);--glass2:rgba(221,238,244,.35);
  --ink:#293b43;--muted:#70838b;--accent:#6299aa;--accent2:#a7cbd5;
  --line:rgba(98,153,170,.56);--line-soft:rgba(98,153,170,.18);--soft:rgba(98,153,170,.07);
  --shadow:0 18px 50px rgba(57,91,103,.07);
  --theme-surface:#f9fdfe;--theme-surface2:#cee4eb;--theme-border:#6299aa;
  --theme-heading:#293b43;--theme-script:#568fa1;--theme-news:#659cac;
  --theme-button:#5d94a5;--theme-button-text:#fff;--theme-photo-filter:saturate(.72) brightness(1.04);
  --theme-radius:28px;--theme-pattern-opacity:.085;
}

/* 6. Peach Blossom */
html[data-theme="peach-blossom"]{
  --bg:#fff7f2;--bg2:#f5dcd1;--glass:rgba(255,252,249,.68);--glass2:rgba(247,218,205,.34);
  --ink:#4b302c;--muted:#916f68;--accent:#dc7f68;--accent2:#efb5a4;
  --line:rgba(220,127,104,.57);--line-soft:rgba(220,127,104,.18);--soft:rgba(220,127,104,.075);
  --shadow:0 18px 50px rgba(126,76,64,.08);
  --theme-surface:#fffaf7;--theme-surface2:#f0cbbd;--theme-border:#dc7f68;
  --theme-heading:#4b302c;--theme-script:#d4715b;--theme-news:#d97c65;
  --theme-button:#d57761;--theme-button-text:#fff;--theme-photo-filter:saturate(.82) sepia(.035) brightness(1.03);
  --theme-radius:40px;--theme-pattern-opacity:.09;
}

/* 7. Pistachio Milk */
html[data-theme="pistachio"]{
  --bg:#f7f9f2;--bg2:#dfe8d5;--glass:rgba(255,255,252,.64);--glass2:rgba(222,235,211,.34);
  --ink:#30402f;--muted:#748271;--accent:#78966e;--accent2:#b3c7a8;
  --line:rgba(120,150,110,.56);--line-soft:rgba(120,150,110,.18);--soft:rgba(120,150,110,.075);
  --shadow:0 18px 50px rgba(65,88,61,.07);
  --theme-surface:#fbfcf7;--theme-surface2:#d4e2ca;--theme-border:#78966e;
  --theme-heading:#30402f;--theme-script:#6e8d65;--theme-news:#78966e;
  --theme-button:#718e68;--theme-button-text:#fff;--theme-photo-filter:saturate(.65) brightness(1.02);
  --theme-radius:26px;--theme-pattern-opacity:.09;
}

/* 8. Rose Newspaper */
html[data-theme="rose-news"]{
  --bg:#fff6f5;--bg2:#edd8d7;--glass:rgba(255,253,252,.66);--glass2:rgba(239,213,212,.35);
  --ink:#4b2e31;--muted:#8d6d70;--accent:#b85e67;--accent2:#dfa1a6;
  --line:rgba(184,94,103,.58);--line-soft:rgba(184,94,103,.18);--soft:rgba(184,94,103,.075);
  --shadow:0 18px 50px rgba(110,61,66,.08);
  --theme-surface:#fffafa;--theme-surface2:#e7c7c8;--theme-border:#b85e67;
  --theme-heading:#4b2e31;--theme-script:#b65762;--theme-news:#ad525d;
  --theme-button:#b75a64;--theme-button-text:#fff;--theme-photo-filter:saturate(.76) sepia(.035);
  --theme-radius:16px;--theme-pattern-opacity:.14;
}

/* 9. Black Ruby — the only dark theme */
html[data-theme="black-ruby"]{
  --bg:#080808;--bg2:#18090c;--glass:rgba(255,255,255,.052);--glass2:rgba(255,255,255,.018);
  --ink:#fff8f8;--muted:#bba8ac;--accent:#ff4d4d;--accent2:#a91e2c;
  --line:rgba(255,77,77,.72);--line-soft:rgba(255,77,77,.22);--soft:rgba(255,77,77,.11);
  --shadow:0 22px 68px rgba(0,0,0,.34);
  --theme-surface:#171012;--theme-surface2:#050505;--theme-border:#ff4d4d;
  --theme-heading:#fff;--theme-script:#ff4d4d;--theme-news:#ff303f;
  --theme-button:#ff303f;--theme-button-text:#fff;--theme-photo-filter:grayscale(.18) contrast(1.1) brightness(.74);
  --theme-radius:8px;--theme-pattern-opacity:.24;
}

/* dress-code palette follows every new theme */
html[data-theme="scarlet-paper"] .swatch:nth-child(1){background:#ff4d4d}
html[data-theme="scarlet-paper"] .swatch:nth-child(2){background:#d28a78}
html[data-theme="scarlet-paper"] .swatch:nth-child(3){background:#f3d9cf}
html[data-theme="scarlet-paper"] .swatch:nth-child(4){background:#fffaf6}
html[data-theme="scarlet-paper"] .swatch:nth-child(5){background:#6d4038}

html[data-theme="provence"] .swatch:nth-child(1){background:#74558a}
html[data-theme="provence"] .swatch:nth-child(2){background:#a986bb}
html[data-theme="provence"] .swatch:nth-child(3){background:#d3bfdf}
html[data-theme="provence"] .swatch:nth-child(4){background:#f7f1fa}
html[data-theme="provence"] .swatch:nth-child(5){background:#51405b}

html[data-theme="olive-editorial"] .swatch:nth-child(1){background:#5e6844}
html[data-theme="olive-editorial"] .swatch:nth-child(2){background:#8d956b}
html[data-theme="olive-editorial"] .swatch:nth-child(3){background:#c2c5a2}
html[data-theme="olive-editorial"] .swatch:nth-child(4){background:#f4f0df}
html[data-theme="olive-editorial"] .swatch:nth-child(5){background:#3d4330}

html[data-theme="champagne"] .swatch:nth-child(1){background:#9c7137}
html[data-theme="champagne"] .swatch:nth-child(2){background:#c49a59}
html[data-theme="champagne"] .swatch:nth-child(3){background:#dec38f}
html[data-theme="champagne"] .swatch:nth-child(4){background:#f7edd5}
html[data-theme="champagne"] .swatch:nth-child(5){background:#6b5638}

html[data-theme="powder-blue"] .swatch:nth-child(1){background:#4e8496}
html[data-theme="powder-blue"] .swatch:nth-child(2){background:#82afbd}
html[data-theme="powder-blue"] .swatch:nth-child(3){background:#bdd9e1}
html[data-theme="powder-blue"] .swatch:nth-child(4){background:#edf6f8}
html[data-theme="powder-blue"] .swatch:nth-child(5){background:#385d69}

html[data-theme="peach-blossom"] .swatch:nth-child(1){background:#c96c57}
html[data-theme="peach-blossom"] .swatch:nth-child(2){background:#e69b87}
html[data-theme="peach-blossom"] .swatch:nth-child(3){background:#f2c7b8}
html[data-theme="peach-blossom"] .swatch:nth-child(4){background:#fff0e8}
html[data-theme="peach-blossom"] .swatch:nth-child(5){background:#7c4b40}

html[data-theme="pistachio"] .swatch:nth-child(1){background:#617e59}
html[data-theme="pistachio"] .swatch:nth-child(2){background:#8fab84}
html[data-theme="pistachio"] .swatch:nth-child(3){background:#bfd0b6}
html[data-theme="pistachio"] .swatch:nth-child(4){background:#eef3e8}
html[data-theme="pistachio"] .swatch:nth-child(5){background:#40533d}

html[data-theme="rose-news"] .swatch:nth-child(1){background:#9c4852}
html[data-theme="rose-news"] .swatch:nth-child(2){background:#c7767e}
html[data-theme="rose-news"] .swatch:nth-child(3){background:#dda9ad}
html[data-theme="rose-news"] .swatch:nth-child(4){background:#f3dada}
html[data-theme="rose-news"] .swatch:nth-child(5){background:#63363b}

html[data-theme="black-ruby"] .swatch:nth-child(1){background:#050505}
html[data-theme="black-ruby"] .swatch:nth-child(2){background:#421016}
html[data-theme="black-ruby"] .swatch:nth-child(3){background:#9c202c}
html[data-theme="black-ruby"] .swatch:nth-child(4){background:#ff4d4d}
html[data-theme="black-ruby"] .swatch:nth-child(5){background:#f2d6d8}

/* SVG objects also inherit the mood */
html[data-theme="provence"] .hero-svg,
html[data-theme="provence"] .program-icon img,
html[data-theme="provence"] .dress-svg,
html[data-theme="provence"] .footer img{filter:hue-rotate(245deg) saturate(.48)}

html[data-theme="olive-editorial"] .hero-svg,
html[data-theme="olive-editorial"] .program-icon img,
html[data-theme="olive-editorial"] .dress-svg,
html[data-theme="olive-editorial"] .footer img{filter:hue-rotate(65deg) saturate(.48)}

html[data-theme="champagne"] .hero-svg,
html[data-theme="champagne"] .program-icon img,
html[data-theme="champagne"] .dress-svg,
html[data-theme="champagne"] .footer img{filter:sepia(.62) saturate(.72)}

html[data-theme="powder-blue"] .hero-svg,
html[data-theme="powder-blue"] .program-icon img,
html[data-theme="powder-blue"] .dress-svg,
html[data-theme="powder-blue"] .footer img{filter:hue-rotate(155deg) saturate(.52)}

html[data-theme="peach-blossom"] .hero-svg,
html[data-theme="peach-blossom"] .program-icon img,
html[data-theme="peach-blossom"] .dress-svg,
html[data-theme="peach-blossom"] .footer img{filter:hue-rotate(340deg) saturate(.64)}

html[data-theme="pistachio"] .hero-svg,
html[data-theme="pistachio"] .program-icon img,
html[data-theme="pistachio"] .dress-svg,
html[data-theme="pistachio"] .footer img{filter:hue-rotate(72deg) saturate(.42)}

html[data-theme="rose-news"] .hero-svg,
html[data-theme="rose-news"] .program-icon img,
html[data-theme="rose-news"] .dress-svg,
html[data-theme="rose-news"] .footer img{filter:hue-rotate(338deg) saturate(.52)}

html[data-theme="black-ruby"] .hero-svg,
html[data-theme="black-ruby"] .program-icon img,
html[data-theme="black-ruby"] .dress-svg,
html[data-theme="black-ruby"] .footer img{filter:saturate(1.3) contrast(1.08)}

/* selected swatches for the new collection */
.theme-switcher button:nth-child(1){background:linear-gradient(135deg,#fff9f5,#ff4d4d)!important}
.theme-switcher button:nth-child(2){background:linear-gradient(135deg,#f8f5fb,#8f6aa6)!important}
.theme-switcher button:nth-child(3){background:linear-gradient(135deg,#f5f3e9,#78815a)!important}
.theme-switcher button:nth-child(4){background:linear-gradient(135deg,#fffaf0,#b88b4a)!important}
.theme-switcher button:nth-child(5){background:linear-gradient(135deg,#f4f9fb,#6299aa)!important}
.theme-switcher button:nth-child(6){background:linear-gradient(135deg,#fff7f2,#dc7f68)!important}
.theme-switcher button:nth-child(7){background:linear-gradient(135deg,#f7f9f2,#78966e)!important}
.theme-switcher button:nth-child(8){background:linear-gradient(135deg,#fff6f5,#b85e67)!important}
.theme-switcher button:nth-child(9){background:linear-gradient(135deg,#080808,#ff303f)!important}


/* v18 — final curated collection: 5 themes, no green */

/* 1. Scarlet Editorial */
html[data-theme="scarlet-paper"]{
  --bg:#fff9f6;--bg2:#f5e3dc;--glass:rgba(255,253,250,.72);--glass2:rgba(255,235,231,.38);
  --ink:#3d2724;--muted:#876c66;--accent:#ff4d4d;--accent2:#d69080;
  --line:rgba(255,77,77,.60);--line-soft:rgba(255,77,77,.17);--soft:rgba(255,77,77,.075);
  --shadow:0 18px 50px rgba(119,65,54,.08);
  --theme-surface:#fffaf7;--theme-surface2:#f0d2c9;--theme-border:#ff4d4d;
  --theme-heading:#402622;--theme-script:#ed4444;--theme-news:#d64c46;
  --theme-button:#ef4848;--theme-button-text:#fff;
  --theme-photo-filter:saturate(.94) sepia(.025);--theme-radius:24px;--theme-pattern-opacity:.12;
}

/* 2. Dusty Rose */
html[data-theme="dusty-rose"]{
  --bg:#fff7f8;--bg2:#ead6dc;--glass:rgba(255,253,254,.70);--glass2:rgba(237,213,220,.36);
  --ink:#4b3038;--muted:#8c7078;--accent:#b96579;--accent2:#dfa7b4;
  --line:rgba(185,101,121,.58);--line-soft:rgba(185,101,121,.18);--soft:rgba(185,101,121,.075);
  --shadow:0 18px 50px rgba(108,63,74,.08);
  --theme-surface:#fffafb;--theme-surface2:#e5c8d0;--theme-border:#b96579;
  --theme-heading:#4b3038;--theme-script:#b65d72;--theme-news:#ae586c;
  --theme-button:#b75f74;--theme-button-text:#fff;
  --theme-photo-filter:saturate(.78) brightness(1.025);--theme-radius:36px;--theme-pattern-opacity:.11;
}

/* 3. Champagne Ivory */
html[data-theme="champagne"]{
  --bg:#fffaf0;--bg2:#ebdec3;--glass:rgba(255,254,248,.70);--glass2:rgba(239,221,184,.34);
  --ink:#46392a;--muted:#8c7a61;--accent:#b48645;--accent2:#d7b97c;
  --line:rgba(180,134,69,.58);--line-soft:rgba(180,134,69,.18);--soft:rgba(180,134,69,.07);
  --shadow:0 18px 50px rgba(103,78,42,.08);
  --theme-surface:#fffdf6;--theme-surface2:#e8d4a9;--theme-border:#b48645;
  --theme-heading:#46392a;--theme-script:#a97836;--theme-news:#ae8142;
  --theme-button:#a97a3c;--theme-button-text:#fff;
  --theme-photo-filter:saturate(.76) sepia(.09) brightness(1.02);--theme-radius:30px;--theme-pattern-opacity:.085;
}

/* 4. Powder Blue */
html[data-theme="powder-blue"]{
  --bg:#f5fafc;--bg2:#d9eaf0;--glass:rgba(255,255,255,.70);--glass2:rgba(216,236,243,.36);
  --ink:#293d47;--muted:#6e818a;--accent:#659cad;--accent2:#a8ccd7;
  --line:rgba(101,156,173,.58);--line-soft:rgba(101,156,173,.18);--soft:rgba(101,156,173,.07);
  --shadow:0 18px 50px rgba(55,91,103,.07);
  --theme-surface:#fafdfe;--theme-surface2:#cce3eb;--theme-border:#659cad;
  --theme-heading:#293d47;--theme-script:#568fa2;--theme-news:#6099ab;
  --theme-button:#5c95a8;--theme-button-text:#fff;
  --theme-photo-filter:saturate(.70) brightness(1.04);--theme-radius:28px;--theme-pattern-opacity:.085;
}

/* 5. Black Ruby — only dark */
html[data-theme="black-ruby"]{
  --bg:#080808;--bg2:#18090c;--glass:rgba(255,255,255,.052);--glass2:rgba(255,255,255,.018);
  --ink:#fff8f8;--muted:#bba8ac;--accent:#ff4d4d;--accent2:#a91e2c;
  --line:rgba(255,77,77,.72);--line-soft:rgba(255,77,77,.22);--soft:rgba(255,77,77,.11);
  --shadow:0 22px 68px rgba(0,0,0,.34);
  --theme-surface:#171012;--theme-surface2:#050505;--theme-border:#ff4d4d;
  --theme-heading:#fff;--theme-script:#ff4d4d;--theme-news:#ff303f;
  --theme-button:#ff303f;--theme-button-text:#fff;
  --theme-photo-filter:grayscale(.18) contrast(1.1) brightness(.74);--theme-radius:8px;--theme-pattern-opacity:.24;
}

/* Final five dress-code palettes */
html[data-theme="dusty-rose"] .swatch:nth-child(1){background:#9e4e62}
html[data-theme="dusty-rose"] .swatch:nth-child(2){background:#c7798c}
html[data-theme="dusty-rose"] .swatch:nth-child(3){background:#dfa9b5}
html[data-theme="dusty-rose"] .swatch:nth-child(4){background:#f2d9df}
html[data-theme="dusty-rose"] .swatch:nth-child(5){background:#65404a}

/* theme button preview colors */
.theme-switcher button:nth-child(1){background:linear-gradient(135deg,#fff9f6,#ff4d4d)!important}
.theme-switcher button:nth-child(2){background:linear-gradient(135deg,#fff7f8,#b96579)!important}
.theme-switcher button:nth-child(3){background:linear-gradient(135deg,#fffaf0,#b48645)!important}
.theme-switcher button:nth-child(4){background:linear-gradient(135deg,#f5fafc,#659cad)!important}
.theme-switcher button:nth-child(5){background:linear-gradient(135deg,#080808,#ff303f)!important}

/* Dusty rose SVG mood */
html[data-theme="dusty-rose"] .hero-svg,
html[data-theme="dusty-rose"] .program-icon img,
html[data-theme="dusty-rose"] .dress-svg,
html[data-theme="dusty-rose"] .footer img{filter:hue-rotate(338deg) saturate(.50)}



.theme-switcher{
  display:grid!important;
  grid-template-columns:repeat(5,27px)!important;
  border-radius:999px!important;
}
@media(max-width:560px){
  .theme-switcher{
    grid-template-columns:repeat(5,25px)!important;
    gap:6px!important;
  }
}


/* =========================
   PRODUCTION: PO LYUBVI
========================= */
html,body{min-height:100%}
body{padding:0}
.po-page{position:relative;isolation:isolate}
.po-main{overflow:hidden}
.po-wrap{width:min(1120px,calc(100% - 36px));margin-inline:auto}
.po-section{padding:74px 0;position:relative;text-align:center}
.po-kicker{font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:var(--theme-script);font-weight:600}
.po-title{font:500 clamp(44px,6vw,72px)/.96 "Cormorant Garamond",serif;letter-spacing:-.035em;margin:12px 0 18px;color:var(--theme-heading)}
.po-lead{max-width:660px;margin:0 auto;color:var(--muted);line-height:1.8}
.po-glass{
  position:relative;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--theme-border) 70%,transparent);
  border-radius:var(--theme-radius);
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--theme-surface) 82%,transparent),
    color-mix(in srgb,var(--theme-surface2) 48%,transparent)
  );
  box-shadow:var(--shadow);
}
.po-glass:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 24%);opacity:.55}
.po-glass>*{position:relative;z-index:1}

/* theme picker shown only in demo/preview */
.po-theme-picker{position:fixed;top:16px;right:16px;z-index:120;display:grid;grid-template-columns:repeat(5,27px);gap:7px;padding:8px;border:1px solid var(--line-soft);border-radius:999px;background:var(--bg);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.po-theme-btn{width:27px;height:27px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.7);cursor:pointer}
.po-theme-btn.is-active{transform:scale(1.12);box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--theme-border)}
.po-theme-btn[data-theme-value="scarlet-paper"]{background:linear-gradient(135deg,#fff9f6,#ff4d4d)}
.po-theme-btn[data-theme-value="dusty-rose"]{background:linear-gradient(135deg,#fff7f8,#b96579)}
.po-theme-btn[data-theme-value="champagne"]{background:linear-gradient(135deg,#fffaf0,#b48645)}
.po-theme-btn[data-theme-value="powder-blue"]{background:linear-gradient(135deg,#f5fafc,#659cad)}
.po-theme-btn[data-theme-value="black-ruby"]{background:linear-gradient(135deg,#080808,#ff303f)}

/* hero */
.po-hero{min-height:100svh;display:grid;place-items:center;padding:80px 0 44px;text-align:center;position:relative}
.po-hero-card{width:100%;min-height:660px;padding:64px 34px;display:grid;place-items:center;border-radius:42px 42px 18px 18px!important}
.po-hero-card:after{content:"";position:absolute;inset:10px;border:1px solid color-mix(in srgb,var(--theme-border) 22%,transparent);border-radius:34px 34px 12px 12px;pointer-events:none}
.po-hero-inner{max-width:760px;margin:auto}
.po-hero-mini{font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:var(--muted)}
.po-hero h1{font:500 clamp(74px,11vw,145px)/.74 "Cormorant Garamond",serif;letter-spacing:-.06em;margin:30px 0 26px;color:var(--theme-heading)}
.po-hero h1 .and{display:block;font:400 clamp(50px,7vw,82px)/.8 "Marck Script",cursive;color:var(--theme-script);margin:-7px 0 0;transform:rotate(-5deg)}
.po-hero-date{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;border:1px solid color-mix(in srgb,var(--theme-border) 35%,transparent);border-radius:999px;background:color-mix(in srgb,var(--theme-surface2) 38%,transparent);font-size:10px;letter-spacing:.15em;text-transform:uppercase}
.po-hero-note{max-width:540px;margin:25px auto 0;color:var(--muted);line-height:1.8}
.po-hero-note .script{display:block;font:400 32px/1.25 "Marck Script",cursive;color:var(--theme-script);margin-bottom:5px}
.po-hero-svg{position:absolute;pointer-events:none;user-select:none}
.po-heart-left{width:150px;left:5%;top:12%;transform:rotate(-10deg)}
.po-heart-right{width:130px;right:6%;bottom:8%;transform:rotate(11deg)}
.po-rings{width:100px;right:12%;top:12%}

/* ticker */
.po-ticker{width:100%;overflow:hidden;border-top:1px solid color-mix(in srgb,var(--theme-border) 35%,transparent);border-bottom:1px solid color-mix(in srgb,var(--theme-border) 35%,transparent);background:color-mix(in srgb,var(--theme-surface) 36%,transparent);padding:12px 0}
.po-ticker-track{display:flex;width:max-content;white-space:nowrap;font:500 12px/1 "Cormorant Garamond",serif;letter-spacing:.22em;text-transform:uppercase;color:var(--theme-news);animation:poTicker 34s linear infinite}
.po-ticker-track span{padding-right:34px}@keyframes poTicker{to{transform:translateX(-50%)}}

/* story / timer */
.po-split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.po-card{padding:44px;text-align:center}
.po-card p{color:var(--muted);line-height:1.85;max-width:560px;margin-left:auto;margin-right:auto}
.po-story{border-radius:52px 16px 52px 16px!important;border-left-width:3px!important}
.po-timer{border-radius:16px 52px 16px 52px!important;border-top-width:3px!important}
.po-timer-text{margin:16px auto 0!important;max-width:540px!important;color:var(--muted)!important;line-height:1.75!important}
.po-timer-empty{margin:24px auto 0!important;color:var(--muted)!important}
.po-timer-expired{margin:28px auto 0;font:400 clamp(30px,4vw,46px)/1.1 "Marck Script",cursive;color:var(--theme-script)}
.po-story-image{width:100%;aspect-ratio:16/10;border-radius:28px;overflow:hidden;margin:0 0 28px;border:1px solid color-mix(in srgb,var(--theme-border) 32%,transparent)}
.po-story-image img{width:100%;height:100%;object-fit:cover;display:block;filter:var(--theme-photo-filter)}
.po-quote{font:400 38px/1.1 "Marck Script",cursive;color:var(--theme-script);margin-top:26px}
.po-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:28px}
.po-countdown .num{padding:22px 8px;border:1px solid color-mix(in srgb,var(--theme-border) 30%,transparent);border-radius:20px;background:color-mix(in srgb,var(--theme-surface2) 36%,transparent)}
.po-countdown strong{display:block;font:500 44px/1 "Cormorant Garamond",serif}.po-countdown span{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}

/* editorial break */
.po-break{width:min(1120px,calc(100% - 36px));min-height:160px;margin:0 auto;position:relative;display:grid;place-items:center;text-align:center;overflow:hidden}
.po-break .big{font:600 clamp(58px,10vw,138px)/.75 "Cormorant Garamond",serif;letter-spacing:-.055em;color:color-mix(in srgb,var(--theme-news) 12%,transparent);white-space:nowrap;text-transform:uppercase}
.po-break .front{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:400 clamp(25px,3.5vw,42px)/1 "Marck Script",cursive;color:var(--theme-script);white-space:nowrap}

/* program */
.po-program{padding:44px;border-radius:12px 44px 12px 44px!important;border-bottom-width:3px!important;overflow:visible}
.po-program:after{content:"";position:absolute;left:18px;right:18px;top:18px;bottom:18px;border:1px dashed color-mix(in srgb,var(--theme-border) 24%,transparent);border-radius:8px 34px 8px 34px;pointer-events:none}
.po-program-list{display:grid;gap:12px;max-width:850px;margin:28px auto 0}
.po-program-item{display:grid;grid-template-columns:82px 70px 1fr;gap:18px;align-items:center;text-align:left;padding:16px 18px;border:1px solid color-mix(in srgb,var(--theme-border) 30%,transparent);border-radius:22px;background:color-mix(in srgb,var(--theme-surface2) 36%,transparent)}
.po-program-time{font:500 30px/1 "Cormorant Garamond",serif;color:var(--theme-script)}
.po-program-icon{width:58px;height:58px;display:grid;place-items:center;margin:auto}.po-program-icon img{max-width:58px;max-height:58px;display:block}
.po-program-item h3{font:500 28px/1 "Cormorant Garamond",serif;margin:0 0 6px;color:var(--theme-heading)}.po-program-item p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}

/* dress */
.po-dress{padding:44px;border-radius:70px 18px 70px 18px!important;border-right-width:3px!important;overflow:visible}
.po-dress-wrap{display:grid;grid-template-columns:110px 1fr 110px;align-items:center;gap:18px}.po-dress-svg{max-width:100px;margin:auto}
.po-palette{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}.po-swatch{width:46px;height:46px;border-radius:50%;box-shadow:0 0 0 1px color-mix(in srgb,var(--theme-border) 32%,transparent)}

/* locations */
.po-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px}.po-location-grid.is-single{grid-template-columns:1fr}
.po-location{padding:0;text-align:left;min-width:0}.po-location:nth-child(1){border-radius:54px 14px 14px 14px!important;border-top-width:3px!important}.po-location:nth-child(2){border-radius:14px 14px 54px 14px!important;border-bottom-width:3px!important}
.po-location-photo{height:300px;overflow:hidden;border-bottom:1px solid var(--line-soft)}.po-location-photo img{width:100%;height:100%;display:block;object-fit:cover;filter:var(--theme-photo-filter)}
.po-location-visual{height:250px;display:grid;place-items:center;background:radial-gradient(circle at 45% 35%,color-mix(in srgb,var(--theme-border) 18%,transparent),transparent 34%),linear-gradient(145deg,color-mix(in srgb,var(--theme-surface2) 56%,transparent),transparent)}
.po-location-pin{width:92px;height:92px;border:1px solid var(--theme-border);border-radius:50%;display:grid;place-items:center;color:var(--theme-script);font-size:32px}
.po-location-body{padding:30px}.po-location-body h3{font:500 38px/1 "Cormorant Garamond",serif;margin:8px 0 12px;color:var(--theme-heading)}.po-location-body p{color:var(--muted);line-height:1.7}
.po-actions{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin-top:22px}.po-btn{min-height:46px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--theme-border);text-decoration:none;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.po-btn.primary{background:var(--theme-button);border-color:var(--theme-button);color:var(--theme-button-text)}

/* gallery */
.po-gallery{display:grid;grid-template-columns:1.35fr .82fr .82fr;grid-template-rows:270px 270px;gap:14px;margin-top:30px}
.po-photo{position:relative;overflow:hidden;min-width:0;border:1px solid color-mix(in srgb,var(--theme-border) 58%,transparent);background:linear-gradient(145deg,var(--soft),var(--glass2))}
.po-photo:nth-child(1){grid-row:1/span 2;grid-column:1;border-radius:60px 14px 60px 14px;border-left-width:3px}.po-photo:nth-child(2){grid-column:2;grid-row:1;border-radius:14px 48px 14px 14px}.po-photo:nth-child(3){grid-column:3;grid-row:1;border-radius:48px 14px 14px 14px}.po-photo:nth-child(4){grid-column:2;grid-row:2;border-radius:14px 14px 14px 48px}.po-photo:nth-child(5){grid-column:3;grid-row:2;border-radius:14px 14px 48px 14px}
.po-photo a{display:block;width:100%;height:100%}.po-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:var(--theme-photo-filter);transition:transform .35s ease}.po-photo:hover img{transform:scale(1.018)}
.po-gallery-empty{padding:48px 20px;border:1px dashed color-mix(in srgb,var(--theme-border) 38%,transparent);border-radius:28px;color:var(--muted);margin-top:24px}

/* details */
.po-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}.po-detail{padding:30px 24px;min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.po-detail:nth-child(1){border-radius:50% 50% 18px 18px/34% 34% 18px 18px!important;border-top-width:3px!important}.po-detail:nth-child(2){border-radius:18px 58px 18px 58px!important;border-left-width:3px!important}.po-detail:nth-child(3){border-radius:58px 18px 58px 18px!important;border-right-width:3px!important}
.po-detail-icon{width:62px;height:62px;border:1px solid var(--theme-border);border-radius:50%;display:grid;place-items:center;color:var(--theme-script);font-size:22px;margin-bottom:18px}.po-detail h3{font:500 31px/1 "Cormorant Garamond",serif;margin:0 0 10px;color:var(--theme-heading)}.po-detail p{margin:0;max-width:300px;color:var(--muted);line-height:1.7;font-size:13px}.po-detail a{margin-top:16px}

/* contacts shared block */
.po-contacts-shell{margin-top:28px}
.po-contacts-shell :is(section,#contacts,.contactsSection,.iviContacts){background:transparent!important;color:var(--ink)!important}
.po-contacts-shell :is(.card,.contactCard,.iviContactCard,article){border-color:color-mix(in srgb,var(--theme-border) 55%,transparent)!important}
.po-contacts-shell :is(button,a[class*="btn"],a[class*="Btn"]){border-color:var(--theme-border)!important}

/* RSVP common block */
.po-rsvp{padding:48px;border-radius:18px 70px 18px 70px!important;border-width:2px!important;overflow:visible}
.po-rsvp:after{content:"";position:absolute;inset:11px;border:1px solid color-mix(in srgb,var(--theme-border) 26%,transparent);border-radius:12px 58px 12px 58px;pointer-events:none}
.po-rsvp .production-rsvp{position:relative;z-index:2;margin-top:24px;text-align:left}
.po-rsvp .production-rsvp :is(.rsvpSection,.rsvpFormCard){background:transparent!important;box-shadow:none!important;color:var(--ink)!important}
.po-rsvp .production-rsvp .field{border:1px solid color-mix(in srgb,var(--theme-border) 32%,transparent)!important;background:color-mix(in srgb,var(--theme-surface2) 32%,transparent)!important;color:var(--ink)!important;border-radius:17px!important}
.po-rsvp .production-rsvp .chip{border:1px solid color-mix(in srgb,var(--theme-border) 38%,transparent)!important;background:transparent!important;color:var(--ink)!important}
.po-rsvp .production-rsvp .chip:is([data-active="true"],.is-active,.active){background:var(--theme-button)!important;color:var(--theme-button-text)!important;border-color:var(--theme-button)!important}
.po-rsvp .production-rsvp :is(.btn.btn-full,#rsvpForm button[type="submit"]){background:var(--theme-button)!important;color:var(--theme-button-text)!important;border-color:var(--theme-button)!important;border-radius:999px!important}

/* footer deadline */
.po-footer{text-align:center;padding:60px 0 80px}.po-footer-heart{width:74px;display:block;margin:0 auto}.po-footer-script{font:400 34px/1.2 "Marck Script",cursive;color:var(--theme-script);margin-top:10px}.po-footer p{color:var(--muted)}
.po-deadline{width:min(760px,calc(100% - 36px));margin:22px auto 0;padding:16px 22px;border-top:1px solid color-mix(in srgb,var(--theme-border) 28%,transparent);border-bottom:1px solid color-mix(in srgb,var(--theme-border) 28%,transparent);color:var(--muted);font-size:11px;letter-spacing:.13em;text-transform:uppercase}.po-deadline strong{color:var(--theme-script)}

/* theme-dependent svg mood */
html[data-theme="dusty-rose"] .po-svg{filter:hue-rotate(338deg) saturate(.5)}
html[data-theme="champagne"] .po-svg{filter:sepia(.62) saturate(.72)}
html[data-theme="powder-blue"] .po-svg{filter:hue-rotate(155deg) saturate(.52)}
html[data-theme="black-ruby"] .po-svg{filter:saturate(1.3) contrast(1.08)}

.po-reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}.po-reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.po-ticker-track{animation:none}.po-reveal{opacity:1;transform:none;transition:none}}

@media(max-width:820px){
  .po-section{padding:58px 0}.po-split,.po-location-grid,.po-details-grid{grid-template-columns:1fr}.po-gallery{grid-template-columns:1fr 1fr;grid-template-rows:340px 220px 220px}.po-photo:nth-child(1){grid-column:1/-1;grid-row:1}.po-photo:nth-child(2){grid-column:1;grid-row:2}.po-photo:nth-child(3){grid-column:2;grid-row:2}.po-photo:nth-child(4){grid-column:1;grid-row:3}.po-photo:nth-child(5){grid-column:2;grid-row:3}
}
@media(max-width:560px){
  .po-wrap,.po-break{width:min(100% - 22px,1120px)}
  .po-theme-picker{top:10px;right:10px;grid-template-columns:repeat(5,25px);gap:6px}
  .po-theme-btn{width:25px;height:25px}
  .po-hero{min-height:100svh;padding:64px 0 18px;display:grid;place-items:center}
  .po-hero-card{min-height:calc(100svh - 82px);padding:48px 18px 40px;border-radius:30px 30px 12px 12px!important}
  .po-hero h1{font-size:66px;margin:24px 0 18px}.po-hero h1 .and{font-size:47px}.po-hero-note{margin-top:22px;max-width:320px;font-size:12px;line-height:1.65}.po-hero-note .script{font-size:30px}
  .po-heart-left{width:84px;left:-10px;top:12%}.po-heart-right{width:82px;right:-8px;bottom:7%}.po-rings{width:60px;right:7%;top:10%}
  .po-ticker{padding:10px 0}.po-ticker-track{font-size:10px;animation-duration:40s}
  .po-break{min-height:120px}.po-break .big{font-size:58px}.po-break .front{font-size:25px;white-space:normal;width:90%}
  .po-card,.po-program,.po-dress,.po-rsvp{padding:28px 20px}
  .po-countdown{grid-template-columns:repeat(2,1fr)}
  .po-program-item{grid-template-columns:56px 48px 1fr;gap:10px;padding:14px 12px}.po-program-time{font-size:23px}.po-program-icon,.po-program-icon img{width:44px;max-width:44px;height:44px;max-height:44px}.po-program-item h3{font-size:23px}.po-program-item p{font-size:12px}
  .po-dress-wrap{grid-template-columns:1fr}.po-dress-svg{max-width:82px}.po-dress-svg:first-child{display:none}
  .po-location-photo{height:250px}.po-location-body{padding:24px 20px}.po-actions{display:grid}.po-btn{width:100%}
  .po-gallery{grid-template-columns:1fr;grid-template-rows:none;gap:12px;margin-top:24px}.po-photo,.po-photo:nth-child(n){grid-column:1;grid-row:auto;height:auto;aspect-ratio:4/5;border-radius:22px!important}
  .po-details-grid{grid-template-columns:1fr}.po-detail{min-height:190px}.po-detail:nth-child(1){border-radius:44px 44px 12px 12px!important}.po-detail:nth-child(2){border-radius:12px 38px 12px 38px!important}.po-detail:nth-child(3){border-radius:38px 12px 38px 12px!important}
  .po-rsvp{border-radius:12px 48px 12px 48px!important}
  .po-deadline{width:min(100% - 28px,760px);font-size:10px;line-height:1.6}
}


/* v2 decor restore — small hearts + heart balloons from prototype */
.po-hero-miniheart{
  position:absolute;
  z-index:2;
  pointer-events:none;
  color:var(--theme-script);
  line-height:1;
  opacity:.55;
  text-shadow:0 8px 18px color-mix(in srgb,var(--theme-border) 18%,transparent);
}
.po-hero-miniheart-a{
  left:15%;
  bottom:19%;
  font-size:18px;
  transform:rotate(-8deg);
}
.po-hero-miniheart-b{
  right:18%;
  top:34%;
  font-size:24px;
  transform:rotate(10deg);
}
.po-hero-miniheart-c{
  left:23%;
  top:23%;
  font-size:12px;
  opacity:.38;
}

.po-section-balloon,
.po-floating-balloon,
.po-rsvp-balloon{
  position:absolute;
  z-index:4;
  pointer-events:none;
  user-select:none;
  height:auto;
  filter:drop-shadow(0 10px 18px color-mix(in srgb,var(--theme-border) 12%,transparent));
}
.po-section-balloon-left{
  width:92px;
  left:-39px;
  top:20%;
  transform:rotate(-8deg);
}
.po-section-balloon-right{
  width:82px;
  right:-33px;
  bottom:14%;
  transform:rotate(10deg);
}
.po-dress-balloon{
  width:86px;
  right:-28px;
  top:-30px;
  transform:rotate(8deg);
}
.po-location-wrap{
  position:relative;
}
.po-floating-balloon-location{
  width:78px;
  left:-24px;
  top:10px;
  transform:rotate(-9deg);
}
.po-rsvp-balloon{
  width:118px;
  right:-35px;
  bottom:-34px;
  opacity:.88;
  transform:rotate(10deg);
}
.po-rsvp > *:not(.po-rsvp-balloon){
  position:relative;
  z-index:2;
}

/* Keep animation very light */
@media (prefers-reduced-motion:no-preference){
  .po-hero-miniheart-a,
  .po-section-balloon-left{
    animation:poSoftHeartFloat 5.8s ease-in-out infinite;
  }
  .po-hero-miniheart-b,
  .po-section-balloon-right{
    animation:poSoftHeartFloat 6.6s ease-in-out infinite reverse;
  }
}
@keyframes poSoftHeartFloat{
  50%{transform:translateY(-7px) rotate(-4deg)}
}

@media(max-width:820px){
  .po-section-balloon-left{left:-18px;width:76px}
  .po-section-balloon-right{right:-14px;width:70px}
  .po-floating-balloon-location{left:-8px;width:68px}
}

@media(max-width:560px){
  .po-hero-miniheart-a{left:15%;bottom:13%;font-size:15px}
  .po-hero-miniheart-b{right:17%;top:36%;font-size:19px}
  .po-hero-miniheart-c{left:21%;top:20%;font-size:10px}

  .po-section-balloon-left{
    width:60px;
    left:-13px;
    top:9%;
  }
  .po-section-balloon-right{
    width:56px;
    right:-10px;
    bottom:8%;
  }
  .po-dress-balloon{
    width:58px;
    right:-8px;
    top:-24px;
  }
  .po-floating-balloon-location{
    width:56px;
    left:-5px;
    top:2px;
  }
  .po-rsvp-balloon{
    width:82px;
    right:-12px;
    bottom:-20px;
  }
}

/* =========================================================
   PO LYUBVI — CONTACTS
   Общий /views/blocks/contacts.php, оформление только шаблоном.
========================================================= */
.po-contacts-shell{
  margin-top:32px;
}

/* У общего блока убираем собственную секцию и повторный заголовок,
   потому что заголовок уже рисует сам шаблон выше. */
.po-contacts-shell > .ivi-contacts,
.po-contacts-shell .ivi-contacts{
  --ivi-contacts-bg:transparent!important;
  --ivi-contacts-card:transparent!important;
  --ivi-contacts-text:var(--theme-heading)!important;
  --ivi-contacts-muted:var(--muted)!important;
  --ivi-contacts-accent:var(--theme-script)!important;
  --ivi-contacts-line:color-mix(in srgb,var(--theme-border) 55%,transparent)!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  overflow:visible!important;
  color:var(--theme-heading)!important;
}

.po-contacts-shell .ivi-contacts__inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.po-contacts-shell .ivi-contacts__head{
  display:none!important;
}

.po-contacts-shell .ivi-contacts__grid{
  display:grid!important;
  grid-template-columns:repeat(var(--ivi-contacts-count,1),minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}

.po-contacts-shell .ivi-contact{
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  min-width:0!important;
  min-height:285px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:34px 26px!important;
  text-align:center!important;
  color:var(--theme-heading)!important;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--theme-surface2) 56%,transparent),
      color-mix(in srgb,var(--theme-surface) 24%,transparent)
    )!important;
  border:1px solid color-mix(in srgb,var(--theme-border) 58%,transparent)!important;
  border-radius:18px 58px 18px 58px!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  overflow:hidden!important;
}

.po-contacts-shell .ivi-contact:nth-child(2n){
  border-radius:58px 18px 58px 18px!important;
}

.po-contacts-shell .ivi-contact:nth-child(3n){
  border-radius:50% 50% 18px 18px/24% 24% 18px 18px!important;
  border-top-width:2px!important;
}

.po-contacts-shell .ivi-contact::before{
  content:"♡";
  position:absolute;
  right:18px;
  top:10px;
  z-index:-1;
  color:var(--theme-script);
  font:400 76px/1 "Cormorant Garamond",serif;
  opacity:.08;
  transform:rotate(12deg);
  pointer-events:none;
}

.po-contacts-shell .ivi-contact__avatar{
  display:grid!important;
  place-items:center!important;
  width:70px!important;
  height:70px!important;
  margin:0 0 18px!important;
  color:var(--theme-script)!important;
  background:color-mix(in srgb,var(--theme-border) 12%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--theme-border) 62%,transparent)!important;
  border-radius:50%!important;
  box-shadow:inset 0 0 0 7px color-mix(in srgb,var(--theme-surface2) 15%,transparent)!important;
}

.po-contacts-shell .ivi-contact__avatar svg{
  width:28px!important;
  height:28px!important;
  stroke:currentColor!important;
}

.po-contacts-shell .ivi-contact__name{
  margin:0!important;
  color:var(--theme-heading)!important;
  font:500 clamp(29px,3.2vw,40px)/1 "Cormorant Garamond",serif!important;
  letter-spacing:-.02em!important;
}

.po-contacts-shell .ivi-contact__role{
  margin:9px 0 0!important;
  color:var(--muted)!important;
  font:500 10px/1.45 "Manrope",sans-serif!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}

.po-contacts-shell .ivi-contact__phone{
  margin:18px 0 0!important;
  color:var(--theme-script)!important;
  font:500 16px/1.4 "Manrope",sans-serif!important;
  text-decoration:none!important;
}

.po-contacts-shell .ivi-contact__actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:8px!important;
  margin-top:auto!important;
  padding-top:22px!important;
}

.po-contacts-shell .ivi-contact__action{
  min-height:42px!important;
  padding:0 15px!important;
  gap:6px!important;
  color:var(--theme-heading)!important;
  background:transparent!important;
  border:1px solid color-mix(in srgb,var(--theme-border) 56%,transparent)!important;
  border-radius:999px!important;
  box-shadow:none!important;
  font:600 9px/1 "Manrope",sans-serif!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease!important;
}

.po-contacts-shell .ivi-contact__action:hover{
  transform:translateY(-2px)!important;
  color:var(--theme-button-text)!important;
  background:var(--theme-button)!important;
  border-color:var(--theme-button)!important;
}

.po-contacts-shell .ivi-contact__action svg{
  width:14px!important;
  height:14px!important;
  fill:currentColor!important;
}

/* =========================================================
   PO LYUBVI — GALLERY FIXED EDITORIAL MOSAIC
========================================================= */
.po-gallery{
  align-items:stretch;
}

.po-photo{
  margin:0!important;
}

.po-photo:nth-child(1) img{object-position:center 42%}
.po-photo:nth-child(2) img{object-position:center 34%}
.po-photo:nth-child(3) img{object-position:center 48%}
.po-photo:nth-child(4) img{object-position:center 42%}
.po-photo:nth-child(5) img{object-position:center 34%}

@media(max-width:820px){
  .po-contacts-shell .ivi-contacts__grid{
    grid-template-columns:1fr!important;
  }
  .po-contacts-shell .ivi-contact{
    width:min(560px,100%)!important;
    margin-inline:auto!important;
    min-height:240px!important;
  }
}

@media(max-width:560px){
  .po-contacts-shell{margin-top:24px}
  .po-contacts-shell .ivi-contact{
    min-height:0!important;
    padding:28px 18px!important;
    border-radius:12px 38px 12px 38px!important;
  }
  .po-contacts-shell .ivi-contact:nth-child(2n){
    border-radius:38px 12px 38px 12px!important;
  }
  .po-contacts-shell .ivi-contact:nth-child(3n){
    border-radius:34px 34px 12px 12px!important;
  }
  .po-contacts-shell .ivi-contact__name{font-size:31px!important}
  .po-contacts-shell .ivi-contact__actions{width:100%!important}
  .po-contacts-shell .ivi-contact__action{flex:1 1 120px!important}
}


/* =========================================================
   PO LYUBVI — GALLERY: REAL PHOTO COUNT, NO DUPLICATES
========================================================= */

/* 1 photo: one editorial hero card */
.po-gallery.po-gallery--count-1{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(500px,68vh)!important;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.po-gallery.po-gallery--count-1 .po-photo:nth-child(1){
  grid-column:1!important;
  grid-row:1!important;
  border-radius:60px 18px 60px 18px!important;
}

/* 2 photos: balanced split */
.po-gallery.po-gallery--count-2{
  grid-template-columns:1.18fr .82fr!important;
  grid-template-rows:540px!important;
}
.po-gallery.po-gallery--count-2 .po-photo:nth-child(1){
  grid-column:1!important;
  grid-row:1!important;
  border-radius:60px 16px 60px 16px!important;
}
.po-gallery.po-gallery--count-2 .po-photo:nth-child(2){
  grid-column:2!important;
  grid-row:1!important;
  border-radius:16px 52px 16px 52px!important;
}

/* 3 photos: large left + two stacked right */
.po-gallery.po-gallery--count-3{
  grid-template-columns:1.35fr .92fr!important;
  grid-template-rows:263px 263px!important;
}
.po-gallery.po-gallery--count-3 .po-photo:nth-child(1){
  grid-column:1!important;
  grid-row:1 / span 2!important;
  border-radius:60px 16px 60px 16px!important;
}
.po-gallery.po-gallery--count-3 .po-photo:nth-child(2){
  grid-column:2!important;
  grid-row:1!important;
  border-radius:16px 52px 16px 16px!important;
}
.po-gallery.po-gallery--count-3 .po-photo:nth-child(3){
  grid-column:2!important;
  grid-row:2!important;
  border-radius:16px 16px 52px 16px!important;
}

/* 4 photos: large left + three compact cards on the right */
.po-gallery.po-gallery--count-4{
  grid-template-columns:1.35fr .82fr .82fr!important;
  grid-template-rows:263px 263px!important;
}
.po-gallery.po-gallery--count-4 .po-photo:nth-child(1){
  grid-column:1!important;
  grid-row:1 / span 2!important;
}
.po-gallery.po-gallery--count-4 .po-photo:nth-child(2){
  grid-column:2!important;
  grid-row:1!important;
}
.po-gallery.po-gallery--count-4 .po-photo:nth-child(3){
  grid-column:3!important;
  grid-row:1!important;
}
.po-gallery.po-gallery--count-4 .po-photo:nth-child(4){
  grid-column:2 / span 2!important;
  grid-row:2!important;
  border-radius:16px 16px 52px 52px!important;
}

@media(max-width:820px){
  .po-gallery.po-gallery--count-1,
  .po-gallery.po-gallery--count-2,
  .po-gallery.po-gallery--count-3,
  .po-gallery.po-gallery--count-4{
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:auto!important;
    max-width:none;
  }

  .po-gallery.po-gallery--count-1 .po-photo:nth-child(1){
    grid-column:1 / -1!important;
    grid-row:auto!important;
    aspect-ratio:4/3;
  }

  .po-gallery.po-gallery--count-2 .po-photo:nth-child(n),
  .po-gallery.po-gallery--count-3 .po-photo:nth-child(n),
  .po-gallery.po-gallery--count-4 .po-photo:nth-child(n){
    grid-column:auto!important;
    grid-row:auto!important;
    aspect-ratio:4/5;
    height:auto!important;
  }

  .po-gallery.po-gallery--count-3 .po-photo:nth-child(1),
  .po-gallery.po-gallery--count-4 .po-photo:nth-child(1){
    grid-column:1 / -1!important;
    aspect-ratio:16/10;
  }
}

@media(max-width:560px){
  .po-gallery.po-gallery--count-1,
  .po-gallery.po-gallery--count-2,
  .po-gallery.po-gallery--count-3,
  .po-gallery.po-gallery--count-4{
    grid-template-columns:1fr!important;
  }

  .po-gallery.po-gallery--count-1 .po-photo:nth-child(n),
  .po-gallery.po-gallery--count-2 .po-photo:nth-child(n),
  .po-gallery.po-gallery--count-3 .po-photo:nth-child(n),
  .po-gallery.po-gallery--count-4 .po-photo:nth-child(n){
    grid-column:1!important;
    grid-row:auto!important;
    aspect-ratio:4/5!important;
    border-radius:22px!important;
  }
}

/* =========================================================
   Dress code corner fix
   The card must stay overflow:visible for the floating heart,
   while its glass highlight follows the asymmetric radius.
========================================================= */
.po-dress::before{
  border-radius:inherit;
}

.rsvpSection .consent {
  background: none !important;
}