/*
 * Feuille de style principale du thème JW Wedding Child.
 *
 * Déplacée depuis la racine style.css (qui ne conserve que l’en-tête de thème
 * requis par WordPress). Enqueuée APRÈS assets/css/base.css : l’ordre
 * base → main est load-bearing (la couche « Premium refinement » repeint des
 * sélecteurs définis plus haut dans ce fichier). Tokens de design dans le
 * :root ci-dessous.
 */

:root {
    --wedding-header-offset: 6rem;
    --wedding-ivory: #fff8f5;
    --wedding-blush: #f3b9b8;
    --wedding-rose: #f0aaa9;
    --wedding-rose-deep: #86100e;
    --wedding-sage-deep: #64672f;
    --wedding-gold: #e98a56;
    --wedding-orange: #e98a56;
    --wedding-red: #86100e;
    --wedding-ink: #241a19;
    --wedding-muted: #625553;
    --wedding-white: #ffffff;
    --wedding-surface-strong: rgba(255, 252, 249, 0.96);
    --wedding-surface-soft: rgba(255, 244, 240, 0.86);
    --wedding-line: rgba(134, 16, 14, 0.14);
    --wedding-line-soft: rgba(134, 16, 14, 0.09);
    --wedding-shadow-soft: 0 12px 28px rgba(36, 26, 25, 0.06);
    --wedding-shadow: 0 24px 55px rgba(70, 33, 29, 0.1);
    --wedding-shadow-lift: 0 18px 38px rgba(70, 33, 29, 0.12);
    --wedding-radius: 8px;
    --wedding-hairline: linear-gradient(90deg, transparent, rgba(134, 16, 14, 0.28), transparent);
    --wedding-font-script: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", cursive;
    --wedding-font-title: Futura, "Futura PT", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --wedding-font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--wedding-font-body);
    background:
        repeating-linear-gradient(135deg, rgba(134, 16, 14, 0.018) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, #fff8f5 0%, #f8e5e0 32%, #fff7f1 68%, #fffbf8 100%);
    color: var(--wedding-ink);
    line-height: 1.75;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--wedding-font-title);
    color: var(--wedding-rose-deep);
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    font-family: var(--wedding-font-script);
    font-size: 5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.55rem;
}

p,
li {
    color: var(--wedding-muted);
}

a {
    color: var(--wedding-rose);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: var(--wedding-rose-deep);
}

button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: var(--wedding-red);
    color: var(--wedding-white);
    border: 1px solid rgba(134, 16, 14, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: var(--wedding-radius);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(134, 16, 14, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

button:hover,
input[type="submit"]:hover {
    background: #6f0d0b;
    color: var(--wedding-white);
    border-color: #6f0d0b;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(134, 16, 14, 0.18);
}

a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
    outline: 3px solid rgba(134, 16, 14, 0.18);
    outline-offset: 4px;
}

body.wedding-lightbox-lock {
    overflow: hidden;
}

.wedding-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(36, 26, 25, 0.82);
}

.wedding-lightbox.is-open {
    display: flex;
}

.wedding-lightbox-image {
    display: block;
    max-width: min(90vw, 640px);
    max-height: 85vh;
    border-radius: var(--wedding-radius);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.wedding-lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--wedding-ink);
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.wedding-lightbox-close:hover,
.wedding-lightbox-close:focus-visible {
    background: #ffffff;
}

.hero {
    text-align: center;
    padding: 2rem 0 4.25rem;
    background: var(--wedding-blush);
    color: var(--wedding-red);
    border-radius: 0;
    overflow: visible;
    position: relative;
}

.wedding-front-page {
    padding-bottom: 4rem;
}

.wedding-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.wedding-hero .wedding-shell {
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wedding-gold);
    margin-bottom: 1rem;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 0.6rem;
}

.section-heading p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.program-maquette-section {
    position: relative;
    isolation: isolate;
    min-height: 74rem;
    padding: clamp(3rem, 5vw, 5.25rem) 0;
    overflow: hidden;
    background-color: #efe9e8;
}

.program-maquette-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--program-bg-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(2px);
    transform: scale(1.025);
}

.program-maquette-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(36, 26, 25, 0.08), rgba(36, 26, 25, 0.02)),
        linear-gradient(180deg, rgba(255, 247, 243, 0.08), rgba(36, 26, 25, 0.2));
}

.program-maquette-shell {
    position: relative;
    width: min(1120px, calc(100% - 2rem));
    min-height: 64rem;
    margin: 0 auto;
}

.program-maquette-card {
    position: relative;
    overflow: hidden;
    width: min(860px, 80%);
    margin-left: clamp(0rem, 3vw, 2rem);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.65rem, 4vw, 3.35rem) clamp(2.25rem, 4vw, 3.25rem);
    background:
        linear-gradient(145deg, rgba(255, 247, 243, 0.24), rgba(255, 247, 243, 0.04)),
        linear-gradient(180deg, rgba(207, 203, 142, 0.66), rgba(183, 176, 109, 0.48));
    border: 0px solid rgba(255, 247, 243, 0.32);
    color: var(--wedding-red);
    box-shadow:
        0 28px 70px rgba(36, 26, 25, 0.12),
        inset 0 1px 0 rgba(255, 247, 243, 0.34),
        inset 0 -1px 0 rgba(134, 16, 14, 0.08);
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.program-maquette-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(115deg, rgba(255, 247, 243, 0.26) 0%, rgba(255, 247, 243, 0.08) 34%, rgba(255, 247, 243, 0) 62%),
        linear-gradient(180deg, rgba(255, 247, 243, 0.08), rgba(36, 26, 25, 0.04));
    pointer-events: none;
}

.program-maquette-card > * {
    position: relative;
    z-index: 1;
}

.program-maquette-card h2 {
    margin: 0 0 1.55rem;
    color: var(--wedding-red);
    font-family: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(3.4rem, 6vw, 5.25rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.82;
}

.program-maquette-timeline {
    --program-axis-x: clamp(4.3rem, 5.6vw, 4.9rem);
    --program-content-x: clamp(6.7rem, 8.6vw, 7.5rem);
    --program-medallion: clamp(2.3rem, 3.6vw, 2.65rem);
    --program-transit-icon: 1.7rem;
    position: relative;
    display: grid;
    gap: clamp(1.05rem, 1.9vw, 1.5rem);
    padding-left: var(--program-content-x);
    padding-right: var(--program-content-x);
}

.program-maquette-timeline::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    bottom: 0.78rem;
    left: calc(var(--program-axis-x) - 1px);
    width: 2px;
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.2), rgba(255, 247, 243, 0) 11%),
        linear-gradient(180deg, rgba(244, 185, 185, 0.96), rgba(239, 140, 86, 0.76) 48%, rgba(134, 16, 14, 0.36));
    border-radius: 999px;
}

/* Once JS draws the measured SVG rail, hide the straight fallback rail. */
.program-maquette-timeline.has-js-rail::before {
    display: none;
}

.program-maquette-rail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 0;
    pointer-events: none;
}

/* "Night" badge at the midpoint of a day-break connector. Same size/position
   logic as the regular stop medallions (opaque plate, line passes behind
   it), but with an inverted, solid-fill treatment — a filled orange disc
   instead of a white one — so it reads at a glance as a different kind of
   marker (a day divider) and not just another event stop.
   Positioned via inline left/top (computed in JS from the real rail gap). */
.program-maquette-daybreak-icon {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--program-medallion);
    height: var(--program-medallion);
    border-radius: 50%;
    background: var(--wedding-orange);
    border: 1px solid rgba(134, 16, 14, 0.22);
    box-shadow:
        0 7px 18px rgba(36, 26, 25, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--wedding-surface-strong);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.program-maquette-daybreak-icon svg {
    width: 63%;
    height: 63%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.program-maquette-rail path {
    fill: none;
    stroke: var(--wedding-orange);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* "Away" stop (e.g. Mariage civil at the Hôtel de Ville): same box position/width as
   every other stop, but its medallion sits on the right and its text is
   right-aligned, so the timeline visibly detours without breaking the grid.
   Mirrors the left-medallion formula exactly (same gutter width on both
   sides, via --program-content-x used as both padding-left and padding-right
   on .program-maquette-timeline) so the right-side gap matches the left. */
.program-maquette-item.is-away-detour .program-maquette-marker {
    left: auto;
    right: calc(var(--program-axis-x) - var(--program-content-x) - (var(--program-medallion) / 2));
}

.program-maquette-item.is-away-detour .program-maquette-copy {
    text-align: right;
    border-bottom: 0;
    padding-bottom: 0;
}

.program-maquette-date {
    position: relative;
    width: fit-content;
    margin: 1.4rem auto 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.9;
}

.program-maquette-date::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 1px;
    margin: 0.6rem auto 0;
    background: var(--wedding-hairline);
}

.program-maquette-date:first-child {
    margin-top: 0;
}

.program-maquette-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 0.08rem 0 0.2rem;
}

