/* ═══════════════════════════════════════════════════════════════════════════
   INLNA Convention 2027 · Ottawa — standalone brand stylesheet
   ═══════════════════════════════════════════════════════════════════════════

   The convention site is deliberately its own thing: no Bootstrap and no JS
   (two small nonced exceptions the pages work without: the registration
   form's running total, and the layout's Print buttons), loaded only by
   convention_layout.html. Its type matches the printed
   brochure committee members hand out (Geoff, 2026-10-12): Fira Sans for
   headings and interface labels (--font-display / --font-ui, from Google
   Fonts), XCharter for running text (--font-body, self-hosted from
   static/fonts/xcharter/ with its licence notice). The palette is "April thaw"
   (ice ground, basalt ink, glacial blue, aurora trim). The page is framed by a slim
   basalt keyline at the top and the deep footer at the bottom — deliberately
   quiet; the signature element is still open (the first knit-band attempt was
   cut).

   Placeholder system (the skeleton is a feature, not a gap):
     .chip-tbc  amber "to be confirmed" chip — unconfirmed detail
     .chip-ok   green "confirmed" chip       — settled detail
     .draft     dashed card — a slot whose copy says what will appear there
   Amber is reserved EXCLUSIVELY for the TBC system so draft-vs-confirmed is
   scannable at a glance; swap chips (not layouts) as details firm up.

   Spacing uses an 8px base scale; every box has a 10px radius, 999px is for
   chips only; hairlines are 1px --mist, drafts 1.5px dashed amber.
   ─────────────────────────────────────────────────────────────────────────── */

/* XCharter, subset to Latin + Latin Extended-A (Icelandic); licence notice:
   static/fonts/xcharter/LICENSE.txt. swap: text shows at once in the fallback. */
@font-face { font-family: "XCharter"; font-style: normal; font-weight: 400; font-display: swap;
             src: url("../fonts/xcharter/XCharter-Roman.woff") format("woff"); }
@font-face { font-family: "XCharter"; font-style: italic; font-weight: 400; font-display: swap;
             src: url("../fonts/xcharter/XCharter-Italic.woff") format("woff"); }
@font-face { font-family: "XCharter"; font-style: normal; font-weight: 700; font-display: swap;
             src: url("../fonts/xcharter/XCharter-Bold.woff") format("woff"); }
@font-face { font-family: "XCharter"; font-style: italic; font-weight: 700; font-display: swap;
             src: url("../fonts/xcharter/XCharter-BoldItalic.woff") format("woff"); }

:root {
    /* palette — April thaw */
    --ice:     #F3F7F8;   /* page ground */
    --snow:    #FFFFFF;   /* cards */
    --deep:    #0C2233;   /* basalt ink: headings, band, footer */
    --glacier: #1E6A8E;   /* primary interactive */
    --glacier-dk: #175572;
    --aurora:  #2E9E7E;   /* trim + focus only, never body text */
    --slate:   #48606E;   /* muted text */
    --mist:    #D9E4E8;   /* hairlines */
    /* TBC system (amber is reserved for this) */
    --amber-ink:    #8A5313;
    --amber-bg:     #FBEFDD;
    --amber-border: #E8C48A;
    /* confirmed chip */
    --ok-ink:    #17614C;
    --ok-bg:     #E2F3EC;
    --ok-border: #9AD4BE;
    /* Icelandic flag red, for the program's day themes (an experiment,
       Geoff 2026-10-13) */
    --iceland-red: #DC1E35;
    /* registration: selected options, form errors */
    --glacier-wash: #EDF4F8;
    --alert-ink:    #9B2F2F;
    --alert-bg:     #FBEDEC;
    --alert-border: #E9B9B6;

    --font-display: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-ui:      "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body:    "XCharter", Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
}

/* ── base ──────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--ice);
    color: var(--deep);
    font: 400 1rem/1.6 var(--font-body);  /* running text: XCharter */
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--deep);
    margin: 0 0 1rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--glacier); text-decoration-thickness: 1px; text-underline-offset: 0.1875rem; }
a:hover { color: var(--glacier-dk); }
/* long, unbreakable email addresses must wrap inside narrow cards + footer columns */
a[href^="mailto:"] { overflow-wrap: anywhere; }

