:root {
    --site-border: #dfe3ea;
    --site-soft-bg: #f7f7fb;
    --site-muted: #5c6370;
    --site-primary: #12355b;
    --site-primary-hover: #0b2545;
    --site-heading: #111827;
    --site-accent: #2563eb;
    --calendar-dot-0: var(--site-primary);
    --calendar-dot-1: #059669;
    --calendar-dot-2: #d97706;
    --site-button-radius: 15px;
    /* Primary actions: INFORMS navy stack (calendar Details + signup submits) */
    --chapter-action-fg: #f8fafc;
    --chapter-action-border: #1a5080;
    --chapter-action-bg: linear-gradient(165deg, #1a4f7a 0%, #12355b 48%, #0e2845 100%);
    --chapter-action-bg-solid: #12355b;
    --chapter-action-hover-bg: linear-gradient(165deg, #2563a3 0%, #164a72 45%, #12355b 100%);
    --chapter-action-hover-border: #3d7eb8;
    --chapter-action-active-bg: #0b2545;
    --chapter-action-shadow: 0 4px 16px rgba(14, 40, 69, 0.32);
    --chapter-action-shadow-hover: 0 6px 20px rgba(14, 40, 69, 0.38);
    --chapter-action-focus-ring: rgba(61, 126, 184, 0.45);
    /* Event detail, past archive, events index (calendar): one column width */
    --event-page-max-width: 1080px;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a[role="button"] {
    border-radius: var(--site-button-radius) !important;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow:
        0 6px 16px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
    transition:
        transform 0.12s ease,
        box-shadow 0.16s ease,
        background-image 0.16s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
a[role="button"]:hover {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 100%);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
a[role="button"]:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.22),
        0 6px 16px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

html[data-theme="light"] {
    color-scheme: light;
    --pico-primary: #12355b;
    --pico-primary-background: #12355b;
    --pico-primary-border: #0f2f50;
    --pico-primary-underline: rgba(18, 53, 91, 0.45);
    --pico-primary-hover: #0b2545;
    --pico-primary-hover-background: #0b2545;
    --pico-primary-hover-border: #081f3a;
    --pico-primary-hover-underline: var(--pico-primary-hover);
    --pico-primary-focus: rgba(18, 53, 91, 0.28);
    --pico-primary-inverse: #fff;
}

body {
    background: #f7f7fb;
    min-height: 100vh;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.35rem;
    z-index: 100;
    padding: 0.5rem 0.85rem;
    background: #fff;
    color: var(--site-primary);
    font-weight: 600;
    border: 1px solid var(--site-border);
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.skip-link:focus {
    left: 0.75rem;
    outline: 2px solid var(--site-primary);
    outline-offset: 2px;
}

main.container {
    margin-top: 0.75rem;
    margin-bottom: 3rem;
}

.subtitle {
    color: var(--site-muted);
    font-size: 1.05rem;
    line-height: 1.55;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Fixed header bar height; logo uses max-height to fill the row (minus padding). */
.site-header {
    --site-header-h: 3.65rem;
    --site-header-pad-y: 0.22rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--site-border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
}

.site-header nav.site-nav.site-nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 2.25rem;
    box-sizing: border-box;
    min-height: var(--site-header-h);
    max-height: var(--site-header-h);
    padding-block: var(--site-header-pad-y);
    max-width: 1320px;
    margin-inline: auto;
}

@media (min-width: 701px) {
    .site-header nav.site-nav.site-nav-bar {
        flex-wrap: nowrap;
    }
}

.site-header nav.site-nav.site-nav-bar > ul:first-of-type {
    margin: 0;
    flex: 0 0 auto;
}

.site-nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-nav-end {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.site-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-links a {
    font-weight: 500;
    font-size: 0.84rem;
    letter-spacing: 0.005em;
    text-decoration: none;
    color: #334155;
    padding: 0.18rem 0;
    border-radius: 0;
    border-bottom: 1.5px solid transparent;
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        opacity 0.18s ease;
}

.site-nav-links a:hover {
    color: #1e3a5f;
    text-decoration: none;
    background: transparent;
    border-bottom-color: rgba(30, 58, 95, 0.2);
}

.site-nav-links a.is-active {
    color: #1f3f62;
    text-decoration: none;
    background: transparent;
    border-bottom-color: rgba(31, 63, 98, 0.48);
}

.site-nav-links a:focus-visible {
    outline: none;
    box-shadow: 0 2px 0 rgba(18, 53, 91, 0.24);
    background: transparent;
    border-bottom-color: rgba(18, 53, 91, 0.24);
}

.site-nav-mobile a {
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--site-heading);
}

.site-nav-mobile a:hover {
    color: var(--site-primary);
    text-decoration: underline;
}

.site-nav-mobile a.is-active {
    color: var(--site-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-nav-end a[role="button"],
.site-nav-mobile a[role="button"] {
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.site-nav-mobile {
    display: none;
    margin: 0;
}

.site-nav-mobile summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.site-nav-mobile summary::-webkit-details-marker {
    display: none;
}

.site-nav-mobile ul {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.site-nav-mobile li {
    margin: 0.35rem 0;
}

.site-brand {
    text-decoration: none;
    color: inherit;
}

.site-brand--logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-brand__logo {
    display: block;
    height: auto;
    width: auto;
    /* As tall as the fixed header inner row (header height minus vertical padding). */
    max-height: calc(var(--site-header-h) - 2 * var(--site-header-pad-y) - 0.06rem);
    max-width: min(64vw, 23rem);
    object-fit: contain;
    object-position: left center;
    filter: saturate(1.05) contrast(1.02);
}

.site-brand--logo.is-active .site-brand__logo {
    outline: 2px solid var(--site-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.site-brand--logo:focus-visible {
    outline: none;
}

.site-brand--logo:focus-visible .site-brand__logo {
    outline: 2px solid var(--site-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .site-header {
        --site-header-h: 3.35rem;
        --site-header-pad-y: 0.2rem;
        backdrop-filter: none;
        background: #ffffff;
    }

    .site-header nav.site-nav.site-nav-bar {
        max-height: none;
        min-height: var(--site-header-h);
    }

    .site-brand__logo {
        max-width: min(70vw, 16.75rem);
    }
}

.site-main {
    padding-top: 0;
    padding-bottom: 0;
    min-height: calc(100vh - 11rem);
}

.site-messages {
    margin: 0.75rem 0 1.25rem;
}

.site-message {
    margin: 0 0 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.site-message:last-child {
    margin-bottom: 0;
}

.site-message--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.site-message--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.site-message--info,
.site-message--debug {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.site-footer {
    position: relative;
    border-top: 1px solid var(--site-border);
    background:
        linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    color: var(--site-muted);
    margin-top: 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, 90%);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(18, 53, 91, 0.18) 22%,
        rgba(18, 53, 91, 0.32) 50%,
        rgba(18, 53, 91, 0.18) 78%,
        transparent 100%
    );
    pointer-events: none;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    column-gap: 2.25rem;
    row-gap: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 2.25rem;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-col__heading {
    margin: 0 0 1rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--site-heading);
    line-height: 1.2;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.95rem;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: opacity 0.15s ease;
}

.footer-brand-link:hover {
    opacity: 0.85;
}

.footer-brand-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.32);
}

.footer-logo__img {
    display: block;
    height: auto;
    width: auto;
    max-height: 2.5rem;
    max-width: 6.75rem;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
}

.footer-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-left: 0.75rem;
    border-left: 1px solid var(--site-border);
}

.footer-brand-name__line1 {
    color: var(--site-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.footer-brand-name__line2 {
    color: var(--site-muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 0.1rem;
}

.footer-tagline {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--site-muted);
    max-width: 22rem;
}

.footer-affiliation {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-affiliation__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--site-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(18, 53, 91, 0.25);
    padding-bottom: 1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-affiliation__link:hover {
    color: var(--site-primary-hover);
    border-bottom-color: rgba(18, 53, 91, 0.55);
}

.footer-affiliation__icon {
    flex-shrink: 0;
}

.footer-quick {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.footer-quick a {
    position: relative;
    display: inline-block;
    font-weight: 500;
    color: var(--site-muted);
    text-decoration: none;
    padding: 0;
    border: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-quick a:hover {
    color: var(--site-primary);
    transform: translateX(2px);
}

.footer-quick a:focus-visible {
    outline: none;
    color: var(--site-primary);
    box-shadow: 0 2px 0 0 var(--site-primary);
    border-radius: 1px;
}

.footer-social {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    color: var(--site-primary);
    background: var(--site-soft-bg);
    border: 1px solid var(--site-border);
    text-decoration: none;
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.footer-social__link:hover {
    color: #fff;
    background: var(--site-primary);
    border-color: var(--site-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(18, 53, 91, 0.24);
}

.footer-social__link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.footer-social__icon {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.footer-connect-note {
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--site-muted);
    max-width: 16rem;
}

.footer-cta-copy {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--site-muted);
    max-width: 18rem;
}

.footer-subscribe-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    background: var(--site-primary);
    color: #ffffff;
    border: 1px solid var(--site-primary);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 650;
    letter-spacing: -0.005em;
    line-height: 1.2;
    text-decoration: none;
    box-shadow:
        0 8px 18px rgba(18, 53, 91, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.footer-subscribe-cta:hover {
    background: var(--site-primary-hover);
    border-color: var(--site-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 12px 24px rgba(18, 53, 91, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer-subscribe-cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.35),
        0 8px 18px rgba(18, 53, 91, 0.18);
}

.footer-subscribe-cta__icon {
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.footer-subscribe-cta:hover .footer-subscribe-cta__icon {
    transform: translateX(3px);
}

.footer-meta-band {
    border-top: 1px solid var(--site-border);
    background: #f3f5f9;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    color: var(--site-muted);
    font-size: 0.82rem;
}

.footer-meta__copy,
.footer-meta__build {
    margin: 0;
}

.hero {
    background: linear-gradient(135deg, #16324f, #24476b);
    border-radius: 14px;
    color: #ffffff;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(18, 53, 91, 0.18);
}

.hero h1,
.hero p {
    color: #ffffff;
}

.hero p {
    max-width: 680px;
}

.hero .muted {
    color: #e2e8f0;
}

.hero .muted a {
    color: #bfdbfe;
    font-weight: 500;
}

.hero .muted a:hover {
    color: #ffffff;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chip {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(18, 53, 91, 0.12);
    color: #12355b;
}

/* Readable chips on dark hero (event landing + index) */
.hero .chip {
    background: rgba(255, 255, 255, 0.14);
    color: #dbeafe;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.event-page {
    max-width: var(--event-page-max-width);
    margin: 0 auto;
    padding: 0.5rem 1rem 3rem;
}

.hub-page.event-page {
    max-width: 1120px;
}

.signup-page {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

/* Standalone subscribe / signup: same article rhythm as event detail (title band + rule) */
.signup-article-header {
    margin: 0 0 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--site-border);
}

.signup-card .signup-article-header h1 {
    margin: 0 0 0.35rem;
}

.signup-article-header .subtitle {
    margin: 0;
    max-width: 42rem;
}

.event-details-section {
    margin-top: 1.50rem;
}

.event-section {
    margin-top: 2rem;
    padding-top: 0.50rem;
}

.event-section > h2 {
    margin: 0 0 1.4rem;
    font-size: 1.28rem;
    font-weight: 650;
    color: var(--site-heading);
    letter-spacing: -0.02em;
}

.event-expect-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.event-section .event-expect-grid article {
    margin: 0;
    padding: 1.1rem 1.2rem;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease;
}

.event-section .event-expect-grid article:hover {
    transform: translateY(-2px);
}

.event-section .event-expect-grid h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--site-heading);
}

.event-section .event-expect-grid p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

.cta-section {
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    border: 1px solid var(--site-border);
}

.cta-section h2 {
    margin: 0 0 0.5rem;
    font-size: 1.28rem;
    font-weight: 650;
    color: var(--site-heading);
    letter-spacing: -0.02em;
}

.cta-section > p {
    margin: 0 auto 1.25rem;
    color: #475569;
    max-width: 36rem;
}

.info-grid-pico {
    gap: 0.9rem;
}

.event-meta-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease;
}

.event-meta-card:hover {
    transform: translateY(-2px);
}

.event-meta-card small {
    display: block;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.78rem;
}

.event-meta-card strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--site-heading);
}

.surface-card {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
}

.surface-card h1 {
    color: var(--site-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.surface-card > p:not(.subtitle) {
    color: #374151;
}

.signup-card {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.signup-event-summary {
    margin-bottom: 1.35rem;
    padding: 1.15rem 1.3rem;
    border-radius: 10px;
    border: 1px solid var(--site-border);
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    line-height: 1.5;
    color: var(--site-heading);
    box-shadow: none;
}

.signup-event-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.65rem;
}

.signup-event-summary__when strong {
    font-size: 1.18rem;
    display: block;
    margin-bottom: 0.22rem;
    line-height: 1.25;
}

.signup-event-summary__when span {
    display: block;
    color: #334155;
    line-height: 1.4;
}

.signup-event-summary__what {
    text-align: right;
    flex-shrink: 0;
}

.signup-event-summary .event-meta-right {
    color: #6b7280;
    font-size: 0.9rem;
}

.signup-event-summary__what small {
    display: block;
    color: inherit;
    font-size: inherit;
    line-height: 1.4;
}

.signup-event-summary__what small + small {
    margin-top: 0.1rem;
}

.signup-card legend {
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding: 0;
}

.signup-fieldset--details legend {
    font-size: 1rem;
    color: var(--site-heading);
}

.signup-section {
    margin-top: 0;
}

.signup-event-card + form .signup-section:first-of-type {
    margin-top: 1.35rem;
}

.signup-section + .signup-section {
    margin-top: 1.6rem;
}

.signup-section-title {
    font-size: 1.03rem;
    font-weight: 650;
    margin-bottom: 0.8rem;
}

.signup-fieldset--optional {
    margin: 0;
    padding: 0.85rem 0.95rem 0.95rem;
    border-radius: 10px;
    border: 1px solid var(--site-border);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: none;
}

.signup-fieldset--optional legend {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--site-heading);
    letter-spacing: 0.02em;
}

.signup-card fieldset p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.45;
}

.signup-card label {
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.signup-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.signup-checkbox-row input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.signup-fieldset--consent {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--site-border, #dfe3ea);
}

/* Stack consent checkboxes (Pico form grid can lay checkbox labels out horizontally). */
.signup-consent-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
}

.signup-consent-stack .signup-checkbox-row {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.signup-consent-stack .errorlist {
    margin: -0.15rem 0 0;
    padding-left: 1.5rem;
    font-size: 0.82rem;
}

.signup-success-note {
    margin-top: 0.75rem;
    font-size: 0.92rem;
}

.signup-card textarea {
    min-height: 120px;
}

.signup-fieldset--optional label {
    margin-bottom: 0.35rem;
}

.signup-fieldset--optional input,
.signup-fieldset--optional textarea,
.signup-fieldset--optional select {
    margin-bottom: 0.75rem;
}

.signup-fieldset--optional label:last-of-type + textarea {
    margin-bottom: 0;
}

.signup-card input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.signup-card textarea,
.signup-card select {
    border-color: #dbe3ec;
    background: #fcfdff;
    border-radius: 10px;
}

.signup-card input::placeholder,
.signup-card textarea::placeholder {
    color: #94a3b8;
}

.signup-card h1 {
    margin-bottom: 0.5rem;
}

.signup-form-actions {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: none;
}

/* Newsletter subscribe (and similar): consent fieldset sits directly above submit — the
   default actions block spacing + button margin otherwise reads as a large empty band. */
.signup-card .signup-fieldset--consent + .signup-form-actions {
    margin-top: 0.5rem;
    padding-top: 0;
}

.signup-card .signup-fieldset--consent + .signup-form-actions button[type="submit"] {
    margin-top: 0;
}

.event-calendar-card__actions a[role="button"],
.signup-card .signup-form-actions button[type="submit"],
#past-events .past-events-search button[type="submit"] {
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--chapter-action-fg) !important;
    border: 1px solid var(--chapter-action-border);
    background-color: var(--chapter-action-bg-solid);
    background-image: var(--chapter-action-bg);
    box-shadow: var(--chapter-action-shadow);
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        filter 0.18s ease;
}

.event-calendar-card__actions a[role="button"] {
    width: auto;
    margin-top: 0;
    padding: 0.55rem 1.05rem;
    font-size: 0.9rem;
}

.event-calendar-card__actions a[role="button"]:is(:hover, :active),
.signup-card .signup-form-actions button[type="submit"]:is(:hover, :active),
#past-events .past-events-search button[type="submit"]:is(:hover, :active) {
    color: var(--chapter-action-fg) !important;
    border-color: var(--chapter-action-hover-border);
    background-color: var(--chapter-action-bg-solid);
    background-image: var(--chapter-action-hover-bg);
    box-shadow: var(--chapter-action-shadow-hover);
}

.signup-card .signup-form-actions button[type="submit"]:hover,
.event-calendar-card__actions a[role="button"]:hover,
#past-events .past-events-search button[type="submit"]:hover {
    transform: translateY(-1px);
}

.signup-card .signup-form-actions button[type="submit"]:active,
.event-calendar-card__actions a[role="button"]:active,
#past-events .past-events-search button[type="submit"]:active {
    transform: translateY(0);
    background-image: none;
    background-color: var(--chapter-action-active-bg);
    border-color: #0a1f35;
    box-shadow: 0 2px 8px rgba(14, 40, 69, 0.28);
}

.signup-card .signup-form-actions button[type="submit"]:focus,
.signup-card .signup-form-actions button[type="submit"]:focus-visible,
.event-calendar-card__actions a[role="button"]:focus,
.event-calendar-card__actions a[role="button"]:focus-visible,
#past-events .past-events-search button[type="submit"]:focus,
#past-events .past-events-search button[type="submit"]:focus-visible {
    outline: none;
    box-shadow:
        var(--chapter-action-shadow),
        0 0 0 3px var(--chapter-action-focus-ring);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
textarea:focus,
select:focus {
    border-color: var(--pico-primary-border);
    box-shadow: 0 0 0 1px var(--pico-primary-background);
}

.signup-card .back-link {
    display: inline-block;
    margin-top: 1.75rem;
    font-size: 1rem;
}

.signup-card .back-link a {
    font-weight: 600;
    color: var(--site-primary);
    text-decoration: none;
}

.signup-card .back-link a:hover {
    text-decoration: underline;
}

form ul.errorlist {
    margin: 0.35rem 0 0.75rem;
    padding-left: 1.1rem;
    color: #b91c1c;
    font-size: 0.9rem;
}

.success-box {
    margin: 1rem 0;
    padding: 0.75rem 0.95rem;
    border-radius: 8px;
    border: 1px solid #86efac;
    background: #dcfce7;
    color: #166534;
}

.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.events-index-page .event-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.9rem;
}

/* Events index upcoming list + past archive results: shared vertical list and card chrome */
#events-index #event-calendar-detail[data-detail-variant="list"] .event-list,
#past-events .past-events-results .event-list {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Do not set padding-left on li: it would override card padding (li = each row). */
#events-index #event-calendar-detail[data-detail-variant="list"] .event-list li,
#past-events .past-events-results .event-list li {
    list-style: none !important;
    margin-left: 0 !important;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-list li::marker,
#past-events .past-events-results .event-list li::marker {
    content: none !important;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item,
#past-events .past-events-results .event-item {
    width: 100%;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    transform: none;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item:hover,
#past-events .past-events-results .event-item:hover {
    transform: none;
}

#events-index #event-calendar-detail[data-detail-variant="list"],
#past-events .past-events-results {
    margin-top: 1.75rem;
    padding-top: 0.35rem;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-calendar-upcoming__title,
#past-events .past-events-results .event-calendar-upcoming__title {
    margin: 0 0 1.15rem;
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--site-heading);
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item--upcoming-archive,
#past-events .past-events-results .event-item--upcoming-archive {
    box-sizing: border-box;
    padding: 1.45rem 1.65rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.18s ease,
        box-shadow 0.2s ease;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item--upcoming-archive:hover,
#past-events .past-events-results .event-item--upcoming-archive:hover {
    border-color: rgba(18, 53, 91, 0.18) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
    transform: none !important;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__link,
#past-events .past-events-results .event-item__link {
    display: inline-block;
    margin: 0;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.28;
    color: var(--site-heading);
    text-decoration: none;
    letter-spacing: -0.02em;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__link:hover,
#past-events .past-events-results .event-item__link:hover,
#events-index #event-calendar-detail[data-detail-variant="list"] .event-item--upcoming-archive:hover .event-item__link,
#past-events .past-events-results .event-item--upcoming-archive:hover .event-item__link,
#events-index #event-calendar-detail[data-detail-variant="list"] .event-item--upcoming-archive:focus-within .event-item__link,
#past-events .past-events-results .event-item--upcoming-archive:focus-within .event-item__link {
    color: var(--site-primary);
    text-decoration: underline;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__date,
#past-events .past-events-results .event-item__date {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__date-sep,
#past-events .past-events-results .event-item__date-sep {
    color: #cbd5e1;
    margin: 0 0.15rem;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__meta-row,
#past-events .past-events-results .event-item__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-top: 0.95rem;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__location-pill,
#past-events .past-events-results .event-item__location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    border: 1px solid transparent;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__location-pill--in_person,
#past-events .past-events-results .event-item__location-pill--in_person {
    background: #f0fdf4;
    color: #15803d;
    border-color: #d1fae5;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__location-pill--virtual,
#past-events .past-events-results .event-item__location-pill--virtual {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__location-pill--hybrid,
#past-events .past-events-results .event-item__location-pill--hybrid {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}

/* Match status chip (e.g. Past event) to location pill size in archive rows */
#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__meta-row .chip,
#past-events .past-events-results .event-item__meta-row .chip {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    padding: 0.18rem 0.55rem;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__location-text,
#past-events .past-events-results .event-item__location-text {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.4;
    white-space: normal;
}

#events-index #event-calendar-detail[data-detail-variant="list"] .event-item__summary,
#past-events .past-events-results .event-item__summary {
    margin: 0.85rem 0 0;
    font-size: 0.94rem;
    line-height: 1.5;
    max-width: 72ch;
}

.home-upcoming .event-list,
.hub-band--events .event-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.9rem;
    margin-top: 0.75rem;
}

.home-upcoming .event-item__summary,
.hub-band--events .event-item__summary {
    margin: 0.5rem 0 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.home-upcoming__view-all {
    margin: 1.1rem 0 0;
}

.home-upcoming__view-all a {
    font-weight: 600;
    color: var(--site-primary);
    text-decoration: none;
}

.home-upcoming__view-all a:hover {
    text-decoration: underline;
}

/* Single-page hub: in-page anchors + varied section rhythm */
.hub-section {
    scroll-margin-top: 5.75rem;
}

.hub-section--hero.hero {
    padding-top: 0;
}

/* Home rhythm: varied section widths + full-bleed bands */
#about.hub-band--tint,
#calendar.hub-band--calendar {
    max-width: 1020px;
    margin-inline: auto;
}

#calendar .hub-calendar-footnote a,
.hub-calendar-footnote a {
    color: var(--site-primary);
    text-decoration: none;
    font-weight: 600;
}

#calendar .hub-calendar-footnote a:hover,
.hub-calendar-footnote a:hover {
    text-decoration: underline;
}

#events.hub-band--events {
    max-width: 1600px;
    margin-inline: auto;
}

/* Home page wrapper needs to be wider than the inner sections. */
.home-page.hub-page.event-page {
    max-width: 1600px;
}

#constitution.hub-band--center {
    max-width: 760px;
    margin-inline: auto;
}

#events.hub-band--events {
    background: #ffffff;
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 0;
    box-shadow: none;
    padding: 2.2rem 0.15rem 1.65rem;
}

