/* PRCA Theme Balance (Zero Blue, Controlled Green Accents) & Reference Hero + Infographics Section */
:root {
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --color-ink: #141816;
    --color-ink-soft: #2F3633;
    --color-muted: #5A635F;
    --color-line: #E2E6E4;
    --color-surface: #F4F6F5;
    --color-cream: #FFFFFF;
    --color-navy: #141716;
    --color-brand: #1A8B64;
    --color-brand-mid: #1E9A6A;
    --color-brand-light: #5EC99A;
    --color-brand-dark: #0E4A42;
    --color-brand-soft: #ECFDF5;
    --color-accent: #1A8B64;
    --color-accent-dark: #0E4A42;
    --color-accent-soft: #ECFDF5;
    --shadow-card: 0 8px 28px rgba(20, 24, 22, 0.06);
    --shadow-lift: 0 18px 40px rgba(20, 24, 22, 0.12);
}

h1, h2, h3, h4, .font-display, .hero-prime__title, .heading-xl, .heading-lg, .heading-md {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.02em;
}

.hero-prime__title {
    font-weight: 800 !important;
}

/* Header: neutral dark charcoal pill with subtle emerald highlight */
.site-header.is-scrolled .header-pill,
.site-header--solid.is-scrolled .header-pill {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(18, 21, 20, 0.94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.36);
}

.header-mobile-panel,
.site-header--solid .header-mobile-panel {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(18, 21, 20, 0.97);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.site-header .site-logo-frame {
    background: rgba(20, 23, 22, 0.55);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* Hero: neutral dark charcoal backdrop (strips blue cast from hall photo) + centered reference layout */
.hero-prime {
    background: #121514;
    color: #F7F8F7;
}

.hero-prime__photo {
    filter: saturate(0.18) contrast(1.08) brightness(0.72);
}

.hero-prime__tone {
    background: linear-gradient(120deg, rgba(16, 19, 18, 0.58) 0%, rgba(20, 24, 22, 0.45) 55%, rgba(16, 19, 18, 0.58) 100%);
}

.hero-prime__scrim {
    background:
        radial-gradient(ellipse 72% 55% at 50% 42%, rgba(20, 24, 22, 0.42) 0%, rgba(15, 18, 17, 0.88) 78%),
        linear-gradient(180deg, rgba(15, 18, 17, 0.58) 0%, rgba(18, 21, 20, 0.52) 48%, rgba(15, 18, 17, 0.9) 100%);
}

.hero-prime__mesh {
    opacity: 0.22;
    background:
        radial-gradient(ellipse 46% 36% at 15% 24%, rgba(94, 201, 154, 0.22), transparent 62%),
        radial-gradient(ellipse 40% 34% at 86% 78%, rgba(26, 139, 100, 0.18), transparent 58%);
}

.hero-prime__watermark {
    color: rgba(255, 255, 255, 0.035);
}

.hero-prime__body {
    justify-content: center;
    padding-top: max(7rem, calc(env(safe-area-inset-top, 0px) + 6.5rem));
    padding-bottom: max(3rem, calc(env(safe-area-inset-bottom, 0px) + 2.5rem));
}

.hero-prime__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 54rem;
    margin: 0 auto;
    animation: hero-prime-rise 720ms cubic-bezier(.2, .75, .25, 1) both;
}

.hero-prime__meta {
    justify-content: center;
    color: rgba(235, 238, 236, 0.88);
}

.hero-prime__meta-item--brand {
    border-color: rgba(94, 201, 154, 0.42);
    background: rgba(26, 139, 100, 0.2);
    color: #ECFDF5;
}

.hero-prime__center .hero-prime__title {
    margin-top: 1.2rem;
    max-width: 18ch;
    font-size: clamp(2.2rem, 5.2vw, 3.85rem);
    line-height: 1.06;
    text-align: center;
}

.hero-prime__tagline-bar {
    display: inline-block;
    margin-top: 1.15rem;
    padding: 0.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(240, 244, 242, 0.9);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-prime__center .hero-prime__lead {
    max-width: 40rem;
    margin-top: 1.15rem;
    color: rgba(229, 234, 231, 0.82);
    text-align: center;
}

.hero-prime__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.75rem;
    margin-top: 1.4rem;
}

.hero-prime__fact {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-prime__fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #5EC99A;
}

.hero-prime__fact-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.hero-prime__center .hero-prime__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.65rem;
}

.hero-prime__center .hero-prime__cta {
    width: auto;
    min-height: 3.1rem;
    padding: 0.8rem 1.55rem;
}