:focus-visible {
    outline: 0.1875rem solid var(--aurora);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.conv-container {
    max-width: 67.5rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute; left: -624.9375rem; top: 0;
    background: var(--snow); color: var(--deep);
    padding: 0.625rem 1rem; z-index: 100; border-radius: 0 0 0.625rem 0;
}
.skip-link:focus { left: 0; }

/* ── brand keyline (masthead cap) ──────────────────────────────────────── */
/* A slim solid rule in basalt tops the page and answers the deep footer at the
   bottom — a quiet frame, no motif. */

.conv-band {
    height: 0.25rem;
    background: var(--deep);
}

/* short solid rule used under page headings */
.conv-divider {
    height: 0.1875rem;
    width: 12.5rem;
    max-width: 60%;
    background: var(--glacier);
    border-radius: 2px;
    margin: 0 0 3.5rem;
}

/* ── private-preview ribbon (preview-link holders, while the section is dark) ── */
/* Deep ground so it reads as a continuation of the keyline above it. */

.conv-ribbon {
    background: var(--deep);
    color: #DCE9EF;
    font-size: 0.875rem;
    padding: 0.5625rem 0;
}
.conv-ribbon .conv-container {
    display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem;
    align-items: baseline; justify-content: space-between;
}
.conv-ribbon strong { color: #FFFFFF; font-weight: 600; }
.conv-ribbon a { color: #8FD4BD; }
.conv-ribbon a:hover { color: #B8E6D6; }

/* ── header ────────────────────────────────────────────────────────────── */

.conv-header {
    background: var(--snow);
    border-bottom: 1px solid var(--mist);
    /* Sticky nav: the private-preview ribbon (and keyline) sit above this in
       normal flow, so they scroll away while the nav pins to the top. Solid
       --snow background keeps page content from showing through. Pure CSS —
       this layout ships no JS by design. */
    position: sticky;
    top: 0;
    z-index: 100;
}
.conv-header .conv-container {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
    gap: 0.75rem 2rem;
    padding-top: 1.125rem; padding-bottom: 1.125rem;
}

/* Brand lockup: the two logos flank the wordmark at its height (48px, the
   two wordmark lines plus their gap, so the trio reads as one unit). */
.conv-brand { display: flex; align-items: center; gap: 0.75rem; }
.conv-brand-logo { width: 3rem; height: 3rem; object-fit: contain; flex: none; display: block; }

/* The two wordmark lines are centred on one axis (Geoff, 2026-10-13). The
   small line's tracking is opened to 0.17em so it runs almost the full width
   of "Ottawa 2027", and its trailing letter-space (tracking is added after the
   last letter too) is cancelled by the negative right margin so it centres on
   the letters, not the box. */
.conv-wordmark {
    display: inline-flex; flex-direction: column; align-items: center;
    text-align: center; text-decoration: none; line-height: 1.15;
}
.conv-wordmark .wm-over {
    font: 700 0.75rem/1 var(--font-ui);
    letter-spacing: 0.17em; text-transform: uppercase;
    color: var(--glacier);
    margin: 0 -0.17em 0.25rem 0;
}
.conv-wordmark .wm-main {
    font: 700 1.625rem/1 var(--font-display);
    letter-spacing: -0.02em;
    color: var(--deep);
}
a.conv-wordmark:hover .wm-main { color: var(--glacier-dk); }

.conv-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.conv-nav a {
    font: 600 0.9375rem/1 var(--font-ui);
    color: var(--slate);
    text-decoration: none;
    padding: 0.5rem 2px;
    border-bottom: 2px solid transparent;
}
.conv-nav a:hover { color: var(--deep); }
.conv-nav a[aria-current="page"] {
    color: var(--deep);
    border-bottom-color: var(--aurora);
}

/* ── eyebrows: Icelandic word + knit stitch ────────────────────────────── */

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.625rem;
    font: 700 0.8125rem/1 var(--font-ui);
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--glacier);
    margin: 0 0 0.875rem;
}
.eyebrow::before {
    content: "";
    width: 0.5rem; height: 0.5rem;
    background: var(--aurora);
    flex: none;
}

/* ── hero (home) ───────────────────────────────────────────────────────── */

.conv-hero { padding: 4.5rem 0 3.5rem; }
/* Title lockup (Geoff, 2026-10-12): the subtitle spans exactly the width of
   the title's longer line. The lockup carries the type size; h1 and subtitle
   size in em from it, so they scale together. width: fit-content makes the
   box as wide as "Innovations" (the <br> fixes the line break), and the
   justified subtitle stretches its word spaces to meet that edge. 0.46em sits
   just under the exact fit for Fira Sans (0.474em), leaving a little slack. */
.hero-lockup {
    font-size: clamp(2.875rem, 7.5vw, 5.125rem);
    width: fit-content; max-width: 100%;
    margin: 0 0 1.375rem;
}
.conv-hero h1 {
    font-size: 1em;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.015em;
    margin: 0 0 0.14em;
}
.hero-sub {
    font: 600 0.46em/1.1 var(--font-display);
    color: var(--glacier);
    text-align: justify; text-align-last: justify;
    margin: 0;
}
.lede {
    font-size: 1.1875rem;
    color: var(--slate);
    max-width: 58ch;
    margin: 0 0 1.75rem;
}

.conv-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 0.5rem; }

.btn-conv, .btn-conv-ghost {
    display: inline-block;
    font: 600 1rem/1 var(--font-ui);
    padding: 0.8125rem 1.5rem;
    border-radius: 0.625rem;
    text-decoration: none;
}
.btn-conv { background: var(--glacier); color: #FFFFFF; border: 1.5px solid var(--glacier); }
.btn-conv:hover { background: var(--glacier-dk); border-color: var(--glacier-dk); color: #FFFFFF; }
.btn-conv-ghost { background: transparent; color: var(--deep); border: 1.5px solid var(--mist); }
.btn-conv-ghost:hover { border-color: var(--glacier); color: var(--glacier-dk); }

@media (prefers-reduced-motion: no-preference) {
    .conv-hero .conv-container > * {
        animation: convRise 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }
    .conv-hero .conv-container > *:nth-child(2) { animation-delay: 0.06s; }
    .conv-hero .conv-container > *:nth-child(3) { animation-delay: 0.12s; }
    .conv-hero .conv-container > *:nth-child(4) { animation-delay: 0.18s; }
    @keyframes convRise {
        from { opacity: 0; transform: translateY(0.625rem); }
        to   { opacity: 1; transform: none; }
    }
}

/* ── hero: club logos (right column) ──────────────────────────────────── */

.conv-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.5rem 3rem;
    /* Top-align the two columns so the eyebrow (left) and the clubs tagline
       (right) sit on the same line. (Centring dropped the shorter right
       column, misaligning the two labels.) */
    align-items: start;
}
/* The eyebrow is inline-flex (a line box with a strut that rides it down);
   the clubs label is a plain block. Make the hero eyebrow block-level flex so
   both labels top-align on the same line. */
.conv-hero-copy .eyebrow { display: flex; }
.conv-hero-clubs-label {
    font: 700 0.8125rem/1 var(--font-ui);
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--slate);
    margin: 0 0 1rem;
}
.club-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.875rem;
    max-width: 23.75rem;
}
.club-logo {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1;
    border-radius: 50%;
    background: transparent;
    border: 0;
    overflow: hidden;
    padding: 0.25rem;
    text-decoration: none;   /* logos are links; suppress underline artifacts */
}
.club-logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    transition: transform 0.15s ease;
}
.club-logo:hover img,
.club-logo:focus-visible img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
    .club-logo img { transition: none; }
    .club-logo:hover img,
    .club-logo:focus-visible img { transform: none; }
}
.club-logo-note {
    max-width: 23.75rem;
    margin: 1rem 0 0;
    font-size: 0.8438rem; line-height: 1.55;
    color: var(--slate);
}

/* placeholder box for media not yet supplied — reuses the TBC system's amber */
.media-tbc {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    width: 100%; max-width: 15rem;
    aspect-ratio: 4 / 3;
    background: #FDFAF4;
    border: 1.5px dashed var(--amber-border);
    border-radius: 0.625rem;
    color: var(--amber-ink);
    font: 600 0.8125rem/1 var(--font-ui);
    margin: 0 0 0.75rem;
}
/* On a venue card it stands in for the card's photo, at the photo's size. */
.venue-cards .media-tbc { max-width: none; height: 11.875rem; aspect-ratio: auto; margin: 0 0 0.875rem; }
/* Venue row, in event order: hotel, Thursday reception, conference centre,
   Sunday tours. Four cards: one column, then two by two, then all four in a
   row (auto-fit would leave the fourth card alone on a second row). */
.conv-grid.venue-cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .conv-grid.venue-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .conv-grid.venue-cards { grid-template-columns: repeat(4, 1fr); } }

/* ── sponsors: one card per level (convention_sponsors_data.py) ─────────── */
/* Six-card grids (sponsor levels, volunteer committees): 3 x 2 wide, 2 x 3
   medium, one column on phones, so no row is short. */
.conv-grid.sponsor-levels, .conv-grid.volunteer-cards { grid-template-columns: 1fr; }
@media (min-width: 640px) {
    .conv-grid.sponsor-levels, .conv-grid.volunteer-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .conv-grid.sponsor-levels, .conv-grid.volunteer-cards { grid-template-columns: repeat(3, 1fr); }
}
.sponsor-level .sponsor-name {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.625rem;
    font: 700 1.375rem/1.15 var(--font-display); margin: 0 0 0.375rem;
}
.conv-card .sponsor-amount {
    font: 600 1.125rem/1 var(--font-ui); color: var(--glacier);
    font-variant-numeric: tabular-nums; margin: 0 0 0.875rem;
}
.conv-card .sponsor-for { color: var(--deep); font-size: 1rem; margin: 0 0 0.625rem; }
.sponsor-benefits { margin: 0; padding-left: 1.125rem; color: var(--slate); font-size: 0.9375rem; line-height: 1.5; }
.sponsor-benefits li { margin-bottom: 0.375rem; }
/* Cards in a row share a height (grid stretch); the column layout parks every
   "More detailed recognition…" link at the same spot, the card's foot. */
.conv-card.sponsor-level { display: flex; flex-direction: column; }
.sponsor-more {
    margin-top: auto; padding: 0.875rem 0 0; align-self: flex-start;
    background: none; border: 0; cursor: pointer;
    font: 600 0.875rem/1.3 var(--font-ui); color: var(--glacier);
    text-decoration: underline; text-underline-offset: 0.1875rem;
}
.sponsor-more:hover { color: var(--glacier-dk); }
/* The floating details card: a native popover, centred in the top layer. */
.sponsor-pop {
    width: min(35rem, calc(100vw - 2rem)); max-height: calc(100vh - 3rem);
    overflow: auto; padding: 1.75rem; margin: auto;
    background: var(--snow); color: var(--deep);
    border: 1px solid var(--mist); border-radius: 0.625rem;
    box-shadow: 0 1.5rem 4rem rgba(12, 34, 51, 0.28);
}
.sponsor-pop::backdrop { background: rgba(12, 34, 51, 0.35); }
.sponsor-pop-title { font: 700 1.375rem/1.2 var(--font-display); margin: 0 0 0.375rem; }
.sponsor-pop-for { margin: 0 0 0.875rem; color: var(--slate); }
.sponsor-pop-list { margin: 0 0 1.25rem; padding-left: 1.125rem; line-height: 1.55; }
.sponsor-pop-list li { margin-bottom: 0.5rem; }
.sponsor-pop-close { cursor: pointer; }
/* Runs the full width of the card grid above it (Geoff, 2026-10-12). */
.sponsor-note { margin: 1.25rem 0 0; color: var(--slate); }
.sponsor-note + .sponsor-note { margin-top: 0.5rem; }
/* Inside a program figure it stands in for a pending-permission photo
   (mask_pending_images() in common.py), so it takes the photo's full width. */
