:root {
    --ivory: #f8f5ef;
    --paper: #fffdf9;
    --sand: #e8dfd1;
    --gold: #aa8351;
    --ink: #3c332c;
    --muted: #756a60;
    --serif: "Playfair Display",Georgia,serif;
    --sans: "Be Vietnam Pro",Arial,sans-serif;
    --script: "Great Vibes",cursive
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit
}

.section {
    position: relative;
    overflow: hidden
}

.section__inner {
    width: min(1080px,calc(100% - 40px));
    margin-inline:auto}

.eyebrow {
    margin: 0 0 22px;
    color: var(--gold);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase
}

.eyebrow--light {
    color: rgba(255,255,255,.85)
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    color: white;
    isolation: isolate
}

.hero__photo {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("../images/codauchure.jpg") center 38%/cover no-repeat;
    transform: scale(1.015)
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg,rgba(34,29,24,.17),rgba(34,29,24,.08) 38%,rgba(34,29,24,.72))
}

.hero:after {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255,255,255,.45);
    pointer-events: none
}

.hero__content {
    align-self: end;
    width: min(920px,calc(100% - 56px));
    margin-bottom: clamp(62px,9vh,110px);
    text-align: center
}

.hero__date {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-size: .85rem;
    letter-spacing: .48em
}

.hero h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px,4vw,55px);
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.25rem,7vw,5.7rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.035em;
    text-shadow: 0 3px 24px rgba(0,0,0,.25)
}

.hero h1 i {
    font-family: var(--script);
    font-size: .76em;
    font-weight: 400
}

.hero__promise {
    margin: 20px 0 0;
    font-size: .72rem;
    letter-spacing: .24em;
    text-transform: uppercase
}

.hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 38px;
    color: white;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase
}

.hero__scroll svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    animation: float 2s ease-in-out infinite
}

.invitation {
    display: grid;
    min-height: 750px;
    place-items: center;
    padding: 110px 0;
    background: var(--paper)
}

.invitation__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    text-align: center
}

.guest-name {
    margin: -5px 0 30px;
    font-family: var(--serif);
    font-size: clamp(1.6rem,4vw,2.5rem);
    font-style: italic
}

.lead {
    max-width: 580px;
    margin: 0 auto 34px;
    color: var(--muted)
}

.couple-lockup {
    display: grid;
    justify-items: center;
    gap: 6px;
    font-family: var(--script);
    font-size: clamp(2.65rem,7vw,4.8rem);
    line-height: 1.1;
    color: #604b37
}

.couple-lockup i {
    color: var(--gold);
    font-size: .7em;
    line-height: .75
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 34px auto 28px;
    color: var(--gold)
}

.ornament span {
    width: 70px;
    height: 1px;
    background: currentColor;
    opacity: .5
}

.ornament b {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400
}

.invitation__note {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.02rem;
    font-style: italic
}

.botanical {
    position: absolute;
    width: min(190px,21vw);
    color: #a9a994;
    opacity: .42
}

.botanical svg {
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2
}

.botanical--left {
    left: -10px;
    bottom: -40px;
    transform: rotate(-5deg)
}

.botanical--right {
    right: -20px;
    top: -15px;
    transform: rotate(175deg)
}

.date-section {
    padding: 120px 0;
    background: #eae1d5
}

.date-section:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background: radial-gradient(circle at 20% 20%,white 0 1px,transparent 1px) 0 0/22px 22px
}

.date-layout {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(50px,9vw,120px)
}

.date-copy h2 {
    margin: 0 0 24px;
    font-family: var(--serif);
    font-size: clamp(2.2rem,5vw,4.2rem);
    font-weight: 500;
    line-height: 1.15
}

.date-copy h2 em {
    color: var(--gold);
    font-weight: 500
}

.date-copy>p:not(.eyebrow) {
    margin: 5px 0
}

.date-copy .lunar {
    color: var(--muted);
    font-size: .86rem
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 460px;
    margin-top: 42px;
    border-block:1px solid rgba(90,71,51,.24)}

.countdown div {
    padding: 18px 10px 16px;
    text-align: center
}

.countdown div+div {
    border-left: 1px solid rgba(90,71,51,.24)
}

.countdown strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.2
}

.countdown span {
    color: var(--muted);
    font-size: .64rem;
    letter-spacing: .13em;
    text-transform: uppercase
}