#events .event-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
}

#events .event-item {
    border: 1px solid #e3e9f2;
    box-shadow: none;
    border-radius: 8px;
}

#gallery.hub-band--gallery,
#subscribe.hub-subscribe {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

#testimonial.hub-testimonial {
    width: 100vw;
    margin-top: 0;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(300px, 44vw, 520px);
    padding-block: clamp(2.35rem, 5.5vw, 3.85rem);
    padding-inline: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
    background-color: #f3f5fa;
    background-image:
        linear-gradient(180deg, rgba(245, 247, 251, 0.38) 0%, rgba(243, 245, 250, 0.52) 50%, rgba(240, 243, 249, 0.64) 100%),
        radial-gradient(ellipse 100% 85% at 12% 36%, rgba(18, 73, 91, 0.055) 0%, transparent 57%),
        radial-gradient(ellipse 72% 55% at 94% 78%, rgba(37, 120, 235, 0.045) 0%, transparent 51%),
        url("../img/home/testimonial-skyline-haze.png");
    background-repeat: no-repeat;
    background-size: auto, auto, auto, cover;
    background-position:
        0 0,
        0 0,
        0 0,
        center center;
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
}

.hub-testimonial__inner {
    width: 100%;
    max-width: min(1180px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    color: #0f172a;
    position: relative;
    z-index: 1;
    padding: clamp(0.35rem, 1vw, 0.65rem) 0 clamp(0.35rem, 1vw, 0.65rem) clamp(0.85rem, 2.1vw, 1.25rem);
    border-left: 1px solid rgba(18, 53, 91, 0.11);
    text-align: left;
}

.hub-testimonial__eyebrow {
    grid-column: 1 / span 9;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.35rem;
    text-align: left;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 650;
    color: #64748b;
}

.hub-testimonial__quote {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(31px, 3.45vw, 48px);
    line-height: 1.2;
    font-weight: 430;
    letter-spacing: -0.006em;
    color: #1e293b;
    font-style: normal;
    text-align: left;
    text-wrap: pretty;
    border: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.hub-testimonial__quote::before {
    content: "\201C";
    display: inline;
    position: static;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.78em;
    line-height: 0;
    font-weight: 400;
    color: #0f172a;
    opacity: 0.26;
    vertical-align: 0.04em;
    margin-right: 0.05em;
    pointer-events: none;
}

/* Closing mark in document flow so it sits at the text end, not the full-width box edge */
.hub-testimonial__quote::after {
    content: "\201D";
    display: inline;
    position: static;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 0.78em;
    line-height: 0;
    font-weight: 400;
    color: #0f172a;
    opacity: 0.26;
    vertical-align: 0.04em;
    margin-left: 0.05em;
    pointer-events: none;
}

.hub-testimonial__attribution {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #475569;
    text-transform: none;
    line-height: 1.35;
    text-align: left;
    opacity: 0.75;
}

.hub-testimonial__author,
.hub-testimonial__role {
    display: block;
}

.hub-testimonial__author {
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.hub-testimonial__role {
    margin-top: 0.14rem;
    color: #64748b;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.hub-testimonial-carousel {
    grid-column: 1 / -1;
    position: relative;
    width: 100%;
    padding-inline: clamp(1.35rem, 3.5vw, 2.35rem);
    padding-bottom: 0.25rem;
}

.hub-testimonial-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: transparent;
}

.hub-testimonial-track {
    display: flex;
    width: 300%;
    transform: translateX(0);
    transition: transform 0.42s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hub-testimonial-track {
        transition: none;
    }
}

/* Pico styles `article` as a card — reset so only slider behavior changes, not layout/visual */
#testimonial .hub-testimonial-slide {
    flex: 0 0 33.333333%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

#testimonial .hub-testimonial-slide .hub-testimonial__quote,
#testimonial .hub-testimonial-slide .hub-testimonial__attribution {
    grid-column: 1 / span 9;
    justify-self: start;
    width: 100%;
    max-width: 100%;
}

.hub-testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    color: #0f172a;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.hub-testimonial-arrow:hover {
    border-color: rgba(18, 53, 91, 0.22);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.hub-testimonial-arrow:focus-visible {
    outline: 2px solid rgba(18, 53, 91, 0.35);
    outline-offset: 2px;
}

.hub-testimonial-arrow--prev {
    left: clamp(0.15rem, 1vw, 0.35rem);
}

.hub-testimonial-arrow--next {
    right: clamp(0.15rem, 1vw, 0.35rem);
}

.hub-testimonial-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.05rem;
    padding: 0;
}

