/* =====================================================================
   Event Websites 2027 template — shared chrome + section styles (#107568)
   Ported from the CA CIO Academy prototype (sandbox.erepublic.com, 4/30/26).
   Tokens live here; per-event colours are injected as CSS custom properties
   by the page (see layouts/event2027.blade.php). No framework, no jQuery.
   ===================================================================== */
:root {
    /* brand (2026 brand book via prototype) */
    --navy: #243240;
    --navy-soft: #2d3e4f;
    --teal: #047889;
    --teal-deep: #035e6c;
    --tangerine: #ff5600;
    --highlight: #fdd630;
    --highlight-deep: #e9bf16;
    --mint: #94d8d4;
    --light-mint: #e8f5f4;
    --paper: #fafaf7;
    --paper-2: #f3f1ec;
    --ink: #1a242e;
    --ink-2: #4a5560;
    --ink-3: #5a6671; /* was #6f7b86 — lifted for 4.5:1 on paper-2 (axe, 9/29) */
    --rule: #d8d4cc;
    --rule-soft: #e8e5dd;
    /* per-event (overridden inline when the CMS colours are set) */
    --event-accent: var(--highlight);
    --accent-ink: var(--navy);
    --event-deep: var(--navy);

    /* type */
    --serif: "Roboto Slab", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;

    /* layout */
    --container: 1280px;
    --gutter: 32px;
    --section-y: 96px;
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* overflow-x: clip (not hidden) — hidden makes body the scroll container and silently disables position: sticky on the nav (Erica 10/27) */
html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: clip; }
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- preview banner (only on ?template= previews) ---------- */
.template-preview-banner {
    background: #7a2a00; color: #fff; font-size: 13px; font-weight: 600;
    text-align: center; padding: 6px 16px; letter-spacing: 0.02em;
}
.template-preview-banner a { text-decoration: underline; color: var(--highlight); }

/* ---------- top brand bar ---------- */
.brandbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}
.brandbar-inner {
    max-width: var(--container); margin: 0 auto; padding: 10px var(--gutter);
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap; row-gap: 10px; min-width: 0; width: 100%;
}
.brandbar-inner .er-mark { display: inline-flex; align-items: center; color: #fff; }
.brandbar-inner .er-mark img { height: 22px; width: auto; display: block; }
.er-wordmark { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.er-wordmark b { font-weight: 700; }
.brandbar-pubs { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; row-gap: 10px; min-width: 0; }
.brandbar-inner .sep { flex-shrink: 0; width: 1px; height: 14px; background: rgba(255, 255, 255, 0.2); }
.brandbar-inner a:hover { color: #fff; }
.brandbar-inner .right { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; min-width: 0; }

/* ---------- nav ---------- */
/* The sticky lives on the <header> (brand bar + nav), not the nav: a sticky element can only travel within its parent,
   and the header is exactly as tall as its contents, so the nav never stuck (Erica 10/27 #4). A negative top equal to the
   brand-bar height (measured by event.2027.js into --brandbar-h) lets the hat scroll away while the nav stays pinned. */
.site-header { position: sticky; top: calc(-1 * var(--brandbar-h, 0px)); z-index: 50; }
.nav {
    position: relative;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule-soft);
    transition: box-shadow 0.2s, background 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 14px rgba(36, 50, 64, 0.06); background: rgba(250, 250, 247, 0.97); }
.nav-inner {
    max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter);
    display: flex; align-items: center; gap: 28px; position: relative; width: 100%; min-width: 0;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 0 0 auto; }
.brand-logo { height: 48px; width: auto; max-width: 220px; display: block; object-fit: contain; object-position: left center; flex-shrink: 0; }
.brand-logo.footer { height: 40px; max-width: 200px; }
.brand-logo.footer.on-dark { filter: none; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--navy); white-space: nowrap; letter-spacing: -0.01em; }
.event-tag {
    padding: 4px 10px; background: var(--light-mint); color: var(--teal-deep);
    font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; flex-shrink: 0;
    max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 6px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--navy); background: var(--paper-2); }
.nav-links a.active, .nav-links a[aria-current="true"] { color: var(--teal-deep); }
.nav-cta { background: var(--event-accent); color: var(--accent-ink) !important; padding: 10px 18px !important; font-weight: 600 !important; border-radius: 6px; letter-spacing: 0.01em; }
.nav-links a.nav-cta:hover { background: var(--event-accent); filter: brightness(0.93); color: var(--accent-ink) !important; } /* beats the plain-link hover (paper-2 bg) */
.mobile-menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--navy); }

/* ---------- hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background-color: var(--navy);
    background-image: var(--hero-art, none);
    background-size: cover; background-position: var(--hero-focal, right center); background-repeat: no-repeat; /* 2027 art puts its subject on the right, under the open side of the layout (Nick 11/6) */
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(105deg, rgba(15, 42, 79, 0.85) 0%, rgba(15, 42, 79, 0.55) 50%, rgba(15, 42, 79, 0.25) 80%, rgba(15, 42, 79, 0.5) 100%),
        radial-gradient(ellipse 60% 50% at 15% 90%, rgba(253, 214, 48, 0.16), transparent 60%);
}
.hero[data-layout="no-art"]::before {
    background: linear-gradient(105deg, rgba(4, 120, 137, 0.35) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 15% 90%, rgba(253, 214, 48, 0.16), transparent 60%);
}
.hero[data-layout="left-light"], .hero[data-layout="center-light"] { color: var(--navy); }
.hero[data-layout="left-light"]::before, .hero[data-layout="center-light"]::before {
    background: linear-gradient(105deg, rgba(250, 250, 247, 0.92) 0%, rgba(250, 250, 247, 0.7) 50%, rgba(250, 250, 247, 0.3) 85%);
}
.hero[data-layout="center-dark"] .hero-inner, .hero[data-layout="center-light"] .hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero[data-layout="center-dark"] .hero-text, .hero[data-layout="center-light"] .hero-text { max-width: 860px; margin: 0 auto; }
.hero[data-layout="center-dark"] .hero-lede, .hero[data-layout="center-light"] .hero-lede,
.hero[data-layout="center-dark"] .hero-meta, .hero[data-layout="center-light"] .hero-meta,
.hero[data-layout="center-dark"] .hero-ctas, .hero[data-layout="center-light"] .hero-ctas { justify-content: center; margin-left: auto; margin-right: auto; }
.hero[data-layout="center-dark"] .hero-art, .hero[data-layout="center-light"] .hero-art { display: none; }
.hero[data-layout="image-only"] { background: var(--navy); }
.hero[data-layout="image-only"]::before { display: none; }
.hero[data-layout="image-only"] .hero-inner { display: block; padding: 0; max-width: none; }
.hero[data-layout="image-only"] .hero-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hero[data-layout="image-only"] .hero-art { display: none; }
.hero-legacy-image { display: none; }
.hero[data-layout="image-only"] .hero-legacy-image { display: block; width: 100%; height: auto; }
.hero[data-layout="image-only"] .hero-ctas-fallback { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 24px var(--gutter); }
.hero-ctas-fallback { display: none; }

