/**
 * Arabian Nights — OurDay theme
 *
 * slug: arabian-nights
 * Generated by tools/theme-import.php on 2026-09-23. Do not hand-edit — any
 * re-import overwrites this file. Edit dist/incoming/arabian-nights/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.
 */

/**
 * Arabian Nights — a thousand-and-one-nights wedding, by midnight.
 *
 * A recreation of the dark "Arabian Nights Wedding" design in OurDay's theme
 * layer: every inline style rebuilt as a class rule over the fixed skeleton.
 *
 * The look: a rich but lighter warm navy night (#141726 — deeper and bluer
 * than flat charcoal, without the original's dark purple cast), warm cream ink (#f4ecdc), a
 * saffron-gold accent (#e6b64a) with copper (#c07a45). Cormorant Garamond
 * carries the names and titles; Cinzel sets the small-caps eyebrows, times and
 * nav; Karla carries the reading; Amiri sets the italic ampersand. The whole
 * site is one long desert night — dark bands, zellige tiling, Moorish keyhole
 * arches and a saffron shimmer on the reply.
 *
 * TWINKLE — the source's two animated star fields, rebuilt in pure CSS: two
 * layered radial-gradient scatters on the hero and gate, animated on offset
 * keyframes (odTwinkle / odTwinkle2) so the sky shimmers unevenly. No script.
 *
 * IMAGERY — the hero carries a linked Marrakech night photograph and the
 * details band a linked lantern texture, both under a navy wash (WANTED-marked).
 * Everything else — zellige, palette swatches, moon, skyline, arches — is CSS.
 *
 * --od-accent is the couple-overridable saffron and drives links, times,
 * eyebrows and the reply button.
 */