.program-maquette-marker {
    position: absolute;
    top: 50%;
    left: calc(var(--program-axis-x) - var(--program-content-x) - (var(--program-medallion) / 2));
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--program-medallion);
    height: var(--program-medallion);
    border-radius: 50%;
    background: var(--wedding-surface-strong);
    border: 2px solid var(--wedding-orange);
    box-shadow: 0 4px 10px rgba(36, 26, 25, 0.12);
    color: var(--wedding-orange);
    /* Centered on the height of .program-maquette-item (i.e. the copy block,
       since the marker itself is out of flow and doesn't add height). */
    transform: translateY(-50%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.program-maquette-marker svg {
    width: 60%;
    height: 60%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.program-maquette-item:hover .program-maquette-marker {
    transform: translateY(calc(-50% - 2px));
    box-shadow: 0 6px 16px rgba(36, 26, 25, 0.18);
}

.program-maquette-time {
    display: block;
    margin: 0 0 0.2rem;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--wedding-orange);
    font-family: var(--wedding-font-title);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
}

.program-maquette-time-tbd-wrap {
    position: relative;
    display: inline-block;
}

.program-maquette-time-value {
    all: unset;
    display: inline-block;
    box-sizing: border-box;
    min-height: 0;
    cursor: pointer;
    filter: blur(4px);
    user-select: none;
}

.program-maquette-time-value:hover,
.program-maquette-time-value:active,
.program-maquette-time-value:focus {
    background: none;
    border-color: transparent;
    color: inherit;
    box-shadow: none;
    transform: none;
}

.program-maquette-time-tbd-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--wedding-line);
    border-radius: 999px;
    background: var(--wedding-surface-strong);
    color: var(--wedding-muted);
    font-family: var(--wedding-font-title);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(36, 26, 25, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.program-maquette-time-value[aria-expanded="true"] + .program-maquette-time-tbd-tag {
    opacity: 1;
}

.program-maquette-copy {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(134, 16, 14, 0.1);
}

.program-maquette-copy[hidden],
.program-maquette-route-embed[hidden] {
    display: none !important;
}

.program-maquette-item:last-child .program-maquette-copy,
.program-maquette-item.is-day-end .program-maquette-copy {
    border-bottom: 0;
    padding-bottom: 0;
}

.program-maquette-item h3 {
    margin: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: clamp(1.08rem, 1.55vw, 1.42rem);
    font-weight: 800;
    line-height: 1.08;
}

.program-maquette-item p {
    max-width: 48rem;
    margin: 0;
    color: var(--wedding-ink);
    font-size: clamp(0.94rem, 1.25vw, 1.05rem);
    font-weight: 500;
    line-height: 1.4;
}

.program-maquette-place {
    margin: 0.02rem 0 0.15rem !important;
    padding: 0;
    background: transparent;
    color: var(--wedding-muted) !important;
    font-family: var(--wedding-font-title);
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.program-maquette-location {
    display: grid;
    gap: 0.16rem;
    margin: 0.02rem 0 0.2rem;
}

.program-maquette-address,
.program-maquette-location-note {
    margin: 0 !important;
    color: var(--wedding-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.program-maquette-location-note {
    font-style: italic;
}

.program-maquette-place-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.program-maquette-place-link:hover,
.program-maquette-place-link:focus-visible {
    color: var(--wedding-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.program-maquette-item.is-transit {
    padding-top: 0;
}

.program-maquette-item.is-optional .program-maquette-copy {
    padding: 0.75rem 0.85rem 0.8rem;
    background:
        repeating-linear-gradient(135deg, rgba(100, 103, 47, 0.13) 0 5px, transparent 5px 11px),
        var(--wedding-surface-soft);
    border: 1px dashed rgba(100, 103, 47, 0.3);
    opacity: 0.86;
}

.program-maquette-optional-tag {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.1rem 0.5rem;
    border: 1px solid var(--wedding-line);
    border-radius: 999px;
    background: var(--wedding-surface-strong);
    color: var(--wedding-muted);
    font-family: var(--wedding-font-title);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.program-maquette-route-toggle {
    position: absolute;
    top: -0.7rem;
    right: -0.7rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 2px solid var(--wedding-surface-strong);
    border-radius: 50%;
    background: #2f6fed;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(47, 111, 237, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.program-maquette-route-toggle svg {
    width: 58%;
    height: 58%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.program-maquette-route-toggle:hover,
.program-maquette-route-toggle:focus-visible {
    background: #2558c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(47, 111, 237, 0.45);
}

.program-maquette-route-toggle[aria-expanded="true"] {
    background: var(--wedding-red);
    box-shadow: 0 8px 18px rgba(134, 16, 14, 0.35);
}

.program-maquette-route-embed {
    box-sizing: border-box;
    display: grid;
}

.program-maquette-route-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    box-sizing: border-box;
}

.program-maquette-transit {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    /* Centered relative to the items column (same track width as
       .program-maquette-item) — its exact position is intentionally
       decoupled from the rail path, which is drawn independently in JS. */
    margin: 0.5rem auto;
    padding: 0.3rem 0.85rem 0.3rem 0.3rem;
    border-radius: 999px;
    background: var(--wedding-surface-strong);
    border: 1px solid rgba(239, 140, 86, 0.4);
    box-shadow: 0 4px 12px rgba(36, 26, 25, 0.1);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.program-maquette-transit {
    cursor: pointer;
}

a.program-maquette-transit:focus-visible {
    outline: 2px solid var(--wedding-orange);
    outline-offset: 3px;
}

a.program-maquette-transit:hover,
a.program-maquette-transit:focus-visible {
    border-color: var(--wedding-orange);
    box-shadow: 0 6px 16px rgba(36, 26, 25, 0.16);
}

a.program-maquette-transit:hover .program-maquette-transit-icon,
a.program-maquette-transit:focus-visible .program-maquette-transit-icon {
    background: var(--wedding-orange);
    color: var(--wedding-surface-strong);
}

/* No arrow glyph: the pill instead leans toward the side the timeline is
   about to jog to, so its position alone reads as the direction of travel. */
.program-maquette-transit--outbound {
    margin-left: auto;
    margin-right: 0;
}

.program-maquette-transit--return {
    margin-left: 0;
    margin-right: auto;
}

.program-maquette-transit-icon {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--program-transit-icon);
    height: var(--program-transit-icon);
    border-radius: 50%;
    background: rgba(239, 140, 86, 0.16);
    color: var(--wedding-orange);
    transition: background 0.2s ease, color 0.2s ease;
}

.program-maquette-transit-icon svg {
    width: 62%;
    height: 62%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.program-maquette-transit-label {
    flex: none;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.program-maquette-info-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(860px, 80%);
    margin: -1.1rem 0 0 clamp(0rem, 3vw, 2rem);
    padding: 2.15rem 2.75rem 1.05rem;
    border-radius: 1rem;
    background: var(--wedding-red);
    color: #fff7f3;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.12;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.program-maquette-info-link:hover,
.program-maquette-info-link:focus-visible {
    background: #6f0d0c;
    color: #fff7f3;
    box-shadow: 0 16px 30px rgba(36, 26, 25, 0.18);
    transform: translateY(-2px);
}

.navigation-programme-section {
    padding: clamp(3.8rem, 6vw, 5.4rem) 0 0;
    background: #f4eeee;
    color: var(--wedding-red);
    overflow: hidden;
}

.navigation-programme-heading {
    width: min(1110px, calc(100% - 2rem));
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.navigation-programme-heading h1,
.navigation-programme-heading h2 {
    max-width: 48rem;
    margin: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-script);
    font-size: clamp(4.1rem, 8vw, 6.6rem);
    font-weight: 400;
    line-height: 0.85;
}

.navigation-programme-lead {
    max-width: 46rem;
    margin: 1.15rem 0 0;
    color: var(--wedding-muted);
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    line-height: 1.45;
}

.navigation-programme-band {
    padding: clamp(3.7rem, 6vw, 5rem) 0;
}

.navigation-programme-band.is-cream {
    background: #f4eeee;
}

.navigation-programme-band.is-blush {
    background: var(--wedding-blush);
}

.navigation-programme-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.9fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6.2rem);
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.navigation-programme-band.is-media-left .navigation-programme-media {
    order: -1;
}

.navigation-programme-copy {
    --nav-medallion: clamp(2.2rem, 3.4vw, 2.55rem);
    position: relative;
    display: grid;
    gap: 1.15rem;
    align-content: center;
    padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 247, 243, 0.5);
    border-radius: var(--wedding-radius);
    background: linear-gradient(150deg, rgba(255, 247, 243, 0.62), rgba(255, 247, 243, 0.28));
    box-shadow:
        0 24px 55px rgba(70, 33, 29, 0.1),
        inset 0 1px 0 rgba(255, 247, 243, 0.5);
    backdrop-filter: blur(10px) saturate(1.05);
    -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

.navigation-programme-place {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.35rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--wedding-line);
}

.navigation-programme-place-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--nav-medallion);
    height: var(--nav-medallion);
    border-radius: 50%;
    background: var(--wedding-red);
    color: #fff7f3;
    box-shadow:
        0 6px 14px rgba(134, 16, 14, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.navigation-programme-place-pin svg {
    width: 56%;
    height: 56%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navigation-programme-place-text {
    display: grid;
    gap: 0.12rem;
}

.navigation-programme-place-label {
    font-family: var(--wedding-font-title);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wedding-orange);
}

.navigation-programme-place-name {
    font-family: var(--wedding-font-title);
    font-size: clamp(1.1rem, 1.9vw, 1.32rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--wedding-red);
}

.navigation-programme-place-address {
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--wedding-muted);
}

.navigation-programme-item {
    max-width: 40rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 clamp(0.85rem, 1.6vw, 1.15rem);
    align-items: start;
}

.navigation-programme-item.has-marker {
    grid-template-columns: var(--nav-medallion) minmax(0, 1fr);
}

/* Continuation paragraphs (no medallion of their own) line up with the body
   text of the titled item above, not the card edge. */
.navigation-programme-item:not(.has-marker) {
    padding-left: calc(var(--nav-medallion) + clamp(0.85rem, 1.6vw, 1.15rem));
}

.navigation-programme-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--nav-medallion);
    height: var(--nav-medallion);
    border-radius: 50%;
    background: var(--wedding-surface-strong);
    border: 2px solid var(--wedding-orange);
    box-shadow: 0 4px 10px rgba(36, 26, 25, 0.12);
    color: var(--wedding-orange);
}

.navigation-programme-marker svg {
    width: 58%;
    height: 58%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navigation-programme-item h2,
.navigation-programme-item h3 {
    margin: 0 0 0.25rem;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: clamp(1.15rem, 1.9vw, 1.5rem);
    font-weight: 800;
    line-height: 1.08;
}

.navigation-programme-item p {
    margin: 0;
    color: var(--wedding-ink);
    font-size: clamp(0.94rem, 1.25vw, 1.05rem);
    font-weight: 500;
    line-height: 1.4;
}

.navigation-programme-item strong {
    color: var(--wedding-red);
    font-weight: 800;
}

.navigation-programme-route {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    justify-self: center;
    margin-top: 0.35rem;
    padding: 0.72rem 1.4rem;
    border-radius: 999px;
    background: var(--wedding-red);
    color: #fff7f3;
    font-family: var(--wedding-font-title);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.navigation-programme-route-icon {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
}

.navigation-programme-route-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navigation-programme-route:hover,
.navigation-programme-route:focus-visible {
    background: #6f0d0c;
    color: #fff7f3;
    transform: translateY(-2px);
}

.navigation-programme-media {
    margin: 0;
}

.navigation-programme-media > img {
    display: block;
    width: 100%;
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
}

/* Carrousel photo (page infos-lieux) : reprend le rendu du carrousel dress code
   de l'accueil, mais cadré au format paysage des bandes. Piloté par
   assets/js/infos-lieux.js via la variable --navigation-active. */
.navigation-programme-carousel {
    position: relative;
    aspect-ratio: 1.22 / 1;
    overflow: hidden;
    border: 1px solid rgba(134, 16, 14, 0.1);
    border-radius: var(--wedding-radius);
    background: rgba(255, 247, 243, 0.16);
    box-shadow: var(--wedding-shadow-lift);
}

.navigation-programme-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(calc(var(--navigation-active, 0) * -100%));
    transition: transform 0.6s ease;
}

.navigation-programme-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.navigation-programme-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.01);
}

.navigation-programme-carousel-dots {
    position: absolute;
    z-index: 2;
    bottom: 0.9rem;
    left: 50%;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.navigation-programme-carousel-dot {
    display: block;
    width: 0.55rem;
    height: 0.55rem;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 247, 243, 0.6);
    box-shadow: 0 1px 3px rgba(36, 26, 25, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.navigation-programme-carousel-dot.is-active {
    background: var(--wedding-ivory);
    transform: scale(1.3);
}

.navigation-programme-carousel-dot:focus-visible {
    outline: 2px solid var(--wedding-ivory);
    outline-offset: 2px;
}

.navigation-programme-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 247, 243, 0.6);
    color: var(--wedding-red);
    box-shadow: 0 1px 3px rgba(36, 26, 25, 0.3);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.navigation-programme-carousel-arrow--prev {
    left: 0.7rem;
}

.navigation-programme-carousel-arrow--next {
    right: 0.7rem;
}

.navigation-programme-carousel-arrow svg {
    display: block;
    width: 1rem;
    height: 1rem;
}

.navigation-programme-carousel-arrow:hover {
    background: var(--wedding-ivory);
    transform: translateY(-50%) scale(1.1);
}

.navigation-programme-carousel-arrow:focus-visible {
    outline: 2px solid var(--wedding-ivory);
    outline-offset: 2px;
}

@media (max-width: 544px) {
    .navigation-programme-carousel {
        aspect-ratio: 1 / 0.78;
    }
}

.navigation-programme-media figcaption {
    max-width: 31rem;
    margin: 0.65rem auto 0;
    color: var(--wedding-sage-deep);
    font-size: clamp(1rem, 1.55vw, 1.18rem);
    line-height: 1.2;
    text-align: center;
}

.navigation-programme-media .navigation-programme-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: flex-start;
    max-width: 31rem;
    margin: 0.95rem auto 0;
    padding: 1.05rem 1.2rem;
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    background: rgba(255, 247, 243, 0.72);
    box-shadow: var(--wedding-shadow-soft);
    text-align: left;
}

.navigation-programme-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--wedding-red);
    color: #fff7f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.navigation-programme-note-icon svg {
    width: 56%;
    height: 56%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navigation-programme-note-body {
    display: grid;
    gap: 0.42rem;
    flex: 1 1 12rem;
}

.navigation-programme-note-title {
    font-family: var(--wedding-font-title);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--wedding-red);
}

.navigation-programme-note-text {
    font-size: 0.96rem;
    line-height: 1.34;
    color: var(--wedding-muted);
}

.navigation-programme-note-embed {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid var(--wedding-line);
    border-radius: calc(var(--wedding-radius) - 2px);
    overflow: hidden;
    box-shadow: var(--wedding-shadow-soft);
}

.navigation-programme-note-embed iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

@media (max-width: 921px) {
    .navigation-programme-section {
        padding-top: 3.4rem;
    }

    .navigation-programme-heading {
        margin-bottom: 2.6rem;
    }

    .navigation-programme-heading h1,
    .navigation-programme-heading h2 {
        font-size: clamp(3.7rem, 13vw, 5.2rem);
    }

    .navigation-programme-band {
        padding: 3rem 0;
    }

    .navigation-programme-inner {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .navigation-programme-copy {
        order: 1;
    }

    .navigation-programme-media,
    .navigation-programme-band.is-media-left .navigation-programme-media {
        order: 2;
    }

    /* On mobile the swipe gesture replaces the arrows — hide them (the dots
       stay for tap navigation), comme le carrousel dress code de l'accueil. */
    .navigation-programme-carousel-arrow {
        display: none;
    }

    .navigation-programme-item {
        max-width: 100%;
    }

    .navigation-programme-route {
        padding: 0.66rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 544px) {
    .navigation-programme-heading,
    .navigation-programme-inner {
        width: min(1120px, calc(100% - 1.25rem));
    }

    .navigation-programme-heading h1,
    .navigation-programme-heading h2 {
        font-size: 3.2rem;
    }

    .navigation-programme-band {
        padding: 2.45rem 0;
    }

    .navigation-programme-copy {
        gap: 1.1rem;
    }

    .navigation-programme-item h2,
    .navigation-programme-item h3 {
        font-size: 1.28rem;
    }

    .navigation-programme-item p {
        font-size: 0.98rem;
    }

    .navigation-programme-route {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }

    .navigation-programme-media > img {
        aspect-ratio: 1 / 0.78;
    }
}

#dresscode.dresscode-maquette {
    padding: 4.8rem 0 5.6rem;
    background: var(--wedding-blush);
}

#dresscode.dresscode-maquette .wedding-shell {
    width: min(1320px, calc(100% - 2rem));
}

.dresscode-maquette,
.dresscode-maquette p,
.dresscode-maquette h2,
.dresscode-maquette h3 {
    color: var(--wedding-red);
}

.dresscode-maquette-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* A direct child of #dresscode (like .program-maquette-section's photo),
       not of .wedding-shell, so it's naturally full-width with no viewport
       breakout hack — and sits flush against the section's own top edge
       (negative margin-top cancels #dresscode's top padding below). */
    margin-top: -4.8rem;
    margin-bottom: 4.4rem;
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 0;
    text-align: center;
}

.dresscode-maquette-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--dresscode-bg-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dresscode-maquette-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(36, 26, 25, 0.34), rgba(36, 26, 25, 0.46));
}