.countdown__arrived {
    grid-column: 1/-1;
    margin: 0;
    padding: 20px;
    font-family: var(--serif);
    text-align: center
}

.calendar-card {
    padding: clamp(28px,5vw,52px);
    background: rgba(255,253,249,.9);
    box-shadow: 0 25px 65px rgba(77,59,40,.12)
}

.calendar-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--sand)
}

.calendar-card__head span {
    font-family: var(--script);
    font-size: clamp(2.4rem,5vw,3.7rem);
    color: var(--gold)
}

.calendar-card__head strong {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .16em
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center
}

.calendar-grid span {
    position: relative;
    display: grid;
    min-height: 43px;
    place-items: center;
    font-family: var(--serif);
    font-size: .88rem
}

.calendar-grid--labels {
    margin: 20px 0 8px;
    color: var(--muted)
}

.calendar-grid--labels span {
    min-height: auto;
    font-family: var(--sans);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .1em
}

.calendar-grid .muted {
    opacity: .28
}

.calendar-grid .chosen {
    z-index: 1;
    color: white
}

.calendar-grid .chosen:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: var(--gold)
}

.calendar-grid .chosen i {
    position: absolute;
    right: -2px;
    top: -5px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1rem
}

.portrait-break {
    padding: 100px 20px;
    background: var(--ivory)
}

.portrait-break__frame {
    position: relative;
    width: min(920px,100%);
    margin: auto
}

.portrait-break__frame:before {
    content: "";
    position: absolute;
    inset: -18px 22% 18px -18px;
    border: 1px solid #c7b49e
}

.portrait-break img {
    position: relative;
    width: 71%;
    max-height: 760px;
    object-fit: cover;
    object-position: center 36%;
    box-shadow: 0 22px 55px rgba(49,39,29,.14)
}

.portrait-break__quote {
    position: absolute;
    right: 0;
    bottom: 10%;
    width: 40%;
    padding: clamp(28px,5vw,54px);
    background: #6f735f;
    color: white;
    box-shadow: 0 22px 55px rgba(49,39,29,.18)
}

.portrait-break__quote span {
    display: block;
    margin-bottom: 15px;
    color: #e8dcc8;
    font-family: var(--script);
    font-size: clamp(2.2rem,5vw,3.8rem);
    line-height: 1
}

.portrait-break__quote p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(.9rem,2vw,1.18rem);
    font-style: italic
}

.venue {
    padding: 125px 0;
    color: white;
    text-align: center;
    background: linear-gradient(rgba(47,43,36,.79),rgba(47,43,36,.79)),url("../images/codauchure.jpg") center 73%/cover fixed
}

.venue .eyebrow {
    color: #e1c69f
}

.venue h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem,6vw,5rem);
    font-weight: 500;
    line-height: 1.05
}

.venue h2 em {
    color: #eadcc9;
    font-family: var(--script);
    font-size: 1.08em;
    font-weight: 400
}

.venue__rule {
    width: 1px;
    height: 50px;
    margin: 30px auto;
    background: rgba(255,255,255,.55)
}

.venue p:not(.eyebrow) {
    margin: 0;
    color: rgba(255,255,255,.82)
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 36px;
    padding: 13px 24px;
    border: 1px solid rgba(255,255,255,.7);
    color: white;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: .25s ease
}

.button:hover {
    color: var(--ink);
    background: white
}

.button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5
}

.families {
    padding: 120px 0;
    background: var(--paper)
}

.families__heading {
    margin-bottom: 54px;
    text-align: center
}

.families__heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.1rem,5vw,3.6rem);
    font-weight: 500
}

.families__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(25px,6vw,70px)
}

.family-card {
    padding: 38px 20px;
    border-block:1px solid var(--sand);text-align: center
}

.family-card p {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase
}

.family-card h3 {
    margin: 7px 0;
    font-family: var(--serif);
    font-size: clamp(1.08rem,2vw,1.35rem);
    font-weight: 500
}

.family-card span {
    display: block;
    margin-top: 20px;
    color: var(--muted);
    font-size: .78rem
}

.families__monogram {
    display: grid;
    place-items: center;
    width: 105px;
    height: 105px;
    border: 1px solid #cbbba7;
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--gold)
}

.families__monogram span {
    margin: 0 2px;
    font-family: var(--script)
}

.closing {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 100px 20px;
    text-align: center;
    background: #e8dfd3
}

