:root {
    --bg: #ece9e3;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --text: #111111;
    --muted: #5d5d5d;
    --line: rgba(17, 17, 17, 0.1);
    --line-strong: rgba(17, 17, 17, 0.18);
    --silver: #b9bcc3;
    --silver-deep: #8f949b;
    --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
    --shadow-soft: 0 18px 44px rgba(17, 17, 17, 0.07);
    --radius: 28px;
    --radius-sm: 20px;
    --container: min(1180px, calc(100vw - 40px));
    --font-display: "Cormorant Garamond", serif;
    --font-accent: "Bodoni Moda", serif;
    --font-body: "Manrope", sans-serif;
    --fs-h1: clamp(3.5rem, 5.6vw, 4.5rem);
    --fs-h2: clamp(2.5rem, 4vw, 3rem);
    --fs-h3: clamp(1.75rem, 2.4vw, 2rem);
    --fs-body: 1.125rem;
    --fs-small: 0.96rem;
    --ls-caption: 0.22em;
    --ls-heading: -0.02em;
    --lh-heading: 1.04;
    --lh-body: 1.82;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(186, 186, 186, 0.42), transparent 24%),
        linear-gradient(180deg, #f3f1ed 0%, var(--bg) 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

.page-shell {
    overflow: clip;
}

.audio-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.12);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.15);
}

.audio-toggle.is-playing {
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 44px 0;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 40px 0 24px;
}

.hero__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(130deg, rgba(255, 255, 255, 0.7), transparent 45%),
        repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.015) 0 1px, transparent 1px 18px);
}

.hero__grid,
.intro-card__layout,
.two-up,
.hero__meta,
.palette,
.contacts,
.rsvp__form {
    display: grid;
    gap: 24px;
}

.hero__grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--silver-deep);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: var(--ls-caption);
    text-transform: uppercase;
    line-height: 1.5;
}

.eyebrow--script {
    font-family: "Great Vibes", cursive;
    font-size: clamp(5.6rem, 10vw, 7.6rem);
    font-weight: 400;
    color: #111111;
    letter-spacing: 0;
    line-height: 0.98;
    text-transform: none;
}

.hero__lead,
.lead-text {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.4vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: var(--ls-heading);
    font-weight: 500;
    margin: 0;
    text-wrap: balance;
    max-width: 19ch;
}

.lead-text {
    max-width: 22ch;
}

.hero__lead-line {
    display: block;
    white-space: nowrap;
}

.hero__sublead {
    margin: 10px 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-style: italic;
    line-height: 1.2;
    color: var(--muted);
}

