@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/CormorantGaramond-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/CormorantGaramond-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/GreatVibes-Regular.ttf") format("truetype");
}

:root {
    --silver: #c7c7c7;
    --soft-silver: #ececec;
    --navy: #002246;
    --phone-width: 414px;
    --phone-height: 736px;
    --viewport-height: 100vh;
    --menu-height: 80px;
    --font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-display: "Great Vibes", "Cormorant Garamond", cursive;
}

@supports (height: 100dvh) {
    :root {
        --viewport-height: 100dvh;
    }
}

html {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

body.public-body {
    background: #eee7e4;
    display: block;
    font-family: var(--font-body);
    height: var(--viewport-height);
    inset: 0;
    letter-spacing: 0;
    margin: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.invitation-phone {
    background: var(--page-bg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
    color: var(--text-color);
    height: var(--phone-height);
    left: 50%;
    margin: 0;
    max-width: none;
    overflow: hidden;
    padding-bottom: 0;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%) scale(var(--phone-scale, 1));
    transform-origin: center center;
    width: var(--phone-width);
}

.invitation-phone.is-open {
    padding-bottom: 0;
}

.public-section {
    align-items: stretch;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    overflow: hidden;
    padding: 30px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform .68s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
    width: 100%;
    z-index: 1;
}

.public-section > * {
    flex-shrink: 0;
}

.invitation-phone.is-open .public-section {
    bottom: var(--menu-height);
    height: calc(100% - var(--menu-height));
}

.public-section.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
}

.public-section.before {
    opacity: 0;
    transform: translateX(-100%);
}

.public-section.after {
    opacity: 0;
    transform: translateX(100%);
}

.invitation-phone [data-aos] {
    backface-visibility: hidden;
    transition-duration: .95s;
    transition-timing-function: cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}

.invitation-phone [data-aos="fade-up"] {
    transform: translate3d(0, 28px, 0);
}

.invitation-phone [data-aos="fade-down"] {
    transform: translate3d(0, -24px, 0);
}

.invitation-phone [data-aos="fade-right"] {
    transform: translate3d(-30px, 0, 0);
}

.invitation-phone [data-aos="fade-left"] {
    transform: translate3d(30px, 0, 0);
}

.invitation-phone [data-aos="zoom-in"] {
    transform: scale(.94);
}

.bright-section {
    background: #fff;
}

.leaf-section::before {
    background-image: var(--leaf-image);
    background-position: right -96px bottom -24px;
    background-repeat: no-repeat;
    background-size: clamp(300px, 82%, 410px) auto;
    bottom: -30px;
    content: "";
    left: 0;
    opacity: .12;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.quote-section::before {
    background-position: right -84px top -18px;
    background-size: clamp(280px, 78%, 400px) auto;
    opacity: .1;
}

.event-section::before {
    background-position: left -138px top -18px;
    background-size: clamp(280px, 76%, 400px) auto;
    opacity: .1;
}

.cover-section {
    background: var(--cover-bg);
    color: var(--silver);
    display: block;
    padding: 42px 40px 28px;
}

.cover-leaf {
    height: auto;
    max-height: 34%;
    max-width: 42%;
    object-fit: contain;
    opacity: .38;
    pointer-events: none;
    position: absolute;
    right: -14px;
    top: clamp(92px, 18%, 132px);
    width: clamp(112px, 34%, 148px);
}

.cover-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
}

.cover-title {
    font-family: var(--font-display);
    font-size: 62px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin: 28px 0 94px;
}

.cover-pair,
.cover-date {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.guest-label {
    font-size: 18px;
    font-weight: 700;
    margin-top: auto;
    text-align: center;
}

.guest-box {
    align-items: center;
    border: 2px solid var(--silver);
    border-radius: 8px;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    margin: 16px auto 12px;
    min-height: 104px;
    padding: 18px;
    text-align: center;
    width: 100%;
}

.guest-note {
    color: #fff;
    font-size: 12px;
    font-style: italic;
    font-weight: 700;
    margin: 0 auto 18px;
    text-align: center;
}

.open-invitation,
.maps-button,
.rsvp-button {
    background: var(--silver);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-style: italic;
    justify-content: center;
    padding: 9px 28px;
    text-decoration: none;
}

.open-invitation {
    display: flex;
    margin: 0 auto;
    width: 78%;
}

.couple-block {
    padding-left: 18px;
    position: relative;
    text-align: left;
    z-index: 1;
}

.couple-block h2 {
    color: var(--theme-color);
    font-family: var(--font-display);
    font-size: 66px;
    font-style: normal;
    font-weight: 400;
    line-height: .86;
    margin: 0 0 10px;
}

.couple-block h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.couple-block p {
    font-size: 15px;
    line-height: 1.22;
    margin-bottom: 0;
}

.rings-wrap {
    margin: 30px auto 34px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.rings-wrap img {
    max-width: 158px;
    width: 44%;
}

.bride {
    margin-top: 0;
}

.quote-section {
    gap: 18px;
    text-align: center;
}

.quote-mark {
    color: var(--theme-color);
    font-size: 50px;
    font-weight: 900;
    line-height: .7;
    position: relative;
    z-index: 1;
}

.quote-section blockquote {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.42;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
}

.quote-image {
    display: block;
    filter: grayscale(1);
    height: clamp(300px, 54%, 420px);
    margin: 0 auto;
    max-width: 330px;
    object-fit: cover;
    object-position: center;
    position: relative;
    width: 100%;
    z-index: 1;
}

.event-section {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    gap: 48px;
    text-align: center;
}

.event-card {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.event-divider {
    display: block;
    margin: 0 auto 12px;
    max-width: 82%;
}

.event-divider.bottom {
    margin: 12px auto 0;
    transform: scaleY(-1);
}

.event-card h2 {
    color: var(--theme-color);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 10px;
    text-shadow: 0 0 .01px currentColor;
    text-transform: uppercase;
}

.event-date-line,
.event-date-split {
    align-items: center;
    display: grid;
    color: var(--theme-color);
    font-size: 14px;
    gap: 6px;
    font-weight: 500;
    grid-template-columns: 1fr 1fr;
    line-height: 1.32;
    margin-bottom: 10px;
    text-shadow: 0 0 .01px currentColor;
}

.event-date-line > div + div {
    border-left: 3px solid var(--theme-color);
    padding-left: 8px;
}

.event-date-split {
    grid-template-columns: 1fr 1.05fr 1fr;
}

.event-date-split > div {
    border-left: 3px solid var(--theme-color);
}

.event-date-split > div:first-child {
    border-left: 0;
}

.event-day {
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.event-day strong {
    font-size: 32px;
    font-weight: 700;
    line-height: .9;
}

.event-location {
    color: var(--theme-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.34;
    margin: 10px 0 14px;
    text-shadow: 0 0 .01px currentColor;
}

.maps-button,
.rsvp-button {
    background: var(--theme-color);
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    padding: 9px 22px;
}

.gallery-section h2,
.family-section h2,
.section-title {
    font-family: var(--font-body);
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

.gallery-section {
    justify-content: flex-start;
    padding: 34px 22px 22px;
}

.gallery-layout {
    display: grid;
    gap: 14px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
}

.gallery-mosaic {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.85fr);
    min-height: 0;
}

.gallery-stack {
    display: grid;
    gap: 14px;
    grid-template-rows: minmax(0, 1fr) minmax(0, .55fr);
    min-height: 0;
}

.gallery-strip {
    display: flex;
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 8px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(0, 0, 0, .26) rgba(0, 0, 0, .04);
    scrollbar-width: thin;
}

.gallery-strip::-webkit-scrollbar {
    height: 8px;
}

.gallery-strip::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .04);
    border-radius: 999px;
}

.gallery-strip::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .26);
    border-radius: 999px;
}

.gallery-item {
    background: transparent;
    border: 0;
    display: block;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.gallery-feature {
    aspect-ratio: 1.92 / 1;
}

.gallery-stack-top,
.gallery-stack-bottom,
.gallery-tall {
    height: 100%;
}

.gallery-strip-item {
    aspect-ratio: 1.35 / 1;
    flex: 0 0 clamp(96px, 31%, 128px);
    scroll-snap-align: start;
}

.gallery-item img,
.gallery-item video {
    border-radius: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.media-play {
    color: #fff;
    font-size: 42px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.rsvp-section {
    background: var(--theme-color);
    color: #fff;
    min-height: auto;
    padding-bottom: 28px;
    padding-top: 28px;
}

.rsvp-form {
    display: grid;
    gap: 8px;
}

.rsvp-form .form-control,
.rsvp-form .form-select {
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    min-height: 42px;
}

.rsvp-form textarea.form-control {
    min-height: 88px;
}

.rsvp-message {
    min-height: 24px;
}

.comment-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    max-height: 154px;
    overflow-y: auto;
    scrollbar-width: none;
}

.comment-list::-webkit-scrollbar {
    display: none;
}

.comment-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: 38px 1fr;
    padding: 10px;
}

.comment-avatar {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--theme-color);
    display: flex;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.comment-name {
    font-size: 14px;
    font-weight: 800;
}

.comment-name span,
.comment-card time {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 400;
}

.comment-card p {
    font-size: 13px;
    margin: 4px 0;
}

.family-section {
    align-items: center;
    min-height: auto;
    text-align: center;
}

.family-columns {
    display: grid;
    gap: 14px;
    justify-items: center;
    position: relative;
    text-align: center;
    width: min(100%, 330px);
    z-index: 1;
}

.family-columns > div {
    width: 100%;
}

.family-columns h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.family-columns p {
    font-size: 13px;
    margin: 0 0 5px;
}

.thanks-section {
    align-items: center;
    color: var(--theme-color);
    gap: 0;
    justify-content: center;
    padding-bottom: 34px;
    padding-top: 34px;
    text-align: center;
}

.thanks-section::before {
    background-position: right -118px top -22px;
    background-size: clamp(300px, 82%, 400px) auto;
    opacity: .1;
}

.thanks-content {
    display: grid;
    gap: 2px;
    max-width: 342px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.thanks-copy {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
    margin: 0;
}

.thanks-label {
    font-size: 14px;
    font-weight: 700;
    margin: 24px 0 6px;
}

.thanks-section h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: .98;
    margin: 0;
}

.music-title {
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: clamp(48px, 7vh, 68px);
    opacity: .74;
}

.sponsor-strip {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

.sponsor-title {
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.sponsor-row {
    display: grid;
    gap: 12px;
    justify-content: center;
    justify-self: center;
    width: 100%;
}

.sponsor-row-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 260px;
}

.sponsor-row-bottom {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sponsor-strip img {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 58px;
    object-fit: contain;
    padding: 0;
    width: 100%;
}

.bottom-menu {
    align-items: stretch;
    background: var(--theme-color);
    bottom: 0;
    display: flex;
    gap: 0;
    height: var(--menu-height);
    left: 0;
    max-width: var(--phone-width);
    overflow-x: auto;
    padding: 0;
    position: absolute;
    scrollbar-width: none;
    transform: translateY(110%);
    transition: transform .25s ease;
    width: 100%;
    z-index: 1050;
}

.invitation-phone.is-open .bottom-menu {
    transform: translateY(0);
}

.bottom-menu::-webkit-scrollbar {
    display: none;
}

.bottom-menu-item {
    align-items: center;
    border-radius: 8px;
    color: var(--silver);
    display: flex;
    flex: 0 0 20%;
    flex-direction: column;
    font-size: 11px;
    gap: 2px;
    justify-content: center;
    min-height: var(--menu-height);
    min-width: 82.8px;
    text-decoration: none;
    position: relative;
}

.bottom-menu-item i {
    font-size: 23px;
    position: relative;
    z-index: 1;
}

.bottom-menu-item span {
    position: relative;
    z-index: 1;
}

.bottom-menu-item.active {
    color: var(--theme-color);
}

.bottom-menu-item.active::after {
    background: var(--silver);
    border-radius: 8px;
    bottom: 4px;
    content: "";
    left: 4px;
    position: absolute;
    right: 4px;
    top: 4px;
}

.floating-menu {
    display: grid;
    gap: 10px;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    right: 20px;
    top: auto;
    bottom: 120px;
    transform: translateY(18px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 1060;
}

.invitation-phone.is-open .floating-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.float-button {
    align-items: center;
    background: rgba(199, 199, 199, .92);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 19px;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    opacity: .78;
    width: 36px;
}

.float-button.whatsapp {
    background: #29d366;
}

.gallery-modal-dialog {
    max-width: min(94vw, 760px);
}

.gallery-modal {
    background: #000;
    border: 0;
    min-height: min(92vh, 760px);
    overflow: hidden;
    position: relative;
}

.gallery-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 3;
}

.gallery-modal-body {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: min(92vh, 760px);
    padding: 54px 62px;
}

.gallery-nav {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 26px;
    height: 44px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .2s ease, opacity .2s ease;
    width: 44px;
    z-index: 3;
}

.gallery-nav:hover,
.gallery-nav:focus {
    background: rgba(255, 255, 255, .3);
    color: #fff;
}

.gallery-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

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

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

#galleryModalBody img,
#galleryModalBody video {
    display: block;
    max-height: calc(92vh - 108px);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

@media (max-width: 575.98px) {
    .gallery-modal {
        min-height: 100vh;
    }

    .gallery-modal-body {
        min-height: 100vh;
        padding: 58px 48px;
    }

    .gallery-nav {
        font-size: 22px;
        height: 40px;
        width: 40px;
    }

    .gallery-nav-prev {
        left: 8px;
    }

    .gallery-nav-next {
        right: 8px;
    }

    #galleryModalBody img,
    #galleryModalBody video {
        max-height: calc(100vh - 116px);
    }
}

.maps-modal-dialog {
    align-items: center;
    display: flex;
    min-height: calc(100% - 3.5rem);
    max-width: min(94vw, 430px);
}

.maps-modal {
    background: #fff;
    border: 0;
    border-radius: 12px;
    color: var(--theme-color, #002246);
    overflow: hidden;
}

.maps-modal-header {
    align-items: flex-start;
    background: var(--theme-color, #002246);
    color: #fff;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 18px 14px;
}

.maps-modal-label {
    font-size: 11px;
    font-weight: 700;
    opacity: .72;
    text-transform: uppercase;
}

.maps-modal-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 1px 0 0;
}

.maps-modal-header p {
    font-size: 13px;
    line-height: 1.35;
    margin: 5px 0 0;
    opacity: .82;
}

.maps-modal-body {
    background: #f3f4f6;
}

.maps-modal-body iframe {
    border: 0;
    display: block;
    height: min(64vh, 480px);
    width: 100%;
}

.maps-modal-footer {
    display: flex;
    justify-content: center;
    padding: 13px 16px 16px;
}

.maps-modal-link {
    background: var(--theme-color, #002246);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    text-decoration: none;
}

@media (max-width: 430px) {
    .invitation-phone {
        box-shadow: none;
        height: var(--viewport-height);
        left: 0;
        max-width: 100%;
        right: 0;
        top: 0;
        transform: none;
        width: 100vw;
    }

    @supports (width: 100dvw) {
        .invitation-phone {
            width: 100dvw;
        }
    }

    .public-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .cover-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .leaf-section::before {
        background-position: right -92px bottom -24px;
        background-size: clamp(300px, 88vw, 390px) auto;
        opacity: .1;
    }

    .quote-section::before {
        background-position: right -84px top -16px;
        background-size: clamp(286px, 84vw, 380px) auto;
    }

    .event-section::before {
        background-position: left -140px top -18px;
        background-size: clamp(286px, 84vw, 380px) auto;
    }

    .cover-leaf {
        max-height: 30%;
        max-width: 38%;
        opacity: .34;
        right: -8px;
        top: clamp(84px, 16%, 118px);
        width: clamp(96px, 31vw, 128px);
    }

    .cover-title {
        font-size: 58px;
        margin-bottom: 84px;
    }

    .cover-pair,
    .cover-date {
        font-size: 17px;
    }

    .guest-label {
        font-size: 18px;
    }

    .couple-block h2 {
        font-size: 62px;
    }

    .rings-wrap {
        margin: 26px auto 30px;
    }

    .rings-wrap img {
        max-width: 148px;
        width: 42%;
    }

    .quote-section {
        gap: 16px;
    }

    .quote-image {
        height: clamp(300px, 52%, 390px);
        max-width: 100%;
    }

    .event-section {
        gap: 42px;
    }

    .gallery-section {
        padding: 30px 22px 20px;
    }

    .gallery-layout {
        gap: 14px;
    }

    .gallery-mosaic {
        gap: 14px;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.85fr);
    }

    .gallery-stack {
        gap: 14px;
    }

    .gallery-strip {
        gap: 14px;
    }

    .gallery-strip-item {
        flex-basis: clamp(96px, 30vw, 128px);
    }

    .couple-block p,
    .quote-section blockquote,
    .event-date-line,
    .event-date-split {
        font-size: 14px;
    }

    .event-card h2 {
        font-size: 18px;
    }

    .event-day strong {
        font-size: 32px;
    }

    .event-location {
        font-size: 14px;
    }

    .family-columns {
        width: min(100%, 320px);
    }

    .maps-modal-dialog {
        margin: 14px auto;
        max-width: calc(100vw - 28px);
        min-height: calc(100% - 28px);
    }

    .maps-modal {
        border-radius: 12px;
    }

    .maps-modal-body iframe {
        height: clamp(300px, 58vh, 460px);
        min-height: 300px;
    }

    .bottom-menu-item {
        font-size: 11px;
    }
}

@media (min-width: 431px) {
    .invitation-phone {
        border-radius: 16px;
    }
}
