@font-face {
    font-family: 'Great Vibes';
    src: url('./assets/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Infant';
    src: url('./assets/fonts/CormorantInfant-Regular.ttf') format('truetype');
    font-display: swap;
}

:root {
    --ink: #152c3c;
    --ink-soft: #526875;
    --blue: #668ba3;
    --heart-blue: #5d9cf5;
    --blue-dark: #385c74;
    --blue-pale: #eaf1f5;
    --ice: #f5f8fa;
    --paper: #fffefd;
    --line: rgba(56, 92, 116, 0.22);
    --white: #fff;
    --serif: 'Cormorant Infant', Georgia, serif;
    --script: 'Great Vibes', cursive;
    --shadow: 0 24px 70px rgba(32, 65, 86, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.55;
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.page-loader {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--paper);
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader__heart {
    color: var(--blue-dark);
    font-family: var(--script);
    font-size: 62px;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.page-loader__heart span,
.monogram span {
    margin: 0 4px;
    color: var(--blue);
    font-family: var(--serif);
    font-size: 0.5em;
}

.topbar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 82px;
    padding: 0 clamp(24px, 5vw, 76px);
    color: var(--white);
    transition:
        background 0.4s ease,
        color 0.4s ease,
        height 0.4s ease,
        box-shadow 0.4s ease;
}

.topbar.is-scrolled {
    height: 66px;
    color: var(--ink);
    background: rgba(255, 254, 253, 0.9);
    box-shadow: 0 8px 35px rgba(32, 65, 86, 0.08);
    backdrop-filter: blur(16px);
}

.monogram {
    justify-self: start;
    font-family: var(--script);
    font-size: 35px;
    line-height: 1;
}

.nav {
    display: flex;
    gap: clamp(22px, 3vw, 48px);
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav a {
    position: relative;
}

.nav a::after {
    position: absolute;
    content: '';
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.topbar__date {
    justify-self: end;
    font-size: 16px;
    letter-spacing: 0.16em;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero__image,
.finale__image {
    position: absolute;
    inset: -5%;
    background: url('./assets/images/couple.jpg') center 52% / cover no-repeat;
    will-change: transform;
    animation: heroZoom 18s ease-out both;
}

.hero__image {
    inset: 0 -6% -6% 0;
    background-position: center top;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(11, 28, 39, 0.55),
            rgba(11, 28, 39, 0.06) 45%,
            rgba(11, 28, 39, 0.72)
        ),
        linear-gradient(90deg, rgba(11, 28, 39, 0.3), transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1040px);
    padding: 130px 24px 180px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero__eyebrow {
    color: rgba(255, 255, 255, 0.9);
    animation: riseIn 1s 0.4s both;
}

.hero h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 48px);
    margin: 0;
    font-family: var(--script);
    font-size: clamp(76px, 11vw, 160px);
    font-weight: 400;
    line-height: 0.95;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.22);
}

.hero h1 span:first-child {
    animation: nameInLeft 1.2s 0.55s both;
}

.hero h1 span:last-child {
    animation: nameInRight 1.2s 0.55s both;
}

.hero h1 i {
    font-family: var(--serif);
    font-size: 0.38em;
    font-weight: 400;
    opacity: 0.85;
    animation: riseIn 1s 0.9s both;
}

.hero__subtitle {
    margin: 28px 0 0;
    font-size: 28px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    animation: riseIn 1s 1s both;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-cue i {
    position: relative;
    width: 1px;
    height: 42px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
}

.scroll-cue i::after {
    position: absolute;
    content: '';
    inset: 0;
    background: var(--white);
    animation: scrollLine 2s infinite ease-in-out;
}

.countdown {
    position: absolute;
    z-index: 3;
    right: clamp(22px, 4vw, 70px);
    bottom: 34px;
    display: flex;
    gap: clamp(18px, 2.7vw, 44px);
}

.countdown div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.countdown strong {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.countdown span {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.13em;
    opacity: 0.72;
    text-transform: uppercase;
}

.petal {
    position: absolute;
    z-index: 1;
    top: -10%;
    width: 12px;
    height: 7px;
    border-radius: 70% 20% 70% 20%;
    background: rgba(223, 235, 242, 0.75);
    pointer-events: none;
    animation: petalFall linear infinite;
}

.section {
    position: relative;
    padding: clamp(90px, 12vw, 170px) max(24px, calc((100vw - 1180px) / 2));
}

.story {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
    min-height: 850px;
    background:
        linear-gradient(rgba(255, 254, 253, 0.94), rgba(255, 254, 253, 0.94)),
        url('./assets/images/floral-bg.jpg') center / cover;
}

.story__intro {
    text-align: center;
}

h2 {
    margin: 0;
    font-family: var(--script);
    font-size: clamp(65px, 7vw, 104px);
    font-weight: 400;
    line-height: 1;
}

.story__intro .lead {
    margin-top: 32px;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.3;
}

.story__intro > p:last-child {
    color: var(--ink-soft);
}

.flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 28px 0;
    color: var(--blue);
    font-size: 24px;
}

.flourish span {
    width: 72px;
    height: 1px;
    background: var(--line);
}

.date-card {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    min-height: 520px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.date-card__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    color: var(--white);
    background: var(--blue-dark);
}

.date-card__side strong {
    font-family: var(--script);
    font-size: 130px;
    font-weight: 400;
    line-height: 1;
}

.date-card__side span {
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.date-card__side i {
    margin-top: 12px;
    font-size: 24px;
    font-style: normal;
    letter-spacing: 0.16em;
}

.calendar {
    align-self: center;
    padding: 45px clamp(24px, 4vw, 58px);
}

.calendar__title {
    margin-bottom: 34px;
    color: var(--blue-dark);
    font-family: var(--script);
    font-size: 46px;
    text-align: center;
}

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

.calendar__week {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calendar__days {
    row-gap: 15px;
    font-size: 19px;
}

.calendar__days span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
}

.calendar__days .is-wedding-day {
    color: var(--ink);
}

.calendar__heart {
    position: absolute;
    z-index: -1;
    top: 55%;
    left: 50%;
    width: 40px;
    height: 37px;
    fill: none;
    stroke: var(--heart-blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.8;
    transform: translate(-51%, -49%) rotate(6deg);
}

.botanical {
    position: absolute;
    color: var(--blue-pale);
    font-size: 220px;
    opacity: 0.8;
    pointer-events: none;
}

.botanical--left {
    top: 10%;
    left: -50px;
    transform: rotate(-22deg);
}

.section--blue {
    background: var(--blue-pale);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto clamp(60px, 7vw, 100px);
    text-align: center;
}

.section-heading > p:last-child {
    color: var(--ink-soft);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.timeline::before {
    position: absolute;
    content: '';
    top: 64px;
    right: 8%;
    left: 8%;
    height: 1px;
    background: var(--line);
}

.timeline__item {
    position: relative;
    text-align: center;
}

.timeline__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    margin: 0 auto 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--blue-pale);
    transition:
        color 0.4s ease,
        background 0.4s ease,
        transform 0.4s ease;
}

.timeline__item:hover .timeline__icon {
    color: var(--white);
    background: var(--blue-dark);
    transform: translateY(-7px) rotate(3deg);
}

.timeline__icon svg {
    width: 47px;
    height: 47px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
}

.timeline time {
    color: var(--blue-dark);
    font-size: 30px;
    font-weight: 600;
}

.timeline h3 {
    margin: 7px 0 10px;
    font-size: 25px;
    font-weight: 500;
}

.timeline p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.45;
}

.location-grid {
    display: grid;
    gap: 70px;
}

.location-card {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    min-height: 420px;
    background: var(--ice);
}

.location-card--reverse {
    grid-template-columns: 0.88fr 1.12fr;
}

.location-card--reverse .location-card__image {
    order: 2;
}

.location-card__image {
    position: relative;
    align-self: stretch;
    min-height: 420px;
    overflow: hidden;
}

.location-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.location-card:hover img {
    transform: scale(1.055);
}

.location-card__image span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 18px;
    color: var(--white);
    background: rgba(21, 44, 60, 0.82);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.location-card__body {
    padding: clamp(35px, 6vw, 75px);
}

.location-card h3 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 49px);
    font-weight: 400;
    line-height: 1.05;
}

.location-card address {
    margin-bottom: 36px;
    color: var(--ink-soft);
    font-size: 18px;
    font-style: normal;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 55px;
    padding: 12px 26px;
    border: 1px solid var(--blue-dark);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.button:hover {
    color: var(--white);
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.button--filled {
    color: var(--white);
    background: var(--blue-dark);
}

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

.button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.dress-code {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: clamp(55px, 8vw, 120px);
    overflow: hidden;
}

.dress-code::after {
    position: absolute;
    z-index: -1;
    content: '';
    right: -100px;
    width: 620px;
    height: 620px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.dress-code__copy h2 {
    margin-bottom: 6px;
}

.dress-code__copy > p:last-child {
    margin-top: 28px;
    color: var(--ink-soft);
}

.optional {
    color: var(--blue);
    font-size: 17px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.swatches {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -70px;
}

.swatches figure {
    position: relative;
    width: clamp(120px, 13vw, 190px);
    margin: 0 0 0 -34px;
    border-radius: 999px;
    box-shadow: 0 15px 40px rgba(24, 49, 66, 0.14);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.swatches figure:nth-child(even) {
    transform: translateY(40px);
}

.swatches figure:hover {
    z-index: 3;
    transform: translateY(-18px) rotate(3deg);
}

.swatches figure:nth-child(even):hover {
    transform: translateY(18px) rotate(-3deg);
}

.swatches img {
    width: 100%;
    aspect-ratio: 1;
    border: 8px solid var(--paper);
    border-radius: 50%;
    object-fit: cover;
}

.rsvp {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(55px, 8vw, 120px);
}

.rsvp__copy {
    align-self: center;
}

.rsvp__copy > p:nth-of-type(2) {
    color: var(--ink-soft);
}

.rsvp__note {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.rsvp__note span {
    color: var(--blue);
    font-size: 34px;
}

.rsvp__note p {
    margin: 0;
    font-size: 17px;
}

.rsvp-form {
    padding: clamp(30px, 5vw, 65px);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.rsvp-form > label {
    display: block;
    margin-bottom: 30px;
}

.rsvp-form label > span,
.rsvp-form legend {
    display: block;
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 17px;
}

.rsvp-form input[type='text'],
.rsvp-form textarea {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font-size: 18px;
    resize: vertical;
    transition: border-color 0.25s ease;
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
    border-color: var(--blue-dark);
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: #9ba9b1;
}

.rsvp-form fieldset {
    margin: 0 0 30px;
    padding: 0;
    border: 0;
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.radio-group label {
    cursor: pointer;
}

.radio-group input {
    position: absolute;
    opacity: 0;
}

.radio-group span {
    min-height: 52px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 8px 14px;
    border: 1px solid var(--line);
    text-align: center;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border 0.25s ease;
}

.radio-group input:checked + span {
    color: var(--white);
    border-color: var(--blue-dark);
    background: var(--blue-dark);
}

.rsvp-form .button {
    width: 100%;
    margin-top: 8px;
}

.form-status {
    min-height: 24px;
    margin: 16px 0 0;
    color: var(--blue-dark);
    font-size: 16px;
    text-align: center;
}

.form-status.is-error {
    color: #9c4545;
}

.wishes {
    background:
        linear-gradient(rgba(255, 254, 253, 0.9), rgba(255, 254, 253, 0.9)),
        url('./assets/images/floral-bg.jpg') center / cover fixed;
}

.wishes__card {
    max-width: 820px;
    margin: auto;
    padding: clamp(45px, 7vw, 90px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    text-align: center;
    backdrop-filter: blur(8px);
}

.wishes__card p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 21px;
}

.wishes__divider {
    position: relative;
    margin: 36px 0;
    color: var(--blue);
}

.wishes__divider::before,
.wishes__divider::after {
    position: absolute;
    top: 50%;
    content: '';
    width: 37%;
    height: 1px;
    background: var(--line);
}

.wishes__divider::before {
    left: 0;
}

.wishes__divider::after {
    right: 0;
}

.contacts .section-heading {
    margin-bottom: 50px;
}

.contacts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: auto;
}

.contacts__grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 25px;
    border: 1px solid var(--line);
    text-align: center;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.contacts__grid a:hover {
    color: var(--white);
    background: var(--blue-dark);
    transform: translateY(-5px);
}

.contacts__grid span {
    font-family: var(--script);
    font-size: 40px;
}

.contacts__grid strong {
    margin: 6px 0 15px;
    font-size: 22px;
    font-weight: 400;
}

.contacts__grid i {
    font-size: 13px;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.finale {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 85svh;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.finale__image {
    inset: 0;
    background-position: center top;
    transform: none;
}

.finale__shade {
    position: absolute;
    inset: 0;
    background: rgba(13, 31, 43, 0.55);
}

.finale__content {
    position: relative;
    padding: 80px 24px;
}

.finale__content p {
    margin: 0 0 20px;
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.finale__content h2 {
    font-size: clamp(72px, 9vw, 130px);
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.2);
}

.finale__content span {
    display: block;
    margin-top: 35px;
    font-size: 20px;
    letter-spacing: 0.23em;
}

footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 38px max(24px, calc((100vw - 1180px) / 2));
    color: var(--ink-soft);
    background: var(--paper);
    font-size: 14px;
}

footer p {
    margin: 0;
}

footer > a:last-child {
    justify-self: end;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reveal {
    opacity: 0;
    transform: translateY(42px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline__item:nth-child(2) {
    transition-delay: 0.1s;
}

.timeline__item:nth-child(3) {
    transition-delay: 0.2s;
}

.timeline__item:nth-child(4) {
    transition-delay: 0.3s;
}

.timeline__item:nth-child(5) {
    transition-delay: 0.4s;
}

@keyframes loaderPulse {
    50% {
        opacity: 0.45;
        transform: scale(0.95);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nameInLeft {
    from {
        opacity: 0;
        transform: translateX(-45px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nameInRight {
    from {
        opacity: 0;
        transform: translateX(45px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollLine {
    from {
        transform: translateY(-100%);
    }
    55%,
    100% {
        transform: translateY(100%);
    }
}

@keyframes petalFall {
    from {
        transform: translate3d(0, -10vh, 0) rotate(0deg);
    }
    to {
        transform: translate3d(var(--drift), 115vh, 0) rotate(540deg);
    }
}

@media (max-width: 1000px) {
    .nav {
        display: none;
    }

    .topbar {
        grid-template-columns: 1fr 1fr;
    }

    .story,
    .dress-code,
    .rsvp {
        grid-template-columns: 1fr;
    }

    .story {
        gap: 70px;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 600px;
        margin: auto;
    }

    .timeline::before {
        top: 30px;
        right: auto;
        bottom: 30px;
        left: 53px;
        width: 1px;
        height: auto;
    }

    .timeline__item {
        display: grid;
        grid-template-columns: 106px 1fr;
        column-gap: 25px;
        padding-bottom: 55px;
        text-align: left;
    }

    .timeline__icon {
        grid-row: 1 / span 4;
        width: 106px;
        height: 106px;
        margin: 0;
    }

    .timeline__icon svg {
        width: 38px;
        height: 38px;
    }

    .timeline time {
        align-self: end;
    }

    .timeline h3 {
        margin: 0 0 5px;
    }

    .swatches {
        margin: 20px 0 30px;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 18px;
    }

    .topbar,
    .topbar.is-scrolled {
        height: 62px;
        padding: 0 20px;
    }

    .topbar__date {
        font-size: 13px;
    }

    .hero__image {
        inset: -2%;
        background-position: 20% center;
    }

    .hero__content {
        padding: 100px 16px 210px;
    }

    .hero h1 {
        flex-direction: column;
        gap: 0;
        font-size: clamp(72px, 23vw, 105px);
    }

    .hero h1 i {
        margin: -7px 0;
    }

    .hero__subtitle {
        margin-top: 25px;
        font-size: 18px;
    }

    .hero__eyebrow {
        max-width: 280px;
        margin-right: auto;
        margin-left: auto;
        font-size: 11px;
    }

    .countdown {
        right: 16px;
        bottom: 80px;
        left: 16px;
        justify-content: center;
    }

    .countdown strong {
        font-size: 23px;
    }

    .scroll-cue {
        bottom: 17px;
    }

    .scroll-cue span {
        display: none;
    }

    .scroll-cue i {
        height: 36px;
    }

    .section {
        padding: 90px 20px;
    }

    .story {
        min-height: auto;
        gap: 55px;
    }

    .story__intro .lead {
        font-size: 25px;
    }

    .date-card {
        grid-template-columns: 1fr;
    }

    .date-card__side {
        min-height: 190px;
    }

    .date-card__side strong {
        font-size: 90px;
    }

    .calendar {
        width: 100%;
        padding: 38px 22px 50px;
    }

    .calendar__title {
        font-size: 39px;
    }

    .location-grid {
        gap: 35px;
    }

    .location-card,
    .location-card--reverse {
        grid-template-columns: 1fr;
    }

    .location-card--reverse .location-card__image {
        order: 0;
    }

    .location-card__image {
        min-height: 260px;
    }

    .location-card__body {
        padding: 34px 25px 40px;
    }

    .location-card h3 {
        font-size: 34px;
    }

    .dress-code {
        gap: 30px;
    }

    .swatches {
        flex-wrap: wrap;
        gap: 12px;
    }

    .swatches figure,
    .swatches figure:nth-child(even) {
        width: 105px;
        margin: 0 0 25px;
        transform: none;
    }

    .swatches img {
        border-width: 5px;
    }

    .rsvp {
        gap: 45px;
    }

    .rsvp-form {
        margin: 0 -4px;
        padding: 35px 22px;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .wishes {
        background-attachment: scroll;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
    }

    .finale {
        min-height: 78svh;
    }

    .finale__image {
        background-position: 40% center;
    }

    footer {
        grid-template-columns: 1fr auto;
    }

    footer p {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .petals {
        display: none;
    }

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