.conv-figure .media-tbc { max-width: none; aspect-ratio: 3 / 2; margin: 0; font-size: 0.875rem; }
@media (max-width: 760px) {
    .conv-hero-grid { grid-template-columns: 1fr; }
    .conv-hero-clubs { order: 2; }
    .club-logo-grid { max-width: 21.25rem; }
}

/* ── page head (subpages) ──────────────────────────────────────────────── */

.conv-pagehead { padding: 3.5rem 0 0; }
.conv-pagehead h1 {
    font-size: clamp(2.25rem, 5vw, 3.375rem);
    font-weight: 700;
    margin: 0 0 0.875rem;
}
.conv-pagehead .lede { max-width: none; margin-bottom: 2.25rem; }
/* Pages whose only heading is their small label (program, venue,
   registration, volunteer): the h1 keeps the eyebrow's look instead of the
   page-heading size above. -min also drops the space a lede would need. */
.conv-pagehead-min { padding-bottom: 1.5rem; }
.conv-pagehead h1.eyebrow {
    font: 700 0.8125rem/1 var(--font-ui); letter-spacing: 0.14em;
    color: var(--glacier); margin: 0 0 0.875rem;
}
.conv-pagehead-min h1.eyebrow { margin: 0; }

/* ── bare pages: "Under construction" landing + preview invite ────────────
   Chrome-less (no nav/ribbon); min-height keeps the footer off the fold. */
.conv-bare-page { min-height: 58vh; padding-bottom: 4rem; }
.conv-bare-page .lede { max-width: 58ch; margin-bottom: 1.25rem; }
.conv-bare-page .conv-cta { margin-top: 0.75rem; }
.conv-notice {
    max-width: 58ch; margin: 0 0 1.5rem; padding: 2px 0 2px 0.875rem;
    border-left: 0.1875rem solid var(--glacier); color: var(--deep); font-size: 1rem;
}
.conv-fineprint { max-width: 58ch; margin: 1.125rem 0 0; color: var(--slate); font-size: 0.9062rem; }
button.btn-conv { cursor: pointer; }

/* ── sections & cards ──────────────────────────────────────────────────── */

.conv-section { padding: 0 0 4rem; }
.conv-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
}
.conv-hint {
    margin: -0.75rem 0 1.5rem;
    color: var(--slate);
    font-size: 0.9062rem;
}
.floorplan, .conv-figure { margin: 1.125rem 0 0; }
.conv-figure { max-width: 35rem; }
.floorplan img, .conv-figure img {
    width: 100%; height: auto; display: block;
    border: 1px solid var(--mist); border-radius: 0.625rem;
}
.floorplan figcaption, .conv-figure figcaption {
    margin-top: 0.625rem; color: var(--slate);
    font-size: 0.875rem; line-height: 1.5;
}
.floorplan-note { color: var(--glacier); font-style: italic; }
/* Two figures side by side (the Sunday tours detail page): equal columns, both
   photos cropped to 3:2 so the pair lines up; stacked on phones. */
.conv-figure-pair { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 0 0 1.125rem; }
.conv-figure-pair .conv-figure { margin: 0; max-width: none; min-width: 0; }
.conv-figure-pair .conv-figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.conv-card .conv-figure-pair .conv-figure-title { margin: 0.875rem 0 0; }
.conv-figure-pair .conv-figure figcaption { margin-top: 0.25rem; }
@media (min-width: 640px) { .conv-figure-pair { grid-template-columns: 1fr 1fr; } }
.conv-video {
    margin: 0.875rem 0 0; max-width: 40rem;
    aspect-ratio: 16 / 9; overflow: hidden;
    border: 1px solid var(--mist); border-radius: 0.625rem;
}
.conv-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Card-topping image (e.g. the Venue tour cards). */
.card-img {
    display: block; width: 100%; height: 11.875rem;
    object-fit: cover; border-radius: 0.625rem; margin: 0 0 0.875rem;
}
/* Photo credit overlaid in the image's bottom-right corner. */
.card-img-wrap { position: relative; margin: 0 0 0.875rem; }
.card-img-wrap .card-img { margin: 0; }
.card-img-credit {
    position: absolute; right: 0.4375rem; bottom: 0.4375rem;
    font: 0.625rem/1.3 var(--font-ui);
    color: #fff; background: rgba(12, 34, 51, 0.55);
    padding: 2px 0.4375rem; border-radius: 0.25rem;
}
.card-img-credit a { color: #fff; text-decoration: underline; }

.conv-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

.conv-card {
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: 0.625rem;
    padding: 1.5rem;
}
.conv-card h3, .conv-card .card-title,
.draft h3, .draft .card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.625rem;
}
.conv-card p { color: var(--slate); font-size: 0.9688rem; margin-bottom: 0.75rem; }
/* A day card's items as a short list; same size and colour as card text. */
.day-items { margin: 0; padding-left: 1.125rem; color: var(--slate); font-size: 0.9688rem; line-height: 1.6; }
.conv-card p:last-child { margin-bottom: 0; }

.conv-card .card-label {
    font: 700 0.75rem/1 var(--font-ui);
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--slate);
    margin: 0 0 0.625rem;
}
.conv-card .card-value {
    font: 600 1.375rem/1.2 var(--font-display);
    color: var(--deep);
    margin: 0 0 0.75rem;
}

/* ── the TBC placeholder system ────────────────────────────────────────── */

