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

/**
 * Scandinavian Minimal — the calmest theme. Lots of white, one image, thin rules.
 *
 * Composition: ranged-left throughout with a persistent left label-gutter — every
 * section title reads as a small-caps eyebrow hanging above a narrow content column
 * held to the left, so the right two-thirds of the page is deliberate air. Sections
 * are parted by full-bleed hairlines rather than colour bands. The hero is purely
 * typographic (date eyebrow, oversized light-serif names ranged left) sitting over a
 * single full-bleed photograph band — the ONE image moment on the page. The welcome
 * is the one break in the white: a pale sage tint band carrying a large serif line.
 * Nothing moves.
 *
 * Deliberately different from the themes already here: no centred stack, no numbered
 * flush titles, no sidebar nav, no drifting motion, no colour bands stacked down the
 * page. Where Muted Minimal is warm oat paper with big numbered titles and a sticky
 * index sidebar, this is bright white, eyebrow labels, a quiet top bar, and near-total
 * restraint.
 *
 * IMAGERY — used exactly once, as the brief asks: the couple's own hero photographs
 * form a single calm full-bleed band under the names. Every other surface is type,
 * hairline and white, with one pale sage tint band. The rare public-venue photo is
 * styled when present. No decorative stock photography, by design.
 *
 * Type: Cormorant Garamond (light) carries the names, titles and statement lines;
 * Hanken Grotesk carries the reading and every eyebrow label.
 * --od-accent is the couple-overridable muted sage, kept to hairline ticks, the
 * ampersand, small marks and the reply button — never a fill.
 */

:root {
    /* Colour — bright, quiet, faintly warm white */
    --od-bg: #FBFBF9;
    --od-surface: #EEF1EA;             /* the single sage tint band / raised panels */
    --od-ink: #23241F;                 /* near-black, a breath of green */
    --od-ink-muted: #71756B;
    --od-accent: #6F7A63;              /* muted sage — text-safe, overridable */
    --od-accent-ink: #FBFBF9;
    --od-rule: #E4E5DE;                /* hairline */

    /* Fixed secondary tones — never load-bearing */
    --od-label: #9AA093;               /* eyebrow small-caps */
    --od-sage-soft: #DDE3D6;           /* deeper edge of the tint band */
    --od-link: #5E6A53;

    /* Type */
    --od-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --od-font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Rhythm — measure set wide; the theme, not a cap, places content to the left */
    --od-measure: 100%;
    --od-gutter: clamp(24px, 6vw, 96px);
    --od-section-y: clamp(64px, 11vh, 148px);

    /* The label-gutter: narrow eyebrow column, then the reading column, then air */
    --od-label-col: clamp(120px, 15vw, 200px);
    --od-content: 54ch;
}

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

body.od {
    background: var(--od-bg);
    color: var(--od-ink);
    font-family: var(--od-font-body);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .005em;
}

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

a { color: var(--od-link); text-decoration: none; }
a:hover { color: var(--od-ink); }
::selection { background: var(--od-sage-soft); color: var(--od-ink); }

/* A small-caps eyebrow, reused for every section label, meta line and form label. */
.od-hero__date,
.od-day__title, .od-venue__title, .od-stay__title,
.od-details__title, .od-contact__title, .od-rsvp__title,
.od-stay__meta, .od-contact__label,
.od-rsvp__label, .od-gate__label, .od-gate__date {
    font-family: var(--od-font-body);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--od-label);
}

/* ── Section rhythm — full-bleed hairlines, ranged-left content ───────────── */

.od-section {
    padding: var(--od-section-y) var(--od-gutter);
    border-top: 1px solid var(--od-rule);
}
.od-hero + .od-section { border-top: 0; }   /* the photo band already parts them */
.od-section > * { max-width: none; margin-inline: 0; }

/* The label-gutter grid: eyebrow title on the left, reading column beside it. */
.od-day, .od-stay, .od-details, .od-contact, .od-rsvp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 0;
}
.od-day > *, .od-stay > *, .od-details > *, .od-contact > *, .od-rsvp > * {
    max-width: var(--od-content);
}

@media (min-width: 56rem) {
    .od-day, .od-stay, .od-details, .od-contact, .od-rsvp {
        grid-template-columns: var(--od-label-col) minmax(0, 1fr);
        column-gap: clamp(32px, 5vw, 80px);
        align-items: start;
    }
    /* Title hangs in the left gutter, aligned to the first content line. */
    .od-day__title, .od-stay__title, .od-details__title,
    .od-contact__title, .od-rsvp__title {
        grid-column: 1;
        grid-row: 1 / 40;
        position: sticky;
        top: clamp(24px, 5vh, 56px);
        margin: 0;
        padding-top: 4px;
    }
    .od-day > :not(.od-day__title),
    .od-stay > :not(.od-stay__title),
    .od-details > :not(.od-details__title),
    .od-contact > :not(.od-contact__title),
    .od-rsvp > :not(.od-rsvp__title) {
        grid-column: 2;
        max-width: var(--od-content);
    }
}