.hero-prime__cta--gold {
    color: #181A18;
    background: linear-gradient(135deg, #E8C56E 0%, #CFA243 100%);
    box-shadow:
        0 12px 28px rgba(207, 162, 67, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-prime__cta--gold:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 36px rgba(207, 162, 67, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Reference-style 4 separate countdown tiles */
.hero-prime__countdown-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(4.5rem, 6.25rem));
    gap: 0.75rem;
    margin-top: 1.85rem;
}

.hero-prime__count-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 0.5rem 0.8rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 2px solid rgba(94, 201, 154, 0.72);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-prime__count-tile .hero-prime__count-value {
    font-size: clamp(1.4rem, 3.2vw, 1.95rem);
    font-weight: 700;
    color: #FFFFFF;
}

.hero-prime__count-tile .hero-prime__count-unit {
    margin-top: 0.35rem;
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    color: rgba(226, 232, 229, 0.72);
}

@media (max-width: 480px) {
    .hero-prime__center .hero-prime__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-prime__center .hero-prime__cta {
        width: 100%;
    }

    .hero-prime__countdown-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        gap: 0.5rem;
    }

    .hero-prime__tagline-bar {
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        padding: 0.45rem 0.75rem;
    }
}

/* Light alternating surfaces: clean white & soft neutral gray (no blue, no mint green wash) */
.home-audience,
.home-facts,
.home-insights,
.home-venue {
    background: #FFFFFF;
}

.home-about,
.home-downloads,
.home-partners,
.home-awards,
.home-faq,
.agenda-page {
    background: #F4F6F5;
}

.home-audience-item,
.home-bento-copy,
.site-card,
.home-facts-stat,
.home-facts-panel,
.home-download-card,
.home-why-item {
    background: #FFFFFF;
    border-color: #E2E6E4;
}

.home-price.is-active {
    background: linear-gradient(180deg, #FFFFFF 0%, #F4FBF7 100%);
    box-shadow: 0 0 0 2px rgba(26, 139, 100, 0.24), 0 16px 36px rgba(20, 24, 22, 0.08);
}

/* Dark contrast sections: neutral deep charcoal with controlled PRCA green accents */
.home-agenda,
.home-awards-panel,
.home-close,
.agenda-prime,
.section-premium,
.event-history--compact,
.event-history--full {
    background: linear-gradient(165deg, #131615 0%, #191D1B 55%, #141716 100%);
}

.page-hero {
    background: #141716;
}

.page-hero-glow {
    background:
        radial-gradient(circle at 78% 12%, rgba(26, 139, 100, 0.18), transparent 44%),
        linear-gradient(160deg, rgba(16, 19, 18, 0.84) 0%, rgba(20, 24, 22, 0.88) 55%, rgba(16, 19, 18, 0.9) 100%);
}

.agenda-prime__scrim {
    background: linear-gradient(135deg, rgba(16, 19, 18, 0.9) 0%, rgba(20, 24, 22, 0.84) 55%, rgba(18, 21, 20, 0.82) 100%);
}

.agenda-session--dark {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.agenda-session--dark:hover {
    border-color: rgba(94, 201, 154, 0.45);
    background: rgba(255, 255, 255, 0.07);
}

.home-close-glow {
    background:
        radial-gradient(circle at 82% 15%, rgba(26, 139, 100, 0.2), transparent 42%),
        radial-gradient(circle at 12% 85%, rgba(94, 201, 154, 0.12), transparent 40%);
}

.site-footer {
    background: linear-gradient(180deg, #131615 0%, #0C0E0D 100%);
}

/* ─── Section 2: Conference Theme / Discussion Points (Executive Neutral Editorial Style) ─── */
.home-discussion {
    position: relative;
    padding: 4rem 0 4.5rem;
    background: #F4F6F5;
    border-bottom: 1px solid #E2E6E4;
    color: #141816;
}

@media (min-width: 1024px) {
    .home-discussion {
        padding: 5rem 0 5.5rem;
    }
}

.discussion-header {
    max-width: 48rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.discussion-header__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 139, 100, 0.28);
    background: #ECFDF5;
    color: #0E4A42;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.discussion-header__title {
    margin-top: 0.95rem;
    color: #141816;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.discussion-header__subtitle {
    margin-top: 0.65rem;
    color: #1A8B64;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.35;
}

.discussion-header__lead {
    margin-top: 0.85rem;
    color: #5A635F;
    font-size: 1rem;
    line-height: 1.65;
}

.discussion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .discussion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

.discussion-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.125rem;
    background: #FFFFFF;
    border: 1px solid #DDE2DF;
    box-shadow: 0 10px 30px rgba(20, 24, 22, 0.05);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease;
}

.discussion-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 139, 100, 0.38);
    box-shadow: 0 20px 44px rgba(20, 24, 22, 0.1);
}

.discussion-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    background: #FAFBFA;
    border-bottom: 1px solid #EAECEB;
}