.closing:before,.closing:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(159,132,96,.32);
    border-radius: 50%
}

.closing:before {
    top: -170px;
    left: -110px
}

.closing:after {
    right: -100px;
    bottom: -180px
}

.closing p {
    margin: 0 0 26px;
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic
}

.closing h2 {
    margin: 0;
    color: #5f4b38;
    font-family: var(--script);
    font-size: clamp(3rem,8vw,5.5rem);
    font-weight: 400;
    line-height: 1
}

.closing h2 i {
    color: var(--gold)
}

.closing span {
    display: block;
    margin-top: 28px;
    font-family: var(--serif);
    font-size: .78rem;
    letter-spacing: .35em
}

.back-to-top {
    position: fixed;
    z-index: 10;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(86,71,55,.18);
    border-radius: 50%;
    background: rgba(255,253,249,.82);
    box-shadow: 0 8px 26px rgba(49,39,29,.12);
    backdrop-filter: blur(10px)
}

.back-to-top svg {
    width: 20px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.5
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s ease,transform .9s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: none
}

@keyframes float {
    50% {
        transform: translateY(6px)
    }
}

@media(max-width: 760px) {
    .hero {
        min-height:92svh
    }

    .hero:after {
        inset: 12px
    }

    .hero__photo {
        background-position: 52% 36%
    }

    .hero__content {
        width: calc(100% - 34px);
        margin-bottom: 52px
    }

    .hero h1 {
        flex-direction: column;
        gap: 0;
        font-size: clamp(2.85rem,13vw,4.4rem)
    }

    .hero h1 i {
        margin: -6px 0 -2px
    }

    .hero__promise {
        font-size: .6rem
    }

    .invitation {
        min-height: 690px;
        padding: 90px 0
    }

    .botanical {
        width: 130px
    }

    .date-section,.families {
        padding: 86px 0
    }

    .date-layout {
        grid-template-columns: 1fr
    }

    .date-copy {
        text-align: center
    }

    .countdown {
        margin-inline:auto}

    .portrait-break {
        padding: 76px 20px 120px
    }

    .portrait-break img {
        width: 93%
    }

    .portrait-break__frame:before {
        inset: -12px 12% 12px -12px
    }

    .portrait-break__quote {
        right: 0;
        bottom: -72px;
        width: 67%;
        padding: 28px
    }

    .venue {
        padding: 92px 0;
        background-attachment: scroll
    }

    .families__grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .families__monogram {
        grid-row: 2;
        width: 74px;
        height: 74px;
        margin: auto
    }

    .family-card {
        width: 100%;
        max-width: 440px;
        margin: auto
    }
}

@media(max-width: 420px) {
    body {
        font-size:15px
    }

    .section__inner {
        width: min(100% - 28px,1080px)
    }

    .calendar-card {
        padding: 25px 18px
    }

    .calendar-grid span {
        min-height: 38px
    }

    .countdown strong {
        font-size: 1.3rem
    }

    .countdown span {
        font-size: .56rem
    }

    .portrait-break__quote {
        width: 78%
    }
}

.hero__photo {
    filter: brightness(1.16) contrast(.94) saturate(.94)
}

.hero__shade {
    background: linear-gradient(180deg,rgba(34,29,24,.05),rgba(34,29,24,.02) 45%,rgba(34,29,24,.56))
}

.portrait-break img {
    filter: brightness(1.11) contrast(.95) saturate(.95)
}

.venue {
    background: linear-gradient(rgba(47,43,36,.67),rgba(47,43,36,.67)),url("../images/codauchure.jpg") center 73%/cover fixed
}

.invitation__datetime {
    display: grid;
    justify-items: center;
    gap: 3px;
    margin: 0 auto 30px;
    color: var(--ink)
}

.invitation__datetime span {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase
}

.invitation__datetime strong {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: .16em;
    line-height: 1.4
}

.invitation__datetime small {
    color: var(--muted);
    font-size: .75rem
}