.chip {
    display: inline-flex; align-items: center; gap: 0.4375rem;
    font: 600 0.75rem/1 var(--font-ui);
    letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.3125rem 0.6875rem;
    border-radius: 62.4375rem;
    white-space: nowrap;
}
.chip::before {           /* every chip carries a knit stitch */
    content: "";
    width: 0.375rem; height: 0.375rem;
    background: currentColor;
    flex: none;
}
.chip-tbc { background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber-border); }
.chip-ok  { background: var(--ok-bg);    color: var(--ok-ink);    border: 1px solid var(--ok-border); }
/* open volunteer roles — glacier family, deliberately NOT amber (amber is reserved for TBC) */
.chip-open { background: #E3EEF4; color: var(--glacier-dk); border: 1px solid #A8CADB; }

.draft {
    background: #FDFAF4;
    border: 1.5px dashed var(--amber-border);
    border-radius: 0.625rem;
    padding: 1.5rem;
}
.draft p { color: var(--slate); font-size: 0.9688rem; margin-bottom: 0.75rem; }
.draft p:last-child { margin-bottom: 0; }
.draft .card-title { margin-bottom: 0.625rem; }

/* Radius rule (Geoff, 2026-10-12): every box is 10px; pills (999px) are only
   for chips, 50% only for round logos and initials. Small non-box marks keep
   their own: focus ring 4px, inline link highlight 3px, divider 2px, the photo
   credit tag 4px. */

/* registration form: a centred 640px column (Geoff, 2026-10-12) */
.reg-form { max-width: 40rem; margin: 0.5rem auto 0; }
.reg-form button[type="submit"] { display: block; margin: 0 auto; }

/* registration form fields (were inline 8px styles) */
.conv-input {
    width: 100%; padding: 0.625rem 0.75rem; font: 400 1rem/1.4 var(--font-ui); color: var(--deep);
    background: var(--snow); border: 1px solid #B9C9D0; border-radius: 0.625rem;
}
.conv-input[readonly] { background: var(--ice); }
.conv-choice {
    display: flex; align-items: baseline; gap: 0.625rem;
    padding: 0.75rem 0.875rem; margin-bottom: 0.625rem; cursor: pointer;
    border: 1px solid #B9C9D0; border-radius: 0.625rem;
}

/* ── registration, confirm and checkout pages ──────────────────────────────
   One centred 640px column holds the page label, the notices and the form,
   so "Registration" sits on the form's left edge. :has() hides what a
   Gala-only ticket doesn't include, and the tour seats until a tour is
   chosen; a browser without :has() shows everything and the server ignores
   what doesn't apply. The total is set like a receipt: dashed rules between
   lines, a solid rule over the sum. */
.reg-column { max-width: 40rem; margin: 0 auto; }

.reg-fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.reg-legend { padding: 0; margin: 0 0 0.75rem; font: 700 1.125rem/1.3 var(--font-display); color: var(--deep); }
.reg-legend-note { margin: -0.25rem 0 0.875rem; }
.reg-hint.reg-type-note { margin-bottom: 1.375rem; }   /* a little air before the first option (beats .reg-hint below) */
.reg-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.reg-field { display: block; flex: 1 1 15rem; min-width: 0; }   /* two per row in 640px */
.reg-field-full { flex-basis: 100%; }
.reg-fieldset > .reg-field + .reg-field { margin-top: 1rem; }
.reg-label { display: block; margin: 0 0 0.375rem; font: 600 0.9375rem/1.3 var(--font-ui); color: var(--deep); }
.reg-hint { display: block; margin: 0.375rem 0 0; font: 400 0.875rem/1.45 var(--font-ui); color: var(--slate); }
.reg-label + .reg-hint { margin: -2px 0 0.5rem; }
.reg-billing-name { margin-bottom: 1rem; }

.conv-choice input { accent-color: var(--glacier); }
.conv-choice:has(input:checked) {
    border-color: var(--glacier); background: var(--glacier-wash);
    box-shadow: inset 0 0 0 1px var(--glacier);
}
.conv-choice:has(input:focus-visible) { outline: 2px solid var(--aurora); outline-offset: 2px; }
.reg-option, .reg-tour { align-items: flex-start; background: var(--snow); }
.reg-option input, .reg-tour input { margin-top: 0.25rem; }
.reg-option-body { flex: 1; min-width: 0; }
.reg-option-name { display: block; font: 600 1rem/1.4 var(--font-ui); color: var(--deep); }
.reg-option-note { display: block; margin-top: 2px; font: 400 0.875rem/1.45 var(--font-ui); color: var(--slate); }
.reg-option-price {
    flex: none; text-align: right;
    font: 600 1.0625rem/1.4 var(--font-ui); color: var(--deep);
    font-variant-numeric: tabular-nums;
}
.reg-option-later { display: block; font: 400 0.8125rem/1.4 var(--font-ui); color: var(--slate); }

/* optional events: one row per day */
.reg-event {
    display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem;
    padding: 1rem 0; border-top: 1px dashed var(--mist);
}
.reg-event-day {
    margin: 0; padding-top: 0.1875rem;
    font: 700 0.75rem/1.4 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--glacier);
}
.reg-event-day span { display: block; }
.reg-event-title { display: block; margin: 0; font: 600 1rem/1.4 var(--font-ui); color: var(--deep); }
.reg-event-body > * + * { margin-top: 0.625rem; }
.reg-event-body > .reg-hint { margin-top: 2px; }
.reg-event-body .conv-choice { margin-bottom: 0; }
.reg-check { display: flex; align-items: flex-start; gap: 0.625rem; cursor: pointer; }
.reg-check input { margin-top: 0.3125rem; accent-color: var(--glacier); }
.reg-check .reg-hint { margin-top: 2px; }
/* "Anything we should know?": tick box, then a short text box beside it. The
   labels share one column so the boxes line up; on a phone the box drops
   under its label. */
.reg-need { display: flex; align-items: center; gap: 0.75rem; min-height: 2.875rem; }
.reg-need + .reg-need { margin-top: 0.625rem; }
.reg-need .reg-check { flex: 0 0 12.5rem; align-items: center; }
.reg-need .reg-check input { margin-top: 0; }
.reg-need .reg-label { margin: 0; }
.reg-need .conv-input { flex: 1 1 0; min-width: 0; }
.reg-need-wide .reg-check { flex-basis: auto; }
/* "Your INLNA club": only on the INLNA member rate; the Other box only while
   Other is chosen. Sunday afternoon note: under the tours. */
.reg-club { margin: 0 0 1.125rem 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem 1rem; }   /* under the INLNA member option, indented to set it apart from the list */
.reg-form:not(:has(input[name="category"][value="inlna_member"]:checked)) .reg-club,
.reg-form:not(:has(select[name="inlna_club"] option[value="other"]:checked)) .reg-club-other { display: none; }
.reg-club .conv-input { height: 2.8125rem; }   /* the drop-down and the box beside it match */
/* Family members: a label line with Remove at its end, then first name, last
   name and type on one line (the type drops to its own line on a phone). */
.reg-family .reg-legend-note { margin-bottom: 1rem; }
.reg-family-row {
    display: grid; gap: 0.375rem 0.5rem; align-items: center;
    grid-template-columns: 1fr 1fr 1.4fr;
    grid-template-areas: "num num remove" "first last type";
}
.reg-family-row + .reg-family-row { margin-top: 1rem; }
.reg-family-row[hidden] { display: none; }
.reg-family-row .reg-guest-num { grid-area: num; }
.reg-family-row input:first-of-type { grid-area: first; }
.reg-family-row input:last-of-type { grid-area: last; }
.reg-family-row select { grid-area: type; }
.reg-family-row .conv-input { height: 2.8125rem; min-width: 0; }
.reg-family-remove {
    grid-area: remove; justify-self: end; padding: 2px 0.25rem; border: 0; background: none;
    font: 600 0.875rem/1.3 var(--font-ui); color: var(--glacier); text-decoration: underline;
    cursor: pointer; min-height: 0;
}
.reg-family-remove[hidden], #reg-add-family[hidden] { display: none; }
.reg-add-family-line { margin: 1rem 0 0; }
.reg-family:not(:has(.reg-family-row:not([hidden]))) .reg-add-family-line { margin-top: 0; }
.reg-add-family-line:has(#reg-add-family[hidden]) { display: none; }
@media (max-width: 640px) {
    .reg-family-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "num remove" "first last" "type type";
    }
}
/* Each family member's own answer, under the registrant's: their name on the
   left, the same two buttons (or the tour drop-down) on the right. */
