:root {
    --invite-ink: #2d2c2a;
    --invite-soft-ink: #6d6963;
    --invite-paper: #f6f0e6;
    --invite-paper-deep: #ebe2d6;
    --invite-smoke: #787772;
    --invite-charcoal: #383837;
    --invite-line: rgba(255, 255, 255, 0.38);
}

@font-face {
    font-family: "Blante Panama Script Regular";
    src: url("../fonts/blante-panama-script-regular-subset.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Honey";
    src: url("../fonts/honey.woff") format("woff");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.wedding-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 24px 24px, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px),
        radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.11) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.08) 50% 75%, transparent 75%),
        #8a8984;
    background-size: 48px 48px, auto, 18px 18px, auto;
    color: var(--invite-ink);
    font-family: "Inter", Arial, sans-serif;
}

.wedding-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.46;
    background:
        radial-gradient(ellipse at 12% 18%, transparent 0 30%, rgba(255, 255, 255, 0.45) 31% 32%, transparent 33%),
        radial-gradient(ellipse at 88% 28%, transparent 0 28%, rgba(255, 255, 255, 0.4) 29% 30%, transparent 31%),
        radial-gradient(ellipse at 24% 74%, transparent 0 34%, rgba(255, 255, 255, 0.36) 35% 36%, transparent 37%),
        repeating-linear-gradient(52deg, transparent 0 14px, rgba(255, 255, 255, 0.18) 15px, transparent 16px);
}

.invite-stage {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 54px 18px 86px;
}

.invite-board {
    position: relative;
    width: min(100%, 390px);
    filter: drop-shadow(0 28px 52px rgba(31, 31, 31, 0.24));
}

.invite-panel {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.invite-dark {
    color: #fff;
    background: var(--invite-charcoal);
}

.invite-paper {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 22% 78%, rgba(112, 104, 94, 0.08)),
        var(--invite-paper);
    color: var(--invite-ink);
    text-align: center;
}

.photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(18, 18, 18, 0.18), rgba(18, 18, 18, 0.42)),
        radial-gradient(circle at 30% 22%, #d9d4ca 0 9%, transparent 10%),
        radial-gradient(circle at 62% 30%, #c4beb5 0 12%, transparent 13%),
        linear-gradient(135deg, #1f1f1f, #77746e 48%, #31312f);
    filter: grayscale(1);
    transform: scale(1.02);
}

.photo--couple {
    background:
        linear-gradient(rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.5)),
        url("../images/vladimir-ekaterina/photo_2026-08-07_07-52-51.jpg") center top / cover;
}

.photo--couple-color {
    background:
        linear-gradient(rgba(18, 18, 18, 0.02), rgba(18, 18, 18, 0.34)),
        url("../images/vladimir-ekaterina/photo_2026-08-07_07-52-51.jpg") center top / cover;
}

.photo--hands {
    background:
        linear-gradient(rgba(20, 20, 20, 0.18), rgba(20, 20, 20, 0.48)),
        radial-gradient(ellipse at 50% 48%, #d8d2c6 0 12%, transparent 13%),
        linear-gradient(150deg, #282827, #6c6b67 55%, #242424);
}

.photo--hall {
    background:
        linear-gradient(rgba(22, 22, 22, 0.2), rgba(22, 22, 22, 0.58)),
        url("../images/vladimir-ekaterina/aura-grand-hall.png") center / cover;
}

.photo--embrace {
    background:
        linear-gradient(rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.38)),
        radial-gradient(circle at 42% 30%, #e0d8ca 0 11%, transparent 12%),
        radial-gradient(circle at 58% 28%, #beb7ad 0 10%, transparent 11%),
        linear-gradient(140deg, #232323, #78746d 50%, #262626);
}

.invite-hero {
    min-height: 450px;
    color: #fff;
}

.hero-stack {
    display: grid;
    gap: 0;
}

.invite-hero--color .photo {
    filter: saturate(0.88) contrast(0.98);
}

.lace-frame {
    position: absolute;
    inset: 70px 44px 80px;
    border: 1px solid rgba(246, 240, 230, 0.78);
    border-radius: 2px;
    box-shadow:
        0 0 0 10px rgba(246, 240, 230, 0.16),
        inset 0 0 0 8px rgba(246, 240, 230, 0.1),
        0 16px 38px rgba(0, 0, 0, 0.2);
    background:
        radial-gradient(circle at 0 0, transparent 0 24px, rgba(246, 240, 230, 0.96) 25px 27px, transparent 28px),
        radial-gradient(circle at 100% 0, transparent 0 24px, rgba(246, 240, 230, 0.96) 25px 27px, transparent 28px),
        radial-gradient(circle at 0 100%, transparent 0 24px, rgba(246, 240, 230, 0.96) 25px 27px, transparent 28px),
        radial-gradient(circle at 100% 100%, transparent 0 24px, rgba(246, 240, 230, 0.96) 25px 27px, transparent 28px);
}

.lace-frame::before,
.lace-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.lace-frame::before {
    inset: -18px;
    border: 1px dotted rgba(246, 240, 230, 0.9);
    background:
        radial-gradient(circle, rgba(246, 240, 230, 0.98) 0 3px, transparent 4px) top left / 18px 18px repeat-x,
        radial-gradient(circle, rgba(246, 240, 230, 0.98) 0 3px, transparent 4px) bottom left / 18px 18px repeat-x,
        radial-gradient(circle, rgba(246, 240, 230, 0.98) 0 3px, transparent 4px) top left / 18px 18px repeat-y,
        radial-gradient(circle, rgba(246, 240, 230, 0.98) 0 3px, transparent 4px) top right / 18px 18px repeat-y;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    padding: 18px;
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.lace-frame::after {
    inset: -22px;
    background:
        radial-gradient(ellipse at center, rgba(246, 240, 230, 0.96) 0 28%, transparent 30%) top left / 74px 42px no-repeat,
        radial-gradient(ellipse at center, rgba(246, 240, 230, 0.96) 0 28%, transparent 30%) top right / 74px 42px no-repeat,
        radial-gradient(ellipse at center, rgba(246, 240, 230, 0.96) 0 28%, transparent 30%) bottom left / 74px 42px no-repeat,
        radial-gradient(ellipse at center, rgba(246, 240, 230, 0.96) 0 28%, transparent 30%) bottom right / 74px 42px no-repeat,
        repeating-radial-gradient(circle at 50% 50%, rgba(246, 240, 230, 0.95) 0 2px, transparent 3px 7px);
    mask:
        linear-gradient(#000 0 0) top / 100% 28px no-repeat,
        linear-gradient(#000 0 0) bottom / 100% 28px no-repeat,
        linear-gradient(#000 0 0) left / 28px 100% no-repeat,
        linear-gradient(#000 0 0) right / 28px 100% no-repeat;
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% 28px no-repeat,
        linear-gradient(#000 0 0) bottom / 100% 28px no-repeat,
        linear-gradient(#000 0 0) left / 28px 100% no-repeat,
        linear-gradient(#000 0 0) right / 28px 100% no-repeat;
}

.hero-names {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Marck Script", cursive;
    font-size: 48px;
    line-height: 0.88;
    text-align: center;
}

.hero-names em {
    font-style: normal;
    font-size: 42px;
}

.hero-date {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    transform: translateX(-50%);
}

.script-title {
    margin: 0;
    font-family: "Marck Script", cursive;
    font-size: 42px;
    line-height: 1;
}

.invite-stage--first .script-title,
.invite-stage--first .hero-names {
    font-family: "MiamaNuevaMedium", "Bikham Cyr Script", "Bickham Script Pro", "Marck Script", cursive;
    font-style: italic;
    font-weight: 400;
}

.invite-stage--first .script-title {
    font-size: 48px;
    line-height: 0.95;
}

.invite-stage--first .hero-names {
    font-size: 54px;
    line-height: 0.9;
}

.invite-stage--first .hero-names em {
    font-size: 40px;
}

.invite-stage--first .lace-frame {
    inset: 54px 30px 62px;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: url("../images/vladimir-ekaterina/lace-frame-pngitem-test.png") center / contain no-repeat;
}

.invite-stage--first .lace-frame::before,
.invite-stage--first .lace-frame::after {
    content: none;
}

.invite-stage--first .hero-names {
    inset: 102px 76px 126px;
    gap: 0;
    justify-content: center;
    font-size: 52px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

.invite-stage--first .hero-date {
    bottom: 24px;
}

.invite-intro {
    overflow: hidden;
    padding: 42px 34px 42px;
}

.invite-intro::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(45, 44, 42, 0.13);
    pointer-events: none;
}

.invite-intro::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -70px;
    width: 250px;
    height: 170px;
    background:
        radial-gradient(circle at 30% 34%, rgba(210, 191, 162, 0.55), transparent 16%),
        radial-gradient(circle at 68% 40%, rgba(255, 255, 255, 0.72), transparent 17%),
        radial-gradient(ellipse at 50% 100%, rgba(210, 191, 162, 0.22), transparent 64%);
    transform: translateX(-50%);
    pointer-events: none;
}

.invite-intro .script-title,
.invite-intro p,
.invite-intro time {
    position: relative;
    z-index: 1;
}

.invite-intro p:not(.script-title),
.invite-rsvp p:not(.script-title),
.story-card p:not(.script-title) {
    margin: 18px auto 0;
    max-width: 290px;
    color: var(--invite-soft-ink);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.wedding-date {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "day month"
        "day year";
    align-items: center;
    column-gap: 14px;
    margin-top: 24px;
    padding: 12px 26px;
    border-top: 1px solid rgba(45, 44, 42, 0.16);
    border-bottom: 1px solid rgba(45, 44, 42, 0.16);
    background: rgba(255, 255, 255, 0.22);
    color: var(--invite-ink);
}

.wedding-date span {
    grid-area: day;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 0.9;
}

.wedding-date em,
.wedding-date strong {
    font-family: "Inter", Arial, sans-serif;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wedding-date em {
    grid-area: month;
    font-size: 11px;
    color: var(--invite-soft-ink);
}

.wedding-date strong {
    grid-area: year;
    font-size: 13px;
    font-weight: 600;
}

.invite-location {
    min-height: 330px;
}

.invite-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px;
    text-align: center;
}

.label {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.label--dark {
    color: var(--invite-ink);
}

.invite-overlay p:not(.label) {
    margin: 12px 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.invite-overlay h2 {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 0.94;
    text-transform: uppercase;
}

.invite-overlay a,
.invite-form button {
    min-width: 104px;
    min-height: 42px;
    border: 1px solid rgba(89, 83, 75, 0.34);
    border-radius: 50%;
    background: var(--invite-paper);
    color: var(--invite-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.invite-map {
    padding: 42px 24px 38px;
}

.invite-map > p:not(.script-title) {
    margin: 16px auto 22px;
    max-width: 280px;
    color: var(--invite-soft-ink);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.map-frame {
    overflow: hidden;
    width: 100%;
    height: 260px;
    border: 1px solid rgba(45, 44, 42, 0.16);
    background: #d8d0c6;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.35) saturate(0.72);
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 18px;
    border: 1px solid rgba(45, 44, 42, 0.28);
    color: var(--invite-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.pearl {
    position: absolute;
    z-index: 2;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 26%, #fff, #d7d0c4 56%, #918a80);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.26);
}

.pearl--one {
    left: 54px;
    bottom: 48px;
}

.pearl--two {
    left: 82px;
    bottom: 76px;
    width: 8px;
    height: 8px;
}

.invite-timing {
    padding: 44px 44px 42px;
    text-align: center;
}

.timing-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    text-align: left;
}

.timing-item {
    display: grid;
    grid-template-columns: 36px 62px 1fr;
    align-items: center;
    gap: 12px;
}

.timing-icon {
    position: relative;
    width: 28px;
    height: 28px;
    opacity: 0.72;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 27px 27px;
}

.timing-item--glasses .timing-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2386827b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h6v6.2a3 3 0 0 1-6 0V4Z'/%3E%3Cpath d='M14 4h6v6.2a3 3 0 0 1-6 0V4Z'/%3E%3Cpath d='M11 13.2V22M17 13.2V22M7.5 22h7M13.5 22h7'/%3E%3Cpath d='M8 8h6M14 8h6'/%3E%3C/g%3E%3C/svg%3E");
}

.timing-item--rings .timing-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2386827b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11.2' cy='16.2' r='6.5'/%3E%3Ccircle cx='16.8' cy='16.2' r='6.5'/%3E%3Cpath d='M12.2 8.1 14 5.7l1.8 2.4M10.6 8.1h6.8'/%3E%3C/g%3E%3C/svg%3E");
}

.timing-item--plate .timing-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2386827b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='14' r='6.4'/%3E%3Cpath d='M4.8 6v16M7.2 6v5.2a2.4 2.4 0 0 1-4.8 0V6M23.5 6v16M23.5 6c-2.2 1.8-2.9 4.4-2.4 7h2.4'/%3E%3C/g%3E%3C/svg%3E");
}

.timing-item--moon .timing-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2386827b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.7 20.8A9 9 0 0 1 9.2 8.3 7.4 7.4 0 1 0 19.7 20.8Z'/%3E%3Cpath d='M20.8 5.2v4.2M18.7 7.3h4.2'/%3E%3C/g%3E%3C/svg%3E");
}

.timing-item time {
    color: var(--invite-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.timing-item p {
    margin: 0;
    color: var(--invite-soft-ink);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.invite-story {
    min-height: 0;
}

.story-card {
    padding: 48px 32px 40px;
    background: var(--invite-paper);
    color: var(--invite-ink);
    text-align: center;
}

.dress-reference {
    overflow: hidden;
    margin: 24px auto 0;
    max-width: 260px;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(45, 44, 42, 0.14);
    background: var(--invite-paper);
}

.dress-reference img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
    filter: grayscale(0.2) contrast(0.98);
    mix-blend-mode: multiply;
}

.invite-rsvp {
    padding: 50px 32px 46px;
}

.invite-gallery {
    padding: 44px 22px 48px;
    border-top: 1px solid rgba(45, 44, 42, 0.1);
}

.invite-gallery > p:not(.script-title) {
    margin: 18px auto 24px;
    max-width: 290px;
    color: var(--invite-soft-ink);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 5px;
    border: 1px solid rgba(45, 44, 42, 0.14);
    background: rgba(246, 242, 235, 0.72);
    cursor: pointer;
}

.gallery-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 5px solid rgba(246, 240, 230, 0.62);
    opacity: 0;
    transition: opacity 160ms ease;
}

.gallery-thumb:hover::after,
.gallery-thumb:focus-visible::after {
    opacity: 1;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.invite-organizers {
    padding: 44px 32px 48px;
    border-top: 1px solid rgba(45, 44, 42, 0.1);
}

.invite-comments {
    padding: 46px 32px 48px;
    border-top: 1px solid rgba(45, 44, 42, 0.1);
}

.invite-comments > p:not(.script-title) {
    margin: 18px auto 24px;
    max-width: 290px;
    color: var(--invite-soft-ink);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.comments-placeholder {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px dashed rgba(45, 44, 42, 0.22);
    background: rgba(255, 255, 255, 0.28);
}

.comments-placeholder span {
    display: block;
    height: 12px;
    background: linear-gradient(90deg, rgba(45, 44, 42, 0.12), rgba(45, 44, 42, 0.04));
}

.comments-placeholder span:nth-child(2) {
    width: 78%;
}

.comments-placeholder span:nth-child(3) {
    width: 54%;
}

.invite-organizers > p:not(.script-title) {
    margin: 18px auto 24px;
    max-width: 280px;
    color: var(--invite-soft-ink);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.organizer-list {
    display: grid;
    gap: 12px;
}

.organizer-list a {
    display: grid;
    gap: 4px;
    padding: 16px 14px;
    border: 1px solid rgba(45, 44, 42, 0.14);
    color: var(--invite-ink);
    text-decoration: none;
}

.organizer-list span {
    color: var(--invite-soft-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.organizer-list strong {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.invite-form {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.invite-form label {
    display: grid;
    gap: 6px;
    color: var(--invite-soft-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: left;
    text-transform: uppercase;
}

.invite-form .privacy-check {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    color: var(--invite-soft-ink);
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.privacy-check input {
    width: 14px;
    height: 14px;
    margin: 2px 0 0;
    accent-color: var(--invite-ink);
}

.privacy-check a {
    color: var(--invite-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.invite-form input,
.invite-form select,
.invite-form textarea {
    width: 100%;
    border: 1px solid rgba(45, 44, 42, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.48);
    color: var(--invite-ink);
    font: 14px/1.5 "Inter", Arial, sans-serif;
    padding: 12px 13px;
}

.invite-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--invite-soft-ink) 50%),
        linear-gradient(135deg, var(--invite-soft-ink) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    color: var(--invite-soft-ink);
}

.invite-form button {
    margin: 8px auto 0;
    cursor: pointer;
}

.invite-form button:disabled {
    opacity: 0.58;
    cursor: wait;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 18px;
    margin: -2px 0 0;
    color: var(--invite-soft-ink);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-status[data-status="success"] {
    color: #426143;
}

.form-status[data-status="error"] {
    color: #8a3d36;
}

.invite-final {
    min-height: 390px;
    color: #fff;
    text-align: center;
}

.envelope {
    position: absolute;
    left: 50%;
    top: 42px;
    z-index: 1;
    width: 132px;
    height: 86px;
    background: var(--invite-paper);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) rotate(-9deg);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.envelope::before,
.envelope::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, transparent 49%, rgba(120, 113, 105, 0.32) 50%, transparent 51%),
        linear-gradient(35deg, transparent 49%, rgba(120, 113, 105, 0.26) 50%, transparent 51%);
}

.monogram {
    position: absolute;
    right: 42px;
    bottom: 42px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 94px;
    height: 106px;
    border: 10px solid #d2bfa2;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Marck Script", cursive;
    font-size: 42px;
    line-height: 1;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);
}

.invite-final .script-title {
    position: absolute;
    left: 44px;
    bottom: 92px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.couple-sign {
    position: absolute;
    left: 46px;
    bottom: 52px;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 58px 18px;
    background: rgba(30, 30, 29, 0.86);
    backdrop-filter: blur(8px);
}

.gallery-lightbox figure {
    position: relative;
    width: min(100%, 430px);
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.gallery-lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border: 10px solid var(--invite-paper);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.36);
}

.gallery-lightbox figcaption {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
    position: fixed;
    z-index: 51;
    display: grid;
    place-items: center;
    border: 1px solid rgba(246, 240, 230, 0.46);
    background: rgba(246, 240, 230, 0.1);
    color: #fff;
    cursor: pointer;
}

.gallery-lightbox__close {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 30px;
    line-height: 1;
}

.gallery-lightbox__nav {
    top: 50%;
    width: 42px;
    height: 58px;
    font-size: 42px;
    line-height: 1;
    transform: translateY(-50%);
}

.gallery-lightbox__nav--prev {
    left: 14px;
}

.gallery-lightbox__nav--next {
    right: 14px;
}

body.gallery-is-open {
    overflow: hidden;
}

.policy-page {
    width: min(100%, 760px);
    padding: 54px clamp(24px, 6vw, 70px) 64px;
    text-align: left;
}

.policy-page .script-title {
    margin-bottom: 24px;
    text-align: center;
}

.policy-note,
.policy-page p {
    color: var(--invite-soft-ink);
    font-size: 13px;
    line-height: 1.75;
}

.policy-page section {
    padding-top: 22px;
    border-top: 1px solid rgba(45, 44, 42, 0.1);
}

.policy-page h2 {
    margin: 0 0 8px;
    color: var(--invite-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.standalone-page {
    position: relative;
    width: min(100%, 520px);
    padding: 56px clamp(24px, 7vw, 70px) 62px;
    box-shadow: 0 24px 54px rgba(31, 31, 31, 0.22);
}

.standalone-page p {
    margin: 0 auto;
    max-width: 360px;
    color: var(--invite-soft-ink);
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 0.03em;
}

.standalone-page .section-kicker {
    margin-bottom: 14px;
    color: var(--invite-ink);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.standalone-page .script-title {
    margin-bottom: 22px;
}

.home-page h1 {
    margin: 0 auto 30px;
    max-width: 340px;
    color: var(--invite-ink);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-contacts {
    display: grid;
    gap: 12px;
}

.home-contacts a {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid rgba(45, 44, 42, 0.14);
    color: var(--invite-ink);
    text-decoration: none;
}

.home-contacts span {
    color: var(--invite-soft-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.home-contacts strong {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.home-social {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.vk-link {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(45, 44, 42, 0.22);
    border-radius: 50%;
    color: var(--invite-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.vk-link:hover {
    color: var(--invite-ink);
    border-color: rgba(45, 44, 42, 0.42);
}

.invite-stage--alt-palette {
    --invite-ink: #312820;
    --invite-soft-ink: #776b5d;
    --invite-paper: #f4eadc;
    --invite-paper-deep: #e3d2bd;
    --invite-smoke: #7f806d;
    --invite-charcoal: #302f29;
    --invite-line: rgba(244, 234, 220, 0.46);
}

.wedding-page:has(.invite-stage--alt-palette) {
    background:
        radial-gradient(circle at 24px 24px, rgba(255, 248, 235, 0.46) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 12%, rgba(216, 187, 141, 0.28), transparent 28%),
        linear-gradient(135deg, rgba(255, 250, 239, 0.13) 25%, transparent 25% 50%, rgba(255, 250, 239, 0.09) 50% 75%, transparent 75%),
        #85836f;
    background-size: 48px 48px, auto, 18px 18px, auto;
}

.invite-stage--alt-palette .invite-paper {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 20% 78%, rgba(139, 112, 80, 0.08)),
        var(--invite-paper);
}

.invite-stage--alt-palette .invite-dark {
    background: linear-gradient(145deg, #292824, #4e4d42);
}

.invite-stage--alt-palette .lace-frame {
    border-color: rgba(229, 211, 183, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.42),
        0 0 0 9px rgba(181, 155, 118, 0.18);
}

.invite-stage--alt-palette .wedding-date,
.invite-stage--alt-palette .outline-button,
.invite-stage--alt-palette .invite-form button {
    border-color: rgba(135, 111, 77, 0.36);
}

.invite-stage--alt-palette .wedding-date {
    background: rgba(255, 252, 245, 0.36);
}

.invite-stage--alt-palette .monogram {
    border-color: #d8bb8d;
}

.alt-invite {
    min-height: 100vh;
    padding: 42px 18px 70px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.86)),
        url("../images/vladimir-ekaterina/photo_2026-08-07_07-53-08.jpg") center / cover fixed,
        #050505;
    color: #f5f0e8;
}

.alt-hero {
    width: min(100%, 860px);
    margin: 0 auto 34px;
}

.alt-hero p {
    margin: 0 0 8px;
    color: rgba(245, 240, 232, 0.76);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.alt-hero h1 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(52px, 10vw, 106px);
    font-weight: 500;
    line-height: 0.86;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.alt-hero time {
    display: inline-flex;
    margin-top: 20px;
    padding: 8px 18px;
    border: 1px solid rgba(245, 240, 232, 0.42);
    color: #f5f0e8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.alt-columns {
    display: grid;
    gap: 26px;
    width: min(100%, 690px);
    margin: 0 auto;
}

.alt-column {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(245, 240, 232, 0.22);
    border-radius: 10px;
    box-shadow: 0 28px 62px rgba(0, 0, 0, 0.48);
}

.alt-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.alt-card--light {
    padding: 42px 28px;
    background: #f6f2eb;
    color: #202020;
}

.alt-card--dark {
    padding: 42px 28px;
    background: #0d0d0d;
    color: #f6f2eb;
}

.alt-card--photo {
    min-height: 320px;
    background: #111;
}

.alt-card--photo img,
.alt-dress img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alt-card--photo img {
    position: absolute;
    inset: 0;
    filter: grayscale(1) contrast(1.08);
}

.alt-card--main-photo {
    min-height: 560px;
    border-radius: 10px 10px 0 0;
}

.alt-card--main-photo img {
    object-position: center top;
}

.alt-card--main-photo-color img {
    filter: none;
}

.alt-card--main-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.08), transparent 28%),
        linear-gradient(transparent 54%, rgba(0, 0, 0, 0.78));
    pointer-events: none;
}

.alt-lace-frame {
    z-index: 1;
    inset: 22px clamp(12px, 3.5vw, 34px) 92px;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: url("../images/vladimir-ekaterina/lace-frame-pngitem-test.png") center / contain no-repeat;
}

.alt-lace-frame::before,
.alt-lace-frame::after {
    content: none;
}

.alt-card--between {
    min-height: 250px;
}

.alt-photo-caption {
    position: absolute;
    inset: auto 22px 28px;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.alt-script {
    margin: 0;
    font-family: "Honey", "Blante Panama Script Regular", "Marck Script", cursive;
    font-size: clamp(52px, 11vw, 76px);
    line-height: 0.88;
}

.alt-photo-caption p {
    display: grid;
    gap: 2px;
    margin: 0 auto;
    max-width: 350px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 46px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.48);
}

.alt-photo-caption p span {
    display: block;
    font: inherit;
    letter-spacing: inherit;
}

.alt-photo-caption > span {
    display: block;
    margin-top: 58px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.alt-photo-caption time {
    display: block;
    margin-top: 26px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.alt-card p:not(.alt-script),
.alt-card h2 {
    margin-left: auto;
    margin-right: auto;
}

.alt-card p:not(.alt-script) {
    max-width: 290px;
    color: inherit;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: 0.04em;
}

.alt-card--light p:not(.alt-script) {
    color: #5f5c56;
}

.alt-card .alt-photo-caption p {
    display: grid;
    gap: 4px;
    max-width: 100%;
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(31px, 8.7vw, 42px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
}

.alt-card .alt-photo-caption {
    left: clamp(34px, 9vw, 110px);
    right: clamp(34px, 9vw, 110px);
    bottom: auto;
    top: 125px;
    display: grid;
    align-content: start;
}

.alt-card .alt-photo-caption time {
    position: fixed;
    left: -100vw;
}

.alt-card--main-photo .alt-photo-caption time {
    position: absolute;
    left: 50%;
    top: 338px;
    width: max-content;
    margin-top: 0;
    transform: translateX(-50%);
}

.alt-card--main-photo-clean .alt-photo-caption {
    left: 28px;
    right: 28px;
    top: 210px;
}

.alt-card--main-photo-clean .alt-photo-caption time {
    top: 270px;
    font-family: "Honey", "Blante Panama Script Regular", "Marck Script", cursive;
    font-size: clamp(42px, 11vw, 62px);
    font-weight: 400;
    letter-spacing: 0;
}

.alt-card .alt-photo-caption p {
    font-family: "Honey", "Blante Panama Script Regular", "Marck Script", cursive;
    font-size: clamp(58px, 15vw, 82px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: none;
}

.alt-card h2 {
    margin-top: 16px;
    margin-bottom: 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alt-location {
    min-height: 430px;
    display: grid;
    align-content: center;
    justify-items: center;
    background:
        linear-gradient(rgba(246, 242, 235, 0.14), rgba(246, 242, 235, 0.64) 46%, rgba(246, 242, 235, 0.9)),
        url("../images/vladimir-ekaterina/aura-grand-hall.png") center / cover;
}

.alt-location .alt-script,
.alt-location h2,
.alt-location p,
.alt-location a {
    position: relative;
    z-index: 1;
}

.alt-card a {
    display: inline-flex;
    margin-top: 16px;
    color: inherit;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.alt-timing {
    padding-top: 36px;
    padding-bottom: 36px;
}

.alt-timeline {
    display: grid;
    gap: 18px;
    margin-top: 26px;
    text-align: left;
}

.alt-timeline-item {
    display: grid;
    grid-template-columns: 48px 28px 1fr;
    align-items: center;
    min-height: 74px;
}

.alt-timeline-item time {
    writing-mode: vertical-rl;
    align-self: center;
    justify-self: center;
    color: #7b766e;
    font-size: 16px;
    letter-spacing: 0.1em;
    transform: rotate(180deg);
}

.alt-timeline-line {
    position: relative;
    height: 100%;
}

.alt-timeline-line::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(32, 32, 32, 0.18);
}

.alt-timeline-line::after {
    content: none;
}

.alt-card .alt-timeline-item p {
    margin: 0;
    padding: 0 0 0 10px;
    color: #202020;
    font-family: "Honey", "Blante Panama Script Regular", "Marck Script", cursive;
    font-size: clamp(38px, 8vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: none;
}

.alt-timeline-item small {
    display: block;
    max-width: 210px;
    padding: 2px 0 18px 10px;
    color: #5f5c56;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.04em;
}

.alt-dress {
    padding-bottom: 0;
}

.alt-dress-palette {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 22px;
}

.alt-dress-palette span {
    width: 34px;
    height: 9px;
    border: 1px solid rgba(32, 32, 32, 0.18);
}

.alt-dress-palette span:nth-child(1) {
    background: #050505;
}

.alt-dress-palette span:nth-child(2) {
    background: #292929;
}

.alt-dress-palette span:nth-child(3) {
    background: #747474;
}

.alt-dress img {
    height: auto;
    margin-bottom: -10px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(0.15);
    mix-blend-mode: multiply;
}

.alt-map .map-frame {
    margin-top: 20px;
    height: 260px;
}

.alt-details {
    display: grid;
    justify-items: center;
    min-height: 320px;
    align-content: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.82)),
        url("../images/vladimir-ekaterina/photo_2026-08-07_07-53-11.jpg") center / cover;
}

.alt-details a {
    margin-top: 12px;
}

.alt-rsvp .invite-form {
    margin-top: 22px;
}

.alt-rsvp .privacy-check {
    grid-template-columns: 16px max-content;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.alt-rsvp .privacy-check input {
    margin-top: 0;
}

@media (max-width: 520px) {
    .alt-rsvp .privacy-check {
        grid-template-columns: 16px 1fr;
        justify-content: start;
        white-space: normal;
    }
}

.alt-gallery {
    width: min(100%, 760px);
    margin: 34px auto 0;
    padding: 38px 28px;
    background: #f6f2eb;
    color: #202020;
    text-align: center;
}

.alt-gallery .gallery-grid {
    margin-top: 28px;
}

.alt-comments,
.alt-final {
    width: min(100%, 760px);
    margin: 0 auto;
}

.alt-comments {
    margin-top: 34px;
}

.alt-final {
    min-height: 430px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: 0 28px 62px rgba(0, 0, 0, 0.48);
}

@media (min-width: 860px) {
    .alt-columns {
        grid-template-columns: 1fr;
        align-items: start;
        width: min(100%, 780px);
    }

    .alt-column--right {
        margin-top: 0;
    }

    .alt-gallery,
    .alt-comments,
    .alt-final {
        width: min(100%, 780px);
    }
}

.standalone-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    margin-top: 30px;
}

.outline-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--invite-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

.outline-button {
    min-height: 42px;
    padding: 0 28px;
    border: 1px solid rgba(45, 44, 42, 0.26);
    border-radius: 999px;
}

.text-link {
    min-height: 42px;
    color: var(--invite-soft-ink);
}

.outline-button:hover,
.text-link:hover {
    color: var(--invite-ink);
}

@media (min-width: 920px) {
    .invite-stage {
        align-items: flex-start;
        padding-top: 72px;
    }

    .invite-board {
        width: min(88vw, 920px);
        display: grid;
        grid-template-columns: 390px 390px;
        gap: 46px;
        align-items: start;
    }

    .invite-comments {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .invite-stage {
        padding: 28px 12px 66px;
    }

    .invite-hero {
        min-height: 420px;
    }

    .lace-frame {
        inset: 15px 7px 170px;
    }
}