.hero-text { max-width: 820px; }
.hero-inner {
    position: relative; z-index: 2; max-width: var(--container); width: 100%; margin: 0 auto;
    padding: 96px var(--gutter) 104px; display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 28px; flex-wrap: wrap;
}
.hero[data-layout$="-light"] .hero-eyebrow { color: var(--teal-deep); }
.hero-eyebrow .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--event-accent); display: inline-block; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22); } /* neutral ring so a dark accent (Insider) still reads on navy */
.hero-eyebrow .ed { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.hero h1 {
    font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 76px);
    line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 28px; color: inherit; text-wrap: balance;
}
.hero h1 em, .hero h1 .accent { font-style: italic; color: var(--mint); font-weight: 300; }
.hero[data-layout$="-light"] h1 em { color: var(--teal-deep); }
.hero-lede { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); max-width: 540px; margin: 0 0 40px; } /* only a CMS-entered Tagline shows here, in full (Nick 11/9) - the auto Overview excerpt that made the hero grow is gone */
.hero[data-layout$="-light"] .hero-lede { color: var(--ink-2); }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 36px; padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 36px;
}
.hero[data-layout$="-light"] .hero-meta { border-color: rgba(36, 50, 64, 0.15); }
.hero-meta .item .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin-bottom: 4px; }
.hero[data-layout$="-light"] .hero-meta .item .lbl { color: var(--ink-3); }
.hero-meta .item .val { font-family: var(--serif); font-size: 17px; font-weight: 500; color: inherit; }
.hero-meta .item .val small { font-family: var(--mono); font-size: 11px; opacity: 0.7; margin-left: 6px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-ctas:not(:has(*)) { display: none; } /* unpublished/no-registration events: no empty gap above the partner row */
.hero-note { font-size: 13px; color: rgba(255,255,255,0.7); margin: 14px 0 0; }
/* partner logo row — host systems / associations that used to be baked into the banner (Kelli 11/6) */
.hero-partners { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero[data-layout$="-light"] .hero-partners { border-color: rgba(36, 50, 64, 0.15); }
.hero-ctas:not(:has(*)) + .hero-partners, .hero-ctas:not(:has(*)) + .hero-note + .hero-partners { border-top: 0; padding-top: 0; margin-top: 0; } /* no CTAs → the meta row's rule already separates them */
.hero-partners .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin-bottom: 16px; }
.hero[data-layout$="-light"] .hero-partners .lbl { color: var(--ink-3); }
.hero-partners .logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.hero-partners .logos li { display: flex; align-items: center; }
.hero-partners .logos a { display: flex; align-items: center; opacity: 0.95; transition: opacity 0.15s; }
.hero-partners .logos a:hover { opacity: 1; }
.hero-partners .logos img { display: block; width: auto; height: auto; max-height: 64px; max-width: 240px; object-fit: contain; object-position: left center; } /* max-height, not height: a stacked mark (seal over name) and a wide wordmark get comparable visual weight */
.hero-partners .logos .name { font-family: var(--serif); font-size: 17px; font-weight: 500; color: inherit; }

.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 8px; border: 0;
    font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
    transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
}
.btn-primary { background: var(--event-accent); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.btn-primary:hover { filter: brightness(0.93); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.hero[data-layout$="-light"] .btn-ghost { color: var(--navy); border-color: rgba(36, 50, 64, 0.3); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--rule); padding: 13px 22px; font-size: 14px; }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-arrow { width: 14px; height: 14px; }
.btn svg { flex-shrink: 0; }

.hero-art { position: relative; aspect-ratio: 1/1; max-width: 460px; margin-left: auto; width: 100%; }
.hero-circles { position: absolute; inset: 0; }
.hero-circles svg { width: 100%; height: 100%; display: block; }

/* event stripe (post-event / today) */
.event-stripe { background: var(--event-accent); color: var(--navy); font-weight: 600; font-size: 14px; text-align: center; padding: 10px var(--gutter); }

/* ---------- shared section ---------- */
section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.section { padding: var(--section-y) 0; }
.section-narrow { padding: 72px 0; }
.container { max-width: var(--container); width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.section-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep);
    margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--event-accent); }
.section-title {
    font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1;
    letter-spacing: -0.02em; margin: 0 0 24px; color: var(--navy); text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--teal-deep); font-weight: 300; }
.section-lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }

/* CMS rich text (RichText::sanitize output) */
.rich { font-size: 17px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.rich * { max-width: 100%; }
.rich [style*="font-size"] { font-size: inherit !important; }
.rich [style*="font-family"] { font-family: inherit !important; }
.rich > :first-child { margin-top: 0; }
.rich p { margin: 0 0 20px; }
.rich p:last-child { margin-bottom: 0; }
.rich strong { color: var(--navy); font-weight: 600; }
.rich a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.rich h2, .rich h3, .rich h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.25; margin: 32px 0 12px; letter-spacing: -0.01em; }
.rich h2 { font-size: 28px; } .rich h3 { font-size: 22px; } .rich h4 { font-size: 18px; }
.rich ul, .rich ol { padding-left: 22px; margin: 0 0 20px; }
.rich li { margin-bottom: 6px; }
.rich img { border-radius: 4px; margin: 8px 0 20px; height: auto; }
.rich blockquote { margin: 0 0 20px; padding: 4px 0 4px 20px; border-left: 3px solid var(--event-accent); color: var(--ink-2); font-style: italic; }
.rich table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 20px; }
.rich td, .rich th { border: 1px solid var(--rule-soft); padding: 8px 10px; text-align: left; vertical-align: top; }
.rich iframe { max-width: 100%; }