:root {
    /* Colour — a lighter, warmer navy: rich blue-black, not flat grey */
    --od-bg: #141726;
    --od-surface: #171b2c;             /* zellige band */
    --od-ink: #f4ecdc;                 /* warm cream body */
    --od-ink-muted: #c9b9a8;
    --od-accent: #e6b64a;              /* saffron — text-safe on dark, overridable */
    --od-accent-ink: #141726;
    --od-rule: rgba(230, 182, 74, .28);

    /* Fixed secondary palette — never load-bearing */
    --od-head: #f6efe0;                /* cream headings */
    --od-copper: #c07a45;
    --od-amber: #e6b64a;
    --od-card: #191d2e;                /* card base */
    --od-card-hi: #1e2336;             /* card gradient top */
    --od-glow: #242a44;                /* radial band lift */

    /* Type */
    --od-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --od-font-body: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --od-font-label: 'Cinzel', Georgia, serif;
    --od-font-arabic: 'Amiri', Georgia, serif;

    /* Rhythm */
    --od-measure: 72rem;
    --od-gutter: clamp(20px, 5vw, 64px);
    --od-section-y: clamp(72px, 10vw, 130px);

    /* Scenic photographs, linked directly. */
    /* WANTED: a Marrakech medina or riad at night, warm lanterns against a dark sky. */
    --od-hero-scenic: url("/assets/img/backgrounds/chirayu-sharma-_Ct3Zs37XSY-unsplash.jpg");
    /* WANTED: glowing Moroccan lanterns at night, warm gold on dark — used faint. */
    --od-attire-scenic: url("/assets/img/backgrounds/anthony-delanoix-aDxmYZtYj7g-unsplash.jpg");

    /* Faint zellige tiling for the dark bands. */
    --od-zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23e6b64a' stroke-width='1' stroke-opacity='0.10'%3E%3Crect x='12' y='12' width='40' height='40'/%3E%3Cpath d='M32,4L60,32L32,60L4,32Z'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3C/g%3E%3C/svg%3E");

    /* Two star fields: the small dense scatter, and a sparser set of brighter
       stars. Layered and animated on offset keyframes for an uneven twinkle. */
    --od-stars:
        radial-gradient(1.8px 1.8px at 12% 18%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 28% 42%, #fff, transparent),
        radial-gradient(2px 2px at 44% 12%, #fff, transparent),
        radial-gradient(1.4px 1.4px at 62% 30%, #fbeecb, transparent),
        radial-gradient(1.8px 1.8px at 78% 16%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 88% 44%, #fff, transparent),
        radial-gradient(1.7px 1.7px at 8% 60%, #fff, transparent),
        radial-gradient(1.4px 1.4px at 52% 62%, #fbeecb, transparent),
        radial-gradient(1.9px 1.9px at 70% 70%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 34% 78%, #fff, transparent),
        radial-gradient(1.6px 1.6px at 18% 33%, #fff, transparent),
        radial-gradient(1.4px 1.4px at 38% 24%, #fff, transparent),
        radial-gradient(1.7px 1.7px at 56% 48%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 66% 14%, #fbeecb, transparent),
        radial-gradient(1.6px 1.6px at 82% 62%, #fff, transparent),
        radial-gradient(1.4px 1.4px at 94% 28%, #fff, transparent),
        radial-gradient(1.7px 1.7px at 24% 68%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 46% 82%, #fff, transparent);
    --od-stars2:
        radial-gradient(2.2px 2.2px at 20% 26%, #fff, transparent),
        radial-gradient(2.4px 2.4px at 50% 20%, #fbeecb, transparent),
        radial-gradient(2px 2px at 74% 36%, #fff, transparent),
        radial-gradient(2.3px 2.3px at 32% 54%, #fff, transparent),
        radial-gradient(2.1px 2.1px at 60% 72%, #fbeecb, transparent),
        radial-gradient(2.4px 2.4px at 86% 22%, #fff, transparent),
        radial-gradient(2px 2px at 14% 46%, #fff, transparent),
        radial-gradient(2.2px 2.2px at 42% 38%, #fff, transparent),
        radial-gradient(2.3px 2.3px at 90% 54%, #fbeecb, transparent),
        radial-gradient(2px 2px at 6% 74%, #fff, transparent);

    /* The five attire swatches (midnight-first), light-edged for the dark. */
    --od-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 72'%3E%3Cg stroke='%23f4ecdc' stroke-opacity='0.28' stroke-width='2'%3E%3Ccircle cx='36' cy='36' r='30' fill='%230d1836'/%3E%3Ccircle cx='152' cy='36' r='30' fill='%23e6b64a'/%3E%3Ccircle cx='268' cy='36' r='30' fill='%23c07a45'/%3E%3Ccircle cx='384' cy='36' r='30' fill='%23d98a76'/%3E%3Ccircle cx='464' cy='36' r='30' fill='%232f6b58'/%3E%3C/g%3E%3C/svg%3E");

    /* A Moorish rule: two hairlines meeting a small saffron star. */
    --od-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='188' height='24' viewBox='0 0 188 24' fill='none' stroke='%23e6b64a' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M8 12h60M180 12h-60'/%3E%3Cpath d='M94 2l3.4 7.2 7.6 3.8-7.6 3.8-3.4 7.2-3.4-7.2-7.6-3.8 7.6-3.8z' fill='%23e6b64a' stroke='none'/%3E%3Ccircle cx='70' cy='12' r='1.5' fill='%23c07a45' stroke='none'/%3E%3Ccircle cx='118' cy='12' r='1.5' fill='%23c07a45' stroke='none'/%3E%3C/svg%3E");

    /* Warm lantern-glow pooling at opposite corners, layered onto dark bands
       for depth. Kept faint so it never lifts the text off the page. */
    --od-pool:
        radial-gradient(72% 44% at 0% 100%, rgba(230, 182, 74, .07), transparent 62%),
        radial-gradient(62% 42% at 100% 0%, rgba(192, 122, 69, .06), transparent 60%);

    /* An ogee (onion) arch that fills with translucent night and is edged in
       gold — more ornate than the plain keyhole; stretched to the names box. */
    --od-arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400' preserveAspectRatio='none'%3E%3Cpath d='M20 396 L20 172 C20 96 96 96 132 58 C148 38 150 30 150 16 C150 30 152 38 168 58 C204 96 280 96 280 172 L280 396 Z' fill='%23171b2a' fill-opacity='0.42' stroke='%23e6b64a' stroke-opacity='0.55' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

/* ── Page ────────────────────────────────────────────────────────────────── */

body.od {
    background: var(--od-bg);
    color: var(--od-ink);
    font-family: var(--od-font-body);
    overflow-x: hidden;
}

a { color: var(--od-accent); text-decoration: none; }
a:hover { color: #f0cf86; }
::selection { background: var(--od-copper); color: var(--od-bg); }

h1, h2, h3 { font-family: var(--od-font-display); font-weight: 500; color: var(--od-head); }

@keyframes odTwinkle  { 0%, 100% { opacity: .12; } 50% { opacity: 1; } }
@keyframes odTwinkle2 { 0%, 100% { opacity: 1; }  45% { opacity: .18; } }
@keyframes odShimmer  { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes odEmberRise {
    0%   { transform: translateY(0) translateX(0);      opacity: 0; }
    12%  { opacity: .85; }
    85%  { opacity: .55; }
    100% { transform: translateY(-114vh) translateX(2vw); opacity: 0; }
}

/* Rising gold embers — a few slow sparks drifting up the whole page, painted on
   stable elements' pseudo-elements (the hero/gate pseudos are the star fields). */
.od--home::before, .od--home::after,
.od-main::before, .od-main::after,
.od-footer::after {
    content: "";
    position: fixed;
    bottom: -12px;
    z-index: 39;
    border-radius: 50%;
    background: radial-gradient(circle, #ffe4ad 0%, rgba(230, 182, 74, .5) 45%, transparent 72%);
    pointer-events: none;
    will-change: transform;
    animation: odEmberRise linear infinite;
}
.od--home::before { left: 14%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 0s; }
.od--home::after  { left: 33%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: -7s; opacity: .7; }
.od-main::before  { left: 57%; width: 6px; height: 6px; animation-duration: 17s; animation-delay: -3s; }
.od-main::after   { left: 76%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: -12s; }
.od-footer::after { left: 89%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: -9s; }

@media (prefers-reduced-motion: reduce) {
    .od-hero::before, .od-hero::after,
    .od-gate::before, .od-gate::after { animation: none; opacity: .6; }
    .od--home::before, .od--home::after,
    .od-main::before, .od-main::after,
    .od-footer::after { display: none; }
    .od-rsvp__submit, .od-gate__submit { animation: none; }
}

/* ── Section rhythm ──────────────────────────────────────────────────────── */

.od-section { padding: var(--od-section-y) var(--od-gutter); position: relative; z-index: 1; }
.od-section > * { max-width: var(--od-measure); }

/* Display + eyebrow title systems */
.od-day__title, .od-stay__title, .od-contact__title, .od-rsvp__title {
    font-family: var(--od-font-display);
    font-weight: 500;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    color: var(--od-head);
    text-align: center;
    margin: 0 auto clamp(36px, 5vw, 56px);
}
.od-day__title::before, .od-stay__title::before, .od-contact__title::before, .od-rsvp__title::before {
    content: "";
    display: block;
    width: 188px;
    max-width: 62%;
    height: 24px;
    margin: 0 auto 18px;
    background: var(--od-divider) no-repeat center / contain;
}
.od-venue__title, .od-details__title {
    font-family: var(--od-font-label);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--od-accent);
    margin: 0 0 8px;
}
.od-venue__title::before, .od-details__title::before { content: "\2726"; margin-right: 12px; color: var(--od-copper); }

/* ── Nav — a fading night bar ────────────────────────────────────────────── */

.od-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(19,22,34,.94), rgba(23,27,40,.6) 70%, rgba(19,22,34,.35));
    border-bottom: 1px solid rgba(230, 182, 74, .14);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 18px var(--od-gutter);
}
.od-nav__brand {
    font-family: var(--od-font-label);
    font-size: 18px;
    letter-spacing: .28em;
    color: var(--od-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}
.od-nav__brand::before { content: "\2726"; font-size: 13px; color: var(--od-copper); }
.od-nav__link {
    font-family: var(--od-font-label);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #e4d8c6;
}
.od-nav__link:hover, .od-nav__link--current, .od-nav__link[aria-current] { color: var(--od-accent); }
.od-nav__links li:last-child .od-nav__link {
    color: var(--od-accent-ink);
    background: var(--od-accent);
    padding: 9px 20px;
    border-radius: 2px;
}
.od-nav__links li:last-child .od-nav__link:hover { background: var(--od-copper); color: var(--od-accent-ink); }
.od-nav__toggle-bar { background: var(--od-accent); }
.od-nav--collapsible.od-nav--open .od-nav__links { border-top-color: rgba(230, 182, 74, .18); }

/* ── Hero — a starlit night, two twinkle layers, keyhole arch ────────────── */

.od-hero {
    position: relative;
    min-height: 100vh;
    padding: 120px var(--od-gutter) 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--od-head);
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(23,27,40,.55) 0%, rgba(27,32,46,.4) 40%, rgba(18,21,33,.88) 100%),
        var(--od-hero-scenic);
    background-image: linear-gradient(180deg, rgba(23,27,40,.55) 0%, rgba(27,32,46,.4) 40%, rgba(18,21,33,.88) 100%),
        image-set(url("/assets/img/backgrounds/chirayu-sharma-_Ct3Zs37XSY-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/chirayu-sharma-_Ct3Zs37XSY-unsplash.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
}
.od-hero--has-bg {
    background-image:
        linear-gradient(180deg, rgba(23,27,40,.55) 0%, rgba(27,32,46,.4) 40%, rgba(18,21,33,.88) 100%),
        var(--od-hero-photo);
}
.od-hero::before, .od-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    pointer-events: none;
}
.od-hero::before { background-image: var(--od-stars);  animation: odTwinkle 2.8s ease-in-out infinite; }
.od-hero::after  { background-image: var(--od-stars2); animation: odTwinkle2 2s ease-in-out .6s infinite; }
.od-hero > * { max-width: none; position: relative; z-index: 2; }
.od-hero__body { display: flex; flex-direction: column; align-items: center; }
.od-hero__names {
    order: 1;
    position: relative;
    margin: 0;
    padding: 64px clamp(28px, 7vw, 80px) 44px;
    background: var(--od-arch) no-repeat center / 100% 100%;
    filter: drop-shadow(0 0 22px rgba(230, 182, 74, .14));
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--od-font-display);
}
.od-hero__names::before {
    content: "\2726";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--od-amber);
    font-size: 16px;
}
.od-hero__name { display: block; font-family: var(--od-font-display); font-weight: 500; font-size: clamp(52px, 11vw, 132px); line-height: .9; color: var(--od-head); }
.od-hero__amp { display: block; font-family: var(--od-font-arabic); font-style: italic; font-size: clamp(26px, 5vw, 46px); color: var(--od-amber); margin: 6px 0 2px; }
.od-hero__date { order: 2; margin: 30px 0 0; font-family: var(--od-font-label); font-size: clamp(13px, 1.6vw, 16px); letter-spacing: .34em; text-transform: uppercase; color: #f0e6d3; }
.od-hero__venue { order: 3; margin: 10px 0 0; font-family: var(--od-font-display); font-style: italic; font-size: clamp(18px, 2.4vw, 24px); color: #d9c6ab; }
/* Scenic night hero, editorial names, no portraits — matching the source. */
.od-hero__photos { display: none; }

/* ── Welcome — the poetic invitation ─────────────────────────────────────── */

.od-welcome { text-align: center; background: var(--od-pool), radial-gradient(120% 90% at 50% 0%, var(--od-glow) 0%, var(--od-bg) 70%); }
.od-welcome__body {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    padding-top: 58px;
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: clamp(24px, 4.4vw, 42px);
    line-height: 1.4;
    color: var(--od-ink);
    text-wrap: pretty;
}
.od-welcome__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 188px;
    max-width: 70%;
    height: 24px;
    background: var(--od-divider) no-repeat center / contain;
}
.od-welcome__body::after {
    content: "";
    display: block;
    width: 188px;
    max-width: 70%;
    height: 24px;
    margin: 34px auto 0;
    background: var(--od-divider) no-repeat center / contain;
    transform: rotate(180deg);
}

/* ── The day — zellige band, arch-topped cards ───────────────────────────── */

.od-day { background-color: var(--od-surface); background-image: var(--od-pool), var(--od-zellige); }
.od-day__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.od-day__item {
    position: relative;
    padding: 44px 30px 34px;
    text-align: center;
    background: linear-gradient(180deg, var(--od-card-hi), var(--od-card));
    border: 1px solid var(--od-rule);
    border-radius: 44% 44% 8px 8px / 22% 22% 8px 8px;
}
.od-day__item::before { content: "\2726"; display: block; font-size: 22px; color: var(--od-accent); margin-bottom: 14px; }
.od-day__item::after { content: ""; display: block; width: 40px; height: 1px; margin: 18px auto 0; background: var(--od-accent); opacity: .5; }
.od-day__time { margin: 0 0 6px; font-family: var(--od-font-label); font-size: 12px; letter-spacing: .18em; color: var(--od-accent); }
.od-day__time-sep { color: var(--od-copper); }
.od-day__name { margin: 0 0 6px; font-family: var(--od-font-display); font-weight: 500; font-size: 32px; color: var(--od-head); }
.od-day__desc { font-size: 15px; line-height: 1.7; color: var(--od-ink-muted); }

/* ── Venue — eyebrow + name, star-bulleted address ───────────────────────── */

.od-venue { background: var(--od-pool), var(--od-bg); }
.od-venue__name { font-family: var(--od-font-display); font-weight: 500; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: var(--od-head); margin: 0 0 18px; }
.od-venue__address { display: grid; gap: 14px; color: #e4d8c6; margin-bottom: 1.5em; }
.od-venue__address-line { position: relative; padding-left: 24px; }
.od-venue__address-line::before { content: "\2726"; position: absolute; left: 0; top: 0; color: var(--od-accent); font-size: 12px; }
.od-venue__notes { color: var(--od-ink-muted); line-height: 1.85; max-width: 460px; margin-bottom: 1.5em; }
.od-venue__links { display: flex; flex-wrap: wrap; gap: 16px; }
.od-venue__link {
    font-family: var(--od-font-label);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    border: 1px solid var(--od-accent);
    color: var(--od-accent);
    padding: 13px 26px;
    border-radius: 2px;
}
.od-venue__link:hover { background: var(--od-accent); color: var(--od-accent-ink); }

.od-venue--has-photo > .od-venue__figure { border: 0; padding: 0; }
.od-venue--has-photo .od-venue__photo { min-height: 360px; height: 100%; object-fit: cover; box-shadow: none; }

/* ── Stay — riad cards (no image field exists) ───────────────────────────── */

.od-stay { background: var(--od-pool), radial-gradient(120% 90% at 50% 100%, var(--od-glow) 0%, var(--od-bg) 70%); }
.od-stay__intro { text-align: center; max-width: 560px; margin: 0 auto clamp(40px, 5vw, 58px); color: var(--od-ink-muted); line-height: 1.8; }
.od-stay__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.od-stay__item { background: var(--od-card); border: 1px solid rgba(192, 122, 69, .3); border-radius: 6px; padding: 30px 26px; }
.od-stay__name { margin: 0; font-family: var(--od-font-display); font-weight: 500; font-size: 26px; color: var(--od-head); }
.od-stay__meta { margin: 6px 0 12px; font-family: var(--od-font-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--od-copper); }
.od-stay__desc { font-size: 14px; line-height: 1.7; color: var(--od-ink-muted); }
.od-stay__contact { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }

/* ── Details — dress code (palette swatches) + registry, faint lanterns ──── */

.od-details {
    text-align: center;
    background-color: #131522;
    background-image: var(--od-pool), linear-gradient(180deg, rgba(19,22,34,.84), rgba(19,22,34,.9)), var(--od-attire-scenic);
    background-image: var(--od-pool), linear-gradient(180deg, rgba(19,22,34,.84), rgba(19,22,34,.9)), image-set(url("/assets/img/backgrounds/anthony-delanoix-aDxmYZtYj7g-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/anthony-delanoix-aDxmYZtYj7g-unsplash.jpg") type("image/jpeg"));
    background-position: center;
    background-size: auto, auto, cover;
}
.od-details__title { text-align: center; }
.od-details__block { max-width: 720px; margin: 0 auto clamp(56px, 7vw, 80px); }
.od-details__block:last-child { margin-bottom: 0; }
.od-details__heading { font-family: var(--od-font-display); font-weight: 500; font-size: clamp(38px, 6vw, 68px); line-height: 1.05; color: var(--od-head); margin: 0 0 18px; }
.od-details__body { color: var(--od-ink-muted); line-height: 1.85; max-width: 540px; margin: 0 auto; }
.od-details__dresscode::after {
    content: "";
    display: block;
    width: min(440px, 92%);
    height: 68px;
    margin: 38px auto 0;
    background: var(--od-palette) no-repeat center / contain;
}

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

.od-contact { text-align: center; }
.od-contact__intro { color: var(--od-ink-muted); max-width: 520px; margin: 0 auto clamp(24px, 3vw, 32px); line-height: 1.8; }
.od-contact__list { display: inline-grid; gap: 14px; justify-items: center; }
.od-contact__item { justify-content: center; align-items: baseline; gap: 10px; }
.od-contact__label { font-family: var(--od-font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--od-copper); }
.od-contact__link { font-family: var(--od-font-display); font-size: clamp(20px, 2.4vw, 28px); color: var(--od-head); }

/* ── RSVP — zellige band, arch-topped card ───────────────────────────────── */

.od-rsvp { background-color: var(--od-surface); background-image: var(--od-pool), var(--od-zellige); }
.od-rsvp > * { max-width: 640px; margin-inline: auto; }
.od-rsvp__title { margin-bottom: 6px; }
.od-rsvp__intro { text-align: center; color: var(--od-ink-muted); margin-bottom: 40px; }
.od-rsvp__loading { text-align: center; color: var(--od-ink-muted); }
.od-rsvp__form {
    border: 1px solid rgba(230, 182, 74, .35);
    border-radius: 20px 20px 6px 6px;
    padding: clamp(28px, 5vw, 48px);
    background: linear-gradient(180deg, #1e2336, var(--od-card));
    gap: 20px;
}
.od-rsvp__legend { font-family: var(--od-font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); color: var(--od-head); }
.od-rsvp__label { font-family: var(--od-font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--od-accent); }
.od-rsvp__input {
    background: var(--od-bg);
    border: 1px solid rgba(230, 182, 74, .3);
    border-radius: 3px;
    padding: 13px 16px;
    color: var(--od-ink);
    font-family: var(--od-font-body);
    font-size: 15px;
}
.od-rsvp__input::placeholder { color: rgba(244, 236, 220, .4); }
.od-rsvp__input:focus { outline: none; border-color: var(--od-accent); }
.od-rsvp__guest { background: var(--od-bg); border: 1px solid var(--od-rule); border-radius: 6px; }
/* color-scheme: dark draws an unselected radio dark. Without it the browser
   paints it solid white on this background, and both choices look selected. */
.od-rsvp__choice input { accent-color: var(--od-accent); color-scheme: dark; }
.od-rsvp__submit {
    font-family: var(--od-font-label);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--od-accent-ink);
    background: linear-gradient(90deg, #c07a45, #e6b64a, #c07a45);
    background-size: 200% 100%;
    border: 0;
    border-radius: 3px;
    padding: 16px;
    cursor: pointer;
    animation: odShimmer 6s linear infinite;
}
.od-rsvp__done, .od-rsvp__closed {
    border: 1px solid var(--od-rule);
    border-radius: 12px;
    background: linear-gradient(180deg, #1e2336, var(--od-card));
    color: var(--od-ink-muted);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: 20px;
    text-align: center;
}
.od-rsvp__deadline { margin-top: 18px; text-align: center; font-family: var(--od-font-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--od-ink-muted); }

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

.od-footer {
    position: relative;
    background-color: #0f1120;
    background-image: var(--od-pool), var(--od-zellige);
    border-top: 1px solid rgba(230, 182, 74, .2);
    color: var(--od-ink-muted);
    text-align: center;
    padding: clamp(60px, 8vw, 100px) var(--od-gutter);
}
.od-footer::before { content: ""; display: block; width: 188px; max-width: 70%; height: 24px; margin: 0 auto 24px; background: var(--od-divider) no-repeat center / contain; }
.od-footer__names { margin: 0; font-family: var(--od-font-display); font-weight: 500; font-size: clamp(40px, 7vw, 72px); color: var(--od-head); }
.od-footer__meta { margin-top: 14px; font-family: var(--od-font-label); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--od-accent); justify-content: center; }
.od-footer__legal { margin-top: 16px; justify-content: center; gap: 24px; }
.od-footer__link { color: var(--od-ink-muted); }
.od-footer__link:hover { color: var(--od-accent); }

/* ── Gate — a starlit night, crescent moon, dome skyline, keyhole arch ───── */

.od-gate {
    position: relative;
    color: var(--od-head);
    background-color: #141726;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 170' preserveAspectRatio='none'%3E%3Cpath fill='%230e1020' d='M0 170V112H92V96Q92 70 112 62 132 70 132 96V112H214V122H322V80Q322 46 352 38 382 46 382 80V122H472Q472 96 492 96 512 96 512 122H622V70Q622 38 652 30 682 38 682 70V122H802V130H904V86Q904 58 926 52 948 58 948 86V130H1044V120H1122V110H1200V170Z'/%3E%3Cg fill='%230e1020'%3E%3Crect x='349' y='16' width='6' height='24'/%3E%3Crect x='649' y='8' width='6' height='24'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cmask id='c'%3E%3Ccircle cx='60' cy='60' r='46' fill='white'/%3E%3Ccircle cx='80' cy='50' r='42' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx='60' cy='60' r='46' fill='%23e6b64a' mask='url(%23c)'/%3E%3C/svg%3E"),
        radial-gradient(42% 26% at 82% 20%, rgba(230, 182, 74, .3), transparent 62%),
        radial-gradient(120% 70% at 50% 110%, rgba(184, 135, 31, .2), transparent 60%),
        linear-gradient(180deg, #171b2a 0%, #1c2134 45%, #191d30 100%);
    background-position: bottom center, 82% 18%, center, center, center;
    background-size: 150% auto, clamp(72px, 11vw, 112px) auto, cover, cover, cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(230, 182, 74, .18), inset 0 0 0 11px transparent, inset 0 0 0 12px rgba(230, 182, 74, .1);
}
.od-gate::before, .od-gate::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    pointer-events: none;
}
.od-gate::before { background-image: var(--od-stars);  animation: odTwinkle 2.8s ease-in-out infinite; }
.od-gate::after  { background-image: var(--od-stars2); animation: odTwinkle2 2s ease-in-out .6s infinite; }
.od-gate__inner { position: relative; z-index: 1; max-width: 34rem; }
.od-gate__date { font-family: var(--od-font-label); font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--od-amber); }
.od-gate__names {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 22px auto;
    padding: 60px clamp(30px, 7vw, 66px) 40px;
    background: var(--od-arch) no-repeat center / 100% 100%;
    filter: drop-shadow(0 0 22px rgba(230, 182, 74, .16));
}
.od-gate__names::before { content: "\2726"; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); color: var(--od-amber); font-size: 16px; }
.od-gate__name { display: block; font-family: var(--od-font-display); font-weight: 500; font-size: clamp(48px, 11vw, 104px); line-height: .9; color: var(--od-head); }
.od-gate__amp { display: block; font-family: var(--od-font-arabic); font-style: italic; font-size: clamp(24px, 5vw, 44px); color: var(--od-amber); margin: 6px 0 2px; }
.od-gate__welcome { font-family: var(--od-font-display); font-style: italic; font-size: clamp(18px, 2.4vw, 24px); color: #d9c6ab; }
.od-gate__form { max-width: 24rem; margin: 0 auto; text-align: center; gap: 1rem; }
.od-gate__label { font-family: var(--od-font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--od-amber); }
.od-gate__input {
    background: rgba(22, 25, 38, .55);
    border: 1px solid rgba(230, 182, 74, .4);
    border-radius: 3px;
    text-align: center;
    letter-spacing: .28em;
    font-size: 18px;
    color: var(--od-head);
}
.od-gate__input::placeholder { color: rgba(246, 239, 224, .45); }
.od-gate__input:focus { outline: none; border-color: var(--od-amber); }
.od-gate__submit {
    font-family: var(--od-font-label);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--od-accent-ink);
    background: linear-gradient(90deg, #c07a45, #e6b64a, #c07a45);
    background-size: 200% 100%;
    border-radius: 3px;
    padding: 15px 28px;
    margin-top: .5rem;
    animation: odShimmer 6s linear infinite;
}
.od-gate__note { color: #a9b0c4; }