.hub-testimonial-dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.45);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.hub-testimonial-dot:hover {
    border-color: rgba(15, 23, 42, 0.65);
}

.hub-testimonial-dot.is-active {
    background: #0f172a;
    border-color: #0f172a;
    transform: scale(1.05);
}

.hub-testimonial-dot:focus-visible {
    outline: 2px solid rgba(18, 53, 91, 0.35);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .hub-testimonial__inner {
        display: block;
        max-width: 900px;
        text-align: left;
    }

    .hub-testimonial__eyebrow,
    .hub-testimonial__quote,
    .hub-testimonial__attribution {
        grid-column: auto;
        justify-self: stretch;
        text-align: left;
    }

    .hub-testimonial__quote {
        width: 100%;
        max-width: 100%;
    }

    .hub-testimonial-carousel {
        padding-inline: clamp(1.65rem, 6vw, 2.5rem);
    }
}

#gallery.hub-band--gallery {
    background: #f3f5fa;
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
    padding-block: 2.6rem 1.35rem;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

#gallery.hub-band--gallery .hub-split {
    max-width: 1100px;
    margin-inline: auto;
}

#subscribe.hub-subscribe {
    margin-top: 0;
    padding-block: 2.35rem;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

#subscribe.hub-subscribe > * {
    margin-inline: auto;
}

