
/* Local signature font supplied for Akvarelnaya Nezhnost */
@font-face{
  font-family:"kraM";
  src:url("fonts/kraM.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

:root{--bg:#fffdfd;--ink:#5f5357;--muted:#a18f95;--accent:#b48292;--accent2:#d8b8c1;--line:#eadde1;--soft:#f8f1f3;--white:#fff;--max:760px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f0f2;color:var(--ink);font-family:"Cormorant Garamond",Georgia,serif;font-weight:400}.page-shell{width:min(100%,920px);margin:auto;background:var(--bg);overflow:hidden;box-shadow:0 0 0 1px rgba(180,130,146,.18),0 30px 90px rgba(74,48,58,.08)}.section{position:relative;padding:92px max(24px,7vw);text-align:center}.hero{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:110px;padding-bottom:62px}.script{font-family:"kraM","Cormorant Garamond",Georgia,serif;font-weight:400;color:var(--accent)}.hero-date{font-size:11px;letter-spacing:.15em;color:var(--accent);margin-bottom:32px}.hero-date span{display:inline-block;border-left:1px solid var(--line);border-right:1px solid var(--line);padding:0 13px;margin:0 10px}.hero-names{font:400 clamp(25px,4.5vw,38px)/1.1 "kraM","Cormorant Garamond",Georgia,serif;color:#a97988;letter-spacing:.02em}.hero-names i{font-family:"Cormorant Garamond",Georgia,serif;font-weight:400;font-size:.75em;color:#b8959f}.hero-place{margin-top:8px;font-size:8px;line-height:1.5;letter-spacing:.08em;color:#9e8b91}.hero-save{font-size:clamp(32px,7vw,54px);margin:35px 0 27px}.portrait-wrap{position:relative;width:min(390px,76vw);aspect-ratio:1;margin:auto}.portrait{position:absolute;inset:8%;border-radius:50%;overflow:hidden;border:1px solid rgba(255,255,255,.9);box-shadow:0 8px 35px rgba(113,79,90,.12)}.portrait img{width:100%;height:100%;object-fit:cover;object-position:center 38%}.orbit{position:absolute;border-radius:50%;border:1.4px solid rgba(211,197,201,.9)}.orbit--1{inset:2% 7% 7% 2%;transform:rotate(7deg)}.orbit--2{inset:5% 1% 2% 5%;transform:rotate(-10deg)}.orbit--3{inset:0 4% 5% 4%;transform:rotate(18deg)}.leaf{position:absolute;width:145px;top:-8px;opacity:.92;pointer-events:none}.leaf--tl{left:-5px}.leaf--tr{right:-5px}.mirror{transform:scaleX(-1)}.scroll-cue{margin-top:20px;text-decoration:none;color:var(--accent);font-size:26px;animation:bob 1.8s ease-in-out infinite}@keyframes bob{50%{transform:translateY(5px)}}
.intro{padding-top:110px}.mini-mark{font:400 38px/1 "Snell Roundhand","Segoe Script",cursive;color:var(--accent);margin-bottom:75px}.mini-mark small{display:block;font:400 9px/1.5 Arial,sans-serif;letter-spacing:.08em}.eyebrow{margin:0 0 12px;color:#aa8d96;font-size:10px;letter-spacing:.22em}.section h1,.section h2{font-size:clamp(34px,7vw,56px);margin:0 0 20px;line-height:1.05}.lead{max-width:520px;margin:0 auto 32px;font:300 14px/1.9 Georgia,serif;color:#8c7d82}.lead.small{font-size:13px;max-width:470px}.date-card{display:flex;justify-content:center;align-items:center;gap:18px;color:#9d818a}.date-card span{font-size:10px;letter-spacing:.18em}.date-card b{font:400 52px/1 Georgia,serif;padding:0 18px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.year{font:400 13px Georgia,serif;letter-spacing:.35em;color:#aa9299}
.timer{background:linear-gradient(180deg,#fffdfd,var(--soft),#fffdfd)}.countdown{display:grid;grid-template-columns:repeat(4,1fr);max-width:640px;margin:45px auto 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}.countdown div{border-right:1px solid var(--line)}.countdown div:last-child{border-right:0}.countdown b{display:block;font:400 clamp(28px,5vw,42px) Georgia,serif;color:#9d7582}.countdown span{font-size:9px;letter-spacing:.14em;color:#a49197}.side-sprig{position:absolute;width:115px;opacity:.5}.side-sprig--left{left:-20px;top:28px;transform:rotate(-14deg)}.side-sprig--right{right:-24px;top:28px;transform:rotate(13deg)}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;max-width:720px;margin:45px auto 0;text-align:left}.story-photo{aspect-ratio:4/5;position:relative;padding:12px}.story-photo:before,.story-photo:after{content:"";position:absolute;inset:0;border:1px solid var(--line);border-radius:50% 48% 53% 49%;transform:rotate(4deg)}.story-photo:after{inset:7px -4px -2px 7px;transform:rotate(-5deg)}.story-photo img{width:100%;height:100%;object-fit:cover;position:relative;z-index:2;border-radius:50% 48% 52% 49%}.story-copy p{font:300 14px/1.9 Georgia,serif;color:#817278}.signature{font-size:28px;margin-top:20px}.schedule{background:#fff;padding-top:88px;padding-bottom:0;min-height:820px;display:flex;flex-direction:column;align-items:center}.schedule-menu-mark{font-size:42px;line-height:.9;margin:0 0 54px;color:var(--accent)}.schedule-menu-mark small{display:block;margin-top:7px;font:400 9px/1.2 Arial,sans-serif;letter-spacing:.12em;color:#b39aa2}.schedule-menu{width:min(100%,440px);margin:0 auto}.schedule-menu article{margin:0 0 34px;text-align:center}.schedule-menu h3{font-size:31px;line-height:1;margin:0 0 5px;color:var(--accent);font-weight:400}.schedule-menu time{display:block;margin-bottom:7px;font:400 9px/1.2 Arial,sans-serif;letter-spacing:.18em;color:#b59ca4}.schedule-menu p{margin:0;font:300 11px/1.55 Georgia,serif;color:#9a898f}.schedule-couple{font-size:31px;line-height:1;margin:5px 0 4px;color:var(--accent)}.schedule-botanical{display:block;width:150px;height:240px;object-fit:contain;object-position:bottom center;margin:auto auto 0;opacity:.78}.location-card{max-width:600px;margin:42px auto 0;padding:42px 30px;border:1px solid var(--line);position:relative}.place-no{position:absolute;top:14px;left:18px;font:11px Georgia,serif;color:#c7afb7}.location-card h3{font:400 28px Georgia,serif;margin:0 0 10px;color:#8e6d78}.location-card p{font:300 13px/1.7 Georgia,serif;color:#8d7d83}.actions{display:flex;justify-content:center;gap:10px;margin-top:24px;flex-wrap:wrap}.actions a,.rsvp button{border:1px solid #cba8b3;background:transparent;color:#9c7180;text-decoration:none;padding:12px 18px;font-size:10px;letter-spacing:.13em;text-transform:uppercase;transition:.25s}.actions a:hover,.rsvp button:hover{background:#b98b99;color:#fff;border-color:#b98b99}.dress{background:var(--soft)}.palette{display:flex;justify-content:center;gap:14px;margin-top:35px}.palette span{width:46px;height:46px;border-radius:50%;background:var(--c);box-shadow:0 0 0 5px rgba(255,255,255,.55)}
.gallery-grid{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:220px 220px;gap:10px;max-width:690px;margin:42px auto 0}.gallery-grid figure{margin:0;overflow:hidden}.gallery-grid img{width:100%;height:100%;object-fit:cover;filter:saturate(.8) sepia(.08)}.g1{grid-row:1/3}.g2 img{object-position:center 25%}.g3 img{object-position:center 65%}.details{padding-bottom:0}.menu-list{max-width:520px;margin:45px auto 0}.menu-list article{padding:24px 0;border-bottom:1px solid var(--line)}.menu-list h3{font-size:29px;margin:0 0 8px}.menu-list p{margin:0;font:300 12px/1.75 Georgia,serif;color:#9b8b90}.couple-mark{font-size:31px;margin-top:48px}.bottom-botanical{width:115px;height:200px;object-fit:contain;object-position:bottom;margin:8px auto 0;display:block}.contacts{background:linear-gradient(180deg,#fff,var(--soft))}.contact-row{max-width:520px;margin:auto;padding:18px 4px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;align-items:center;text-align:left}.contact-row div{display:flex;flex-direction:column}.contact-row b{font:400 18px Georgia,serif}.contact-row span{font-size:9px;text-transform:uppercase;letter-spacing:.15em;color:#a49398}.contact-row a{color:#9a7782;text-decoration:none;font-size:12px}.rsvp form{max-width:560px;margin:38px auto 0;text-align:left}.rsvp label,.rsvp legend{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#8b747c}.rsvp input[type=text],.rsvp textarea{width:100%;margin:8px 0 20px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;outline:none;color:var(--ink);font:300 14px Georgia,serif}.rsvp fieldset{border:0;padding:0;margin:0 0 22px}.rsvp legend{margin-bottom:10px}.choice{display:flex;align-items:center;gap:9px;margin:8px 0;text-transform:none!important;letter-spacing:0!important;font-size:12px!important}.choice input{accent-color:#b88b99}.rsvp button{width:100%;cursor:pointer;padding:15px}.form-note{text-align:center;color:#8f7280;font:italic 13px Georgia,serif;min-height:18px}.footer{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:60px;background:#fff;text-align:center}.footer-mark{width:160px;height:160px;object-fit:contain;opacity:.58;margin-bottom:18px}.footer .script{font-size:35px}.footer span{font-size:9px;letter-spacing:.23em;color:#ae969d}.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s ease}.reveal.show{opacity:1;transform:none}
@media (max-width:620px){.page-shell{box-shadow:none}.section{padding:76px 22px}.hero{padding:100px 20px 50px;min-height:100svh}.leaf{width:118px}.hero-save{margin-top:30px}.portrait-wrap{width:min(330px,82vw)}.intro{padding-top:90px}.mini-mark{margin-bottom:58px}.story-grid{grid-template-columns:1fr;text-align:center;gap:28px}.story-photo{width:min(300px,82vw);margin:auto}.countdown{gap:0}.countdown b{font-size:28px}.countdown span{font-size:7px}.schedule{min-height:720px;padding-top:72px}.schedule-menu-mark{font-size:38px;margin-bottom:46px}.schedule-menu article{margin-bottom:29px}.schedule-menu h3{font-size:28px}.schedule-menu p{font-size:10px}.schedule-botanical{width:135px;height:215px}.gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:260px 145px}.g1{grid-column:1/3;grid-row:1}.g2{grid-row:2}.g3{grid-row:2}.palette{gap:9px}.palette span{width:39px;height:39px}.contact-row{align-items:flex-start;flex-direction:column;gap:7px}.footer{min-height:360px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}


/* HERO rebuilt to match supplied reference */
.hero{
  min-height:100svh;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:36px 0 0!important;
  overflow:hidden;
  background:#fffdfd;
}
.hero .hero-portrait{
  width:290px;
  max-width:64vw;
  flex:0 0 auto;
  margin:0 auto;
}
.hero .portrait{inset:7.5%;box-shadow:none;border:0}
.hero .portrait img{object-position:center 42%}
.hero .orbit{border-color:rgba(255,255,255,.98);border-width:1.45px;z-index:3;pointer-events:none}
.hero .orbit--1{inset:2% 6% 7% 2%;transform:rotate(8deg)}
.hero .orbit--2{inset:5% 1% 2% 5%;transform:rotate(-11deg)}
.hero .orbit--3{inset:1% 4% 5% 4%;transform:rotate(17deg)}
.hero-copy{
  width:78%;
  max-width:720px;
  margin:20px auto 0;
  text-align:left;
  position:relative;
  z-index:4;
}
.hero .hero-save{
  margin:0 0 22px;
  font-family:Montserrat,Arial,sans-serif;
  font-size:12px;
  line-height:1;
  letter-spacing:.03em;
  font-weight:300;
  color:#b18491;
  text-transform:uppercase;
}
.hero .hero-names{
  margin:0 0 20px;
  font-family:"kraM","Cormorant Garamond",Georgia,serif!important;
  font-size:58px;
  font-weight:400!important;
  line-height:.9;
  letter-spacing:-.045em;
  color:#b98796;
  white-space:nowrap;
}
.hero-date-main{
  margin:0 0 5px;
  color:#b18491;
  font-size:20px;
  font-weight:600;
  letter-spacing:.01em;
}
.hero .hero-place{
  margin:0;
  color:#9d8c92;
  font-size:8px;
  line-height:1.35;
  letter-spacing:.02em;
}
.hero-reservation{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#8f7f85;
  font-size:8px;
  line-height:1.25;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.hero-reservation a{color:inherit;text-decoration:none}
.hero-botanical{
  position:absolute;
  right:34px;
  bottom:-8px;
  width:300px;
  max-width:42vw;
  height:auto;
  opacity:.72;
  transform:none;
  transform-origin:100% 100%;
  pointer-events:none;
  z-index:2;
}
.hero .leaf,.hero .scroll-cue,.hero .hero-date{display:none!important}

@media (max-width:620px){
  .hero{
    min-height:100svh;
    padding:34px 0 0!important;
  }
  .hero .hero-portrait{width:67vw;max-width:205px}
  .hero-copy{width:79%;max-width:none;margin-top:22px}
  .hero .hero-save{font-size:10px;margin-bottom:21px}
  .hero .hero-names{font-size:43px;line-height:.92;margin-bottom:20px;letter-spacing:-.05em}
  .hero-date-main{font-size:17px}
  .hero .hero-place{font-size:6.8px}
  .hero-reservation{font-size:6.8px;margin-top:17px}
  .hero-botanical{width:68vw;max-width:205px;right:-1vw;bottom:-4px;opacity:.72}
}
@media (max-width:330px){
  .hero{padding-top:32px!important}
  .hero .hero-portrait{width:67vw;max-width:190px}
  .hero-copy{margin-top:21px;width:79%}
  .hero .hero-save{font-size:9.5px;margin-bottom:20px}
  .hero .hero-names{font-size:40px;margin-bottom:18px}
  .hero-date-main{font-size:16px}
  .hero-botanical{width:69vw;right:-2vw}
}

/* ===== Global botanical background + 3 themes ===== */
:root{
  --bg:#fffafc;--paper:#fffdfd;--ink:#5f5357;--muted:#a18f95;--accent:#b48292;--accent2:#d8b8c1;--line:#eadde1;--soft:#f8f1f3;
  --wash-1:rgba(218,187,198,.26);--wash-2:rgba(244,228,233,.58);--wash-3:rgba(184,130,146,.09);
}
body[data-theme="rose"]{
  --bg:#fbf4f7;--paper:#fffafc;--ink:#615257;--muted:#9f8d93;--accent:#b47f90;--accent2:#d8b5c0;--line:#ead8de;--soft:#f6ecef;
  --wash-1:rgba(205,158,176,.28);--wash-2:rgba(249,228,235,.68);--wash-3:rgba(168,111,131,.10);
}
body[data-theme="sage"]{
  --bg:#f4f6f0;--paper:#fcfdf9;--ink:#51594e;--muted:#8b9588;--accent:#7f9279;--accent2:#b8c5ae;--line:#dfe5da;--soft:#eef2e9;
  --wash-1:rgba(158,177,145,.25);--wash-2:rgba(229,236,221,.72);--wash-3:rgba(105,126,97,.10);
}
body[data-theme="champagne"]{
  --bg:#f8f3ec;--paper:#fffdf8;--ink:#665c52;--muted:#9f9387;--accent:#b39479;--accent2:#d8c1aa;--line:#eadfd2;--soft:#f4ede3;
  --wash-1:rgba(201,174,145,.25);--wash-2:rgba(246,235,220,.72);--wash-3:rgba(155,124,92,.10);
}
body{
  background:
    radial-gradient(900px 620px at -10% 8%,var(--wash-1),transparent 65%),
    radial-gradient(820px 620px at 110% 31%,var(--wash-2),transparent 64%),
    radial-gradient(900px 650px at -8% 70%,var(--wash-3),transparent 62%),
    linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--bg) 82%,#fff 18%));
  background-attachment:fixed;
  transition:background .35s ease,color .35s ease;
}
.page-shell{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 18%,transparent),0 30px 90px rgba(74,48,58,.07);
}
.page-shell:before,.page-shell:after{
  content:"";position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(1px)
}
.page-shell:before{width:460px;height:460px;left:calc(50% - 700px);top:18vh;background:radial-gradient(circle,var(--wash-1),transparent 68%)}
.page-shell:after{width:520px;height:520px;right:calc(50% - 730px);top:58vh;background:radial-gradient(circle,var(--wash-2),transparent 68%)}
.section,.hero,.footer,.schedule{background:transparent!important}
.timer,.contacts{background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--soft) 58%,transparent),transparent)!important}
.dress{background:color-mix(in srgb,var(--soft) 72%,transparent)!important}

.theme-switcher{position:fixed;right:18px;top:18px;z-index:50;display:flex;gap:8px;padding:8px 9px;border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);background:rgba(255,255,255,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:999px;box-shadow:0 8px 28px rgba(70,50,58,.08)}
.theme-dot{appearance:none;border:0;width:18px;height:18px;border-radius:50%;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(80,60,68,.12);transition:transform .2s ease,box-shadow .2s ease}
.theme-dot:hover{transform:scale(1.1)}
.theme-dot.is-active{box-shadow:0 0 0 2px #fff,0 0 0 3px currentColor}
.theme-dot[data-theme-set="rose"]{background:#b98293;color:#b98293}
.theme-dot[data-theme-set="sage"]{background:#87967d;color:#87967d}
.theme-dot[data-theme-set="champagne"]{background:#b99b7e;color:#b99b7e}

/* slightly larger hero while keeping reference proportions */
.hero{padding-top:46px!important;min-height:100svh}
.hero .hero-portrait{width:350px;max-width:68vw}
.hero-copy{width:80%;max-width:760px;margin-top:26px}
.hero .hero-save{font-size:13px;margin-bottom:24px;color:var(--accent)}
.hero .hero-names{font-size:68px;color:var(--accent)}
.hero-date-main{font-size:22px;color:var(--accent)}
.hero .hero-place,.hero-reservation{color:var(--muted)}
.hero-botanical{width:340px;max-width:44vw;opacity:.68;filter:saturate(.82)}
.script,.schedule-menu-mark,.schedule-menu h3,.schedule-couple,.hero .hero-names{color:var(--accent)!important}
.eyebrow{color:color-mix(in srgb,var(--accent) 86%,#7c6a70 14%)}
.actions a,.rsvp button{border-color:color-mix(in srgb,var(--accent) 66%,#fff);color:var(--accent)}
.actions a:hover,.rsvp button:hover{background:var(--accent);border-color:var(--accent)}
.choice input{accent-color:var(--accent)}

@media (max-width:620px){
  .theme-switcher{right:12px;top:12px;padding:7px 8px;gap:7px}.theme-dot{width:16px;height:16px}
  .hero{padding-top:38px!important}
  .hero .hero-portrait{width:74vw;max-width:235px}
  .hero-copy{width:80%;margin-top:24px}
  .hero .hero-save{font-size:10px;margin-bottom:22px}
  .hero .hero-names{font-size:48px;margin-bottom:21px}
  .hero-date-main{font-size:18px}
  .hero-botanical{width:72vw;max-width:225px}
}

/* Unified full-page background: remove the white central sheet */
.page-shell{
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}
.page-shell:before,.page-shell:after{display:none!important}
main,.section,.hero,.footer,.schedule{background:transparent!important}
.timer,.contacts,.dress{background:transparent!important}

/* Larger typography + elegant thin invitation side frame */
.page-shell{position:relative!important}
.page-shell::before,.page-shell::after{display:block!important;content:""!important;position:fixed!important;top:0!important;bottom:0!important;width:1px!important;height:auto!important;border-radius:0!important;background:color-mix(in srgb,var(--accent) 48%,transparent)!important;z-index:30!important;pointer-events:none!important;filter:none!important}
.page-shell::before{left:max(0px,calc(50% - 460px))!important}
.page-shell::after{right:max(0px,calc(50% - 460px))!important}

.eyebrow{font-size:12px;letter-spacing:.20em}
.section h1,.section h2{font-size:clamp(40px,7.5vw,64px)}
.lead{font-size:17px;line-height:1.85;max-width:570px}
.lead.small{font-size:15px;max-width:520px}
.story-copy p{font-size:17px;line-height:1.85}
.schedule-menu h3{font-size:36px}
.schedule-menu time{font-size:11px}
.schedule-menu p{font-size:14px;line-height:1.6}
.location-card h3{font-size:32px}.location-card p{font-size:15px}
.menu-list h3{font-size:34px}.menu-list p{font-size:15px;line-height:1.75}
.contact-row b{font-size:21px}.contact-row span{font-size:10px}.contact-row a{font-size:14px}
.rsvp label,.rsvp legend{font-size:11px}.rsvp input[type=text],.rsvp textarea{font-size:16px}.choice{font-size:14px!important}
.footer .script{font-size:42px}.footer span{font-size:11px}

@media (max-width:620px){
 .page-shell::before{left:5px!important}.page-shell::after{right:5px!important}
 .section{padding-left:28px;padding-right:28px}
 .eyebrow{font-size:11px}.section h1,.section h2{font-size:clamp(38px,12vw,52px)}
 .lead{font-size:15px;line-height:1.8}.lead.small{font-size:14px}
 .story-copy p{font-size:15px}.schedule-menu h3{font-size:32px}.schedule-menu time{font-size:10px}.schedule-menu p{font-size:12.5px}
 .menu-list p{font-size:13.5px}.location-card p{font-size:14px}
}

/* ===== HERO compact layout fix: no empty vertical desert ===== */
.hero{
  min-height:0!important;
  height:auto!important;
  padding:54px 0 72px!important;
  justify-content:flex-start!important;
  overflow:hidden;
}
.hero .hero-portrait{
  width:390px!important;
  max-width:58vw!important;
  flex:0 0 auto;
}
.hero-copy{
  width:min(78%,720px)!important;
  margin-top:24px!important;
  position:relative;
  z-index:4;
}
.hero .hero-save{margin:0 0 22px!important;font-size:13px!important}
.hero .hero-names{font-size:72px!important;line-height:.94!important;margin:0 0 20px!important}
.hero-date-main{font-size:23px!important;line-height:1.05!important;margin-bottom:8px!important}
.hero .hero-place{font-size:9px!important;line-height:1.42!important}
.hero-reservation{font-size:9px!important;line-height:1.42!important;margin-top:17px!important}
.hero-botanical{
  width:310px!important;
  max-width:35vw!important;
  right:0!important;
  bottom:-20px!important;
}

@media (max-width:620px){
  .hero{
    min-height:0!important;
    height:auto!important;
    padding:28px 0 54px!important;
  }
  .hero .hero-portrait{
    width:min(74vw,270px)!important;
    max-width:none!important;
  }
  .hero-copy{
    width:82%!important;
    margin-top:20px!important;
    padding-bottom:104px;
  }
  .hero .hero-save{font-size:11px!important;margin-bottom:18px!important}
  .hero .hero-names{font-size:48px!important;line-height:.94!important;margin-bottom:18px!important;white-space:nowrap}
  .hero-date-main{font-size:19px!important;margin-bottom:7px!important}
  .hero .hero-place,.hero-reservation{font-size:7.6px!important;line-height:1.42!important}
  .hero-reservation{margin-top:15px!important}
  .hero-botanical{
    width:54vw!important;
    max-width:210px!important;
    right:-7px!important;
    bottom:-7px!important;
  }
}
@media (max-width:360px){
  .hero .hero-portrait{width:min(76vw,250px)!important}
  .hero-copy{width:84%!important;padding-bottom:96px}
  .hero .hero-names{font-size:44px!important}
  .hero-botanical{width:56vw!important;max-width:195px!important}
}

/* ===== Readability pass: larger type across the whole invitation ===== */
body{font-size:18px;line-height:1.65}
.section{padding-top:86px;padding-bottom:86px}
.eyebrow{font-size:14px!important;letter-spacing:.16em!important;margin-bottom:16px!important}
.section h1,.section h2{font-size:clamp(48px,7vw,72px)!important;line-height:1.02!important;margin-bottom:24px!important}
.lead{font-size:20px!important;line-height:1.75!important;max-width:620px!important}
.lead.small{font-size:18px!important;max-width:590px!important}
.mini-mark{font-size:46px!important}.mini-mark small{font-size:11px!important}
.date-card span{font-size:12px!important}.date-card b{font-size:58px!important}.year{font-size:15px!important}
.countdown b{font-size:48px!important}.countdown span{font-size:11px!important}
.story-copy p{font-size:19px!important;line-height:1.8!important}.signature{font-size:36px!important}
.schedule-menu-mark{font-size:52px!important}.schedule-menu-mark small{font-size:11px!important}
.schedule-menu{width:min(100%,520px)!important}.schedule-menu article{margin-bottom:40px!important}
.schedule-menu h3{font-size:42px!important}.schedule-menu time{font-size:13px!important}.schedule-menu p{font-size:17px!important;line-height:1.62!important}
.schedule-couple{font-size:38px!important}
.location-card{max-width:650px!important;padding:46px 34px!important}.location-card h3{font-size:36px!important}.location-card p{font-size:18px!important;line-height:1.7!important}.place-no{font-size:13px!important}
.actions a,.rsvp button{font-size:12px!important;padding:15px 22px!important}
.palette span{width:52px!important;height:52px!important}
.menu-list{max-width:590px!important}.menu-list h3{font-size:39px!important}.menu-list p{font-size:18px!important;line-height:1.75!important}
.couple-mark{font-size:38px!important}
.contact-row{max-width:590px!important;padding:22px 4px!important}.contact-row b{font-size:24px!important}.contact-row span{font-size:11px!important}.contact-row a{font-size:17px!important}
.rsvp form{max-width:610px!important}.rsvp label,.rsvp legend{font-size:13px!important}.rsvp input[type=text],.rsvp textarea{font-size:18px!important;padding:16px 0!important}.choice{font-size:16px!important}.form-note{font-size:15px!important}
.footer .script{font-size:48px!important}.footer span{font-size:12px!important}

/* hero information should be readable too */
.hero .hero-save{font-size:15px!important}
.hero .hero-names{font-size:78px!important}
.hero-date-main{font-size:26px!important}
.hero .hero-place,.hero-reservation{font-size:11px!important;line-height:1.5!important}

@media (max-width:620px){
  body{font-size:17px}
  .section{padding:68px 26px!important}
  .eyebrow{font-size:12.5px!important;letter-spacing:.14em!important}
  .section h1,.section h2{font-size:clamp(42px,13vw,58px)!important;margin-bottom:20px!important}
  .lead{font-size:18px!important;line-height:1.72!important}.lead.small{font-size:17px!important}
  .mini-mark{font-size:42px!important}.mini-mark small{font-size:10px!important}
  .date-card{gap:12px!important}.date-card span{font-size:10.5px!important}.date-card b{font-size:48px!important;padding:0 14px!important}.year{font-size:14px!important}
  .countdown{margin-top:34px!important;padding:20px 0!important}.countdown b{font-size:34px!important}.countdown span{font-size:9px!important}
  .story-copy p{font-size:17px!important;line-height:1.75!important}.signature{font-size:34px!important}
  .schedule{padding-top:66px!important}.schedule-menu-mark{font-size:46px!important;margin-bottom:42px!important}.schedule-menu h3{font-size:37px!important}.schedule-menu time{font-size:11.5px!important}.schedule-menu p{font-size:15.5px!important;line-height:1.6!important}
  .location-card{padding:38px 22px!important}.location-card h3{font-size:31px!important}.location-card p{font-size:16.5px!important}.place-no{font-size:12px!important}
  .actions a,.rsvp button{font-size:11px!important;padding:14px 17px!important}
  .palette span{width:44px!important;height:44px!important}
  .menu-list h3{font-size:34px!important}.menu-list p{font-size:16.5px!important;line-height:1.7!important}
  .contact-row b{font-size:22px!important}.contact-row span{font-size:10px!important}.contact-row a{font-size:16px!important}
  .rsvp label,.rsvp legend{font-size:12px!important}.rsvp input[type=text],.rsvp textarea{font-size:17px!important}.choice{font-size:15px!important}
  .footer .script{font-size:43px!important}.footer span{font-size:11px!important}
  .hero .hero-save{font-size:12.5px!important}
  .hero .hero-names{font-size:52px!important}
  .hero-date-main{font-size:21px!important}
  .hero .hero-place,.hero-reservation{font-size:9px!important}
}


/* ===== LOCATION: ceremony + banquet with photos ===== */
.location-grid{
  width:min(100%,760px);
  margin:44px auto 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.location-grid .location-card{
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);
  background:color-mix(in srgb,var(--bg) 74%,transparent);
  text-align:left;
}
.location-photo{position:relative;aspect-ratio:4/3;overflow:hidden}
.location-photo img{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.78) sepia(.05);transition:transform .55s ease}
.location-card:hover .location-photo img{transform:scale(1.035)}
.location-photo .place-no{
  top:14px;left:14px;width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.86);
  color:var(--accent);font-size:11px;backdrop-filter:blur(5px);
}
.location-body{padding:26px 24px 28px}
.location-type{margin:0 0 8px!important;font:500 11px/1.2 Arial,sans-serif!important;letter-spacing:.20em!important;color:var(--accent)!important}
.location-grid .location-card h3{margin:0 0 10px;font-size:30px}
.location-grid .location-card p{margin:0 0 8px;font-size:15px;line-height:1.65}
.location-grid .location-time{color:var(--accent)!important;font-size:13px!important;margin-top:9px!important}
.location-grid .actions{justify-content:flex-start;margin-top:20px}
.location-grid .actions a{padding:11px 14px;font-size:9px}
@media(max-width:620px){
  .location-grid{grid-template-columns:1fr;gap:24px;margin-top:34px}
  .location-grid .location-card{width:100%}
  .location-photo{aspect-ratio:16/10}
  .location-body{padding:22px 20px 24px}
  .location-grid .location-card h3{font-size:30px}
  .location-grid .location-card p{font-size:15px}
  .location-grid .location-time{font-size:13px!important}
  .location-grid .actions{gap:8px}
  .location-grid .actions a{flex:1;text-align:center;padding:12px 8px;font-size:9px}
}


/* ===== LOCATION REDESIGN: compact editorial cards ===== */
.location{padding-bottom:72px!important}
.location-grid{
  width:min(100%,820px)!important;
  margin:34px auto 0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
.location-grid .location-card{
  width:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(250px,42%) 1fr!important;
  align-items:stretch!important;
  border:1px solid color-mix(in srgb,var(--accent) 27%,transparent)!important;
  background:color-mix(in srgb,var(--bg) 58%,transparent)!important;
  box-shadow:none!important;
}
.location-grid .location-photo{
  aspect-ratio:auto!important;
  min-height:250px!important;
}
.location-grid .location-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.location-grid .location-photo .place-no{display:none!important}
.location-grid .location-body{
  padding:32px 34px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.location-grid .location-type{font-size:10px!important;letter-spacing:.24em!important;margin:0 0 9px!important}
.location-grid .location-card h3{font-size:34px!important;line-height:1.08!important;margin:0 0 12px!important}
.location-grid .location-card p{font-size:15px!important;line-height:1.55!important;margin:0 0 7px!important;max-width:330px}
.location-grid .location-time{font-size:13px!important;margin:4px 0 0!important}
.location-grid .actions{margin-top:17px!important;justify-content:flex-start!important}
.location-grid .actions a{border:0!important;border-bottom:1px solid color-mix(in srgb,var(--accent) 55%,transparent)!important;padding:5px 0!important;font-size:10px!important;letter-spacing:.14em!important;background:transparent!important}
.location-grid .actions a:hover{color:var(--accent)!important;background:transparent!important;border-color:var(--accent)!important}
@media(max-width:620px){
  .location{padding-bottom:54px!important}
  .location-grid{gap:16px!important;margin-top:28px!important}
  .location-grid .location-card{display:block!important}
  .location-grid .location-photo{min-height:0!important;aspect-ratio:16/9!important}
  .location-grid .location-photo img{position:static!important}
  .location-grid .location-body{padding:21px 20px 23px!important}
  .location-grid .location-card h3{font-size:29px!important;margin-bottom:9px!important}
  .location-grid .location-card p{font-size:15px!important;line-height:1.5!important;margin-bottom:5px!important}
  .location-grid .location-time{font-size:13px!important}
  .location-grid .actions{margin-top:13px!important}
}

/* ===== 2026-09-01: larger hero portrait on phones ===== */
@media (max-width:620px){
  .hero .hero-portrait{
    width:min(88vw,330px)!important;
    max-width:none!important;
  }
}
@media (max-width:360px){
  .hero .hero-portrait{
    width:min(88vw,305px)!important;
  }
}
/* production integration */
html[data-theme="rose"] body{--bg:#f8eeee;--soft:#f3e4e7;--ink:#705f65;--muted:#917d84;--accent:#b98293;--accent2:#d8b9c1;--line:rgba(185,130,147,.28)}
html[data-theme="sage"] body{--bg:#f2f4ee;--soft:#e7ede3;--ink:#5f685b;--muted:#7c8677;--accent:#87967d;--accent2:#cbd6c4;--line:rgba(135,150,125,.28)}
html[data-theme="champagne"] body{--bg:#f6f0e8;--soft:#eee4d7;--ink:#6e6258;--muted:#8c7c6f;--accent:#b99b7e;--accent2:#ddcbb8;--line:rgba(185,155,126,.28)}
html[data-theme="lavender"] body{--bg:#f5f1f6;--soft:#ebe4ee;--ink:#675d6c;--muted:#887d8d;--accent:#9b819f;--accent2:#cbb9cf;--line:rgba(155,129,159,.28)}
html[data-theme="dusty-blue"] body{--bg:#f0f4f5;--soft:#e2eaec;--ink:#58666b;--muted:#76868c;--accent:#7f9aa1;--accent2:#b7c9ce;--line:rgba(127,154,161,.28)}
html[data-theme="terracotta"] body{--bg:#f7efea;--soft:#efdfd6;--ink:#725d54;--muted:#927b70;--accent:#b77963;--accent2:#d8ae9d;--line:rgba(183,121,99,.28)}
html[data-theme="peach"] body{--bg:#fbf1ec;--soft:#f3dfd4;--ink:#745f58;--muted:#947d74;--accent:#c58470;--accent2:#e0b9aa;--line:rgba(197,132,112,.28)}
html[data-theme="olive"] body{--bg:#f3f2e9;--soft:#e7e5d4;--ink:#626254;--muted:#838273;--accent:#8f8e68;--accent2:#c6c4a5;--line:rgba(143,142,104,.28)}
body,.page-shell,.section,.schedule,.dress,.gallery,.details,.contacts,.rsvp,.footer{background-color:transparent!important}
.page-shell{width:min(100%,980px);margin:0 auto;border-left:1px solid var(--line);border-right:1px solid var(--line);overflow:hidden}
body{background:var(--bg)!important;color:var(--ink)}
.hero .portrait img{object-position:var(--hero-focus,50% 50%)}
.iviImgPh{width:100%;height:100%;display:grid;place-items:center;background:rgba(255,255,255,.28);color:var(--muted)}.iviImgPhInner{text-align:center}.iviImgPhIcon{font-size:34px}.iviImgPhTxt{font:500 10px/1.3 Montserrat,sans-serif;letter-spacing:.12em;text-transform:uppercase;margin-top:8px}
.shared-block{padding-top:72px!important;padding-bottom:72px!important}.shared-inner{width:min(100%,820px);margin:auto}.shared-inner h2,.shared-inner h3{font-family:"Cormorant Garamond",serif;color:var(--accent)}.shared-inner p,.shared-inner label,.shared-inner input,.shared-inner textarea,.shared-inner button,.shared-inner a{font-size:16px;line-height:1.65}.shared-inner input,.shared-inner textarea,.shared-inner select{max-width:100%}
.shared-inner button,.shared-inner .btn,.shared-inner a[class*="Btn"]{border-color:var(--accent)!important;color:var(--accent)!important}
@media(max-width:620px){.page-shell{width:100%;border-left-color:var(--line);border-right-color:var(--line)}.shared-block{padding:52px 18px!important}.shared-inner p,.shared-inner label,.shared-inner input,.shared-inner textarea,.shared-inner button,.shared-inner a{font-size:16px}.hero{padding-top:38px!important}.hero .hero-portrait{width:min(91vw,350px)!important}}

/* ===== 2026-09-01: hero mobile alignment + single side frame ===== */
/* Keep only ONE thin vertical frame line on each side. */
.page-shell{
  border-left:0!important;
  border-right:0!important;
}
.page-shell::before,
.page-shell::after{
  width:1px!important;
  background:color-mix(in srgb,var(--accent) 42%,transparent)!important;
}
.page-shell::before{left:max(0px,calc(50% - 490px))!important}
.page-shell::after{right:max(0px,calc(50% - 490px))!important}

@media (max-width:620px){
  .page-shell::before{left:1px!important}
  .page-shell::after{right:1px!important}

  .hero{
    padding:28px 0 46px!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  .hero .hero-portrait{
    width:min(88vw,340px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  .hero-copy{
    width:calc(100% - 48px)!important;
    max-width:none!important;
    margin:24px auto 0!important;
    padding:0 0 98px!important;
    text-align:left!important;
    overflow:visible!important;
  }
  .hero .hero-save{
    font-size:12px!important;
    margin:0 0 16px!important;
    letter-spacing:.06em!important;
  }
  .hero .hero-names{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 16px!important;
    font-size:clamp(35px,11.2vw,46px)!important;
    line-height:.98!important;
    letter-spacing:-.035em!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  .hero-date-main{
    font-size:21px!important;
    margin:0 0 7px!important;
  }
  .hero .hero-place,
  .hero-reservation{
    max-width:88%!important;
    font-size:9.5px!important;
    line-height:1.45!important;
  }
  .hero-botanical{
    width:min(56vw,205px)!important;
    max-width:none!important;
    right:-8px!important;
    bottom:-4px!important;
  }
}

@media (max-width:360px){
  .hero .hero-portrait{width:min(87vw,310px)!important}
  .hero-copy{width:calc(100% - 42px)!important;padding-bottom:90px!important}
  .hero .hero-names{font-size:clamp(33px,10.7vw,39px)!important;letter-spacing:-.045em!important}
  .hero-botanical{width:min(58vw,190px)!important}
}

/* === AKVARELNAYA NEZHNOST: dress-code palette fix === */
.akDress{text-align:center!important;background:transparent!important}
.akDress .akDressTitle{margin:8px auto 0;color:var(--accent);font-size:clamp(38px,5vw,62px);font-weight:400;line-height:1.05}
.akDress .akDressText{max-width:620px;margin:20px auto 0}
.akDressPalette{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin:34px auto 0;max-width:680px}
.akDressDot{display:block;width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:var(--dc-color)!important;border:5px solid rgba(255,255,255,.68);box-shadow:0 0 0 1px color-mix(in srgb,var(--ink) 24%,transparent),0 6px 18px rgba(83,57,66,.08)}
@media (max-width:620px){.akDress .akDressTitle{font-size:42px}.akDressPalette{gap:10px;margin-top:28px}.akDressDot{width:44px;height:44px;flex-basis:44px;border-width:4px}}
@media (max-width:360px){.akDressDot{width:40px;height:40px;flex-basis:40px}.akDressPalette{gap:8px}}

/* ======================================================================
   2026-09-02 — production polish for shared blocks
   RSVP / DETAILS / CONTACTS / LOCATION / SCHEDULE
   Styles are intentionally scoped to this template and use !important
   where shared blocks inject their own inline CSS after the template CSS.
====================================================================== */

/* Shared section rhythm */
.shared-block.details,
.shared-block.contacts,
.shared-block.rsvp{
  padding-top:76px!important;
  padding-bottom:76px!important;
}
.shared-block.details .shared-inner,
.shared-block.contacts .shared-inner,
.shared-block.rsvp .shared-inner{
  width:min(100%,840px)!important;
}

/* ---------- DETAILS ---------- */
.details .le-details{
  width:100%!important;
  color:var(--ink)!important;
  background:transparent!important;
}
.details .le-details__header{
  width:min(100%,660px)!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}
.details .le-details__kicker{
  margin:0 0 12px!important;
  color:var(--accent)!important;
  font:500 12px/1.35 Montserrat,Arial,sans-serif!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.details .le-details__title{
  margin:0!important;
  color:var(--accent)!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(42px,5vw,62px)!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}
.details .le-details__text{
  width:min(100%,610px)!important;
  margin:16px auto 0!important;
  color:var(--muted)!important;
  font:400 16px/1.7 "Cormorant Garamond",Georgia,serif!important;
}
.details .le-details__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
.details .le-details__card{
  position:relative!important;
  min-width:0!important;
  min-height:220px!important;
  padding:28px 24px 24px!important;
  border:1px solid color-mix(in srgb,var(--accent) 27%,transparent)!important;
  border-radius:0!important;
  background:color-mix(in srgb,#fff 28%,transparent)!important;
  box-shadow:none!important;
  text-align:left!important;
  overflow:hidden!important;
}
.details .le-details__card::after{
  content:"";
  position:absolute;
  width:86px;
  height:86px;
  right:-36px;
  bottom:-36px;
  border:1px solid color-mix(in srgb,var(--accent) 18%,transparent);
  border-radius:50%;
  pointer-events:none;
}
.details .le-details__card-icon{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  margin:0 0 26px!important;
  border:1px solid color-mix(in srgb,var(--accent) 36%,transparent)!important;
  border-radius:50%!important;
  color:var(--accent)!important;
  background:color-mix(in srgb,#fff 38%,transparent)!important;
  font:500 10px/1 Montserrat,Arial,sans-serif!important;
  letter-spacing:.08em!important;
}
.details .le-details__card-icon img{width:19px!important;height:19px!important;object-fit:contain!important}
.details .le-details__provider{
  color:var(--accent)!important;
  font:500 10px/1.35 Montserrat,Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  margin:-12px 0 9px!important;
}
.details .le-details__card-title{
  margin:0 0 9px!important;
  color:var(--ink)!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:28px!important;
  font-weight:600!important;
  line-height:1.05!important;
}
.details .le-details__card-text{
  margin:0!important;
  color:var(--muted)!important;
  font:400 15px/1.6 "Cormorant Garamond",Georgia,serif!important;
}
.details .le-details__wishlist-button{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-top:18px!important;
  padding:0 0 5px!important;
  border:0!important;
  border-bottom:1px solid color-mix(in srgb,var(--accent) 50%,transparent)!important;
  border-radius:0!important;
  color:var(--accent)!important;
  background:transparent!important;
  font:500 10px/1.2 Montserrat,Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}

/* ---------- CONTACTS ---------- */
.contacts .ivi-contacts{
  width:100%!important;
  padding:0!important;
  color:var(--ink)!important;
  background:transparent!important;
  overflow:visible!important;
}
.contacts .ivi-contacts__inner{width:100%!important}
.contacts .ivi-contacts__head{
  width:min(100%,660px)!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}
.contacts .ivi-contacts__kicker{
  margin:0 0 12px!important;
  color:var(--accent)!important;
  font:500 12px/1.35 Montserrat,Arial,sans-serif!important;
  letter-spacing:.18em!important;
}
.contacts .ivi-contacts__title{
  margin:0!important;
  color:var(--accent)!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(42px,5vw,62px)!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}
.contacts .ivi-contacts__text{
  max-width:610px!important;
  margin:16px auto 0!important;
  color:var(--muted)!important;
  font:400 16px/1.7 "Cormorant Garamond",Georgia,serif!important;
}
.contacts .ivi-contacts__grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;
  gap:14px!important;
}
.contacts .ivi-contact{
  min-height:220px!important;
  padding:26px 22px!important;
  border:1px solid color-mix(in srgb,var(--accent) 27%,transparent)!important;
  border-radius:0!important;
  background:color-mix(in srgb,#fff 28%,transparent)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.contacts .ivi-contact__avatar{
  width:52px!important;
  height:52px!important;
  margin-bottom:16px!important;
  color:var(--accent)!important;
  background:transparent!important;
  border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)!important;
}
.contacts .ivi-contact__avatar svg{width:22px!important;height:22px!important}
.contacts .ivi-contact__name{
  color:var(--ink)!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:32px!important;
  font-weight:600!important;
}
.contacts .ivi-contact__role{
  margin-top:7px!important;
  color:var(--accent)!important;
  font:500 10px/1.4 Montserrat,Arial,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.contacts .ivi-contact__phone{
  margin-top:15px!important;
  color:var(--ink)!important;
  font:500 15px/1.4 Montserrat,Arial,sans-serif!important;
}
.contacts .ivi-contact__actions{gap:7px!important;padding-top:18px!important}
.contacts .ivi-contact__action{
  min-height:38px!important;
  padding:9px 12px!important;
  color:var(--accent)!important;
  background:transparent!important;
  border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)!important;
  border-radius:0!important;
  font:500 11px/1 Montserrat,Arial,sans-serif!important;
}
.contacts .ivi-contact__action:hover{
  transform:none!important;
  color:#fff!important;
  background:var(--accent)!important;
  border-color:var(--accent)!important;
}

/* ---------- RSVP / ANSWERS ---------- */
.rsvp .rsvpSection{width:100%!important;color:var(--ink)!important}
.rsvp .rsvpSection .rsvpSectionHead{
  width:min(100%,680px)!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}
.rsvp .rsvpSection .rsvpLabel{
  display:block!important;
  min-height:0!important;
  padding:0!important;
  margin:0 0 12px!important;
  border:0!important;
  border-radius:0!important;
  color:var(--accent)!important;
  font:500 12px/1.35 Montserrat,Arial,sans-serif!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.rsvp .rsvpSection .rsvpSectionHead h2{
  margin:0!important;
  color:var(--accent)!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(42px,5vw,62px)!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}
.rsvp .rsvpSection .rsvpSectionHead .rsvpHint{
  width:min(100%,610px)!important;
  margin:16px auto 0!important;
  color:var(--muted)!important;
  font:400 16px/1.7 "Cormorant Garamond",Georgia,serif!important;
  opacity:1!important;
}
.rsvp .rsvpSection .rsvpGrid{gap:0!important}
.rsvp .rsvpSection .rsvpFormCard{
  width:min(100%,720px)!important;
  padding:30px!important;
  border:1px solid color-mix(in srgb,var(--accent) 28%,transparent)!important;
  border-radius:0!important;
  background:color-mix(in srgb,#fff 31%,transparent)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.rsvp .rsvpSection #rsvpForm,
.rsvp .rsvpSection #rsvpAttendanceFields{gap:22px!important}
.rsvp .rsvpSection .row2{gap:14px!important}
.rsvp .rsvpSection .formRow{gap:9px!important}
.rsvp .rsvpSection .label{
  color:var(--ink)!important;
  font:500 13px/1.35 Montserrat,Arial,sans-serif!important;
}
.rsvp .rsvpSection .field{
  min-height:52px!important;
  padding:12px 14px!important;
  border:1px solid color-mix(in srgb,var(--accent) 27%,transparent)!important;
  border-radius:0!important;
  background:color-mix(in srgb,#fff 48%,transparent)!important;
  color:var(--ink)!important;
  font:400 15px/1.45 Montserrat,Arial,sans-serif!important;
}
.rsvp .rsvpSection textarea.field{min-height:108px!important}
.rsvp .rsvpSection .field:focus{
  border-color:var(--accent)!important;
  background:color-mix(in srgb,#fff 70%,transparent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 8%,transparent)!important;
}
.rsvp .rsvpSection .chips{gap:8px!important}
.rsvp .rsvpSection .chip{
  flex:1 1 145px!important;
  min-height:44px!important;
  padding:10px 14px!important;
  border:1px solid color-mix(in srgb,var(--accent) 30%,transparent)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ink)!important;
  font:500 12px/1.2 Montserrat,Arial,sans-serif!important;
}
.rsvp .rsvpSection .chip:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
}
.rsvp .rsvpSection .chip[data-active="true"],
.rsvp .rsvpSection .chip.is-active,
.rsvp .rsvpSection .chip.active{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#fff!important;
}
.rsvp .rsvpSection .rsvpTotal{
  min-height:34px!important;
  padding:0 11px!important;
  border:1px solid color-mix(in srgb,var(--accent) 24%,transparent)!important;
  border-radius:0!important;
  color:var(--muted)!important;
  font-size:12px!important;
}
.rsvp .rsvpSection .consent{
  grid-template-columns:19px minmax(0,1fr)!important;
  gap:11px!important;
  padding:14px!important;
  border:1px solid color-mix(in srgb,var(--accent) 22%,transparent)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--muted)!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.rsvp .rsvpSection .consent input{width:18px!important;height:18px!important;accent-color:var(--accent)!important}
.rsvp .rsvpSection .consent small{font-size:11px!important}
.rsvp .rsvpSection .btn.btn-full,
.rsvp .rsvpSection #rsvpForm button[type="submit"]{
  min-height:52px!important;
  padding:0 22px!important;
  border:1px solid var(--accent)!important;
  border-radius:0!important;
  background:var(--accent)!important;
  color:#fff!important;
  font:600 12px/1 Montserrat,Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  transition:background .2s ease,color .2s ease!important;
}
.rsvp .rsvpSection .btn.btn-full:hover,
.rsvp .rsvpSection #rsvpForm button[type="submit"]:hover{
  background:transparent!important;
  color:var(--accent)!important;
}

/* ---------- LOCATION: softer editorial treatment ---------- */
.location{padding-top:82px!important;padding-bottom:76px!important}
.location > .eyebrow{margin-bottom:12px!important}
.location > h2.script{margin-bottom:16px!important}
.location > .lead.small{margin-bottom:0!important}
.location-grid{
  width:min(100%,850px)!important;
  margin:38px auto 0!important;
  gap:16px!important;
}
.location-grid .location-card{
  grid-template-columns:minmax(260px,44%) 1fr!important;
  border:1px solid color-mix(in srgb,var(--accent) 26%,transparent)!important;
  background:color-mix(in srgb,#fff 24%,transparent)!important;
  overflow:hidden!important;
  transition:transform .25s ease,border-color .25s ease!important;
}
.location-grid .location-card:hover{
  transform:translateY(-2px)!important;
  border-color:color-mix(in srgb,var(--accent) 45%,transparent)!important;
}
.location-grid .location-photo{min-height:228px!important;background:color-mix(in srgb,var(--accent) 7%,transparent)!important}
.location-grid .location-photo::after{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(255,255,255,.62);
  pointer-events:none;
}
.location-grid .location-photo img{filter:saturate(.82) contrast(.98)!important}
.location-grid .location-body{padding:28px 32px!important}
.location-grid .location-type{
  margin:0 0 8px!important;
  color:var(--accent)!important;
  font:500 10px/1.3 Montserrat,Arial,sans-serif!important;
  letter-spacing:.2em!important;
}
.location-grid .location-card h3{
  margin:0 0 10px!important;
  color:var(--ink)!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:34px!important;
  font-weight:600!important;
  line-height:1.02!important;
}
.location-grid .location-card p{
  max-width:360px!important;
  margin:0 0 6px!important;
  color:var(--muted)!important;
  font:400 15px/1.55 "Cormorant Garamond",Georgia,serif!important;
}
.location-grid .location-time{
  margin-top:7px!important;
  color:var(--accent)!important;
  font-size:14px!important;
}
.location-grid .actions{margin-top:16px!important}
.location-grid .actions a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:0 0 5px!important;
  border:0!important;
  border-bottom:1px solid color-mix(in srgb,var(--accent) 55%,transparent)!important;
  color:var(--accent)!important;
  font:500 10px/1.2 Montserrat,Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
.location-grid .location-card--no-photo{
  display:block!important;
  width:min(100%,680px)!important;
  margin-inline:auto!important;
}
.location-grid .location-card--no-photo .location-body{
  min-height:190px!important;
  padding:30px 34px!important;
  text-align:center!important;
  align-items:center!important;
}
.location-grid .location-card--no-photo .location-body p{margin-inline:auto!important}
.location-grid .location-card--no-photo .actions{justify-content:center!important}

/* ---------- PROGRAM: cleaner and tighter ---------- */
.schedule{
  min-height:0!important;
  padding-top:78px!important;
  padding-bottom:26px!important;
  background:transparent!important;
}
.schedule-menu-mark{
  margin-bottom:36px!important;
  font-size:50px!important;
  line-height:.88!important;
}
.schedule-menu-mark small{
  margin-top:8px!important;
  color:var(--muted)!important;
  font:500 10px/1.2 Montserrat,Arial,sans-serif!important;
  letter-spacing:.18em!important;
}
.schedule-menu{
  position:relative!important;
  width:min(100%,560px)!important;
  padding:0 22px!important;
}
.schedule-menu::before{
  content:"";
  position:absolute;
  top:8px;
  bottom:8px;
  left:50%;
  width:1px;
  background:linear-gradient(to bottom,transparent,color-mix(in srgb,var(--accent) 25%,transparent) 12%,color-mix(in srgb,var(--accent) 25%,transparent) 88%,transparent);
  transform:translateX(-50%);
  opacity:.55;
  pointer-events:none;
}
.schedule-menu article{
  position:relative!important;
  width:min(100%,420px)!important;
  margin:0 auto!important;
  padding:0 0 29px!important;
  text-align:center!important;
}
.schedule-menu article:last-child{padding-bottom:10px!important}
.schedule-menu article::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:15px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
  transform:translateX(-50%);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--bg) 86%,transparent);
}
.schedule-menu article:last-child::after{display:none}
.schedule-menu h3{
  position:relative!important;
  z-index:1!important;
  display:inline-block!important;
  margin:0 0 5px!important;
  padding:0 9px!important;
  background:var(--bg)!important;
  color:var(--accent)!important;
  font-size:38px!important;
  line-height:1!important;
}
.schedule-menu time{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  width:max-content!important;
  margin:0 auto 7px!important;
  padding:0 8px!important;
  background:var(--bg)!important;
  color:var(--accent)!important;
  font:600 10px/1.3 Montserrat,Arial,sans-serif!important;
  letter-spacing:.14em!important;
}
.schedule-menu p{
  position:relative!important;
  z-index:1!important;
  max-width:330px!important;
  margin:0 auto!important;
  padding:0 8px!important;
  background:var(--bg)!important;
  color:var(--muted)!important;
  font:400 15px/1.55 "Cormorant Garamond",Georgia,serif!important;
}
.schedule-couple{margin-top:14px!important;font-size:34px!important}
.schedule-botanical{width:138px!important;height:180px!important;margin-top:8px!important;opacity:.7!important}

@media(max-width:760px){
  .details .le-details__grid{grid-template-columns:1fr!important;gap:12px!important}
  .details .le-details__card{min-height:0!important;padding:22px 20px!important}
  .details .le-details__card-icon{margin-bottom:18px!important}
  .contacts .ivi-contacts__grid{grid-template-columns:1fr!important}
}

@media(max-width:620px){
  .shared-block.details,.shared-block.contacts,.shared-block.rsvp{padding:56px 20px!important}
  .details .le-details__header,.contacts .ivi-contacts__head,.rsvp .rsvpSection .rsvpSectionHead{margin-bottom:28px!important}
  .details .le-details__title,.contacts .ivi-contacts__title,.rsvp .rsvpSection .rsvpSectionHead h2{font-size:40px!important}
  .details .le-details__text,.contacts .ivi-contacts__text,.rsvp .rsvpSection .rsvpSectionHead .rsvpHint{font-size:16px!important;line-height:1.6!important}
  .details .le-details__card-title{font-size:28px!important}
  .contacts .ivi-contact{min-height:0!important;padding:22px 18px!important}
  .contacts .ivi-contact__name{font-size:30px!important}
  .rsvp .rsvpSection .rsvpFormCard{padding:20px 16px!important}
  .rsvp .rsvpSection .row2{grid-template-columns:1fr!important;gap:18px!important}
  .rsvp .rsvpSection .chips{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .rsvp .rsvpSection .chip{width:100%!important;min-width:0!important;min-height:44px!important;padding:9px 8px!important;font-size:11px!important}
  .rsvp .rsvpSection .consent{font-size:11.5px!important}

  .location{padding-top:58px!important;padding-bottom:58px!important}
  .location-grid{margin-top:30px!important;gap:14px!important}
  .location-grid .location-card{display:block!important}
  .location-grid .location-photo{min-height:0!important;aspect-ratio:16/10!important}
  .location-grid .location-photo::after{inset:9px!important}
  .location-grid .location-body{padding:21px 20px 23px!important}
  .location-grid .location-card h3{font-size:31px!important}
  .location-grid .location-card p{font-size:15px!important}
  .location-grid .location-card--no-photo{width:100%!important}
  .location-grid .location-card--no-photo .location-body{min-height:0!important;padding:24px 20px!important}

  .schedule{padding-top:58px!important;padding-bottom:18px!important}
  .schedule-menu-mark{font-size:44px!important;margin-bottom:30px!important}
  .schedule-menu{padding:0 8px!important}
  .schedule-menu article{padding-bottom:26px!important}
  .schedule-menu h3{font-size:34px!important}
  .schedule-menu p{font-size:15px!important;max-width:290px!important}
  .schedule-couple{font-size:31px!important;margin-top:10px!important}
  .schedule-botanical{width:120px!important;height:152px!important}
}

@media(max-width:380px){
  .rsvp .rsvpSection .chips{grid-template-columns:1fr!important}
  .details .le-details__title,.contacts .ivi-contacts__title,.rsvp .rsvpSection .rsvpSectionHead h2{font-size:36px!important}
  .schedule-menu h3{font-size:31px!important}
}


/* ===== 2026-09-02: schedule uses Studio headings, compact RSVP legal text ===== */
.schedule-head{
  width:min(100%,720px)!important;
  margin:0 auto 42px!important;
  padding:0 24px!important;
  text-align:center!important;
}
.schedule-head .eyebrow{
  margin:0 0 12px!important;
  color:var(--accent)!important;
  font:500 12px/1.35 Montserrat,Arial,sans-serif!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.schedule-head h2{
  margin:0!important;
  color:var(--accent)!important;
  font-size:clamp(46px,5.6vw,68px)!important;
  font-weight:400!important;
  line-height:.98!important;
}
.schedule-head p{
  width:min(100%,620px)!important;
  margin:17px auto 0!important;
  color:var(--muted)!important;
  font:400 17px/1.65 "Cormorant Garamond",Georgia,serif!important;
}
.schedule-menu-mark{display:none!important}

/* The shared RSVP block has broad label/anchor rules. Lock legal copy to a quiet readable size. */
.rsvp .rsvpSection label.consent,
.rsvp .rsvpSection .consent{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
  padding:13px 14px!important;
  color:var(--muted)!important;
  font-family:Montserrat,Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.5!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.rsvp .rsvpSection .consent > span,
.rsvp .rsvpSection .consent small,
.rsvp .rsvpSection .consent a,
.rsvp .rsvpSection .consent strong,
.rsvp .rsvpSection .consent em{
  color:inherit!important;
  font-family:Montserrat,Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.5!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.rsvp .rsvpSection .consent small{display:block!important;margin-top:4px!important;opacity:.78!important}
.rsvp .rsvpSection .consent a{text-decoration-thickness:1px!important;text-underline-offset:3px!important}
.rsvp .rsvpSection .consent input[type="checkbox"]{
  width:18px!important;height:18px!important;margin:1px 0 0!important;min-width:18px!important;
}

@media(max-width:620px){
  .schedule-head{margin-bottom:32px!important;padding:0 10px!important}
  .schedule-head .eyebrow{font-size:11px!important}
  .schedule-head h2{font-size:clamp(40px,12vw,52px)!important}
  .schedule-head p{font-size:16px!important;line-height:1.58!important;margin-top:13px!important}
  .rsvp .rsvpSection label.consent,
  .rsvp .rsvpSection .consent{padding:12px!important;font-size:10.5px!important;line-height:1.48!important}
  .rsvp .rsvpSection .consent > span,
  .rsvp .rsvpSection .consent small,
  .rsvp .rsvpSection .consent a,
  .rsvp .rsvpSection .consent strong,
  .rsvp .rsvpSection .consent em{font-size:10.5px!important;line-height:1.48!important}
}

/* Footer floral medallion */
.footer{justify-content:center!important;padding:64px 24px!important;min-height:420px!important;gap:0}
.footer-flower-wrap{position:relative;width:230px;height:210px;margin:0 auto 22px;isolation:isolate}
.footer-flower{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;object-position:center;filter:saturate(.78) contrast(.96);z-index:1}
.footer .script{margin-top:0}
@media(max-width:620px){.footer{min-height:390px!important;padding:54px 20px!important}.footer-flower-wrap{width:210px;height:190px;margin-bottom:20px}.footer-flower{inset:0;width:100%;height:100%;object-fit:contain}}

/* ===== 2026-09-02: gallery styled for Akvarelnaya Nezhnost ===== */
.shared-block.gallery{
  padding:68px max(20px,6vw) 78px!important;
  overflow:hidden;
}
.shared-block.gallery .shared-inner{
  width:min(100%,820px)!important;
}
.gallery .iviGallery{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:var(--ink)!important;
}
.gallery .iviGalleryHead{
  width:min(100%,650px)!important;
  margin:0 auto 38px!important;
  padding:0 16px!important;
  text-align:center!important;
}
.gallery .iviGalleryKicker{
  margin:0 0 11px!important;
  color:var(--accent)!important;
  font:600 11px/1.35 Montserrat,Arial,sans-serif!important;
  letter-spacing:.19em!important;
  text-transform:uppercase!important;
}
.gallery .iviGalleryTitle{
  margin:0!important;
  color:var(--accent)!important;
  font-family:"kraM","Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(44px,6vw,66px)!important;
  font-weight:400!important;
  line-height:.98!important;
  letter-spacing:0!important;
}
.gallery .iviGallerySubtitle{
  width:min(100%,580px)!important;
  margin:17px auto 0!important;
  color:var(--muted)!important;
  font:400 17px/1.65 "Cormorant Garamond",Georgia,serif!important;
}

/* A soft editorial collage rather than the generic shared grid. */
.gallery .iviGalleryGrid{
  display:grid!important;
  grid-template-columns:1.12fr .88fr!important;
  grid-auto-flow:dense!important;
  grid-auto-rows:185px!important;
  gap:12px!important;
  width:100%!important;
  margin:0 auto!important;
}
.gallery .iviGalleryItem{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid var(--line)!important;
  border-radius:0!important;
  background:color-mix(in srgb,var(--bg) 82%,white 18%)!important;
  box-shadow:none!important;
  text-decoration:none!important;
  isolation:isolate!important;
}
.gallery .iviGalleryItem::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid color-mix(in srgb,var(--accent) 30%,transparent)!important;
  z-index:2;
  pointer-events:none;
  opacity:.62;
  transition:opacity .35s ease,inset .35s ease;
}
.gallery .iviGalleryItem::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 58%,color-mix(in srgb,var(--ink) 28%,transparent));
  opacity:.14;
  transition:opacity .35s ease;
}
.gallery .iviGalleryItem img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:0!important;
  filter:saturate(.82) contrast(.97)!important;
  transform:scale(1.002);
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s ease!important;
}
.gallery .iviGalleryItem:hover img{
  transform:scale(1.035)!important;
  filter:saturate(.92) contrast(.99)!important;
}
.gallery .iviGalleryItem:hover::before{inset:12px!important;opacity:.9!important}
.gallery .iviGalleryItem:hover::after{opacity:.06!important}
.gallery .iviGalleryCaption{
  position:absolute!important;
  left:22px!important;
  right:22px!important;
  bottom:18px!important;
  z-index:3!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  text-align:left!important;
  font:500 11px/1.4 Montserrat,Arial,sans-serif!important;
  letter-spacing:.08em!important;
  text-shadow:0 1px 10px rgba(0,0,0,.32)!important;
}

/* Signature rhythm for the first six pictures. Further photos continue neatly. */
.gallery .iviGalleryItem:nth-child(1){grid-row:span 2!important}
.gallery .iviGalleryItem:nth-child(4){grid-row:span 2!important}
.gallery .iviGalleryItem:nth-child(5){grid-column:span 2!important;grid-row:span 2!important}
.gallery .iviGalleryItem:nth-child(n+7){grid-row:span 1!important}

/* 1–3 images should still look intentional. */
.gallery .iviGalleryGrid:has(.iviGalleryItem:only-child){grid-template-columns:1fr!important;grid-auto-rows:min(520px,62vw)!important}
.gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(2):last-child){grid-template-columns:1fr 1fr!important;grid-auto-rows:390px!important}
.gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(2):last-child) .iviGalleryItem{grid-row:auto!important;grid-column:auto!important}
.gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child){grid-template-columns:1.12fr .88fr!important;grid-auto-rows:190px!important}
.gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child) .iviGalleryItem:nth-child(1){grid-row:span 2!important}

@media(max-width:620px){
  .shared-block.gallery{padding:56px 18px 64px!important}
  .gallery .iviGalleryHead{margin-bottom:28px!important;padding:0 7px!important}
  .gallery .iviGalleryKicker{font-size:10.5px!important;letter-spacing:.16em!important}
  .gallery .iviGalleryTitle{font-size:clamp(40px,12vw,52px)!important}
  .gallery .iviGallerySubtitle{font-size:16px!important;line-height:1.58!important;margin-top:13px!important}

  .gallery .iviGalleryGrid,
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(2):last-child),
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child){
    grid-template-columns:1fr 1fr!important;
    grid-auto-rows:138px!important;
    gap:8px!important;
  }
  .gallery .iviGalleryItem{padding:6px!important}
  .gallery .iviGalleryItem::before{inset:6px!important}
  .gallery .iviGalleryItem:nth-child(1){grid-column:span 2!important;grid-row:span 2!important}
  .gallery .iviGalleryItem:nth-child(2),
  .gallery .iviGalleryItem:nth-child(3),
  .gallery .iviGalleryItem:nth-child(4){grid-column:auto!important;grid-row:span 1!important}
  .gallery .iviGalleryItem:nth-child(5){grid-column:span 2!important;grid-row:span 2!important}
  .gallery .iviGalleryItem:nth-child(n+6){grid-column:auto!important;grid-row:span 1!important}
  .gallery .iviGalleryGrid:has(.iviGalleryItem:only-child){grid-template-columns:1fr!important;grid-auto-rows:72vw!important}
  .gallery .iviGalleryGrid:has(.iviGalleryItem:only-child) .iviGalleryItem{grid-column:auto!important;grid-row:auto!important}
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(2):last-child) .iviGalleryItem{grid-column:auto!important;grid-row:span 2!important}
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child) .iviGalleryItem:nth-child(1){grid-column:span 2!important;grid-row:span 2!important}
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child) .iviGalleryItem:nth-child(2),
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child) .iviGalleryItem:nth-child(3){grid-column:auto!important;grid-row:auto!important}
  .gallery .iviGalleryCaption{left:16px!important;right:16px!important;bottom:13px!important;font-size:10px!important}
}

@media(max-width:380px){
  .gallery .iviGalleryGrid,
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(2):last-child),
  .gallery .iviGalleryGrid:has(.iviGalleryItem:nth-child(3):last-child){grid-auto-rows:124px!important}
}


/* ===== Fancybox / gallery lightbox ===== */
.fancybox__container{
  --fancybox-bg: color-mix(in srgb, var(--ink) 92%, #000 8%);
  --f-button-bg: color-mix(in srgb, var(--paper) 12%, transparent);
  --f-button-hover-bg: color-mix(in srgb, var(--accent) 28%, transparent);
  --f-button-color: var(--paper);
  z-index: 999999 !important;
}
.fancybox__caption{
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
}
.fancybox__toolbar,
.fancybox__nav{
  font-family: var(--font-body, 'Montserrat', sans-serif);
}

/* ===== 2026-09-02: location cards use full section width ===== */
.location .location-grid{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.location .location-grid .location-card{
  width:100%!important;
  max-width:none!important;
}
@media (max-width:620px){
  .location .location-grid{
    width:100%!important;
    max-width:none!important;
  }
}

/* ===== 2026-09-02: extra-large location cards ===== */
@media (min-width:621px){
  .location-grid{
    width:min(calc(100% - 28px),940px)!important;
    gap:24px!important;
    margin-top:40px!important;
  }
  .location-grid .location-card{
    grid-template-columns:minmax(0,58%) minmax(0,42%)!important;
    min-height:500px!important;
  }
  .location-grid .location-photo{
    min-height:500px!important;
  }
  .location-grid .location-body{
    padding:46px 48px!important;
  }
  .location-grid .location-type{
    font-size:12px!important;
    letter-spacing:.24em!important;
    margin-bottom:14px!important;
  }
  .location-grid .location-card h3{
    font-size:46px!important;
    line-height:1.02!important;
    margin-bottom:22px!important;
  }
  .location-grid .location-card p{
    max-width:100%!important;
    font-size:18px!important;
    line-height:1.6!important;
    margin-bottom:12px!important;
  }
  .location-grid .location-time{
    font-size:16px!important;
    line-height:1.65!important;
    margin-top:8px!important;
  }
  .location-grid .actions{
    margin-top:30px!important;
  }
  .location-grid .actions a{
    font-size:11px!important;
    letter-spacing:.16em!important;
    padding:8px 0!important;
  }
}

/* ===== 2026-09-02: location cards stretch to page-shell border ===== */
@media (min-width:621px){
  .section.location .location-grid{
    width:calc(100% + max(48px, 14vw))!important;
    max-width:none!important;
    margin-left:calc(max(24px, 7vw) * -1)!important;
    margin-right:calc(max(24px, 7vw) * -1)!important;
  }
  .section.location .location-grid .location-card{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,55%) minmax(0,45%)!important;
  }
  .section.location .location-grid .location-body{
    min-width:0!important;
    padding:46px 42px!important;
  }
  .section.location .location-grid .location-card h3{
    overflow-wrap:anywhere!important;
  }
}

/* ===== 2026-09-02: location theme contrast fix =====
   The location section now follows the active palette instead of staying white
   while text variables switch to dark-theme values. */
.section.location{
  background:var(--paper, var(--page_bg))!important;
  color:var(--ink)!important;
}
.section.location > .eyebrow,
.section.location .location-type{
  color:var(--accent)!important;
  opacity:1!important;
}
.section.location > h2.script,
.section.location .location-card h3{
  color:var(--ink)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.location > .lead.small,
.section.location .location-card p{
  color:var(--muted)!important;
  opacity:1!important;
}
.section.location .location-card{
  background:color-mix(in srgb,var(--panel) 72%,var(--paper))!important;
  border-color:var(--line)!important;
}
.section.location .location-time{
  color:var(--muted)!important;
}
.section.location .actions a{
  color:var(--accent)!important;
  border-bottom-color:color-mix(in srgb,var(--accent) 62%,transparent)!important;
}

/* ===== 2026-09-02: location text contrast only, keep original watercolor layout ===== */
.section.location{
  background:transparent!important;
  color:var(--ink)!important;
}
.section.location .location-card{
  background:transparent!important;
  border-color:var(--line)!important;
}
.section.location > .eyebrow,
.section.location .location-type{
  color:var(--accent)!important;
  opacity:1!important;
}
.section.location > h2.script,
.section.location .location-card h3{
  color:var(--ink)!important;
  opacity:1!important;
}
.section.location > .lead.small,
.section.location .location-card p,
.section.location .location-time{
  color:var(--muted)!important;
  opacity:1!important;
}
.section.location .actions a{
  color:var(--accent)!important;
  border-bottom-color:color-mix(in srgb,var(--accent) 62%,transparent)!important;
}

/* ===== 2026-09-02: location typography follows all other sections ===== */
.section.location > .eyebrow,
.section.location .location-type{
  color:var(--accent)!important;
  opacity:1!important;
}
.section.location > h2.script,
.section.location .location-card h3{
  color:var(--accent)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.location > .lead.small,
.section.location .location-card p,
.section.location .location-time{
  color:var(--muted)!important;
  opacity:1!important;
}
.section.location .actions a{
  color:var(--accent)!important;
  border-bottom-color:color-mix(in srgb,var(--accent) 55%,transparent)!important;
}
.section.location .location-card{
  background:transparent!important;
  color:inherit!important;
  border-color:var(--line)!important;
}

/* ===== 2026-09-02: unified theme-aware typography for shared sections =====
   Same color hierarchy as the native template sections and Location:
   accent = headings/kickers/actions, muted = descriptive copy, ink = form/input content. */

/* DETAILS */
.section.details .le-details__kicker,
.section.details .le-details__title,
.section.details .le-details__provider,
.section.details .le-details__card-title,
.section.details .le-details__wishlist-button{
  color:var(--accent)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.details .le-details__text,
.section.details .le-details__card-text{
  color:var(--muted)!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* CONTACTS */
.section.contacts .ivi-contacts__kicker,
.section.contacts .ivi-contacts__title,
.section.contacts .ivi-contact__name,
.section.contacts .ivi-contact__role,
.section.contacts .ivi-contact__action{
  color:var(--accent)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.contacts .ivi-contacts__text,
.section.contacts .ivi-contact__phone{
  color:var(--muted)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.contacts .ivi-contact__action:hover{
  color:#fff!important;
}

/* RSVP / ANSWERS */
.section.rsvp .rsvpSection .rsvpLabel,
.section.rsvp .rsvpSection .rsvpSectionHead h2{
  color:var(--accent)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.rsvp .rsvpSection .rsvpSectionHead .rsvpHint,
.section.rsvp .rsvpSection .rsvpTotal,
.section.rsvp .rsvpSection .consent,
.section.rsvp .rsvpSection .consent > span,
.section.rsvp .rsvpSection .consent small,
.section.rsvp .rsvpSection .consent a,
.section.rsvp .rsvpSection .consent strong,
.section.rsvp .rsvpSection .consent em{
  color:var(--muted)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.section.rsvp .rsvpSection .label,
.section.rsvp .rsvpSection .field,
.section.rsvp .rsvpSection .chip{
  color:var(--ink)!important;
  opacity:1!important;
}
.section.rsvp .rsvpSection .chip:hover{
  color:var(--accent)!important;
}
.section.rsvp .rsvpSection .chip[data-active="true"],
.section.rsvp .rsvpSection .chip.is-active,
.section.rsvp .rsvpSection .chip.active,
.section.rsvp .rsvpSection .btn.btn-full,
.section.rsvp .rsvpSection #rsvpForm button[type="submit"]{
  color:#fff!important;
}
.section.rsvp .rsvpSection .btn.btn-full:hover,
.section.rsvp .rsvpSection #rsvpForm button[type="submit"]:hover{
  color:var(--accent)!important;
}
