:root {
    /* Color System - Gentle Warm Cream & Burgundy Luxury Theme */
    --bg-primary: #FAF7F2;       /* Warm soft cream background */
    --bg-secondary: #F3ECE2;     /* Warm oat cream for secondary sections/cards */
    --bg-tertiary: #EAE2D5;      /* Deeper warm parchment */
    --card-bg: #FFFFFF;          /* Elevated card surface */
    --text-primary: #1C1917;     /* Deep warm charcoal/espresso - easy on eyes */
    --text-secondary: #574F46;   /* Warm taupe-slate for subheaders & body */
    --text-muted: #8E8478;       /* Gentle warm muted earth */
    --accent-red: #A91D22;       /* Elegant deep crimson / wine red */
    --accent-red-hover: #8C1418; /* Rich burgundy hover */
    --accent-red-light: #F7EAE8; /* Gentle rose-cream tint */
    --accent-red-dim: rgba(169, 29, 34, 0.12);
    --border-color: rgba(60, 45, 30, 0.1); /* Soft warm organic border */
    --border-hover: rgba(169, 29, 34, 0.35);
    
    /* Backwards compatibility aliases */
    --accent-gold: #A91D22;
    --accent-gold-dim: rgba(169, 29, 34, 0.12);
    --jbc-accent: #A91D22;
    --jbc-accent-dim: rgba(169, 29, 34, 0.15);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing & Safe Areas */
    --section-pad: clamp(4.5rem, 8vw, 8rem) clamp(1.2rem, 4vw, 5%);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

html {
    overflow-x: hidden;
    overflow-x: clip; /* clip doesn't create a scroll container (keeps sticky/pin + iOS momentum sane) */
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Native smooth scrolling fights Lenis + GSAP ScrollTrigger refresh/anchor jumps; JS owns smooth scrolling. */
    scroll-behavior: auto;
    /* Native anchor / focus scrolling lands below the fixed navbar */
    scroll-padding-top: 76px;
}

/* Official Lenis companion rules (smooth scroll library) */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button, a, input, select, textarea, .team-card, .accordion-item, .filter-btn, .team-tab-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* Scroll lock for the mobile drawer & profile overlays.
   NOTE: no height:100vh here — collapsing the body height clamped window.scrollY to 0
   and jumped the page to the top every time the menu opened. Locking the root scroller
   keeps the reader's position. */
body.nav-open,
body.modal-open {
    overflow: hidden !important;
}

html:has(> body.nav-open),
html:has(> body.modal-open) {
    overflow: hidden;
    overscroll-behavior: none;
}

/* Mobile Nav Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 12, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

/* Typography Classes */
.gold-text, .red-text, .conclave-red-text {
    color: var(--accent-red);
}

.center {
    text-align: center;
}

/* Navigation - Luxury Crimson Red Top Banner */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(169, 29, 34, 0.97) 0%, rgba(125, 12, 16, 0.98) 100%);
    /* backdrop-filter removed: the 97-99% opaque gradient made the blur invisible, yet it cost a
       full-width backdrop pass on every scroll frame and turned the navbar into the containing
       block for the fixed mobile drawer. */
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.18);
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 1025px) {
    .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 2rem;
    }
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(150, 18, 22, 0.98) 0%, rgba(110, 8, 12, 0.99) 100%);
    padding: 0.8rem 4%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-logo-link:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.nav-crest-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-wordmark-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo-link:hover .nav-crest-img {
    transform: scale(1.06);
}

.nav-logo-link:hover .nav-wordmark-img {
    transform: scale(1.06);
}

.nav-links {
    display: flex;
    gap: clamp(1.2rem, 1.8vw, 2.5rem);
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: clamp(0.95rem, 1.06vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.nav-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.btn-register {
    padding: 0.72rem 2rem;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: var(--accent-red);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.btn-register:hover {
    background-color: #fff0f2;
    border-color: #ffffff;
    color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.3s;
    transform-origin: center;
}

.menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
    background-color: #ffffff;
}

.menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
    background-color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 4px;
    /* Explicit properties only: `transition: all` also transitioned the opacity/transform that GSAP
       writes during the hero intro, which left the hero CTA buttons stuck at opacity 0. */
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--accent-red);
    color: #ffffff;
    border: 1px solid var(--accent-red);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background-color: var(--accent-red-light);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.15);
}

.btn-text {
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
}

.btn-text:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100svh; /* stable on iOS/Android: doesn't resize as the URL bar collapses */
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 7.5rem 5% 3.5rem;
    box-sizing: border-box;
    background-color: var(--bg-primary);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: none;
    opacity: 0.95;
    background-color: var(--bg-primary);
    transition: opacity 0.4s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(90deg, 
        rgba(250, 247, 242, 0.82) 0%, 
        rgba(250, 247, 242, 0.68) 45%, 
        rgba(250, 247, 242, 0.30) 75%, 
        rgba(250, 247, 242, 0.15) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 860px;
    position: relative;
    z-index: 10;
    margin-top: 0.5rem;
}

.opening-titles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.main-titles {
    opacity: 1;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.6vw, 5.2rem);
    line-height: 1.06;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
    color: #1C1917;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 16px rgba(250, 247, 242, 0.95), 0 2px 30px rgba(250, 247, 242, 0.85);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line.year {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    margin-top: 0.4rem;
    color: #383029;
    letter-spacing: 2px;
}

.jbc-hero-line {
    display: block;
    width: 0;
    height: 3.5px;
    background-color: var(--accent-red);
    margin-top: 1rem;
    box-shadow: 0 0 12px rgba(169, 29, 34, 0.45);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    line-height: 1.7;
    color: #2E2721;
    max-width: 680px;
    margin-bottom: 1.8rem;
    font-weight: 600;
    text-shadow: 0 1px 12px rgba(250, 247, 242, 0.95), 0 2px 24px rgba(250, 247, 242, 0.8);
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
}

/* About Section - Luxury Editorial Layout */
.about {
    padding: 7rem 5% 0;
    background-color: var(--bg-primary);
    position: relative;
}

.about-container {
    max-width: 1240px;
    margin: 0 auto 5.5rem;
}

/* Editorial Split Hero */
.about-hero-split {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 5rem;
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-main-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    line-height: 1.2;
    margin: 1.25rem 0 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.about-lead-p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 450;
}

.about-lead-p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-lead-p a {
    color: var(--accent-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.about-lead-p a:hover {
    color: var(--accent-red-hover);
}

.about-sub-p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
}

.about-hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Institutional Credential Card */
.about-hero-card {
    display: flex;
}

.about-credential-card {
    background: linear-gradient(155deg, #FFFFFF 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-red);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 40px rgba(60, 45, 30, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.about-credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-red-dim) 0%, transparent 70%);
    pointer-events: none;
}

.credential-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.credential-crest {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.credential-univ {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.credential-college {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.credential-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

.credential-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 1.5rem;
}

.credential-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    flex-grow: 1;
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.credential-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

.credential-val {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
}

.credential-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border-color);
}

.credential-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: block;
    line-height: 1.5;
}

/* Strategic Pillars */
.about-pillars-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.about-pillars-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-pillars-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.about-pillars-sub {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 10px 30px rgba(60, 45, 30, 0.03);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-red);
    box-shadow: 0 18px 40px rgba(169, 29, 34, 0.09);
}

.about-card:hover::after {
    transform: scaleX(1);
}

.about-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-red-light);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-card-icon-wrap svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.about-card:hover .about-card-icon-wrap {
    background: var(--accent-red);
    color: #FFFFFF;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px rgba(169, 29, 34, 0.25);
}

.about-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 700;
}

.about-card p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive adjustments for About Section */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 5rem 5% 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-credential-card {
        padding: 1.75rem;
    }
    
    .about-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .about-hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Flat Editorial Stripe Stats Section */
.stats-section {
    position: relative;
    padding: 7rem 5%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.stats-flat-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* 1. Headline above everything */
.stats-headline-flat {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4.5vw, 3.4rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.stats-headline-flat em {
    font-style: italic;
    color: var(--accent-red);
}

/* 2. Eyebrow below headline */
.stats-eyebrow-flat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4.5rem;
}

.stats-eyebrow-flat .eyebrow-line {
    width: 35px;
    height: 1px;
    background-color: var(--accent-red);
    opacity: 0.8;
}

.stats-eyebrow-flat .eyebrow-text {
    font-family: var(--font-sans);
    color: var(--accent-red);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
}

/* 3. Single horizontal row of 4 stats */
.stats-flat-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

/* 4. Sitting directly on surface with micro-interactions */
.stat-flat-item {
    flex: 1;
    padding: 1.5rem 1rem;
    text-align: center;
    border: none;
    background: transparent;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    cursor: default;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

/* 9. Hover micro-interactions per stat */
.stat-flat-item:hover {
    transform: translateY(-3px) !important;
}

.stat-flat-item:hover .stat-number-flat,
.stat-flat-item:hover .stat-plus-flat {
    color: var(--accent-red-hover);
    filter: drop-shadow(0 0 12px rgba(204, 0, 0, 0.3));
}

/* 5. Thin vertical dividers top-to-bottom gradient */
.stat-flat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(204, 0, 0, 0.3) 50%, transparent);
}