/* Keep copy readable; let the multi-field form use a wider track than 760px. */
#subscribe.hub-subscribe > .hub-subscribe-eyebrow,
#subscribe.hub-subscribe > h2,
#subscribe.hub-subscribe > p:not(.hub-subscribe-foot):not(.hub-subscribe-note) {
    max-width: 40rem;
}

#subscribe.hub-subscribe > .subscribe-inline-form {
    max-width: min(56rem, 100%);
}

/* Match form width and left edge; extra top margin separates copy from the fields. */
#subscribe.hub-subscribe > .hub-subscribe-foot,
#subscribe.hub-subscribe > .hub-subscribe-note {
    max-width: min(56rem, 100%);
    text-align: left;
}

#subscribe.hub-subscribe > .hub-subscribe-foot {
    margin-top: 2rem;
}

#subscribe.hub-subscribe > .hub-subscribe-note {
    margin-top: 0.65rem;
}

#constitution.hub-band--center {
    background: #ffffff;
    border: 0;
    box-shadow: none;
    padding: 1.4rem 0.35rem 0.25rem;
}

#constitution.hub-band--center h2 {
    font-size: 1.34rem;
}

/* Professional polish pass: stronger type + cleaner editorial rhythm */
.hub-eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
}

.hub-section-head h2 {
    font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.95rem);
    line-height: 1.15;
}

.hub-section-lede {
    font-size: 1.02rem;
    line-height: 1.55;
}

#about.hub-band--tint {
    padding: 2rem 1.9rem;
}

#about .hub-split {
    gap: 1.2rem 1.8rem;
}

#about .hub-split__content h2 {
    font-size: clamp(1.38rem, 1.05rem + 0.9vw, 1.75rem);
    line-height: 1.16;
    margin-bottom: 0.72rem;
}

#about .hub-prose {
    font-size: 1rem;
    line-height: 1.6;
}

#about .hub-about-keywords li {
    font-size: 0.76rem;
    padding: 0.28rem 0.62rem;
}

#events.hub-band--events {
    position: relative;
    margin-top: 2.6rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2.4rem clamp(1.4rem, 2.4vw, 2rem) 2.1rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

#events.hub-band--events > * {
    max-width: none;
    margin-inline: 0;
}

#events .hub-section-head--events {
    margin-bottom: 1.6rem;
    max-width: 38rem;
}

#events .hub-eyebrow--events {
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    margin-bottom: 0.65rem;
}

#events .hub-section-head h2 {
    font-size: clamp(1.65rem, 1.25rem + 1vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--site-heading);
    margin-bottom: 0.5rem;
}

#events .hub-section-lede {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.55;
}

#events .event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

#events .event-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 1.15rem 1.3rem 1.05rem;
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    box-shadow: none;
    isolation: isolate;
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 360px;
    scroll-snap-align: start;
    --event-accent: #2f5d8c;
    transition:
        border-color 0.18s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#events .event-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 12px 12px 0 0;
    background: var(--event-accent);
    opacity: 0.9;
}

#events .event-item:first-child {
    width: 360px;
    padding: 1.15rem 1.3rem 1.05rem;
}

#events .event-item:first-child .event-item__link {
    font-size: 1.18rem;
    line-height: 1.28;
}

#events .event-item:nth-child(2) {
    --event-accent: #4b6584;
}

#events .event-item:nth-child(3) {
    --event-accent: #3f6f6a;
}

#events .event-item:hover,
#events .event-item:focus-within {
    border-color: #d8dee8;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

#events .event-item__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-indent: -9999px;
    overflow: hidden;
    border-radius: inherit;
}

#events .event-item__overlay-link:focus-visible {
    outline: 2px solid var(--site-primary);
    outline-offset: 2px;
}

/* Date as a clean inline label, not a boxy stamp */
#events .event-item__date-stamp {
    position: relative;
    z-index: 3;
    pointer-events: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0 0 0.55rem;
    padding: 0;
    width: auto;
    height: auto;
    background: none;
    border: 0;
    border-radius: 0;
}

#events .event-item__date-stamp-month,
#events .event-item__date-stamp-day {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--site-primary);
}

#events .event-item__date-stamp-day::before {
    content: "·";
    margin-right: 0.4rem;
    color: #cbd5e1;
    font-weight: 400;
}

#events .event-item__body {
    position: relative;
    z-index: 3;
    pointer-events: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#events .event-item__body > a {
    pointer-events: auto;
}

#events .event-item__link {
    display: block;
    font-size: 1.04rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--site-heading);
    letter-spacing: -0.012em;
    text-decoration: none;
    transition: color 0.15s ease;
}

#events .event-item:hover .event-item__link,
#events .event-item:focus-within .event-item__link {
    color: var(--site-primary);
}

#events .event-item__date {
    font-size: 0.83rem;
    color: #64748b;
    margin: 0.2rem 0 0;
    font-weight: 450;
}

#events .event-item__date-sep {
    color: #cbd5e1;
    margin: 0 0.15rem;
}

#events .event-item__summary-wrap {
    flex: 1;
    margin-top: 0.5rem;
    min-height: 2.4rem;
}

#events .event-item__summary {
    margin: 0;
    font-size: 0.89rem;
    line-height: 1.5;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#events .event-item__footer {
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eef1f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
}

#events .event-item__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin: 0;
    flex: 1;
    min-width: 0;
}

#events .event-item__location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    border: 1px solid transparent;
}

#events .event-item__location-pill--in_person {
    background: #f0fdf4;
    color: #15803d;
    border-color: #d1fae5;
}

#events .event-item__location-pill--virtual {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

#events .event-item__pill-icon {
    flex: 0 0 auto;
    opacity: 0.9;
}

#events .event-item__location-text {
    font-size: 0.81rem;
    color: #64748b;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Replace verbose "Read more" with a discrete arrow icon button */
#events .event-item__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    flex: 0 0 auto;
    font-size: 0;
    transition: background 0.18s ease, color 0.18s ease;
}

#events .event-item__cta-arrow {
    font-size: 0.82rem;
    line-height: 1;
    transition: transform 0.22s ease;
}

#events .event-item:hover .event-item__cta,
#events .event-item:focus-within .event-item__cta {
    background: var(--site-primary);
    color: #ffffff;
}

#events .event-item:hover .event-item__cta-arrow,
#events .event-item:focus-within .event-item__cta-arrow {
    transform: translateX(2px);
}

@media (max-width: 980px) {
    #events .event-list {
        gap: 0.85rem;
    }

    #events .event-item {
        width: 300px;
    }

    #events .event-item:first-child {
        width: 300px;
    }
}

@media (max-width: 480px) {
    #events.hub-band--events {
        padding: 2.4rem 1rem 2rem;
    }

    #events .event-list {
        gap: 0.7rem;
    }

    #events .event-item {
        width: 84vw;
        padding: 1.3rem 1.3rem 1.2rem;
    }

    #events .event-item:first-child {
        width: 84vw;
        padding: 1.3rem 1.3rem 1.2rem;
    }

    #events .event-item__link {
        font-size: 1.04rem;
    }
}

#gallery.hub-band--gallery {
    padding-top: clamp(1.3rem, 3vw, 2rem);
    padding-bottom: clamp(2.2rem, 4vw, 3rem);
}

#gallery .hub-gallery-intro h2 {
    font-size: clamp(1.45rem, 1.15rem + 0.8vw, 1.8rem);
}

#gallery .hub-gallery-intro {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

#gallery .hub-gallery-intro .hub-eyebrow {
    margin-bottom: 0.32rem;
}

#gallery .hub-gallery-intro h2 {
    margin-bottom: 0.4rem;
}

#gallery .hub-gallery-intro .hub-prose {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.2rem;
}

#gallery .hub-gallery-note {
    margin: 0.2rem 0 0;
    font-size: 0.91rem;
    line-height: 1.45;
    color: #64748b;
}

.hub-gallery-carousel {
    position: relative;
    width: min(1260px, 100vw);
    margin-inline: auto;
    margin-top: 1.4rem;
    padding-inline: clamp(0.8rem, 2.6vw, 1.5rem);
}

.hub-gallery-strip {
    display: flex;
    gap: clamp(0.75rem, 1.6vw, 1rem);
    padding: 0.35rem clamp(1.25rem, 2.8vw, 2rem) 0.7rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(1.25rem, 2.8vw, 2rem);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hub-gallery-strip::-webkit-scrollbar {
    display: none;
}

.hub-gallery-card {
    display: block;
    flex: 0 0 clamp(250px, 30vw, 360px);
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-gallery-card:hover,
.hub-gallery-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.hub-gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.94) contrast(1.02) brightness(0.95);
    transition: filter 0.22s ease;
}

.hub-gallery-card:hover img,
.hub-gallery-card:focus-visible img {
    filter: saturate(0.98) contrast(1.03) brightness(0.98);
}

.hub-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateY(-50%);
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hub-gallery-arrow[data-gallery-prev] {
    left: clamp(0.85rem, 2vw, 1.35rem);
}

.hub-gallery-arrow[data-gallery-next] {
    right: clamp(0.85rem, 2vw, 1.35rem);
}

.hub-gallery-arrow:hover,
.hub-gallery-arrow:focus-visible {
    border-color: rgba(18, 53, 91, 0.35);
    transform: translateY(calc(-50% - 1px));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.hub-gallery-arrow:focus-visible {
    outline: 2px solid rgba(18, 53, 91, 0.25);
    outline-offset: 1px;
}

.hub-gallery-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.hub-gallery-placeholder span {
    border-radius: 12px;
    border: 1px solid rgba(18, 53, 91, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(234, 242, 252, 0.95) 100%);
}

#constitution.hub-band--center {
    margin-top: 1.95rem;
}