.reg-fam-picks { margin-top: 0.75rem; display: grid; gap: 0.625rem; }
.reg-fam-picks[hidden], .reg-fam-pick[hidden] { display: none; }
.reg-fam-name { flex: 1 1 0; min-width: 7.5rem; margin: 0; font: 600 0.9375rem/1.3 var(--font-ui); color: var(--deep); }
.reg-fam-pick select { flex: 0 1 16.25rem; height: 2.8125rem; min-width: 0; }
.reg-fam-tours { margin-top: 1.375rem; }
.reg-fam-tours .reg-label, .reg-fam-tours .reg-hint { margin: 0; }
.reg-comments { margin-top: 1.375rem; }
.reg-comments .reg-hint { margin: 2px 0 0.5rem; }
.reg-comments textarea { display: block; resize: vertical; min-height: 5.25rem; }
.reg-need-pair { display: flex; gap: 0.5rem; flex: 1 1 0; min-width: 0; }   /* name + phone, one line */
@media (max-width: 520px) {
    .reg-need { flex-wrap: wrap; gap: 0.5rem; min-height: 0; }
    .reg-need .reg-check { flex-basis: 100%; }
    .reg-need .conv-input { flex-basis: 100%; }
    .reg-need-pair { flex-basis: 100%; }
    .reg-need-pair .conv-input { flex-basis: 0; }
    .reg-need + .reg-need { margin-top: 1.125rem; }
}
/* An optional event you tick: box, then title with its (i) button, then the
   hint. The box sits outside the labels so the (i) is not inside one. */
.reg-pick { display: flex; align-items: flex-start; gap: 0.625rem; }
.reg-pick > input { margin-top: 0.3125rem; accent-color: var(--glacier); cursor: pointer; }
.reg-pick label { cursor: pointer; }
.reg-pick .reg-hint { margin-top: 2px; }
.reg-pick-head { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.reg-info {
    flex: none; width: 1.25rem; height: 1.25rem; padding: 0; border: 0; border-radius: 50%;
    display: inline-flex; background: transparent; color: var(--glacier); cursor: pointer;
}
.reg-info svg { display: block; }
.reg-info:hover { color: var(--glacier-dk); }
.reg-pop { width: min(27.5rem, calc(100vw - 2rem)); }
.reg-pop p { margin: 0 0 1.125rem; line-height: 1.55; }
.reg-pop .sponsor-pop-for { margin: 0 0 0.875rem; }
.reg-inline { display: flex; align-items: center; gap: 0.75rem; }
.reg-inline .reg-label { margin: 0; }
.reg-qty { width: 5.5rem; font-variant-numeric: tabular-nums; }
.reg-inline[hidden], .reg-add-guest[hidden] { display: none; }
/* Attend / won't attend: two buttons, nothing chosen to start with. The
   radio itself is visually hidden (still focusable); the chosen button fills,
   and the words carry the meaning, not the colour. */
.reg-yesno { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 0.75rem; }
.reg-yesno .conv-choice {
    position: relative; margin: 0; align-items: center; gap: 0.5rem; padding: 0.5625rem 1rem;
    background: var(--snow); font: 600 0.9375rem/1.3 var(--font-ui); color: var(--deep);
}
.reg-yesno input { position: absolute; left: 0.875rem; bottom: 0; width: 1px; height: 1px; opacity: 0; }
.reg-mark { font-weight: 700; }
.reg-yesno .reg-yes:has(input:checked) { background: var(--ok-ink); border-color: var(--ok-ink); color: #FFFFFF; }
.reg-yesno .reg-no:has(input:checked) { background: var(--slate); border-color: var(--slate); color: #FFFFFF; }
/* An event you answer: title and hint on the left, "I'll attend / I won't
   attend" on the right of the same row; the answers drop underneath when the
   row is too narrow. "Add a guest" sits on its own line below the gala row. */
.reg-event-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.625rem 1rem; }
.reg-event-head { flex: 1 1 0; min-width: 10.625rem; }
.reg-event-head .reg-hint { margin-top: 2px; }
.reg-event-row .reg-yesno { flex: none; margin-top: 0; }
.reg-add-guest-line { margin: 0.75rem 0 0; }
.reg-add-guest-line:has(.reg-add-guest[hidden]) { display: none; }
.reg-add-guest { cursor: pointer; }
.reg-add-guest .reg-for-gala-only { display: none; }
.reg-form:has(input[name="category"][value="gala_only"]:checked) .reg-add-guest .reg-for-gala-only { display: inline; }
#reg-guest-qty { margin-top: 0.875rem; }
/* optional donation: one row of amounts, and the "Other" amount box, which
   shows only while Other is chosen */
.reg-donate { display: grid; grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); gap: 0.625rem; margin-top: 0.875rem; }
.reg-donate-opt {
    margin-bottom: 0; align-items: center; background: var(--snow);
    font: 600 1rem/1.4 var(--font-ui); color: var(--deep); font-variant-numeric: tabular-nums;
}
.reg-donate-other { margin-top: 0.875rem; flex-wrap: wrap; }
.reg-donate-cur { margin-right: -0.375rem; font: 600 1rem/1 var(--font-ui); color: var(--slate); }
.reg-form:not(:has(input[name="donation_choice"][value="other"]:checked)) .reg-donate-other { display: none; }
/* "+$300" beside the gala guest box: guests × ticket price, kept in step by the script */
.reg-qty-cost { font: 400 0.9375rem/1.4 var(--font-ui); color: var(--slate); font-variant-numeric: tabular-nums; }
.reg-qty-cost[hidden], .reg-qty-cost .reg-for-gala-only { display: none; }
.reg-form:has(input[name="category"][value="gala_only"]:checked) .reg-qty-cost .reg-for-gala-only { display: inline; }
.reg-guests { margin-top: 0; padding-top: 1rem; border-top: 1px dashed var(--mist); }
/* one row per guest: the number sits in the same 72px column as the day
   labels above, then first and last name */
.reg-guests[hidden], .reg-guest[hidden] { display: none; }
/* Inside the Evening Gala row, right under "Guest tickets": no rule above it. */
.reg-event-body .reg-guests { margin-top: 0.875rem; padding-top: 0; border-top: 0; }
.reg-guest {
    display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem 1rem; align-items: center;
}
.reg-guest + .reg-guest { margin-top: 0.625rem; }
/* A gala guest: laid out like a family member's row, without the type: the
   label with Remove at its end, then first and last name. */
.reg-guest-row {
    display: grid; gap: 0.375rem 0.5rem; align-items: center;
    grid-template-columns: 1fr 1fr; grid-template-areas: "num remove" "first last";
}
.reg-guest-row + .reg-guest-row { margin-top: 1rem; }
.reg-guests[hidden], .reg-guest-row[hidden] { display: none; }
.reg-guest-row .reg-guest-num { grid-area: num; }
.reg-guest-row input:first-of-type { grid-area: first; }
.reg-guest-row input:last-of-type { grid-area: last; }
.reg-guest-row .conv-input { height: 2.8125rem; min-width: 0; }
.reg-guest-num { font: 600 0.875rem/1.3 var(--font-ui); color: var(--slate); font-variant-numeric: tabular-nums; }

.reg-for-gala-only { display: none; }
.reg-form:has(input[name="category"][value="gala_only"]:checked) .reg-only,
.reg-form:has(input[name="category"][value="gala_only"]:checked) .reg-for-registration { display: none; }
.reg-form:has(input[name="category"][value="gala_only"]:checked) .reg-for-gala-only { display: block; }

/* the total / order summary */
.reg-total {
    margin: 0 0 1.5rem; padding: 1.25rem 1.5rem;
    background: var(--snow); border: 1px solid var(--mist); border-radius: 0.625rem;
    font-family: var(--font-ui);
}
.reg-total-head {
    margin: 0 0 0.625rem;
    font: 700 0.75rem/1.4 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--slate);
}
.reg-receipt .reg-total-head {
    font: 600 1rem/1.4 var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--deep);
}
.reg-total-who { display: block; font-weight: 400; font-size: 0.875rem; color: var(--slate); }
.reg-total-lines { list-style: none; margin: 0; padding: 0; }
.reg-total-lines li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: 0.4375rem 0; border-top: 1px dashed var(--mist);
    font-size: 0.9375rem; color: var(--deep);
}
.reg-total-lines li:first-child { border-top: 0; }
.reg-total-lines li > span:last-child,
.reg-total-sum > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.reg-total-sum {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    margin: 0.375rem 0 0; padding-top: 0.625rem; border-top: 1.5px solid var(--deep);
    font: 700 1.0625rem/1.4 var(--font-ui); color: var(--deep);
}
.reg-total-cur { font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--slate); }
.reg-total-fine { margin: 0.625rem 0 0; font: 400 0.875rem/1.45 var(--font-ui); color: var(--slate); }
/* Checkout summary: day (or question) on the left, answer on the right. */
.reg-facts-card { margin-top: 1rem; }
.reg-facts { margin: 0; font: 400 0.9375rem/1.5 var(--font-ui); color: var(--deep); }
.reg-facts > div { display: grid; grid-template-columns: 10.625rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--mist); }
.reg-facts > div:last-child { border-bottom: 0; }
.reg-facts dt { color: var(--slate); }
.reg-facts dd { margin: 0; overflow-wrap: anywhere; }
.reg-facts-note { margin: 0.625rem 0 0; font: 400 0.875rem/1.5 var(--font-ui); color: var(--slate); }
.reg-facts-next { margin-top: 1.375rem; }
.reg-facts-contact { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--mist); }
@media (max-width: 520px) { .reg-facts > div { grid-template-columns: 1fr; gap: 0; } }

