/**
 * Mariage Champêtre — OurDay theme
 *
 * slug: mariage-champetre
 * Generated by tools/theme-import.php on 2026-09-23. Do not hand-edit — any
 * re-import overwrites this file. Edit dist/incoming/mariage-champetre/theme.css and re-import
 * instead; that is the source of truth once the design has been deleted from
 * Claude Design, which is the normal end of a theme's life there.
 *
 * Loads after assets/css/wedding.css. Override the --od-* tokens, then style the
 * .od-* classes freely.
 */

/**
 * Mariage Champêtre — OurDay theme
 *
 * A French countryside wedding theme: warm cream paper, sage green, terracotta
 * and wheat, set in Cormorant Garamond, EB Garamond and the Parisienne script.
 * The look is carried by photography (hero + gate + venue), a leaf-and-line
 * ornament, and a dashed-rule timeline.
 *
 * Loads AFTER wedding.css. Only the theme layer is touched here.
 */

/* ── Tokens ──────────────────────────────────────────────────────────────── */

:root {
    --od-bg: #F5EFE3;
    --od-surface: #FBF7EE;
    --od-ink: #3B342A;
    --od-ink-muted: #6E6455;
    --od-accent: #B26B43;
    --od-accent-ink: #FBF7EE;
    --od-rule: rgba(124, 138, 110, 0.32);

    --od-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --od-font-body: 'EB Garamond', Georgia, serif;

    /* Theme-local palette */
    --mc-sage: #7C8A6E;
    --mc-sage-deep: #566246;
    --mc-terracotta-deep: #8F5230;
    --mc-wheat: #C79A5B;
    --mc-linen: #EDE3CF;
    --mc-ink-soft: #4A4438;
    --mc-ink-faint: #8A8175;
    --mc-dark: #2F352A;
    --mc-script: 'Parisienne', cursive;

    --mc-overlay: linear-gradient(rgba(43, 38, 30, 0.34), rgba(43, 38, 30, 0.5));

    /* Leaf-and-line ornament, reused across the theme */
    --mc-leaf-light: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='18'%20viewBox='0%200%20120%2018'%20fill='none'%3E%3Cpath%20d='M2%209%20H46%20M74%209%20H118'%20stroke='%23EDE3CF'%20stroke-width='1'/%3E%3Cpath%20d='M60%202%20C55%205.5%2055%2012.5%2060%2016%20C65%2012.5%2065%205.5%2060%202%20Z'%20stroke='%23EDE3CF'%20stroke-width='1'%20fill='none'/%3E%3Ccircle%20cx='50'%20cy='9'%20r='1.6'%20fill='%23DBB98C'/%3E%3Ccircle%20cx='70'%20cy='9'%20r='1.6'%20fill='%23DBB98C'/%3E%3C/svg%3E");
    --mc-leaf-sage: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='18'%20viewBox='0%200%20120%2018'%20fill='none'%3E%3Cpath%20d='M2%209%20H46%20M74%209%20H118'%20stroke='%237C8A6E'%20stroke-width='1'/%3E%3Cpath%20d='M60%202%20C55%205.5%2055%2012.5%2060%2016%20C65%2012.5%2065%205.5%2060%202%20Z'%20stroke='%237C8A6E'%20stroke-width='1'%20fill='none'/%3E%3Ccircle%20cx='50'%20cy='9'%20r='1.6'%20fill='%23B26B43'/%3E%3Ccircle%20cx='70'%20cy='9'%20r='1.6'%20fill='%23B26B43'/%3E%3C/svg%3E");
    --mc-leaf-wheat: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='18'%20viewBox='0%200%20120%2018'%20fill='none'%3E%3Cpath%20d='M2%209%20H46%20M74%209%20H118'%20stroke='%237C8A6E'%20stroke-width='1'/%3E%3Cpath%20d='M60%202%20C55%205.5%2055%2012.5%2060%2016%20C65%2012.5%2065%205.5%2060%202%20Z'%20stroke='%237C8A6E'%20stroke-width='1'%20fill='none'/%3E%3Ccircle%20cx='50'%20cy='9'%20r='1.6'%20fill='%23C79A5B'/%3E%3Ccircle%20cx='70'%20cy='9'%20r='1.6'%20fill='%23C79A5B'/%3E%3C/svg%3E");
}