/* Eyebrow title: a short sage tick, then the label. */
.od-day__title, .od-venue__title, .od-stay__title,
.od-details__title, .od-contact__title, .od-rsvp__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 28px;
    line-height: 1.4;
}
.od-day__title::before, .od-venue__title::before, .od-stay__title::before,
.od-details__title::before, .od-contact__title::before, .od-rsvp__title::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--od-accent);
    flex: 0 0 auto;
}

/* ── Nav — a quiet top bar ───────────────────────────────────────────────── */

.od-nav {
    padding: clamp(20px, 3vh, 34px) var(--od-gutter);
    border-bottom: 1px solid var(--od-rule);
    background: var(--od-bg);
    gap: 12px 2rem;
}
.od-nav__brand {
    font-family: var(--od-font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--od-ink);
}
.od-nav__links { gap: 10px 28px; }
.od-nav__link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--od-ink-muted);
}
.od-nav__link:hover,
.od-nav__link--current,
.od-nav__link[aria-current] { color: var(--od-accent); }
.od-nav__toggle-bar { background: var(--od-ink); }

/* ── Hero — typographic, ranged left, over one full-bleed photo band ─────── */

.od-hero.od-section { border-top: 0; padding: 0; text-align: left; }
.od-hero > * { max-width: none; }
.od-hero__body {
    padding: clamp(56px, 13vh, 168px) var(--od-gutter) clamp(48px, 9vh, 116px);
    max-width: 1100px;
}
.od-hero__date {
    margin: 0 0 clamp(28px, 5vh, 52px);
    display: inline-block;
}
.od-hero__names {
    margin: 0;
    font-family: var(--od-font-display);
    font-weight: 300;
    font-size: clamp(60px, 13vw, 168px);
    line-height: .92;
    letter-spacing: -.015em;
}
.od-hero__name { display: block; }
.od-hero__amp {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--od-accent);
    font-size: .42em;
    margin: .06em 0;
    letter-spacing: 0;
}
.od-hero__venue {
    margin: clamp(32px, 5vh, 56px) 0 0;
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: clamp(19px, 2.2vw, 27px);
    color: var(--od-ink-muted);
    letter-spacing: 0;
}

/* The one image: partner photos as a single calm full-bleed letterbox band. */
.od-hero__photos {
    margin: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 2px;
    height: clamp(240px, 52vh, 560px);
    background: var(--od-surface);
}
.od-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: saturate(.78) contrast(.98);
}

/* Couple uploaded a full-bleed hero background: keep base overlay, range left. */
.od-hero--has-bg.od-section { padding: 0; }
.od-hero--has-bg .od-hero__body { padding-block: clamp(96px, 22vh, 240px); }
.od-hero--has-bg .od-hero__date { color: rgba(255,255,255,.82); }
.od-hero--has-bg .od-hero__amp { color: #fff; }
.od-hero--has-bg .od-hero__venue { color: rgba(255,255,255,.85); }

/* ── Welcome — the one tinted band, a large serif statement ──────────────── */

.od-welcome.od-section {
    border-top: 0;
    background: var(--od-surface);
    padding-block: clamp(72px, 13vh, 168px);
}
.od-welcome__body {
    max-width: 30ch;
    font-family: var(--od-font-display);
    font-weight: 300;
    font-size: clamp(26px, 4vw, 52px);
    line-height: 1.25;
    letter-spacing: -.005em;
    color: var(--od-ink);
}

/* ── The day — events stacked on hairlines, time as an eyebrow ───────────── */

.od-day__list { display: grid; gap: 0; }
.od-day__item {
    padding: clamp(22px, 3.5vh, 34px) 0;
    border-top: 1px solid var(--od-rule);
    border-bottom: 0;
}
.od-day__item:first-child { border-top: 0; padding-top: 0; }
.od-day__item:last-child { padding-bottom: 0; }
.od-day__time {
    margin: 0 0 8px;
    font-family: var(--od-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    color: var(--od-accent);
}
.od-day__time-sep { margin: 0 .3em; color: var(--od-label); }
.od-day__name {
    margin: 0;
    font-family: var(--od-font-display);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}
.od-day__desc { margin: 8px 0 0; color: var(--od-ink-muted); }

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

.od-venue.od-section > * { max-width: var(--od-content); }
.od-venue__title { margin-bottom: 28px; }
.od-venue__name {
    font-family: var(--od-font-display);
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.2;
    margin: 0 0 24px;
    max-width: 20ch;
}
.od-venue__address {
    display: grid;
    gap: 2px;
    color: var(--od-ink-muted);
    margin-bottom: 1.2em;
}
.od-venue__notes { color: var(--od-ink-muted); margin-bottom: 1.4em; max-width: 46ch; }
.od-venue__links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.od-venue__link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--od-ink);
    border-bottom: 1px solid var(--od-rule);
    padding-bottom: 4px;
}
.od-venue__link:hover { color: var(--od-accent); border-color: var(--od-accent); }