#constitution .hub-prose {
    font-size: 1.02rem;
    line-height: 1.68;
}

#subscribe.hub-subscribe {
    padding-top: 3.85rem;
    padding-bottom: 2.45rem;
}

#subscribe.hub-subscribe h2 {
    font-size: clamp(1.52rem, 1.2rem + 0.75vw, 1.88rem);
    letter-spacing: -0.02em;
}

#subscribe.hub-subscribe > p:not(.hub-subscribe-actions) {
    font-size: 0.98rem;
    line-height: 1.58;
}

#subscribe.hub-subscribe > p:not(.hub-subscribe-foot):not(.hub-subscribe-note) {
    margin-bottom: 2rem;
}

.hub-cta-button[role="button"] {
    min-height: 2.75rem;
    padding: 0.72rem 1.15rem;
    font-size: 0.92rem;
    font-weight: 650;
}

/* Landing hero (informshouston-style: brand strip + serif headline + photo) */
.hub-hero--classic {
    margin-top: 0;
    padding-top: 0;
}

.hub-hero-classic-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2.5rem 2.75rem;
    align-items: center;
    padding: 2.1rem 1.85rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.hub-hero-classic__title {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.55rem, 0.6rem + 2.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hub-hero-classic__lede,
.hub-hero-classic__body,
.hub-hero-classic__cta-line {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #334155;
    max-width: 40rem;
}

.hub-hero-classic__cta-line {
    margin-top: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.hub-hero-classic__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1.35rem;
    align-items: center;
}

/* `a.hub-join-btn[role="button"]` beats `a[role="button"]` (Pico + site) for layout/typography. */
a.hub-join-btn[role="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    min-height: 3.15rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    vertical-align: middle;
    text-decoration: none;
    border: 1px solid #16324f;
    background: #16324f;
    color: #ffffff;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
}

a.hub-join-btn[role="button"]:hover {
    background: #1d3f63;
    border-color: #1d3f63;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(22, 50, 79, 0.2);
}

a.hub-join-btn[role="button"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 50, 79, 0.24);
}

a.hub-join-btn[role="button"]:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(22, 50, 79, 0.16);
}

a.hub-join-btn.hub-join-btn--ghost[role="button"] {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}

a.hub-join-btn.hub-join-btn--ghost[role="button"]:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.hub-hero-classic__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 16rem;
    background: #0f172a;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
}

.hub-hero-classic__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    max-height: min(75vh, 36rem);
    object-fit: cover;
    object-position: center 35%;
}

.hub-hero--legacy {
    padding-top: 0;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    padding-inline: clamp(0.8rem, 1.8vw, 1.35rem);
    padding-bottom: clamp(0.7rem, 1.8vw, 1.1rem);
    background:
        radial-gradient(120% 90% at 14% 12%, rgba(18, 53, 91, 0.08) 0%, rgba(18, 53, 91, 0) 60%),
        radial-gradient(95% 70% at 84% 20%, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 253, 0.68) 100%);
    border: 0;
}

.hub-hero-legacy-grid {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.35rem 0 0.5rem;
    gap: 1.35rem 2.2rem;
    align-items: center;
    grid-template-columns: minmax(470px, 1fr) minmax(570px, 1.1fr);
    max-width: 1320px;
    margin-inline: auto;
}

.hub-hero--legacy .hub-hero-classic__title {
    font-size: clamp(2.05rem, 0.95rem + 2.2vw, 3.05rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 22ch;
}

.hub-hero-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.5rem;
    margin-bottom: 0.9rem;
}

.hub-hero-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0.14rem 0.58rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #475569;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hub-hero--legacy .hub-hero-classic__lede,
.hub-hero--legacy .hub-hero-classic__body,
.hub-hero--legacy .hub-hero-classic__cta-line {
    font-size: 1rem;
    line-height: 1.62;
    max-width: 44ch;
}

.hub-hero--legacy .hub-hero-classic__body {
    margin-top: 0.68rem;
}

.hub-hero--legacy .hub-hero-classic__actions {
    margin-top: 1.2rem;
}

.hub-hero-mini-stats {
    margin: 1.5rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid #e6edf5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem 1.1rem;
}

.hub-hero-mini-stat {
    margin: 0;
}

.hub-hero-mini-stat dt {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #334155;
}

.hub-hero-mini-stat dd {
    margin: 0.24rem 0 0;
    font-size: 0.79rem;
    line-height: 1.45;
    color: #64748b;
}

.hub-hero--legacy a.hub-join-btn[role="button"] {
    border-radius: 24px;
    /* Slightly more top than bottom padding offsets cap-heavy text (looks high with line-height: 1 + min-height). */
    padding: 0.7rem 1.22rem 0.58rem;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    min-height: 52px;
}

.hub-hero-legacy__media {
    position: relative;
    border-radius: 22px;
    aspect-ratio: 16.8 / 10;
    min-height: 0;
    border: 1px solid rgba(148, 163, 184, 0.46);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.16),
        0 4px 12px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    background: #ffffff;
    align-self: start;
    margin-top: 4.35rem;
    transform: none;
    width: 100%;
}

.hub-hero-legacy__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.17) 0%, rgba(15, 23, 42, 0.06) 42%, rgba(15, 23, 42, 0.24) 100%),
        radial-gradient(92% 68% at 16% 14%, rgba(255, 255, 255, 0.23) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(110deg, rgba(30, 64, 175, 0.08) 0%, rgba(30, 64, 175, 0) 50%);
}

.hub-hero-legacy__media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.hub-hero--legacy .hub-hero-classic__photo {
    max-height: none;
    object-position: center center;
    height: 100%;
    min-height: 0;
    display: block;
}

.hub-hero--legacy + .hub-band {
    margin-top: 3.05rem;
}

@media (max-width: 900px) {
    .hub-hero-classic-grid {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.35rem;
    }

    .hub-hero-classic__media {
        order: -1;
        min-height: 14rem;
    }

    .hub-hero-classic__photo {
        max-height: 40vh;
        min-height: 12rem;
    }

    .hub-hero-legacy-grid {
        padding: 0;
        gap: 1.1rem;
        grid-template-columns: 1fr;
    }

    .hub-hero--legacy .hub-hero-classic__title {
        font-size: clamp(1.9rem, 1.15rem + 4.7vw, 2.5rem);
        max-width: 20ch;
    }

    .hub-hero-mini-stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: 0.95rem;
        padding-top: 0.75rem;
    }

    .hub-hero-mini-stat dd {
        font-size: 0.8rem;
    }

    .hub-hero-meta-chips {
        margin-bottom: 0.7rem;
    }

    .hub-hero--legacy .hub-hero-classic__media {
        order: 2;
    }

    .hub-hero--legacy .hub-hero-classic__text {
        order: 1;
    }

    .hub-hero--legacy .hub-hero-classic__photo,
    .hub-hero--legacy .hub-hero-classic__media {
        min-height: 13.5rem;
    }

    .hub-hero-legacy__media {
        margin-top: 0.35rem;
        transform: none;
    }

    .hub-hero--legacy {
        width: 100%;
        margin-left: 0;
        transform: none;
        padding-inline: 0.85rem;
        border-radius: 0;
    }
}

.hub-band {
    margin-top: 2.35rem;
    padding: 2.15rem 1.65rem;
    border-radius: 16px;
}

.hub-band--tint {
    background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.055);
}

.hub-band--events {
    margin-top: 2.35rem;
    padding: 0.25rem 0.15rem 0.5rem;
    border-radius: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 2.15rem;
}

.hub-band--calendar {
    margin-top: 2.35rem;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 55%);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.hub-band--gallery.hub-band--tint {
    padding-bottom: 2.35rem;
}

.hub-band--center {
    margin-top: 2.35rem;
    padding: 2.5rem 1.75rem;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.hub-band--center h2 {
    margin-top: 0.35rem;
    font-size: 1.42rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--site-heading);
}

.hub-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2rem 2.25rem;
    align-items: center;
}

.hub-split--flip .hub-split__content {
    order: 2;
}

.hub-split--flip .hub-split__visual {
    order: 1;
}

.hub-split__content > *:first-child {
    margin-top: 0;
}

.hub-visual-panel {
    border-radius: 12px;
    min-height: 11rem;
}

.hub-visual-panel--mesh {
    background:
        radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 82% 72%, rgba(5, 150, 105, 0.12) 0%, transparent 45%),
        linear-gradient(145deg, #e2e8f0 0%, #f8fafc 48%, #e8eef5 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hub-mission-photo {
    display: block;
    width: 100%;
    min-height: 11rem;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.hub-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #059669;
}

.hub-eyebrow--dark {
    color: #64748b;
}

.hub-eyebrow--accent {
    color: var(--site-primary);
}

.hub-section-head {
    margin-bottom: 1.35rem;
}

.hub-section-head--left {
    text-align: left;
    max-width: 42rem;
}

.hub-section-head h2 {
    margin: 0 0 0.45rem;
}

.hub-section-lede {
    margin: 0;
    font-size: 0.98rem;
}

.hub-split__content h2 {
    margin: 0 0 1rem;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--site-heading);
    letter-spacing: -0.02em;
}

.hub-section-head h2 {
    font-size: 1.38rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--site-heading);
}

.hub-prose {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.68;
    color: #314155;
}

#about.hub-band--tint {
    margin-top: 5rem;
    padding: 1.7rem 1.55rem;
    background: linear-gradient(155deg, rgba(249, 251, 255, 0.82) 0%, rgba(239, 244, 251, 0.78) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#about .hub-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 1rem 1.4rem;
    align-items: center;
}

#about .hub-split__visual--about {
    margin-left: 0;
    margin-right: 0;
}

#about .hub-eyebrow {
    color: #0f766e;
    letter-spacing: 0.12em;
    margin-bottom: 0.22rem;
}

