@media (max-width: 960px) {
    :root { --header-height: 4.8rem; }
    .container { width: min(calc(100% - 2.25rem), var(--content-width)); }
    .menu-toggle { display: block; }
    .nav-panel { position: fixed; z-index: -1; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; padding: calc(var(--header-height) + 2rem) 2rem 2rem; color: var(--color-forest-dark); background: rgba(255, 249, 239, 0.98); opacity: 0; visibility: hidden; transform: translateY(-1rem); transition: opacity var(--transition), visibility var(--transition), transform var(--transition); }
    .nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav-panel > a:not(.button) { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
    .nav-panel .button { margin-top: 0.5rem; }
    .hero { min-height: max(44rem, 100svh); }
    .hero-backdrop--curated { --hero-object-position: 58% 51%; }
    .hero-facts { flex-wrap: wrap; gap: 0.5rem 1rem; }
    .hero-facts span + span::before { margin-right: 1rem; }
    .countdown-wrap { grid-template-columns: 1fr; text-align: center; }
    .countdown-complete { grid-column: 1; }
    .story-timeline { gap: 1rem; }
    .story-timeline li { padding-inline: 0.7rem; }
    .details-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-card:nth-child(3) { border-left: 0; border-top: 1px solid rgba(233, 213, 182, 0.27); }
    .detail-card:nth-child(4) { border-top: 1px solid rgba(233, 213, 182, 0.27); }
    .gallery-grid { grid-auto-rows: 11rem; }
    .gallery-item, .gallery-item:nth-child(3), .gallery-item:nth-child(4) { grid-column: span 6; }
    .gallery-item:nth-child(5), .gallery-item:nth-child(6) { grid-column: span 6; }
    .rsvp-layout { grid-template-columns: 1fr; }
    .rsvp-aside { position: relative; top: auto; }
}

@media (max-width: 760px) {
    .section { padding-block: clamp(4.2rem, 16vw, 6rem); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .welcome-grid, .venue-grid, .dress-grid { grid-template-columns: 1fr; }
    .welcome-grid, .venue-grid { gap: 4.5rem; }
    .welcome-art { order: 2; }
    .image-frame { max-width: 25rem; }
    .welcome-copy { padding: 1.75rem; border-radius: 1.6rem 1.6rem 3.5rem; }
    .welcome-copy h2 { max-width: 13ch; }
    .welcome-photo-sticker { width: 4.8rem; }
    .welcome-photo-sticker--umbrella { top: 12%; left: -0.8rem; }
    .welcome-photo-sticker--shell { right: -0.65rem; bottom: 9%; width: 4.3rem; }
    .welcome-section__wave { height: 5.5rem; }
    .story-timeline { display: block; }
    .story-timeline::before { top: 0; bottom: 0; left: 2.3rem; width: 1px; height: auto; }
    .story-timeline li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1.3rem; margin-bottom: 2.2rem; padding: 0; text-align: left; }
    .story-number { margin: 0; }
    .event-timeline li { grid-template-columns: 5.5rem 1.2rem 1fr; gap: 1rem; }
    .venue-image { width: min(90%, 32rem); }
    .venue-stamp { right: -2rem; }
    .dress-section { background: linear-gradient(170deg, #173d32 0 48%, #264c40 48% 100%); }
    .dress-grid { gap: 4rem; }
    .palette-panel { width: min(100%, 34rem); margin: auto; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-intro { position: relative; top: auto; }
    .rsvp-banner__inner { padding-bottom: 11rem; }
    .qr-placeholder { right: 50%; bottom: 2.4rem; transform: translateX(50%); }
    .lightbox { grid-template-columns: 3rem minmax(0, 1fr) 3rem; padding: 1rem; }
    .lightbox-nav { width: 2.8rem; height: 2.8rem; }
    .contact-links { align-items: center; flex-direction: column; }
}

@media (max-width: 560px) {
    .container { width: min(calc(100% - 1.5rem), var(--content-width)); }
    .hero-content { padding-top: calc(var(--header-height) + 2.5rem); }
    .hero-backdrop--curated { --hero-object-position: 63% 50%; }
    .hero-title-lockup::before { inset: -1.4rem -1.1rem -0.9rem; filter: blur(3px); }
    .hero-title-lockup::after { bottom: 0.15rem; width: 7rem; }
    .hero .script-kicker { font-size: clamp(2.8rem, 16vw, 4.3rem); }
    .hero h1 { flex-direction: column; gap: 0; margin-block: 0.2rem 1.2rem; font-size: clamp(4.2rem, 19vw, 6rem); line-height: 0.72; }
    .hero h1 i { margin-block: 0.14em; font-size: 0.54em; }
    .hero-facts { flex-direction: column; gap: 0.3rem; font-size: 0.8rem; }
    .hero-facts span + span::before { display: none; }
    .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 19rem); margin: auto; }
    .countdown-section { margin-top: -1rem; }
    .countdown-wrap { width: calc(100% - 1rem); gap: 2rem; padding: 2rem 0.7rem; border-radius: var(--radius-medium); }
    .countdown strong { font-size: clamp(1.9rem, 11vw, 2.8rem); }
    .countdown span { font-size: 0.51rem; letter-spacing: 0.09em; }
    .welcome-section::before { display: none; }
    .welcome-copy { padding: 1.45rem 1.2rem 1.7rem; border-radius: 1.35rem 1.35rem 2.8rem; }
    .welcome-copy::before { top: 0.85rem; right: 1rem; transform: scale(0.78); transform-origin: right; }
    .welcome-moods { gap: 0.45rem; }
    .welcome-moods li { padding-right: 0.62rem; font-size: 0.67rem; }
    .welcome-moods img { width: 1.55rem; height: 1.55rem; }
    .welcome-section .image-frame { width: calc(100% - 1.25rem); padding: 0.5rem 0.5rem 0; border-radius: 50vw 50vw 1.5rem 1.5rem; }
    .welcome-section .image-frame::before { inset: -0.35rem; border-radius: 50vw 50vw 1.75rem 1.75rem; }
    .welcome-section .image-frame__media { border-radius: 50vw 50vw 1rem 1rem; }
    .welcome-section .image-frame .image-note { min-height: 2.8rem; padding-inline: 0.45rem; font-size: 0.68rem; }
    .details-grid { grid-template-columns: 1fr; }
    .detail-card + .detail-card { border-top: 1px solid rgba(233, 213, 182, 0.27); border-left: 0; }
    .event-timeline li { grid-template-columns: 4.5rem 0.9rem 1fr; gap: 0.7rem; min-height: 7.5rem; }
    .event-timeline time { font-size: 1.05rem; }
    .event-timeline h3 { font-size: 1.35rem; }
    .venue-image { width: calc(100% - 1rem); }
    .venue-stamp { right: -1rem; bottom: -2rem; width: 7rem; height: 7rem; }
    .venue-copy { padding-top: 1rem; }
    .button-row { align-items: stretch; flex-direction: column; }
    .button-row .button { width: 100%; }
    .swatches { gap: 1rem 0.5rem; }
    .swatches > div, .swatches span { width: 3.7rem; }
    .swatches span { height: 3.7rem; }
    .gift-card { width: calc(100% - 1.5rem); }
    .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 12rem; }
    .gallery-item, .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    .gallery-item:first-child, .gallery-item:nth-child(4) { grid-column: 1 / -1; }
    .gallery-item > .gallery-item__caption { display: none; }
    .lightbox { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 1rem; padding-top: 5rem; }
    .lightbox figure { grid-column: 1 / -1; }
    .lightbox-nav { grid-row: 2; justify-self: center; }
    .lightbox-nav--prev { grid-column: 1; }
    .lightbox-nav--next { grid-column: 2; }
    .accordion-panel p { padding-right: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
    .form-card { border-radius: var(--radius-medium); }
    .form-grid, .attendance-choice { grid-template-columns: 1fr; }
    .attendance-choice legend, .attendance-choice .field-error { grid-column: 1; }
    .attendance-fields { padding: 1rem; }
    .rsvp-aside { border-radius: var(--radius-medium); }
    .submit-button { width: 100%; }
    .celebration-page { padding-inline: 0.75rem; }
    .celebration-card { border-radius: var(--radius-medium); }
}

@media (max-width: 360px) {
    .hero { min-height: 43rem; }
    .wordmark { font-size: 1.4rem; }
    .countdown span { letter-spacing: 0; }
    .story-timeline li { grid-template-columns: 3.8rem 1fr; }
    .story-number { width: 3.8rem; height: 3.8rem; }
    .story-timeline::before { left: 1.9rem; }
    .swatches > div, .swatches span { width: 3.3rem; }
    .swatches span { height: 3.3rem; }
}

@media (min-width: 1500px) {
    :root { --content-width: 1280px; }
}

/* Capability-aware refinements for the premium interaction layer. */
@media (max-width: 960px) {
    .site-header,
    .site-header.is-scrolled,
    .inner-page .site-header {
        padding-top: max(0.4rem, env(safe-area-inset-top));
    }

    .site-nav {
        width: calc(100% - 1rem);
        padding-inline: 1rem;
    }

    .nav-panel {
        inset: 0.45rem;
        z-index: -1;
        min-height: calc(100dvh - 0.9rem);
        padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 2rem);
        background:
            radial-gradient(circle at 78% 18%, rgba(227, 170, 141, 0.22), transparent 25%),
            rgba(255, 249, 239, 0.985);
        border: 1px solid rgba(183, 131, 47, 0.3);
        border-radius: 1.5rem;
        clip-path: circle(0 at calc(100% - 2.3rem) 2.4rem);
        opacity: 1;
        transform: none;
        transition: clip-path 650ms var(--ease-premium), visibility 650ms;
    }

    .nav-panel.is-open {
        clip-path: circle(150% at calc(100% - 2.3rem) 2.4rem);
    }

    .nav-panel > a {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 350ms ease, transform 500ms var(--ease-premium);
    }

    .nav-panel.is-open > a {
        opacity: 1;
        transform: none;
    }

    .nav-panel.is-open > a:nth-child(1) { transition-delay: 130ms; }
    .nav-panel.is-open > a:nth-child(2) { transition-delay: 180ms; }
    .nav-panel.is-open > a:nth-child(3) { transition-delay: 230ms; }
    .nav-panel.is-open > a:nth-child(4) { transition-delay: 280ms; }
    .nav-panel.is-open > a:nth-child(5) { transition-delay: 330ms; }
    .nav-panel.is-open > a:nth-child(6) { transition-delay: 380ms; }
    .nav-panel.is-open > a:nth-child(7) { transition-delay: 430ms; }

    .hero-content {
        width: min(calc(100% - 2rem), 820px);
    }

    .countdown-section {
        margin-top: -2.4rem;
    }

}

@media (max-width: 760px) {
    .hero::before {
        inset: 0.6rem;
    }

    .story-timeline::before,
    .story-timeline::after {
        top: 0;
        bottom: auto;
        left: 2.2rem;
        width: 2px;
        height: 100%;
    }

    .story-timeline::after {
        transform: scaleY(var(--line-progress));
        transform-origin: top;
    }

    .story-timeline li {
        grid-template-columns: 4.4rem minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: start;
        gap: 1.25rem;
    }

    .story-number {
        width: 4.4rem;
        height: 4.4rem;
        box-shadow: 0 0 0 0.5rem var(--color-parchment), 0 10px 28px rgba(32, 55, 47, 0.1), inset 0 0 0 0.24rem rgba(255, 249, 239, 0.72);
    }

    .story-card {
        min-height: 0;
        height: auto;
        text-align: left;
    }

    .story-card__content {
        align-items: flex-start;
        padding: 1.55rem 1.45rem;
    }

    .story-card__photo {
        height: 8.5rem;
    }

    .story-card p:last-child {
        max-width: none;
    }

    .event-timeline::before,
    .event-timeline::after {
        left: 6.86rem;
    }

    .palette-panel {
        border-radius: 3rem 3rem var(--radius-large) var(--radius-large);
    }

    .inner-hero {
        min-height: 31rem;
    }
}

@media (max-width: 560px) {
    .site-nav {
        width: calc(100% - 0.75rem);
    }

    .site-header.is-scrolled .site-nav,
    .inner-page .site-header .site-nav {
        min-height: 4rem;
    }

    .hero {
        min-height: max(45rem, 100svh);
    }

    .hero-content {
        width: calc(100% - 1.5rem);
    }

    .hero-overline {
        margin-bottom: 0.9rem;
        padding: 0.46rem 0.7rem;
        font-size: 0.52rem;
        letter-spacing: 0.13em;
    }

    .hero-overline i {
        width: 1.3rem;
    }

    .hero-facts {
        width: min(100%, 18rem);
        padding: 0.9rem 1rem;
        border-radius: 1.5rem;
    }

    .love-marquee {
        --marquee-duration: 44s;
        width: 100%;
        border-radius: 0;
    }

    .love-marquee__track {
        padding-block: 0.7rem;
    }

    .love-marquee__group {
        gap: 1.1rem;
        padding-right: 1.1rem;
    }

    .love-marquee__item {
        font-size: 0.67rem;
        letter-spacing: 0.17em;
    }

    .love-marquee__item.is-emphasized {
        font-size: 0.63rem;
    }

    .love-marquee__item.is-signature {
        font-size: 1.3rem;
    }

    .love-marquee__item.is-venue {
        font-size: 0.65rem;
    }

    .love-marquee__marker {
        width: 1.35rem;
        height: 1.35rem;
    }

    .love-marquee__rail {
        right: 2rem;
        left: 2rem;
    }

    .countdown-section {
        margin-top: -1.6rem;
    }

    .image-frame::after {
        right: -0.4rem;
        width: 3.6rem;
        height: 3.6rem;
    }

    .story-timeline::before,
    .story-timeline::after {
        left: 1.925rem;
    }

    .story-timeline li {
        grid-template-columns: 3.85rem minmax(0, 1fr);
        gap: 0.9rem;
    }

    .story-number {
        width: 3.85rem;
        height: 3.85rem;
        box-shadow: 0 0 0 0.38rem var(--color-parchment), 0 9px 24px rgba(32, 55, 47, 0.09), inset 0 0 0 0.2rem rgba(255, 249, 239, 0.72);
    }

    .story-number small {
        display: none;
    }

    .story-card {
        border-radius: 1.25rem;
    }

    .story-card__content {
        padding: 1.35rem 1.15rem;
    }

    .story-card__mark {
        top: 0.85rem;
        right: 0.9rem;
    }

    .event-timeline::before,
    .event-timeline::after {
        left: 5.65rem;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        border-radius: 4rem 4rem var(--radius-medium) var(--radius-medium);
    }

    .gallery-item:hover {
        transform: none;
    }

    .form-card,
    .celebration-card {
        background-color: rgba(255, 249, 239, 0.94);
        backdrop-filter: none;
    }
}

/* Compact phones: preserve the editorial feel without squeezing the content. */
@media (max-width: 430px) {
    :root {
        --header-height: 4.4rem;
    }

    body {
        overflow-wrap: break-word;
    }

    .container {
        width: min(calc(100% - 1.25rem), var(--content-width));
    }

    .section {
        padding-block: clamp(3.5rem, 15vw, 4.75rem);
    }

    h2 {
        font-size: clamp(2.2rem, 11vw, 3.05rem);
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .section-heading p:last-child,
    .section-copy > p:not(.eyebrow):not(.signature) {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.19em;
    }

    .site-header,
    .site-header.is-scrolled,
    .inner-page .site-header {
        padding-top: max(0.3rem, env(safe-area-inset-top));
    }

    .site-nav {
        width: calc(100% - 0.5rem);
        min-height: calc(var(--header-height) - 0.7rem);
        padding-inline: 0.75rem;
    }

    .site-header.is-scrolled .site-nav,
    .inner-page .site-header .site-nav {
        min-height: 3.8rem;
    }

    .wordmark {
        gap: 0.22rem;
        font-size: 1.35rem;
    }

    .menu-toggle {
        flex: 0 0 auto;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0.65rem;
    }

    .nav-panel {
        inset: 0.3rem;
        justify-content: flex-start;
        gap: 0.15rem;
        min-height: calc(100dvh - 0.6rem);
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 1.35rem) max(1rem, env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
        overflow-y: auto;
        border-radius: 1.25rem;
        overscroll-behavior: contain;
    }

    .nav-panel > a:not(.button) {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.65rem;
        font-size: 1.42rem;
        line-height: 1;
    }

    .nav-panel .button {
        width: min(100%, 17rem);
        margin-top: 0.35rem;
    }

    .button {
        min-height: 3.25rem;
        padding: 0.78rem 1.25rem;
        letter-spacing: 0.1em;
    }

    .hero {
        min-height: max(42rem, 100svh);
    }

    .hero::before {
        inset: 0.35rem;
    }

    .hero-content {
        width: calc(100% - 1.25rem);
        padding-block: calc(var(--header-height) + env(safe-area-inset-top) + 1.75rem) 5.25rem;
    }

    .hero-overline {
        gap: 0.55rem;
        margin-bottom: 0.75rem;
        padding: 0.42rem 0.62rem;
        font-size: 0.49rem;
    }

    .sun-emblem {
        width: 5.8rem;
        height: 3.8rem;
        margin-bottom: 0.85rem;
    }

    .hero .script-kicker {
        font-size: clamp(2.55rem, 14vw, 3.6rem);
    }

    .hero .eyebrow {
        margin-top: 0.95rem;
        padding: 0.4rem 0.65rem;
    }

    .hero .eyebrow::before,
    .hero .eyebrow::after {
        width: 0.8rem;
    }

    .hero h1 {
        margin-block: 0.15rem 1rem;
        font-size: clamp(3.5rem, 18vw, 4.75rem);
        line-height: 0.76;
    }

    .hero h1 i {
        margin-block: 0.1em;
    }

    .hero-facts {
        width: min(100%, 17rem);
        gap: 0.12rem;
        margin-bottom: 1.3rem;
        padding: 0.72rem 0.8rem;
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .hero-actions {
        width: min(100%, 18rem);
        gap: 0.65rem;
    }

    .scroll-cue {
        bottom: 1rem;
        width: 1.8rem;
        height: 2.8rem;
    }

    .countdown-section {
        margin-top: -1.25rem;
    }

    .countdown-wrap {
        width: calc(100% - 0.75rem);
        gap: 1.35rem;
        padding: 1.6rem 0.75rem 1.5rem;
        border-radius: 1.25rem;
    }

    .countdown-wrap h2 {
        font-size: 2rem;
    }

    .countdown strong {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
    }

    .countdown span {
        margin-top: 0.25rem;
        font-size: 0.48rem;
        letter-spacing: 0.06em;
    }

    .countdown > div:first-child {
        border-left: 0;
    }

    .love-marquee {
        width: 100%;
        margin-top: 0.5rem;
    }

    .love-marquee__track {
        padding-block: 0.62rem;
    }

    .welcome-grid,
    .venue-grid {
        gap: 3.25rem;
    }

    .image-frame {
        width: calc(100% - 0.75rem);
        margin-inline: auto;
    }

    .story-timeline::before,
    .story-timeline::after {
        left: 1.375rem;
    }

    .story-timeline li {
        grid-template-columns: 2.75rem minmax(0, 1fr);
        gap: 0.65rem;
        margin-bottom: 1.65rem;
    }

    .story-timeline li:last-child {
        margin-bottom: 0;
    }

    .story-number {
        width: 2.75rem;
        height: 2.75rem;
        margin-top: 0.2rem;
        box-shadow: 0 0 0 0.28rem var(--color-parchment), 0 8px 20px rgba(32, 55, 47, 0.09), inset 0 0 0 0.16rem rgba(255, 249, 239, 0.72);
    }

    .story-number strong {
        font-size: 1.05rem;
    }

    .story-card {
        border-radius: 1.1rem;
    }

    .story-card__photo {
        height: 7.5rem;
    }

    .story-card__content {
        padding: 1.2rem 1rem 1.25rem;
    }

    .story-card h3 {
        margin-bottom: 0.55rem;
        font-size: 1.55rem;
    }

    .story-card p:last-child {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .detail-card {
        padding: 1.65rem 1rem;
    }

    .detail-card .line-icon {
        margin-bottom: 0.8rem;
        font-size: 2.1rem;
    }

    .detail-card h3 {
        font-size: 1.42rem;
    }

    .event-timeline::before,
    .event-timeline::after {
        left: 0.38rem;
    }

    .event-timeline li {
        grid-template-areas:
            "marker time"
            "marker content";
        grid-template-columns: 0.9rem minmax(0, 1fr);
        gap: 0.2rem 0.85rem;
        min-height: 0;
        margin-bottom: 1.8rem;
    }

    .event-timeline li:last-child {
        margin-bottom: 0;
    }

    .event-timeline time {
        grid-area: time;
        padding-top: 0;
        font-size: 1rem;
        text-align: left;
    }

    .event-timeline li > span {
        grid-area: marker;
        width: 0.72rem;
        height: 0.72rem;
        margin-top: 0.28rem;
    }

    .event-timeline li > div {
        grid-area: content;
    }

    .event-timeline h3 {
        margin-bottom: 0.2rem;
        font-size: 1.42rem;
    }

    .event-timeline p {
        margin-bottom: 0;
        font-size: 0.84rem;
    }

    .venue-image {
        width: calc(100% - 0.5rem);
    }

    .venue-stamp {
        right: -0.25rem;
        bottom: -1.4rem;
        width: 6.25rem;
        height: 6.25rem;
        padding: 0.75rem;
    }

    .venue-stamp span {
        font-size: 1.2rem;
    }

    .venue-copy address,
    .travel-note,
    .restriction {
        font-size: 0.9rem;
    }

    .travel-note {
        gap: 0.65rem;
        padding: 0.9rem;
    }

    .dress-grid {
        gap: 3rem;
    }

    .palette-panel {
        padding: 1.4rem 1rem;
        border-radius: 2.5rem 2.5rem 1.2rem 1.2rem;
    }

    .dress-mood-image {
        width: calc(100% + 2rem);
        height: 9rem;
        margin: -1.4rem -1rem 1.25rem;
        border-radius: 2rem 2rem 0 0;
    }

    .swatches {
        gap: 0.8rem 0.45rem;
    }

    .swatches > div,
    .swatches span {
        width: 3.15rem;
    }

    .swatches span {
        height: 3.15rem;
    }

    .swatches p {
        font-size: 0.56rem;
    }

    .gift-card {
        width: calc(100% - 1rem);
        padding: 3rem 1.35rem 2.7rem;
        border-radius: 1.35rem;
    }

    .gift-card::before,
    .gift-card::after {
        width: 4rem;
        height: 4rem;
    }

    .gift-icon {
        width: 4rem;
        height: 4rem;
    }

    .gallery-grid {
        grid-auto-rows: 10rem;
        gap: 0.65rem;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        border-radius: 2.75rem 2.75rem 1rem 1rem;
    }

    .rsvp-banner__inner {
        padding: 2.8rem 1.25rem 1.5rem;
        border-radius: 1.35rem;
    }

    .rsvp-banner__inner::before {
        inset: 0.5rem;
        border-radius: 1rem;
    }

    .rsvp-flourish {
        font-size: 2.35rem;
    }

    .rsvp-banner h2 {
        font-size: 2.35rem;
    }

    .qr-placeholder {
        position: relative;
        right: auto;
        bottom: auto;
        width: 5.25rem;
        margin: 1.4rem auto 0;
        transform: none;
    }

    .accordion-item button {
        gap: 0.75rem;
        padding: 1.2rem 0;
        font-size: 1.22rem;
        line-height: 1.25;
    }

    .accordion-item button i {
        margin-left: 0;
    }

    .contact-inner .script-kicker {
        font-size: 2.75rem;
    }

    .contact-links {
        gap: 0.75rem;
    }

    .contact-links a {
        justify-content: center;
        width: 100%;
        min-width: 0;
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .site-footer {
        padding: 3.5rem 0 max(1.25rem, env(safe-area-inset-bottom));
    }

    .footer-grid {
        gap: 1.6rem;
        padding-bottom: 2rem;
    }

    .footer-wordmark {
        font-size: 1.9rem;
    }

    .inner-hero {
        min-height: 28rem;
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 2.4rem) 0 3rem;
    }

    .inner-hero--compact {
        min-height: 24rem;
    }

    .inner-hero .script-kicker {
        font-size: clamp(2.7rem, 14vw, 3.6rem);
    }

    .inner-hero h1,
    .inner-hero--compact h1 {
        margin-block: 0.4rem 0.8rem;
        font-size: clamp(2.55rem, 13vw, 3.4rem);
    }

    .inner-hero p:last-child {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .rsvp-layout {
        gap: 1.5rem;
    }

    .rsvp-aside {
        padding: 1.5rem 1.25rem;
        border-radius: 1.25rem;
    }

    .rsvp-aside h2 {
        margin-bottom: 1.35rem;
        font-size: 2.35rem;
    }

    .aside-emblem {
        margin-bottom: 0.6rem;
        font-size: 2.6rem;
    }

    .rsvp-aside dl > div {
        padding: 0.8rem 0;
    }

    .aside-help {
        margin-top: 1.35rem;
    }

    .form-card {
        padding: 1.2rem 1rem 1.35rem;
        border-radius: 1.25rem;
    }

    .form-heading {
        margin-bottom: 1.75rem;
    }

    .form-heading h2 {
        font-size: 2.3rem;
    }

    .form-grid {
        gap: 0;
    }

    .field {
        min-width: 0;
        margin-bottom: 1.05rem;
    }

    .field input,
    .field select,
    .field textarea {
        min-width: 0;
        min-height: 3.15rem;
        padding: 0.72rem 0.8rem;
        font-size: 1rem;
    }

    .attendance-choice {
        gap: 0.7rem;
        margin-bottom: 1.4rem;
    }

    .attendance-choice label > span {
        min-height: 5.5rem;
        padding: 0.9rem 0.8rem 0.85rem 2.8rem;
        border-radius: 1rem;
    }

    .attendance-choice input {
        top: 1rem;
        left: 0.9rem;
    }

    .attendance-fields {
        padding: 0.85rem;
        border-radius: 1rem;
    }

    .consent-field {
        margin: 1.2rem 0;
    }

    .consent-field label {
        gap: 0.6rem;
        font-size: 0.74rem;
    }

    .form-status {
        padding: 0.85rem;
    }

    .field-error:empty {
        min-height: 0;
        margin-top: 0;
    }

    .lightbox {
        padding: calc(4rem + env(safe-area-inset-top)) 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
    }

    .lightbox figure img {
        max-height: calc(100dvh - 10rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }

    .lightbox-close {
        top: calc(0.75rem + env(safe-area-inset-top));
        right: calc(0.75rem + env(safe-area-inset-right));
    }

    .celebration-page {
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 2rem) 0.65rem calc(2rem + env(safe-area-inset-bottom));
    }

    .celebration-card {
        padding: 2.5rem 1.2rem;
        border-radius: 1.25rem;
    }

    .celebration-card h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 380px) {
    .countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.8rem;
    }

    .countdown > div:nth-child(3),
    .countdown > div:nth-child(4) {
        padding-top: 0.75rem;
        border-top: 1px solid rgba(183, 131, 47, 0.22);
    }

    .countdown > div:nth-child(3) {
        border-left: 0;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 18vw, 4rem);
    }

    .story-card__content {
        padding-inline: 0.85rem;
    }

    .swatches > div,
    .swatches span {
        width: 2.95rem;
    }

    .swatches span {
        height: 2.95rem;
    }
}

@media (max-width: 430px) and (max-height: 740px) {
    .hero {
        min-height: 41rem;
    }

    .hero-content {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 1.2rem);
    }

    .scroll-cue {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 620px) and (max-width: 960px) {
    .hero {
        min-height: 44rem;
    }

    .hero-content {
        padding-top: calc(var(--header-height) + 2.5rem);
    }

    .nav-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 13rem));
        align-content: center;
        gap: 0.25rem 2rem;
    }

    .nav-panel > a:not(.button) {
        font-size: 1.35rem;
    }
}

