:root{--night:#171325;--night2:#221d36;--lavender:#c8a5f8;--lime:#dfff77;--pink:#ee8abb;--white:#f7f4ff;--line:#5a516b;--mute:#aea7bb}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--night);color:var(--white);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a,button,input,select,textarea{outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:900;letter-spacing:-.07em;text-transform:uppercase}h2{font-size:clamp(46px,6vw,88px);line-height:.93;margin:19px 0 32px}.container{width:min(1180px,calc(100% - 70px));margin:auto}.section-pad{padding-block:120px}.micro{font-size:11px;letter-spacing:.17em;font-weight:800;color:var(--lime)}.header{height:78px;border-bottom:1px solid var(--line);background:var(--night);display:flex;align-items:center;justify-content:space-between;padding-inline:max(35px,calc((100vw - 1180px)/2))}.logotype{font-size:22px;font-weight:900;letter-spacing:-.06em}.logotype span{color:var(--lime)}.header nav{display:flex;align-items:center;gap:36px;font-size:12px;font-weight:900;letter-spacing:.12em}.header nav a:last-child{border:1px solid var(--lime);color:var(--lime);padding:12px 15px}.header nav a:hover{color:var(--lavender)}.hero{overflow:hidden;position:relative;background:radial-gradient(ellipse at 70% 50%,#28464f 0%,#171325 65%)}.hero-top,.hero-bottom{display:flex;justify-content:space-between;gap:16px;font-size:10px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}.hero-top{padding-top:35px}.hero-coords{color:var(--lavender)}.hero-main{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;min-height:655px;gap:10px;padding:70px 0}.hero-label{display:inline-flex;align-items:center;gap:10px;background:var(--lime);color:var(--night);font-size:11px;font-weight:900;letter-spacing:.15em;padding:10px 16px;margin-bottom:30px;transform:rotate(-3deg)}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--night)}.hero h1{font-size:clamp(88px,11vw,165px);line-height:.79;margin:0 0 36px;display:flex;flex-direction:column}.hero h1 span:first-child{color:var(--lavender)}.hero h1 span:last-child{color:var(--lime)}.hero h1 .plus{color:var(--pink);font-size:.59em;line-height:.7;margin-left:1.12em;transform:rotate(18deg)}.hero-text>p{font-size:18px;line-height:1.6;max-width:430px;color:#dde3df;margin-bottom:32px}.cta{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;background:var(--lime);color:var(--night);font-size:12px;font-weight:900;letter-spacing:.08em;border:2px solid var(--lime);padding:17px 23px;cursor:pointer;transition:transform .2s,background .2s}.cta:hover{transform:translateY(-3px);background:#ebbb8e}.hero-visual{position:relative;min-height:430px;display:grid;place-items:center}.disc{height:min(36vw,380px);width:min(36vw,380px);border-radius:50%;border:12px solid #d9c4ac;background:repeating-radial-gradient(circle,#f3dcc4 0 7px,#8b6f62 8px 10px,#233c43 11px 21px);box-shadow:0 0 0 24px #294952,0 0 0 25px #caa78b,0 0 120px #d9b59144;display:grid;place-items:center;transform:rotate(-15deg)}.disc-inner{background:var(--lime);height:145px;width:145px;border-radius:50%;color:var(--night);display:grid;place-items:center;text-align:center;font-weight:900;letter-spacing:-.04em;line-height:.95;font-size:22px}.star-asterisk{position:absolute;top:-50px;right:-20px;font-size:180px;line-height:1;color:var(--pink);text-shadow:0 0 30px #b5675d55}.hero-bottom{border-top:1px solid var(--line);padding:28px 0 33px}.marquee{background:var(--lime);color:var(--night);overflow:hidden;white-space:nowrap;padding:15px 0;transform:rotate(-1deg);border-block:3px solid var(--night)}.marquee span{font-size:18px;font-weight:900;letter-spacing:.13em}.motto{background:var(--lavender);color:var(--night);padding:90px 0}.motto .container{display:flex;justify-content:space-between;align-items:center;gap:35px}.motto p{font-size:clamp(40px,7vw,100px);font-weight:900;letter-spacing:-.09em;line-height:.95;max-width:830px;margin:0}.motto-date{border:3px solid var(--night);padding:15px 25px;transform:rotate(8deg);flex:none;display:flex;flex-direction:column;align-items:center;line-height:.95}.motto-date strong{font-size:94px;letter-spacing:-.12em}.motto-date span{display:flex;flex-direction:column;align-items:center;font-size:17px;text-transform:uppercase}.timeline{background:var(--night)}.section-title{margin-bottom:45px}.timeline-list{padding:0;margin:0;list-style:none;border-top:2px solid var(--line)}.event{display:grid;grid-template-columns:160px 50px 1fr;gap:12px;align-items:center;min-height:127px;border-bottom:2px solid var(--line);transition:background .2s;padding:14px 20px}.event:hover{background:#1c3338}.event-time{font-size:45px;font-weight:900;letter-spacing:-.08em;color:var(--lime)}.event-marker{height:13px;width:13px;background:var(--pink);transform:rotate(45deg);justify-self:center}.event-details{display:flex;justify-content:space-between;gap:20px;align-items:center}.event-details h3{font-size:30px;margin:0;color:var(--white)}.event-details p{color:var(--mute);font-size:14px;line-height:1.5;max-width:250px;margin:0}.venue{background:#1a2f36}.venue-layout{display:grid;grid-template-columns:1fr .78fr;gap:10%;align-items:center}.venue-copy h3{font-size:31px;margin:0 0 14px;color:var(--lime)}.venue-copy .address{font-size:18px;color:var(--lavender);margin-bottom:33px}.venue-copy>p:not(.address){color:#d5ddd9;font-size:16px;line-height:1.65;max-width:410px}.venue-links{display:flex;align-items:flex-start;flex-direction:column;gap:28px;margin-top:38px}.textlink{font-size:12px;font-weight:900;letter-spacing:.06em;text-decoration:underline;text-underline-offset:7px}.venue-poster{height:550px;background:var(--lime);color:var(--night);border:3px solid var(--night);transform:rotate(4deg);box-shadow:18px 20px 0 var(--pink);padding:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;position:relative;overflow:hidden}.venue-poster b{font-size:clamp(65px,7vw,100px);line-height:.82;letter-spacing:-.095em;z-index:1}.poster-star{font-size:230px;line-height:1;color:var(--lavender);position:absolute;right:-40px;top:20px}.poster-top,.poster-bottom{font-size:12px;font-weight:900;letter-spacing:.15em;z-index:1}.poster-bottom{font-size:44px}.dress{background:var(--night2)}.dress-layout{display:grid;grid-template-columns:1fr .85fr;gap:9%;align-items:center}.dress p{color:var(--mute);font-size:17px;line-height:1.6;max-width:440px}.colors-wrap{display:flex;align-items:flex-end;gap:22px;flex-direction:column}.dress-colors{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}.color-swatch{height:112px;width:66px;border-radius:50%;border:4px solid var(--night2);outline:1px solid #6b7f82;transform:rotate(17deg)}.color-swatch:nth-child(odd){transform:rotate(-15deg) translateY(12px)}.colors-wrap>span{font-size:11px;letter-spacing:.15em;font-weight:900;color:var(--lavender)}.rsvp{background:var(--lavender);color:var(--night)}.rsvp-layout{display:grid;grid-template-columns:.89fr 1fr;gap:9%}.rsvp-copy .micro{color:#8f6d56}.rsvp-copy h2{font-size:clamp(48px,5.7vw,79px)}.rsvp-copy>p{font-size:17px;line-height:1.6;max-width:420px}.deadline{display:inline-block;padding:15px 22px;margin-top:25px;background:var(--lime);color:var(--night);font-size:13px;font-weight:900;transform:rotate(-3deg);border:2px solid var(--night)}.rsvp-stars{font-size:85px;letter-spacing:.12em;color:var(--lime);text-shadow:4px 4px var(--night);margin-top:40px}.rsvp-form{display:flex;flex-direction:column;gap:12px;padding:38px;background:var(--night);color:var(--white);box-shadow:10px 10px 0 var(--lime)}.rsvp-form label:not(.consent){font-size:11px;font-weight:900;letter-spacing:.13em;margin-top:9px}.rsvp-form input:not([type=checkbox]),.rsvp-form textarea,.rsvp-form select{width:100%;background:var(--night2);color:var(--white);border:1px solid #66797a;padding:15px;border-radius:0}.rsvp-form input:focus,.rsvp-form textarea:focus,.rsvp-form select:focus{border-color:var(--lime)}.rsvp-form textarea{resize:vertical}.rsvp-form input::placeholder,.rsvp-form textarea::placeholder{color:#bdc8c7}.consent{display:flex;align-items:flex-start;gap:11px;margin:14px 0;color:#c4b6d1;font-size:12px;line-height:1.5}.consent input{margin:2px 0;accent-color:var(--lime);flex:none}.submit{width:100%}.submit:disabled{opacity:.55;cursor:wait}.form-result{min-height:20px;font-size:13px;line-height:1.5;color:var(--white);margin:7px 0 0}.form-result[data-type=error]{color:#ff9e9e}.form-result[data-type=success]{color:var(--lime)}.end{background:var(--lime);color:var(--night);padding:110px 0 115px}.end p{font-size:12px;font-weight:900;letter-spacing:.21em}.end h2{font-size:clamp(75px,12vw,180px);line-height:.8;margin:23px 0 40px}.end span{font-size:18px;font-weight:900}.footer{background:var(--night);border-top:1px solid var(--line)}.footer-content{min-height:125px;display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:11px;font-weight:900;letter-spacing:.13em}.brand-link img{display:block;width:150px;height:auto}
@media(max-width:900px){.container{width:calc(100% - 48px)}.header{padding:0 24px}.hero-main{grid-template-columns:1fr;gap:65px;padding:75px 0}.hero h1{font-size:clamp(90px,15vw,145px)}.hero-visual{min-height:400px}.disc{width:310px;height:310px}.section-pad{padding:85px 0}.venue-layout,.rsvp-layout,.dress-layout{grid-template-columns:1fr;gap:65px}.venue-poster{max-width:400px;width:100%;height:440px;margin-inline:auto}.venue-poster b{font-size:80px}.colors-wrap{align-items:flex-start}.dress-colors{justify-content:flex-start}.rsvp-stars{display:none}}
@media(max-width:560px){.header{height:68px}.logotype{font-size:15px}.header nav{gap:14px;font-size:10px}.header nav a:last-child{padding:8px}.hero-top,.hero-bottom{font-size:9px}.hero-top span:last-child,.hero-bottom span:first-child{display:none}.hero-main{padding:63px 0 60px;gap:65px}.hero h1{font-size:clamp(75px,18vw,110px)}.hero-text>p{font-size:16px}.hero-visual{min-height:315px}.disc{width:230px;height:230px;border-width:8px;box-shadow:0 0 0 17px #294952,0 0 0 18px #caa78b,0 0 65px #d9b59144}.disc-inner{width:95px;height:95px;font-size:16px}.star-asterisk{font-size:120px;top:-25px;right:0}.marquee span{font-size:14px}.motto{padding:70px 0}.motto .container{display:block}.motto-date{display:inline-flex;margin-top:35px}.motto-date strong{font-size:65px}.section-pad{padding:70px 0}.event{grid-template-columns:85px 22px 1fr;gap:8px;padding:22px 5px}.event-time{font-size:26px}.event-marker{width:11px;height:11px}.event-details{display:block}.event-details h3{font-size:21px}.event-details p{margin-top:8px;font-size:12px}.venue-poster{height:350px;transform:rotate(2deg);box-shadow:8px 10px var(--pink)}.venue-poster b{font-size:clamp(60px,15vw,80px)}.poster-star{font-size:150px}.color-swatch{width:46px;height:80px}.rsvp-form{padding:23px;box-shadow:6px 6px var(--lime)}.end{padding:75px 0}.end h2{font-size:clamp(58px,14vw,100px)}.footer-content{flex-direction:column;gap:15px;padding:28px 0}.brand-link img{width:135px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Cinematic photo accents */
.wedding-photo{display:block;width:100%;height:100%;object-fit:cover}
.hero-visual{isolation:isolate}
.midnight-hero-photo{position:absolute;inset:6px auto auto 10%;height:90%;width:79%;border:3px solid var(--lavender);transform:rotate(7deg);object-position:center center;filter:saturate(.95) brightness(.82);box-shadow:12px 12px 0 #6d5849;z-index:-1}
.hero-visual .disc{width:min(27vw,265px);height:min(27vw,265px);box-shadow:0 0 0 12px #294952aa,0 0 0 13px #caa78b,0 0 90px #d9b59199;background:repeating-radial-gradient(circle,#f3dcc4 0 5px,#8b6f62 6px 9px,#233c43 10px 18px)}
.hero-visual .star-asterisk{z-index:2}
.venue-poster{isolation:isolate;background:#1a2f36;color:var(--lime)}
.midnight-venue-photo{position:absolute;inset:0;z-index:-2;filter:saturate(.9) brightness(.78)}
.venue-poster:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,28,32,.45) 0%,rgba(14,28,32,.12) 46%,rgba(14,28,32,.68) 100%)}
.venue-poster b{font-size:clamp(50px,6vw,82px);max-width:350px;overflow-wrap:anywhere;line-height:.91;text-shadow:0 3px 24px #0c1a1f}
@media(max-width:900px){.hero-visual .disc{width:220px;height:220px}}
@media(max-width:560px){.hero-visual .disc{width:165px;height:165px;border-width:7px}.disc-inner{width:85px;height:85px;font-size:12px}.midnight-hero-photo{width:80%;height:95%}.venue-poster b{font-size:clamp(46px,12vw,67px)}}
img[hidden]{display:none!important}


/* Универсальная RSVP-форма для API AACreate (сохраняет палитру каждого дизайна). */
.rsvp-form .guest-count-field {display:flex;flex-direction:column;gap:9px}
.rsvp-form .guest-count-field[hidden],.rsvp-form .drink-picker[hidden]{display:none!important}
.rsvp-form .drink-picker{min-width:0;border:0;margin:18px 0 10px;padding:0}
.rsvp-form .drink-picker legend{font:inherit;font-size:13px;font-weight:700;letter-spacing:.04em;padding:0 0 14px}
.rsvp-form .drink-choices{display:flex;flex-wrap:wrap;gap:10px}
.rsvp-form fieldset.drink-picker label.drink-choice{display:inline-flex;align-items:center;gap:8px;margin:0;padding:11px 13px;border:1px solid currentColor;border-radius:999px;font:inherit;font-size:12px;line-height:1.2;cursor:pointer;letter-spacing:0;transition:background .2s ease;opacity:.9}
.rsvp-form fieldset.drink-picker label.drink-choice:has(input:checked){background:var(--ink, var(--blue, var(--green, #24211e)));color:var(--white, var(--paper, #fff));opacity:1}
.rsvp-form .drink-choice input[type=checkbox]{width:15px;height:15px;margin:0;flex:none;accent-color:currentColor;cursor:pointer}
.rsvp-form .rsvp-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.rsvp-form button[aria-busy=true]{opacity:.65;cursor:wait}
.rsvp-form .form-result{overflow-wrap:anywhere}
@media(max-width:520px){.rsvp-form .drink-choices{gap:8px}.rsvp-form fieldset.drink-picker label.drink-choice{padding:9px 11px}}


/* AACreate: исправление нижней горизонтальной прокрутки. */
html, body { max-width: 100%; overflow-x: clip; }
@media (max-width: 900px) {
  .venue-layout { grid-template-columns: minmax(0, 1fr); }
  .venue-layout > * { min-width: 0; }
  .venue-copy h2, .venue-copy h3 { overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  .venue-poster { width: calc(100% - 30px); max-width: calc(100% - 30px); margin-inline: auto; }
  .venue-copy h2 { font-size: clamp(31px, 9.3vw, 52px); }
  .venue-links .cta { max-width: 100%; gap: 12px; padding-inline: 14px; white-space: normal; overflow-wrap: anywhere; }
  .dress-colors { max-width: 100%; }
}