@media(max-width: 760px) {
    body {
        font-size:15px;
        line-height: 1.65
    }

    .section__inner {
        width: min(100% - 30px,1080px)
    }

    .eyebrow {
        margin-bottom: 16px;
        font-size: .64rem;
        letter-spacing: .22em
    }

    .hero {
        min-height: 100svh
    }

    .hero__photo {
        background-position: 51% 38%;
        filter: brightness(1.2) contrast(.92) saturate(.92)
    }

    .hero__shade {
        background: linear-gradient(180deg,rgba(34,29,24,.03),rgba(34,29,24,0) 48%,rgba(34,29,24,.52))
    }

    .hero__content {
        width: calc(100% - 38px);
        margin-bottom: max(40px,env(safe-area-inset-bottom))
    }

    .hero__date {
        font-size: .72rem;
        letter-spacing: .35em
    }

    .hero h1 {
        font-size: clamp(2.7rem,12vw,4rem);
        line-height: .94
    }

    .hero__promise {
        margin-top: 15px;
        letter-spacing: .18em
    }

    .hero__scroll {
        margin-top: 25px;
        font-size: .61rem
    }

    .invitation {
        min-height: auto;
        padding: 74px 0 78px
    }

    .guest-name {
        margin-bottom: 23px;
        font-size: clamp(1.45rem,7vw,2rem)
    }

    .lead {
        max-width: 330px;
        margin-bottom: 28px;
        font-size: .92rem
    }

    .couple-lockup {
        font-size: clamp(2.7rem,12.5vw,4rem)
    }

    .ornament {
        margin: 27px auto 22px
    }

    .ornament span {
        width: 52px
    }

    .invitation__datetime {
        margin-bottom: 24px
    }

    .invitation__datetime span {
        font-size: .64rem;
        letter-spacing: .14em
    }

    .invitation__datetime strong {
        font-size: 1.45rem;
        letter-spacing: .12em
    }

    .invitation__datetime small {
        font-size: .68rem
    }

    .invitation__note {
        max-width: 330px;
        margin-inline:auto;font-size: .94rem
    }

    .botanical {
        width: 108px;
        opacity: .28
    }

    .date-section,.families {
        padding: 72px 0
    }

    .date-layout {
        gap: 42px
    }

    .date-copy h2 {
        font-size: clamp(2.15rem,10vw,3.1rem)
    }

    .countdown {
        margin-top: 30px
    }

    .countdown div {
        padding: 14px 5px 12px
    }

    .calendar-card {
        width: 100%;
        max-width: 480px;
        margin-inline:auto;padding: 28px 18px
    }

    .calendar-card__head span {
        font-size: 2.7rem
    }

    .calendar-grid span {
        min-height: 39px
    }

    .portrait-break {
        padding: 70px 15px
    }

    .portrait-break__frame {
        display: flex;
        flex-direction: column
    }

    .portrait-break__frame:before {
        inset: -10px 8% 80px -8px
    }

    .portrait-break img {
        width: 100%;
        max-height: none;
        aspect-ratio: 3/4;
        object-position: center 38%;
        filter: brightness(1.13) contrast(.94) saturate(.94)
    }

    .portrait-break__quote {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: flex-end;
        width: 88%;
        margin-top: -38px;
        padding: 25px 27px
    }

    .portrait-break__quote span {
        font-size: 2.7rem
    }

    .venue {
        padding: 78px 0;
        background-attachment: scroll;
        background-position: center 70%
    }

    .venue h2 {
        font-size: clamp(2.2rem,10vw,3.25rem)
    }

    .venue p:not(.eyebrow) {
        font-size: .86rem;
        line-height: 1.8
    }

    .button {
        margin-top: 28px;
        padding: 12px 20px
    }

    .families__heading {
        margin-bottom: 38px
    }

    .families__grid {
        gap: 22px
    }

    .family-card {
        padding: 29px 15px
    }

    .closing {
        min-height: 430px;
        padding: 75px 18px
    }

    .closing h2 {
        font-size: clamp(3rem,14vw,4.6rem)
    }

    .back-to-top {
        right: 12px;
        bottom: max(12px,env(safe-area-inset-bottom));
        width: 40px;
        height: 40px
    }
}