.dresscode-maquette-header h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.28em;
    margin: 0 0 1.55rem;
    color: var(--wedding-blush);
    font-weight: 400;
    line-height: 0.95;
}

.dresscode-maquette-header h2 span {
    font-family: var(--wedding-font-script);
    font-size: 4.8rem;
    font-weight: 400;
}

.dresscode-maquette-header h2 em {
    font-family: var(--wedding-font-script);
    font-size: 4.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.85;
    color: var(--wedding-blush);
}

.dresscode-maquette-header p.dresscode-maquette-subtitle {
    margin: 0 0 1.55rem;
    color: var(--wedding-blush);
    font-family: var(--wedding-font-script);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.dresscode-maquette-intro {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.dresscode-maquette-intro p,
.dresscode-maquette-copy,
.dresscode-maquette-reserved-copy p {
    font-size: 1.05rem;
    line-height: 1.45;
}

.dresscode-maquette-intro p {
    margin: 0 0 1.15rem;
    color: var(--wedding-blush);
}

.dresscode-maquette-intro p:last-child {
    margin-bottom: 0;
}

.dresscode-maquette em {
    font-family: inherit;
    font-style: normal;
    font-weight: 700;
    color: var(--wedding-orange);
}

.dresscode-maquette-group {
    margin: 0 auto 4.1rem;
}

.dresscode-maquette-group h3,
.dresscode-maquette-reserved-copy h3 {
    position: relative;
    margin: 0 0 1.75rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 2.05rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.dresscode-maquette-group h3::after,
.dresscode-maquette-reserved-copy h3::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 1px;
    margin: 0.9rem 0 0;
    background: var(--wedding-hairline);
}

.dresscode-maquette-group.is-carousel {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    width: min(1120px, 100%);
    margin: 0 auto 4.1rem;
}

/* Both children get an explicit row AND column on every variant — nothing
   left to grid auto-placement, which is what put "Messieurs" on its own
   row below the carousel instead of beside it. */
.dresscode-maquette-group.is-carousel .dresscode-carousel {
    grid-row: 1;
    grid-column: 1;
}

.dresscode-maquette-group.is-carousel .dresscode-maquette-copy-col {
    grid-row: 1;
    grid-column: 2;
}

/* Mirror via a reversed column template + explicit placement, not `order`:
   `order` also changes which grid *track* an auto-placed item lands in, so
   the carousel would end up in the wide 1fr column instead of staying the
   same size as the left variant's. Explicit grid-column keeps both
   carousels in an identically-sized narrow track. */
.dresscode-maquette-group.is-carousel-right {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
}

.dresscode-maquette-group.is-carousel-right .dresscode-carousel {
    grid-column: 2;
}

.dresscode-maquette-group.is-carousel-right .dresscode-maquette-copy-col {
    grid-column: 1;
    text-align: right;
}

.dresscode-maquette-copy-col {
    text-align: left;
}

/* The title's hairline is a fixed-width block, so text-align alone doesn't
   move it — push it to the same edge as the (now right-aligned) text. */
.dresscode-maquette-group.is-carousel-right .dresscode-maquette-copy-col h3::after {
    margin-left: auto;
    margin-right: 0;
}

/* .dresscode-maquette-copy has its own text-align:left below (higher
   specificity than plain inheritance from .copy-col), so the paragraphs
   need their own explicit override here too. */
.dresscode-maquette-group.is-carousel-right .dresscode-maquette-copy {
    text-align: right;
}

.dresscode-maquette-copy {
    margin: 0 0 1.2rem;
    text-align: left;
}

.dresscode-maquette-copy:last-child {
    margin-bottom: 0;
}

.dresscode-maquette-reserved-photo {
    margin: 0;
    overflow: hidden;
    background: rgba(255, 247, 243, 0.16);
    aspect-ratio: 3 / 4;
}

.dresscode-maquette-reserved-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dresscode-maquette-reserved {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.dresscode-maquette-reserved-copy p {
    margin: 0 0 1.4rem;
}

.dresscode-maquette-reserved-copy p:last-child {
    margin-bottom: 0;
}

/* Carousel: used by Mesdames/Messieurs, mirrored via .is-carousel-left/right
   above. Slides translate as percentages of the track's own width, so no JS
   measurement is needed; dots are real buttons (keyboard/AT accessible). */
.dresscode-carousel {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid rgba(255, 247, 243, 0.4);
    border-radius: var(--wedding-radius);
    background: rgba(255, 247, 243, 0.16);
    box-shadow:
        0 24px 48px rgba(134, 16, 14, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dresscode-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(calc(var(--dresscode-active, 0) * -100%));
    transition: transform 0.6s ease;
}

.dresscode-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.dresscode-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.01);
}

.dresscode-carousel-dots {
    position: absolute;
    z-index: 2;
    bottom: 0.9rem;
    left: 50%;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.dresscode-carousel-dot {
    display: block;
    width: 0.55rem;
    height: 0.55rem;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 247, 243, 0.6);
    box-shadow: 0 1px 3px rgba(36, 26, 25, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.dresscode-carousel-dot.is-active {
    background: var(--wedding-ivory);
    transform: scale(1.3);
}

.dresscode-carousel-dot:focus-visible {
    outline: 2px solid var(--wedding-ivory);
    outline-offset: 2px;
}

.dresscode-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 247, 243, 0.6);
    color: var(--wedding-red);
    box-shadow: 0 1px 3px rgba(36, 26, 25, 0.3);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.dresscode-carousel-arrow--prev {
    left: 0.7rem;
}

.dresscode-carousel-arrow--next {
    right: 0.7rem;
}

.dresscode-carousel-arrow svg {
    display: block;
    width: 1rem;
    height: 1rem;
}

.dresscode-carousel-arrow:hover {
    background: var(--wedding-ivory);
    transform: translateY(-50%) scale(1.1);
}

.dresscode-carousel-arrow:focus-visible {
    outline: 2px solid var(--wedding-ivory);
    outline-offset: 2px;
}

#galerie.gallery-maquette {
    padding: 4.8rem 0 5.2rem;
    color: var(--wedding-red);
}

#galerie.gallery-maquette .wedding-shell {
    width: min(1120px, calc(100% - 2rem));
}

#galerie.gallery-maquette .section-heading {
    max-width: 780px;
    margin-bottom: 2.6rem;
}