/* messages */
.reg-alert {
    margin: 0 0 1.5rem; padding: 0.75rem 1rem;
    background: var(--alert-bg); border: 1px solid var(--alert-border);
    border-left: 0.25rem solid var(--alert-ink); border-radius: 0 0.625rem 0.625rem 0;
    font: 500 0.9375rem/1.5 var(--font-ui); color: var(--alert-ink);
}
.reg-error { display: block; margin-top: 0.375rem; font: 500 0.875rem/1.4 var(--font-ui); color: var(--alert-ink); }
.conv-input[aria-invalid="true"] { border-color: var(--alert-ink); }
.notice.reg-done { border-left-color: var(--ok-ink); }
.reg-review { margin: 0.75rem 0 0; font: 400 1rem/1.5 var(--font-ui); color: var(--slate); }
.reg-test-flag {
    margin: 0 0 1.25rem; padding: 0.625rem 0.875rem;
    background: var(--glacier-wash); border: 1.5px dashed var(--glacier); border-radius: 0.625rem;
    font: 400 0.9375rem/1.5 var(--font-ui); color: var(--deep);
}

/* checkout: the print button and the email we sent (Geoff, 2026-10-13).
   The preview is set like an email: a header strip (From / To / Subject),
   then the plain-text body with its line breaks kept. */
.reg-actions { margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.reg-print[hidden] { display: none; }
.reg-email { margin: 2.25rem 0 0; }
.reg-email-note { margin: -0.25rem 0 0.875rem; }
.reg-email-card {
    background: var(--snow); border: 1px solid var(--mist); border-radius: 0.625rem;
    overflow: hidden;
}
.reg-email-head {
    margin: 0; padding: 0.75rem 1.25rem;
    background: var(--ice); border-bottom: 1px solid var(--mist);
    font: 400 0.875rem/1.6 var(--font-ui);
}
.reg-email-head div { display: flex; gap: 0.75rem; }
.reg-email-head dt { flex: none; width: 4rem; font-weight: 600; color: var(--slate); }
.reg-email-head dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--deep); }
.reg-email-body {
    padding: 1.125rem 1.25rem; white-space: pre-wrap; overflow-wrap: anywhere;
    font: 400 0.9375rem/1.55 var(--font-body); color: var(--deep);
}

/* checkout: the locked card panel and the paid state */
.reg-card-locked {
    display: flex; align-items: flex-start; gap: 0.875rem;
    padding: 1.125rem 1.25rem; background: var(--ice);
    border: 1.5px dashed #B9C9D0; border-radius: 0.625rem;
    font: 400 0.9375rem/1.5 var(--font-ui); color: var(--slate);
}
.reg-card-locked p { margin: 0; }
/* Helcim's payment form: a frame over the whole page while it is open. */
.conv-notice[hidden] { display: none; }
.pay-frame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 998; }
.reg-card-locked strong { color: var(--deep); }
.reg-card-lock { flex: none; margin-top: 1px; color: var(--glacier); }
.reg-test-cards {
    margin: 0.75rem 0 0; padding: 0 0 0 1.125rem;
    font: 400 0.875rem/1.6 var(--font-ui); color: var(--slate);
}
.reg-test-cards strong { color: var(--deep); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.reg-paid {
    margin: 0 0 1.5rem; padding: 1rem 1.25rem;
    background: var(--ok-bg); border: 1px solid var(--ok-border); border-radius: 0.625rem;
    font-family: var(--font-ui); color: var(--ok-ink);
}
/* "Next: book your room", shown on a paid registration's page */
.reg-next-step {
    margin: 0 0 1.5rem; padding: 1.125rem 1.25rem;
    background: var(--snow); border: 1px solid var(--mist);
    border-left: 0.25rem solid var(--aurora); border-radius: 0 0.625rem 0.625rem 0;
    font: 400 1rem/1.5 var(--font-ui); color: var(--deep);
}
.reg-next-step-head { margin: 0 0 0.375rem; font: 700 1.125rem/1.3 var(--font-display); }
.reg-next-step p { margin: 0; }
.reg-next-step .reg-next-step-note { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--slate); }
.reg-next-step .reg-next-step-action { margin-top: 0.875rem; }
.reg-paid-head { margin: 0 0 0.25rem; font: 700 1.0625rem/1.3 var(--font-ui); }
.reg-paid-ref { margin: 0; font-size: 0.9375rem; }
.reg-paid-ref strong { letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* confirm page */
.reg-title { margin: 0 0 0.5rem; font: 700 clamp(1.75rem, 4vw, 2.25rem)/1.15 var(--font-display); color: var(--deep); }
.reg-lede { margin: 0 0 1.5rem; font-size: 1.125rem; color: var(--slate); }
.reg-next { margin: 0; }
.reg-back { margin: 1.75rem 0 0; font: 400 0.9375rem/1.5 var(--font-ui); }

@media (max-width: 520px) {
    .reg-event { grid-template-columns: minmax(0, 1fr); gap: 0.375rem; }
    .reg-event-day span { display: inline; }
    .reg-guest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .reg-guest-num { grid-column: 1 / -1; }
    .reg-total { padding: 1rem; }
}

/* speakers: a session with no confirmed speaker yet */
.speakers-tba { color: var(--slate); font-style: italic; margin: 0; }
/* Plain-text status after a speaker who isn't confirmed (staff and preview holders only); no pill. */
.candidate-status { margin-left: 0.5rem; font: 600 0.8125rem/1 var(--font-ui); letter-spacing: 0.04em; color: var(--amber-ink); }
.candidate-status[data-status="soft"] { color: var(--glacier-dk); }
.candidate-status[data-status="not-contacted"] { color: var(--slate); }

/* ── program page: day cards & slots ───────────────────────────────────── */

/* ── program: three columns, 30/40/30 (Geoff, 2026-10-13) ─────────────────
   1 (30%): the day and date over the times, all centred.
   2 (40%): the day's theme over the events, centred.
   3 (30%): blank; it only sets the proportions.
   The heading and every row share one column template, so they line up. On
   desktop the day, dot and date share a line; where the first column is too
   narrow for that (tablets), the date drops under the day name and the dot
   hides. Phones stack everything (see the small-screen block). */
/* The line above the program explaining "(optional)": as wide as the day
   cards beneath it. */
.program-note { margin: 0 0 1.25rem; color: var(--slate); }
.day-card {
    margin-bottom: 1.25rem;
    --program-cols: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr);
    --program-gap: 1.5rem;
}
.day-head { margin: 0 0 0.375rem; }
.day-head h3 {
    display: grid; grid-template-columns: var(--program-cols);
    column-gap: var(--program-gap); align-items: baseline;
    margin: 0;
}
.day-head h3 .day-date { grid-column: 1; text-align: center; }
@media (min-width: 641px) and (max-width: 999px) {
    .day-head h3 .day-dot { display: none; }
    .day-head h3 .day-date .day-when { display: block; margin-top: 0.375rem; }
}
.day-head h3 .day-theme { grid-column: 2; text-align: center; }
/* The date inside the day heading keeps the original date style: running-text
   face, regular weight, 14.5px, muted. */