@media(max-width: 380px) {
    .hero h1 {
        font-size:2.65rem
    }

    .couple-lockup {
        font-size: 2.65rem
    }

    .calendar-grid span {
        min-height: 35px;
        font-size: .8rem
    }

    .countdown strong {
        font-size: 1.18rem
    }

    .portrait-break__quote {
        width: 92%;
        padding: 22px
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../images/nenhoa.webp") center/cover no-repeat;
    opacity: .7;
}

body>* {
    position: relative;
    z-index: 1
}

.invitation,.families {
    background: rgba(255,253,249,.25)
}

.date-section,.closing {
    background: rgba(232,223,211,.28)
}

.portrait-break {
    background: rgba(248,245,239,.18)
}

.hero__emblem {
    position: absolute;
    z-index: 3;
    top: max(35px,calc(env(safe-area-inset-top) + 22px));
    left: 50%;
    width: 92px;
    height: auto;
    transform: translateX(-50%);
    mix-blend-mode: multiply;
    opacity: .9;
    filter: saturate(.78) brightness(.98);
}

.couple-lockup i {
    display: block;
    margin: .16em 0 .2em;
    line-height: .55
}

.couple-lockup span {
    max-width: 100%;
    white-space: nowrap
}

.invitation {
    min-height: 100svh
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(9px);
    transition: opacity .25s ease,transform .25s ease,visibility .25s ease
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none
}

@media(max-width: 760px) {
    .hero__emblem {
        top:max(26px,calc(env(safe-area-inset-top) + 15px));
        width: 74px;
        opacity: .88
    }

    .hero h1 i {
        margin: .13em 0 .12em;
        line-height: 1.5;
    }

    .couple-lockup i {
        margin: .17em 0 .22em
    }

    .invitation {
        min-height: 100svh;
        padding: 62px 0
    }

    .invitation__inner {
        display: flex;
        min-height: calc(100svh - 124px);
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .couple-lockup {
        width: 100%;
        font-size: clamp(2.12rem,10.4vw,3.05rem);
        letter-spacing: -.025em
    }

    .date-section {
        min-height: 100svh;
        display: flex;
        align-items: center
    }

    .invitation,.families {
        background: rgba(255,253,249,.32)
    }

    .date-section,.closing {
        background: rgba(232,223,211,.36)
    }

    .portrait-break {
        background: rgba(248,245,239,.25)
    }
}

@media(max-width: 760px) and (max-height:700px) {
    .invitation {
        padding:42px 0
    }

    .invitation__inner {
        min-height: calc(100svh - 84px)
    }

    .guest-name {
        margin-bottom: 17px
    }

    .lead {
        margin-bottom: 20px;
        line-height: 1.5
    }

    .couple-lockup {
        font-size: clamp(2.05rem,9.8vw,2.8rem)
    }

    .ornament {
        margin: 20px auto 17px
    }

    .invitation__datetime {
        margin-bottom: 17px
    }
}

/* Cỡ chữ nội dung và điều hướng giữa các slide */
body {
    font-size: 17.5px
}

.hero h1 span,.couple-lockup span {
    white-space: nowrap
}

.eyebrow {
    font-size: .82rem
}

.hero__date {
    font-size: 1rem
}

.hero__promise {
    font-size: .84rem
}

.guest-name {
    font-size: clamp(1.85rem,4.5vw,2.75rem)
}

.lead {
    font-size: 1.1rem
}

.invitation__datetime span {
    font-size: .84rem
}

.invitation__datetime strong {
    font-size: 1.85rem
}

.invitation__datetime small {
    font-size: .84rem
}

.invitation__note {
    font-size: 1.15rem
}

.date-copy>p:not(.eyebrow) {
    font-size: 1.08rem
}

.date-copy .lunar {
    font-size: .96rem
}

.countdown strong {
    font-size: 1.8rem
}

.countdown span {
    font-size: .72rem
}

.calendar-grid span {
    font-size: .98rem
}

.calendar-grid--labels span {
    font-size: .72rem
}

.portrait-break__quote p {
    font-size: clamp(1.05rem,2vw,1.3rem)
}

.venue p:not(.eyebrow) {
    font-size: 1.06rem
}

.button {
    font-size: .79rem
}

.family-card p {
    font-size: .78rem
}

.family-card h3 {
    font-size: clamp(1.25rem,2.2vw,1.58rem)
}

.family-card span {
    font-size: .92rem
}

.closing p {
    font-size: 1.16rem
}

.closing>span,.closing__content>span {
    font-size: .9rem
}

.slide-next {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 150px;
    padding: 7px 14px 8px;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255,253,249,.62);
    box-shadow: 0 8px 24px rgba(62,48,34,.1);
    backdrop-filter: blur(7px);
    transform: translateX(-50%);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent
}

.slide-next--light {
    color: white;
    background: rgba(36,31,26,.28);
    box-shadow: 0 8px 24px rgba(0,0,0,.12)
}

.slide-next__hand {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    animation: handPoint 2.2s ease-in-out infinite
}

.slide-next:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px
}