.stat-number-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number-flat, .stat-plus-flat {
    font-family: var(--font-serif);
    font-size: clamp(3.4rem, 4.8vw, 5rem);
    color: var(--accent-red);
    display: inline-block;
    font-weight: 700;
    line-height: 1;
    transition: color 0.2s ease, filter 0.2s ease;
}

.stat-label-flat {
    display: block;
    margin-top: 1.1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.4;
}

/* 10. Responsive layout under 720px */
@media (max-width: 720px) {
    .stats-flat-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }

    .stat-flat-item:not(:last-child)::after {
        display: none;
    }
}

/* Living Architectural Museum Exhibition Section */
.legacy-museum-section {
    position: relative;
    height: 650vh;
    background-color: #f4f4f7;
}

.museum-sticky-viewport {
    position: relative;
    height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    transform-style: preserve-3d;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #edf0f5 80%);
}

.legacy-museum-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

/* Polished Light Gallery Reflective Floor */
.museum-reflective-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 38vh;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(240, 242, 248, 0.5) 60%, transparent 100%);
    border-top: 1px solid rgba(204, 0, 0, 0.1);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.8s ease;
}

.museum-fog-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 60%, transparent 40%, rgba(240, 242, 248, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Living Crimson Energy Thread */
.crimson-thread-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 75vh;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.crimson-living-thread {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-red) 40%, #ff4d4d 80%, transparent);
    opacity: 0.3;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.5), 0 0 8px rgba(204, 0, 0, 0.8);
    transition: opacity 0.6s ease, box-shadow 0.6s ease;
}

.museum-floating-header {
    position: absolute;
    top: calc(75px + 2.5vh);
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 15;
    pointer-events: none;
}

.museum-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 4px;
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 0.35rem;
}

.museum-floating-header .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.museum-3d-stage {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    z-index: 3;
    will-change: transform;
}

.museum-chapter {
    position: absolute;
    top: calc(50% + 45px);
    left: 50%;
    width: min(780px, 90vw);
    transform: translate3d(-50%, -50%, -2000px);
    transform-style: preserve-3d;
    opacity: 0;
    text-align: center;
    pointer-events: auto;
    will-change: transform, opacity;
}

/* Glass Architecture Monolith Cards */
.monolith-glass-card {
    padding: 2.2rem 2.8rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(204, 0, 0, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(204, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.arch-year-engraved {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(204, 0, 0, 0.05);
    pointer-events: none;
    letter-spacing: 2px;
}

.node-year {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    color: var(--accent-red);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 25px rgba(204, 0, 0, 0.15);
}

.node-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.node-bullets {
    list-style: none;
    padding: 0;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
    font-weight: 400;
}

.node-bullets li {
    margin-bottom: 0.6rem;
}

/* Chapter 1: Corridor Structure */
.corridor-structure {
    position: relative;
    width: 100%;
}

.corridor-frame {
    position: absolute;
    top: -20%;
    height: 140%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(204, 0, 0, 0.35), transparent);
}

.frame-left { left: -5%; }
.frame-right { right: -5%; }

/* Chapter 2: Chamber Structure & Floating Panels */
.chamber-structure {
    position: relative;
    width: 100%;
}

.floating-editorial-panel {
    position: absolute;
    top: 50%;
    width: 200px;
    padding: 1.1rem 1.3rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.panel-left {
    left: -110px;
    transform: translateY(-50%) rotateY(12deg);
}

.panel-right {
    right: -110px;
    transform: translateY(-50%) rotateY(-12deg);
}

.panel-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--accent-red);
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.floating-editorial-panel h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.floating-editorial-panel p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Chapter 3: 3D Floating Photo Cubes Orbit */
.cube-orbit-container {
    position: relative;
    width: 100%;
}

.orbiting-photo-cube {
    position: absolute;
    width: 110px;
    height: 110px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 1px solid rgba(204, 0, 0, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 0 15px rgba(204, 0, 0, 0.15);
    filter: brightness(0.95);
    transition: transform 0.5s ease;
}

.cube-1 { top: -50px; left: -90px; transform: rotateZ(-12deg) rotateY(16deg); }
.cube-2 { top: -60px; right: -90px; transform: rotateZ(10deg) rotateY(-16deg); }
.cube-3 { bottom: -40px; left: -80px; transform: rotateZ(8deg) rotateY(12deg); }
.cube-4 { bottom: -50px; right: -80px; transform: rotateZ(-10deg) rotateY(-12deg); }
.cube-5 { top: 38%; left: -110px; transform: rotateZ(-5deg) rotateY(20deg); }

/* Finale: Portal Monolith */
.finale-monolith-wrapper {
    perspective: 1200px;
    width: 100%;
    max-width: 680px;
    height: 380px;
    margin: 0 auto;
}

.finale-monolith-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    background: #ffffff;
    border: 1px solid rgba(204, 0, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 30px rgba(204, 0, 0, 0.15);
}

.finale-monolith-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.finale-front {
    background: radial-gradient(circle at center, #ffffff 0%, #f4f4f7 100%);
    text-align: center;
}

.monolith-volumetric-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(204, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.finale-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.finale-subtext {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--accent-red);
    font-style: italic;
    max-width: 520px;
    line-height: 1.5;
}

.finale-back {
    background: radial-gradient(circle at center, #fff8f8 0%, #f4f4f7 100%);
    transform: rotateY(180deg);
    text-align: center;
}

.finale-engraved-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 3px;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

.finale-engraved-title.illuminated {
    color: var(--accent-red);
    text-shadow: 0 0 35px rgba(204, 0, 0, 0.6), 0 0 15px rgba(204, 0, 0, 0.4);
}

.portal-light-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(204, 0, 0, 0.8), #ffffff, rgba(204, 0, 0, 0.8), transparent);
    opacity: 0;
    box-shadow: 0 0 50px rgba(204, 0, 0, 0.9);
    z-index: 0;
    pointer-events: none;
}

.portal-light-beam.open {
    width: 100%;
    opacity: 1;
}

/* Museum Section Responsive Breakpoints */
@media (max-width: 1024px) {
    .museum-floating-header {
        top: calc(70px + 2vh);
    }
    .museum-chapter {
        width: min(680px, 92vw);
    }
    .monolith-glass-card {
        padding: 2rem 2.2rem;
    }
    .panel-left {
        left: -50px;
        width: 170px;
    }
    .panel-right {
        right: -50px;
        width: 170px;
    }
    .orbiting-photo-cube {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .museum-floating-header {
        top: 65px;
    }
    .museum-chapter {
        width: 92vw;
        top: calc(50% + 35px);
    }
    .monolith-glass-card {
        padding: 1.6rem 1.4rem;
    }
    .node-year {
        font-size: 2.6rem;
    }
    .node-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    .node-bullets {
        font-size: 0.85rem;
    }
    .floating-editorial-panel {
        display: none;
    }
    .orbiting-photo-cube {
        display: none;
    }
    .taj-media-card {
        width: 220px;
        height: 120px;
    }
}

/* Voices That Shaped JBC Section */
.speakers-hall {
    padding: var(--section-pad);
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 50%, #ffffff 100%);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.speakers-hall .section-title {
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    text-shadow: none;
}

.speakers-hall .section-subtitle {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.speakers-container {
    max-width: 1400px;
    margin: 0 auto;
}

.speaker-session-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.2rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent-red);
    color: #ffffff;
    background: var(--accent-red);
    box-shadow: 0 4px 18px rgba(204, 0, 0, 0.28);
}

/* Light theme overrides for speakers section filters */
.speakers-hall .filter-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    color: var(--text-secondary);
}

.speakers-hall .filter-btn:hover,
.speakers-hall .filter-btn.active {
    border-color: var(--accent-red);
    color: #ffffff;
    background: var(--accent-red);
    box-shadow: 0 4px 18px rgba(204, 0, 0, 0.28);
}

.accordion-slot-viewport {
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
    padding: 10px 0 25px;
    overflow: hidden;
}

.horizontal-accordion {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.8rem;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 15px 5px 25px;
    cursor: grab;
}

.horizontal-accordion:active {
    cursor: grabbing;
}

.horizontal-accordion::-webkit-scrollbar {
    display: none;
}

.accordion-item {
    flex: 0 0 350px;
    width: 350px !important;
    max-width: 86vw;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.45s;
    height: auto;
    user-select: none;
}

.accordion-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 20px 45px rgba(204, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.04);
}

.slot-nav-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #111118;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.slot-nav-btn.prev-btn {
    left: 8px;
}

.slot-nav-btn.next-btn {
    right: 8px;
}

.slot-nav-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.4);
}