body.od {
    font-family: var(--od-font-body);
    color: var(--od-ink);
    background: var(--od-bg);
    font-size: 1.06rem;
}

h1, h2, h3 { font-weight: 500; }

a { color: var(--od-accent); }
a:hover { color: var(--mc-terracotta-deep); }

/* A leaf ornament placed centred beneath a heading. */
.mc-leaf-after::after {
    content: "";
    display: block;
    width: 120px;
    height: 18px;
    margin: 1.1rem auto 0;
    background: var(--mc-leaf-sage) center / contain no-repeat;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */

.od-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.8rem var(--od-gutter);
    background: rgba(245, 239, 227, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(124, 138, 110, 0.28);
}

.od-nav__brand {
    font-family: var(--mc-script);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--mc-sage);
}

.od-nav__links { gap: 0.75rem 1.7rem; align-items: center; }

.od-nav__link {
    font-family: var(--od-font-body);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--od-ink);
    padding: 0.25rem 0;
    transition: color .18s ease;
}

.od-nav__link:hover { color: var(--od-accent); }

.od-nav__link[aria-current="page"] {
    color: var(--od-accent);
    box-shadow: inset 0 -2px 0 var(--od-accent);
}

.od-nav__toggle-bar { background: var(--mc-sage); }

.od-nav--collapsible.od-nav--open .od-nav__links { border-top-color: var(--od-rule); }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.od-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88vh;
    padding: 6rem var(--od-gutter);
    color: #FBF7EE;
    text-align: center;
    /* WANTED: a sunlit wildflower meadow in warm afternoon light, rustic and
       open — the countryside a champêtre wedding is set in. */
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    background-color: var(--mc-sage);
}

.od-hero__names {
    order: 1;
    margin: 0;
    color: #FBF7EE;
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: clamp(3.4rem, 9vw, 7.3rem);
    line-height: 1.03;
    letter-spacing: 0.01em;
}

.od-hero__names::after {
    content: "";
    display: block;
    width: 120px;
    height: 18px;
    margin: 1rem auto 0.3rem;
    background: var(--mc-leaf-light) center / contain no-repeat;
}

/* The box the names are measured against, and it must be the one that actually
   constrains them. That is not .od-hero — the hero is 1376px wide at 1440px,
   while wedding.css caps every section child at --od-measure, so the real room is
   about 504px. Querying the hero made the calculation below never bind.

   width: 100% is load-bearing. This is a centred flex item, so it is otherwise
   shrink-to-fit: its width would come from the text, and asking it how wide the
   text may be would be circular. Filling to the cap gives the query a definite
   answer. */
.od-hero__body {
    container-type: inline-size;
    width: 100%;
}

/* Never wider than the hero allows. A cap, not a replacement: the size above
   still decides, and this only pulls a name down when it would not otherwise
   fit. Short names are therefore unchanged.

   1em is the size inherited from .od-hero__names, which is left alone on
   purpose — .od-hero__amp is 0.5em of it, so rewriting that rule would resize
   the ampersand too.

   0.62 is the advance per character for Cormorant Garamond 500 in mixed case.
   Measured here: Wim 0.650, Emma 0.630, Bastien 0.416, Jean-Baptiste 0.404.

   Calibrated on LONG names, not the widest one, because this only ever binds
   for long names — a short name is nowhere near the cap whatever its letters.
   In this face the two run opposite ways: the widest per-character values
   belong to short names, which have room to spare, while the long names that
   actually need capping are the narrowest. Taking the widest (0.65) shrank
   Bastien from 117px to 106px for no reason. 0.62 leaves it alone and still
   clears thirteen characters with room.

   Far narrower than Archivo 900 uppercase at 0.84 — the ratio describes a
   typeface, so it cannot be copied between themes.

   Without this, Jean-Baptiste split across two lines at 1440px. */