/* ---------- overview ---------- */
.overview { background: var(--paper); }
.overview-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.overview-grid.single { grid-template-columns: 1fr; }
.overview-grid > *, .venue-grid > *, .contact-grid > *, .advisory-grid > *, .hero-inner > * { min-width: 0; }
.overview-grid.single .overview-body { max-width: 820px; }
.overview-body .rich { font-size: 18px; }
.overview-body .rich p { max-width: 620px; }
.overview-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); margin-top: 32px; }
.overview-stats.stats-3 { grid-template-columns: repeat(3, 1fr); }
.overview-stats .stat { background: var(--paper); padding: 28px 24px; }
.overview-stats .stat .num { font-family: var(--serif); font-size: 44px; font-weight: 400; color: var(--navy); line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.overview-stats .stat .num em { color: var(--teal); font-style: normal; }
.overview-stats .stat .lbl { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

.keynote-quote { background: var(--navy); color: #fff; padding: 48px 44px; position: relative; border-radius: 4px; margin: 0; }
.keynote-quote blockquote { margin: 0; }
.keynote-quote::before { content: ""; position: absolute; top: 32px; right: 32px; width: 40px; height: 40px; background: var(--event-accent); border-radius: 50%; }
.keynote-quote .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 24px; }
.keynote-quote q, .keynote-quote .q { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; font-weight: 300; display: block; margin-bottom: 28px; quotes: "\201C" "\201D"; color: rgba(255, 255, 255, 0.95); }
.keynote-quote .q p { margin: 0 0 14px; }
.keynote-quote .rich a { color: var(--mint); } .keynote-quote .q p:last-child { margin: 0; }
.keynote-quote .attrib { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.keynote-quote .attrib .av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--mint); }
.keynote-quote .attrib .name { font-weight: 600; font-size: 16px; color: #fff; }
.keynote-quote .attrib .role { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }
.overview-video { margin-top: 32px; }
.overview-video h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--navy); margin: 0 0 12px; }
.video-frame { position: relative; aspect-ratio: 16/9; background: var(--navy); border-radius: 6px; overflow: hidden; }
.video-frame iframe, .video-frame button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame button { background: var(--navy) center/cover no-repeat; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; gap: 10px; }
.video-frame button .play { width: 64px; height: 64px; border-radius: 50%; background: var(--event-accent); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- speakers ---------- */
.speakers { background: var(--paper-2); }
.speakers-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.speakers-controls { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
.chip { padding: 8px 16px; font-size: 13px; font-weight: 500; background: transparent; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); transition: all 0.15s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active, .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.featured-speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.featured-speakers.four { grid-template-columns: repeat(4, 1fr); }
.featured-card {
    background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 12px; overflow: hidden; cursor: pointer;
    display: flex; align-items: stretch; transition: transform 0.2s, box-shadow 0.2s; text-align: left; padding: 0; width: 100%;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -20px rgba(36, 50, 64, 0.18); }
.featured-card .photo { width: 100px; min-height: 129px; flex: 0 0 100px; background: var(--light-mint); position: relative; overflow: hidden; }
.featured-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.featured-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(36, 50, 64, 0.35) 100%); }
.featured-card .badge { position: absolute; top: 8px; left: 8px; background: var(--event-accent); color: var(--accent-ink); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 6px; border-radius: 3px; z-index: 1; line-height: 1; }
.featured-card .meta { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; }
.featured-card h3 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin: 0 0 4px; color: var(--navy); letter-spacing: -0.01em; line-height: 1.2; }
.featured-card .role { font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.speaker-card {
    background: var(--paper); border: 1px solid var(--rule-soft); padding: 16px; display: flex; gap: 14px; align-items: start; border-radius: 4px;
    transition: border-color 0.15s, transform 0.15s; cursor: pointer; text-align: left; width: 100%;
}
.speaker-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.speaker-card .photo { width: 64px; height: 64px; border-radius: 50%; background: var(--light-mint); flex-shrink: 0; overflow: hidden; }
.speaker-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.speaker-card h4 { font-family: var(--serif); font-weight: 500; font-size: 15px; margin: 2px 0 4px; color: var(--navy); letter-spacing: -0.005em; }
.speaker-card .role { font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.speaker-card[hidden], .featured-card[hidden] { display: none; }
.speaker-group-title { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin: 40px 0 16px; }
.speaker-group-title:first-child { margin-top: 0; }
.show-more { margin-top: 40px; display: flex; justify-content: center; }
.show-more button { background: var(--paper); color: var(--navy); border: 1px solid var(--rule); padding: 14px 28px; font-weight: 600; font-size: 14px; border-radius: 6px; transition: all 0.15s; }
.show-more button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- agenda ---------- */
.agenda { background: var(--paper); }
.agenda-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 40px; flex-wrap: wrap; }
.agenda-tz { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.day-tabs-bar { position: sticky; top: var(--nav-h); z-index: 5; background: var(--paper); padding: 10px 0 14px; margin: -8px 0 8px; }
.day-tabs { display: inline-flex; background: var(--paper-2); padding: 6px; border-radius: 8px; gap: 4px; flex-wrap: wrap; }
.day-tab { background: transparent; border: 0; padding: 12px 22px; font-weight: 600; font-size: 14px; color: var(--ink-2); border-radius: 5px; display: flex; flex-direction: column; align-items: start; gap: 2px; transition: all 0.2s; }
.day-tab .num { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
.day-tab.active, .day-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.day-tab.active .num, .day-tab[aria-selected="true"] .num { color: var(--mint); }
.day-panel[hidden] { display: none; }
.session-list { border-top: 1px solid var(--rule-soft); }
.session { border-bottom: 1px solid var(--rule-soft); padding: 24px 0; display: grid; grid-template-columns: 130px 1fr auto; gap: 32px; align-items: start; }
.session .time { font-size: 17px; line-height: 1.3; color: var(--navy); font-weight: 600; padding-top: 4px; font-variant-numeric: tabular-nums; }
.session .time .tz { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.session .body { min-width: 0; }
.session .session-type { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 8px; }
.session .session-type.st-keynote { color: #7a6100; }
.session .session-type.st-break, .session .session-type.st-registration, .session .session-type.st-meal, .session .session-type.st-close { color: var(--ink-3); }
.session .session-type .pip { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.session h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 6px; color: var(--navy); letter-spacing: -0.01em; line-height: 1.25; }
.session .subtitle { font-size: 15px; color: var(--ink-2); margin: 0 0 8px; }
.session .room { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 12px; }
.session .room .pin { display: inline-block; margin-right: 6px; opacity: 0.6; }
.session .desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; max-width: 720px; }
.session .desc p { margin: 0 0 10px; }
.session .speakers-line { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; margin-top: 10px; }
.session .speakers-line .sp { color: var(--ink-2); }
.session .speakers-line .sp strong { color: var(--navy); font-weight: 600; }
.session .sponsor-line { font-size: 12px; color: var(--ink-3); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.session .sponsor-line img { max-height: 24px; width: auto; }
.session .sponsor-note { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 4px 0 0; max-width: 720px; }
.session .materials { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.session .materials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--teal-deep); border-radius: 6px; color: var(--teal-deep); font-weight: 600; text-decoration: none; transition: all 0.15s; }
.session .materials a:hover, .session .materials a:focus-visible { background: var(--teal-deep); color: #fff; }
.session.expandable .body > .collapsible { display: none; }
.session.expandable.open .body > .collapsible { display: block; }
.session .toggle { background: transparent; border: 1px solid var(--rule); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all 0.15s; flex-shrink: 0; }
.session .toggle:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.session .toggle svg { transition: transform 0.2s; }
.session.open .toggle svg { transform: rotate(45deg); }
.session-spacer { width: 36px; flex-shrink: 0; }
.concurrent { background: var(--light-mint); border-radius: 8px; padding: 24px; margin-top: 12px; }
.concurrent-head { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.concurrent-head .count { background: var(--teal); color: #fff; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.concurrent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.concurrent-item { background: var(--paper); border: 1px solid rgba(4, 120, 137, 0.15); border-radius: 6px; padding: 18px 20px; cursor: pointer; transition: all 0.15s; }
.concurrent-item:hover { border-color: var(--teal); background: #fff; box-shadow: 0 4px 16px -4px rgba(4, 120, 137, 0.15); }
.concurrent-item h4 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin: 0 0 4px; color: var(--navy); letter-spacing: -0.005em; line-height: 1.3; }
.concurrent-item .room-mini { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-bottom: 8px; }
.concurrent-item .preview { font-size: 13px; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.concurrent-item .preview p { margin: 0 0 8px; }
.concurrent-item.expanded { grid-column: 1 / -1; background: #fff; border-color: var(--teal); }
.concurrent-item.expanded .preview { -webkit-line-clamp: unset; line-clamp: unset; display: block; margin-bottom: 14px; }
.concurrent-item .speakers-line { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; margin-top: 10px; }
.concurrent-item.expanded .speakers-line { padding-top: 12px; border-top: 1px solid var(--rule-soft); }
.concurrent-item .speakers-line .sp strong { color: var(--navy); }
.agenda-html { max-width: 900px; }
.agenda-disclaimer { font-size: 13px; color: var(--ink-3); margin-top: 28px; max-width: 720px; }

/* ---------- advisory board ---------- */
.advisory { background: var(--paper-2); }
.advisory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 16px; }
.advisory-col h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.advisory-col .rich { font-size: 15px; }
.advisory-col .rich p { margin-bottom: 14px; break-inside: avoid; }
.advisory-col.many .rich { columns: 2; column-gap: 32px; }
.advisory-col .rich ul { list-style: none; padding: 0; }
.advisory-col .rich li { padding: 8px 0; border-bottom: 1px solid var(--rule-soft); margin: 0; }

/* ---------- sponsors ---------- */
.sponsors { background: var(--navy); color: #fff; }
.sponsors .section-eyebrow { color: var(--mint); }
.sponsors .section-title { color: #fff; }
.sponsors .section-title em { color: var(--mint); }
.sponsors .section-lede { color: rgba(255, 255, 255, 0.7); }
.sponsors-header { margin-bottom: 56px; }
/* webinars show only the small heading: the gap that sat under the large title would leave it floating */
.sponsors-header.eyebrow-only { margin-bottom: 20px; }
.sponsors-header.eyebrow-only .section-eyebrow { margin-bottom: 0; }
.tier { margin-bottom: 48px; }
.tier-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; gap: 12px; }
.tier-label .count { font-family: var(--mono); color: rgba(255, 255, 255, 0.7); font-weight: 500; letter-spacing: 0.02em; font-size: 11px; }
/* One grid for every tier (Nick 10/20): 5 across on desktop, every tile the same size whatever the
   tier or how many logos it holds — a tier of three shows three tiles at the same size, left-aligned.
   The size-* classes from SponsorGrouper are still emitted but no longer change the layout. */
.sponsor-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sponsor-tile {
    position: relative; background: #fff; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
    padding: 20px 22px; border-radius: 4px; transition: transform 0.2s; min-width: 0;
}
.sponsor-tile:hover { transform: translateY(-2px); }
.sponsor-tile .logo-box { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.sponsor-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-tile .sponsor-name { font-family: var(--serif); font-size: 15px; color: var(--navy); text-align: center; }
/* captions (merged-row tier name, or a folded "(Booth)" variant) sit at the foot of the same tile */
.sponsor-tile:has(.tier-caption) { padding-bottom: 34px; }
.sponsor-tile .tier-caption {
    position: absolute; left: 10px; right: 10px; bottom: 9px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-3); text-align: center; line-height: 1.25;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sponsor-grid.collapsed .sponsor-tile:nth-child(n+26) { display: none; } /* "Show all" keeps the first five rows */
.tier .show-more { margin-top: 20px; }
.tier .show-more button { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.sponsor-cta { margin-top: 56px; padding: 32px 36px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sponsor-cta h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 6px; color: #fff; }
.sponsor-cta p { color: rgba(255, 255, 255, 0.78); margin: 0; font-size: 14px; }

/* ---------- venue ---------- */
.venue { background: var(--paper); }
.venue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; }
.venue-grid.single { grid-template-columns: 1fr; }
.venue-info .addr { line-height: 1.7; color: var(--ink-2); font-size: 15px; margin: 0 0 28px; }
.venue-info .addr strong { color: var(--navy); display: block; margin-bottom: 4px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.venue-info .addr a { color: var(--teal-deep); }
.venue-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; margin-bottom: 32px; }
.venue-features .feat .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.venue-features .feat .val { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.venue-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.venue-hotel { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--rule-soft); }
.venue-hotel h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--navy); margin: 0 0 20px; }
.venue-hotel h3 + .venue-hotel-grid + h3 { margin-top: 36px; }
.venue-hotel-grid { display: grid; gap: 16px; }
.venue-hotel-grid.cols-1 { grid-template-columns: 1fr; }
.venue-hotel-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.venue-hotel-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.venue-hotel-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.venue-hotel-block { background: var(--paper-2); border-radius: 8px; padding: 27px 29px; min-width: 0; }
.venue-hotel-block h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 10px; }
.venue-hotel-block .rich { font-size: 15px; line-height: 1.6; }
.venue-hotel-block .rich p:first-child { margin-top: 0; }
.venue-hotel-block .rich p:last-child { margin-bottom: 0; }
.venue-hotel-grid.cols-1 .venue-hotel-block .rich { columns: 2; column-gap: 40px; } /* unstructured copy still reads short */
/* square map, fixed — it no longer stretches with the text column (Nick 10/20) */
.venue-map { background: var(--navy-soft); border-radius: 4px; position: relative; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; max-width: 440px; display: flex; align-items: center; justify-content: center; }
.venue-map-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.venue-map-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 35%, rgba(36, 50, 64, 0.12) 100%); }
.venue-map .pin-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
.venue-map .pin-label { position: absolute; left: 50%; top: calc(50% + 56px); transform: translateX(-50%); z-index: 1; }
.venue-map .pin-ring { width: 64px; height: 64px; border-radius: 50%; background: var(--event-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(253, 214, 48, 0.3), 0 12px 30px rgba(0, 0, 0, 0.2); }
.venue-map .pin-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid #fff; opacity: 0.3; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .venue-map .pin-ring::after { animation: none; } }
.venue-map .pin-ring .inner { width: 14px; height: 14px; background: #fff; border-radius: 50%; }
.venue-map .pin-label { background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 4px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); max-width: 260px; text-align: center; }

/* ---------- contact ---------- */
.contact { background: var(--paper-2); }
.contact-head h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 16px; color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; margin-bottom: 8px; }
.contact-grid.with-coordinator { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.contact-info .rich { font-size: 16px; color: var(--ink-2); max-width: 760px; }
.contact-info .rich h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 12px; color: var(--navy); }
.contact-info .rich h3:first-child { margin-top: 0; }
.contact-cards-title { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--navy); margin: 36px 0 0; }
.contact-cards { display: grid; gap: 16px; margin-top: 16px; }
.contact-cards.cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.contact-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-cards .contact-block { background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 8px; padding: 27px 29px; min-width: 0; }
/* the card title is the team's own question line ("Need help registering?") — sentence case, bold, not the eyebrow treatment (Nick 10/20) */
.contact-cards .contact-block .lbl { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--navy); line-height: 1.4; margin-bottom: 10px; }
.contact-cards .contact-block .rich { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.contact-cards .contact-block .rich p { margin: 0; }
.contact-cards .contact-block .rich a { color: var(--teal-deep); font-weight: 600; }
.contact-rest { margin-top: 24px; max-width: 760px; font-size: 15px; }
.contact-block .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.contact-block h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0 0 4px; color: var(--navy); }
.contact-block .role-mini { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.contact-block a { color: var(--teal-deep); font-size: 14px; font-weight: 500; word-break: break-all; }
.contact-block a:hover { text-decoration: underline; }
.contact-disclaimer { font-size: 12px; color: var(--ink-3); margin-top: 40px; max-width: 900px; line-height: 1.5; }

/* ---------- post-event band ---------- */
.post-event { background: var(--light-mint); }
.post-event .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.post-event h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); margin: 0 0 8px; }
.post-event .rich { font-size: 15px; color: var(--ink-2); max-width: 640px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 56px 0 32px; font-size: 13px; }
.site-footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.site-footer h5 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .about { margin: 0; line-height: 1.6; }
.site-footer .footer-logo { margin-bottom: 18px; }
.site-footer .copyright a { color: rgba(255,255,255,0.75); }
.site-footer .copyright { margin-top: 48px; padding: 24px var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: var(--container); margin-left: auto; margin-right: auto; }

/* ---------- modal (speaker bio) ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(36, 50, 64, 0.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn 0.2s ease; }
.modal-backdrop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.speaker-modal { background: var(--paper); border-radius: 8px; width: 100%; max-width: 720px; max-height: 88vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); animation: slideUp 0.25s ease; }
.speaker-modal-head { position: relative; padding: 32px; display: flex; gap: 24px; border-bottom: 1px solid var(--rule-soft); }
.speaker-modal-head .photo { width: 120px; height: 120px; border-radius: 50%; background: var(--mint) center top / cover no-repeat; flex-shrink: 0; }
.speaker-modal-head h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 6px; letter-spacing: -0.01em; color: var(--navy); }
.speaker-modal-head .role { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.speaker-modal-head .close-btn { position: absolute; top: 18px; right: 18px; background: var(--paper-2); border: 0; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); font-size: 18px; }
.speaker-modal-head .close-btn:hover { background: var(--navy); color: #fff; }
.speaker-modal-body { padding: 28px 32px 36px; font-size: 15px; line-height: 1.65; color: var(--ink); }
.speaker-modal-body p { margin: 0 0 14px; }
.speaker-modal-body .empty { color: var(--ink-3); font-style: italic; }
body.modal-open { overflow: hidden; }

/* ---------- responsive ---------- */
/* ---------- event listing (Phase 3) ---------- */
.listing-hero .hero-inner { padding: 72px var(--gutter); }
.listing-hero h1 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 20px; }
.listing-hero .hero-lede { max-width: 680px; margin-bottom: 0; } /* nothing sits under the lede now — even hero padding (Nick 9/29) */
.listing-tabs { display: none; background: var(--paper); border-bottom: 1px solid var(--rule-soft); } /* phones only — see the 1100px query */
.segmented { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented a {
    display: inline-block; padding: 18px 16px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2);
    border-bottom: 3px solid transparent; white-space: nowrap; transition: color 0.15s, border-color 0.15s;
}
.segmented a:hover { color: var(--navy); }
.segmented a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--event-accent); }
.listing { padding-top: 48px; }
.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.listing-main { min-width: 0; }
.listing-filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.filter-selects { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-selects .select, .filter-selects .search { position: relative; display: inline-flex; align-items: center; }
.filter-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.filter-toggle a {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color 0.15s, background-color 0.15s;
}
.filter-toggle a:hover { color: var(--navy); }
.filter-toggle a[aria-current="page"] { background: var(--navy); color: #fff; }
.filter-toggle a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.filter-selects select, .filter-selects input[type="search"] {
    font-family: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule);
    border-radius: 8px; padding: 10px 14px; min-height: 42px; appearance: none; -webkit-appearance: none;
}
.filter-selects select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a5560' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.filter-selects .search svg { position: absolute; left: 12px; color: var(--ink-3); pointer-events: none; }
.filter-selects .search { flex: 1 1 200px; }
.filter-selects input[type="search"] { padding-left: 38px; width: 100%; min-width: 200px; }
.filter-selects input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.filter-selects select:focus-visible, .filter-selects input:focus-visible { border-color: var(--teal); outline-offset: 0; }
.filter-apply { padding: 10px 18px; min-height: 42px; }
html.js .filter-apply { display: none; }
.filter-reset { font-size: 13px; font-weight: 600; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
/* ---------- featured event band (listing) ---------- */
.listing-featured { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 10px; overflow: hidden; background: var(--navy); color: #fff; margin: 0 0 32px; position: relative; }
.listing-featured.has-art { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 300px; }
.listing-featured.text-only { border-left: 6px solid var(--feat-accent); }
.listing-featured[hidden] { display: none; }
.feat-art { display: block; min-height: 300px; background-size: cover; background-position: right center; } /* same art as the hero: subject sits on the right */
.feat-body { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.listing-featured.text-only .feat-body { padding: 30px 38px; }
.feat-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--feat-accent); margin-bottom: 14px; }
.feat-title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.feat-title a { color: #fff; text-decoration: none; }
.feat-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feat-meta { color: rgba(255, 255, 255, 0.78); font-size: 14px; margin: 0; }
.feat-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.feat-actions .btn-accent { background: var(--feat-accent); color: var(--feat-ink, #fff); font-weight: 700; padding: 11px 18px; border-radius: 4px; font-size: 14px; text-decoration: none; }
.feat-actions .btn-accent:hover { filter: brightness(0.93); }

.listing-count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 28px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft); }
.month-group { margin-bottom: 40px; }
.month-group[hidden] { display: none; }
html.js .month-group.collapsed { display: none; } /* later months until "Show all" — all cards are still in the HTML */
.listing-more { margin: 8px 0 32px; }
html:not(.js) .listing-more { display: none; }
.month-heading { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin: 0 0 14px; letter-spacing: -0.01em; }
.event-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.event-card {
    position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 20px; align-items: center;
    padding: 18px 20px; background: #fff; border: 1px solid var(--rule-soft); border-radius: 12px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.event-card[hidden] { display: none; }
.event-card:not(.no-link):hover { border-color: var(--rule); box-shadow: 0 10px 24px -14px rgba(36, 50, 64, 0.25); transform: translateY(-1px); }
.event-card:has(.event-card-title a:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.event-card.no-link { background: var(--paper-2); }
.event-card.no-link .event-card-title { color: var(--ink-2); }
.date-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch;
    min-height: 64px; padding: 8px 4px; border-radius: 8px; background: var(--light-mint); color: var(--teal-deep); text-align: center;
}
.event-card.pending .date-tile { background: var(--paper-2); color: var(--ink-3); }
.date-tile .m { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.date-tile .d { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.date-tile .d.tba { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; }
.event-card-body { min-width: 0; }
.event-card-title { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--navy); margin: 0 0 4px; letter-spacing: -0.01em; }
.event-card-title a { color: inherit; }
.event-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; } /* whole row is the link */
.event-card-meta { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.event-card-meta .dot { color: var(--ink-3); }
.event-card-tags { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.brand-chip, .badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; line-height: 1.4; }
/* brand chips: --chip is the brand colour from config (GOVTECH #f1722c · GOVERNING #ed202f · CDE #07c58f · CDG #5491fa, Nick 9/29);
   a solid dot carries the brand colour, the text is the colour darkened so every chip clears 4.5:1 on its tint. */
.brand-chip { --chip: #6f7b86; background: color-mix(in srgb, var(--chip) 12%, white); color: color-mix(in srgb, var(--chip) 55%, black); border: 1px solid color-mix(in srgb, var(--chip) 30%, white); display: inline-flex; align-items: center; gap: 6px; }
.brand-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--chip); flex-shrink: 0; }
.badge { background: var(--navy); color: #fff; }
.event-card-arrow { color: var(--ink-3); display: inline-flex; transition: color 0.15s, transform 0.15s; }
.event-card-arrow svg { width: 18px; height: 18px; }
.event-card:hover .event-card-arrow { color: var(--teal-deep); transform: translateX(3px); }
.listing-empty { padding: 32px; text-align: center; background: var(--paper-2); border-radius: 12px; color: var(--ink-2); font-size: 16px; }
.listing-empty[hidden] { display: none; }
.listing-note { font-size: 13px; color: var(--ink-3); margin: 24px 0 0; }
/* ---------- webinars listing + detail (#116522, Phase 3) ---------- */
/* a webinar row is an event row with a 1200x630 thumbnail where the date tile sits */
.event-card.webinar-card { grid-template-columns: 172px minmax(0, 1fr) 24px; }
.webinar-thumb { aspect-ratio: 1200 / 630; border-radius: 8px; overflow: hidden; background: var(--navy); align-self: center; }
.webinar-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.webinar-thumb.is-placeholder img { object-position: right center; } /* placeholder art: subject on the right, as in the hero */
.badge-live { background: #c8102e; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.badge-soft { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--rule-soft); }
.topic-chip { display: inline-block; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--rule); line-height: 1.5; }
.today-group .month-heading { display: flex; align-items: center; gap: 10px; }
.today-group .month-heading::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--event-accent); }
/* detail page foot: second CTA + share row, then related webinars */
.webinar-more { background: var(--paper-2); }
.webinar-more-bar { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.webinar-more-cta { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.webinar-more-cta .section-title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.webinar-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.webinar-share .lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.webinar-share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.webinar-share a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--navy); }
.webinar-share a:hover { border-color: var(--navy); }
.webinar-more-image { display: block; flex: 0 0 260px; max-width: 260px; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(36, 50, 64, 0.35); }
.webinar-more-image img { display: block; width: 100%; height: auto; }
.webinar-more-cta.has-image { flex-wrap: nowrap; }
.webinar-more-cta.has-image .section-title { max-width: 18ch; }
/* Overview on a webinar with no quote: nothing sits in the right column, so the copy uses the full reading width */
.overview-grid.single.wide .overview-body { max-width: 880px; }
.overview-grid.single.wide .overview-body .rich p { max-width: none; }
/* webinar filter row: Live | On-Demand, brand, topic and year share the first row; search always has the second row
   to itself so it sits in the same place on both views (Nick 11/17) */
.webinar-filters .filter-selects .select select { max-width: 210px; text-overflow: ellipsis; }
.webinar-filters .filter-selects .search { flex: 1 1 100%; }
.webinar-related { margin-top: 48px; }
.event-card.related-card { grid-template-columns: minmax(0, 1fr) 24px; }
@media (max-width: 640px) {
    /* phones: the image runs full width on top, the text sits under it (Nick 11/17) */
    .event-card.webinar-card { grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
    .event-card.webinar-card .webinar-thumb { width: 100%; }
    .webinar-filters .filter-selects .select select { max-width: none; }
    .webinar-more-bar { flex-direction: column; align-items: flex-start; }
    .webinar-more-cta.has-image { flex-wrap: wrap; }
    .webinar-more-image { flex-basis: 100%; max-width: 100%; }
    .webinar-more-cta.has-image .section-title { max-width: none; }
    .event-card.related-card { grid-template-columns: minmax(0, 1fr); }
}
/* right rail */
.listing-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--nav-h) + 24px); }
.side-block { padding-top: 24px; border-top: 1px solid var(--rule-soft); }
.side-block:first-child { padding-top: 0; border-top: 0; }
.side-block p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.side-block p a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.side-block .btn { width: 100%; justify-content: center; }
.side-title { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--navy); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.side-caption { font-size: 14px; font-weight: 600; color: var(--ink); margin: 10px 0 0 !important; }
.side-video .video-frame button { background-size: cover; background-position: center; }
.side-video .video-frame button .play { width: 52px; height: 52px; }
.side-ad img { width: 100%; max-width: 300px; height: auto; border-radius: 8px; }
.side-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.side-list .side-month { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); margin-top: 6px; }
.side-list li:not(.side-month) { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; }
.side-list li a { color: var(--navy) !important; text-decoration: none !important; font-weight: 500; }
.side-list li a:hover { text-decoration: underline !important; }
.side-list .side-date { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; padding: 64px 24px 72px; gap: 48px; }
    .hero-art { max-width: 320px; margin-left: auto; margin-right: auto; }
    .overview-grid, .venue-grid, .contact-grid, .contact-grid.with-coordinator, .advisory-grid { grid-template-columns: 1fr; gap: 40px; }
    .venue-map { max-width: none; aspect-ratio: 16 / 10; }
    .venue-hotel-grid.cols-3, .venue-hotel-grid.cols-4, .contact-cards.cols-3, .contact-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advisory-col.many .rich { columns: 2; }
    .overview .keynote-quote { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; padding: 40px max(24px, env(safe-area-inset-left, 0px)) 40px max(24px, env(safe-area-inset-right, 0px)); }
    /* a full-bleed quote that ends the section sits flush against the next band */
    .overview-grid > div:last-child > .keynote-quote:last-child { margin-bottom: calc(-1 * var(--section-y)); }
    .featured-speakers, .featured-speakers.four { grid-template-columns: 1fr 1fr; }
    .speaker-grid { grid-template-columns: 1fr 1fr; }
    .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .session { grid-template-columns: 1fr 40px; gap: 12px 14px; align-items: start; }
    .session > .time { grid-column: 1 / -1; padding-top: 0; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--rule-soft); }
    .session .time .tz { display: inline; margin-left: 8px; }
    .session > .body { grid-column: 1; min-width: 0; }
    .session > .toggle, .session > .session-spacer { grid-column: 2; justify-self: end; align-self: start; }
    .agenda .concurrent { width: 100vw; max-width: 100vw; margin-left: calc(-1 * var(--gutter)); border-radius: 0; padding: 24px max(var(--gutter), env(safe-area-inset-left)) 24px max(var(--gutter), env(safe-area-inset-right)); }
    .concurrent-grid { grid-template-columns: 1fr; }
    .concurrent-item.expanded { grid-column: auto; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 16px; border-bottom: 1px solid var(--rule-soft); gap: 0; align-items: stretch; box-shadow: 0 16px 30px -10px rgba(36,50,64,0.2); }
    .nav-links.open a { padding: 12px 14px; }
    .nav-links.open .nav-cta { display: inline-flex; margin-top: 8px; justify-content: center; }
    .mobile-menu-btn { display: block; margin-left: auto; }
    .nav-cta { display: none; }
    .speakers-header { flex-direction: column; align-items: start; }
    .site-footer-inner { grid-template-columns: 1fr 1fr; }
    .listing-tabs { display: block; } /* the nav links are behind the hamburger here */
    .listing-grid { grid-template-columns: 1fr; gap: 48px; }
    .listing-side { position: static; }
    .listing-side .side-block .btn { width: auto; }
}
@media (max-width: 640px) {
    :root { --gutter: 30px; --section-y: 30px; }
    .brandbar-inner { padding: 10px 16px; justify-content: space-between; align-items: center; }
    .brandbar-pubs, .brandbar-subscribe { display: none; }
    .brandbar-inner .right { margin-left: 0; width: auto; justify-content: flex-end; gap: 0; }
    .nav-inner { padding: 12px 16px; gap: 12px; }
    .event-tag { display: none; }
    .hero-inner { padding: 30px; }
    .hero-meta { gap: 20px 28px; }
    .featured-speakers, .featured-speakers.four, .speaker-grid { grid-template-columns: 1fr; }
    .overview-stats, .overview-stats.stats-3, .venue-features { grid-template-columns: 1fr; }
    .venue-hotel-grid, .venue-hotel-grid.cols-2, .venue-hotel-grid.cols-3, .venue-hotel-grid.cols-4, .contact-cards, .contact-cards.cols-2, .contact-cards.cols-3, .contact-cards.cols-4 { grid-template-columns: 1fr; }
    .venue-hotel-grid.cols-1 .venue-hotel-block .rich { columns: 1; }
    .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sponsor-tile { padding: 14px 16px; }
    .sponsor-tile:has(.tier-caption) { padding-bottom: 30px; }
    .site-footer-inner { grid-template-columns: 1fr; }
    .keynote-quote { padding: 32px 30px; }
    .speakers-header { margin-bottom: 20px; }
    .featured-speakers, .featured-speakers.four { margin-bottom: 20px; }
    .speaker-modal-head { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px; }
    .speaker-modal-head > div { width: 100%; }
    .speaker-modal-head .photo { width: 96px; height: 96px; }
    .speaker-modal-head h2 { font-size: 26px; padding-right: 40px; }
    .speaker-modal-body { padding: 20px 24px 28px; }
    .advisory-col.many .rich { columns: 1; }
    .btn { width: 100%; justify-content: center; }
    .hero-ctas, .venue-actions { flex-direction: column; align-items: stretch; }
    /* phones: the art is centred (its subject lands behind the text) with a heavier, more even scrim for legibility (Nick 11/9) */
    .hero { background-position: var(--hero-focal, center); }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(15, 42, 79, 0.82) 0%, rgba(15, 42, 79, 0.72) 60%, rgba(15, 42, 79, 0.86) 100%),
            radial-gradient(ellipse 60% 50% at 15% 90%, rgba(253, 214, 48, 0.1), transparent 60%);
    }
    .hero-lede { font-size: 17px; margin-bottom: 28px; }
    /* partner logos: an even 3-up grid instead of wrapping into ragged rows; each cell is a fixed-height box the logo fits inside */
    .hero-partners { margin-top: 36px; padding-top: 24px; }
    .hero-partners .logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; align-items: center; }
    .hero-partners .logos li, .hero-partners .logos a { justify-content: flex-start; width: 100%; }
    .hero-partners .logos img { max-height: 44px; max-width: 100%; }
    .hero-partners .logos li:has(.name) { grid-column: 1 / -1; } /* a text-only partner takes the full row instead of a third of it */
    .hero-partners .logos .name { font-size: 15px; }
    .listing-hero .hero-inner { padding: 30px; }
    .listing { padding-top: 24px; }
    .segmented a { padding: 14px 12px 12px; font-size: 13px; }
    .filter-selects .select, .filter-selects .search, .filter-selects select, .filter-selects input[type="search"] { width: 100%; }
    .filter-toggle { width: 100%; }
    .listing-featured.has-art { grid-template-columns: minmax(0, 1fr); }
    .feat-art { min-height: 180px; }
    .feat-body, .listing-featured.text-only .feat-body { padding: 22px 20px; }
    .feat-title { font-size: 24px; }
    .filter-toggle a { flex: 1 1 0; justify-content: center; }
    .filter-selects .select { display: flex; }
    .filter-selects select { width: 100%; }
    .event-card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; }
    .event-card-arrow { display: none; }
    .date-tile .d { font-size: 18px; }
    .event-card-title { font-size: 17px; }
    .listing-side .side-block .btn { width: 100%; }
}