/* --- Card Image & Badge Area: Clean Square Portrait --- */
.accordion-collapsed {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    display: block;
    opacity: 1 !important;
    background: #f4f4f7;
}

.speaker-crop {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: none;
    opacity: 1;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}

.accordion-item:hover .speaker-crop {
    transform: scale(1.05);
}

.speaker-meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    height: auto;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    z-index: 5;
}

.speaker-badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 0;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.badge-speaker {
    background: var(--accent-red);
    color: #ffffff;
}

.badge-moderator {
    background: #ffffff;
    color: #111118;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.badge-panelist {
    background: #f0f0f5;
    color: #333344;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.speaker-surname {
    display: none !important;
}

/* --- Card Details & Content Area --- */
.accordion-expanded {
    position: relative;
    inset: auto;
    padding: 0;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
    border-radius: 0;
}

.expanded-right-image {
    display: none !important;
}

.expanded-left {
    padding: 1.6rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 0.45rem;
    z-index: 2;
    background: #ffffff;
}

.session-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.expanded-left h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin: 0;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text-primary);
}

.designation {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
}

.company {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 0.3rem 0;
}

.speaker-quote {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-style: italic;
    max-width: 100%;
    margin: 0.4rem 0 0.8rem 0;
    color: #555566;
    border-left: 2px solid var(--accent-red);
    padding-left: 0.75rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.view-session-btn {
    background: #f7f7fa;
    color: #111118;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
    padding: 0.72rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-session-btn:hover,
.accordion-item:hover .view-session-btn {
    background: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.25);
}

@media (max-width: 1024px) {
    .accordion-collapsed {
        height: 260px;
    }
}

/* Body Modal Open Lock */
body.modal-open {
    overflow: hidden !important;
}

.speaker-profile-overlay, .team-profile-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%; /* follows the dynamic viewport (100vh overshot behind the iOS toolbar) */
    background-color: var(--bg-primary);
    z-index: 2000;
    display: flex;
    transform: translateY(100%);
    /* hidden overlays are not painted/composited and can't be reached by keyboard / VoiceOver */
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s;
    overflow: hidden;
    overscroll-behavior: contain;
    pointer-events: none;
}

.speaker-profile-overlay.open, .team-profile-overlay.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
    will-change: transform;
}

/* Modal Top-Left Circular Return Button */
.modal-circle-back-btn {
    position: absolute;
    top: 2rem;
    left: 2.2rem;
    z-index: 2100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(60, 45, 30, 0.14);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(60, 45, 30, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.modal-circle-back-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    transform: scale(1.08) translateX(-3px);
    box-shadow: 0 8px 25px rgba(169, 29, 34, 0.35);
}

.modal-circle-back-btn:active {
    transform: scale(0.95) translateX(-3px);
}

.modal-circle-back-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.modal-circle-back-btn:hover svg {
    transform: translateX(-2px);
}

@media (max-width: 768px) {
    .modal-circle-back-btn {
        top: 1.2rem;
        left: 1.2rem;
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    .modal-circle-back-btn svg {
        width: 20px;
        height: 20px;
    }
}

.profile-split {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.profile-left {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.profile-image-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(10%);
}

.profile-right {
    flex: 1;
    height: 100%;
    max-height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 6rem 4rem 8rem;
    background-color: var(--bg-secondary);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-red) rgba(0, 0, 0, 0.05);
}

.profile-right::-webkit-scrollbar {
    width: 6px;
}

.profile-right::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

.profile-right::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

.profile-right::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red-hover);
}

.profile-details h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.profile-designation {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.profile-company {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-red);
    font-weight: 600;
}

.speaker-linkedin-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background: #0A66C2;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(10, 102, 194, 0.22);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.speaker-linkedin-btn:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
    color: #ffffff;
}

.speaker-linkedin-btn svg {
    fill: currentColor;
}

.speaker-instagram-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.speaker-instagram-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
    color: #ffffff;
}

.speaker-instagram-btn svg {
    fill: currentColor;
}

.profile-bio h3, .profile-session h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    color: var(--text-primary);
}

.bio-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.team-profile-about {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-red) transparent;
}

.team-profile-about::-webkit-scrollbar {
    width: 4px;
}

.team-profile-about::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

.session-video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s;
}

/* Mentors Section */
.mentors-section {
    padding: var(--section-pad);
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 980px;
    margin: 3.5rem auto 0;
}

.mentor-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
}

.mentor-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 20px 45px rgba(204, 0, 0, 0.15);
}

.mentor-image-wrap {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
    background: #f8f8fa;
}

.mentor-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    transition: transform 0.8s ease;
}

.mentor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.8s ease;
}

.mentor-card:hover .mentor-image,
.mentor-card:hover .mentor-img {
    transform: scale(1.04);
}

.mentor-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.mentor-role-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mentor-content h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.mentor-designation {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mentor-brief {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.mentor-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-red);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s;
}

.mentor-card:hover .mentor-link {
    transform: translateX(4px);
}

.mentor-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
}

@media (max-width: 768px) {
    .mentors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mentor-image-wrap {
        height: 300px;
    }
    .mentor-content {
        padding: 1.6rem;
    }
}

/* Core Team Section */
.core-team {
    padding: var(--section-pad);
    background-color: var(--bg-primary);
    position: relative;
}

.core-team .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.core-team .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.core-team .section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.edition-grid-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (max-width: 1280px) {
    .editorial-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.15rem;
    }
}

@media (max-width: 992px) {
    .editorial-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
}

.team-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(60, 45, 30, 0.05);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.placeholder-img {
    background: radial-gradient(circle at center, #fff0f2 0%, #f4f4f7 100%);
    border: 1px dashed rgba(204, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-img::after {
    content: "JBC 2025";
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--accent-red);
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.9;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: 0 14px 30px rgba(169, 29, 34, 0.14);
}

.team-card:hover .team-image {
    transform: scale(1.04);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 1.1rem 1rem;
    background: linear-gradient(to top, rgba(20, 16, 14, 0.95) 0%, rgba(20, 16, 14, 0.7) 60%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
}

.team-card:hover .team-info {
    transform: translateY(0);
    opacity: 1;
}

.team-info h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #FFFFFF;
    line-height: 1.25;
    font-weight: 600;
}

.team-info p {
    color: #F89C9E;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Mobile & Touch Support: keep names visible */
@media (max-width: 900px), (hover: none) {
    .team-info {
        opacity: 1;
        transform: translateY(0);
        padding: 1.4rem 0.9rem 0.85rem;
        background: linear-gradient(to top, rgba(20, 16, 14, 0.92) 0%, rgba(20, 16, 14, 0.55) 65%, transparent 100%);
    }
}

/* Core Team Edition Switcher Tabs */
.team-edition-tabs-container {
    display: flex;
    justify-content: center;
    margin: 1rem auto 3.5rem;
    max-width: 1100px;
    padding: 0 1rem;
}

.team-edition-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.4rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(60, 45, 30, 0.06);
    justify-content: center;
}

.team-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    border-radius: 40px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-tab-btn .tab-year {
    font-weight: 600;
}

.team-tab-btn .tab-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    background: rgba(60, 45, 30, 0.06);
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.25s ease;
}

.team-tab-btn:hover {
    color: var(--accent-red);
    background: var(--accent-red-light);
    border-color: rgba(169, 29, 34, 0.18);
}

.team-tab-btn:hover .tab-badge {
    background: rgba(169, 29, 34, 0.12);
    color: var(--accent-red);
}

.team-tab-btn.active {
    background: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
    box-shadow: 0 4px 16px rgba(169, 29, 34, 0.28);
}

.team-tab-btn.active .tab-badge {
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
    font-weight: 600;
}

.team-edition-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-edition-panel.active {
    display: block;
    opacity: 1;
}

/* President's Note Card */
.edition-president-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(169, 29, 34, 0.2);
    border-left: 5px solid var(--accent-red);
    border-radius: 12px;
    padding: 2.5rem 2.5rem 2.2rem;
    margin-bottom: 3.5rem;
    position: relative;
    box-shadow: 0 6px 28px rgba(60, 45, 30, 0.06);
}

.edition-president-card::before {
    content: "“";
    position: absolute;
    top: 5px;
    right: 25px;
    font-family: var(--font-serif);
    font-size: 7.5rem;
    color: rgba(169, 29, 34, 0.08);
    line-height: 1;
    pointer-events: none;
}

.edition-president-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.75rem;
}

.edition-president-quote {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.edition-president-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.edition-president-author span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.25rem;
}