.day-head h3 .day-when {
    font: 400 0.9062rem/1 var(--font-body); letter-spacing: normal;
    color: var(--slate);
}
/* The day's theme (Arrival, Sagas, Solutions, Tours) in Icelandic flag red:
   about 4.9:1 on the white card, fine for this bold 20px text. */
.day-head h3 .day-theme { color: var(--iceland-red); }

.slot {
    display: grid; grid-template-columns: var(--program-cols);
    column-gap: var(--program-gap); row-gap: 0.375rem; align-items: baseline;
    padding: 0.875rem 0;
    border-top: 1px dashed var(--mist);
}
.day-head + .slot { margin-top: 0.75rem; }
.slot-time {
    grid-column: 1;
    text-align: center;
    color: var(--slate);
    font-size: 0.9062rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.slot-what { grid-column: 2; position: relative; min-width: 0; text-align: center; color: var(--deep); font-size: 0.9688rem; }
.slot-what .chip { margin-left: 0.5rem; vertical-align: 2px; }

/* per-event info popover — the title itself is the trigger, hover/focus
   reveals a floating card; no separate icon, no JS on this site. */
.slot-title {
    cursor: pointer;
    color: inherit;            /* it's now an <a> (links to the detail page) —
                                  keep the deep text colour, not browser blue */
    text-decoration: underline dotted;
    text-decoration-color: var(--glacier);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.1875rem;
    border-radius: 0.1875rem;
}
.slot-title:hover, .slot-title:focus-visible { color: var(--glacier-dk); }
.slot-title:focus-visible { outline: 2px solid var(--aurora); outline-offset: 0.1875rem; }
.slot-info-body {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.5rem);
    left: 50%; transform: translateX(-50%);   /* centred under the centred title */
    text-align: left;
    width: max-content;
    max-width: min(20rem, 80vw);
    padding: 0.875rem 1rem;
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: 0.625rem;
    box-shadow: 0 0.875rem 2rem rgba(12, 34, 51, 0.18);
    font-size: 0.9062rem;
    color: var(--slate);
}
/* General sibling (~), not adjacent (+): the popover shows even when the
   summary between the title and the popover contains inline elements (links,
   lang spans) — the adjacent combinator silently missed those slots. */
.slot-title:hover ~ .slot-info-body,
.slot-title:focus ~ .slot-info-body,
.slot-info-body:hover {
    display: block;
}
.slot-info-body p { margin-bottom: 0.625rem; }
.slot-info-body p:last-child { margin-bottom: 0; }
.slot-info-body a { font-weight: 600; }
.slot-info-feature { max-width: min(18.75rem, 80vw); }
.slot-info-feature img {
    width: 100%; max-width: 15rem;
    border-radius: 0.625rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* ── simple fact rows (venue/travel) ───────────────────────────────────── */

.fact-row {
    display: flex; gap: 1.125rem;
    padding: 0.8125rem 0;
    border-top: 1px dashed var(--mist);
}
.fact-row:first-of-type { border-top: 0; padding-top: 0; }
.fact-term { flex: none; width: 8rem; font-weight: 600; font-size: 0.9375rem; }
.fact-desc { color: var(--slate); font-size: 0.9688rem; }

/* ── intro notices ─────────────────────────────────────────────────────── */

.notice {
    background: var(--snow);
    border: 1px solid var(--mist);
    border-left: 0.25rem solid var(--glacier);
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 1rem 1.25rem;
    margin: 0 0 2rem;
    color: var(--slate);
    font-size: 0.9688rem;
}
.notice strong { color: var(--deep); }

/* ── fee table (registration) ──────────────────────────────────────────── */

.fee-wrap {
    overflow-x: auto;
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: 0.625rem;
}
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td {
    padding: 0.8125rem 1.25rem;
    text-align: left;
    font-size: 0.9375rem;
}
.fee-table th {
    font: 700 0.75rem/1.4 var(--font-ui);
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--slate);
    background: var(--ice);
}
.fee-table td { border-top: 1px solid var(--mist); }
.fee-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.fee-table .num-center { text-align: center; }

/* ── speaker cards ──────────────────────────────────────────────────────── */
/* Grouped by scheduled date, then program session, then topic (see
   convention_speakers.html). */

.date-group { margin-bottom: 2rem; }
.date-group:last-child { margin-bottom: 0; }
.date-group-head {
    display: flex; flex-wrap: wrap; align-items: baseline;
    gap: 0.5rem 0.875rem;
    margin: 0 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--mist);
}
.date-group-title {
    font: 700 0.8125rem/1 var(--font-ui);
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--slate);
    margin: 0;
}
/* The day's theme as plain text beside the date (no pill — Geoff, 2026-10-12). */
.date-group-theme { font: 600 0.9375rem/1 var(--font-ui); color: var(--deep); }

.speaker-list { display: flex; flex-direction: column; gap: 1rem; }
.speaker-card { display: flex; gap: 1.125rem; align-items: flex-start; width: 100%; }
.session-time {
    font-weight: 400; text-transform: none; letter-spacing: 0;
    color: var(--slate);
}
.speaker-init {
    flex: none;
    width: 3.5rem; height: 3.5rem;
    border-radius: 50%;
    background: var(--deep);
    color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    font: 600 1.1875rem/1 var(--font-display);
    letter-spacing: 0.02em;
}
.speaker-init-tbc {
    background: var(--amber-bg);
    color: var(--amber-ink);
    border: 1.5px dashed var(--amber-border);
}
.session-tag {
    display: block;
    font: 700 0.75rem/1 var(--font-ui);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--glacier);
    margin: 0 0 0.375rem;
}
.speaker-card .chip { margin-top: 0.25rem; }

/* ── speaker session cards (thematic image + candidate list) ───────────── */
/* One program session (e.g. Literature & Film): a heading, then a card per
   topic. The id is the anchor the program's "See Speakers" links jump to. */