.intro-card .lead-text {
    max-width: 18ch;
    font-size: clamp(2rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.intro-card .section-heading h2 {
    font-family: "Great Vibes", cursive !important;
    font-size: clamp(3.2rem, 5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.95;
    text-align: center;
    color: #813742;
}

.intro-card .lead-text {
    font-family: "Cormorant Garamond", serif !important;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.hero__names,
.section-heading h2,
.closing h2 {
    font-family: var(--font-display);
    letter-spacing: var(--ls-heading);
    font-weight: 600;
    text-wrap: balance;
}

.hero__names {
    margin: 28px 0 24px;
    max-width: min(100%, 640px);
}

.hero__names {
    display: block;
}

.hero__names img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 30px 0 24px;
    gap: 20px;
}

.hero__meta div,
.card,
.intro-card,
.calendar-card,
.contact-card,
.timeline__body {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.hero__meta div {
    padding: 20px 22px;
    border-radius: var(--radius-sm);
}

.timeline__body h3,
.contact-card h3 {
    display: block;
    font-size: var(--fs-h3);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    text-wrap: balance;
}

.hero__meta strong,
.palette__item strong {
    display: block;
    font-size: 1.05rem;
    font-family: var(--font-accent);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 6px;
}

.hero__meta span,
.hero__text,
.card p,
.intro-card p,
.calendar-card p,
.timeline__body p,
.contact-card p,
.contact-card a,
.rsvp__status {
    color: var(--muted);
}

.hero__meta span,
.card p,
.intro-card p,
.calendar-card p,
.timeline__body p,
.contact-card p,
.contact-card a,
.rsvp__status,
.dress-code p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.hero__text {
    max-width: 32rem;
    font-size: var(--fs-body);
    line-height: 1.84;
    margin: 0 0 34px;
    text-wrap: pretty;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    max-width: 1160px;
}

.countdown__item {
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #8d3e48;
    text-align: center;
    box-shadow: none;
}

.countdown__item span {
    display: block;
    font-size: clamp(3.9rem, 6.6vw, 5.8rem);
    font-family: "Bodoni Moda", serif;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.countdown__item small {
    display: block;
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.9;
}

.hero__visual {
    order: 2;
    display: flex;
    justify-content: center;
}

.hero-gallery {
    width: min(100%, 470px);
}

.photo-card {
    position: relative;
    width: min(100%, 430px);
    padding: 18px;
    border-radius: 36px;
    background: linear-gradient(145deg, #ffffff, #ebebeb);
    box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
    transform: rotate(2deg);
}

.photo-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 28px;
}

.photo-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
    filter: grayscale(1) contrast(1.03);
}

.photo-card__stamp {
    position: absolute;
    top: 26px;
    right: 28px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(17, 17, 17, 0.08);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2,
.closing h2 {
    margin: 0;
    font-size: var(--fs-h2);
    line-height: 1.05;
}

.intro-card,
.card,
.calendar-card,
.contact-card,
.closing,
.timeline__body {
    border-radius: var(--radius);
}

.intro-card,
.calendar-card,
.card,
.closing {
    padding: 38px;
}

.intro-card__layout,
.two-up,
.contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.intro-card__layout > div:first-child {
    max-width: 34rem;
}

.intro-card__photo {
    margin: 0;
    align-self: center;
    overflow: hidden;
    display: grid;
    justify-items: center;
    gap: 18px;
}

.intro-card__photo img {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 0;
    aspect-ratio: 1.08;
    object-fit: cover;
    object-position: center 54%;
}

.intro-card__caption {
    margin: 0;
    max-width: 16ch;
    text-align: center;
    color: #9ea4af;
    font-family: "Great Vibes", cursive;
    font-size: clamp(2.2rem, 3.8vw, 3.1rem);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: 0;
}

.gifts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    gap: 24px;
    align-items: stretch;
}

.gift-feature,
.note-feature {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
}

.gift-feature {
    padding: 38px;
}

.gift-feature__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.gift-feature__icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    color: var(--silver-deep);
    font-size: 2rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.gift-feature__copy {
    max-width: 35rem;
    text-align: center;
}

.gift-feature__lead {
    margin-top: 0;
    color: var(--text);
    font-size: clamp(1.18rem, 1.6vw, 1.38rem);
    line-height: 1.7;
    text-align: center;
}

.gift-feature__accent {
    color: #813742;
    font-weight: 800;
    text-transform: uppercase;
}

.gift-feature__emphasis {
    color: #813742;
    font-weight: 800;
    text-transform: uppercase;
}

.gift-feature__line {
    display: block;
}

.gift-feature__divider {
    width: 100%;
    height: 1px;
    margin: 18px 0 20px;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.16), rgba(185, 188, 195, 0.55), rgba(17, 17, 17, 0.04));
}

.note-feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    padding: 34px 32px;
    align-items: center;
}

.note-feature__badge {
    align-self: stretch;
    min-width: 122px;
    padding: 12px 10px;
    border-right: 1px solid rgba(17, 17, 17, 0.08);
    display: grid;
    place-items: center;
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 3vw, 4rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--text);
}

.note-feature__content {
    max-width: 24rem;
}

.note-feature__content .section-heading {
    margin-bottom: 16px;
}

.note-feature__content h2 {
    max-width: 8ch;
}

.dress-code p,
.calendar-card p {
    margin-top: 0;
    max-width: 34rem;
}

.dress-code__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.dress-code__photo {
    margin: 0;
    padding: 14px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.dress-code__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 0.8;
    object-fit: cover;
    border-radius: 20px;
}