/* Archive Showcase Gallery */
.edition-archive-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.edition-archive-photo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 24px rgba(60, 45, 30, 0.06);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.edition-archive-photo-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
    box-shadow: 0 12px 32px rgba(169, 29, 34, 0.14);
}

.edition-archive-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.edition-archive-photo-card:hover img {
    transform: scale(1.04);
}

.edition-archive-photo-card .photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 0.8rem;
    background: linear-gradient(to top, rgba(20, 16, 14, 0.94) 0%, rgba(20, 16, 14, 0.45) 70%, transparent 100%);
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 500;
}

/* Coordinators Cloud */
.edition-coordinators-cloud {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem;
    margin-top: 3.5rem;
    box-shadow: 0 4px 20px rgba(60, 45, 30, 0.04);
}

.edition-coordinators-cloud h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-red);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.edition-coordinators-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.coordinator-tag {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.95rem;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.coordinator-tag:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
    background: var(--accent-red-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 29, 34, 0.12);
}

/* Edition Resources Action Bar */
.edition-resources-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.edition-resource-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.35rem 2.2rem;
    border-radius: 12px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.edition-resource-btn.aftermovie {
    background: var(--accent-red);
    color: #ffffff;
    border: 1px solid var(--accent-red);
    box-shadow: 0 8px 25px rgba(169, 29, 34, 0.25);
}

.edition-resource-btn.aftermovie:hover {
    background: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(169, 29, 34, 0.4);
    color: #ffffff;
}

.edition-resource-btn.report {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(60, 45, 30, 0.06);
}

.edition-resource-btn.report:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(169, 29, 34, 0.15);
}

@media (max-width: 768px) {
    .edition-resources-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .edition-resource-btn {
        padding: 1.1rem 1.5rem;
        font-size: 0.98rem;
    }
}



/* Sponsors Section - Unified Sponsor Wall */
.partners {
    padding: var(--section-pad);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sponsors-unified-board {
    max-width: 1140px;
    margin: 3.5rem auto 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.sponsors-unified-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.4), transparent);
}

.sponsors-logo-wall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3.5rem 4.5rem;
}

.sponsor-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 200px;
    padding: 0.5rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}

.sponsor-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: contrast(102%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.sponsor-logo-item:hover {
    transform: translateY(-4px) scale(1.1);
}

.sponsor-logo-item:hover img {
    filter: drop-shadow(0 8px 20px rgba(204, 0, 0, 0.14));
}

@media (max-width: 768px) {
    .sponsors-unified-board {
        padding: 2.2rem 1.5rem;
        margin: 2.5rem auto 0;
        border-radius: 14px;
    }

    .sponsors-logo-wall {
        gap: 2.2rem 2.5rem;
    }

    .sponsor-logo-item {
        height: 68px;
        width: 145px;
        padding: 0.25rem;
    }
}

/* Press Releases - Photo Cards & Backlinks */
.press-photo-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(60, 45, 30, 0.05);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.press-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(169, 29, 34, 0.1);
    border-color: var(--accent-red);
}

.press-photo-card .press-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f0eb;
    border-bottom: 1px solid var(--border-color);
}

.press-photo-card .press-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.press-photo-card:hover .press-img-wrap img {
    transform: scale(1.04);
}

.press-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.press-card-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-red);
    background: var(--accent-red-dim);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.press-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.press-photo-card:hover .press-card-title {
    color: var(--accent-red);
}

.press-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.press-card-link-text {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-red);
    transition: gap 0.2s ease;
}

.press-photo-card:hover .press-card-link-text {
    gap: 0.65rem;
}

/* Footer */
.footer {
    padding: 7rem 5% 2.5rem;
    background-color: var(--bg-secondary);
    border-top: 2px solid var(--accent-red);
}

.footer-cta {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 7rem;
}

.footer-cta .section-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.footer-cta-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2.8rem;
    line-height: 1.65;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.cta-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    background-color: var(--accent-red);
    color: #ffffff;
    border: 1px solid var(--accent-red);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}

.cta-main-btn:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(204, 0, 0, 0.35);
}

.cta-partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}

.cta-partner-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background-color: var(--accent-red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.1);
}

/* Footer Direct Coordinators Contact */
.footer-coordinators-contact {
    margin: 3rem auto 3.5rem;
    max-width: 860px;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.coordinators-contact-eyebrow {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 1.25rem;
    text-align: center;
}

.coordinators-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.coordinator-contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    text-align: left;
    box-shadow: 0 4px 18px rgba(60, 45, 30, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.coordinator-contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 28px rgba(169, 29, 34, 0.12);
}

.coordinator-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--accent-red);
    display: block;
    margin-bottom: 0.25rem;
}

.coordinator-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
    font-weight: 600;
}

.coordinator-contact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.coord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.coord-link.email {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.coord-link.email:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: var(--accent-red-light);
}

.coord-link.linkedin {
    background: #0A66C2;
    color: #ffffff;
}

.coord-link.linkedin:hover {
    background: #004182;
    transform: translateY(-1px);
    color: #ffffff;
}

@media (max-width: 768px) {
    .coordinators-contact-grid {
        grid-template-columns: 1fr;
    }
}

.footer-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.highlight-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-red);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social a {
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent-red);
}

.footer-contact {
    color: var(--text-secondary);
}

/* Responsive Navigation & Breakpoints */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-block !important;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: max(0.8rem, var(--safe-top)) 4% 0.8rem;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.14);
        border-radius: 8px;
        transition: background 0.2s ease;
        cursor: pointer;
    }

    .menu-toggle:active {
        background: rgba(255, 255, 255, 0.28);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        height: 100vh;
        height: 100dvh;
        /* 99% opaque: the 30px backdrop blur was invisible but very expensive on phone GPUs */
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: calc(var(--safe-top) + 5rem) calc(var(--safe-right) + 1.25rem) calc(var(--safe-bottom) + 2rem) 1.25rem;
        gap: 0.25rem;
        transform: translateX(100%);
        /* closed drawer: invisible (its shadow used to bleed a grey band down the right edge of every
           screen) and removed from the tab order */
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s, box-shadow 0.4s ease;
        z-index: 999;
        border-left: 1px solid rgba(169, 29, 34, 0.12);
        box-shadow: none;
        display: flex;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        box-shadow: -16px 0 48px rgba(28, 25, 23, 0.16);
        transition-delay: 0s;
    }

    /* Close (X) state must stay visible on top of the white drawer */
    .menu-toggle.active {
        background: var(--accent-red-light);
    }

    .menu-toggle.active span,
    .menu-toggle.active span:first-child,
    .menu-toggle.active span:last-child {
        background-color: var(--text-primary);
    }

    .nav-links .nav-link {
        font-size: 1.05rem;
        letter-spacing: 1.5px;
        color: var(--text-primary);
        padding: 0.85rem 1.1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-radius: 10px;
        text-align: left;
        width: 100%;
        transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link:active {
        background: var(--accent-red-light);
        color: var(--accent-red);
        transform: scale(0.99);
    }

    .nav-links .nav-link::after {
        display: none !important;
    }

    .nav-links .nav-link.active {
        color: var(--accent-red);
        font-weight: 700;
        background: var(--accent-red-light);
    }

    .nav-links .btn-register.mobile-only {
        display: block !important;
        width: 100%;
        margin-top: 1rem;
        text-align: center;
        background: var(--accent-red) !important;
        color: #ffffff !important;
        border: 1px solid var(--accent-red) !important;
        padding: 0.95rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        border-radius: 8px;
        box-shadow: 0 4px 18px rgba(169, 29, 34, 0.25);
        transition: all 0.25s ease;
    }

    .nav-links .btn-register.mobile-only:hover,
    .nav-links .btn-register.mobile-only:active {
        background: var(--accent-red-hover) !important;
        color: #ffffff !important;
        transform: scale(0.98);
    }
}