.discussion-card__exhibit {
    color: #141816;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.discussion-card__stat {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.65rem;
    border-radius: 999px;
    background: #ECFDF5;
    border: 1px solid rgba(26, 139, 100, 0.24);
    color: #0E4A42;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.discussion-card__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0.85rem 1rem 0.5rem;
    background: #FFFFFF;
    border: 0;
    text-align: left;
    overflow: hidden;
}

.discussion-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 0.65rem;
    border: 1px solid #ECEFED;
    background: #FFFFFF;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.discussion-card__media:hover img {
    transform: scale(1.012);
}

.discussion-card__zoom {
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 24, 22, 0.82);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.85;
    transition: opacity 200ms ease, background-color 200ms ease;
    pointer-events: none;
}

.discussion-card__media:hover .discussion-card__zoom,
.discussion-card__media:focus-visible .discussion-card__zoom {
    opacity: 1;
    background: #1A8B64;
}

.discussion-card__zoom svg {
    width: 0.8rem;
    height: 0.8rem;
}

.discussion-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.35rem 1.4rem;
    background: #FFFFFF;
}

.discussion-card__title {
    padding-left: 0.85rem;
    border-left: 3px solid #1A8B64;
    color: #141816;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.34;
    letter-spacing: -0.02em;
}

.discussion-card__points {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.discussion-card__points li {
    position: relative;
    padding-left: 1rem;
    color: #464D4A;
    font-size: 0.9rem;
    line-height: 1.56;
}

.discussion-card__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.54em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 2px;
    background: #1A8B64;
}

/* ─── Section 3: About the Conference (Executive Editorial, No Photos/Map) ─── */
.home-about {
    background: #F4F6F5;
    border-top: 1px solid #E2E6E4;
    border-bottom: 1px solid #E2E6E4;
}

.home-about-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .home-about-editorial {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 3.5rem;
        align-items: center;
    }
}

.home-about-editorial__main {
    padding: 0.25rem 0;
}

.home-about-editorial__actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.home-about-editorial__pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .home-about-editorial__pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.125rem;
    }
}