#about .hub-split__content h2 {
    margin-bottom: 0.58rem;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.2;
}

#about .hub-prose {
    max-width: 40ch;
    font-size: 0.95rem;
    line-height: 1.5;
}

#about .hub-split__content {
    max-width: 30rem;
}

#about .hub-about-keywords {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

#about .hub-about-keywords li {
    margin: 0;
    list-style: none;
    padding: 0.24rem 0.56rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #425466;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.26);
}

#about .hub-mission-photo {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.14),
        0 4px 14px rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    transform: none;
}

#about .hub-visual-panel--mesh {
    border-radius: 14px;
    border-color: rgba(15, 23, 42, 0.09);
}

.hub-prose--center {
    margin-left: auto;
    margin-right: auto;
    max-width: 46rem;
}

.hub-gallery-placeholder--large {
    margin-top: 0;
    max-width: none;
    width: 100%;
}

.hub-gallery-placeholder--large span {
    min-height: 5.5rem;
}

.hub-cta-dark.cta-section {
    position: relative;
    margin-top: 2.5rem;
    padding: 3rem 1.75rem 2.75rem;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(96, 165, 250, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(16, 185, 129, 0.10) 0%, transparent 55%),
        linear-gradient(135deg, #0a1f3a 0%, #12355b 52%, #0f2b4d 100%);
    border: 1px solid rgba(148, 184, 232, 0.14);
    box-shadow:
        0 24px 60px rgba(11, 37, 69, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
}

.hub-cta-dark.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 18%),
        radial-gradient(circle at 12% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 35%);
    pointer-events: none;
    z-index: -1;
}

.hub-subscribe-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.32rem 0.8rem 0.32rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hub-subscribe-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow:
        0 0 0 3px rgba(52, 211, 153, 0.22),
        0 0 12px rgba(52, 211, 153, 0.55);
    animation: hub-subscribe-pulse 2.4s ease-in-out infinite;
}

@keyframes hub-subscribe-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22), 0 0 12px rgba(52, 211, 153, 0.55); }
    50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.10), 0 0 18px rgba(52, 211, 153, 0.7); }
}

@media (prefers-reduced-motion: reduce) {
    .hub-subscribe-eyebrow::before {
        animation: none;
    }
}

.hub-cta-dark.cta-section h2 {
    color: #f8fafc;
    font-size: clamp(1.65rem, 1.25rem + 1.1vw, 2.15rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin: 0 0 0.7rem;
}

.hub-cta-dark.cta-section > p:not(.hub-subscribe-actions):not(.hub-subscribe-note):not(.hub-subscribe-foot) {
    color: #cbd5e1;
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.hub-cta-dark .hub-subscribe-actions {
    margin: 0;
}

.hub-cta-button[role="button"] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border: 1px solid #047857;
    color: #ffffff;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.005em;
    box-shadow:
        0 12px 28px rgba(5, 150, 105, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hub-cta-button[role="button"]:hover {
    background: linear-gradient(180deg, #059669 0%, #047857 100%);
    border-color: #036c4d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 16px 34px rgba(5, 150, 105, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hub-cta-button[role="button"]:active {
    transform: translateY(0);
}

.hub-cta-button__icon {
    transition: transform 0.18s ease;
}

.hub-cta-button[role="button"]:hover .hub-cta-button__icon {
    transform: translateX(3px);
}

.hub-subscribe-note {
    margin: 1rem 0 0;
    color: rgba(203, 213, 225, 0.7);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.hub-subscribe-foot {
    margin: 1rem auto 0;
    max-width: 40rem;
    font-size: 0.88rem;
    text-align: left;
}

.hub-subscribe-foot a {
    color: #a7f3d0;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.hub-subscribe-foot a:hover {
    color: #d1fae5;
}

.subscribe-inline-form {
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    text-align: left;
}

.subscribe-inline-form__consent {
    margin-top: 0.85rem;
}

.subscribe-inline-form__consent .signup-checkbox-row {
    margin-top: 0;
    color: #e2e8f0;
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 500;
}

.subscribe-inline-form__consent .signup-checkbox-row input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.subscribe-inline-form__consent .errorlist {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
    color: #fecaca;
}

.subscribe-inline-form__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 0.9fr)
        minmax(0, 1.35fr)
        minmax(0, 1.1fr)
        auto;
    gap: 0.85rem 0.9rem;
    /* start + label-height shim on .subscribe-inline-form__actions keeps the button
       aligned with inputs (align-items: end alone is unreliable across browsers). */
    align-items: start;
}

.subscribe-inline-form__grid > * {
    min-width: 0;
}

.subscribe-inline-form__field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: #e2e8f0;
    margin-bottom: 0.28rem;
}

.subscribe-inline-form__field .errorlist {
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
    color: #fecaca;
}

.subscribe-inline-form__field input {
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.45);
    color: #f8fafc;
    font-size: 0.92rem;
}

.subscribe-inline-form__field input::placeholder {
    color: rgba(203, 213, 225, 0.72);
}

.subscribe-inline-form__field input:focus {
    outline: 2px solid rgba(52, 211, 153, 0.55);
    outline-offset: 1px;
    border-color: rgba(52, 211, 153, 0.45);
}

.subscribe-inline-form__field--grow {
    grid-column: span 1;
}

.subscribe-inline-form__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

/* Same-row desktop layout: reserve label row so the button lines up with inputs. */
@media (min-width: 1101px) {
    .subscribe-inline-form__actions::before {
        content: "";
        display: block;
        flex: 0 0 auto;
        height: calc(0.78rem * 1.35 + 0.28rem);
        pointer-events: none;
    }

    .subscribe-inline-form__actions .hub-cta-button--submit {
        align-self: flex-start;
    }
}

button.hub-cta-button.hub-cta-button--submit {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border: 1px solid #047857;
    color: #ffffff;
    padding: 0.72rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: -0.005em;
    border-radius: 10px;
    cursor: pointer;
    box-shadow:
        0 10px 24px rgba(5, 150, 105, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

button.hub-cta-button.hub-cta-button--submit:hover {
    background: linear-gradient(180deg, #059669 0%, #047857 100%);
    border-color: #036c4d;
    color: #ffffff;
    transform: translateY(-1px);
}

button.hub-cta-button.hub-cta-button--submit:active {
    transform: translateY(0);
}

button.hub-cta-button.hub-cta-button--submit:focus-visible {
    outline: 2px solid rgba(52, 211, 153, 0.85);
    outline-offset: 3px;
}

/* Two-row layout before the tight 2-column tablet grid (avoids a cramped 5-across band). */
@media (max-width: 1100px) and (min-width: 901px) {
    .subscribe-inline-form__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .subscribe-inline-form__field:nth-child(1) {
        grid-column: 1 / span 2;
    }

    .subscribe-inline-form__field:nth-child(2) {
        grid-column: 3 / span 2;
    }

    .subscribe-inline-form__field--grow {
        grid-column: 1 / span 4;
    }

    .subscribe-inline-form__field--company {
        grid-column: 5 / span 2;
    }

    .subscribe-inline-form__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-top: 0.15rem;
    }
}

@media (max-width: 900px) {
    .subscribe-inline-form__grid {
        grid-template-columns: 1fr 1fr;
    }

    .subscribe-inline-form__field--grow {
        grid-column: 1 / -1;
    }

    .subscribe-inline-form__field--company {
        grid-column: 1 / -1;
    }

    .subscribe-inline-form__actions {
        grid-column: 1 / -1;
        align-items: stretch;
    }

    .subscribe-inline-form__actions .hub-cta-button--submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .subscribe-inline-form__grid {
        grid-template-columns: 1fr;
    }
}

.hub-gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    max-width: 28rem;
}

.hub-gallery-placeholder span {
    aspect-ratio: 4/3;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8eef5 0%, #f1f5f9 100%);
    border: 1px dashed rgba(15, 23, 42, 0.12);
}

.hub-subscribe-actions {
    margin-top: 0.5rem;
}

@media (max-width: 820px) {
    .hub-split,
    .hub-split--flip {
        grid-template-columns: 1fr;
    }

    .hub-split--flip .hub-split__content,
    .hub-split--flip .hub-split__visual {
        order: unset;
    }

    .hub-visual-panel {
        min-height: 9rem;
    }

    #about.hub-band--tint {
        margin-top: 4.2rem;
        padding: 1.6rem 1.25rem;
    }

    #about .hub-split__visual--about {
        margin: 0;
    }

    #about .hub-mission-photo {
        width: 100%;
        transform: none;
    }
}

@media (max-width: 520px) {
    .hub-band {
        padding: 1.65rem 1.15rem;
    }

    .hub-band--events {
        padding-left: 0;
        padding-right: 0;
    }

    .hub-gallery-carousel {
        margin-top: 1rem;
        padding-inline: 0.7rem;
    }

    .hub-gallery-arrow {
        display: none;
    }

    .hub-gallery-strip {
        padding: 0.2rem 0.1rem 0.55rem;
        scroll-padding-inline: 0.1rem;
    }

    .hub-gallery-card {
        flex-basis: 82vw;
    }

    #testimonial.hub-testimonial {
        margin-top: 0;
        min-height: clamp(260px, 62vw, 420px);
        padding-block: clamp(1.65rem, 5vw, 2.4rem);
        padding-inline: 1rem;
    }

    .hub-testimonial-carousel {
        padding-inline: 0.35rem;
    }

    .hub-testimonial-arrow {
        display: none;
    }

    #subscribe.hub-subscribe {
        padding-top: 2.35rem;
        padding-bottom: 2.1rem;
    }

    .hub-testimonial__quote {
        width: 100%;
        max-width: 100%;
        line-height: 1.2;
    }
}

.event-item {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease;
}

.event-item:hover {
    transform: translateY(-2px);
}

.event-meta {
    color: var(--site-muted);
    font-size: 0.9rem;
}

.section-title {
    margin-top: 1.8rem;
}