@media (max-width: 768px) {
    /* Navbar & Header */
    .navbar {
        padding: max(0.75rem, var(--safe-top)) 4% 0.75rem;
    }
    
    .nav-crest-img {
        height: 32px;
    }
    
    .nav-wordmark-img {
        height: 25px;
    }

    /* Modal Overlays on Phones */
    .speaker-profile-overlay, .team-profile-overlay {
        z-index: 2500;
    }

    .modal-circle-back-btn {
        top: calc(var(--safe-top) + 0.85rem) !important;
        left: 1rem !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 2600 !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid rgba(60, 45, 30, 0.16) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
    }

    .profile-split {
        flex-direction: column !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }

    .profile-left {
        flex: 0 0 clamp(180px, 30dvh, 250px) !important;
        height: auto !important;
        min-height: 180px !important;
        max-height: 260px !important;
        width: 100% !important;
    }

    .profile-right {
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        padding: 1.6rem 1.25rem calc(var(--safe-bottom) + 3.5rem) !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .profile-details h2 {
        font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
        line-height: 1.2;
    }

    .profile-designation {
        font-size: 1rem !important;
    }

    .profile-company {
        font-size: 0.85rem !important;
    }

    .profile-social-row {
        gap: 0.65rem !important;
        margin: 0.8rem 0 1.2rem !important;
    }

    .profile-social-row .speaker-linkedin-btn,
    .profile-social-row .speaker-instagram-btn {
        flex: 1 1 135px !important;
        justify-content: center !important;
        font-size: 0.78rem !important;
        padding: 0.65rem 0.9rem !important;
        min-height: 44px !important;
    }

    .profile-bio h3,
    .profile-session h3 {
        font-size: 1.05rem !important;
    }

    .bio-text {
        font-size: 0.92rem !important;
        line-height: 1.65 !important;
    }
    
    /* Interactive Pills Horizontal Swipe */
    .speaker-session-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0.4rem 0.25rem 0.8rem;
        margin: 1.2rem 0 1.8rem;
        gap: 0.55rem;
        scroll-padding: 0 0.5rem;
    }

    .speaker-session-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.6rem 1.15rem;
        font-size: 0.78rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Speaker Touch-Snap Horizontal Carousel */
    .horizontal-accordion {
        scroll-snap-type: x mandatory;
        padding: 10px 1rem 22px;
        gap: 1rem;
        scroll-padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .accordion-item {
        flex: 0 0 min(295px, 80vw) !important;
        width: min(295px, 80vw) !important;
        max-width: 80vw;
        scroll-snap-align: center;
        scroll-snap-stop: normal;
        border-radius: 14px;
    }

    .accordion-collapsed {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }

    .expanded-left {
        padding: 1.2rem 1.15rem 1.3rem !important;
    }

    .expanded-left h3 {
        font-size: 1.3rem !important;
    }

    .designation {
        font-size: 0.82rem !important;
    }

    .company {
        font-size: 0.74rem !important;
    }

    .speaker-quote {
        font-size: 0.82rem !important;
        margin: 0.35rem 0 0.75rem !important;
    }

    .view-session-btn {
        min-height: 44px !important;
        font-size: 0.76rem !important;
        padding: 0.7rem 1rem !important;
    }

    .speaker-surname {
        display: none !important;
    }

    .slot-nav-btn {
        display: none !important;
    }

    /* Core Team Edition Switcher on Mobile */
    .team-edition-tabs-container {
        padding: 0;
        margin: 0.8rem 0 1.8rem;
        width: 100%;
    }

    .team-edition-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        border-radius: 999px;
        padding: 0.35rem 0.45rem;
        gap: 0.4rem;
        scroll-padding: 0 0.5rem;
    }

    .team-edition-tabs::-webkit-scrollbar {
        display: none;
    }

    .team-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 0.55rem 0.95rem;
        font-size: 0.8rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .team-tab-btn .tab-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.45rem;
    }

    /* Core Team 2-Column Gallery on Mobile */
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.7rem !important;
        margin-top: 1.2rem;
    }

    .team-card {
        border-radius: 10px;
    }

    .team-info {
        padding: 1.2rem 0.75rem 0.65rem !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .team-info h3 {
        font-size: 0.88rem !important;
        line-height: 1.2;
    }

    .team-info p {
        font-size: 0.64rem !important;
        margin-top: 0.15rem;
        letter-spacing: 0.4px;
    }

    /* Faculty Mentors Grid */
    .mentors-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .mentor-image-wrap {
        height: 260px;
    }

    .mentor-content {
        padding: 1.4rem 1.2rem;
    }

    .mentor-content h3 {
        font-size: 1.35rem;
    }

    .mentor-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .mentor-actions .mentor-link {
        justify-content: center;
        padding: 0.35rem 0;
        text-align: center;
    }

    .mentor-actions .speaker-linkedin-btn {
        justify-content: center;
        width: 100%;
        min-height: 44px;
    }
    
    /* CTA & Footer */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.85rem;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        min-height: 48px;
    }

    .coordinators-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .coordinator-contact-card {
        padding: 1.2rem 1.15rem !important;
        border-radius: 12px;
    }

    .coordinator-contact-links {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .coord-link {
        justify-content: center !important;
        min-height: 42px !important;
        font-size: 0.78rem !important;
        word-break: break-all !important;
    }

    .footer-highlights {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.8rem;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem 1.4rem !important;
    }

    .footer-social a {
        font-size: 0.82rem !important;
    }

    .footer-contact {
        text-align: center !important;
        font-size: 0.85rem !important;
    }
}

/* Global Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #ffe0e0);
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: width 0.1s;
}


/* Institutional Badge */
.inst-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: var(--accent-red-light);
    border: 1px solid rgba(204, 0, 0, 0.25);
    border-radius: 9999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.inst-badge:hover {
    background: rgba(204, 0, 0, 0.15);
    border-color: var(--accent-red);
}