@media (min-width: 1280px) {
    .hero-content {
        transform: translateY(1.2rem);
    }

    .gallery-grid {
        grid-auto-rows: 15.5rem;
        gap: 1.2rem;
    }
}

@media (min-width: 1900px) {
    :root {
        --content-width: 1380px;
    }

    .section {
        padding-block: clamp(8rem, 9vw, 11rem);
    }

    .gift-section {
        padding-block: 5.5rem;
    }

    .hero-content {
        width: min(calc(100% - 4rem), 1040px);
    }

    .gallery-grid {
        grid-auto-rows: 18rem;
    }
}

@media (max-width: 760px) {
    .beach-vibes {
        padding-block: 3.8rem 4.2rem;
    }

    .beach-vibes__heading {
        margin-bottom: 2.2rem;
    }

    .beach-vibes__heading h2 {
        font-size: clamp(2.65rem, 12vw, 3.75rem);
    }

    .beach-vibes__heading > p:last-child {
        max-width: 34rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .beach-vibes__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .beach-vibes__item:last-child {
        grid-column: 1 / -1;
    }

    .beach-vibes__sun {
        top: -3rem;
        right: -2.5rem;
        width: 8rem;
    }

    .beach-vibes__sticker {
        width: 4rem;
        opacity: 0.78;
    }

    .beach-vibes__sticker--palm {
        top: 9%;
        left: -0.65rem;
    }

    .beach-vibes__sticker--starfish {
        right: -0.4rem;
        bottom: 2%;
    }

    .happy-sticker {
        display: none;
    }

    .section-sticker-bridge {
        width: calc(100% - 1rem);
    }

    .section-sticker-bridge__main {
        width: 4.6rem;
    }

    .section-sticker-bridge__mini {
        width: 2.45rem;
    }

    .section-sticker-bridge--left .section-sticker-bridge__main {
        left: 0.2rem;
    }

    .section-sticker-bridge--left .section-sticker-bridge__mini {
        left: 3.7rem;
    }

    .section-sticker-bridge--right .section-sticker-bridge__main {
        right: 0.2rem;
    }

    .section-sticker-bridge--right .section-sticker-bridge__mini {
        right: 3.7rem;
    }

    .venue-map {
        min-height: 19rem;
    }
}

@media (max-width: 430px) {
    .beach-vibes {
        padding-block: 3.25rem 3.6rem;
    }

    .beach-vibes__heading {
        margin-bottom: 1.8rem;
    }

    .beach-vibes__item {
        min-height: 10rem;
        padding: 1rem 0.7rem;
        border-radius: 1.2rem;
    }

    .beach-vibes__icon {
        width: 3.55rem;
        margin-bottom: 0.7rem;
    }

    .beach-vibes__icon img {
        width: 2.8rem;
        height: 2.8rem;
    }

    .beach-vibes__item strong {
        font-size: 1.08rem;
    }

    .beach-vibes__item > span:last-child {
        font-size: 0.62rem;
    }

    .detail-card .line-icon {
        width: 4.25rem;
        height: 4.25rem;
    }

    .detail-card .line-icon img {
        width: 3.25rem;
        height: 3.25rem;
    }

    .section-sticker-bridge__main {
        width: 3.9rem;
    }

    .section-sticker-bridge__mini {
        width: 2rem;
    }

    .section-sticker-bridge--left .section-sticker-bridge__mini {
        left: 3.15rem;
    }

    .section-sticker-bridge--right .section-sticker-bridge__mini {
        right: 3.15rem;
    }

    .venue-actions {
        gap: 0.55rem;
    }

    .venue-map {
        min-height: 16rem;
        border-radius: 1.1rem;
    }

    .venue-map__label {
        right: 0.65rem;
        bottom: 0.65rem;
        left: 0.65rem;
        max-width: none;
        font-size: 0.72rem;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .beach-vibes__list {
        grid-template-columns: 1fr;
    }

    .beach-vibes__item,
    .beach-vibes__item:last-child {
        grid-column: auto;
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .story-section__wave {
        height: 5.5rem;
    }

    .story-number {
        width: 4.4rem;
        height: 4.4rem;
        background: linear-gradient(145deg, #fffdf6, var(--story-wash));
        box-shadow: 0 0 0 0.42rem rgba(255, 249, 237, 0.92), 0 10px 28px rgba(32, 91, 85, 0.12), inset 0 0 0 0.2rem rgba(255, 255, 255, 0.72);
    }

    .story-number > img {
        width: 3rem;
        height: 3rem;
    }

    .story-card__content {
        padding-right: 3.6rem;
    }

    .story-card__mark {
        top: 0.7rem;
        right: 0.7rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .story-card__mark img {
        width: 1.9rem;
        height: 1.9rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .details-grid .detail-card:nth-child(n) {
        min-height: 0;
        padding: 1.8rem 1.2rem;
        border: 1px solid color-mix(in srgb, var(--detail-accent) 46%, white);
        border-radius: 1.55rem;
    }

    .details-section__wave {
        height: 5.25rem;
    }

    .schedule-section__wave {
        height: 5.25rem;
    }

    .event-timeline::before,
    .event-timeline::after {
        top: 2rem;
        bottom: 2rem;
        left: 2.1rem;
        width: 3px;
        transform: none;
    }

    .event-timeline::after {
        bottom: auto;
        height: calc((100% - 4rem) * var(--line-progress));
    }

    .event-timeline li,
    .event-timeline li:nth-child(even) {
        grid-template-areas:
            "marker time"
            "marker content";
        grid-template-columns: 4.2rem minmax(0, 1fr);
        gap: 0.55rem 1rem;
        min-height: 0;
        margin-bottom: 1.25rem;
    }

    .event-timeline li:last-child {
        margin-bottom: 0;
    }

    .event-timeline time,
    .event-timeline li:nth-child(even) time {
        justify-self: start;
        min-width: 6.6rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
        text-align: center;
    }

    .event-timeline li > span {
        align-self: start;
        width: 4.2rem;
        height: 4.2rem;
        box-shadow: 0 0 0 0.32rem rgba(255, 249, 237, 0.94), 0 10px 24px rgba(31, 93, 86, 0.14), inset 0 0 0 0.18rem rgba(255, 255, 255, 0.76);
    }

    .event-timeline li > span img {
        width: 3rem;
        height: 3rem;
    }

    .event-timeline li > div,
    .event-timeline li:nth-child(even) > div {
        justify-self: stretch;
        width: 100%;
        padding: 1.15rem 1.2rem;
        border-radius: 1.2rem;
        text-align: left;
    }

    .event-timeline li:nth-child(even) > div::before {
        right: auto;
        left: 0;
        border-radius: 0 999px 999px 0;
    }

    .venue-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .venue-image {
        width: min(calc(100% - 1rem), 36rem);
    }

    .venue-copy {
        padding: 1.6rem;
        border-radius: 1.65rem 1.65rem 3rem;
    }

    .venue-section__wave {
        height: 5.25rem;
    }

    .dress-section {
        background:
            radial-gradient(circle at 88% 10%, rgba(255, 202, 85, 0.3), transparent 22%),
            linear-gradient(165deg, #126d70 0%, #1f8e8c 54%, #67c4b4 100%);
    }

    .dress-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dress-copy {
        padding: 1.7rem;
        border-radius: 1.7rem 1.7rem 3rem;
    }

    .palette-panel {
        width: min(100%, 36rem);
        margin-inline: auto;
        padding: 2rem 1.4rem;
        border-radius: 2.2rem 2.2rem 1.6rem 1.6rem;
    }

    .dress-section__wave {
        height: 5.25rem;
    }

    .gift-section {
        padding-block: 3.5rem;
    }

    .gift-card {
        width: min(calc(100% - 1rem), 680px);
        padding: 2.15rem 1.5rem 1.9rem;
        border-radius: 1.7rem 1.7rem 2.8rem;
    }

    .gift-section__wave {
        height: 4.75rem;
    }

    .gallery-heading {
        margin-bottom: 2.5rem;
    }

    .gallery-moods {
        gap: 0.4rem;
    }

    .gallery-moods span {
        padding: 0.32rem 0.58rem 0.32rem 0.38rem;
        font-size: 0.62rem;
    }

    .gallery-moods img {
        width: 1.45rem;
        height: 1.45rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 12.5rem;
        gap: 0.8rem;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
        border-radius: 1.2rem;
        rotate: 0deg;
    }

    .gallery-item:nth-child(6n + 1) {
        grid-column: 1 / -1;
        grid-row: span 2;
        border-radius: 5rem 5rem 1.2rem 1.2rem;
    }

    .gallery-item:nth-child(6n + 1) img,
    .gallery-item:nth-child(6n + 1)::after {
        border-radius: 4.5rem 4.5rem 0.85rem 0.85rem;
    }

    .gallery-item:nth-child(6n + 6) {
        grid-column: 1 / -1;
    }

    .gallery-item > .gallery-item__caption {
        display: flex;
        padding-inline: 0.35rem;
        font-size: 0.9rem;
    }

    .gallery-item__caption small {
        font-size: 0.52rem;
    }

    .gallery-section__wave {
        height: 5rem;
    }

    .rsvp-banner {
        padding-block: 4rem;
    }

    .rsvp-banner__inner {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: min(calc(100% - 1rem), 680px);
        padding: 0.6rem;
        padding-bottom: 0.6rem;
        border-radius: 2rem;
    }

    .rsvp-banner__inner::before {
        inset: 0.45rem;
        border-radius: 1.6rem;
    }

    .rsvp-banner__copy {
        padding: 2.5rem 1.5rem 2rem;
        text-align: center;
    }

    .rsvp-flourish {
        margin-inline: auto;
    }

    .rsvp-banner .rsvp-banner__copy > p:not(.eyebrow) {
        margin-inline: auto;
    }

    .rsvp-actions {
        justify-content: center;
    }

    .rsvp-postcard {
        width: min(100%, 31rem);
        min-height: 0;
        margin-inline: auto;
        padding: 2.4rem 1.5rem 1.45rem;
        border-radius: 5rem 1.6rem 1.6rem;
    }

    .rsvp-postcard__illustration {
        width: 6.2rem;
    }

    .rsvp-banner__wave {
        height: 5rem;
    }

    .faq-section {
        padding-block: 4.25rem;
    }

    .faq-layout {
        gap: 1.8rem;
    }

    .faq-intro {
        width: min(100%, 38rem);
        margin-inline: auto;
        padding: 2rem;
        border-radius: 4.5rem 1.6rem 1.6rem;
    }

    .faq-intro h2 {
        max-width: 10ch;
    }

    .faq-intro > p:not(.eyebrow) {
        max-width: 30rem;
    }

    .accordion {
        gap: 0.6rem;
    }

    .accordion-item button {
        padding: 0.72rem;
        font-size: 1.2rem;
    }

    .accordion-question > img {
        width: 3.25rem;
        height: 3.25rem;
    }

    .accordion-panel p {
        padding: 0 1rem 1.1rem 4.8rem;
    }

    .faq-section__wave {
        height: 5rem;
    }

    .contact-section {
        padding-block: 4.5rem;
    }

    .contact-inner {
        width: min(calc(100% - 1rem), 680px);
        padding: 2.6rem 1.4rem;
        border-radius: 2.2rem;
    }

    .contact-inner .script-kicker {
        font-size: clamp(2.65rem, 10vw, 4rem);
    }

    .contact-links {
        grid-template-columns: 1fr;
        width: min(100%, 38rem);
    }

    .contact-links a.contact-link-card {
        width: 100%;
    }

    .contact-section__wave {
        height: 5rem;
    }

    .footer-sticker--ball,
    .footer-sticker--sunglasses {
        top: 4.9rem;
        width: 3.8rem;
    }

    .site-footer .footer-grid,
    .site-footer .footer-bottom {
        width: min(calc(100% - 1.5rem), 680px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding-block: 2.5rem 1.8rem;
    }

    .footer-grid > .footer-brand-card {
        grid-column: 1 / -1;
    }

    .footer-card {
        padding: 1.25rem;
        border-radius: 1.3rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }

    .footer-bottom__note {
        display: none;
    }
}

@media (min-width: 761px) and (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-rows: 12rem;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 6;
        grid-row: span 1;
    }

    .gallery-item:nth-child(6n + 1) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(6n + 6) {
        grid-column: span 12;
    }

    .rsvp-banner__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.8fr);
        gap: 0.75rem;
        padding: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .rsvp-banner__copy {
        padding: 2.6rem 1.8rem;
    }

    .rsvp-postcard {
        min-height: 24rem;
        padding-inline: 1.25rem;
        border-radius: 6rem 1.6rem 1.6rem;
    }

    .faq-layout {
        gap: 2rem;
    }

    .faq-intro {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 1.3rem;
        width: min(100%, 47rem);
        margin-inline: auto;
        padding: 2.2rem;
        border-radius: 5rem 1.8rem 1.8rem;
    }

    .faq-intro__icon {
        grid-row: 1 / 5;
    }

    .faq-intro .eyebrow,
    .faq-intro h2,
    .faq-intro > p:not(.eyebrow),
    .faq-help-chips,
    .faq-contact-link {
        grid-column: 2;
    }

    .faq-intro h2 {
        max-width: none;
        font-size: 3.25rem;
    }

    .faq-help-chips {
        margin-top: 0.9rem;
    }

    .faq-contact-link {
        justify-self: start;
    }

    .contact-inner {
        width: min(calc(100% - 2rem), 780px);
        padding: 3.2rem 2.5rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
        width: min(100%, 40rem);
    }

    .site-footer .footer-grid,
    .site-footer .footer-bottom {
        width: min(calc(100% - 2.5rem), 820px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .footer-grid > .footer-brand-card {
        grid-column: 1 / -1;
    }

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

    .footer-bottom__note {
        display: none;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > .footer-brand-card {
        grid-column: auto;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-back-to-top {
        justify-self: center;
    }
}

@media (max-width: 430px) {
    .story-timeline::before,
    .story-timeline::after {
        left: 1.5rem;
    }

    .story-timeline li {
        grid-template-columns: 3rem minmax(0, 1fr);
        gap: 0.7rem;
    }

    .story-number {
        width: 3rem;
        height: 3rem;
        box-shadow: 0 0 0 0.24rem rgba(255, 249, 237, 0.94), 0 8px 20px rgba(32, 91, 85, 0.12), inset 0 0 0 0.12rem rgba(255, 255, 255, 0.76);
    }

    .story-number > img {
        width: 2.15rem;
        height: 2.15rem;
    }

    .story-card__photo {
        height: 8rem;
    }

    .story-card__content {
        padding: 1.2rem 0.85rem 1.3rem;
    }

    .story-card__mark {
        top: 0.55rem;
        right: 0.55rem;
        width: 2.1rem;
        height: 2.1rem;
        opacity: 0.74;
    }

    .story-card__mark img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .story-card .eyebrow {
        padding-right: 1.8rem;
    }

    .details-grid .detail-card:nth-child(n) {
        padding: 1.55rem 1rem;
        border-radius: 1.3rem;
    }

    .detail-card .line-icon {
        width: 4.6rem;
        height: 4.6rem;
    }

    .detail-card .line-icon img {
        width: 3.55rem;
        height: 3.55rem;
    }

    .event-timeline::before,
    .event-timeline::after {
        left: 1.65rem;
    }

    .event-timeline li,
    .event-timeline li:nth-child(even) {
        grid-template-columns: 3.3rem minmax(0, 1fr);
        gap: 0.5rem 0.7rem;
    }

    .event-timeline li > span {
        width: 3.3rem;
        height: 3.3rem;
        box-shadow: 0 0 0 0.22rem rgba(255, 249, 237, 0.95), 0 8px 18px rgba(31, 93, 86, 0.13), inset 0 0 0 0.12rem rgba(255, 255, 255, 0.78);
    }

    .event-timeline li > span img {
        width: 2.45rem;
        height: 2.45rem;
    }

    .event-timeline time,
    .event-timeline li:nth-child(even) time {
        min-width: 5.8rem;
        font-size: 0.85rem;
    }

    .event-timeline li > div,
    .event-timeline li:nth-child(even) > div {
        padding: 1rem 0.9rem;
        border-radius: 1rem;
    }

    .venue-image {
        width: calc(100% - 0.5rem);
        padding: 0.5rem 0.5rem 0;
        border-radius: 1.55rem;
    }

    .venue-image::before {
        inset: -0.35rem;
        border-radius: 1.8rem;
    }

    .venue-image__media {
        border-radius: 1.15rem;
    }

    .venue-image__caption {
        min-height: 3.1rem;
        padding: 0.55rem 3.9rem 0.5rem 0.45rem;
        gap: 0.38rem;
        font-size: 0.56rem;
    }

    .venue-stamp {
        right: -0.25rem;
        bottom: 0.35rem;
        width: 5.5rem;
        height: 5.5rem;
    }

    .venue-image__sticker--sun {
        top: -1.4rem;
        right: 0.7rem;
        width: 4rem;
    }

    .venue-image__sticker--shell {
        bottom: 1.7rem;
        left: -0.65rem;
        width: 3.6rem;
    }

    .venue-copy {
        padding: 1.3rem 1rem 1.5rem;
        border-radius: 1.35rem 1.35rem 2.5rem;
    }

    .venue-copy::before {
        top: 0.85rem;
        right: 1rem;
        transform: scale(0.78);
        transform-origin: right;
    }

    .venue-highlights {
        gap: 0.4rem;
    }

    .venue-highlights li {
        font-size: 0.62rem;
    }

    .venue-map {
        min-height: 16rem;
        border-radius: 1.1rem;
    }

    .dress-copy {
        padding: 1.4rem 1rem 1.55rem;
        border-radius: 1.35rem 1.35rem 2.5rem;
    }

    .dress-copy::before {
        top: 0.85rem;
        right: 1rem;
        transform: scale(0.78);
        transform-origin: right;
    }

    .dress-vibes {
        gap: 0.4rem;
    }

    .dress-vibes li {
        font-size: 0.62rem;
    }

    .restriction {
        align-items: flex-start;
        padding: 0.8rem;
    }

    .palette-panel {
        padding: 1.6rem 0.8rem;
        border-radius: 1.6rem 1.6rem 1.2rem 1.2rem;
    }

    .palette-panel__sticker--umbrella {
        top: -1.8rem;
        right: 0.7rem;
        width: 4rem;
    }

    .palette-panel__sticker--starfish {
        bottom: -1.3rem;
        left: -0.5rem;
        width: 3.7rem;
    }

    .palette-panel__heading {
        margin-bottom: 1.1rem;
    }

    .palette-panel .swatches {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .palette-panel .swatches > div {
        width: auto;
        min-width: 0;
        padding: 0.45rem 0.2rem 0.55rem;
    }

    .palette-panel .swatches span {
        width: 3rem;
        height: 3rem;
    }

    .gift-section {
        padding-block: 2.9rem;
    }

    .gift-card {
        width: calc(100% - 0.5rem);
        padding: 1.8rem 0.95rem 1.55rem;
        border-radius: 1.35rem 1.35rem 2.2rem;
    }

    .gift-card::before,
    .gift-card::after {
        width: 3.5rem;
        height: 3.5rem;
    }

    .gift-icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 0.8rem;
    }

    .gift-icon img {
        width: 3.1rem;
        height: 3.1rem;
    }

    .gift-card h2 {
        font-size: clamp(2rem, 11vw, 2.65rem);
    }

    .gift-reassurance {
        flex-direction: column;
        gap: 0.35rem;
        width: min(100%, 18rem);
        padding: 0.65rem 0.8rem;
        border-radius: 1rem;
    }

    .gift-reassurance i {
        width: 2rem;
        height: 1px;
    }

    .gift-card .privacy-note {
        padding: 0.7rem 0.75rem;
        font-size: 0.68rem;
    }

    .gallery-heading::before {
        top: -1.7rem;
        width: 7rem;
    }

    .gallery-moods span {
        font-size: 0.59rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1rem;
    }

    .gallery-item:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        height: 16.5rem;
        padding: 0.42rem 0.42rem 2.75rem;
        border-radius: 1.15rem;
    }

    .gallery-item:nth-child(6n + 1) {
        height: 22rem;
        border-radius: 4.2rem 4.2rem 1.15rem 1.15rem;
    }

    .gallery-item:nth-child(6n + 1) img,
    .gallery-item:nth-child(6n + 1)::after {
        border-radius: 3.8rem 3.8rem 0.8rem 0.8rem;
    }

    .gallery-item::after {
        inset: 0.42rem 0.42rem 2.75rem;
    }

    .gallery-item > .gallery-item__caption {
        right: 0.45rem;
        bottom: 0.28rem;
        left: 0.45rem;
        min-height: 2.05rem;
        font-size: 0.94rem;
    }

    .rsvp-banner {
        padding-block: 3.4rem;
    }

    .rsvp-banner__inner {
        width: calc(100% - 0.35rem);
        padding: 0.45rem;
        padding-bottom: 0.45rem;
        border-radius: 1.45rem;
    }

    .rsvp-banner__inner::before {
        inset: 0.34rem;
        border-radius: 1.15rem;
    }

    .rsvp-banner__copy {
        padding: 2rem 0.85rem 1.65rem;
    }

    .rsvp-flourish {
        width: 4.15rem;
        height: 4.15rem;
    }

    .rsvp-flourish img {
        width: 3.15rem;
        height: 3.15rem;
    }

    .rsvp-banner h2 {
        font-size: clamp(2.15rem, 12vw, 3rem);
    }

    .rsvp-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .rsvp-actions .button {
        width: 100%;
    }

    .rsvp-quick-note {
        justify-content: center;
        align-self: center;
    }

    .rsvp-postcard {
        padding: 2.15rem 1rem 1.1rem;
        border-radius: 3.8rem 1.2rem 1.2rem;
    }

    .rsvp-postcard__illustration {
        width: 5.5rem;
    }

    .rsvp-postcard h3 {
        font-size: 1.75rem;
    }

    .rsvp-postcard .qr-placeholder {
        width: 100%;
        margin-top: 0.9rem;
    }

    .faq-section {
        padding-block: 3.5rem;
    }

    .faq-intro {
        padding: 1.5rem 1.1rem 1.35rem;
        border-radius: 3.7rem 1.3rem 1.3rem;
    }

    .faq-intro__icon {
        width: 4.8rem;
        height: 4.8rem;
    }

    .faq-intro__icon img {
        width: 3.7rem;
        height: 3.7rem;
    }

    .faq-intro h2 {
        max-width: 9ch;
        font-size: clamp(2.35rem, 12vw, 3rem);
    }

    .faq-help-chips {
        gap: 0.35rem;
    }

    .faq-contact-link {
        width: 100%;
        justify-content: center;
    }

    .accordion-item {
        border-radius: 1.05rem;
    }

    .accordion-item button {
        gap: 0.55rem;
        padding: 0.6rem;
        font-size: 1.05rem;
    }

    .accordion-question {
        gap: 0.55rem;
    }

    .accordion-question > img {
        width: 2.9rem;
        height: 2.9rem;
    }

    .accordion-item button i {
        flex-basis: 2rem;
        width: 2rem;
        height: 2rem;
    }

    .accordion-item button i::before,
    .accordion-item button i::after {
        right: 0.55rem;
        left: 0.55rem;
    }

    .accordion-panel p {
        padding: 0.15rem 0.85rem 1rem;
        font-size: 0.8rem;
    }

    .contact-section {
        padding-block: 3.6rem;
    }

    .contact-inner {
        width: calc(100% - 0.4rem);
        padding: 2rem 0.75rem 1.75rem;
        border-radius: 1.5rem;
    }

    .contact-badge {
        width: 4.8rem;
        height: 4.8rem;
    }

    .contact-badge img {
        width: 3.75rem;
        height: 3.75rem;
    }

    .contact-inner .script-kicker {
        font-size: clamp(2.3rem, 13vw, 3.2rem);
    }

    .contact-inner h2 {
        font-size: clamp(2rem, 11vw, 2.75rem);
    }

    .contact-lede {
        font-size: 0.82rem;
    }

    .contact-links {
        margin-top: 1.35rem;
    }

    .contact-links a.contact-link-card {
        grid-template-columns: 3.15rem minmax(0, 1fr) 1.8rem;
        gap: 0.55rem;
        padding: 0.62rem 0.58rem;
        border-radius: 1.05rem;
        font-size: 0.9rem;
    }

    .contact-link-card__icon {
        width: 3.15rem;
        height: 3.15rem;
    }

    .contact-link-card__icon img {
        width: 2.55rem;
        height: 2.55rem;
    }

    .contact-link-card > i {
        width: 1.8rem;
        height: 1.8rem;
    }

    .contact-link-card__copy strong {
        font-size: 0.88rem;
    }

    .contact-signoff {
        margin-top: 1rem;
        font-size: 0.82rem;
    }

    .footer-ticker__group {
        gap: 1.5rem;
        padding-block: 0.52rem;
    }

    .footer-ticker__group span {
        font-size: 0.58rem;
    }

    .footer-ticker__group img {
        width: 1.7rem;
        height: 1.7rem;
    }

    .footer-sticker {
        display: none;
    }

    .site-footer .footer-grid,
    .site-footer .footer-bottom {
        width: calc(100% - 1rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding-block: 1.8rem 1.3rem;
    }

    .footer-grid > .footer-brand-card {
        grid-column: auto;
    }

    .footer-card {
        padding: 1.1rem;
        border-radius: 1.1rem;
    }

    .footer-wordmark {
        font-size: 2.15rem;
    }

    .footer-card__heading {
        margin-bottom: 0.55rem;
    }

    .footer-card__heading img {
        width: 2.1rem;
        height: 2.1rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.65rem;
        padding-top: 1rem;
        text-align: center;
    }

    .footer-back-to-top {
        justify-self: center;
    }
}

/* Editorial footer: responsive composition */
@media (min-width: 761px) and (max-width: 960px) {
    .site-footer .footer-grid,
    .site-footer .footer-contact-band__inner,
    .site-footer .footer-bottom {
        width: min(calc(100% - 2.5rem), 820px);
    }

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

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        padding: 0 0 1.8rem;
        border-bottom: 1px solid rgba(255, 226, 169, 0.15);
    }

    .site-footer .footer-details,
    .site-footer .footer-nav {
        padding-top: 1.8rem;
    }

    .site-footer .footer-details {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .site-footer .footer-horizon,
    .site-footer .footer-grid,
    .site-footer .footer-contact-band__inner,
    .site-footer .footer-bottom {
        width: min(calc(100% - 1.5rem), 680px);
    }

    .site-footer .footer-horizon {
        padding-top: 0.8rem;
    }

    .site-footer .footer-horizon img {
        width: 3rem;
        height: 3rem;
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding-block: 1.7rem;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        padding: 0 0 1.5rem;
        border-bottom: 1px solid rgba(255, 226, 169, 0.15);
    }

    .site-footer .footer-brand .footer-wordmark {
        font-size: clamp(2.35rem, 10vw, 3rem);
    }

    .site-footer .footer-details,
    .site-footer .footer-nav {
        padding-top: 1.5rem;
    }

    .site-footer .footer-details {
        padding-left: 0;
        padding-right: 1.25rem;
        border-left: 0;
    }

    .site-footer .footer-nav {
        padding-right: 0;
        padding-left: 1.25rem;
    }

    .site-footer .footer-contact-band__inner {
        align-items: flex-start;
        padding-block: 0.85rem;
    }

    .site-footer .footer-contact-actions {
        flex-wrap: wrap;
    }

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

    .site-footer .footer-bottom__note {
        display: none;
    }

    .site-footer .footer-sticker--palm {
        top: 2.7rem;
        left: -0.4rem;
        width: 3.5rem;
    }

    .site-footer .footer-sticker--starfish {
        right: -0.35rem;
        bottom: 5.8rem;
        width: 3.35rem;
    }
}

@media (max-width: 560px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        padding-block: 1.45rem;
    }

    .site-footer .footer-brand,
    .site-footer .footer-details,
    .site-footer .footer-nav {
        grid-column: auto;
        padding: 0;
        border-left: 0;
    }

    .site-footer .footer-brand {
        padding-bottom: 1.25rem;
    }

    .site-footer .footer-details,
    .site-footer .footer-nav {
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 226, 169, 0.15);
    }

    .site-footer .footer-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 1rem;
    }

    .site-footer .footer-details > .footer-label {
        grid-column: 1 / -1;
        margin-bottom: 0.1rem;
    }

    .site-footer .footer-fact + .footer-fact {
        margin-top: 0;
    }

    .site-footer .footer-contact-band__inner {
        flex-direction: column;
        gap: 0.75rem;
    }

    .site-footer .footer-contact-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .site-footer .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer .footer-back-to-top {
        justify-self: center;
    }
}

@media (max-width: 430px) {
    .site-footer .footer-horizon,
    .site-footer .footer-grid,
    .site-footer .footer-contact-band__inner,
    .site-footer .footer-bottom {
        width: calc(100% - 1rem);
    }

    .site-footer .footer-sticker {
        display: none;
    }

    .site-footer .footer-brand > p {
        max-width: 19rem;
        font-size: 0.86rem;
    }

    .site-footer .footer-details {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-nav > div {
        gap: 0.65rem 1rem;
    }

    .site-footer .footer-contact-band__inner > p {
        font-size: 0.92rem;
    }

    .site-footer .footer-contact-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer .footer-contact-actions a {
        width: 100%;
    }

    .site-footer .footer-contact-actions .footer-rsvp-link {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-panel,
    .nav-panel > a {
        transition-duration: 0.01ms;
    }

    .scroll-progress span {
        box-shadow: none;
    }

    .beach-vibes__sun,
    .beach-vibes__icon,
    .beach-vibes__sticker,
    .happy-sticker,
    .welcome-photo-sticker,
    .story-number > img,
    .detail-card .line-icon,
    .event-timeline li > span img,
    .venue-image__sticker,
    .palette-panel__sticker,
    .rsvp-postcard__illustration,
    .faq-intro__icon img,
    .contact-badge img,
    .footer-ticker__track,
    .footer-sticker,
    .section-sticker-bridge__main,
    .section-sticker-bridge__mini {
        animation: none;
    }
}