#past-events {
    scroll-margin-top: 5.5rem;
    /* Match filter row + primary button corner radius (px, not %). */
    --past-events-control-radius: 21px;
    --site-button-radius: var(--past-events-control-radius);
    max-width: var(--event-page-max-width);
    margin-inline: auto;
    padding-bottom: 2.4rem;
}

#past-events .surface-card {
    border-radius: 10px;
}

/* Make archive filter controls feel consistent (same radius as Search button). */
#past-events .past-events-search input[type="search"],
#past-events .past-events-search select {
    width: 100%;
    border-radius: var(--past-events-control-radius) !important;
}

.past-events-clear-filters {
    margin-left: 0.75rem;
    text-decoration: none;
    font-weight: 600;
}

.past-events-clear-filters:hover {
    text-decoration: underline;
}

.hero--compact {
    padding-top: 1.35rem;
    padding-bottom: 1.45rem;
    min-height: 190px;
}

.hero--compact h1 {
    margin-bottom: 0.5rem;
}

.events-index-intro {
    margin: 0;
    max-width: 65ch;
}

.events-index-intro p:last-child {
    margin-bottom: 0;
}

.event-item__link {
    font-weight: 700;
    color: var(--site-primary);
    text-decoration: none;
}

.event-item__link:hover {
    text-decoration: underline;
}

.event-item__date {
    font-size: 0.95rem;
    margin: 0.35rem 0 0.15rem;
}

.event-item__summary {
    margin: 0.45rem 0 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.events-index-page .section-title {
    margin-top: 1.2rem;
    margin-bottom: 1rem;
}

.event-empty-state {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.event-empty-state p {
    margin: 0;
}

.event-empty-state p + p {
    margin-top: 0.8rem;
}

.event-empty-state h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    color: var(--site-heading);
}

.event-empty-state__back-link {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 1rem;
}

.event-empty-state__back-link a {
    font-weight: 600;
    color: var(--site-primary);
    text-decoration: none;
}

.event-empty-state__back-link a:hover {
    text-decoration: underline;
}

.event-detail-card .event-detail-summary {
    margin: 1rem 0 1.25rem;
}

.event-detail-summary--keyfacts {
    padding: 1.2rem 1.25rem 1.05rem;
}

.event-detail-summary__chapter {
    margin: 0 0 0.65rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #64748b;
}

/* Event detail: optional emoji prefix (template + marketing-body h2) */
.event-heading-emoji {
    display: inline-block;
    margin-right: 0.35em;
    font-style: normal;
    line-height: 1;
    vertical-align: -0.06em;
}

.event-keyfacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.event-keyfact {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.event-keyfact__icon {
    flex-shrink: 0;
    width: 2.55rem;
    height: 2.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    color: var(--site-primary);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.event-keyfact__icon svg {
    display: block;
}

.event-keyfact__body {
    flex: 1;
    min-width: 0;
    padding-top: 0.08rem;
}

.event-keyfact__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.12rem;
}

.event-keyfact__value {
    display: block;
    font-size: 1.03rem;
    font-weight: 650;
    color: var(--site-heading);
    line-height: 1.45;
}

.event-keyfact__value .muted {
    font-weight: 500;
}

.event-keyfact__value a {
    font-weight: 650;
}

.event-keyfact__sep {
    margin: 0 0.12rem;
    font-weight: 500;
    color: #64748b;
}

.event-keyfacts__org {
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
}

.event-detail-meta-line--keyfacts {
    margin-top: 0.85rem;
    margin-bottom: 0;
    text-align: center;
}

.event-detail-marketing {
    margin-top: 1.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--site-border);
}

.event-detail-marketing__title {
    margin: 0 0 1.05rem;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--site-heading);
}

.event-detail-prose--marketing {
    margin-top: 0;
}

.event-detail-prose--marketing > *:first-child {
    margin-top: 0;
}

@media (max-width: 480px) {
    .event-keyfact__icon {
        width: 2.35rem;
        height: 2.35rem;
    }

    .event-keyfact__icon svg {
        width: 19px;
        height: 19px;
    }
}

.event-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.35rem;
}

.event-detail-header h1 {
    margin-bottom: 0;
    flex: 1 1 12rem;
}

.chip.chip--past {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.chip.chip--today {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.event-detail-hero {
    margin: 1rem 0 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--site-border);
}

.event-detail-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.event-detail-time {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.05rem;
    color: #334155;
}

.event-detail-location {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 0.65rem;
}

.event-detail-location__row {
    display: grid;
    grid-template-columns: minmax(5.5rem, 8rem) 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
    font-size: 0.95rem;
}

.event-detail-location dt {
    margin: 0;
    font-weight: 600;
    color: #475569;
}

.event-detail-location dd {
    margin: 0;
    color: var(--site-heading);
}

@media (max-width: 480px) {
    .event-detail-location__row {
        grid-template-columns: 1fr;
        gap: 0.15rem 0;
    }

    .event-detail-location dt {
        margin-top: 0.35rem;
    }

    .event-detail-location__row:first-child dt {
        margin-top: 0;
    }
}

.event-detail-body {
    margin-top: 0.5rem;
}

/* Readable typography for AI / Rich Text marketing body */
.event-detail-prose {
    margin-top: 1.35rem;
    padding-top: 0.35rem;
    max-width: 42rem;
    font-size: 1.0625rem;
    line-height: 1.72;
    color: #334155;
}

.event-detail-prose h2 {
    margin: 1.75rem 0 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--site-heading);
}

.event-detail-prose h2:first-child {
    margin-top: 0;
}

.event-detail-prose h3 {
    margin: 1.35rem 0 0.45rem;
    font-size: 1.12rem;
    font-weight: 650;
    color: #334155;
}

.event-detail-prose p {
    margin: 0 0 1rem;
}

.event-detail-prose ul,
.event-detail-prose ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.event-detail-prose li {
    margin-bottom: 0.35rem;
}

.event-detail-prose li > p {
    margin: 0 0 0.35rem;
}

.event-detail-prose strong {
    font-weight: 650;
    color: #1e293b;
}

.event-detail-prose a {
    color: var(--site-accent, #2563eb);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.event-detail-prose blockquote {
    margin: 1rem 0;
    padding: 0.65rem 0 0.65rem 1rem;
    border-left: 4px solid #cbd5e1;
    color: #475569;
    font-style: italic;
}

.event-detail-prose hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid var(--site-border);
}

/* Marketing body: section headings (must come after base .event-detail-prose h2) */
.event-detail-prose.event-detail-prose--marketing h2 {
    margin: 1.65rem 0 0.55rem;
    padding: 0.55rem 0.75rem 0.55rem 0.85rem;
    border-left: 4px solid var(--site-primary);
    background: linear-gradient(90deg, rgba(18, 53, 91, 0.07) 0%, transparent 92%);
    border-radius: 0 10px 10px 0;
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.28;
    color: var(--site-heading);
}

.event-detail-prose.event-detail-prose--marketing h2:first-child {
    margin-top: 0;
}

/* Rotating section markers for AI/markdown body headings (complements blue bar) */
.event-detail-prose.event-detail-prose--marketing h2::before {
    display: inline-block;
    margin-right: 0.45rem;
    font-weight: 400;
    letter-spacing: 0;
    vertical-align: -0.04em;
}

.event-detail-prose.event-detail-prose--marketing h2:nth-of-type(5n + 1)::before {
    content: "✨";
}

.event-detail-prose.event-detail-prose--marketing h2:nth-of-type(5n + 2)::before {
    content: "📋";
}

.event-detail-prose.event-detail-prose--marketing h2:nth-of-type(5n + 3)::before {
    content: "🎤";
}

.event-detail-prose.event-detail-prose--marketing h2:nth-of-type(5n + 4)::before {
    content: "📅";
}

.event-detail-prose.event-detail-prose--marketing h2:nth-of-type(5n + 5)::before {
    content: "🤝";
}

.event-detail-prose.event-detail-prose--marketing h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.45rem;
    font-size: 1.08rem;
    font-weight: 650;
    color: #334155;
}

.event-detail-body--plain {
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
}

.event-detail-body--markdown .event-detail-section-title,
.event-detail-section-title {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 650;
    color: var(--site-heading);
}

.event-detail-body--fallback .event-detail-prose {
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
}

.event-detail-body--markdown {
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
}

.event-detail-body--markdown h2,
.event-detail-body--markdown h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 650;
    color: var(--site-heading);
}

.event-detail-past-note {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.event-detail-signup {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--site-border);
}