.home-about-pillar {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.45rem;
    border-radius: 1rem;
    background: #FFFFFF;
    border: 1px solid #DDE2DF;
    box-shadow: 0 8px 24px rgba(20, 24, 22, 0.04);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.home-about-pillar:hover {
    transform: translateY(-3px);
    background: #FFFFFF;
    border-color: rgba(26, 139, 100, 0.36);
    box-shadow: 0 14px 30px rgba(20, 24, 22, 0.07);
}

.home-about-pillar__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.6rem;
    background: #ECFDF5;
    border: 1px solid rgba(26, 139, 100, 0.25);
    color: #0E4A42;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-about-pillar__title {
    margin-top: 0.9rem;
    color: #141816;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.home-about-pillar__text {
    margin-top: 0.45rem;
    color: #5A635F;
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ─── Global Button & Section Layout Polish ─── */
.btn-primary,
.btn-outline,
.btn-white,
.btn-premium,
.btn-gold {
    min-height: 46px;
    padding: 0.68rem 1.45rem;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-primary,
.btn-premium,
.btn-gold {
    border: 1px solid transparent;
}

/* Remove leftover faint blue tint on cards & alternate section backgrounds cleanly */
.home-audience {
    background: #FFFFFF;
}

.home-audience-item {
    background: #F8FAF9;
}

.home-facts {
    background: #F4F6F5;
    border-bottom: 1px solid #E2E6E4;
}

.home-downloads {
    background: #FFFFFF;
}

.home-download-card {
    justify-content: flex-start;
}

.home-download-card h3 {
    margin-bottom: 1.25rem;
}

.home-download-card .btn-outline {
    margin-top: auto;
}

.home-sponsors {
    background: #F4F6F5;
    border-top: 1px solid #E2E6E4;
    border-bottom: 1px solid #E2E6E4;
}

@media (min-width: 640px) {
    .sponsor-tier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .sponsor-tier-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sponsor-tier--featured {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3FAF6 100%);
    border-color: rgba(26, 139, 100, 0.34);
}

.sponsor-tier .btn-outline {
    margin-top: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sponsor-tier__benefits {
    margin-bottom: 1.5rem;
}

.home-faq {
    background: #F4F6F5;
    border-top: 1px solid #E2E6E4;
}

.event-history--compact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Disable heavy scroll-reveal animations & transitions for 100% instant, butter-smooth native scroll */
.reveal,
.reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    transition-delay: 0s !important;
    will-change: auto !important;
}

/* Compact page-hero for registration & utility pages so the form stays above the fold */
.page-hero.page-hero--compact {
    padding-top: 5.5rem !important;
    padding-bottom: 1.5rem !important;
}

@media (min-width: 640px) {
    .page-hero.page-hero--compact {
        padding-top: 6rem !important;
        padding-bottom: 1.75rem !important;
    }
}

/* Fix specificity override so checkout 2-column grid works side-by-side on desktop */
@media (min-width: 768px) {
    .checkout-section .row > .col-md-6,
    .checkout-section .row > .col-sm-6 {
        width: 50%;
    }
    .checkout-section .row > .col-md-4 {
        width: 33.3333%;
    }
    .checkout-section .row > .col-md-7 {
        width: 58.3333%;
    }
    .checkout-section .row > .col-md-5 {
        width: 41.6667%;
    }
}

/* ══════════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON & LIGHT MODE SYSTEM
   ══════════════════════════════════════════════════════════════════ */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #F7F8F7;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.theme-toggle-btn:hover {
    border-color: rgba(94, 201, 154, 0.5);
    background: rgba(255, 255, 255, 0.14);
    color: #5EC99A;
    transform: translateY(-1px);
}

.theme-toggle-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

/* In Dark mode (default): show sun icon (meaning "click to switch to light") */
html:not([data-theme="light"]) .theme-toggle-icon--moon,
html[data-theme="dark"] .theme-toggle-icon--moon {
    display: none !important;
}

html:not([data-theme="light"]) .theme-toggle-icon--sun,
html[data-theme="dark"] .theme-toggle-icon--sun {
    display: inline-block !important;
}

/* In Light mode: show moon icon (meaning "click to switch to dark") */
html[data-theme="light"] .theme-toggle-icon--sun {
    display: none !important;
}

html[data-theme="light"] .theme-toggle-icon--moon {
    display: inline-block !important;
}

/* ── Light Mode Root Tokens & Overrides ────────────────────────── */
html[data-theme="light"] {
    --color-ink: #111815;
    --color-ink-soft: #2D3732;
    --color-muted: #55625B;
    --color-line: #DCE3DF;
    --color-surface: #F4F7F5;
    --color-cream: #FFFFFF;
    --color-navy: #FFFFFF;
    --color-brand: #157955;
    --color-brand-mid: #1A8B64;
    --color-brand-light: #22996E;
    --color-brand-dark: #0A3C35;
    --color-brand-soft: #E6F7F0;
    --color-accent: #157955;
    --color-accent-dark: #0A3C35;
    --color-accent-soft: #E6F7F0;
}

html[data-theme="light"] body {
    background-color: #F8FAF9;
    color: #1A201D;
}

/* Header in Light Mode: seamless transparent at top (matching dark mode), elegant rounded floating pill when scrolled */
html[data-theme="light"] .site-header:not(.is-scrolled) .header-pill {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html[data-theme="light"] .site-header.is-scrolled .header-pill {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(21, 121, 85, 0.16) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .site-header .nav-link {
    color: #2F3633;
}

html[data-theme="light"] .site-header .nav-link:hover,
html[data-theme="light"] .site-header .nav-link.is-active {
    color: #157955;
}

html[data-theme="light"] .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.05);
    color: #1A201D;
}

html[data-theme="light"] .theme-toggle-btn:hover {
    border-color: #157955;
    background: rgba(21, 121, 85, 0.08);
    color: #157955;
}

html[data-theme="light"] .mobile-menu-toggle {
    color: #1A201D;
}

html[data-theme="light"] .header-mobile-panel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1A201D;
}