.speaker-section {
    /* Clear the sticky header (two rows, 130px) when jumped to via a #anchor
       from the program, so the session heading lands in view. The header
       grows to three or four rows on phones: see the 640px rule below. */
    scroll-margin-top: 9.25rem;
}
.speaker-section + .speaker-section { margin-top: 2.25rem; }
.speaker-section-head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0.625rem;
    margin: 0 0 0.875rem;
    font: 700 1.375rem/1.2 var(--font-display); color: var(--deep);
}
.speaker-section-head .session-time { font: 400 0.9375rem/1 var(--font-ui); }
.speaker-session {
    display: flex; gap: 1.375rem; align-items: flex-start;
    width: 100%; margin-bottom: 1rem;
}
.speaker-session:last-child { margin-bottom: 0; }
.speaker-session-media { flex: none; width: 12.5rem; }
.speaker-session-media img {
    width: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; border-radius: 0.625rem; display: block;
}
/* Attribution under a card photo that needs one (Creative Commons). */
.speaker-session-credit { margin: 0.375rem 0 0; font-size: 0.7812rem; line-height: 1.4; color: var(--slate); }
.speaker-session-credit a { color: inherit; text-decoration: underline; }
.speaker-session-body { flex: 1 1 auto; min-width: 0; }
.speaker-session-blurb { color: var(--slate); font-size: 0.9688rem; margin: 0 0 0.875rem; }
.candidate-list { list-style: none; margin: 0; padding: 0; }
.candidate { padding: 0.625rem 0; border-top: 1px dashed var(--mist); }
.candidate:first-child { border-top: none; padding-top: 0; }
.candidate-name {
    font: 700 1rem/1.2 var(--font-display); color: var(--deep); margin-right: 0.5rem;
}
.candidate-note { display: block; color: var(--slate); font-size: 0.9062rem; margin-top: 0.1875rem; }
/* A candidate's own links (e.g. a showreel): small, underlined, side by side. */
.candidate-links { display: flex; flex-wrap: wrap; gap: 2px 1rem; margin-top: 0.3125rem; font: 600 0.8438rem/1.4 var(--font-ui); }
.candidate-links a { color: var(--glacier-dk); text-decoration: underline; text-underline-offset: 2px; }
.candidate-links a:hover { color: var(--deep); }
@media (max-width: 640px) {
    .speaker-section { scroll-margin-top: 14rem; }
    .speaker-session { flex-direction: column; gap: 0.875rem; }
    .speaker-session-media { width: 100%; max-width: 20rem; }
}

/* ── footer ────────────────────────────────────────────────────────────── */

/* Sticky footer (Geoff, 2026-10-13): always at the bottom of the window.
   The page is a full-height column so a short page still puts the footer at
   the bottom of the screen; on a long page it pins to the bottom edge while
   you scroll (sticky, like the header at the top) and settles into place at
   the end, so it never covers the last of the content. */
body { display: flex; flex-direction: column; min-height: 100vh; }
#conv-main { flex: 1 0 auto; }
.conv-footer {
    background: var(--deep);
    color: #B9CBD4;
    margin-top: 1.5rem;
    position: sticky;
    bottom: 0;
    z-index: 15;
}
/* One copyright line (the link columns were removed, Geoff 2026-10-12). */
.conv-footer .conv-container { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.conv-footer-bottom {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.375rem 1.5rem;
    font-size: 0.8438rem; color: #7E97A4;
}
/* The Ottawa Tourism acknowledgement: lower right, even when it wraps. */
.conv-footer-credit { margin-left: auto; }


/* ── small screens ─────────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .conv-hero { padding: 3rem 0 2.5rem; }
    .conv-pagehead { padding-top: 2.5rem; }
    .conv-section { padding-bottom: 3rem; }
    .lede { font-size: 1.0938rem; }
    .slot, .fact-row { flex-direction: column; gap: 2px; }
    /* Keep the footer compact on phones. */
    .conv-footer .conv-container { padding-top: 0.625rem; padding-bottom: 0.625rem; }
    .conv-footer-bottom { font-size: 0.7812rem; gap: 2px 1rem; line-height: 1.45; }
    /* Phone header (Geoff, 2026-11-18): the wrapped menu plus the logos took
       a quarter of the screen and stayed pinned. Now only the menu pins, as
       one row you swipe sideways. The header is still the sticky element,
       but pinned 78px ABOVE the top edge, which is exactly the logo row
       (18px padding + 48px logos + 12px gap), so that row scrolls away and
       the menu row stops at the top. The right edge fades to show there is
       more; the layout's script brings the current page's link into view.
       With no menu (the bare checkout page) nothing pins. */
    .conv-header { position: static; }
    .conv-header:has(.conv-nav) { position: sticky; top: -4.875rem; }
    .conv-header .conv-container { padding-bottom: 0.375rem; }
    .conv-nav {
        flex: 0 0 100%; min-width: 0; flex-wrap: nowrap; gap: 0 1.375rem;
        overflow-x: auto; white-space: nowrap; scrollbar-width: none;
        padding-right: 2.25rem;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.25rem), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 2.25rem), transparent);
    }
    .conv-nav::-webkit-scrollbar { display: none; }
    .conv-nav a { flex: none; padding: 0.75rem 2px; }
    /* On a phone the footer is not pinned (Geoff, 2026-11-18): it took room
       from every page, the registration form most of all. It sits at the
       end of the page instead; a short page still has it at the bottom. */
    .conv-footer { position: static; }
    .slot { grid-template-columns: minmax(0, 1fr); }
    .slot-time, .slot-what { grid-column: auto; text-align: left; }
    .day-head h3 { display: block; }
    .day-head h3 .day-dot { display: inline; }
    .day-head h3 .day-date .day-when { display: inline; margin-top: 0; }
    .slot-info-body { left: 0; transform: none; }
    .slot-time, .fact-term { width: auto; }
}

/* ── LARGE SCREENS (>=1600px, >=1920px, >=2400px) ─────────────────────────────
   The same three tiers as the main site (template.css, "LARGE-SCREEN TYPE +
   WIDTH"; Geoff, 2026-11-22): each raises the ROOT text size, and every size
   in this file is in rem (converted from px on that date; 1rem = 16px below
   1600px, so laptops and phones render exactly as before), so text, spacing,
   buttons and the page column all grow together, like a browser zoom. The
   column is also a little wider in rem, in the main site's proportion
   (1320 -> 1440 there, 1080 -> 1180 here), capped at 92vw.

     tier      root    body text   column
     <1600     16px    as set      1080px
     >=1600    18px    x1.125      1327px
     >=1920    20px    x1.25       1475px
     >=2400    22px    x1.375      1622px

   Hairlines (1 to 2px) and the @media breakpoints stay in px. Write new sizes
   in rem (px / 16) so they scale too. */
@media (min-width: 1600px) {
    html { font-size: 112.5%; }
    .conv-container { max-width: min(73.75rem, 92vw); }
}
@media (min-width: 1920px) { html { font-size: 125%; } }
@media (min-width: 2400px) { html { font-size: 137.5%; } }
/* The (i) icons are drawn at 20px in the markup; size them in rem to match. */
.reg-info svg { width: 1.25rem; height: 1.25rem; }

/* ── paper copy (Geoff, 2026-10-13) ────────────────────────────────────────
   Many registrants want proof on paper, so the registration pages print as a
   plain receipt: the brand header, the order, the paid status and the
   footer's "hosted by" line. Forms, buttons, notices, the email preview and
   navigation (.noprint and the layout chrome) are dropped; backgrounds are
   dropped by most browsers, so boxes keep a printed border instead. */
@media print {
    @page { margin: 15mm; }
    html, body { background: #FFFFFF !important; }
    .noprint, .skip-link, .conv-band, .conv-ribbon, .conv-nav,
    .conv-footer-credit { display: none !important; }
    .conv-header { position: static; border-bottom: 1px solid #999999; }
    .conv-header .conv-container { padding-top: 0; padding-bottom: 0.625rem; }
    .conv-pagehead { padding-top: 1rem; }
    .conv-section { padding: 0; }
    .reg-column { max-width: none; }
    .reg-total, .reg-paid, .reg-test-flag { break-inside: avoid; background: #FFFFFF; }
    .reg-total { border-color: #999999; }
    .reg-paid { border: 1.5px solid #000000; color: #000000; }
    .reg-test-flag { border: 1px dashed #000000; color: #000000; }
    body { display: block; min-height: 0; }
    .conv-footer { position: static; margin-top: 1.75rem; background: none; border-top: 1px solid #999999; }
    .conv-footer .conv-container { padding-top: 0.625rem; }
    .conv-footer-bottom { color: #333333; }
    a { color: inherit; text-decoration: none; }
}