/* The label-gutter for venue (its title lives inside __body, so grid the body). */
@media (min-width: 56rem) {
    .od-venue.od-section {
        display: grid;
        grid-template-columns: var(--od-label-col) minmax(0, 1fr);
        column-gap: clamp(32px, 5vw, 80px);
        align-items: start;
    }
    .od-venue--no-photo > .od-venue__body { display: contents; }
    .od-venue--no-photo .od-venue__title { grid-column: 1; margin: 0; padding-top: 4px; }
    .od-venue--no-photo .od-venue__body > :not(.od-venue__title) { grid-column: 2; max-width: var(--od-content); }
}

/* Rare public-venue photo: quiet frame, photo to the right of the text. */
.od-venue__figure { padding: 0; border: 0; }
.od-venue__photo { box-shadow: none; filter: saturate(.8); aspect-ratio: 4 / 5; object-fit: cover; }
.od-venue--has-photo { display: grid; row-gap: 28px; }
.od-venue--has-photo > .od-venue__figure { order: 2; margin-block: 0; }
@media (min-width: 56rem) {
    .od-venue--has-photo {
        grid-template-columns: 1.15fr .85fr;
        column-gap: clamp(32px, 5vw, 72px);
        align-items: start;
    }
    .od-venue--has-photo > .od-venue__figure { order: 2; max-width: none; margin: 0; }
    .od-venue--has-photo > .od-venue__body { margin-inline: 0; }
}

/* ── Stay — a lean index of rows on hairlines ────────────────────────────── */

.od-stay__intro { color: var(--od-ink-muted); max-width: 46ch; }
.od-stay__list { display: grid; gap: 0; }
.od-stay__item {
    display: grid;
    gap: 6px;
    padding: clamp(22px, 3.5vh, 32px) 0;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid var(--od-rule);
}
.od-stay__item:first-child { border-top: 0; padding-top: 0; }
.od-stay__item:last-child { padding-bottom: 0; }
.od-stay__name {
    margin: 0;
    font-family: var(--od-font-display);
    font-size: clamp(21px, 2.4vw, 30px);
    line-height: 1.2;
}
.od-stay__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--od-label); }
.od-stay__desc { color: var(--od-ink-muted); }
.od-stay__contact { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; margin: 4px 0 0; }
.od-stay__link {
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
}

@media (min-width: 40rem) {
    .od-stay__item {
        grid-template-columns: 1.5fr 1fr;
        column-gap: clamp(24px, 4vw, 56px);
        align-items: baseline;
    }
    .od-stay__name { grid-column: 1; grid-row: 1; }
    .od-stay__desc { grid-column: 1; grid-row: 2; }
    .od-stay__meta { grid-column: 2; grid-row: 1; justify-content: flex-end; text-align: right; }
    .od-stay__contact { grid-column: 2; grid-row: 2; justify-content: flex-end; text-align: right; }
}

/* ── Details — attire & gifts, eyebrow headings, big air ─────────────────── */

.od-details__block { margin: 0 0 clamp(40px, 6vh, 72px); }
.od-details__block:last-child { margin-bottom: 0; }
.od-details__heading {
    font-family: var(--od-font-display);
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.2;
    margin: 0 0 .5em;
}
.od-details__body { color: var(--od-ink-muted); max-width: 48ch; }

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

.od-contact__intro { color: var(--od-ink-muted); max-width: 46ch; }
.od-contact__list { display: grid; gap: 18px; }
.od-contact__item { display: grid; gap: 4px; }
.od-contact__label { margin: 0; }
.od-contact__link {
    font-family: var(--od-font-display);
    font-size: clamp(20px, 2.4vw, 28px);
    color: var(--od-ink);
}
.od-contact__link:hover { color: var(--od-accent); }

/* ── RSVP — quiet, underline fields, ink button ──────────────────────────── */

