/**
 * Arabian Days — OurDay theme
 *
 * slug: arabian-days
 * Generated by tools/theme-import.php on 2026-09-23. Do not hand-edit — any
 * re-import overwrites this file. Edit dist/incoming/arabian-days/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 — Light — a thousand-and-one-nights wedding, by daylight ivory.
 *
 * A recreation of the "Arabian Nights Wedding - Light" design in OurDay's theme
 * layer: every inline style rebuilt as a class rule over the fixed skeleton.
 *
 * The look: warm ivory paper (#fbf8f2), deep midnight-navy ink (#17233f), a
 * saffron-gold accent (#b8871f) with copper (#c07a45) and amber (#e6b64a).
 * 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 hero and gate are dark, starlit nights with a Moorish keyhole
 * arch framing the names; the schedule and reply sit on faint zellige tiling;
 * a saffron shimmer runs across the reply button. Stars twinkle in pure CSS.
 *
 * IMAGERY — the hero carries a linked Marrakech photograph under a night wash,
 * and the details band a faint spice-market texture (both WANTED-marked). The
 * schedule and gate scenes, the zellige, the palette swatches and every arch
 * are CSS, weightless.
 *
 * --od-accent is the couple-overridable saffron and drives links, times,
 * eyebrows and the reply button.
 */

:root {
    /* Colour — warm ivory first */
    --od-bg: #fbf8f2;
    --od-surface: #f5efe4;             /* zellige band */
    --od-ink: #2b3550;                 /* slate-navy body */
    --od-ink-muted: #6a7183;
    --od-accent: #b8871f;              /* saffron — text-safe, overridable */
    --od-accent-ink: #141414;
    --od-rule: rgba(230, 182, 74, .3);

    /* Fixed secondary palette — never load-bearing */
    --od-navy: #17233f;                /* headings */
    --od-slate: #3a4256;
    --od-copper: #c07a45;
    --od-amber: #e6b64a;

    /* 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 riad courtyard or medina at blue hour, lanterns lit, warm. */
    --od-hero-scenic: url("/assets/img/backgrounds/raul-cacho-oses-QZiDYEMUHO4-unsplash.jpg");
    /* WANTED: a Moroccan spice-market or textile stall, warm ochres — used faint. */
    --od-attire-scenic: url("/assets/img/backgrounds/n-k-qY7F4hHr1pc-unsplash.jpg");

    /* Faint zellige tiling for the schedule and reply 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");

    /* A scatter of stars for the night scenes. */
    --od-stars:
        radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent),
        radial-gradient(1.4px 1.4px at 28% 42%, #fff, transparent),
        radial-gradient(1.8px 1.8px at 44% 12%, #fff, transparent),
        radial-gradient(1.2px 1.2px at 62% 30%, #fbeecb, transparent),
        radial-gradient(1.6px 1.6px at 78% 16%, #fff, transparent),
        radial-gradient(1.3px 1.3px at 88% 44%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 8% 60%, #fff, transparent),
        radial-gradient(1.2px 1.2px at 52% 62%, #fbeecb, transparent),
        radial-gradient(1.7px 1.7px at 70% 70%, #fff, transparent),
        radial-gradient(1.3px 1.3px at 34% 78%, #fff, transparent);

    /* The five attire swatches, as one crisp SVG row. */
    --od-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 72'%3E%3Cg stroke='%2317233f' stroke-opacity='0.15' stroke-width='2'%3E%3Ccircle cx='36' cy='36' r='30' fill='%23ffffff'/%3E%3Ccircle cx='152' cy='36' r='30' fill='%23b8871f'/%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, used as a
       section divider so no heading stands unornamented. */
    --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='%23b8871f' 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='%23b8871f' stroke='none'/%3E%3Ccircle cx='118' cy='12' r='1.5' fill='%23b8871f' stroke='none'/%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: var(--od-copper); }
::selection { background: var(--od-copper); color: #141414; }

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

@keyframes odTwinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes odShimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

@media (prefers-reduced-motion: reduce) {
    .od-hero::before, .od-gate::before { animation: 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-navy);
    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::before, .od-details__title::before { content: "\2726"; margin-right: 12px; color: var(--od-copper); }
.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;
}

/* ── Nav — a blurred ivory bar ───────────────────────────────────────────── */

.od-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 242, .9);
    border-bottom: 1px solid rgba(184, 135, 31, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    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: var(--od-slate);
}
.od-nav__link:hover, .od-nav__link--current, .od-nav__link[aria-current] { color: var(--od-accent); }
/* the last link (RSVP in the sample) reads as a gold pill, echoing the source */
.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); }

/* ── Hero — a starlit night, keyhole arch over the names ─────────────────── */

.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: #f6efe0;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(10,16,38,.6) 0%, rgba(12,20,46,.48) 40%, rgba(9,14,34,.9) 100%),
        var(--od-hero-scenic);
    background-image: linear-gradient(180deg, rgba(10,16,38,.6) 0%, rgba(12,20,46,.48) 40%, rgba(9,14,34,.9) 100%),
        image-set(url("/assets/img/backgrounds/raul-cacho-oses-QZiDYEMUHO4-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/raul-cacho-oses-QZiDYEMUHO4-unsplash.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
}
.od-hero--has-bg {
    background-image:
        linear-gradient(180deg, rgba(10,16,38,.6) 0%, rgba(12,20,46,.48) 40%, rgba(9,14,34,.9) 100%),
        var(--od-hero-photo);
}
.od-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--od-stars);
    background-repeat: no-repeat;
    animation: odTwinkle 4s ease-in-out infinite;
    pointer-events: none;
}
.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: 54px clamp(28px, 7vw, 80px) 44px;
    border: 1.5px solid rgba(230, 182, 74, .55);
    border-radius: 48% 48% 6px 6px / 34% 34% 6px 6px;
    background: rgba(10, 16, 38, .28);
    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: #f6efe0; }
.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; }
/* This theme's hero is a scenic night with editorial names — no portraits,
   matching the source. The couple's uploaded portraits are hidden here. */
.od-hero__photos { display: none; }

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

.od-welcome { text-align: center; background: radial-gradient(120% 90% at 50% 0%, #ffffff 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-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, #f7f1e6, #ffffff);
    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-navy); }
.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-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-navy); margin: 0 0 18px; }
.od-venue__address { display: grid; gap: 14px; color: var(--od-slate); 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); }

