.hero-copy h1 {
    margin-bottom: 30px;
}


.hero-details .invite-badge {
    position: relative;
    z-index: 999;
}

.hero-photo {
    overflow: visible;
    background: transparent;
}

.hero-photo::after {
    border-radius: 30px;
}

.photo-accent {
    display: none;
}

.hero-photo img {
    z-index: 2;
}

.bank-card {
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid rgba(103, 79, 45, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 24px rgba(103, 79, 45, 0.08);
}

.bank-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bank-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(103, 79, 45, 0.2);
}

.bank-card-heading strong { font-size: 20px; }
.bank-card-heading span { padding: 3px 8px; border-radius: 999px; background: var(--cream); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; }
.bank-card dl { display: grid; grid-template-columns: minmax(88px, .85fr) minmax(0, 1fr); gap: 5px 10px; margin: 0; }
.bank-card dt { color: var(--muted); font-size: 13px; }
.bank-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }

.hero-verse,
.closing-verse {
    margin: 22px 0 0;
    color: var(--brown-soft);
    font-family: Georgia, serif;
    font-style: italic;
}

.hero-verse p,
.closing-verse p {
    margin: 0;
}

.hero-verse {
    max-width: 540px;
    font-size: 14px;
    line-height: 1.55;
}

.hero-verse cite,
.closing-verse cite {
    display: block;
    margin-top: 7px;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gallery-carousel { position: relative; margin-top: 34px; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 430px); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 18px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { height: 590px; padding: 0; overflow: hidden; scroll-snap-align: start; border: 0; border-radius: 6px; background: transparent; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.carousel-button { position: absolute; top: 50%; z-index: 4; width: 52px; height: 52px; transform: translateY(-50%); border: 1px solid var(--brown); border-radius: 50%; background: rgba(255, 253, 248, 0.92); color: var(--brown); font-size: 38px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.carousel-button.previous { left: 8px; }
.carousel-button.next { right: 8px; }
.gallery-help { text-align: center; color: var(--muted); font-size: 13px; }

.dress-code { width: 100%; padding-bottom: 0; }
.dress-heading { display: block; }
.dress-heading p { max-width: 680px; margin: -16px 0 30px; color: var(--muted); }
.dress-grid { width: 100%; height: min(78vw, 900px); grid-template-columns: repeat(4, 1fr); }
.dress-grid button { min-width: 0; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.dress-grid button:nth-child(-n+4) { grid-row: 1; }
.dress-grid button:nth-child(n+5) { grid-row: 2; }
.dress-grid button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.dress-grid button:hover img { transform: scale(1.035); }

.media-dialog { width: min(1180px, calc(100% - 28px)); max-width: none; height: min(88vh, 820px); padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #15120e; color: white; box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55); }
.media-dialog::backdrop { background: rgba(20, 15, 10, 0.9); backdrop-filter: blur(5px); }
.media-dialog-close { position: absolute; top: 14px; right: 18px; z-index: 10; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(20,15,10,.72); color: white; font-size: 30px; cursor: pointer; }
.video-frame { position: relative; display: flex; width: 100vw; height: 100vh; padding: 0; align-items: center; justify-content: center; overflow: hidden; background: #15120e; }
.video-frame video { display: block; width: 100vw !important; height: 100vh !important; min-width: 0; min-height: 0; max-width: 100vw !important; max-height: 100vh !important; object-fit: contain !important; object-position: center; }
.story-video-dialog { inset: 0; width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border-radius: 0; }
.audio-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid rgba(103,79,45,.45); border-radius: 50%; background: rgba(255,253,248,.92); color: var(--brown); font-size: 22px; cursor: pointer; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.audio-toggle::after { content: ""; position: absolute; width: 3px; height: 30px; border-radius: 999px; background: currentColor; transform: rotate(-42deg); transition: opacity .18s ease; }
.audio-toggle.is-playing::after { opacity: 0; }

.lightbox-dialog { width: min(96vw, 1600px); height: 96vh; }
.lightbox-dialog figure { position: relative; display: flex; width: 100%; height: 100%; margin: 0; padding: 20px 70px 48px; align-items: center; justify-content: center; }
.lightbox-dialog figure img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-control { position: absolute; top: 50%; z-index: 5; width: 54px; height: 68px; transform: translateY(-50%); border: 0; border-radius: 8px; background: rgba(20,15,10,.65); color: white; font-size: 42px; cursor: pointer; }
.lightbox-control.previous { left: 12px; }
.lightbox-control.next { right: 12px; }

@media (max-width: 760px) {
    .hero-copy h1 { margin-bottom: 18px; }
    .hero-details .date { padding: 10px 14px 16px; }
    .photo-accent { top: 35px; right: -12px; width: 150px; height: 150px; }
    .bank-card { padding: 11px 12px; text-align: left; }
    .bank-cards { grid-template-columns: 1fr; gap: 10px; }
    .bank-card dl { grid-template-columns: 96px 1fr; column-gap: 8px; }
    .gallery-track { grid-auto-columns: 82vw; padding-inline: 0; }
    .gallery-item { height: 420px; }
    .carousel-button { width: 42px; height: 42px; font-size: 30px; }
    .dress-heading { display: block; }
    .dress-heading p { margin-top: -18px; }
    .dress-grid { height: 720px; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
    .dress-grid button:nth-child(n) { grid-row: auto; }
    .media-dialog { width: calc(100% - 18px); height: 84vh; }
    .story-video-dialog { width: 100vw; height: 100vh; }
    .audio-toggle { right: 14px; bottom: 14px; width: 42px; height: 42px; font-size: 20px; }
    .lightbox-control { width: 42px; height: 58px; }
    .lightbox-dialog figure { padding: 54px 10px 44px; }
    .hero-verse { font-size: 11px; text-align: center; }
}

/* Keep the complete desktop invitation hero within the opening viewport. */
@media (min-width: 761px) {
    .brand {
        font-size: 23px;
    }

    .registry-photo span {
        top: -24px;
        height: 179px;
    }

    .site-header {
        width: min(1160px, calc(100% - 48px));
        margin-inline: auto;
        padding-inline: 0;
        background: transparent;
    }

    .site-header::before {
        content: "";
        position: absolute;
        inset: 0 calc((100vw - 100%) / -2) 0 55%;
        z-index: -1;
        background: var(--cream);
    }

    .hero {
        height: calc(100svh - 110px);
        min-height: 0;
        grid-template-columns: 48% 44%;
        grid-template-rows: auto 1fr;
        padding-top: clamp(32px, 2vh, 22px);
        isolation: isolate;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        right: calc((100vw - 100%) / -2);
        z-index: -1;
        width: calc(45% + (100vw - 100%) / 2);
        height: clamp(240px, 42vh, 360px);
        background: var(--cream);
    }

    .hero-copy h1 {
        margin-bottom: clamp(14px, 2.2vh, 24px);
    }

    .hero-copy h1 em {
        font-size: clamp(70px, 9vh, 90px);
    }

    .hero-photo {
        height: min(620px, calc(100svh - 150px));
        width: auto;
        max-width: 100%;
        aspect-ratio: 2993 / 4096;
        margin-top: 0;
        align-self: start;
        justify-self: center;
        transform: translate(clamp(-70px, -5.5vw, -38px), -10px);
    }

    .hero-photo img {
        object-fit: contain;
        object-position: center top;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    .hero-details {
        padding-bottom: clamp(10px, 2vh, 20px);
    }

    .hero-details .date-row {
        margin: clamp(10px, 1.8vh, 20px) 0 clamp(14px, 2vh, 24px);
    }

    .hero-details .date {
        font-size: clamp(64px, 9vh, 96px);
    }

    .hero-details .invite-badge {
        flex-basis: clamp(88px, 11vh, 106px);
        width: clamp(88px, 11vh, 106px);
        height: clamp(88px, 11vh, 106px);
    }

    .hero-details > p:not(.date) {
        font-size: clamp(15px, 1.8vh, 18px);
    }

    .hero-details .hero-verse {
        width: 100%;
        max-width: 620px;
        margin-top: clamp(8px, 1.2vh, 14px);
        font-size: clamp(10px, 1.25vh, 11.5px);
        line-height: 1.4;
    }

    .hero-details .hero-verse cite {
        margin-top: 4px;
        font-size: 9px;
    }

    .hero-details .button {
        margin-top: clamp(10px, 1.5vh, 17px);
        padding-block: clamp(12px, 1.7vh, 15px);
    }
}

/* Keep the complete opening invitation visible on shorter laptop screens. */
@media (min-width: 761px) and (max-height: 900px) {
    .hero {
        padding-top: 16px;
    }

    .hero-copy h1 {
        margin-bottom: 9px;
        font-size: 30px;
        line-height: 1.05;
    }

    .hero-copy h1 em {
        margin-top: 4px;
        font-size: 66px;
    }

    .hero-copy p {
        font-size: 15px;
        line-height: 1.35;
    }

    .hero-copy small {
        margin-top: 5px;
        font-size: 14px;
    }

    .hero-photo {
        height: min(580px, calc(100svh - 140px));
    }

    .hero-details .date-row {
        gap: 18px;
        margin: 6px 0 10px;
    }

    .hero-details .date {
        font-size: 64px;
    }

    .hero-details .invite-badge {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
        font-size: 14px;
    }

    .hero-details > p:not(.date) {
        margin: 3px 0;
        font-size: 15px;
        line-height: 1.35;
    }

    .hero-details .hero-verse {
        margin-top: 25px;
        font-size: 11px;
        line-height: 1.35;
    }

    .hero-details .hero-verse cite {
        margin-top: 10px;
        font-size: 10px;
    }

    .hero-details .button {
        margin-top: 8px;
        padding: 10px 26px;
    }
}

/* RSVP form */
.rsvp-form[hidden] {
    display: none !important;
}

.rsvp-dialog {
    width: min(760px, calc(100% - 32px));
    max-height: calc(100svh - 32px);
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--brown);
    box-shadow: 0 22px 70px rgba(39, 32, 24, 0.28);
}

.rsvp-dialog:focus {
    outline: none;
}

.rsvp-dialog::backdrop {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(9px);
}

.rsvp-form {
    max-height: calc(100svh - 32px);
    padding: 28px 38px 34px;
    overflow-y: auto;
    background: #fff;
}

.rsvp-form [hidden] {
    display: none !important;
}

.rsvp-form-heading {
    display: flex;
    min-height: 54px;
    align-items: start;
    justify-content: space-between;
    border-bottom: 1px solid rgba(103, 79, 45, 0.18);
}

.rsvp-form .rsvp-form-heading h2 {
    margin: 0;
    font-family: Italianno, cursive;
    font-size: 48px;
    font-weight: 400;
    line-height: 0.95;
}

.rsvp-form .dialog-close {
    position: static;
    width: 42px;
    height: 42px;
    margin: -8px -8px 0 20px;
    padding: 0;
    color: #242424;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.rsvp-form .rsvp-choice {
    display: block;
    margin: 24px 6px 14px;
    padding: 0;
    border: 0;
    font-weight: 400;
}

.rsvp-form .rsvp-choice legend {
    margin-bottom: 2px;
    color: #8d8d8d;
    font-size: 18px;
    font-weight: 300;
}

.rsvp-form .rsvp-choice legend span {
    color: #db3b2f;
}

.rsvp-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.rsvp-form .radio {
    display: inline-flex;
    margin: 0;
    align-items: center;
    gap: 7px;
    color: #272727;
    font-size: 15px;
    font-weight: 400;
}

.rsvp-form .radio input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #e0a500;
}

.rsvp-form .rsvp-field {
    display: block;
    margin: 12px 6px;
}

.rsvp-form .rsvp-field input,
.rsvp-form .rsvp-field textarea {
    width: 100%;
    border: 1px solid #292929;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    color: #2b2b2b;
    font-size: 15px;
    font-weight: 400;
}

.rsvp-form .rsvp-field input {
    min-height: 56px;
}

.rsvp-form .rsvp-field textarea {
    min-height: 112px;
    resize: vertical;
}

.rsvp-form .rsvp-field input::placeholder,
.rsvp-form .rsvp-field textarea::placeholder {
    color: #999;
    opacity: 1;
}

.rsvp-form .plus-one-question {
    margin-top: 20px;
}

.rsvp-form .plus-one-details {
    display: block;
    margin: 22px 4px 16px;
    padding: 8px 8px 2px;
    border: 1px solid #e0a500;
    border-radius: 9px;
}

.rsvp-form .plus-one-details legend {
    padding: 0 4px;
    color: #8d8d8d;
    font-size: 14px;
}

.rsvp-form .plus-one-details .rsvp-field {
    margin: 8px 2px 10px;
}

.rsvp-form .plus-one-details .rsvp-field input {
    min-height: 48px;
    border-color: #d2d2d2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.rsvp-form .relationship-field {
    margin-top: 22px;
}

.rsvp-form .gift-registry-choice {
    display: block;
    margin: 22px 4px 16px;
    padding: 12px;
    border: 1px solid #e0a500;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
}

.rsvp-form .gift-registry-choice legend {
    padding: 0 4px;
    color: #8d8d8d;
    font-size: 14px;
    font-weight: 600;
}

.gift-registry-note {
    margin: 0 0 3px;
    color: var(--brown-soft);
    font-size: 13px;
    line-height: 1.4;
}

.gift-status-message {
    margin: 5px 0 12px;
    color: var(--muted);
    font-size: 12px;
}

.gift-status-message.is-error {
    color: #9d3c32;
}

.gift-choice-list {
    display: grid;
    gap: 8px;
    max-height: 310px;
    padding-right: 7px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(103, 79, 45, .45) transparent;
    scrollbar-width: thin;
}

.gift-choice-list::-webkit-scrollbar {
    width: 7px;
}

.gift-choice-list::-webkit-scrollbar-track {
    background: transparent;
}

.gift-choice-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(103, 79, 45, .4);
}

.gift-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 64px;
    padding: 11px 12px;
    align-items: center;
    border: 1px solid rgba(103, 79, 45, 0.2);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.gift-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(103, 79, 45, 0.55);
}

.gift-choice:has(input:checked) {
    border-color: #e0a500;
    background: #fff7dc;
}

.gift-choice input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brown);
}

.gift-choice-copy {
    min-width: 0;
}

.gift-choice-copy strong,
.gift-choice-copy small {
    display: block;
}

.gift-choice-copy strong {
    color: #332a20;
    font-size: 13px;
    line-height: 1.35;
}

.gift-choice-copy small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.gift-availability {
    padding: 3px 8px;
    border-radius: 999px;
    background: #f0eadb;
    color: var(--brown);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.gift-choice.is-reserved {
    border-color: #ddd;
    background: #ededed;
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: .7;
}

.gift-choice.is-reserved:hover {
    transform: none;
    border-color: #ddd;
}

.gift-choice.is-reserved .gift-availability {
    background: #d4d4d4;
    color: #666;
}

.gift-or-divider {
    display: flex;
    margin: 18px 0 14px;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gift-or-divider::before,
.gift-or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(103, 79, 45, .2);
}

.gift-bank-options {
    padding: 14px;
    border: 1px solid rgba(103, 79, 45, .22);
    border-radius: 10px;
    background: #fff;
}

.gift-bank-intro {
    display: flex;
    margin-bottom: 11px;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.gift-bank-intro strong {
    color: #332a20;
    font-size: 14px;
}

.gift-bank-intro small {
    color: var(--muted);
    font-size: 10px;
    text-align: right;
}

.gift-bank-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.gift-bank-card {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(103, 79, 45, .22);
    border-radius: 9px;
    background: #fffdf8;
}

.gift-bank-card h3 {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(103, 79, 45, .16);
    color: var(--brown);
    font-size: 16px;
}

.gift-bank-card dl {
    display: grid;
    grid-template-columns: minmax(88px, .9fr) minmax(0, 1fr);
    gap: 4px 8px;
    margin: 0;
}

.gift-bank-card dt,
.gift-bank-card dd {
    font-size: 10px;
    line-height: 1.35;
}

.gift-bank-card dt {
    color: var(--muted);
}

.gift-bank-card dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #332a20;
    font-weight: 700;
}

.rsvp-submit-row {
    display: flex;
    justify-content: flex-end;
    margin: 28px 4px 0;
}

.rsvp-form .submit-rsvp {
    width: min(300px, 100%);
    min-height: 58px;
    margin: 0;
    font-weight: 700;
}

.rsvp-form .success-message {
    margin: 18px 6px 8px;
}

.closing .closing-verse {
    max-width: 720px;
    margin: 48px auto 0;
    font-size: 19px;
    line-height: 1.6;
}

.closing {
    padding-top: 30px;
}

.closing .closing-verse p {
    margin: 0;
}

@media (max-width: 760px) {
    .rsvp-dialog {
        width: calc(100% - 20px);
        max-height: calc(100svh - 20px);
    }

    .rsvp-form {
        max-height: calc(100svh - 20px);
        padding: 23px 17px 26px;
    }

    .rsvp-form .rsvp-form-heading h2 {
        font-size: 41px;
    }

    .rsvp-form .rsvp-choice {
        margin-inline: 2px;
    }

    .rsvp-form .rsvp-choice legend {
        font-size: 16px;
    }

    .rsvp-form .rsvp-field {
        margin-inline: 2px;
    }

    .rsvp-form .gift-registry-choice {
        margin-inline: 2px;
        padding: 11px;
    }

    .gift-choice {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 9px;
    }

    .gift-choice-list {
        max-height: 265px;
        padding-right: 5px;
    }

    .gift-availability {
        grid-column: 2;
        width: max-content;
        margin-top: -5px;
    }

    .gift-bank-intro {
        display: block;
    }

    .gift-bank-intro small {
        display: block;
        margin-top: 3px;
        text-align: left;
    }

    .gift-bank-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-submit-row {
        margin-inline: 2px;
    }

    .rsvp-form .submit-rsvp {
        width: 100%;
    }

    .closing .closing-verse {
        margin-top: 36px;
        font-size: 14px;
    }
}

/* Compact mobile invitation flow. */
@media (max-width: 760px) {
    .site-header {
        height: 78px;
    }

    .brand {
        flex-flow: row wrap;
        column-gap: 5px;
        font-size: 18px;
        line-height: 0.95;
    }

    .brand .brand-name:first-child {
        flex-basis: 100%;
    }

    .hero {
        display: flex;
        height: auto;
        min-height: 0;
        padding-top: 10px;
    }

    .hero-copy {
        order: 1;
    }

    .hero-copy h1 {
        margin-bottom: 14px;
    }

    .hero-copy h1 em {
        font-size: clamp(58px, 17vw, 68px);
        line-height: 0.78;
    }

    .hero-copy p {
        line-height: 1.35;
    }

    .hero-copy small {
        margin-top: 7px;
        line-height: 1.35;
    }

    .hero-photo {
        order: 2;
        width: auto;
        max-width: 100%;
        height: clamp(300px, calc(100svh - 360px), 520px);
        aspect-ratio: 2993 / 4096;
        margin: 14px 0 16px;
        align-self: center;
        border-radius: 26px;
    }

    .hero-photo img {
        object-fit: contain;
        object-position: center top;
        border-radius: 26px;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    .hero-details {
        display: contents;
    }

    .hero-details > * {
        order: 5;
    }

    .hero-details .hero-verse {
        order: 3;
        width: 100%;
        margin: 4px auto 20px;
    }

    .hero-details .button {
        order: 4;
        width: min(260px, 76%);
        min-height: 58px;
        margin: 0 auto 14px;
        padding: 12px 22px;
        font-size: 17px;
    }

    .hero-details .date-row {
        order: 5;
        width: 100%;
        margin: 30px 0 18px;
    }

    .hero-details .date {
        padding: 0;
    }

    .hero-details .invite-badge {
        position: absolute;
        top: 10px;
        right: 0;
    }

    .hero-details > p:not(.date) {
        width: 100%;
        margin: 8px 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .story {
        min-height: 340px;
    }

    .story-overlay {
        padding: 26px 20px;
    }

    .story h2,
    .registry h2,
    .gallery h2,
    .questions h2,
    .dress-code h2 {
        margin-bottom: 15px;
    }

    .registry {
        padding-block: 42px;
    }

    .registry-photo {
        height: min(118vw, 500px);
    }

    .registry-photo span {
        top: -20px;
        height: 112px;
    }

    .registry-copy {
        padding-top: 22px;
    }

    .registry-copy h3 {
        margin: 20px 0 10px;
    }

    .gallery {
        padding-block: 10px 48px;
    }

    .gallery-carousel {
        margin-top: 20px;
    }

    .gallery-item {
        height: min(112vw, 420px);
    }

    .lightbox-dialog {
        width: 100vw;
        max-width: none;
        height: 100svh;
        max-height: none;
        margin: 0;
        border-radius: 0;
    }

    .lightbox-dialog figure {
        padding: 54px 10px 44px;
    }

    .questions {
        padding-block: 20px 48px;
    }

    .faq-list {
        margin-top: 18px;
    }

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

    .closing {
        padding-bottom: 42px;
    }
}

@media (max-width: 760px) and (max-height: 700px) {
    .hero-photo {
        height: max(280px, calc(100svh - 374px));
    }
}