.od-rsvp__title { margin-bottom: 28px; }
.od-rsvp__intro { color: var(--od-ink-muted); margin-bottom: clamp(28px, 4vh, 44px); max-width: 46ch; }
.od-rsvp__loading { color: var(--od-ink-muted); text-align: left; letter-spacing: .04em; }
.od-rsvp__form { display: grid; gap: 1.75rem; max-width: 40rem; }
.od-rsvp__group { display: grid; gap: 1rem; }
.od-rsvp__legend {
    font-family: var(--od-font-display);
    font-size: clamp(20px, 2.2vw, 26px);
    padding: 0;
}
.od-rsvp__guest {
    background: transparent;
    border: 1px solid var(--od-rule);
    border-radius: 0;
    padding: clamp(18px, 3vw, 26px);
}
.od-rsvp__field { display: grid; gap: 6px; }
.od-rsvp__label { margin: 0; }
.od-rsvp__input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--od-rule);
    border-radius: 0;
    padding: 10px 2px;
    font-family: var(--od-font-body);
    font-size: 16px;
    color: var(--od-ink);
}
.od-rsvp__input::placeholder { color: var(--od-label); }
.od-rsvp__input:focus { outline: none; border-bottom-color: var(--od-accent); }
textarea.od-rsvp__input { border: 1px solid var(--od-rule); padding: 12px; }
.od-rsvp__answer { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.od-rsvp__choice { align-items: center; gap: .5rem; }
.od-rsvp__choice input { accent-color: var(--od-accent); }
.od-rsvp__submit {
    justify-self: start;
    background: var(--od-ink);
    color: var(--od-bg);
    border: 1px solid var(--od-ink);
    border-radius: 0;
    padding: 15px 34px;
    font-family: var(--od-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
}
.od-rsvp__submit:hover { background: var(--od-accent); border-color: var(--od-accent); color: var(--od-accent-ink); }
.od-rsvp__done, .od-rsvp__closed {
    background: var(--od-surface);
    border-radius: 0;
    text-align: left;
    padding: clamp(20px, 3vw, 28px);
}
.od-rsvp__deadline {
    margin-top: 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--od-accent);
}

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

.od-footer {
    border-top: 1px solid var(--od-rule);
    text-align: left;
    color: var(--od-ink-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px 40px;
    padding: clamp(48px, 8vh, 96px) var(--od-gutter);
}
.od-footer__names {
    font-family: var(--od-font-display);
    font-size: clamp(24px, 3vw, 34px);
    color: var(--od-ink);
    margin: 0;
}
.od-footer__meta {
    justify-content: flex-start;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--od-label);
    gap: 6px 16px;
}
.od-footer__legal { gap: 20px; }
.od-footer__link { color: var(--od-label); font-size: 12px; letter-spacing: .04em; }
.od-footer__link:hover { color: var(--od-ink); }

/* ── Gate — the cover of the invitation ──────────────────────────────────── */

.od-gate { background: var(--od-bg); place-items: center; }
.od-gate__inner { max-width: 32rem; text-align: center; }
.od-gate__date { display: inline-block; margin: 0 0 20px; }
.od-gate__names {
    margin: 0 0 24px;
    font-family: var(--od-font-display);
    font-weight: 300;
    font-size: clamp(52px, 13vw, 108px);
    line-height: .96;
    letter-spacing: -.015em;
}
.od-gate__name { display: block; }
.od-gate__amp {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--od-accent);
    font-size: .38em;
    margin: .08em 0;
}
.od-gate__welcome {
    color: var(--od-ink-muted);
    font-family: var(--od-font-display);
    font-style: italic;
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.4;
    margin-bottom: 2.4rem;
    max-width: 26ch;
    margin-inline: auto;
}
.od-gate__form { max-width: 22rem; margin: 0 auto; text-align: center; gap: 1rem; }
.od-gate__label { display: block; margin: 0; }
.od-gate__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--od-rule);
    border-radius: 0;
    text-align: center;
    letter-spacing: .3em;
    font-size: 18px;
    color: var(--od-ink);
    padding: 12px 2px;
}
.od-gate__input:focus { outline: none; border-bottom-color: var(--od-accent); }
.od-gate__submit {
    background: var(--od-ink);
    color: var(--od-bg);
    border: 1px solid var(--od-ink);
    border-radius: 0;
    padding: 15px 34px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-top: .5rem;
}
.od-gate__submit:hover { background: var(--od-accent); border-color: var(--od-accent); }
.od-gate__note { color: var(--od-label); font-size: 12px; }

/* On the rare public hero background the gate carries, keep the cover legible. */
.od-gate--has-bg .od-gate__amp { color: #fff; }
.od-gate--has-bg .od-gate__welcome { color: rgba(255,255,255,.85); }