/* Event registration — light accent; compact bar */
.event-detail-signup-details {
    margin: 0;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #fafffe;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

/* Pico adds a second chevron via summary::after — remove for this control only */
.event-detail-signup-details > summary::after,
.event-detail-signup-details[open] > summary::after {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    float: none !important;
    transform: none !important;
}

.event-detail-signup-summary {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    user-select: none;
    text-align: left;
    transition: background-color 0.15s ease;
}

.event-detail-signup-summary::-webkit-details-marker,
.event-detail-signup-details > summary::-webkit-details-marker {
    display: none;
}

.event-detail-signup-summary::marker {
    display: none;
    content: "";
}

.event-detail-signup-summary:hover {
    background-color: rgba(236, 253, 245, 0.85);
}

.event-detail-signup-summary:focus {
    outline: none;
}

.event-detail-signup-summary:focus-visible {
    outline: 2px solid rgba(5, 150, 105, 0.3);
    outline-offset: 1px;
}

.event-detail-signup-summary__icon {
    flex: 0 0 auto;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    color: #047857;
}

.event-detail-signup-summary__icon svg {
    display: block;
    width: 17px;
    height: 17px;
}

.event-detail-signup-summary__copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.event-detail-signup-summary__title {
    font-size: 0.98rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: #14532d;
}

.event-detail-signup-summary__chevron {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-left: 0.1rem;
    border-radius: 5px;
    color: #64748b;
    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

.event-detail-signup-summary__chevron svg {
    display: block;
    transition: transform 0.2s ease;
}

.event-detail-signup-summary:hover .event-detail-signup-summary__chevron {
    color: #059669;
    background-color: rgba(209, 250, 229, 0.5);
}

.event-detail-signup-details[open] .event-detail-signup-summary__chevron svg {
    transform: rotate(180deg);
}

.event-detail-signup-details[open] .event-detail-signup-summary {
    background-color: rgba(236, 253, 245, 0.65);
}

.event-detail-signup-details__panel {
    padding: 0.72rem 0.85rem 0.65rem;
    background: #ffffff;
    border-top: 1px solid #e7f6ec;
}

.event-detail-signup-details__panel:has(.event-detail-signup-form) .event-detail-signup__lede {
    margin-bottom: 0.65rem;
}

.event-detail-signup-details__panel:has(.event-detail-signup-form) .event-detail-signup__external {
    margin-bottom: 0.85rem;
}

.event-detail-signup__lede {
    margin: 0 0 1rem;
    max-width: 40rem;
    font-size: 0.98rem;
}

.event-detail-signup__external {
    margin: 0 0 1.25rem;
    max-width: 42rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.event-detail-signup__external a {
    color: #047857;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.event-detail-signup__external a:hover {
    color: #065f46;
}

.event-detail-signup-card {
    margin-top: 0.25rem;
    max-width: 100%;
}

.event-detail-signup-form {
    margin: 0;
    /* Match Pico / page body — avoid smaller inherited form control typography */
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
}

/* Registration form: compact vertical rhythm */
.event-detail-signup-form .signup-section + .signup-section {
    margin-top: 1.05rem;
}

.event-detail-signup-form .signup-fieldset--optional {
    padding: 0.65rem 0.8rem 0.5rem;
}

.event-detail-signup-form .signup-fieldset--optional > p {
    margin-bottom: 0.55rem;
    font-size: 0.88rem;
}

.event-detail-signup-form .signup-fieldset--optional input,
.event-detail-signup-form .signup-fieldset--optional textarea,
.event-detail-signup-form .signup-fieldset--optional select {
    margin-bottom: 0.5rem;
}

.event-detail-signup-form .signup-fieldset--optional label:last-of-type + textarea {
    margin-bottom: 0;
}

.event-detail-signup-form .signup-fieldset--optional legend {
    margin-bottom: 0.5rem;
}

.event-detail-signup-form__footer {
    margin-top: 0.1rem;
}

.event-detail-signup-form .signup-fieldset--consent {
    margin-top: 0;
    padding: 0.45rem 0 0;
    border-top: 1px solid #e2e8f0;
}

.event-detail-signup-form .signup-consent-stack {
    gap: 0.1rem;
}

.event-detail-signup-form .signup-consent-stack .signup-checkbox-row {
    padding: 0.22rem 0;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.event-detail-signup-form .signup-checkbox-row__text {
    display: block;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: normal;
    color: inherit;
}

.event-detail-signup-form .signup-checkbox-row input[type="checkbox"] {
    width: 1.0625rem;
    height: 1.0625rem;
    margin-top: 0.16rem;
    flex-shrink: 0;
    border-radius: 4px;
    accent-color: var(--site-primary, #12355b);
}

.event-detail-signup-form .signup-consent-stack .errorlist {
    margin: 0.05rem 0 0;
    padding-left: 1.65rem;
    color: #b91c1c;
}

.event-detail-signup-form .signup-form-actions {
    margin-top: 0.45rem;
    padding-top: 0;
    border-top: none;
}

.event-detail-signup-form .signup-form-actions button[type="submit"] {
    margin-top: 0;
    min-height: 2.6rem;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
    border-radius: 10px;
}

.event-detail-subscribe-cta {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--site-border);
}

.event-detail-subscribe-cta__title {
    margin: 0 0 0.4rem;
    font-size: 1.12rem;
    font-weight: 650;
    color: var(--site-heading);
}

.event-detail-subscribe-cta__text {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.98rem;
    max-width: 36rem;
}

.event-detail-subscribe-cta__actions {
    margin: 0;
}

/* Secondary / quiet — registration above is the accent CTA */
.event-detail-subscribe-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.event-detail-subscribe-cta__button:hover {
    color: #334155;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.event-detail-subscribe-cta__button-icon {
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.event-detail-subscribe-cta__button:hover .event-detail-subscribe-cta__button-icon {
    transform: translateX(3px);
}

@media (max-width: 700px) {
    .site-nav-desktop {
        display: none;
    }

    .site-nav-mobile {
        display: block;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
        row-gap: 1.85rem;
        padding-top: 2.25rem;
        padding-bottom: 1.75rem;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }

    .footer-logo__img {
        max-height: 2.35rem;
        max-width: 7rem;
    }

    .footer-tagline {
        max-width: 36rem;
    }

    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding-top: 0.95rem;
        padding-bottom: 0.95rem;
    }

    .hero {
        padding: 1.25rem;
    }

    .event-page {
        padding: 1.25rem 0.75rem 2rem;
    }

    .signup-event-summary__row {
        flex-direction: column;
        gap: 0.85rem;
    }

    .signup-event-summary__what {
        text-align: left;
        padding-top: 0.75rem;
        border-top: 1px solid #e5e7eb;
    }

    .event-calendar-months {
        grid-template-columns: 1fr;
    }

    .event-calendar-card {
        grid-template-columns: 1fr;
    }

    .event-calendar-card__actions {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .footer-inner {
        grid-template-columns: 1fr;
        row-gap: 1.6rem;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .footer-brand-link {
        gap: 0.65rem;
    }

    .footer-col__heading {
        margin-bottom: 0.75rem;
    }

    .footer-subscribe-cta {
        width: 100%;
        justify-content: center;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.events-index-hero {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 768px) {
    .events-index-hero {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.events-index-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #059669;
}

.events-index-hero__lede {
    margin: 0;
    max-width: 42ch;
}

.events-index-intro-wrap {
    margin-top: -0.25rem;
}

.event-calendar-section {
    margin-top: 0.5rem;
}

.event-calendar {
    padding: 1rem 1.15rem 1.25rem;
    margin-bottom: 1rem;
}

.event-calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.event-calendar-range {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--site-heading);
    text-align: center;
    flex: 1;
}

.event-calendar-navbtn {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--site-border);
    background: #fff;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 600;
    color: var(--site-heading);
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.event-calendar-navbtn:hover {
    background: var(--site-soft-bg);
    border-color: rgba(15, 23, 42, 0.14);
}

.event-calendar-months {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.event-calendar-month {
    min-width: 0;
}

.event-calendar-month__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--site-heading);
}

.event-calendar-month__weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.15rem;
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.event-calendar-month__cells {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.15rem;
}

.event-calendar-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.65rem;
    padding: 0.25rem 0.1rem 0.35rem;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: var(--site-heading);
    transition:
        background 0.12s ease,
        box-shadow 0.12s ease;
}

.event-calendar-day:hover:not(.event-calendar-day--pad) {
    background: rgba(18, 53, 91, 0.06);
}

.event-calendar-day--pad {
    cursor: default;
    pointer-events: none;
}

.event-calendar-day__num {
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.2;
}

.event-calendar-day--today .event-calendar-day__num {
    color: var(--site-primary);
    font-weight: 800;
}

/* Today on the calendar, but every listed event that day has already started (per server clock). */
.event-calendar-day--today.event-calendar-day--past .event-calendar-day__num {
    color: #94a3b8;
    font-weight: 650;
}

.event-calendar-day--selected:not(.event-calendar-day--pad) {
    box-shadow: inset 0 0 0 2px #059669;
    background: rgba(5, 150, 105, 0.06);
}

.event-calendar-day--selected.event-calendar-day--past:not(.event-calendar-day--pad) {
    box-shadow: inset 0 0 0 2px #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}

.event-calendar-day--past .event-calendar-day__num {
    color: #94a3b8;
}

.event-calendar-day__dots {
    display: flex;
    gap: 3px;
    margin-top: 2px;
    min-height: 6px;
    align-items: center;
    justify-content: center;
}

.event-calendar-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
}

.event-calendar-dot--0 {
    background: var(--calendar-dot-0);
}

.event-calendar-dot--1 {
    background: var(--calendar-dot-1);
}

.event-calendar-dot--2 {
    background: var(--calendar-dot-2);
}

.event-calendar-dot--past {
    background: #94a3b8 !important;
}

.event-calendar-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-calendar-empty-day {
    margin: 0;
    padding: 0.75rem 1rem;
}

.event-calendar-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.15rem 1.2rem;
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.event-calendar-card--past {
    opacity: 0.95;
    border-color: #e2e8f0;
}

.event-calendar-card__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.event-calendar-card__badges .event-calendar-card__chip {
    margin-bottom: 0;
}

.event-calendar-card__past-chip {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
}

.event-calendar-card__datecol {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 3.25rem;
}

.event-calendar-card__month {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.event-calendar-card__day {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: var(--site-heading);
}

.event-calendar-card__chip {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
}

.event-calendar-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.event-calendar-card__title a {
    color: var(--site-heading);
    text-decoration: none;
}

.event-calendar-card__title a:hover {
    color: var(--site-primary);
    text-decoration: underline;
}

.event-calendar-card__summary {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
}

.event-calendar-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin-top: 0.65rem;
    font-size: 0.88rem;
    color: var(--site-muted);
}

.event-calendar-card__meta-item {
    display: inline-flex;
    align-items: center;
    color: var(--site-primary);
}

.event-calendar-card__meta-text {
    margin-left: 0.35rem;
}

.event-calendar-card__actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.event-calendar-card__actions a[role="button"] {
    white-space: nowrap;
}

.event-calendar-noscript {
    padding: 1rem 1.15rem;
    margin-top: 1rem;
}

.event-calendar-noscript__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