/* SEO FAQ Section */
.faq-section {
    padding: var(--section-pad);
    background: var(--bg-primary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.faq-container {
    max-width: 920px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover, .faq-item.active {
    border-color: rgba(169, 29, 34, 0.35);
    background: #fff8f8;
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover, .faq-item.active .faq-question {
    color: var(--accent-red);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-red);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 2rem 1.75rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent-red);
    text-decoration: underline;
    transition: color 0.2s;
}

.faq-answer a:hover {
    color: var(--accent-red-hover);
}

@media (max-width: 640px) {
    .faq-question {
        padding: 1.15rem 1.25rem;
        font-size: 1.05rem;
    }
    .faq-answer {
        padding: 0 1.25rem;
    }
    .faq-item.active .faq-answer {
        max-height: 650px;
        padding: 0 1.25rem 1.4rem 1.25rem;
    }
    .faq-answer p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

/* ============================== */
/* Hero Social Proof Stats Bar    */
/* ============================== */
.hero-stats-bar {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.8rem;
    padding: 1.1rem 2rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(60, 45, 30, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(60, 45, 30, 0.05);
    width: fit-content;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    letter-spacing: -0.5px;
}

.hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #2E2721;
    font-weight: 700;
}

@media (max-width: 768px) {
    /* Hero Section Responsive Layout */
    .hero {
        padding: calc(var(--safe-top) + 4.8rem) clamp(1rem, 4%, 1.5rem) 2.2rem;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-overlay {
        background: linear-gradient(180deg, 
            rgba(250, 247, 242, 0.94) 0%, 
            rgba(250, 247, 242, 0.88) 50%, 
            rgba(250, 247, 242, 0.72) 100%) !important;
    }

    .hero-title {
        font-size: clamp(2rem, 8.5vw, 3.2rem) !important;
        letter-spacing: -0.3px;
        line-height: 1.08;
    }

    .title-line.year {
        font-size: clamp(1.35rem, 5.2vw, 1.9rem) !important;
        margin-top: 0.25rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2.8vw, 1.02rem);
        line-height: 1.6;
        margin-bottom: 1.4rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 1.25rem;
        min-height: 48px;
    }

    /* Hero Stats Bar: Balanced 3-Column Responsive Grid */
    .hero-stats-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
        margin-top: 1.5rem !important;
        padding: 0.85rem 0.65rem !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px;
        text-align: center;
        align-items: center;
    }

    .hero-stat {
        align-items: center;
        text-align: center;
        gap: 0.2rem;
    }

    .hero-stat-number {
        font-size: clamp(1.2rem, 4.5vw, 1.65rem) !important;
        line-height: 1.1;
    }

    .hero-stat-label {
        font-size: clamp(0.55rem, 1.9vw, 0.68rem) !important;
        letter-spacing: 0.8px;
        line-height: 1.25;
    }

    /* Section Headers */
    .section-title,
    .speakers-hall .section-title,
    .core-team .section-title {
        font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important;
        line-height: 1.15;
    }

    .section-subtitle,
    .speakers-hall .section-subtitle {
        font-size: clamp(0.88rem, 2.8vw, 0.98rem);
        line-height: 1.55;
    }

    /* Institutional Badge Safety */
    .inst-badge {
        font-size: 0.68rem;
        letter-spacing: 1px;
        padding: 0.35rem 0.85rem;
        max-width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
    }

    /* About Section Mobile Flow */
    .about-hero-split {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }

    .about-main-headline {
        font-size: clamp(1.7rem, 6.5vw, 2.3rem);
        line-height: 1.22;
    }

    .about-lead-p {
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .about-sub-p {
        font-size: 0.94rem;
        line-height: 1.65;
        margin-bottom: 1.8rem;
    }

    .about-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.8rem !important;
    }

    .about-hero-actions .btn {
        width: 100% !important;
        text-align: center;
        justify-content: center;
        min-height: 48px;
    }

    .about-credential-card {
        padding: 1.6rem 1.3rem;
        border-radius: 16px;
    }

    .credential-header {
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .credential-crest {
        width: 48px;
        height: 48px;
    }

    .credential-college {
        font-size: 1.25rem;
    }

    .credential-val {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .about-card {
        padding: 1.6rem 1.3rem;
        border-radius: 16px;
    }

    /* Living Architectural Legacy Museum on Mobile */
    .legacy-museum-section {
        height: 380vh !important;
    }

    .museum-sticky-viewport {
        height: 100vh !important;
        height: 100dvh !important;
        perspective: 900px;
        -webkit-perspective: 900px;
    }

    .museum-floating-header {
        top: max(12px, var(--safe-top)) !important;
    }

    .museum-eyebrow {
        font-size: 0.62rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 0.15rem !important;
    }

    .museum-floating-header .section-title {
        font-size: clamp(1.35rem, 5.2vw, 1.8rem) !important;
        line-height: 1.2 !important;
    }

    .museum-chapter {
        width: min(92vw, 440px) !important;
        top: calc(50% + 22px) !important;
        max-height: calc(100dvh - 85px) !important;
    }

    .monolith-glass-card {
        padding: 1.3rem 1.15rem !important;
        max-height: calc(100dvh - 95px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 14px !important;
    }

    .arch-year-engraved {
        display: none !important;
    }

    .node-year {
        font-size: clamp(2rem, 6.5vw, 2.6rem) !important;
        margin-bottom: 0.15rem !important;
    }

    .node-title {
        font-size: clamp(1.1rem, 3.8vw, 1.35rem) !important;
        margin-bottom: 0.45rem !important;
    }

    .node-bullets {
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
    }

    .floating-editorial-panel,
    .orbiting-photo-cube {
        display: none !important;
    }

    .finale-monolith-wrapper {
        height: min(280px, 46dvh) !important;
        max-width: 90vw !important;
    }

    .finale-monolith-face {
        padding: 1.3rem 1.1rem !important;
    }

    .finale-headline {
        font-size: clamp(1.25rem, 4.8vw, 1.65rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.6rem !important;
    }

    .finale-subtext {
        font-size: clamp(0.85rem, 3.2vw, 1.02rem) !important;
        line-height: 1.45 !important;
    }

    .finale-engraved-title {
        font-size: clamp(1.4rem, 5.2vw, 2rem) !important;
        letter-spacing: 1.5px !important;
    }

    /* Sponsors / Partners Board */
    .sponsors-unified-board {
        padding: 1.8rem 1.15rem !important;
        margin-top: 2rem !important;
        border-radius: 14px !important;
    }

    .sponsors-logo-wall {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
        gap: 1.25rem 1rem !important;
        align-items: center;
        justify-items: center;
    }

    .sponsor-logo-item {
        height: 55px !important;
        width: 100% !important;
        max-width: 140px !important;
        padding: 0.2rem !important;
    }

    /* Press Cards */
    .press-container {
        padding: 4rem 4% !important;
    }

    .press-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin-top: 1.8rem !important;
    }

    .press-photo-card {
        border-radius: 14px !important;
    }

    .press-img-wrap {
        aspect-ratio: 16 / 9 !important;
    }

    .press-card-body {
        padding: 1.25rem !important;
    }

    .press-card-title {
        font-size: 1.05rem !important;
    }

    .press-card-meta {
        font-size: 0.8rem !important;
        margin-bottom: 0.9rem !important;
    }

    /* Footer & Coordinator Contact */
    .footer-cta {
        padding: 4.5rem 4% 2.5rem !important;
    }

    .footer-brand h3 {
        font-size: 1.25rem !important;
    }

    .footer-social {
        gap: 1rem 1.4rem !important;
    }
}

/* ============================== */
/* Ken Burns Hover on Clip Cards  */
/* ============================== */
.clip-thumbnail {
    overflow: hidden;
}

.clip-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: inherit;
    background-position: inherit;
    background-image: inherit;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Only on real hover devices & when motion is welcome: animating background-size repaints every frame */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .clip-card:hover .clip-thumbnail {
        animation: kenBurnsZoom 8s ease-in-out 2 alternate;
    }
}

@keyframes kenBurnsZoom {
    0% {
        background-size: 100% auto;
        background-position: center top;
    }
    100% {
        background-size: 115% auto;
        background-position: center center;
    }
}

/* ============================== */
/* Lazy Load Fade-In              */
/* ============================== */
[data-bg] {
    background-image: none !important;
    background-color: rgba(242, 242, 245, 0.85);
    transition: background-image 0.6s ease, opacity 0.6s ease;
}

[data-bg].bg-loaded {
    background-color: transparent;
}

/* ============================== */
/* Global Focus Visible Styles    */
/* ============================== */
*:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 3px;
    border-radius: 3px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 3px;
}

.filter-btn:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
    border-radius: 999px;
}

.accordion-item:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: -2px;
}

.team-card:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
    border-radius: 6px;
}

.exp-card:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
}

.clip-card:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
    border-radius: 10px;
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: -2px;
}

/* Contact & Mailto Action Toast */
.contact-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1C1917;
    color: #FDFBF7;
    border: 1px solid var(--accent-red);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    font-size: 0.88rem;
    max-width: 90vw;
    white-space: nowrap;
}

.contact-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.contact-toast-gmail-btn {
    background: var(--accent-red);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.contact-toast-gmail-btn:hover {
    background: var(--accent-red-hover);
}

/* =====================================================================
   MOBILE · TOUCH · PERFORMANCE PASS
   Layered on top of the rules above (later wins at equal specificity).
   Breakpoints used: ≤1024 (hamburger nav / tablets), ≤768 (phones & small
   tablets), (hover: none) for touch-only behaviour, reduced-motion last.
   ===================================================================== */

:root {
    --gutter: clamp(1.25rem, 4vw, 5%);
    --gutter-l: max(var(--gutter), var(--safe-left));
    --gutter-r: max(var(--gutter), var(--safe-right));
    /* fixed navbar height on hamburger layouts (padding + 44px toggle + hairline) */
    --nav-total: calc(max(0.75rem, var(--safe-top)) + 3.5625rem);
}

/* ---------- Typography consistency ----------
   Several section titles (Sponsors, Media & Press, Mentors, footer CTA) fell back to Inter
   because only some sections set the serif. One heading voice everywhere. */
.section-title {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-wrap: balance;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-wrap: pretty;
}

/* Speaker profile header pills (were unstyled plain text) */
.profile-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.75rem;
    margin-bottom: 0.9rem;
}

.profile-role-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.3;
}

.profile-session-pill {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-red);
    line-height: 1.45;
}

/* ---------- Performance: drop blurs that sit on (near-)opaque surfaces ----------
   Each of these had a 95-100% opaque background, so the blur was invisible but still
   forced a backdrop read + blur pass (34 speaker badges, 5 museum cards in a 3D scrubbed stage...). */