#galerie.gallery-maquette .section-kicker,
#galerie.gallery-maquette .section-heading h2,
#galerie.gallery-maquette .section-heading p {
    color: var(--wedding-red);
}

#galerie.gallery-maquette .section-kicker {
    margin-bottom: 0.25rem;
}

#galerie.gallery-maquette .section-heading h2 {
    margin: 0 0 0.75rem;
    font-family: var(--wedding-font-script);
    font-size: clamp(3.2rem, 7vw, 5.2rem);
    font-weight: 400;
    line-height: 0.88;
}

#galerie.gallery-maquette .section-heading p {
    font-size: 1.04rem;
    line-height: 1.45;
}

#galerie.gallery-maquette .editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#galerie.gallery-maquette .editorial-card {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    min-height: 13rem;
    padding: clamp(1.35rem, 3vw, 2.1rem);
    background: transparent;
    border-right: 1px solid rgba(134, 16, 14, 0.16);
    border-radius: 0;
    box-shadow: none;
}

#galerie.gallery-maquette .editorial-card:last-child {
    border-right: 0;
}

#galerie.gallery-maquette .editorial-card h3 {
    margin: 0;
    color: var(--wedding-red);
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 400;
    line-height: 1.05;
}

#galerie.gallery-maquette .editorial-card p {
    max-width: 24rem;
    margin: 0;
    color: var(--wedding-red);
    font-size: 0.98rem;
    line-height: 1.42;
}

@media (max-width: 921px) {
    #galerie.gallery-maquette {
        padding: 4rem 0 4.4rem;
    }

    #galerie.gallery-maquette .editorial-grid {
        grid-template-columns: 1fr;
    }

    #galerie.gallery-maquette .editorial-card {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(134, 16, 14, 0.16);
    }

    #galerie.gallery-maquette .editorial-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 544px) {
    #galerie.gallery-maquette {
        padding: 3.2rem 0 3.6rem;
    }

    #galerie.gallery-maquette .wedding-shell {
        width: min(1120px, calc(100% - 1.25rem));
    }

    #galerie.gallery-maquette .section-heading {
        margin-bottom: 1.7rem;
    }

    #galerie.gallery-maquette .section-heading h2 {
        font-size: 2.8rem;
    }

    #galerie.gallery-maquette .editorial-card {
        padding: 1.15rem 0.2rem;
    }
}

.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item summary {
    cursor: pointer;
}

.rsvp-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 0;
}

.rsvp-note {
    font-size: 0.95rem;
}

.rsvp-coming-soon {
    max-width: 620px;
    margin: 0 auto;
    padding: 2.4rem 2rem;
    text-align: center;
    background: var(--wedding-surface-strong);
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow-soft);
}

.rsvp-coming-soon h3 {
    margin: 0 0 0.6rem;
    font-family: var(--wedding-font-script);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--wedding-red);
}

.rsvp-coming-soon p {
    margin: 0;
    color: var(--wedding-ink);
    line-height: 1.5;
}

.rsvp-panel > :first-child {
    align-self: start;
    padding-top: 0.35rem;
    width: min(100%, 760px);
    margin: 0 auto;
}

.rsvp-panel > :first-child h3 {
    margin-bottom: 0.9rem;
}

.rsvp-actions .wpr-wrapper form {
    display: grid;
    width: 100%;
}

.rsvp-actions .wpr-wrapper > form > h2 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.05;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.rsvp-actions .wpr-wrapper h3 {
    margin: 0 0 0.9rem;
    font-size: 1.7rem;
    line-height: 1.1;
}

.rsvp-actions .wpr-guest-card {
    display: grid;
    gap: 0.85rem;
}

.rsvp-actions .wpr-party-card {
    gap: 1.1rem;
    padding: 1.35rem;
}

.rsvp-actions .wpr-party-group-fields {
    display: grid;
    gap: 0.85rem;
}

.rsvp-actions .wpr-party-members {
    display: grid;
    gap: 0.95rem;
}

.rsvp-actions .wpr-member-list-header label {
    display: block;
    margin-bottom: 0.1rem;
}

.rsvp-actions .wpr-member-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    background: rgba(255, 248, 245, 0.6);
}

.rsvp-actions .wpr-member-list::-webkit-scrollbar {
    display: none;
}

.rsvp-actions .wpr-member-chip {
    display: flex;
    flex: 1 1 0;
    min-width: max-content;
    align-items: center;
    justify-content: center;
    border: 0;
    border-right: 1px solid var(--wedding-line);
    border-radius: 0;
    /* Default = validation missing yet. */
    background: var(--wedding-orange);
    color: var(--wedding-ink);
    padding: 0.75rem 1rem;
    font-family: var(--wedding-font-title);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-actions .wpr-member-chip:last-child {
    border-right: 0;
}

.rsvp-actions .wpr-member-chip:hover,
.rsvp-actions .wpr-member-chip:focus-visible {
    filter: brightness(0.94);
    outline: none;
}

/* Validated + attending. */
.rsvp-actions .wpr-member-chip.is-complete {
    background: var(--wedding-sage-deep);
    color: #fff;
}

/* Validated but not attending. */
.rsvp-actions .wpr-member-chip.is-declined {
    background: var(--wedding-red);
    color: #fff;
}

/* Currently open tab: a ring on top of whichever status color applies. */
.rsvp-actions .wpr-member-chip.is-active {
    box-shadow: inset 0 0 0 2px rgba(36, 26, 25, 0.55);
}

.rsvp-actions .wpr-member-validation-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.rsvp-actions .wpr-member-progress {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--wedding-muted);
    transition: color 0.2s ease;
}

.rsvp-actions .wpr-member-progress.is-complete {
    color: var(--wedding-sage-deep);
}

.rsvp-actions .wpr-party-step-forward {
    min-height: 0;
    padding: 0.4rem 0.95rem;
    font-size: 0.76rem;
    border-radius: 999px;
}

.rsvp-actions .wpr-member-panels {
    display: grid;
}

.rsvp-actions .wpr-member-panel {
    padding: 1.15rem;
    border-radius: 20px;
    border-color: var(--wedding-line);
    background:
        linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(252, 245, 241, 0.95)),
        linear-gradient(135deg, rgba(244, 185, 185, 0.06), rgba(210, 204, 147, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.rsvp-actions .wpr-member-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding-top: 0.2rem;
}

.rsvp-actions .wpr-member-status {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--wedding-muted);
}

.rsvp-actions .wpr-member-status.is-complete {
    color: var(--wedding-sage-deep);
}

.rsvp-actions .wpr-member-status.is-declined {
    color: var(--wedding-red);
}

.rsvp-actions .wpr-member-validate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    border: 1px solid rgba(125, 122, 70, 0.22);
    border-radius: 999px;
    background: rgba(255, 252, 248, 0.95);
    color: var(--wedding-sage-deep);
    padding: 0.8rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rsvp-actions .wpr-member-validate:hover,
.rsvp-actions .wpr-member-validate:focus-visible {
    border-color: rgba(125, 122, 70, 0.42);
    background: rgba(246, 245, 231, 0.98);
    box-shadow: 0 12px 24px rgba(125, 122, 70, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.rsvp-actions .wpr-field {
    margin-bottom: 0;
}

.rsvp-actions .wpr-field label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--wedding-ink);
}

.rsvp-actions .wpr-help {
    margin: 0.2rem 0 0.55rem;
    font-size: 0.92rem;
    color: var(--wedding-muted);
}

.rsvp-actions .wpr-field input[type="text"],
.rsvp-actions .wpr-field input[type="email"],
.rsvp-actions .wpr-field select,
.rsvp-actions .wpr-field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--wedding-line-soft);
    background: rgba(255, 248, 245, 0.92);
    padding: 0.9rem 1rem;
}

/* Force a stable native select rendering inside the RSVP block. */
.rsvp-actions .wpr-field select {
    color: var(--wedding-ink);
    -webkit-text-fill-color: var(--wedding-ink);
    font: inherit;
    line-height: 1.35;
    min-height: 3.4rem;
    opacity: 1;
    appearance: auto;
}

.rsvp-actions .wpr-field select option {
    color: var(--wedding-ink);
    background: #fffaf7;
}

.rsvp-actions .wpr-field select:disabled {
    color: var(--wedding-muted);
    -webkit-text-fill-color: var(--wedding-muted);
    opacity: 1;
}

/* Button-group: a native-select replacement for short enumerable choices
   (attendance, room reservation). Unlike a native <select>, the option text
   can wrap instead of being clipped on narrow phones. */
.rsvp-actions .wpr-button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
}

.rsvp-actions .wpr-button-group-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rsvp-actions .wpr-button-group-option {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 0.9rem;
    border-right: 1px solid var(--wedding-line);
    background: rgba(255, 248, 245, 0.6);
    color: var(--wedding-ink);
    font-family: var(--wedding-font-title);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.rsvp-actions .wpr-button-group-option:first-of-type {
    border-top-left-radius: calc(var(--wedding-radius) - 1px);
    border-bottom-left-radius: calc(var(--wedding-radius) - 1px);
}

.rsvp-actions .wpr-button-group-option:last-of-type {
    border-right: 0;
    border-top-right-radius: calc(var(--wedding-radius) - 1px);
    border-bottom-right-radius: calc(var(--wedding-radius) - 1px);
}

.rsvp-actions .wpr-button-group-option:hover {
    filter: brightness(0.96);
}

.rsvp-actions .wpr-button-group-input:checked + .wpr-button-group-option {
    background: var(--wedding-red);
    color: #fff;
}

.rsvp-actions .wpr-button-group-input:focus-visible + .wpr-button-group-option {
    box-shadow: inset 0 0 0 2px rgba(36, 26, 25, 0.55);
    outline: none;
}

.rsvp-actions .wpr-button-group-input:disabled + .wpr-button-group-option {
    opacity: 0.5;
    cursor: not-allowed;
}

.rsvp-actions .wpr-checkbox-group {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
}

.rsvp-actions .wpr-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 250, 247, 0.86);
    border: 1px solid var(--wedding-line-soft);
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Premium custom checkbox: the native input is visually hidden (kept for a11y/keyboard)
   and a themed box + checkmark is drawn via its sibling span instead. */