@keyframes handPoint {
    0%,100% { transform: translateY(-2px) }
    50% { transform: translateY(4px) }
}

@media(max-width: 760px) {
    body {
        font-size: 16.5px
    }

    .eyebrow {
        font-size: .74rem
    }

    .hero__date {
        font-size: .88rem
    }

    .hero__promise {
        font-size: .72rem
    }

    .guest-name {
        font-size: clamp(1.75rem,7vw,2.25rem)
    }

    .lead {
        font-size: 1rem
    }

    .invitation {
        padding: 45px 0 82px
    }

    .invitation__inner {
        min-height: calc(100svh - 127px)
    }

    .invitation__datetime span {
        font-size: .75rem
    }

    .invitation__datetime strong {
        font-size: 1.62rem
    }

    .invitation__datetime small {
        font-size: .76rem
    }

    .invitation__note {
        font-size: 1.04rem
    }

    .date-copy>p:not(.eyebrow) {
        font-size: 1rem
    }

    .date-copy .lunar {
        font-size: .9rem
    }

    .countdown strong {
        font-size: 1.5rem
    }

    .countdown span {
        font-size: .64rem
    }

    .calendar-grid span {
        font-size: .9rem
    }

    .calendar-grid--labels span {
        font-size: .66rem
    }

    .date-section {
        padding-bottom: 96px
    }

    .portrait-break {
        padding-bottom: 105px
    }

    .venue {
        padding-bottom: 100px
    }

    .venue p:not(.eyebrow) {
        font-size: .96rem
    }

    .families {
        min-height: 100svh;
        display: flex;
        align-items: center;
        padding-bottom: 96px
    }

    .family-card h3 {
        font-size: 1.3rem
    }

    .family-card span {
        font-size: .86rem
    }

    .closing p {
        font-size: 1.06rem
    }

    .slide-next {
        bottom: max(12px,env(safe-area-inset-bottom));
        min-width: 145px;
        padding: 6px 12px 7px;
        font-size: .62rem
    }

    .slide-next__hand {
        font-size: 1.35rem
    }
}

@media(max-width: 370px) {
    body {
        font-size: 16px
    }

    .lead {
        font-size: .96rem
    }

    .invitation__note {
        font-size: .98rem
    }

    .couple-lockup {
        font-size: clamp(2rem,9.6vw,2.55rem)
    }
}

.countdown-label {
    margin: 34px 0 10px !important;
    color: var(--gold);
    font-size: .82rem !important;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase
}

.countdown-label+.countdown {
    margin-top: 0
}

.calendar-grid .chosen {
    isolation: isolate;
    color: white;
    font-weight: 600
}

.calendar-grid .chosen::before {
    content: "♥";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    border-radius: 0;
    color: #c82138;
    background: none;
    font-family: Georgia,serif;
    font-size: 3.15rem;
    line-height: 1;
    filter: drop-shadow(0 3px 6px rgba(150,20,38,.2));
    animation: weddingHeartBeat 1.55s ease-in-out infinite
}

.calendar-grid .chosen .day-number {
    position: relative;
    z-index: 1;
    font-weight: 600
}

.calendar-grid .chosen i {
    display: none
}

@keyframes weddingHeartBeat {
    0%,100% { opacity: .82; transform: translate(-50%,-50%) scale(.92) }
    45% { opacity: 1; transform: translate(-50%,-50%) scale(1.09) }
    58% { opacity: .92; transform: translate(-50%,-50%) scale(1.01) }
    72% { opacity: 1; transform: translate(-50%,-50%) scale(1.08) }
}

@media(max-width: 760px) {
    .countdown-label {
        margin-top: 28px !important;
        font-size: .74rem !important
    }

    .calendar-grid .chosen::before {
        font-size: 2.85rem
    }
}

.families__monogram {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    line-height: 1
}

.families__monogram span {
    display: inline-block;
    margin: 0
}

.slide-next {
    transition: opacity .3s ease,visibility .3s ease,transform .3s ease,background-color .2s ease
}

.hero__content {
    margin-bottom: max(118px,14vh)
}

@media(max-width: 760px) {
    .hero__content {
        margin-bottom: max(112px,calc(env(safe-area-inset-bottom) + 95px))
    }
}

body.swipe-navigation main .slide-next {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%,10px)
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,*:before,*:after {
        animation: none!important;
        transition: none!important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}