.od-hero__name {
    font-size: min(1em, calc(100cqi / (var(--od-name-len, 8) * 0.62)));
}

.od-hero__amp {
    display: block;
    font-family: var(--mc-script);
    font-weight: 400;
    font-size: 0.5em;
    color: var(--mc-wheat);
    margin: 0.05em 0;
}

.od-hero__date {
    order: 2;
    margin: 0.4rem 0 0.5rem;
    color: #FBF7EE;
    font-family: var(--od-font-display);
    font-size: clamp(1.2rem, 2.6vw, 1.85rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.od-hero__venue {
    order: 3;
    margin: 0;
    color: rgba(251, 247, 238, 0.92);
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.od-hero__photos { order: 4; margin-top: 2.4rem; gap: 1.2rem; }

.od-hero__photo {
    width: min(12rem, 40vw);
    border: 6px solid #FBF7EE;
    border-radius: 2px;
    box-shadow: 0 8px 28px rgba(43, 38, 30, 0.4);
}

/* ── Welcome ─────────────────────────────────────────────────────────────── */

.od-welcome {
    background: var(--od-surface);
    text-align: center;
}

.od-welcome__body {
    max-width: 44ch;
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 1.95rem);
    line-height: 1.55;
    text-wrap: pretty;
}

.od-welcome__body::before {
    content: "";
    display: block;
    width: 120px;
    height: 18px;
    margin: 0 auto 1.6rem;
    background: var(--mc-leaf-sage) center / contain no-repeat;
}

/* ── Section headings (day / stay / details / contact / rsvp) ────────────── */

.od-day__title,
.od-stay__title,
.od-details__title,
.od-contact__title,
.od-rsvp__title {
    position: relative;
    margin-bottom: 2.6rem;
    padding-bottom: 1.5rem;
    color: var(--od-ink);
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: clamp(2.1rem, 5.5vw, 3.2rem);
    text-align: center;
}

.od-day__title::after,
.od-stay__title::after,
.od-details__title::after,
.od-contact__title::after,
.od-rsvp__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120px;
    height: 18px;
    background: var(--mc-leaf-sage) center / contain no-repeat;
}

/* ── The day (timeline) ──────────────────────────────────────────────────── */

.od-day__list { max-width: 44rem; gap: 0; }

.od-day__item {
    display: grid;
    grid-template-columns: minmax(5rem, 7.5rem) 1fr;
    column-gap: 1.4rem;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px dashed rgba(124, 138, 110, 0.45);
}

.od-day__time {
    margin: 0;
    color: var(--od-accent);
    font-family: var(--od-font-display);
    font-size: clamp(1.35rem, 3.6vw, 1.85rem);
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.od-day__time-sep { padding: 0 0.15em; }

.od-day__name {
    margin: 0 0 0.35rem;
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: 1.5rem;
}

.od-day__desc {
    color: var(--od-ink-muted);
    font-style: italic;
    font-size: 1.08rem;
}

/* ── Venue ───────────────────────────────────────────────────────────────── */

.od-venue--has-photo { column-gap: clamp(2rem, 5vw, 3.5rem); }

.od-venue__figure { padding: 0; border: 0; }

.od-venue__photo {
    border-radius: 2px;
    box-shadow: 0 10px 34px rgba(43, 38, 30, 0.18);
}

.od-venue__title {
    color: var(--od-ink);
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: clamp(2.1rem, 5vw, 3rem);
}

.od-venue__name {
    color: var(--od-ink);
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: clamp(1.7rem, 4vw, 2.15rem);
    margin-bottom: 0.4rem;
}

.od-venue__address {
    margin-bottom: 1.3rem;
    color: var(--mc-ink-faint);
    letter-spacing: 0.05em;
    font-size: 0.98rem;
}

.od-venue__notes {
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
}

.od-venue__links { gap: 1.4rem; align-items: center; }

.od-venue__link {
    color: var(--od-accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    text-decoration: none;
}

.od-venue__link:hover { color: var(--mc-terracotta-deep); }

.od-venue__link--map {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.7rem;
    background: var(--od-accent);
    color: #FBF7EE;
    border-radius: 2px;
    transition: background .18s ease;
}

.od-venue__link--map:hover { background: var(--mc-terracotta-deep); color: #FBF7EE; }

/* ── Stay (accommodation) ────────────────────────────────────────────────── */

.od-stay__intro {
    max-width: 46ch;
    margin-inline: auto;
    text-align: center;
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.3rem;
}

.od-stay__list { margin-top: 2.4rem; }

.od-stay__item {
    background: var(--od-surface);
    border: 1px solid var(--od-rule);
    border-radius: 2px;
    padding: 1.6rem 1.7rem;
}

.od-stay__name {
    margin-bottom: 0.5rem;
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: 1.55rem;
}

.od-stay__type {
    color: var(--mc-sage);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.od-stay__desc { color: var(--od-ink-muted); font-style: italic; }

.od-stay__link { color: var(--od-accent); }
.od-stay__link:hover { color: var(--mc-terracotta-deep); }

/* ── Details (dress code / gifts) ────────────────────────────────────────── */

.od-details__block {
    max-width: 46rem;
    margin-inline: auto;
    margin-bottom: 1.8rem;
    padding: 2.2rem 2rem;
    background: var(--od-surface);
    border: 1px solid var(--od-rule);
    border-radius: 2px;
    text-align: center;
}

.od-details__heading {
    margin-bottom: 1rem;
    color: var(--od-ink);
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: 1.8rem;
}

.od-details__heading::after {
    content: "";
    display: block;
    width: 96px;
    height: 16px;
    margin: 0.9rem auto 0;
    background: var(--mc-leaf-sage) center / contain no-repeat;
}

.od-details__body {
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.5;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */

.od-contact__intro {
    max-width: 46ch;
    margin-inline: auto;
    text-align: center;
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.25rem;
}

.od-contact__list {
    justify-items: center;
    margin-top: 1.6rem;
    gap: 0.75rem;
}

.od-contact__item { justify-content: center; }

.od-contact__label {
    color: var(--mc-ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.od-contact__link { color: var(--od-accent); }
.od-contact__link:hover { color: var(--mc-terracotta-deep); }

/* ── RSVP ────────────────────────────────────────────────────────────────── */

.od-rsvp__intro {
    max-width: 46ch;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.3rem;
}

.od-rsvp__loading {
    color: var(--mc-ink-faint);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.2rem;
}

.od-rsvp__form {
    max-width: 40rem;
    margin-inline: auto;
    padding: clamp(1.6rem, 4vw, 2.8rem);
    background: var(--od-surface);
    border: 1px solid var(--od-rule);
    border-radius: 2px;
}

.od-rsvp__legend {
    color: var(--od-ink);
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: 1.4rem;
}

.od-rsvp__guest {
    background: var(--od-bg);
    border: 1px solid var(--od-rule);
    border-radius: 2px;
}

.od-rsvp__label {
    color: var(--mc-sage);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.od-rsvp__input,
textarea.od-rsvp__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(124, 138, 110, 0.5);
    border-radius: 0;
    padding: 0.5rem 0.1rem;
    font-family: var(--od-font-body);
    font-size: 1.05rem;
    color: var(--od-ink);
}

.od-rsvp__input:focus,
textarea.od-rsvp__input:focus {
    outline: none;
    border-bottom-color: var(--od-accent);
}

.od-rsvp__choice input { accent-color: var(--mc-sage); }

.od-rsvp__submit {
    padding: 0.95rem 1.5rem;
    background: var(--od-accent);
    color: #FBF7EE;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    transition: background .18s ease;
}

.od-rsvp__submit:hover { background: var(--mc-terracotta-deep); }

.od-rsvp__done,
.od-rsvp__closed {
    max-width: 40rem;
    margin-inline: auto;
    background: var(--od-surface);
    border: 1px solid var(--od-rule);
    color: var(--mc-ink-soft);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.35rem;
}

.od-rsvp__deadline {
    color: var(--mc-ink-faint);
    font-style: italic;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.od-footer {
    padding: 4.5rem var(--od-gutter) 3.6rem;
    background: var(--mc-dark);
    border-top: 0;
    color: var(--mc-linen);
}

.od-footer__names {
    color: #F1E7D2;
    font-family: var(--mc-script);
    font-weight: 400;
    font-size: 2.7rem;
    line-height: 1.1;
}

.od-footer__names::after {
    content: "";
    display: block;
    width: 120px;
    height: 18px;
    margin: 0.7rem auto 0;
    background: var(--mc-leaf-wheat) center / contain no-repeat;
}

.od-footer__meta {
    margin-top: 1.4rem;
    color: #B9B29E;
    font-family: var(--od-font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.od-footer__legal { margin-top: 1.6rem; }
.od-footer__legal a { color: #8E9A7E; }
.od-footer__legal a:hover { color: var(--mc-linen); }

/* ── Gate ────────────────────────────────────────────────────────────────── */

.od-gate {
    color: #FBF7EE;
    /* WANTED: the same sunlit wildflower meadow as the hero — the invitation
       cover. No /uploads/ image loads on the gate, so this is a theme photo. */
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    background-color: var(--mc-sage);
}

.od-gate__date {
    color: rgba(251, 247, 238, 0.9);
    letter-spacing: 0.2em;
}

.od-gate__names {
    color: #FBF7EE;
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 9vw, 4.2rem);
}

.od-gate__amp {
    display: block;
    font-family: var(--mc-script);
    font-weight: 400;
    font-size: 0.5em;
    color: var(--mc-wheat);
    margin: 0.05em 0;
}

.od-gate__welcome {
    color: rgba(251, 247, 238, 0.94);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 1.25rem;
}

.od-gate__welcome::after {
    content: "";
    display: block;
    width: 120px;
    height: 18px;
    margin: 1.2rem auto 0;
    background: var(--mc-leaf-light) center / contain no-repeat;
}

.od-gate__form {
    padding: 1.7rem;
    background: rgba(245, 239, 227, 0.95);
    border-radius: 2px;
    box-shadow: 0 16px 44px rgba(43, 38, 30, 0.35);
}

.od-gate__label {
    color: var(--mc-sage);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    text-align: center;
}

.od-gate__input {
    background: #FBF7EE;
    border: 1px solid var(--od-rule);
    color: var(--od-ink);
    text-align: center;
    letter-spacing: 0.18em;
}

.od-gate__input:focus { outline: none; border-color: var(--od-accent); }

.od-gate__submit {
    background: var(--od-accent);
    color: #FBF7EE;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    transition: background .18s ease;
}

.od-gate__submit:hover { background: var(--mc-terracotta-deep); }

.od-gate__note {
    color: rgba(251, 247, 238, 0.85);
    font-style: italic;
}

/* ── Variant: boxed ──────────────────────────────────────────────────────── */
/* The site sits as a paper card on a deeper-cream ground, like an invitation
   laid on linen. Below the breakpoint it stays the full-width layout (rule 2). */

.od-nav__link--current { color: var(--od-accent); box-shadow: inset 0 -2px 0 var(--od-accent); }

@media (min-width: 66rem) {
    .od-variant--boxed {
        padding: 2.75rem 2.75rem 3.25rem;
        background-color: #E7DFCD;
    }

    .od-variant--boxed .od-nav,
    .od-variant--boxed .od-main,
    .od-variant--boxed .od-footer {
        max-width: 62rem;
        margin-inline: auto;
    }

    .od-variant--boxed .od-nav {
        position: static;
        border: 1px solid var(--od-rule);
        border-bottom: 0;
        border-radius: 3px 3px 0 0;
    }

    .od-variant--boxed .od-main {
        border-inline: 1px solid var(--od-rule);
        box-shadow: 0 32px 70px -46px rgba(43, 38, 30, 0.55);
    }

    .od-variant--boxed .od-footer {
        border: 1px solid var(--od-rule);
        border-top: 0;
        border-radius: 0 0 3px 3px;
    }

    .od-variant--boxed .od-hero { min-height: 74vh; }
}

/* ── Page model: paged (routed pages) ────────────────────────────────────── */
/* On a section's own page the lone section opens with a photographic band and
   the titled content sits on cream below it — echoing the original's per-page
   banners. Scoped to routed pages only, so the scrolling home is untouched. */

.od--day .od-main > .od-section,
.od--venue .od-main > .od-section,
.od--stay .od-main > .od-section,
.od--details .od-main > .od-section,
.od--contact .od-main > .od-section,
.od--rsvp .od-main > .od-section {
    position: relative;
    padding-top: clamp(15.5rem, 36vh, 21.5rem);
}

.od--day .od-main > .od-section::before,
.od--venue .od-main > .od-section::before,
.od--stay .od-main > .od-section::before,
.od--details .od-main > .od-section::before,
.od--contact .od-main > .od-section::before,
.od--rsvp .od-main > .od-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(13rem, 31vh, 19rem);
    background-position: center;
    background-size: cover;
    background-color: var(--mc-sage);
}

/* WANTED: an outdoor country wedding table under festoon lights — the day. */
.od--day .od-main > .od-section::before {
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/federico-respini-sYffw0LNr7s-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/federico-respini-sYffw0LNr7s-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/federico-respini-sYffw0LNr7s-unsplash.jpg") type("image/jpeg"));
}
/* WANTED: a sunlit country lane through trees — arriving at the venue. */
.od--venue .od-main > .od-section::before {
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/lukasz-szmigiel-jFCViYFYcus-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/lukasz-szmigiel-jFCViYFYcus-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/lukasz-szmigiel-jFCViYFYcus-unsplash.jpg") type("image/jpeg"));
}
/* WANTED: a warm wildflower meadow — where to stay nearby. */
.od--stay .od-main > .od-section::before {
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg") type("image/jpeg"));
}
/* WANTED: soft garden flowers — dress code and gifts. */
.od--details .od-main > .od-section::before {
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/sergey-shmidt-koy6FlCCy5s-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/sergey-shmidt-koy6FlCCy5s-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/sergey-shmidt-koy6FlCCy5s-unsplash.jpg") type("image/jpeg"));
}
/* WANTED: a warm wildflower meadow — questions and contact. */
.od--contact .od-main > .od-section::before {
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/enrico-bet-IicyiaPYGGI-unsplash.jpg") type("image/jpeg"));
}
/* WANTED: soft garden flowers — the reply. */
.od--rsvp .od-main > .od-section::before {
    background-image: var(--mc-overlay),
        url("/assets/img/backgrounds/sergey-shmidt-koy6FlCCy5s-unsplash.jpg");
    background-image: var(--mc-overlay),
        image-set(url("/assets/img/backgrounds/sergey-shmidt-koy6FlCCy5s-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/sergey-shmidt-koy6FlCCy5s-unsplash.jpg") type("image/jpeg"));
}

/* The venue body is nested; keep the band clear of the two-box grid. */
.od--venue .od-main > .od-venue--has-photo { padding-top: clamp(15.5rem, 36vh, 21.5rem); }