.rsvp-actions .wpr-checkbox-group input[type="checkbox"],
.rsvp-actions .wpr-program-option-toggle input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rsvp-actions .wpr-checkbox-visual {
    flex: 0 0 auto;
    position: relative;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.1rem;
    border-radius: 6px;
    border: 1.5px solid var(--wedding-line);
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rsvp-actions .wpr-checkbox-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 44%;
    width: 0.3rem;
    height: 0.58rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.rsvp-actions input[type="checkbox"]:checked + .wpr-checkbox-visual {
    background: var(--wedding-red);
    border-color: var(--wedding-red);
}

.rsvp-actions input[type="checkbox"]:checked + .wpr-checkbox-visual::after {
    opacity: 1;
}

.rsvp-actions input[type="checkbox"]:focus-visible + .wpr-checkbox-visual {
    box-shadow: 0 0 0 3px rgba(134, 16, 14, 0.18);
}

.rsvp-actions input[type="checkbox"]:disabled + .wpr-checkbox-visual {
    opacity: 0.45;
}

/* Progressive enhancement (modern browsers): tint the whole row once checked. */
.rsvp-actions .wpr-checkbox-group label:has(input[type="checkbox"]:checked) {
    background: rgba(134, 16, 14, 0.07);
    border-color: rgba(134, 16, 14, 0.22);
}

.rsvp-actions .wpr-program-day-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.65rem 0 0.15rem;
    font-family: var(--wedding-font-title);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wedding-red);
}

.rsvp-actions .wpr-program-day-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 2px;
    background: rgba(134, 16, 14, 0.35);
}

.rsvp-actions .wpr-program-day-divider:first-child {
    margin-top: 0;
}

.rsvp-actions .wpr-program-option {
    border-radius: 18px;
    border: 1px solid var(--wedding-line);
    background: rgba(255, 250, 247, 0.86);
    padding: 0;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rsvp-actions .wpr-checkbox-group .wpr-program-option-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
}

.rsvp-actions .wpr-checkbox-group .wpr-program-option-toggle input {
    margin-top: 0.15rem;
}

.rsvp-actions .wpr-program-option-panel {
    margin-top: 0;
    padding: 0.95rem 0.9rem 0.15rem;
    border-top: 1px solid var(--wedding-line-soft);
}

.rsvp-actions .wpr-program-option-panel .wpr-dinner-allergies > input[name*="[dietary]"] {
    margin-bottom: 0.65rem;
}

.rsvp-actions .wpr-program-option-panel .wpr-field {
    display: grid;
    gap: 0.55rem;
}

.rsvp-actions .wpr-program-option-panel .wpr-field > label {
    padding: 0;
    border: none;
    background: transparent;
    font-weight: 600;
}

.rsvp-actions .wpr-program-option-panel .wpr-checkbox-group {
    margin: 0;
}

.rsvp-actions .wpr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, var(--wedding-red) 0%, var(--wedding-orange) 100%);
    color: var(--wedding-white);
    border: none;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(134, 16, 14, 0.22);
    font-weight: 700;
}

.rsvp-actions .wpr-family-submit {
    display: grid;
    gap: 0.55rem;
}

.rsvp-actions .wpr-family-submit-help {
    margin: 0;
}

.rsvp-actions .wpr-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    filter: saturate(0.85);
}

.rsvp-actions .wpr-button:hover {
    opacity: 1;
    background: linear-gradient(135deg, #5f0d0c 0%, var(--wedding-red) 58%, var(--wedding-orange) 100%);
}

.rsvp-actions .wpr-notice {
    margin-bottom: 1rem;
    border-radius: 18px;
}

.editorial-card,
.faq-item,
.rsvp-actions .wpr-guest-card,
.rsvp-actions .wpr-wrapper form,
.rsvp-actions .wpr-wrapper > form > h2,
.rsvp-actions .wpr-member-panel,
.rsvp-actions .wpr-program-option,
.rsvp-actions .wpr-field input[type="text"],
.rsvp-actions .wpr-field input[type="email"],
.rsvp-actions .wpr-field select,
.rsvp-actions .wpr-field textarea,
.rsvp-actions .wpr-checkbox-group label,
.rsvp-actions .wpr-notice {
    border-radius: var(--wedding-radius);
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    border: 1px solid var(--wedding-line);
    border-radius: 18px;
    background: rgba(255, 250, 247, 0.94);
    color: var(--wedding-ink);
    padding: 0.9rem 1rem;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--wedding-rose);
    box-shadow: 0 0 0 3px rgba(244, 185, 185, 0.22);
    outline: none;
}

.jw-wedding-footer-copyright {
    width: 100%;
    padding: 1.15rem clamp(1.25rem, 4vw, 3.5rem);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(134, 16, 14, 0.98), rgba(109, 14, 12, 0.97)),
        linear-gradient(90deg, rgba(255, 230, 226, 0.08), rgba(255, 230, 226, 0));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 -14px 34px rgba(36, 26, 25, 0.12);
}

.jw-wedding-footer-copyright p {
    margin: 0;
    font-family: var(--wedding-font-title);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    color: #ffe6e2;
}

.jw-wedding-footer-copyright span {
    display: inline-block;
    margin: 0 0.55rem;
    color: var(--wedding-blush);
    opacity: 0.85;
}

@media (max-width: 921px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    #dresscode.dresscode-maquette {
        padding: 3.8rem 0 4.6rem;
    }

    .dresscode-maquette-header {
        margin-top: -3.8rem;
        margin-bottom: 3.4rem;
    }

    .dresscode-maquette-header h2 span,
    .dresscode-maquette-header h2 em {
        font-size: 3.7rem;
    }

    .dresscode-maquette-group {
        margin-bottom: 3.2rem;
    }

    .dresscode-maquette-group.is-carousel {
        grid-template-columns: 1fr;
        width: min(480px, 100%);
        margin: 0 auto 3.2rem;
    }

    .dresscode-maquette-group.is-carousel .dresscode-carousel {
        grid-column: 1;
        grid-row: 1;
    }

    /* On mobile the swipe gesture replaces the arrows — hide them (the dots
       stay for tap navigation). */
    .dresscode-carousel-arrow {
        display: none;
    }

    .dresscode-maquette-group.is-carousel .dresscode-maquette-copy-col {
        grid-column: 1;
        grid-row: 2;
    }

    .dresscode-maquette-copy-col,
    .dresscode-maquette-copy {
        text-align: center;
    }

    .dresscode-maquette-reserved {
        grid-template-columns: 1fr;
        gap: 1.7rem;
        width: min(680px, 100%);
    }

    .dresscode-maquette-reserved-photo {
        width: min(320px, 100%);
        justify-self: center;
    }

    .dresscode-maquette-reserved-copy {
        text-align: center;
    }

}

@media (max-width: 544px) {
    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    body {
        font-size: 15px;
    }

    #dresscode.dresscode-maquette {
        padding: 3.1rem 0 3.7rem;
    }

    #dresscode.dresscode-maquette .wedding-shell {
        width: min(calc(100% - 1.25rem), 32rem);
    }

    .dresscode-maquette-header {
        margin-top: -3.1rem;
        margin-bottom: 2.8rem;
    }

    .dresscode-maquette-header h2 {
        gap: 0.12em;
        margin-bottom: 1.2rem;
    }

    .dresscode-maquette-header h2 span,
    .dresscode-maquette-header h2 em {
        font-size: 3rem;
    }

    .dresscode-maquette-intro {
        text-align: center;
    }

    .dresscode-maquette-intro p,
    .dresscode-maquette-copy,
    .dresscode-maquette-reserved-copy p {
        font-size: 0.96rem;
    }

    .dresscode-maquette-group h3 {
        font-size: 1.65rem;
    }

    .dresscode-maquette-group.is-carousel {
        width: min(18rem, 100%);
    }

    .dresscode-maquette-copy-col,
    .dresscode-maquette-copy {
        text-align: center;
    }

    .dresscode-maquette-reserved {
        width: min(20rem, 100%);
    }

    .dresscode-maquette-reserved-copy {
        text-align: left;
    }

    .wedding-shell {
        width: min(1120px, calc(100% - 1.25rem));
    }
}

/* Our sections control their own spacing: #primary (our <main>) stays flush. */
body.wedding-info-page #primary,
#primary.wedding-front-page {
    margin: 0;
    padding: 0;
}

#programme,
#navigation-programme,
#dresscode,
#rsvp,
#faq,
#galerie {
    scroll-margin-top: var(--wedding-header-offset);
}

.wedding-site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 5.75rem 1fr;
    align-items: center;
    gap: 1.5rem;
    min-height: 6rem;
    padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
    background: var(--wedding-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.wedding-site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.9rem;
    aspect-ratio: 1;
    background: var(--wedding-blush);
    border: 1px solid rgba(255, 230, 230, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wedding-site-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(36, 26, 25, 0.18);
}

.wedding-site-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.2rem, 4vw, 4rem);
}

.wedding-site-nav a {
    color: #ffe6e2;
    font-family: var(--wedding-font-title);
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 0.9;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 3px 10px rgba(36, 26, 25, 0.16);
}

.wedding-site-nav a:hover,
.wedding-site-nav a:focus-visible {
    color: var(--wedding-white);
}

.hero-layout {
    width: min(1120px, calc(100% - 2rem));
    gap: clamp(2.5rem, 4.5vw, 4.25rem);
}

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    align-items: center;
    justify-items: center;
    row-gap: 1.35rem;
    width: 100%;
    min-height: 27.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--wedding-blush);
    color: var(--wedding-red);
}

/* Side text/CTA columns retired from the design — kept in the markup, hidden
   here, rather than removed from front-page.php. */
.hero-copy-left,
.hero-copy-right {
    display: none;
}

.hero-card p.hero-arrival {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.9rem;
    color: rgba(134, 16, 14, 0.78);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-family: var(--wedding-font-title);
    font-size: clamp(0.78rem, 1.1vw, 0.95rem) !important;
    font-weight: 700;
    line-height: 1.3 !important;
}

.hero-card p.hero-arrival::before,
.hero-card p.hero-arrival::after {
    content: "";
    flex: 0 1 7.5rem;
    height: 1px;
    background: var(--wedding-hairline);
}

.hero-arrival span {
    display: inline;
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    color: var(--wedding-orange);
}