.monolith-glass-card,
.speaker-badge,
.slot-nav-btn,
.inst-badge {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Light placeholders while lazy portraits load (no blank white holes) */
.team-image,
.speaker-crop {
    background-color: #EFE9E1;
}

/* Archive gallery never forces a 280px column wider than a 320px phone */
.edition-archive-gallery {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

/* Toast: respect the home indicator, wrap instead of overflowing on narrow phones */
.contact-toast {
    bottom: calc(1.5rem + var(--safe-bottom));
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0s linear 0.4s;
}

.contact-toast.active {
    visibility: visible;
    transition-delay: 0s;
}

.contact-toast-gmail-btn {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.95rem;
    white-space: nowrap;
}

/* ---------- Tablets & phones (hamburger layout) ---------- */
@media (max-width: 1024px) {
    /* .navbar.scrolled (higher specificity) used to drop the safe-area padding, sliding the
       logo under the notch / status bar once you scrolled. Keep both states identical. */
    .navbar,
    .navbar.scrolled {
        padding: max(0.75rem, var(--safe-top)) var(--gutter-r) 0.75rem var(--gutter-l);
    }

    .nav-logo-link {
        min-height: 44px;
    }

    html {
        scroll-padding-top: calc(var(--nav-total) + 8px);
    }

    /* Transient full-screen scrim: a tint is enough, an 8px blur over the whole page janks
       the drawer animation on mid-range phones */
    .nav-backdrop {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(18, 14, 12, 0.48);
    }

    .nav-links .btn-register.mobile-only {
        min-height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-top: 1.25rem;
        border-radius: 12px;
    }

    /* Blur behind the hero stats card re-ran on every video frame; a denser fill reads the same */
    .hero-stats-bar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.94);
    }

    .btn-outline {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: rgba(255, 255, 255, 0.94);
    }

    .modal-circle-back-btn {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Layers that never animate on touch layouts (particles are disabled < 768px, the stage
       only tilts on desktop mousemove) */
    .legacy-museum-canvas,
    .museum-3d-stage {
        will-change: auto;
    }

    .museum-sticky-viewport {
        height: 100vh;
        height: 100svh; /* pinned stage keeps a stable height while the URL bar collapses */
    }
}

/* ---------- Phones & small tablets ---------- */
@media (max-width: 768px) {
    :root {
        --gutter: 1.25rem;
    }

    /* Consistent 20pt side margins for every section (were 15-19px depending on the section) */
    .hero {
        padding-left: var(--gutter-l);
        padding-right: var(--gutter-r);
        min-height: 100vh;
        min-height: 100svh;
    }

    .about,
    .speakers-hall,
    .partners,
    .mentors-section,
    .core-team,
    .faq-section {
        padding-left: var(--gutter-l);
        padding-right: var(--gutter-r);
    }

    .press-container {
        padding-left: var(--gutter-l) !important;
        padding-right: var(--gutter-r) !important;
    }

    /* ----- Hero ----- */
    .hero-subtitle {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.6;
    }

    .hero-cta .btn {
        border-radius: 12px;
        min-height: 50px;
        display: flex;
        align-items: center;
    }

    .hero-stats-bar {
        border-radius: 16px;
        padding: 1rem 0.5rem !important;
    }

    .hero-stat-label {
        font-size: 0.6875rem !important; /* 11pt floor */
        letter-spacing: 0.6px;
    }

    /* ----- Shared mobile type floor (HIG: nothing under 11pt) ----- */
    .inst-badge {
        font-size: 0.72rem;
        letter-spacing: 1.2px;
        padding: 0.45rem 0.95rem;
    }

    .museum-eyebrow {
        font-size: 0.6875rem !important;
        letter-spacing: 2px !important;
    }

    .speaker-badge {
        font-size: 0.6875rem;
        letter-spacing: 1.2px;
    }

    .coordinator-badge,
    .team-tab-btn .tab-badge {
        font-size: 0.6875rem !important;
    }

    .team-info p {
        font-size: 0.6875rem !important;
    }

    .section-title {
        letter-spacing: -0.01em;
    }

    /* ----- About ----- */
    .about-hero-actions .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .about-lead-p a {
        padding: 0.35rem 0; /* larger hit area, no layout change for an inline link */
    }

    /* ----- Speakers: full-bleed swipe rows with an edge fade as a scroll affordance ----- */
    .speaker-session-filters {
        margin-left: calc(-1 * var(--gutter-l));
        margin-right: calc(-1 * var(--gutter-r));
        padding: 0.5rem var(--gutter-r) 1rem var(--gutter-l);
        scroll-padding-inline: var(--gutter-l);
        overscroll-behavior-x: contain;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter-l), #000 calc(100% - 2.75rem), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter-l), #000 calc(100% - 2.75rem), transparent 100%);
    }

    /* the old 18px red glow got clipped by the scroller into a hard pink box */
    .speakers-hall .filter-btn.active,
    .filter-btn.active {
        box-shadow: 0 3px 10px rgba(169, 29, 34, 0.22);
    }

    .accordion-slot-viewport {
        margin-left: calc(-1 * var(--gutter-l));
        margin-right: calc(-1 * var(--gutter-r));
        margin-top: 0.25rem;
        padding: 0;
        width: auto;
    }

    .horizontal-accordion {
        padding: 10px var(--gutter-r) 26px var(--gutter-l);
        scroll-padding-inline: var(--gutter-l);
        gap: 0.875rem;
        overscroll-behavior-x: contain;
        cursor: auto;
    }

    /* first card aligns with the text column, the next one peeks in */
    .accordion-item {
        flex: 0 0 min(300px, 78vw) !important;
        width: min(300px, 78vw) !important;
        max-width: 78vw;
        scroll-snap-align: start;
        border-radius: 16px;
    }

    /* ----- Legacy museum: header sat under the fixed navbar; centre cards in the free area ----- */
    .museum-sticky-viewport {
        height: 100vh !important;
        height: 100svh !important;
    }

    .museum-floating-header {
        top: calc(var(--nav-total) + 0.9rem) !important;
        padding: 0 var(--gutter);
    }

    .museum-chapter {
        top: calc(50% + (var(--nav-total) / 2) + 1.85rem) !important;
        max-height: calc(100svh - var(--nav-total) - 5.5rem) !important;
    }

    .monolith-glass-card {
        max-height: calc(100svh - var(--nav-total) - 5.5rem) !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
    }

    .monolith-glass-card .btn {
        min-height: 44px;
    }

    .finale-monolith-wrapper {
        max-width: calc(100vw - 2 * var(--gutter)) !important;
    }

    /* ----- Speaker / team profile overlays ----- */
    .profile-split {
        height: 100% !important;
    }

    .profile-right {
        padding-left: var(--gutter-l) !important;
        padding-right: var(--gutter-r) !important;
    }

    /* ----- Mentors ----- */
    .mentor-image-wrap {
        height: 280px;
    }

    .mentor-card {
        border-radius: 16px;
    }

    /* ----- Core team: tabs become the same swipeable chips as the speaker filters ----- */
    .team-edition-tabs-container {
        margin-left: calc(-1 * var(--gutter-l));
        margin-right: calc(-1 * var(--gutter-r));
        width: auto;
        max-width: none;
    }

    .team-edition-tabs {
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0.4rem var(--gutter-r) 0.9rem var(--gutter-l);
        gap: 0.55rem;
        scroll-padding-inline: var(--gutter-l);
        overscroll-behavior-x: contain;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter-l), #000 calc(100% - 2.75rem), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter-l), #000 calc(100% - 2.75rem), transparent 100%);
    }

    .team-tab-btn {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 999px;
        padding: 0.55rem 1rem;
    }

    .team-tab-btn.active {
        background: var(--accent-red);
        border-color: var(--accent-red);
        box-shadow: 0 3px 10px rgba(169, 29, 34, 0.22);
    }

    .edition-grid-title {
        font-size: 1.45rem;
        line-height: 1.25;
        text-wrap: balance;
    }

    .edition-president-card {
        padding: 1.6rem 1.25rem 1.5rem;
        margin-bottom: 2.5rem;
        border-left-width: 4px;
    }

    .edition-president-card::before {
        font-size: 5rem;
        right: 14px;
    }

    .edition-president-quote {
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .edition-archive-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .edition-archive-photo-card {
        border-radius: 14px;
    }

    .edition-coordinators-cloud {
        padding: 1.4rem 1.25rem;
        margin-top: 2.5rem;
    }

    .coordinator-tag {
        font-size: 0.8rem;
    }

    .edition-resource-btn {
        min-height: 52px;
    }

    /* ----- Footer: the CTA block was padded twice (7rem footer + 4.5rem CTA) ----- */
    .footer {
        padding: 4.5rem var(--gutter-r) calc(2rem + var(--safe-bottom)) var(--gutter-l);
    }

    .footer-cta {
        padding: 0 !important;
        margin-bottom: 3rem;
    }

    .footer-cta-desc {
        margin-bottom: 2rem;
    }

    .cta-buttons .btn {
        display: flex;
        border-radius: 12px;
        min-height: 52px;
    }

    .footer-coordinators-contact {
        margin: 2.5rem auto 2.5rem;
    }

    .coord-link {
        min-height: 44px !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
        border-radius: 12px;
    }

    .footer-social a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 0.25rem;
    }

    .footer-social {
        row-gap: 0.15rem !important;
    }

    .footer-contact a {
        padding: 0.6rem 0; /* inline links: bigger hit area without changing line layout */
        white-space: nowrap;
    }

    /* ----- Toast ----- */
    .contact-toast {
        white-space: normal;
        width: calc(100% - 2 * var(--gutter));
        max-width: 440px;
        border-radius: 16px;
        padding: 0.8rem 0.9rem 0.8rem 1.1rem;
        justify-content: space-between;
        gap: 0.75rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contact-toast strong {
        overflow-wrap: anywhere;
    }
}

/* ---------- Narrow phones (iPhone SE / 320-375) ---------- */
@media (max-width: 380px) {
    .hero-title {
        font-size: clamp(1.85rem, 8.4vw, 2.2rem) !important;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
    }

    .node-bullets {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
    }

    .node-bullets li {
        margin-bottom: 0.45rem;
    }
}

/* ---------- Short phone viewports (SE in Safari ≈ 548px visible) ----------
   The 2026 museum card lists 15 speakers; on short screens it overflowed its pinned frame and
   turned into a nested scroller that traps the page swipe. The full roster lives in Speakers. */
@media (max-width: 768px) and (max-height: 760px) {
    .chapter-2026 .node-bullets li:nth-child(2) {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        overflow: hidden;
    }

    .node-year {
        font-size: 2rem !important;
    }

    .monolith-glass-card {
        padding: 1.1rem 1rem !important;
    }
}