/* Rare public-venue photo: dark image beside the text. */
.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: radial-gradient(120% 90% at 50% 100%, #ffffff 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: #ffffff; 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-navy); }
.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, on faint spice ──── */

.od-details {
    text-align: center;
    background-color: var(--od-surface);
    background-image: linear-gradient(180deg, rgba(251,248,242,.92), rgba(245,239,228,.95)), var(--od-attire-scenic);
    background-image: linear-gradient(180deg, rgba(251,248,242,.92), rgba(245,239,228,.95)), image-set(url("/assets/img/backgrounds/n-k-qY7F4hHr1pc-unsplash-1920.webp") type("image/webp"), url("/assets/img/backgrounds/n-k-qY7F4hHr1pc-unsplash.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
}
.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-navy); 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-navy); }

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

.od-rsvp { background-color: var(--od-surface); background-image: 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, #faf5ec, #ffffff);
    gap: 20px;
}
.od-rsvp__legend { font-family: var(--od-font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); color: var(--od-navy); }
.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:focus { outline: none; border-color: var(--od-accent); }
.od-rsvp__guest { background: var(--od-bg); border: 1px solid var(--od-rule); border-radius: 6px; }
.od-rsvp__choice input { accent-color: var(--od-accent); }
.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, #b8871f, #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, #faf5ec, #ffffff);
    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: #f0e8da;
    background-image: 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-navy); }
.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 with the keyhole arch ────────────────────────── */

.od-gate {
    position: relative;
    color: #f6efe0;
    background-color: #0b1226;
    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='%23070c1c' 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='%23070c1c'%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, .22), transparent 60%),
        radial-gradient(120% 80% at 50% 12%, rgba(184, 135, 31, .16), transparent 55%),
        linear-gradient(180deg, #0a1024 0%, #0c142e 45%, #0b1430 100%);
    background-position: bottom center, 82% 18%, center, center, center, center;
    background-size: 150% auto, clamp(72px, 11vw, 112px) auto, cover, 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 {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--od-stars);
    background-repeat: no-repeat;
    animation: odTwinkle 4s ease-in-out infinite;
    pointer-events: none;
}
.od-gate::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--od-stars);
    background-repeat: no-repeat;
    background-position: 46% 34%;
    background-size: 128% 118%;
    opacity: .7;
    animation: odTwinkle 6.5s ease-in-out infinite reverse;
    pointer-events: none;
}
.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: 52px clamp(28px, 7vw, 64px) 42px;
    border: 1.5px solid rgba(230, 182, 74, .55);
    border-radius: 48% 48% 6px 6px / 34% 34% 6px 6px;
    background: rgba(10, 16, 38, .3);
}
.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: #f6efe0; }
.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(10, 16, 38, .35);
    border: 1px solid rgba(230, 182, 74, .4);
    border-radius: 3px;
    text-align: center;
    letter-spacing: .28em;
    font-size: 18px;
    color: #f6efe0;
}
.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, #b8871f, #c07a45);
    background-size: 200% 100%;
    border-radius: 3px;
    padding: 15px 28px;
    margin-top: .5rem;
    animation: odShimmer 6s linear infinite;
}
.od-gate__note { color: #a9b0c4; }

/* ── Variant: Boxed ──────────────────────────────────────────────────────────
   The whole site becomes a centred ivory sheet on a warm parchment mat (an
   infinite box-shadow — no wrapper element), edged with a fine double saffron
   frame. Full-bleed below 40rem; the zellige and night bands keep bleeding to
   the sheet edge, so the sheet reads as a framed invitation. */

:root { --od-mat: #ece1cd; }

@media (min-width: 40rem) {
    body.od-variant--boxed {
        max-width: 92rem;
        margin: clamp(20px, 3vw, 48px) auto;
        border: 1px solid rgba(230, 182, 74, .45);
        box-shadow: inset 0 0 0 1px rgba(230, 182, 74, .18), 0 0 0 100vmax var(--od-mat);
    }
    /* the top bar rides the sheet rather than pinning into the mat above it */
    body.od-variant--boxed .od-nav { position: static; }
}