.hero-program-link,
.hero-rsvp-button {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 0.6rem;
    margin-top: 0.6rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid rgba(255, 250, 248, 0.56);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 250, 248, 0.72), rgba(255, 247, 243, 0.34)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(134, 16, 14, 0.035));
    box-shadow:
        0 14px 32px rgba(134, 16, 14, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        inset 0 -1px 0 rgba(134, 16, 14, 0.06);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.hero-program-link:hover,
.hero-program-link:focus-visible,
.hero-rsvp-button:hover,
.hero-rsvp-button:focus-visible {
    box-shadow:
        0 18px 38px rgba(134, 16, 14, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(134, 16, 14, 0.08);
    transform: translateY(-2px);
}

.hero-program-link:hover .hero-cta-arrow,
.hero-program-link:focus-visible .hero-cta-arrow,
.hero-rsvp-button:hover .hero-cta-arrow,
.hero-rsvp-button:focus-visible .hero-cta-arrow {
    transform: translateX(3px);
}

/* Calendar action merged into the countdown pill itself, as one more item
   on the same row as the digits — separated by the same dot used between
   countdown cards, sized close to the digits so it reads as part of the
   same unit rather than a bolted-on button. */
.hero-calendar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    color: var(--wedding-red);
    transition: color 0.2s ease;
}

.hero-calendar-button svg {
    width: clamp(1.4rem, 2.3vw, 1.7rem);
    height: clamp(1.4rem, 2.3vw, 1.7rem);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-photo-block {
    position: relative;
    grid-column: 1;
    grid-row: 2 / -1;
    justify-self: center;
    width: min(100%, 19rem);
    margin: 0;
    padding-bottom: 8.6rem;
}

.hero-photo-block img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 0%;
    border: 0;
    border-radius: 0.6rem;
    box-shadow: 0 18px 34px rgba(134, 16, 14, 0.12);
}

.hero-title-lockup {
    position: absolute;
    left: 50%;
    bottom: 4.5rem;
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
    column-gap: 1.05rem;
    width: max-content;
    max-width: min(42rem, 92vw);
    transform: translateX(-50%);
    color: var(--wedding-red);
    text-align: center;
    white-space: nowrap;
}

.hero-title-main {
    font-family: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-style: italic;
    font-size: clamp(2.85rem, 5vw, 3.9rem);
    line-height: 0.82;
    letter-spacing: 0;
}

.hero-title-script {
    font-family: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(2.9rem, 5.4vw, 4.25rem);
    font-style: italic;
    line-height: 0.75;
}

.hero-title-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin: 0;
    font-family: var(--wedding-font-title);
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    color: var(--wedding-red);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.hero-title-date::before,
.hero-title-date::after {
    content: "";
    flex: 0 0 2.6rem;
    height: 1px;
    background: var(--wedding-hairline);
}

.hero-panel {
    position: absolute;
    left: 50%;
    bottom: -1.0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    max-width: min(31rem, 94vw);
    margin: 0;
    transform: translateX(-50%);
}

.maquette-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: auto;
    padding: 0.68rem 1.05rem;
    background:
        linear-gradient(145deg, rgba(255, 250, 248, 0.72), rgba(255, 247, 243, 0.34)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(134, 16, 14, 0.035));
    border: 1px solid rgba(255, 250, 248, 0.56);
    border-radius: 999px;
    box-shadow:
        0 14px 32px rgba(134, 16, 14, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        inset 0 -1px 0 rgba(134, 16, 14, 0.06);
    overflow: visible;
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maquette-countdown:hover,
.maquette-countdown:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(134, 16, 14, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(134, 16, 14, 0.08);
}

.maquette-countdown:hover .hero-calendar-button,
.maquette-countdown:focus-visible .hero-calendar-button {
    color: var(--wedding-orange);
}

.maquette-countdown .countdown-intro {
    margin: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

.maquette-countdown .countdown-grid {
    display: inline-flex;
    align-items: baseline;
    width: 100%;
    margin: 0;
    gap: 0.46rem;
}

.maquette-countdown .countdown-card {
    display: inline-flex;
    align-items: baseline;
    gap: 0.16rem;
}

.maquette-countdown .countdown-card:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.24rem;
    height: 0.24rem;
    margin: 0 0.2rem 0 0.36rem;
    border-radius: 50%;
    background: rgba(134, 16, 14, 0.36);
    transform: translateY(-0.08rem);
}

.maquette-countdown .countdown-value {
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: clamp(1.18rem, 1.85vw, 1.45rem);
    font-weight: 800;
    line-height: 1;
}

.maquette-countdown .countdown-unit {
    color: var(--wedding-red);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.78;
}

@media (max-width: 921px) {
    .wedding-site-header {
        grid-template-columns: 4.2rem 1fr;
        gap: 1rem;
        min-height: 5.25rem;
        padding: 0.8rem 1rem;
    }

    .wedding-site-logo {
        width: 3.25rem;
    }

    .wedding-site-nav {
        justify-content: flex-start;
        gap: 1.4rem;
        overflow-x: auto;
        padding: 0.3rem 0;
        scrollbar-width: thin;
    }

    .wedding-site-nav a {
        flex: 0 0 auto;
        font-size: 0.92rem;
    }

    .hero {
        padding: 1.2rem 0 3.5rem;
    }

    .hero-card {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        min-height: 0;
        padding: 1.5rem;
    }

    .hero-arrival,
    .hero-photo-block {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
    }

    .hero-arrival {
        order: -2;
    }

    .hero-photo-block {
        order: -1;
        width: min(21rem, 100%);
        padding-bottom: 9.3rem;
    }

    .maquette-countdown {
        text-align: center;
    }

    .maquette-countdown .countdown-intro {
        text-align: center;
    }

    .program-maquette-section {
        min-height: auto;
        padding: 2.75rem 0;
    }

    .program-maquette-shell {
        display: grid;
        gap: 0;
        min-height: 0;
    }

    .program-maquette-card {
        width: 100%;
        margin-left: 0;
    }

    .program-maquette-info-link {
        width: 100%;
        margin-left: 0;
        padding: 2rem 2.25rem 0.9rem;
        font-size: 0.92rem;
    }

}

@media (max-width: 544px) {
    .wedding-site-header {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.75rem;
    }

    .wedding-site-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem 1.1rem;
        overflow-x: visible;
        padding: 0;
    }

    .wedding-site-nav a {
        font-size: 0.82rem;
        line-height: 0.95;
    }

    .hero-layout {
        width: min(1120px, calc(100% - 1rem));
    }

    .hero-card {
        padding: 1.1rem;
    }

    .hero-title-lockup {
        grid-template-columns: 1fr;
        row-gap: 0.15rem;
        width: min(19rem, calc(100vw - 2rem));
        white-space: normal;
        bottom: 5.2rem;
    }

    .hero-card p.hero-arrival {
        letter-spacing: 0.12em;
        white-space: normal;
    }

    .hero-card p.hero-arrival::before,
    .hero-card p.hero-arrival::after {
        flex-basis: 1.6rem;
    }

    .hero-title-main,
    .hero-title-script {
        font-size: 2.35rem;
        line-height: 0.86;
    }

    .hero-title-date {
        font-size: 0.8rem;
    }

    .hero-title-date::before,
    .hero-title-date::after {
        flex-basis: 1.6rem;
    }

    .hero-panel {
        bottom: 0.25rem;
    }

    .maquette-countdown {
        gap: 0.52rem;
        padding: 0.56rem 0.72rem;
    }

    .maquette-countdown .countdown-grid {
        gap: 0.26rem;
    }

    .maquette-countdown .countdown-intro {
        font-size: 0.72rem;
    }

    .maquette-countdown .countdown-value {
        font-size: 1rem;
    }

    .maquette-countdown .countdown-unit {
        font-size: 0.58rem;
    }

    .maquette-countdown .countdown-card:not(:last-child)::after {
        width: 0.18rem;
        height: 0.18rem;
        margin-left: 0.22rem;
        margin-right: 0.08rem;
    }

    .hero-calendar-button {
        margin-left: 0.34rem;
    }

    .hero-calendar-button svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    .program-maquette-shell {
        width: min(1120px, calc(100% - 1rem));
    }

    .program-maquette-card {
        padding: 1.45rem 0.7rem 1.65rem;
    }

    .program-maquette-card h2 {
        font-size: 3rem;
    }

    .program-maquette-timeline {
        --program-axis-x: 2.6rem;
        --program-content-x: 4.05rem;
        --program-medallion: 1.9rem;
        --program-transit-icon: 1.4rem;
        gap: 1rem;
        padding-left: var(--program-content-x);
        padding-right: var(--program-content-x);
    }

    .program-maquette-timeline::before {
        top: 2.2rem;
        left: calc(var(--program-axis-x) - 1px);
    }

    .program-maquette-date {
        font-size: 0.95rem;
    }

    .program-maquette-time {
        font-size: 0.92rem;
    }

    .program-maquette-copy {
        padding-bottom: 0.75rem;
    }

    .program-maquette-item h3 {
        font-size: 1.12rem;
    }

    .program-maquette-place {
        font-size: 0.66rem !important;
    }

    .program-maquette-address,
    .program-maquette-location-note {
        font-size: 0.66rem !important;
    }


    .program-maquette-transit {
        gap: 0.35rem;
        padding: 0.24rem 0.65rem 0.24rem 0.24rem;
    }

    .program-maquette-transit-label {
        font-size: 0.62rem;
    }

    .program-maquette-info-link {
        width: 100%;
        margin: -1.1rem 0 0;
        padding: 1.95rem 1.5rem 0.85rem;
        font-size: 0.88rem;
    }
}

#rsvp.rsvp-maquette {
    position: relative;
    isolation: isolate;
    padding: 5.2rem 0 5.5rem;
    overflow: hidden;
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--rsvp-bg-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#rsvp.rsvp-maquette::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 248, 245, 0.55), rgba(255, 248, 245, 0.72));
}

#rsvp.rsvp-maquette .wedding-shell {
    display: grid;
    gap: 2rem;
    width: min(1320px, calc(100% - 2rem));
}

#rsvp.rsvp-maquette .section-heading {
    max-width: 820px;
    margin: 0 auto;
}

#rsvp.rsvp-maquette .section-kicker,
#rsvp.rsvp-maquette .section-heading h2,
#rsvp.rsvp-maquette .section-heading p {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .section-heading h2 {
    margin-bottom: 0.8rem;
    font-family: var(--wedding-font-script);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 0.9;
}

#rsvp.rsvp-maquette .section-heading p {
    font-size: 1.05rem;
    line-height: 1.45;
}

#rsvp.rsvp-maquette .rsvp-panel {
    width: min(1120px, 100%);
    margin: 0 auto;
}

#rsvp.rsvp-maquette .rsvp-actions {
    text-align: left;
}

#rsvp.rsvp-maquette .rsvp-note {
    color: var(--wedding-red);
    text-align: center;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2,
#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper h3 {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
    box-shadow: none;
    font-family: Georgia, "Times New Roman", serif;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field > label,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-list-header label,