html[data-theme="light"] .header-mobile-panel .mobile-nav-link {
    color: #2F3633;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .header-mobile-panel .mobile-nav-link:hover,
html[data-theme="light"] .header-mobile-panel .mobile-nav-link.is-active {
    color: #157955;
}

/* Hero in Light Mode */
html[data-theme="light"] .hero-prime {
    background: linear-gradient(180deg, #EDF5F1 0%, #F5F9F7 100%);
    color: #1A201D;
}

html[data-theme="light"] .hero-prime__title {
    color: #0E1714 !important;
}

html[data-theme="light"] .hero-prime__tagline-bar {
    color: #157955 !important;
    background: rgba(21, 121, 85, 0.08) !important;
    border-color: rgba(21, 121, 85, 0.2) !important;
}

html[data-theme="light"] .hero-prime__lead {
    color: #2D3732 !important;
}

html[data-theme="light"] .hero-prime__fact {
    color: #111815 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

html[data-theme="light"] .hero-prime__fact-icon {
    background: rgba(21, 121, 85, 0.08) !important;
    border: 1px solid rgba(21, 121, 85, 0.28) !important;
    color: #157955 !important;
}

html[data-theme="light"] .hero-prime__text {
    color: #3D4A44;
}

html[data-theme="light"] .hero-prime__photo {
    opacity: 0.16;
    filter: grayscale(85%) contrast(1.1);
}

html[data-theme="light"] .hero-prime__scrim {
    background:
        radial-gradient(circle at 50% 18%, rgba(21, 121, 85, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(245, 249, 247, 0.88) 0%, rgba(248, 250, 249, 0.96) 60%, #F8FAF9 100%);
}

html[data-theme="light"] .hero-prime__eyebrow {
    color: #157955;
}

html[data-theme="light"] .hero-prime__meta-pill {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    color: #2C3531;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .hero-prime__meta-item--brand {
    color: #157955 !important;
}

html[data-theme="light"] .hero-prime__meta-item {
    color: #3D4A44 !important;
}

html[data-theme="light"] .hero-prime__meta-sep {
    color: #8C9992 !important;
}

html[data-theme="light"] .btn-white {
    background: #FFFFFF !important;
    color: #157955 !important;
    border: 1px solid #DCE3DF !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .btn-white:hover {
    background: #F4F7F5 !important;
    border-color: #157955 !important;
    color: #0A3C35 !important;
}

html[data-theme="light"] .hero-prime__count-tile {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .hero-prime__count-value {
    color: #157955;
}

html[data-theme="light"] .hero-prime__count-unit {
    color: #55625B;
}

/* Discussion Points Section in Light Mode */
html[data-theme="light"] .home-discussion {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E6E4;
}

html[data-theme="light"] .discussion-card {
    background: #F7FAF8;
    border-color: #E2E8E5;
}

html[data-theme="light"] .discussion-card:hover {
    background: #FFFFFF;
    border-color: rgba(21, 121, 85, 0.35);
    box-shadow: 0 10px 24px rgba(21, 121, 85, 0.08);
}

html[data-theme="light"] .discussion-card__num {
    color: #157955;
    background: #E6F7F0;
}

html[data-theme="light"] .discussion-card__title {
    color: #111815;
}

html[data-theme="light"] .discussion-card__body {
    color: #4A5650;
}

/* Editorial About Section in Light Mode */
html[data-theme="light"] .home-about {
    background: #F8FAF9;
}

/* Dark Contrast Sections in Light Mode */
html[data-theme="light"] .home-agenda,
html[data-theme="light"] .agenda-prime,
html[data-theme="light"] .section-premium,
html[data-theme="light"] .event-history--compact,
html[data-theme="light"] .event-history--full {
    background: linear-gradient(180deg, #F0F6F3 0%, #FFFFFF 100%) !important;
    color: #1A201D !important;
    border-top: 1px solid #E2E8E5;
    border-bottom: 1px solid #E2E8E5;
}

.section-heading__eyebrow--light {
    color: var(--color-brand-light, #5EC99A) !important;
}

.section-heading__title--light {
    color: #FFFFFF !important;
}

.section-heading__lead--light {
    color: rgba(255, 255, 255, 0.82) !important;
}

/* Light mode overrides for headings */
html[data-theme="light"] .section-heading__eyebrow--light {
    color: #157955 !important;
}

html[data-theme="light"] .section-heading__title--light {
    color: #111815 !important;
}

html[data-theme="light"] .section-heading__lead--light {
    color: #3D4A44 !important;
}

html[data-theme="light"] .section-premium .lead,
html[data-theme="light"] .home-agenda .lead,
html[data-theme="light"] .home-agenda p.lead,
html[data-theme="light"] .home-agenda .section-heading__lead--light,
html[data-theme="light"] .event-history--compact .lead,
html[data-theme="light"] .event-history .lead,
html[data-theme="light"] .page-hero .lead {
    color: #3D4A44 !important;
}

/* Our Legacy (Event History) in Light Mode */
html[data-theme="light"] .event-history--compact .heading-lg,
html[data-theme="light"] .event-history--compact h2,
html[data-theme="light"] .event-history--compact .text-white {
    color: #111815 !important;
}

html[data-theme="light"] .event-history--compact p.lead,
html[data-theme="light"] .event-history--compact .lead,
html[data-theme="light"] .event-history--compact [class*="text-white"] {
    color: #3D4A44 !important;
}

html[data-theme="light"] .event-history__edition-card {
    background: #FFFFFF !important;
    border-color: #DDE5E1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .event-history__edition-card:hover {
    border-color: rgba(21, 121, 85, 0.35) !important;
    box-shadow: 0 10px 28px rgba(21, 121, 85, 0.08) !important;
}

html[data-theme="light"] .event-history__edition-card-body h3,
html[data-theme="light"] .event-history__edition-card-body .text-white {
    color: #111815 !important;
}

html[data-theme="light"] .event-history__edition-card-body p {
    color: #4A5650 !important;
}

html[data-theme="light"] .event-history__edition-card-body .text-brand-light {
    color: #157955 !important;
    font-weight: 600;
}

html[data-theme="light"] .event-history__timeline--light .event-history__timeline-chip {
    background: #FFFFFF !important;
    color: #2F3633 !important;
    border: 1px solid #DCE3DF !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

html[data-theme="light"] .event-history__timeline--light .event-history__timeline-chip:hover {
    color: #157955 !important;
    border-color: #157955 !important;
}

html[data-theme="light"] .event-history__timeline--light .event-history__timeline-chip.is-active {
    background: #157955 !important;
    color: #FFFFFF !important;
    border-color: #157955 !important;
}

html[data-theme="light"] .event-history__carousel-nav {
    background: #FFFFFF !important;
    color: #2F3633 !important;
    border: 1px solid #DCE3DF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .event-history__carousel-nav:hover {
    background: #F4F7F5 !important;
    color: #157955 !important;
    border-color: #157955 !important;
}

html[data-theme="light"] .event-history__year-badge {
    background: rgba(21, 121, 85, 0.9) !important;
    color: #FFFFFF !important;
}

/* Home Audience / Who it's for in Light Mode */
html[data-theme="light"] .home-audience {
    background: #F8FAF9 !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-audience .heading-lg,
html[data-theme="light"] .home-audience h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-audience p.lead {
    color: #4A5650 !important;
}

/* Home Partners in Light Mode */
html[data-theme="light"] .home-partners {
    background: #FFFFFF !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-partners .heading-lg,
html[data-theme="light"] .home-partners h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-partners p.lead {
    color: #4A5650 !important;
}

/* Home Facts / Key Highlights in Light Mode */
html[data-theme="light"] .home-facts {
    background: #F8FAF9 !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-facts .heading-lg,
html[data-theme="light"] .home-facts h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-facts p.lead {
    color: #4A5650 !important;
}

/* Home Downloads in Light Mode */
html[data-theme="light"] .home-downloads {
    background: #FFFFFF !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-downloads .heading-lg,
html[data-theme="light"] .home-downloads h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-downloads p.lead {
    color: #4A5650 !important;
}

/* Home Why Attend in Light Mode */
html[data-theme="light"] .home-why {
    background: #F8FAF9 !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-why .heading-lg,
html[data-theme="light"] .home-why h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-why p.lead {
    color: #4A5650 !important;
}

/* Home Pricing in Light Mode */
html[data-theme="light"] .home-pricing {
    background: #FFFFFF !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-pricing .heading-lg,
html[data-theme="light"] .home-pricing h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-pricing p.lead {
    color: #4A5650 !important;
}

/* Home Venue in Light Mode */
html[data-theme="light"] .home-venue {
    background: #F8FAF9 !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-venue .heading-lg,
html[data-theme="light"] .home-venue h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-venue p.lead {
    color: #4A5650 !important;
}

/* Home FAQ in Light Mode */
html[data-theme="light"] .home-faq {
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8E5;
    color: #111815 !important;
}

html[data-theme="light"] .home-faq .heading-lg,
html[data-theme="light"] .home-faq h2 {
    color: #111815 !important;
}

html[data-theme="light"] .home-faq p.lead {
    color: #4A5650 !important;
}

/* Agenda Section on Homepage & Schedule in Light Mode */
html[data-theme="light"] .agenda-day--dark .agenda-day__badge,
html[data-theme="light"] .agenda-day__badge--dark {
    background: rgba(21, 121, 85, 0.1) !important;
    border: 1px solid rgba(21, 121, 85, 0.28) !important;
    color: #157955 !important;
}

html[data-theme="light"] .agenda-day--dark header p,
html[data-theme="light"] .agenda-day--dark .text-white\/85,
html[data-theme="light"] .home-agenda .text-white\/85,
html[data-theme="light"] .agenda-day--dark p.font-medium {
    color: #1A221E !important;
}

html[data-theme="light"] .agenda-day--dark .agenda-day__count,
html[data-theme="light"] .agenda-day--dark .text-white\/72,
html[data-theme="light"] .home-agenda .text-white\/72 {
    color: #52635B !important;
}

html[data-theme="light"] .agenda-session--dark {
    border: 1px solid #DDE5E1 !important;
    background: #FFFFFF !important;
    color: #1A201D !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .agenda-session--dark:hover {
    border-color: rgba(21, 121, 85, 0.45) !important;
    background: #F9FCFA !important;
    box-shadow: 0 8px 24px rgba(21, 121, 85, 0.08) !important;
}

html[data-theme="light"] .agenda-session__time--dark {
    background: rgba(21, 121, 85, 0.08) !important;
    border: 1px solid rgba(21, 121, 85, 0.24) !important;
    color: #157955 !important;
    box-shadow: none !important;
}

html[data-theme="light"] .agenda-session--dark .agenda-session__title,
html[data-theme="light"] .agenda-session--dark h3,
html[data-theme="light"] .agenda-session--dark .text-white,
html[data-theme="light"] .home-agenda .agenda-session .text-white,
html[data-theme="light"] .home-agenda .agenda-session h3 {
    color: #111815 !important;
}

html[data-theme="light"] .agenda-session--dark .agenda-session__desc,
html[data-theme="light"] .agenda-session--dark p,
html[data-theme="light"] .agenda-session--dark .text-white\/78,
html[data-theme="light"] .home-agenda .agenda-session .text-white\/78,
html[data-theme="light"] .home-agenda .agenda-session [class*="text-white"] {
    color: #3D4A44 !important;
}

html[data-theme="light"] .home-agenda .btn-outline {
    border-color: #DDE5E1 !important;
    background: #FFFFFF !important;
    color: #111815 !important;
}

html[data-theme="light"] .home-agenda .btn-outline:hover {
    border-color: #157955 !important;
    background: #F4FAF7 !important;
    color: #157955 !important;
}

/* Schedule Page (/schedule) Light Mode Overrides */
html[data-theme="light"] .agenda-prime {
    background: linear-gradient(180deg, #EDF5F1 0%, #F5F9F7 100%) !important;
    border-bottom: 1px solid #DDE5E1 !important;
}

html[data-theme="light"] .agenda-prime__scrim {
    background: linear-gradient(180deg, rgba(237, 245, 241, 0.92) 0%, rgba(245, 249, 247, 0.96) 100%) !important;
}

html[data-theme="light"] .agenda-prime__photo {
    opacity: 0.15 !important;
}

html[data-theme="light"] .agenda-prime__title {
    color: #111815 !important;
}

html[data-theme="light"] .agenda-prime__lead {
    color: #3D4A44 !important;
}

html[data-theme="light"] .agenda-prime .eyebrow {
    color: #157955 !important;
}

html[data-theme="light"] .agenda-prime .btn-white {
    background: #FFFFFF !important;
    color: #111815 !important;
    border: 1px solid #DDE5E1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .agenda-prime .btn-white:hover {
    background: #F4FAF7 !important;
    border-color: #157955 !important;
    color: #157955 !important;
}

html[data-theme="light"] .agenda-programme {
    background-color: #F8FAF9 !important;
}

html[data-theme="light"] .agenda-day-block__header {
    border-bottom-color: #E2E8E5 !important;
}

html[data-theme="light"] .agenda-day-block__title {
    color: #111815 !important;
}

html[data-theme="light"] .agenda-day-block__theme {
    color: #3D4A44 !important;
}

html[data-theme="light"] .agenda-day-block__count {
    color: #52635B !important;
}

html[data-theme="light"] .agenda-session-card {
    background-color: #FFFFFF !important;
    border-color: #DDE5E1 !important;
}

html[data-theme="light"] .agenda-session-card:hover {
    border-color: rgba(21, 121, 85, 0.4) !important;
}

html[data-theme="light"] .agenda-session-card__title {
    color: #111815 !important;
}

html[data-theme="light"] .agenda-session-card__time {
    color: #52635B !important;
}

html[data-theme="light"] .agenda-session-card__desc {
    color: #3D4A44 !important;
}

html[data-theme="light"] .agenda-session-card__body {
    background-color: #F7FAF8 !important;
    border-top-color: #E2E8E5 !important;
}

html[data-theme="light"] .agenda-nav {
    background-color: #FFFFFF !important;
    border-color: #DDE5E1 !important;
}

html[data-theme="light"] .agenda-nav__link {
    color: #2D3732 !important;
}

html[data-theme="light"] .agenda-nav__link:hover {
    background-color: #F4FAF7 !important;
    color: #157955 !important;
}

html[data-theme="light"] .agenda-nav__time {
    color: #157955 !important;
}

html[data-theme="light"] .agenda-info-card {
    background-color: #FFFFFF !important;
    border-color: #DDE5E1 !important;
}

html[data-theme="light"] .agenda-info-card--highlight {
    background: linear-gradient(135deg, rgba(21, 121, 85, 0.08) 0%, rgba(21, 121, 85, 0.02) 100%) !important;
    border-color: rgba(21, 121, 85, 0.28) !important;
}

/* FAQ Component Light Mode Overrides */
html[data-theme="light"] .faq-item {
    background: #FFFFFF !important;
    border-color: #DDE5E1 !important;
}

html[data-theme="light"] .faq-item__summary {
    color: #111815 !important;
}

html[data-theme="light"] .faq-item__answer {
    color: #3D4A44 !important;
}

html[data-theme="light"] .faq-item__chevron {
    color: #52635B !important;
}

html[data-theme="light"] .home-close {
    background: linear-gradient(180deg, #0E4A42 0%, #071C19 100%);
    color: #FFFFFF;
}

/* Page Hero on internal pages (/reg, /about, etc.) */
html[data-theme="light"] .page-hero {
    background: linear-gradient(180deg, #EDF5F1 0%, #F5F9F7 100%);
    border-bottom-color: #DDE5E1;
    color: #111815;
}

html[data-theme="light"] .page-hero h1 {
    color: #0E1714 !important;
}

html[data-theme="light"] .page-hero p {
    color: #4A5650 !important;
}

html[data-theme="light"] .page-hero .eyebrow {
    color: #157955 !important;
}

html[data-theme="light"] .page-hero-glow {
    background:
        radial-gradient(circle at 78% 12%, rgba(21, 121, 85, 0.1), transparent 44%),
        linear-gradient(180deg, rgba(245, 249, 247, 0.85) 0%, rgba(248, 250, 249, 0.95) 100%);
}

html[data-theme="light"] .page-hero-photo {
    opacity: 0.12;
    filter: grayscale(90%);
}

/* Site Footer */
html[data-theme="light"] .site-footer {
    background: #111614;
    color: #E2E8E5;
}

/* ─────────────────────────────────────────────────────────────
   Super-Responsive Global Polish & Viewport Adaptations
   ───────────────────────────────────────────────────────────── */

/* Prevent horizontal page overflow across all mobile screens */
html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
}

/* Header scroll offset for anchor links and section headings */
html {
    scroll-padding-top: 5.5rem !important;
}
@media (min-width: 768px) {
    html {
        scroll-padding-top: 6.5rem !important;
    }
}

/* Mobile: Single-column clean footer stacking without horizontal squeeze */
@media (max-width: 520px) {
    .site-footer__nav {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
    .site-footer__col {
        width: 100% !important;
    }
}

/* Mobile: Floating button stacking and countdown tile clearance */
@media (max-width: 640px) {
    .hero-prime__countdown-tiles {
        margin-bottom: 2.25rem !important;
    }
    .floating-enquiry {
        bottom: 16px !important;
        right: 16px !important;
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    .scroll-top {
        bottom: 68px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
    }

    /* Form Action Buttons: Touch-friendly full-width navigation on mobile */
    .btn-brand-primary,
    .btn-brand-outline,
    #next-1,
    #next-2,
    #prev-2,
    #prev-3 {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Registration Form Card edge padding on small screens */
    .form-card {
        padding: 16px 12px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .stepper-container {
        padding: 8px 12px !important;
        max-width: 100% !important;
    }

    .step-label {
        font-size: 10px !important;
        letter-spacing: 0.2px !important;
    }
}