.dress-code__photo--palette {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.dress-code__photo--palette img {
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
}

.palette {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-content: center;
}

.palette__item {
    text-align: center;
}

.palette__swatch {
    width: min(100%, 140px);
    aspect-ratio: 1;
    display: block;
    margin: 0 auto 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 30%),
        linear-gradient(145deg, var(--swatch), color-mix(in srgb, var(--swatch) 72%, #ffffff));
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: inset 0 8px 16px rgba(255, 255, 255, 0.45), 0 20px 30px rgba(17, 17, 17, 0.08);
}

.calendar {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
}

.calendar__top,
.calendar__days,
.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar__top {
    grid-template-columns: 1fr auto;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.calendar__top span:last-child {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.calendar__days span,
.calendar__grid span {
    padding: 14px 10px;
    text-align: center;
}

.calendar__days {
    color: var(--silver-deep);
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.calendar__grid span {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 58px;
    display: grid;
    place-items: center;
}

.calendar__grid span:nth-child(7n) {
    border-right: 0;
}

.calendar__grid .is-accent {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(71, 71, 71, 0.96));
    color: #fff;
    font-family: var(--font-accent);
    font-weight: 800;
}

.card--wide {
    padding: 38px;
}

.rsvp {
    display: grid;
    gap: 26px;
    align-items: start;
}

.rsvp .section-heading {
    margin-bottom: 0;
}

.rsvp__form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.rsvp__form input {
    height: 60px;
    border-radius: 20px;
    border: 1px solid var(--line-strong);
    background: #fff;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rsvp__form input:focus {
    border-color: var(--silver-deep);
    box-shadow: 0 0 0 4px rgba(185, 188, 195, 0.28);
}

.rsvp__form button {
    height: 60px;
    padding: 0 28px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, #171717, #343434);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 32px rgba(17, 17, 17, 0.16);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.rsvp__form button:hover,
.rsvp__form button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(17, 17, 17, 0.18);
    filter: brightness(1.04);
}

.rsvp__form button:active {
    transform: translateY(0);
}

.rsvp__status {
    min-height: 1.4em;
    margin: 14px 0 0;
    font-size: var(--fs-small);
}

.rsvp .section-heading h2 {
    max-width: none;
    white-space: nowrap;
}

.rsvp .section-heading .type-accent {
    display: inline;
    margin-left: 0;
    font-family: "Bodoni Moda", serif;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.rsvp__content {
    display: grid;
    gap: 14px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 30px;
    padding: 18px 0 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(129, 55, 66, 0.12), rgba(129, 55, 66, 0.55), rgba(129, 55, 66, 0.12));
}

.timeline__item {
    display: grid;
    grid-template-columns: 62px 102px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    position: relative;
}

.timeline__marker {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 249, 250, 0.92) 48%, rgba(244, 230, 233, 0.95) 100%);
    border: 1px solid rgba(129, 55, 66, 0.18);
    box-shadow: 0 14px 34px rgba(129, 55, 66, 0.12);
    color: #813742;
    position: relative;
    z-index: 1;
}

.timeline__time {
    font-family: "Forum", var(--font-display);
    font-size: clamp(1.6rem, 2.7vw, 2rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #813742;
    text-align: left;
    padding-left: 6px;
    padding-right: 0;
}

.timeline__body {
    padding: 26px 28px;
    border: 1px solid rgba(129, 55, 66, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 252, 0.92)),
        var(--surface);
    box-shadow: 0 18px 44px rgba(55, 28, 34, 0.07);
}

.timeline__body h3 {
    font-size: var(--fs-h3);
    max-width: none;
    margin-bottom: 8px;
}

.timeline__body p {
    max-width: 34ch;
    margin: 0;
}

.timeline__icon svg {
    width: 46px;
    height: 46px;
    display: block;
}

.contacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    padding: 32px 28px;
}

.contact-card p {
    font-size: var(--fs-small);
    letter-spacing: var(--ls-caption);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.contact-card a {
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

.section--closing {
    padding-bottom: 72px;
}

.closing {
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(201, 201, 201, 0.35), transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 244, 241, 0.96));
}

.closing h2 {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    max-width: 14ch;
    margin-inline: auto;
    line-height: 1.12;
    letter-spacing: 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    :root {
        --fs-h1: clamp(2.5rem, 6vw, 3rem);
        --fs-h2: clamp(2rem, 4.8vw, 2.6rem);
        --fs-h3: clamp(1.6rem, 2.8vw, 1.9rem);
    }

    .hero__grid,
    .intro-card__layout,
    .two-up,
    .contacts,
    .gifts-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 28px;
    }

    .hero__visual {
        order: 0;
        margin: 18px 0 10px;
    }

    .hero__grid {
        gap: 20px;
    }

    .photo-card {
        width: min(100%, 360px);
        transform: rotate(1deg);
    }

    .hero-gallery {
        width: min(100%, 380px);
    }

    .hero__lead {
        font-size: clamp(2rem, 5vw, 2.8rem);
        max-width: none;
        white-space: nowrap;
        margin: 0;
    }

    .hero__names {
        font-size: var(--fs-h1);
        margin: 10px 0 14px;
    }

    .palette {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dress-code__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

    .rsvp .section-heading h2 {
        max-width: 14ch;
        white-space: normal;
    }

    .note-feature {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .note-feature__badge {
        min-width: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 17, 17, 0.08);
        padding: 0 0 18px;
        justify-content: start;
    }
}

@media (max-width: 720px) {
    :root {
        --container: min(100vw - 24px, 1120px);
        --radius: 24px;
        --radius-sm: 18px;
        --fs-h1: clamp(2rem, 9vw, 2.375rem);
        --fs-h2: clamp(2rem, 8vw, 2.4rem);
        --fs-h3: clamp(1.55rem, 6vw, 1.8rem);
        --fs-body: 1rem;
        --fs-small: 0.95rem;
    }

    .section {
        padding: 28px 0;
    }

    .hero__copy {
        max-width: 100%;
        text-align: left;
    }

    .eyebrow {
        margin-bottom: 10px;
        font-size: 0.82rem;
        letter-spacing: 0.16em;
        text-align: left;
    }

    .eyebrow.eyebrow--script {
        font-size: 3.4rem;
        letter-spacing: 0;
    }

    .hero__lead {
        font-size: 1.2rem;
        line-height: 1.1;
        max-width: none;
        margin-top: 0;
        margin-bottom: 14px;
        white-space: normal;
        text-wrap: balance;
        margin-left: 0;
        margin-right: auto;
        padding-left: 12px;
    }

    .hero__names {
        font-size: 2.34rem;
        line-height: 1;
        max-width: 100%;
        margin: 12px 0 18px;
        text-align: center;
    }

    .hero__names img {
        width: min(100%, 330px);
        margin: 0 auto;
    }

    .dress-code__layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dress-code__photo:not(.dress-code__photo--palette) {
        padding: 10px;
    }

    .dress-code__photo:not(.dress-code__photo--palette) img {
        aspect-ratio: auto;
    }

    .lead-text {
        max-width: none;
        font-size: 1.85rem;
        line-height: 1.16;
    }

    .intro-card__layout > div:first-child {
        max-width: none;
    }

    .intro-card__layout {
        gap: 18px;
    }

    .intro-card__photo img {
        max-width: 310px;
    }

    .hero__meta {
        margin: 20px 0 16px;
    }

    .hero__text {
        margin-bottom: 22px;
        max-width: none;
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero__visual {
        justify-content: center;
        margin: 0 0 8px;
    }

    .hero-gallery {
        margin: 0 auto;
    }

    .hero__meta,
    .palette,
    .rsvp__form,
    .contacts {
        grid-template-columns: 1fr;
    }

    .countdown {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
        max-width: 100%;
    }

    .countdown__item span {
        font-size: 2.7rem;
    }

    .countdown__item small {
        font-size: 1.04rem;
    }

    .photo-card {
        width: min(100%, 320px);
        padding: 12px;
    }

    .hero-gallery {
        width: min(100%, 320px);
    }

    .photo-card__stamp {
        top: 18px;
        right: 18px;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .audio-toggle {
        right: 12px;
        top: auto;
        bottom: 12px;
        width: 42px;
        height: 42px;
        padding: 0;
        font-size: 0;
        letter-spacing: 0;
        border-radius: 50%;
    }

    .audio-toggle::before {
        content: "♪";
        font-size: 1rem;
        font-weight: 700;
        line-height: 1;
    }

    .audio-toggle__label {
        display: none;
    }

    .gift-feature,
    .note-feature {
        padding: 24px;
    }

    .gift-feature__body {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gift-feature__icon {
        width: 58px;
        height: 58px;
        font-size: 1.7rem;
    }

    .gift-feature__lead {
        font-size: 1.08rem;
    }

    .note-feature__badge {
        font-size: 2.7rem;
        padding-bottom: 14px;
    }

    .note-feature__content,
    .note-feature__content h2 {
        max-width: none;
    }

    .hero__grain {
        opacity: 0.35;
    }

    .eyebrow {
        margin-bottom: 8px;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .hero__meta div {
        padding: 18px 18px 17px;
    }

    .hero__names span {
        margin: 10px 0 8px;
        font-size: 0.54em;
        letter-spacing: 0.03em;
        line-height: 1;
        display: block;
        text-align: center;
        color: var(--silver-deep);
    }

    .closing h2 {
        max-width: 100%;
        line-height: 1.08;
    }

    .intro-card,
    .card,
    .calendar-card,
    .contact-card,
    .closing,
    .timeline__body,
    .card--wide {
        padding: 24px;
    }

    .rsvp {
        gap: 20px;
    }

    .rsvp .section-heading h2 {
        max-width: none;
        white-space: nowrap;
        font-size: clamp(1.7rem, 6.1vw, 2.05rem);
        line-height: 1.04;
    }

    .timeline__item {
        grid-template-columns: 46px 68px minmax(0, 1fr);
        gap: 8px;
        align-items: start;
    }

    .timeline__time {
        padding-top: 0;
        padding-left: 2px;
        padding-top: 9px;
        font-size: 1.18rem;
    }

    .timeline::before {
        left: 23px;
    }

    .timeline__icon {
        width: 54px;
        height: 54px;
    }

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

    .timeline__body p {
        max-width: none;
    }

    .calendar__days,
    .calendar__grid {
        font-size: 0.82rem;
    }

    .calendar__days span,
    .calendar__grid span {
        min-height: 48px;
        padding: 10px 4px;
    }

    .photo-card {
        transform: none;
    }

    .closing h2 {
        max-width: 14ch;
        line-height: 1.12;
    }
}

@media (max-width: 420px) {
    .eyebrow {
        font-size: 0.76rem;
        letter-spacing: 0.14em;
    }

    .eyebrow.eyebrow--script {
        font-size: 3rem;
    }

    .hero__lead {
        font-size: 1.08rem;
        max-width: none;
        margin-bottom: 12px;
        padding-left: 10px;
    }

    .hero__names img {
        width: min(100%, 300px);
    }

    .countdown {
        gap: 11px;
    }

    .countdown__item span {
        font-size: 2.24rem;
        margin-bottom: 4px;
    }

    .countdown__item small {
        font-size: 0.86rem;
    }

    .timeline {
        gap: 20px;
    }

    .timeline__item {
        grid-template-columns: 40px 60px minmax(0, 1fr);
        gap: 8px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline__time {
        font-size: 1rem;
        padding-top: 8px;
        padding-left: 2px;
    }

    .timeline__icon {
        width: 48px;
        height: 48px;
    }

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

    .timeline__body {
        padding: 20px 16px;
    }

    .timeline__body h3 {
        font-size: 1.45rem;
    }

    .rsvp {
        gap: 18px;
    }

    .rsvp.card--wide {
        padding: 20px;
    }

    .rsvp .section-heading h2 {
        font-size: 1.48rem;
        line-height: 1.08;
        letter-spacing: -0.03em;
        white-space: normal;
    }

    .rsvp .section-heading .type-accent {
        display: block;
        margin-top: 6px;
        font-size: 1.12em;
    }
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