#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option-panel .wpr-field > label {
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 1rem;
    font-weight: 700;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-help {
    color: rgba(134, 16, 14, 0.72);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    background: rgba(255, 250, 247, 0.92);
    border-color: rgba(134, 16, 14, 0.16);
    color: var(--wedding-ink);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input:focus,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select:focus,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea:focus {
    border-color: rgba(134, 16, 14, 0.42);
    box-shadow: 0 0 0 3px rgba(134, 16, 14, 0.12);
}


#rsvp.rsvp-maquette .rsvp-actions .wpr-button {
    min-height: 3.35rem;
    border: 1px solid rgba(134, 16, 14, 0.9);
    border-radius: var(--wedding-radius);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-button:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button:focus-visible {
    border-color: #5f0d0c;
    outline: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate {
    border-radius: var(--wedding-radius);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper form {
    gap: 1.35rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card {
    display: grid;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card > h3,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel > h3 {
    margin: 0;
    font-family: var(--wedding-font-title);
    font-size: 1.45rem;
    line-height: 1.05;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card > .wpr-help {
    margin-top: -0.4rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    display: grid;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field {
    display: grid;
    gap: 0.45rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="number"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    background: rgba(255, 247, 243, 0.9);
    border-color: rgba(134, 16, 14, 0.2);
    color: var(--wedding-ink);
    border-radius: var(--wedding-radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}


#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group {
    gap: 0;
    border-top: 1px solid rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group label {
    margin: 0;
    padding: 0.72rem 0.2rem;
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: 0;
    background: transparent;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group label:has(input[type="checkbox"]:checked) {
    background: rgba(134, 16, 14, 0.07);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option {
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option.is-active {
    border-color: rgba(134, 16, 14, 0.18);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group .wpr-program-option-toggle {
    padding: 0.72rem 0.2rem;
    border-bottom: 0;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option-panel {
    padding: 0.85rem 0.2rem 0.25rem 1.35rem;
    border-top: 1px dashed rgba(134, 16, 14, 0.18);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option-panel .wpr-checkbox-group {
    margin-top: 0.2rem;
}

#faq.faq-maquette {
    padding: 4.4rem 0 4.8rem;
    background: #f4eeee;
}

#faq.faq-maquette .wedding-shell {
    width: min(980px, calc(100% - 2rem));
}

#faq.faq-maquette .section-heading {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

#faq.faq-maquette .section-kicker {
    margin-bottom: 0.25rem;
    color: var(--wedding-red);
}

#faq.faq-maquette .section-heading h2 {
    margin: 0 0 0.65rem;
    color: var(--wedding-red);
    font-family: var(--wedding-font-script);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 0.9;
}

#faq.faq-maquette .section-heading p {
    max-width: 38rem;
    margin: 0 auto;
    color: var(--wedding-red);
    font-size: 0.98rem;
    line-height: 1.45;
}

#faq.faq-maquette .faq-list {
    max-width: 820px;
}

#faq.faq-maquette .faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    list-style: none;
    color: var(--wedding-red);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.2;
}

#faq.faq-maquette .faq-item summary::marker {
    content: "";
}

#faq.faq-maquette .faq-item summary::-webkit-details-marker {
    display: none;
}

#faq.faq-maquette .faq-item summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    aspect-ratio: 1;
    border: 1px solid rgba(134, 16, 14, 0.2);
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.9rem;
    line-height: 1;
}

#faq.faq-maquette .faq-item[open] summary::after {
    content: "-";
}

#faq.faq-maquette .faq-item p {
    max-width: 680px;
    margin: 0;
    color: var(--wedding-red);
    font-size: 0.94rem;
    line-height: 1.45;
}

@media (max-width: 921px) {
    #rsvp.rsvp-maquette {
        padding: 4.2rem 0 4.6rem;
    }

    #rsvp.rsvp-maquette .section-heading h2,
    #faq.faq-maquette .section-heading h2 {
        font-size: 3.2rem;
    }

    #faq.faq-maquette {
        padding: 3.8rem 0 4.1rem;
    }

    #faq.faq-maquette .section-heading {
        margin-bottom: 1.65rem;
    }
}

@media (max-width: 544px) {
    #rsvp.rsvp-maquette .wedding-shell,
    #faq.faq-maquette .wedding-shell {
        width: min(1120px, calc(100% - 1.25rem));
    }

    #rsvp.rsvp-maquette {
        padding: 3.35rem 0 3.8rem;
    }

    #rsvp.rsvp-maquette .section-heading h2,
    #faq.faq-maquette .section-heading h2 {
        font-size: 2.55rem;
    }

    #rsvp.rsvp-maquette .section-heading p,
    #faq.faq-maquette .section-heading p {
        font-size: 0.96rem;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
        font-size: 1.55rem;
    }

    /* Long option sentences ("Je ne pourrai malheureusement pas venir"...) get
       clipped by the native select box on narrow phones - trim the padding
       and font-size a touch so the text has room to fit. */
    #rsvp.rsvp-maquette .rsvp-actions .wpr-field select {
        padding-left: 0.75rem;
        padding-right: 0.5rem;
        font-size: 0.92rem;
    }

    /* Stack the button-group choices (attendance, room) one per row so long
       sentences get the full card width to wrap into, instead of squeezing
       into a half-width segment. */
    #rsvp.rsvp-maquette .rsvp-actions .wpr-button-group {
        flex-direction: column;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-button-group-option {
        border-right: 0;
        border-bottom: 1px solid var(--wedding-line);
        padding: 0.8rem 0.9rem;
    }

    /* Stacked layout rounds top/bottom, not left/right. */
    #rsvp.rsvp-maquette .rsvp-actions .wpr-button-group-option:first-of-type {
        border-radius: 0;
        border-top-left-radius: calc(var(--wedding-radius) - 1px);
        border-top-right-radius: calc(var(--wedding-radius) - 1px);
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-button-group-option:last-of-type {
        border-radius: 0;
        border-bottom-left-radius: calc(var(--wedding-radius) - 1px);
        border-bottom-right-radius: calc(var(--wedding-radius) - 1px);
        border-bottom: 0;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-member-actions,
    #rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate {
        width: 100%;
    }

    #faq.faq-maquette {
        padding: 3rem 0 3.4rem;
    }

    #faq.faq-maquette .section-heading {
        margin-bottom: 1.35rem;
    }

    #faq.faq-maquette .faq-item summary {
        font-size: 0.96rem;
    }

    #faq.faq-maquette .faq-item p {
        font-size: 0.95rem;
    }
}

/* Premium refinement layer: visual polish only, no layout or content changes.
   Its :root/html/body overrides are merged into the top of this file; the
   selector repaints below intentionally override earlier base rules. */
::selection {
    background: rgba(244, 185, 185, 0.55);
    color: var(--wedding-red);
}