/* ---------- Touch devices: no sticky hover states ----------
   On touch screens :hover latches onto the last tapped element (cards stayed lifted with a red
   border, logos stayed scaled, the tapped "View session" button stayed red). Reset them to the
   resting look and give a quick press state instead. */
@media (hover: none) {
    .nav-logo-link:hover,
    .nav-logo-link:hover .nav-crest-img,
    .nav-logo-link:hover .nav-wordmark-img,
    .nav-link:hover {
        transform: none;
        opacity: 1;
    }

    .btn-outline:hover {
        border-color: rgba(0, 0, 0, 0.2);
        color: var(--text-primary);
        background-color: rgba(255, 255, 255, 0.94);
        box-shadow: none;
    }

    .btn-primary:hover {
        box-shadow: none;
    }

    .about-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: 0 10px 30px rgba(60, 45, 30, 0.03);
    }

    .about-card:hover::after {
        transform: scaleX(0);
    }

    .about-card:hover .about-card-icon-wrap {
        background: var(--accent-red-light);
        color: var(--accent-red);
        transform: none;
        box-shadow: none;
    }

    .speakers-hall .filter-btn:hover:not(.active),
    .filter-btn:hover:not(.active) {
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.09);
        color: var(--text-secondary);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .accordion-item:hover {
        transform: none;
        border-color: rgba(0, 0, 0, 0.09);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .accordion-item:hover .speaker-crop {
        transform: none;
    }

    .view-session-btn:hover,
    .accordion-item:hover .view-session-btn {
        background: #f7f7fa;
        color: #111118;
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
    }

    .modal-circle-back-btn:hover,
    .modal-circle-back-btn:hover svg {
        transform: none;
    }

    .mentor-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .mentor-card:hover .mentor-image,
    .mentor-card:hover .mentor-img,
    .mentor-card:hover .mentor-link {
        transform: none;
    }

    .team-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: 0 4px 18px rgba(60, 45, 30, 0.05);
    }

    .team-card:hover .team-image {
        transform: none;
    }

    .team-tab-btn:hover:not(.active) {
        color: var(--text-secondary);
        background: #ffffff;
        border-color: var(--border-color);
    }

    .team-tab-btn:hover:not(.active) .tab-badge {
        background: rgba(60, 45, 30, 0.06);
        color: var(--text-muted);
    }

    .edition-archive-photo-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: 0 6px 24px rgba(60, 45, 30, 0.06);
    }

    .edition-archive-photo-card:hover img {
        transform: none;
    }

    .coordinator-tag:hover {
        color: var(--text-secondary);
        border-color: var(--border-color);
        background: var(--bg-primary);
        transform: none;
        box-shadow: none;
    }

    .sponsor-logo-item:hover {
        transform: none;
    }

    .sponsor-logo-item:hover img {
        filter: contrast(102%);
    }

    .press-photo-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: 0 10px 30px rgba(60, 45, 30, 0.05);
    }

    .press-photo-card:hover .press-img-wrap img {
        transform: none;
    }

    .press-photo-card:hover .press-card-title {
        color: var(--text-primary);
    }

    .coordinator-contact-card:hover {
        transform: none;
        border-color: var(--border-color);
        box-shadow: 0 4px 18px rgba(60, 45, 30, 0.04);
    }

    .btn-register:hover,
    .speaker-linkedin-btn:hover,
    .speaker-instagram-btn:hover,
    .edition-resource-btn:hover,
    .cta-main-btn:hover,
    .coord-link.linkedin:hover {
        transform: none;
    }

    .cta-partner-btn:hover {
        border-color: rgba(0, 0, 0, 0.15);
        color: var(--text-primary);
        background-color: #ffffff;
        transform: none;
        box-shadow: none;
    }

    .inst-badge:hover {
        background: var(--accent-red-light);
        border-color: rgba(204, 0, 0, 0.25);
    }

    /* GSAP reveals these cards with inline transforms; a CSS transform transition on top
       double-eases every frame (laggy reveals on phones). Hover lifts are off on touch anyway. */
    .team-card,
    .mentor-card,
    .accordion-item,
    .press-photo-card,
    .edition-archive-photo-card {
        transition: border-color 0.3s ease, box-shadow 0.3s ease, filter 0.15s ease;
    }

    /* Press feedback */
    .team-card:active,
    .mentor-card:active,
    .accordion-item:active,
    .press-photo-card:active,
    .edition-archive-photo-card:active,
    .sponsor-logo-item:active img {
        filter: brightness(0.94);
    }

    .btn-primary:active,
    .cta-main-btn:active,
    .edition-resource-btn.aftermovie:active,
    .view-session-btn:active {
        background-color: var(--accent-red-hover);
        border-color: var(--accent-red-hover);
        color: #ffffff;
    }

    .btn-outline:active,
    .cta-partner-btn:active,
    .filter-btn:active:not(.active),
    .team-tab-btn:active:not(.active),
    .coord-link.email:active {
        background-color: var(--accent-red-light);
        border-color: rgba(169, 29, 34, 0.35);
        color: var(--accent-red);
    }

    .modal-circle-back-btn:active {
        background: var(--accent-red-light) !important;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

    /* replace the looping background film with its still poster */
    .hero-video {
        display: none;
    }

    .hero-video-wrapper {
        background: var(--bg-primary) url("speaker_session_poster.webp") center / cover no-repeat;
    }
}

/* ===== QA polish pass ===== */
/* Fully opaque navbar so section text never shows through it while scrolling */
.navbar {
    background: linear-gradient(135deg, #A91D22 0%, #7D0C10 100%);
}
.navbar.scrolled {
    background: linear-gradient(135deg, #961216 0%, #6E080C 100%);
}

/* Footer bottom row: breathing room between brand, links and contact on desktop */
.footer-bottom {
    gap: 2rem 3rem;
    flex-wrap: wrap;
}
@media (min-width: 1025px) {
    /* row layout only: in the stacked mobile footer a flex-basis becomes a 320px-tall gap */
    .footer-brand {
        flex: 1 1 320px;
        min-width: 0;
    }
}
.portal-light-beam {
    box-shadow: none;
}
.footer-brand h3 {
    text-wrap: balance;
}
.footer-social a,
.footer-contact a {
    white-space: nowrap;
}

/* Section pills: balanced line breaks instead of a lone trailing word */
.inst-badge {
    text-wrap: balance;
    text-align: center;
}

@media (max-width: 1024px) {
    /* Footer contact links reach the 44px tap target */
    .footer-contact a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

/* Short phones (iPhone SE): tighten the drawer so Contact Us clears the bottom edge */
@media (max-width: 1024px) and (max-height: 640px) {
    .nav-links {
        padding-top: calc(var(--safe-top) + 4.25rem);
        padding-bottom: max(1.25rem, calc(var(--safe-bottom) + 1rem));
        gap: 0;
    }
}

/* Narrow phones: keep the legacy report button to one or two lines */
@media (max-width: 360px) {
    .monolith-glass-card .btn {
        font-size: 0.72rem !important;
        letter-spacing: 0.5px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ===== Liquid Glass navigation layer (Apple 2025 material) =====
   The blur lives on ::before, not on .navbar itself: backdrop-filter on the navbar would make it the
   containing block for the fixed mobile drawer (.nav-links) and trap the drawer inside the bar. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .navbar,
    .navbar.scrolled {
        background: transparent;
        border-bottom-color: rgba(255, 255, 255, 0.22);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.30),   /* specular top edge */
            0 8px 32px rgba(60, 4, 8, 0.22);
    }
    .navbar::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        /* tinted "regular" glass: 78% crimson keeps white labels above 4.5:1 over white content */
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
            linear-gradient(135deg, rgba(169, 29, 34, 0.78) 0%, rgba(125, 12, 16, 0.84) 100%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
        backdrop-filter: blur(22px) saturate(180%);
    }
    .navbar.scrolled::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 55%),
            linear-gradient(135deg, rgba(150, 18, 22, 0.80) 0%, rgba(110, 8, 12, 0.86) 100%);
    }
    /* Glass capsule for the hamburger */
    .menu-toggle {
        background: rgba(255, 255, 255, 0.16);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
        border-radius: 12px;
    }

    @media (max-width: 1024px) {
        /* Slide-out menu: light regular glass over the dimmed page */
        .nav-links {
            background: rgba(255, 255, 255, 0.74);
            -webkit-backdrop-filter: blur(28px) saturate(180%);
            backdrop-filter: blur(28px) saturate(180%);
            border-left: 1px solid rgba(255, 255, 255, 0.6);
        }
        .nav-links.active {
            box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.7), -16px 0 48px rgba(28, 25, 23, 0.18);
        }
    }
}

/* Accessibility: Reduce Transparency / Increase Contrast get the solid bar and menu */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .navbar::before {
        background: linear-gradient(135deg, #A91D22 0%, #7D0C10 100%);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .nav-links {
        background: #ffffff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}