h1,
h2,
h3,
h4,
h5 {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

a,
button,
input,
select,
textarea,
.wpr-button {
    transition-duration: 0.22s;
    transition-timing-function: ease;
}

button,
input[type="submit"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-button {
    background: linear-gradient(180deg, #8b1512 0%, #6f0d0b 100%);
    border-color: rgba(111, 13, 11, 0.9);
    box-shadow:
        0 12px 24px rgba(134, 16, 14, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

button:hover,
input[type="submit"]:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button:focus-visible {
    background: linear-gradient(180deg, #74100e 0%, #5d0b0a 100%);
    box-shadow:
        0 16px 30px rgba(134, 16, 14, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

button:active,
input[type="submit"]:active,
.wpr-button:active {
    transform: translateY(0);
}

.wedding-site-header {
    background:
        linear-gradient(180deg, rgba(134, 16, 14, 0.98), rgba(109, 14, 12, 0.97)),
        linear-gradient(90deg, rgba(255, 230, 226, 0.08), rgba(255, 230, 226, 0));
    box-shadow: 0 14px 34px rgba(36, 26, 25, 0.12);
}

.wedding-site-header::after {
    content: "";
    position: absolute;
    inset: auto clamp(1rem, 4vw, 3rem) 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 230, 226, 0.36), transparent);
    pointer-events: none;
}

.wedding-site-logo {
    border-radius: 50%;
    box-shadow:
        0 10px 22px rgba(36, 26, 25, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.wedding-site-nav a {
    position: relative;
    padding: 0.15rem 0 0.4rem;
    color: rgba(255, 236, 232, 0.9);
    transition: color 0.22s ease, text-shadow 0.22s ease;
}

.wedding-site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(2.8rem, 72%);
    height: 1px;
    background: rgba(255, 230, 226, 0.68);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.wedding-site-nav a:hover,
.wedding-site-nav a:focus-visible {
    color: #fffaf7;
    text-shadow: 0 5px 16px rgba(36, 26, 25, 0.2);
}

.wedding-site-nav a:hover::after,
.wedding-site-nav a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.hero-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-title-date {
    color: rgba(134, 16, 14, 0.82);
}

.dresscode-maquette-group h3,
.dresscode-maquette-reserved-copy h3,
#galerie.gallery-maquette .editorial-card h3,
#faq.faq-maquette .faq-item summary {
    font-family: var(--wedding-font-title);
    font-weight: 600;
    letter-spacing: 0;
}

.hero-photo-block img {
    filter: saturate(0.96) contrast(1.02);
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover .hero-photo-block img {
    filter: saturate(1.02) contrast(1.04);
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(134, 16, 14, 0.15);
}

.hero-title-lockup {
    text-shadow: 0 10px 24px rgba(255, 248, 245, 0.55);
}

.program-maquette-info-link,
.navigation-programme-route {
    box-shadow:
        0 14px 28px rgba(134, 16, 14, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.maquette-countdown {
    border-color: rgba(255, 255, 255, 0.7);
    background:
        linear-gradient(145deg, rgba(255, 252, 249, 0.82), rgba(255, 247, 243, 0.42)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(134, 16, 14, 0.04));
    box-shadow:
        0 16px 34px rgba(134, 16, 14, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.program-maquette-section {
    background-color: #f2eeee;
}

.program-maquette-section::before {
    filter: blur(1.6px) saturate(0.94) contrast(0.98);
}

.program-maquette-section::after {
    background:
        linear-gradient(90deg, rgba(36, 26, 25, 0.04), rgba(255, 248, 245, 0.1)),
        linear-gradient(180deg, rgba(255, 247, 243, 0.28), rgba(36, 26, 25, 0.14));
}

.program-maquette-card {
    z-index: 2;
    border: 1px solid rgba(255, 247, 243, 0.34);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(150deg, rgba(255, 247, 243, 0.42), rgba(255, 247, 243, 0.12)),
        linear-gradient(180deg, rgba(203, 198, 130, 0.7), rgba(183, 176, 109, 0.5));
    box-shadow:
        0 30px 72px rgba(36, 26, 25, 0.15),
        inset 0 1px 0 rgba(255, 247, 243, 0.42);
}

.program-maquette-card h2::after,
.dresscode-maquette-intro::before,
#rsvp.rsvp-maquette .section-heading::after,
#faq.faq-maquette .section-heading::after,
#galerie.gallery-maquette .section-heading::after,
.navigation-programme-heading::after {
    content: "";
    display: block;
    width: min(8rem, 42%);
    height: 1px;
    margin: 1rem auto 0;
    background: var(--wedding-hairline);
}

.dresscode-maquette-intro::before {
    margin: 0 auto 1.35rem;
}

.program-maquette-card h2::after {
    width: 8rem;
    margin: 0.95rem 0 0;
}

.program-maquette-timeline::before {
    width: 2.5px;
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.4), rgba(255, 247, 243, 0) 8%),
        linear-gradient(180deg, rgba(239, 140, 86, 0.95) 6%, rgba(224, 96, 70, 0.85) 50%, rgba(134, 16, 14, 0.72));
}

.program-maquette-copy {
    border-bottom-color: rgba(134, 16, 14, 0.12);
}

.navigation-programme-route {
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.navigation-programme-section {
    background:
        linear-gradient(180deg, #f7f0ef 0%, #f4eeee 100%);
}

.navigation-programme-band.is-cream {
    background:
        linear-gradient(180deg, #f7f0ef 0%, #fff8f5 100%);
}

.navigation-programme-band.is-blush {
    background:
        linear-gradient(180deg, #f3b9b8 0%, #f7c9c4 100%);
}

.navigation-programme-item {
    position: relative;
}

.navigation-programme-item + .navigation-programme-item {
    padding-top: 0.45rem;
}

.navigation-programme-media > img {
    border: 1px solid rgba(134, 16, 14, 0.1);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow-lift);
}

.navigation-programme-media figcaption {
    color: rgba(100, 103, 47, 0.9);
}

#dresscode.dresscode-maquette {
    background:
        linear-gradient(180deg, rgba(255, 248, 245, 0.16), rgba(134, 16, 14, 0.035)),
        linear-gradient(180deg, #f3b9b8 0%, #f5c4bf 100%);
}

.dresscode-maquette-header {
    position: relative;
    margin-bottom: clamp(3.1rem, 5vw, 4.8rem);
}

.dresscode-maquette-intro {
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2.6vw, 1.8rem);
}

.dresscode-maquette-reserved-photo {
    border: 1px solid rgba(255, 247, 243, 0.4);
    border-radius: var(--wedding-radius);
    box-shadow:
        0 24px 48px rgba(134, 16, 14, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.dresscode-maquette-reserved-photo img {
    filter: saturate(0.96) contrast(1.01);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.dresscode-maquette-reserved-photo:hover {
    box-shadow:
        0 30px 56px rgba(134, 16, 14, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.dresscode-maquette-reserved-photo:hover img {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.018);
}

.dresscode-maquette-copy,
.dresscode-maquette-reserved-copy {
    color: rgba(134, 16, 14, 0.86);
}

#rsvp.rsvp-maquette .rsvp-panel {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.62), rgba(255, 247, 243, 0.28));
    box-shadow: var(--wedding-shadow);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 252, 249, 0.88), rgba(255, 247, 243, 0.64));
    box-shadow: 0 18px 38px rgba(134, 16, 14, 0.08);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="number"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    min-height: 3.15rem;
    background: rgba(255, 251, 248, 0.94);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    min-height: 6rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate:focus-visible {
    box-shadow: 0 12px 24px rgba(134, 16, 14, 0.1);
}

#faq.faq-maquette {
    background:
        linear-gradient(180deg, #fff8f5 0%, #f4eeee 100%);
}

#faq.faq-maquette .faq-list {
    gap: 0.65rem;
}

#faq.faq-maquette .faq-item {
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background: rgba(255, 252, 249, 0.64);
    box-shadow: 0 10px 24px rgba(36, 26, 25, 0.04);
    overflow: hidden;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#faq.faq-maquette .faq-item:hover,
#faq.faq-maquette .faq-item[open] {
    background: rgba(255, 247, 243, 0.86);
    border-color: rgba(134, 16, 14, 0.18);
    box-shadow: 0 14px 30px rgba(36, 26, 25, 0.06);
}

#faq.faq-maquette .faq-item summary {
    padding: 1.05rem 1rem;
}

#faq.faq-maquette .faq-item p {
    padding: 0 3rem 1.15rem 1rem;
}

#faq.faq-maquette .faq-item-map {
    margin: -0.4rem 0 1.15rem;
    padding: 0 3rem 0 1rem;
}

#faq.faq-maquette .faq-item-map iframe {
    display: block;
    width: 100%;
    border-radius: var(--wedding-radius);
}

#faq.faq-maquette .faq-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.1rem 3rem 1.15rem 1rem;
    padding: 0.9rem;
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    background: var(--wedding-surface-strong);
    box-shadow: var(--wedding-shadow-soft);
}

#faq.faq-maquette .faq-contact-card-photo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 2px solid var(--wedding-orange);
    border-radius: 50%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#faq.faq-maquette .faq-contact-card-photo:hover,
#faq.faq-maquette .faq-contact-card-photo:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(134, 16, 14, 0.25);
}

#faq.faq-maquette .faq-contact-card-body {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

#faq.faq-maquette .faq-item .faq-contact-card p.faq-contact-card-name {
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

#faq.faq-maquette .faq-item .faq-contact-card p.faq-contact-card-role {
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--wedding-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#faq.faq-maquette .faq-contact-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.9rem;
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
}

#faq.faq-maquette .faq-contact-card-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--wedding-red);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

#faq.faq-maquette .faq-contact-card-links a:hover,
#faq.faq-maquette .faq-contact-card-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 480px) {
    #faq.faq-maquette .faq-contact-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

#faq.faq-maquette .faq-item-note {
    color: var(--wedding-muted);
    font-style: italic;
}

#faq.faq-maquette .faq-outfit-sections {
    display: grid;
    gap: 1rem;
    margin: -0.2rem 3rem 1.15rem 1rem;
}

#faq.faq-maquette .faq-outfit-section-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 0.5rem;
    max-width: none;
    margin: 0 0 0.5rem;
    padding: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 1rem;
    font-weight: 800;
}

#faq.faq-maquette .faq-outfit-section-colors {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--wedding-muted);
    font-family: var(--wedding-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: none;
}

#faq.faq-maquette .faq-outfit-color-dot {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    border: 2px solid var(--wedding-surface-strong);
    box-shadow: 0 0 0 1px rgba(36, 26, 25, 0.22), 0 2px 4px rgba(36, 26, 25, 0.16);
}

#faq.faq-maquette .faq-outfit-tier {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-top: 1px dashed var(--wedding-line);
}

#faq.faq-maquette .faq-outfit-tier:first-of-type {
    border-top: none;
    padding-top: 0;
}

#faq.faq-maquette .faq-outfit-tier-label {
    flex-shrink: 0;
    min-width: 2.2rem;
    color: var(--wedding-orange);
    font-weight: 800;
    letter-spacing: 0.02em;
}

#faq.faq-maquette .faq-outfit-brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#faq.faq-maquette .faq-outfit-brand-list a {
    color: var(--wedding-red);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

#faq.faq-maquette .faq-outfit-brand-list a:hover,
#faq.faq-maquette .faq-outfit-brand-list a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#faq.faq-maquette .faq-outfit-brand-note {
    color: var(--wedding-muted);
    font-size: 0.76rem;
    font-style: italic;
}

@media (max-width: 480px) {
    #faq.faq-maquette .faq-outfit-sections {
        margin: -0.2rem 1.5rem 1rem 1rem;
    }

    #faq.faq-maquette .faq-outfit-tier {
        flex-direction: column;
        gap: 0.25rem;
    }
}

#faq.faq-maquette .faq-item summary::after {
    border-radius: 50%;
    background: rgba(255, 247, 243, 0.64);
}

#galerie.gallery-maquette {
    background:
        linear-gradient(180deg, #f4eeee 0%, rgba(244, 185, 185, 0.62) 100%);
}

#galerie.gallery-maquette .editorial-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(134, 16, 14, 0.14);
    border-radius: var(--wedding-radius);
    background: rgba(255, 252, 249, 0.42);
    box-shadow: var(--wedding-shadow-soft);
}

#galerie.gallery-maquette .editorial-card {
    transition: background 0.22s ease, transform 0.22s ease;
}

#galerie.gallery-maquette .editorial-card:hover {
    background: rgba(255, 248, 245, 0.42);
    transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

@media (max-width: 921px) {
    .hero-card {
        gap: 1.8rem;
    }

    .hero-photo-block {
        padding-bottom: 8.55rem;
    }

    .hero-panel {
        bottom: -0.15rem;
    }

    .navigation-programme-media img {
        box-shadow: 0 16px 34px rgba(70, 33, 29, 0.12);
    }

    #rsvp.rsvp-maquette .rsvp-panel {
        padding: 1.35rem;
    }
}

@media (max-width: 544px) {
    .wedding-site-header::after {
        inset-inline: 1rem;
    }

    .hero-photo-block {
        padding-bottom: 9rem;
    }

    .hero-panel {
        bottom: 0.15rem;
        width: min(19.5rem, calc(100vw - 2rem));
    }

    .maquette-countdown {
        width: 100%;
        flex-wrap: wrap;
        row-gap: 0.45rem;
    }

    .maquette-countdown .countdown-grid {
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .maquette-countdown .countdown-card:not(:last-child)::after {
        display: none;
    }

    .dresscode-maquette-intro {
        padding-inline: 0.85rem;
    }

    .dresscode-maquette-reserved-photo:hover {
        transform: none;
    }

    #rsvp.rsvp-maquette .rsvp-panel,
    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
        padding: 1rem;
    }

    #faq.faq-maquette .faq-item summary {
        padding: 0.92rem 0.85rem;
    }

    #faq.faq-maquette .faq-item p {
        padding: 0 2.2rem 1rem 0.85rem;
    }

    #galerie.gallery-maquette .editorial-card {
        padding: 1.25rem 0.95rem;
    }
}

/* RSVP refinement: remove nested-window effect around the plugin form. */
#rsvp.rsvp-maquette .rsvp-panel {
    width: min(980px, 100%);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions {
    display: grid;
    gap: 1rem;
    width: 100%;
    text-align: left;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border: 1px solid rgba(134, 16, 14, 0.14);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 252, 249, 0.92), rgba(255, 247, 243, 0.78));
    box-shadow:
        0 22px 48px rgba(70, 33, 29, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
    padding: 0 0 1.1rem;
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.16);
    border-radius: 0;
    background: transparent;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-guest-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    gap: 1.15rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-group-fields,
#rsvp.rsvp-maquette .rsvp-actions .wpr-party-members,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panels,
#rsvp.rsvp-maquette .rsvp-actions .wpr-family-submit {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(134, 16, 14, 0.12);
}

/* Whichever section ends up first inside .wpr-party-card (room fields, the
   member list, or the panels, depending on party size) sits right below the
   h2 - its own top border would duplicate the h2's border-bottom above it. */
#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card > :first-child {
    padding-top: 0;
    border-top: 0;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    padding-top: 0.35rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="number"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    background: rgba(255, 252, 249, 0.92);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option,
#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group label {
    background: transparent;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option.is-active {
    background: rgba(255, 247, 243, 0.55);
}

#rsvp.rsvp-maquette .rsvp-note {
    margin: 0;
    opacity: 0.82;
}

@media (max-width: 544px) {
    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
        padding: 1rem;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

