/* =========================================================================
   Global Horizon Summit — Shared Stylesheet
   Palette retheme (this pass): color/type/spacing tokens rebuilt to match
   the real, live CSS custom properties + button/heading colors read directly
   from https://jitoconnecthyd.com (deep indigo primary #211F60, red CTA
   #E31E24, green secondary accents #005040/#319067/#99CC5E, soft cyan/gray
   section backgrounds, 6px button radius / 12px card radius, Gotham font).
   Gotham is a commercial font not available via Google Fonts, so Poppins
   (a free, similarly geometric sans) substitutes for headings/display type.
   Every rule below still reads through these same semantic token names, so
   the retheme is a single-file, single-block change with no page edits.
   ========================================================================= */

:root {
  /* Colors */
  --surface: #eef9fa;
  --surface-dim: #d9dadb;
  --surface-bright: #f7f9fa;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f6f6;
  --surface-container: #eaf0f0;
  --surface-container-high: #e2eaea;
  --surface-container-highest: #dbe4e4;
  --on-surface: #16181f;
  --on-surface-variant: #454a52;
  --inverse-surface: #2a2c3a;
  --inverse-on-surface: #f0f1f7;
  --outline: #64686f;             /* WCAG AA on --surface */
  --outline-variant: #c6c9d0;

  --primary: #211f60;             /* JITO Connect deep indigo */
  --on-primary: #ffffff;
  --primary-container: #211f60;
  --on-primary-container: #c8c7e9;
  --primary-fixed: #e2e1f5;
  --primary-fixed-dim: #b6b4dd;
  --on-primary-fixed: #211f60;

  --secondary: #005040;           /* JITO Connect deep green */
  --on-secondary: #ffffff;
  --secondary-container: #99cc5e; /* JITO Connect light green accent */
  --on-secondary-container: #1f3d14; /* Darkened for WCAG AA on the light-green container */
  --secondary-fixed: #d9edc0;
  --secondary-fixed-dim: #b9d99a;
  --on-secondary-fixed: #14280d;

  --tertiary-container: #2a0d0e;
  --on-tertiary-container: #e31e24; /* JITO Connect red — CTA/accent */
  --tertiary-fixed: #ffd9d9;
  --tertiary-fixed-dim: #ffb3b3;

  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;

  --background: #ffffff;
  --on-background: #16181f;
  --charcoal: #1e1e1e;
  --glass-surface: rgba(255, 255, 255, 0.7);
  --glass-surface-dark: rgba(10, 11, 13, 0.75);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing — tightened from the original 120px section padding / 32px stack
     to close up the excess whitespace between sections and stacked elements
     site-wide, matching JITO Connect's denser, more compact rhythm. */
  --container-max: 1280px;
  --margin-desktop: 56px;
  --margin-mobile: 20px;
  --gutter: 22px;
  --stack-sm: 8px;
  --stack-md: 14px;
  --stack-lg: 26px;
  --section-padding: 80px;

  /* Radius — 6px buttons / 12px cards, matching JITO Connect exactly */
  --radius-sm: 0.25rem;
  --radius: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-soft: 0 4px 20px rgba(33, 31, 96, 0.08);
  --shadow-lg: 0 10px 40px rgba(33, 31, 96, 0.14);
}

/* =========================================================================
   Reset & Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--on-background);
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  animation: page-fade-in 0.5s ease both;
}
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 var(--stack-md);
  color: var(--on-surface);
  line-height: 1.15;
}
p { line-height: 1.6; margin: 0 0 var(--stack-md); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}
@media (min-width: 1024px) {
  .container { padding: 0 var(--margin-desktop); }
}

.section { padding: 64px 0; }
@media (min-width: 1024px) {
  .section { padding: var(--section-padding) 0; }
}
.section-tight { padding: 48px 0; }

.text-center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--stack-md);
}
.display-xl { font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; }
.display-lg { font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; }
.headline-lg { font-size: 26px; }
.headline-md { font-size: 20px; }
@media (min-width: 768px) {
  .display-xl { font-size: 56px; }
  .display-lg { font-size: 44px; }
  .headline-lg { font-size: 32px; }
  .headline-md { font-size: 24px; }
}
@media (min-width: 1024px) {
  .display-xl { font-size: 64px; }
  .display-lg { font-size: 48px; }
}
.body-lg { font-size: 18px; line-height: 1.6; color: var(--on-surface-variant); }
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-line .dash { width: 48px; height: 1px; background: var(--secondary-fixed); }

/* =========================================================================
   Grid utilities
   ========================================================================= */
/* minmax(0, 1fr) rather than a bare 1fr everywhere below is deliberate: a
   plain "1fr" track carries an implicit minmax(auto, 1fr), so any child
   with wide non-shrinking content (a nowrap button, a long unbroken email
   address, an unconstrained image/table) forces the track — and the whole
   page — wider than the viewport. minmax(0, 1fr) removes that implicit
   auto-minimum, which is what was letting the site overflow horizontally
   on mobile (found via the footer's newsletter "Subscribe" button). */
.grid { display: grid; gap: var(--gutter); min-width: 0; }
.grid-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* .grid-5 (5-across stall-category cards, exhibit.php) — previously only
   ever set via an inline style="grid-template-columns:repeat(5,1fr)" with
   no responsive fallback at all, forcing 5 cramped columns even on phones. */
.grid-5 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* legal.php hero (main copy + fixed-width help card) — was a hardcoded
   inline grid-template-columns:minmax(0,1fr) 280px with no responsive
   fallback, forcing a cramped 280px sidebar column on phones. */
.legal-hero-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .legal-hero-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--stack-sm); }
.gap-md { gap: var(--stack-md); }
.gap-lg { gap: var(--stack-lg); }
.flex-wrap { flex-wrap: wrap; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  min-height: 48px;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: scale(1.02); }
  .btn:active { transform: scale(0.97); }
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { filter: brightness(1.2); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--secondary-container); color: var(--on-secondary-container); font-weight: 700; }
.btn-secondary:hover { background: var(--secondary-fixed); }
.btn-ghost { border-color: var(--on-tertiary-container); color: var(--on-tertiary-container); background: transparent; }
.btn-ghost:hover { background: rgba(36, 128, 255, 0.08); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.18); }
.btn-outline-dark { border-color: var(--primary); color: var(--on-surface); background: transparent; }
.btn-outline-dark:hover { background: var(--primary); color: var(--on-primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; min-height: 40px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 15px; }
.cta-cluster { display: flex; flex-wrap: wrap; gap: var(--stack-md); }

/* =========================================================================
   Navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-surface);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(33,31,96,0.04), 0 8px 24px -16px rgba(33,31,96,0.18);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}
.brand span { color: var(--secondary); }
.brand--logo { display: flex; align-items: center; height: 100%; position: relative; padding-right: 20px; flex-shrink: 0; }
.brand--logo::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 32px; background: linear-gradient(180deg, transparent, var(--outline-variant) 50%, transparent);
}
.brand-logo-img { max-height: 68px; width: auto; display: block; }
/* Shows on every screen size, including mobile — previously hidden below
   480px (bare logo only), which left the header with no readable event
   name/tagline at all on most phones. */
.brand-presents {
  display: inline-block; margin-left: 10px; font-family: var(--font-display);
  line-height: 1.3; white-space: nowrap;
}
.brand-presents-name { display: block; font-weight: 800; font-size: 12.5px; letter-spacing: 0.005em; color: var(--primary); }
.brand-presents-tagline { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: 0.02em; color: var(--on-surface-variant); }
@media (min-width: 480px) {
  .brand-presents-name { font-size: 15px; }
  .brand-presents-tagline { font-size: 11.5px; }
}
.main-nav { display: none; align-items: center; gap: 2px; }

/* --- Desktop dropdown nav item --- */
.nav-item { position: relative; }
.nav-top-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--on-surface-variant);
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-top-link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-top-link:hover, .nav-item.active .nav-top-link, .nav-top-link.active {
  color: var(--on-surface);
  background: var(--surface-container-low);
}
.nav-top-link:hover::after, .nav-item.active .nav-top-link::after, .nav-top-link.active::after {
  transform: scaleX(1);
}
.nav-top-link .chevron { transition: transform 0.2s ease; opacity: 0.6; }
.nav-item:hover .nav-top-link .chevron, .nav-item.open .nav-top-link .chevron { transform: rotate(180deg); }
.nav-top-link--plain { padding: 10px 16px; }

/* No gap between the trigger and the panel — an actual gap breaks :hover
   continuity because the mouse leaves .nav-item's box while crossing it,
   closing the menu before the cursor ever reaches the panel. The 10px of
   breathing room is instead an invisible bridge (::before) plus the panel's
   own padding, so the hoverable area is contiguous from button to panel. */
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px) scale(0.98);
  min-width: 300px;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
  z-index: 50;
}
.dropdown-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
}
.dropdown-panel-inner {
  position: relative;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -12px rgba(33,31,96,0.22), 0 4px 12px -4px rgba(33,31,96,0.08);
  padding: 12px;
  overflow: hidden;
}
.dropdown-panel-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--on-tertiary-container, #e31e24));
}
.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel,
.nav-item.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown-panel ul { display: flex; flex-direction: column; gap: 2px; }
.dropdown-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border-radius: calc(var(--radius) - 2px);
  transition: background-color 0.15s ease, transform 0.15s ease, padding-left 0.15s ease;
  border-left: 2px solid transparent;
}
.dropdown-panel a:hover, .dropdown-panel a.active {
  background: var(--surface-container-low);
  border-left-color: var(--secondary);
  padding-left: 18px;
}
.dropdown-item-label { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--on-surface); }
.dropdown-item-desc { font-size: 12.5px; color: var(--on-surface-variant); }

.header-actions { display: flex; align-items: center; gap: 12px; }
/* Below 1024px the header's own Login/Book Stall buttons are hidden — the
   hamburger opens .mobile-nav, which has its own identical Login link and
   .cta-cluster buttons. Without this, they always render here too and
   starve the logo of space (it was measuring ~12px tall on a 375px phone).
   .header-login-link previously had no matching hide rule despite this
   comment already describing the intent — Login stayed visible in the top
   bar at every width, crowding the header further once the brand tagline
   below also started always showing on mobile. */
.header-actions > a.btn, .header-login-link { display: none; }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  padding: 8px 10px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-actions > a.btn { display: inline-flex; }
  .header-login-link { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* --- Mobile nav --- */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden auto;
  background: var(--surface-container-lowest);
  border-bottom: 1px solid var(--outline-variant);
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: calc(100vh - 80px); }
.mobile-nav-group { border-bottom: 1px solid var(--surface-container-high); }
.mobile-nav-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: inherit;
  padding: 14px var(--margin-mobile);
  font-weight: 600;
  font-size: 15px;
  color: var(--on-surface);
  cursor: pointer;
}
.mobile-nav-group-toggle .chevron { transition: transform 0.2s ease; opacity: 0.6; }
.mobile-nav-group.open .mobile-nav-group-toggle .chevron { transform: rotate(180deg); color: var(--secondary); }
.mobile-nav-group.open .mobile-nav-group-toggle { color: var(--primary); }
.mobile-nav-group-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--surface-container-low); border-left: 3px solid var(--secondary); }
.mobile-nav-group.open .mobile-nav-group-panel { max-height: 320px; }
.mobile-nav-group-panel a { display: block; padding: 12px var(--margin-mobile) 12px calc(var(--margin-mobile) + 12px); font-weight: 500; font-size: 14px; color: var(--on-surface-variant); border-top: 1px solid var(--surface-container-high); }
.mobile-nav-direct { padding: 14px var(--margin-mobile); font-weight: 600; font-size: 15px; color: var(--on-surface); border-bottom: 1px solid var(--surface-container-high); }
.mobile-nav .cta-cluster { padding: 16px var(--margin-mobile); display: flex; gap: 10px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: hero-ken-burns 22s ease-in-out infinite alternate;
}
@keyframes hero-ken-burns {
  from { transform: scale(1.0) translate3d(0,0,0); }
  to   { transform: scale(1.09) translate3d(-1%, -1%, 0); }
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,28,50,0.5), rgba(13,28,50,0.92)); }
.hero-network { opacity: 0.5; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--stack-md); margin: var(--stack-lg) 0; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 16px; border-radius: var(--radius); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.hero-badge:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.hero-stats { margin-top: 64px; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--gutter); max-width: 640px; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero-stat-num { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--secondary-fixed); }
.hero-stat-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

/* --- Hero staggered entrance --- */
.hero-anim {
  opacity: 0;
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero-anim { animation: none; opacity: 1; transform: none; }
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  display: none;
}
.hero-scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--secondary-fixed);
  border-radius: var(--radius-full);
  animation: hero-scroll-dot 1.8s ease infinite;
}
@keyframes hero-scroll-dot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}
@media (min-width: 640px) { .hero-scroll-cue { display: block; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue span { animation: none; } }

/* --- Light expo-style hero (replaces the dark photo hero on the homepage) ---
   Elegant off-white textured background with a faint city-skyline silhouette,
   logo pinned top-left, calendar dates centered — matching the reference
   exhibition-brochure layout, rebuilt entirely in CSS/inline SVG (no stock
   photo). --- */
.hero--light {
  display: block; /* override .hero's flex row — the carousel (banner + photos) stacks as a single full-width block, not a flex row */
  min-height: auto;
  padding: 0;
  color: var(--on-surface);
}
/* The banner is slide 0 of the carousel — carries its own background
   (previously the whole hero's background) since it's just one slide
   among several now, not the entire header. */
.hero-carousel-slide--content {
  display: flex; align-items: flex-start; justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #eef9fa 100%);
  padding: 14px 0 24px;
}
.hero-light-texture {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(33,31,96,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}
.hero-light-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px;
  fill: rgba(33,31,96,0.07);
  z-index: 0;
  pointer-events: none;
}
.hero-light-content { position: relative; z-index: 2; max-height: 100%; overflow-y: auto; }
.hero-light-logo { margin-bottom: 24px; display: flex; justify-content: center; }
.hero-light-logo img { height: 96px; width: auto; display: block; }
@media (min-width: 768px) { .hero-light-logo img { height: 120px; } }
.hero-light-center { text-align: center; max-width: 720px; margin: 0 auto; }
.hero-light-eyebrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.04em; color: var(--on-surface-variant);
  background: var(--secondary-fixed);
  padding: 10px 26px; border-radius: var(--radius-full);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(0,80,64,0.35);
  /* Combines with .hero-anim's own fade-up entrance (same "animation"
     property, so it must be listed here too — a second declaration would
     silently replace rather than merge with .hero-anim's, leaving the
     element stuck at opacity:0 forever since the fade-up keyframe that
     sets opacity:1 would never run). */
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both, hero-eyebrow-pulse 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0s), 0.9s;
}
.hero-light-eyebrow strong { color: var(--secondary); font-weight: 800; }
.hero-light-eyebrow::after {
  content: '';
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.75), transparent);
  animation: hero-eyebrow-shine 3.2s ease-in-out infinite;
}
@keyframes hero-eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,80,64,0.28); }
  50% { box-shadow: 0 0 0 8px rgba(0,80,64,0); }
}
@keyframes hero-eyebrow-shine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-light-eyebrow { animation: none; }
  .hero-light-eyebrow::after { animation: none; display: none; }
}
@media (min-width: 768px) { .hero-light-eyebrow { font-size: 19px; padding: 11px 30px; } }
.hero-date-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.hero-date-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff;
  box-shadow: 0 6px 16px -4px rgba(33,31,96,0.35);
}
.hero-date-circle--a { background: var(--on-tertiary-container, #e31e24); }
.hero-date-circle--b { background: var(--primary); }
.hero-date-circle--c { background: var(--secondary); }
.hero-date-month {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--on-surface); margin-left: 6px; letter-spacing: 0.02em;
}
.hero-light-title {
  font-size: 32px; margin-bottom: 10px; color: var(--primary); font-weight: 800;
}
@media (min-width: 768px) { .hero-light-title { font-size: 44px; } }
.hero-light-tagline {
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--secondary); margin: 0 0 14px;
}
.hero-light-presented-by { font-size: 16px; color: var(--on-surface-variant); margin-bottom: 6px; }
.hero-light-presented-by strong { color: var(--secondary); }
.hero-light-venue {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--on-surface-variant); margin-bottom: 28px;
}
.hero-scroll-cue--dark { border-color: rgba(33,31,96,0.3); }
.hero-scroll-cue--dark span { background: var(--primary); }

/* --- Poster-style banner elements (logo, badge, tagline, benefit icons,
   stat bar) — modelled on the print flyer layout. --- */
.hero-poster-venue-badge {
  position: absolute; top: 0; right: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(33,31,96,0.5);
  z-index: 3;
}
.hero-poster-logo {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 0 auto 20px;
}
.hero-poster-logo img { height: 160px; width: auto; display: block; }
@media (min-width: 768px) { .hero-poster-logo img { height: 210px; } }
.hero-poster-logo-caption {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary);
}
.hero-poster-subtagline {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.06em; color: var(--on-tertiary-container, #e31e24);
  margin: 4px 0 20px;
}
@media (min-width: 768px) { .hero-poster-subtagline { font-size: 19px; } }

.hero-benefits-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  max-width: 920px; margin: 8px auto 22px;
}
@media (min-width: 900px) { .hero-benefits-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } }
/* Below 900px the grid falls back to 2 columns, which wraps 5 items into 3
   stacked rows (~290px) — tall enough on a phone-sized viewport to push the
   hero carousel's own dots/scroll-cue off-screen. A single horizontally
   -scrollable row keeps every item without the extra height. */
@media (max-width: 899px) {
  .hero-benefits-row {
    display: flex; overflow-x: auto; flex-wrap: nowrap;
    max-width: 100%; margin: 8px 0 20px; padding: 2px 16px 8px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .hero-benefit-item { flex: 0 0 118px; scroll-snap-align: start; }
}
.hero-benefit-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: #fff; border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md); padding: 12px 8px;
  box-shadow: 0 2px 8px rgba(33,31,96,0.05);
}
.hero-benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; font-size: 17px;
  color: #fff;
}
.hero-benefit-icon--primary { background: var(--primary); }
.hero-benefit-icon--accent { background: var(--on-tertiary-container, #e31e24); }
.hero-benefit-icon--secondary { background: var(--secondary); }
.hero-benefit-icon--purple { background: #6b3fa0; }
.hero-benefit-icon--amber { background: #d68a1a; }
.hero-benefit-label { font-size: 11px; font-weight: 700; color: var(--on-surface); line-height: 1.25; }

.hero-stat-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 20px; max-width: 720px; margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), #171550);
  border-radius: var(--radius-md); padding: 16px 24px;
  box-shadow: 0 12px 28px -14px rgba(33,31,96,0.55);
}
.hero-stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-stat-item strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; }
.hero-stat-item span { font-size: 11px; color: rgba(255,255,255,0.75); letter-spacing: 0.03em; }
.hero-stat-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.2); }
@media (max-width: 640px) {
  .hero-light-content { text-align: center; }
  .hero-poster-venue-badge { position: static; margin-bottom: 16px; }
  .hero-poster-logo img { height: 120px; }
  .hero-benefit-label { font-size: 10.5px; }
  .hero-stat-bar { gap: 14px; padding: 14px 18px; }
}
@media (max-width: 640px) {
  .hero-date-circle { width: 44px; height: 44px; font-size: 18px; }
  .hero-date-month { display: block; margin: 8px 0 0; }
}

/* --- Homepage hero photo carousel — real event photos, crossfading below
   the hero copy/CTAs. Pure CSS-driven fade (JS just toggles .is-active),
   so a slide is never invisible if JS fails to load. --- */
.hero-carousel {
  position: relative; z-index: 2;
  overflow: hidden; background: #0d1c32;
}
/* Full-bleed variant — spans the full viewport width (breaks out of
   .container) rather than sitting inside it as a bordered card. Height is
   sized to comfortably fit slide 0 (the full banner content — logo, dates,
   title, CTAs), not just a plain photo strip, since the banner is itself
   the first slide. */
.hero-carousel--full {
  width: 100%; height: 900px;
}
.hero-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
}
.hero-carousel-slide.is-active { opacity: 1; }
/* object-fit: contain (not cover) — the carousel's fixed height (900px+)
   rarely matches a photo's own aspect ratio, so cover was cropping/cutting
   off the edges of every photo to fill the box. contain shows the whole
   image uncropped, centered (object-position defaults to 50% 50%), with
   .hero-carousel's own dark navy background (#0d1c32) filling the
   letterbox bars so it still reads as an intentional, full-bleed slide —
   same reasoning already applied to slide 0's banner graphic below. */
.hero-carousel-slide--photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Slide 0's responsive <picture> (banner1.jpeg on phones, banner2.jpeg on
   desktop/laptop) — <picture> defaults to display:inline, which wouldn't
   otherwise fill the slide the way the plain <img> slides do. */
.hero-carousel-slide--photo picture { display: block; width: 100%; height: 100%; }
.hero-carousel-slide--content { overflow-y: auto; }
.hero-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-carousel-dot {
  position: relative;
  width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.85); padding: 0; cursor: pointer;
  background: rgba(33,31,96,0.35); box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: background 0.25s ease, transform 0.25s ease;
}
/* Visible dot stays small; the actual tap target is enlarged to the
   24x24 minimum recommended for touch via an invisible hit-area overlay. */
.hero-carousel-dot::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 28px; height: 28px;
}
.hero-carousel-dot.is-active { background: var(--secondary); transform: scale(1.2); }
@media (max-width: 900px) {
  /* Sized to the branded content slide's actual measured height at this
     breakpoint (~828px including its container padding) plus a small
     buffer — was 980px before the benefits-row fix below made this slide
     shorter; a needlessly tall carousel was pushing the dots and the
     "scroll for more" cue off-screen on phones. */
  .hero-carousel--full { height: 860px; }
}
@media (max-width: 640px) {
  /* Measured content need is ~940-990px across phone widths (939px at
     375px wide, up to ~990px on very narrow ~320px phones, since the text
     wraps to more lines as it narrows) — 1010px keeps a safety buffer. */
  .hero-carousel--full { height: 1010px; }
}

/* Small hero used on interior pages */
.page-hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.page-hero.dark { background: var(--charcoal); color: #fff; }
.page-hero.navy { background: var(--primary); color: #fff; }
.network-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(13,28,50,0.12) 1px, transparent 1px); background-size: 30px 30px; }
.network-pattern.light { background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px); }

/* =========================================================================
   Cards
   ========================================================================= */
.card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--stack-lg);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-featured { border-top: 4px solid var(--secondary-container); }
.glass-card {
  background: var(--glass-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}
.glass-card-dark {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: #fff;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-full);
  background: var(--surface-container); color: var(--on-surface-variant);
}
.badge-navy { background: var(--primary-fixed); color: var(--on-surface); }
.badge-gold { background: var(--secondary-container); color: var(--on-secondary-container); }

/* =========================================================================
   Forms
   ========================================================================= */
.form-group { margin-bottom: var(--stack-lg); }
.form-label { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 8px; color: var(--on-surface); }
.form-control {
  width: 100%; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--outline-variant); background: #fff; color: var(--on-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus { outline: none; border-color: var(--on-tertiary-container); box-shadow: 0 0 0 3px rgba(36,128,255,0.15); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gutter); }
@media (min-width: 640px) { .form-row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-error { color: var(--error); font-size: 13px; margin-top: 6px; }
.form-success { background: var(--error-container); color: var(--on-error-container); padding: 16px; border-radius: var(--radius); margin-bottom: var(--stack-lg); }
.form-success.ok { background: #dff5e1; color: #1c5b2c; }
.form-note { background: var(--secondary-container); color: var(--on-secondary-container); padding: 16px; border-radius: var(--radius); font-size: 14px; }

/* Honeypot - visually hidden, but present in DOM/tab order excluded */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 72px 0 32px; }
.site-footer .brand { color: var(--secondary-fixed); font-size: 26px; margin-bottom: var(--stack-md); }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--secondary-fixed); }
.site-footer ul li { margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gutter); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); } }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 56px; padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between; text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-visitor-count { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.newsletter-form { display: flex; gap: 0; min-width: 0; flex-wrap: wrap; }
.newsletter-form input { border-radius: var(--radius) 0 0 var(--radius); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; padding: 12px; flex: 1 1 160px; min-width: 0; }
.newsletter-form button { border-radius: 0 var(--radius) var(--radius) 0; flex-shrink: 0; }
.social-row { display: flex; gap: 12px; margin-top: var(--stack-md); }
.social-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.social-circle:hover { background: rgba(255,255,255,0.12); }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Misc components reused across pages
   ========================================================================= */
.zone-card { position: relative; overflow: hidden; border-radius: var(--radius-md); height: 420px; cursor: pointer; }
.zone-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.zone-card:hover img { transform: scale(1.08); }
.zone-card .zone-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 60%); }
.zone-card .zone-content { position: absolute; left: 0; bottom: 0; padding: 28px; color: #fff; z-index: 2; }
.zone-card .zone-index { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 2; backdrop-filter: blur(6px); }

.stat-box .num { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--on-surface); }
.stat-box .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-surface-variant); }

.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content:''; position:absolute; left:50%; top:0; bottom:0; width:2px; background: var(--outline-variant); transform: translateX(-50%); }
.timeline-item { position: relative; display: flex; flex-direction: column; gap: var(--stack-md); margin-bottom: 56px; }
@media (min-width: 768px) { .timeline-item { flex-direction: row; align-items: center; } }
.timeline-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 auto; }
.timeline-side { flex: 1; }

.person-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s ease, transform .3s ease; }
.person-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.person-photo { aspect-ratio: 3/4; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.person-card:hover .person-photo img { transform: scale(1.06); }
.person-body { padding: 20px; }

.speaker-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border-radius: var(--radius-full); padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 600; }
.speaker-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

.pill-btn { padding: 8px 18px; border-radius: var(--radius-full); background: var(--surface-container-high); color: var(--on-surface-variant); font-size: 13px; font-weight: 600; border: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.pill-btn.active { background: var(--primary); color: #fff; }
.pill-btn:hover { background: var(--outline-variant); }

.table-clean { width: 100%; border-collapse: collapse; }
.table-clean th, .table-clean td { padding: 14px 16px; border-bottom: 1px solid var(--outline-variant); text-align: left; font-size: 14px; }
.table-clean th { font-family: var(--font-display); color: var(--on-surface); }

.divider { height: 1px; background: var(--outline-variant); border: none; margin: 32px 0; }

.progress-track { height: 6px; background: var(--surface-container-high); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill { height: 100%; background: var(--secondary-container); }

.sidebar-nav { display: flex; flex-direction: column; gap: 6px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); color: var(--on-surface-variant); font-weight: 600; font-size: 14px; }
.sidebar-nav a:hover { background: var(--surface-container-high); }
.sidebar-nav a.active { background: var(--primary-container); color: var(--primary-fixed); }

.icon-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-container); color: var(--on-surface); flex-shrink: 0; }

.faq-item { border-bottom: 1px solid var(--outline-variant); padding: 20px 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--on-surface); font-family: var(--font-display); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--on-surface-variant); }
.faq-item.open .faq-answer { max-height: 400px; margin-top: 12px; }
.faq-item.open .faq-caret { transform: rotate(180deg); }
.faq-caret { transition: transform .3s ease; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 12px 20px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

.breadcrumb { font-size: 13px; color: var(--on-surface-variant); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--on-surface); }

.qr-box { width: 180px; height: 180px; margin: 0 auto; background: repeating-linear-gradient(45deg, #211f60, #211f60 6px, #fff 6px, #fff 12px); border-radius: var(--radius); }

.aspect-16-9 { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-md); }
.aspect-4-5 { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-md); }
.aspect-1-1 { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-md); }
.aspect-16-9 img, .aspect-4-5 img, .aspect-1-1 img { width: 100%; height: 100%; object-fit: cover; }

.bg-navy { background: var(--primary); color: #fff; }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.bg-surface { background: var(--surface); }
.bg-white { background: #fff; }
.text-gold { color: var(--secondary-fixed); }
.text-muted { color: var(--on-surface-variant); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================================
   Interactive Floor Plan
   ========================================================================= */
.floorplan-workspace { padding: 40px 0 var(--section-padding); background: var(--surface); }

/* Full-width (col-12) container override for the floor-plan page only —
   breaks out of the standard 1280px --container-max so the map gets much
   more room to breathe. */
.container--wide { max-width: 1720px; }

.floorplan-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Horizontal toolbar (search + category filters), sits above the map --- */
.floorplan-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
}
.floorplan-toolbar-heading { margin-right: auto; min-width: 200px; }
.floorplan-toolbar-heading h2 { margin: 0 0 2px; }
.search-field { position: relative; width: 100%; max-width: 320px; }
.search-field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--outline); pointer-events: none; }
.search-field .form-control { padding-left: 38px; }
.fp-filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-pill-tech.active { background: var(--on-tertiary-fixed-variant, #004493); color: #fff; }
.fp-pill-finance.active { background: var(--secondary); color: #fff; }
.fp-pill-startups.active { background: var(--on-tertiary-container); color: #fff; }

/* --- Full-width stall directory grid, below the map --- */
.floorplan-exhibitor-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-height: 420px;
  overflow-y: auto;
}
.fp-exhibitor-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.fp-exhibitor-card:hover { box-shadow: var(--shadow-soft); border-color: var(--primary); transform: translateY(-1px); }
.fp-exhibitor-name { font-weight: 600; font-size: 14px; color: var(--on-surface); }
.fp-stall-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius); white-space: nowrap; }
.fp-stall-tag--tech { background: rgba(0,68,147,0.1); color: #004493; }
.fp-stall-tag--finance { background: rgba(119,90,25,0.12); color: var(--secondary); }
.fp-stall-tag--startups { background: rgba(36,128,255,0.1); color: var(--on-tertiary-container); }
.fp-locate-cta {
  display: flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 12px; font-weight: 600;
  color: var(--on-tertiary-container);
  opacity: 0; transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fp-exhibitor-card:hover .fp-locate-cta { opacity: 1; transform: translateY(0); }
.fp-no-results { text-align: center; grid-column: 1 / -1; }
.floorplan-sidebar-foot { padding: 18px 22px; background: var(--primary); border-radius: var(--radius-lg); }

/* Arena section heading above each grouped stall-directory grid
   (attendee/floor-plan.php: "Arena 1 - AC Hall" / "Arena 2 - Non-AC Hall"). */
.fp-directory-arena-heading {
  margin: 20px 0 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--outline-variant);
}
.fp-directory-arena-heading:first-of-type { margin-top: 8px; }

/* --- Canvas: much bigger + more spacious --- */
.floorplan-canvas-wrap { display: flex; flex-direction: column; gap: 10px; }
.floorplan-canvas {
  position: relative;
  min-height: 720px;
  height: 86vh;
  max-height: 1080px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.network-bg-dots { background-image: radial-gradient(var(--outline-variant) 0.6px, transparent 0.6px); background-size: 26px 26px; }
.fp-help-text { text-align: center; font-size: 12.5px; }

.fp-svg-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  cursor: grab;
  /* Site-wide pinch-zoom is disabled (partials/head-seo.php); this map has
     its own pinch/pan handled in floor-plan.php's JS instead, so the
     browser's default touch gestures (scroll, native zoom attempts) need
     to stay out of its way here specifically. */
  touch-action: none;
}
.fp-svg-stage.is-dragging { cursor: grabbing; }
.fp-svg {
  width: 100%; height: 100%; max-width: none;
  filter: drop-shadow(0 18px 40px rgba(10,25,47,0.12));
  transition: transform 0.15s ease-out;
  transform-origin: center center;
  overflow: visible;
}

.fp-zone { fill-opacity: 0.14; stroke-width: 2; transition: fill-opacity 0.3s ease, opacity 0.3s ease; cursor: default; }
.fp-zone--tech { fill: #004493; stroke: #004493; }
.fp-zone--finance { fill: #005040; stroke: #005040; }
.fp-zone--startups { fill: #e31e24; stroke: #e31e24; }
.fp-zone--dim { opacity: 0.25; }
.fp-zone-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.fp-zone-label--tech { fill: #004493; }
.fp-zone-label--finance { fill: var(--secondary); }
.fp-zone-label--startups { fill: var(--on-tertiary-container); }
.fp-lounge-label { font-family: var(--font-body); font-weight: 700; font-size: 16px; fill: #1a1a1a; letter-spacing: 0.06em; }
.fp-entrance-label { font-family: var(--font-display); font-weight: 700; font-size: 14px; fill: var(--on-surface); }

.fp-stall { fill: #ffffff; stroke: #c5c6cd; stroke-width: 1.5; cursor: pointer; transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease; transform-box: fill-box; transform-origin: center; }
.fp-stall:hover { fill: var(--surface-container-low); stroke: var(--primary); transform: scale(1.06); }
.fp-stall--active { fill: var(--secondary-container); stroke: var(--secondary); stroke-width: 2.5; transform: scale(1.1); }
.fp-stall--round:hover, .fp-stall--round.fp-stall--active { transform: scale(1.15); }

/* --- Floating glass controls --- */
.fp-controls {
  position: absolute; top: 20px; left: 20px; z-index: 5;
  display: flex; flex-direction: column; padding: 6px;
  box-shadow: var(--shadow-lg);
}
.fp-control-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: var(--radius); color: var(--on-surface);
  transition: background-color 0.2s ease;
}
.fp-control-btn:hover { background: var(--surface-container-high); }
.fp-control-divider { height: 1px; margin: 2px 6px; background: var(--outline-variant); }
.fp-reset-btn {
  position: absolute; top: 106px; left: 20px; z-index: 5;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: none; color: var(--on-surface); box-shadow: var(--shadow-lg);
  transition: background-color 0.2s ease, transform 0.3s ease;
}
.fp-reset-btn:hover { background: var(--surface-container-high); transform: rotate(-45deg); }

.fp-legend {
  position: absolute; bottom: 20px; right: 20px; z-index: 5;
  width: 290px; padding: 14px 16px; box-shadow: var(--shadow-lg);
}
.fp-legend-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--on-surface); margin: 0 0 12px; }
.fp-legend-list { display: flex; flex-direction: column; gap: 9px; margin: 0 0 12px; font-size: 12.5px; color: var(--on-surface); }
.fp-legend-list li { display: flex; align-items: center; gap: 10px; }
.fp-swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.fp-swatch--tech { background: #004493; }
.fp-swatch--finance { background: var(--secondary); }
.fp-swatch--startups { background: var(--on-tertiary-container); }
.fp-swatch--lounge { background: var(--surface-container-low, #e2e4ea); border: 1px solid var(--outline-variant); }
.fp-legend-hint { padding-top: 10px; border-top: 1px solid var(--outline-variant); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #1a1a1a; }

.fp-toast {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 6; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; max-width: 340px; box-shadow: var(--shadow-lg);
  animation: fp-toast-in 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes fp-toast-in { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.fp-toast-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius); background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.fp-toast h4 { margin: 0; font-size: 14.5px; color: var(--on-surface); }
.fp-toast p { margin: 2px 0 0; font-size: 12.5px; }
.fp-toast-close { margin-left: auto; background: none; border: none; color: var(--outline); flex-shrink: 0; }
.fp-toast-close:hover { color: var(--on-surface); }

/* ------------------------------------------------------------------ */
/* Deccan College floor-plan recreation (partials/floor-plan-svg.php)  */
/* ------------------------------------------------------------------ */
.fp-svg--deccan .fp-site-boundary { fill: none; stroke: var(--outline); stroke-width: 2; }
.fp-svg--deccan .fp-facility { fill: var(--surface-container-low); stroke: var(--outline-variant); stroke-width: 1.5; }
.fp-svg--deccan .fp-facility--empty { fill: var(--surface); stroke-dasharray: 4 3; }
.fp-svg--deccan .fp-facility--hall { fill: rgba(119,90,25,0.08); stroke: var(--secondary); }
.fp-svg--deccan .fp-facility--foodcourt { fill: rgba(36,128,255,0.06); }
.fp-svg--deccan .fp-facility--exhibition { fill: #2dade5; stroke: #004493; }
.fp-svg--deccan .fp-facility--plaza { fill: var(--surface-container-low); }
.fp-svg--deccan .fp-facility-label { font-family: var(--font-display); font-weight: 700; font-size: 17px; fill: #1a1a1a; }
.fp-svg--deccan .fp-facility-label--muted { fill: #1a1a1a; font-size: 13px; }
.fp-svg--deccan .fp-facility-sub { font-size: 12px; fill: #1a1a1a; }
.fp-svg--deccan .fp-stage { fill: #c8b789; stroke: var(--outline-variant); }
.fp-svg--deccan .fp-stage-label { font-size: 13px; font-weight: 700; fill: #1a1a1a; }
.fp-svg--deccan .fp-reg-strip { fill: var(--surface-container-low, #e2e4ea); stroke: var(--outline-variant); }
.fp-svg--deccan .fp-reg-strip-label { font-size: 10.5px; font-weight: 600; fill: #1a1a1a; }
.fp-svg--deccan .fp-exit-label { fill: #b23b3b; font-weight: 700; }
.fp-svg--deccan .fp-hall-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; fill: #1a1a1a; }
.fp-svg--deccan .fp-guest-house { fill: #cdeef7; stroke: #1c8fae; stroke-width: 1.5; }
.fp-svg--deccan .fp-guest-house-x { stroke: #1c8fae; stroke-width: 1; }
.fp-svg--deccan .fp-table-icon { fill: none; stroke: var(--outline-variant); stroke-width: 1.5; }
.fp-svg--deccan .fp-hedge-icon { fill: #3f7a2c; stroke: #2c5a1e; stroke-width: 0.5; }
.fp-svg--deccan .fp-passage-label { font-size: 10.5px; fill: #1a1a1a; letter-spacing: 0.03em; }
.fp-svg--deccan .fp-route-arrow { fill: none; stroke: #d0242c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.fp-svg--deccan .fp-parking-label { font-family: var(--font-display); font-weight: 700; font-size: 18px; fill: #1a1a1a; letter-spacing: 0.3em; }
.fp-svg--deccan .fp-road-label { font-size: 13px; font-weight: 700; fill: #1a1a1a; letter-spacing: 0.15em; }

/* R3 venue-plan zones (Main Gate, Roads, Porch, Washroom, Office, Lawn) */
.fp-svg--deccan .fp-facility--gate { fill: #e7f3df; stroke: #3f7a2c; stroke-dasharray: 2 2; }
.fp-svg--deccan .fp-gate-label { font-size: 11px; letter-spacing: 0.15em; fill: #3f7a2c; }
.fp-svg--deccan .fp-facility--road { fill: #d9d9dc; stroke: var(--outline-variant); }
.fp-svg--deccan .fp-facility--porch { fill: #f6c6c6; stroke: #b23b3b; }
.fp-svg--deccan .fp-facility--washroom { fill: rgba(160,60,150,0.10); stroke: #9c3c92; }
.fp-svg--deccan .fp-facility--office { fill: #2d3f8f; stroke: #1c2a66; }
.fp-svg--deccan .fp-facility--lawn { fill: #eef1e8; stroke: var(--outline-variant); }
.fp-svg--deccan .fp-facility--parking { fill: #f0dcc6; stroke: var(--outline-variant); }

.fp-svg--deccan .fp-stall rect { stroke: #75777e; stroke-width: 1; cursor: pointer; transition: fill 0.2s ease, stroke 0.2s ease, transform 0.15s ease; transform-box: fill-box; transform-origin: center; }
.fp-svg--deccan .fp-stall text { font-family: var(--font-body); font-weight: 800; fill: #1a1a1a; pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 2px; stroke-linejoin: round; }
.fp-svg--deccan .fp-stall:hover rect { transform: scale(1.08); stroke: var(--primary); stroke-width: 2; }
.fp-svg--deccan .fp-stall--active rect { stroke: var(--primary); stroke-width: 2.5; transform: scale(1.1); }

/* Colors match 'ASP-Business Expo 2026-R3.pdf' Legend swatches exactly:
   Silver = cyan, Gold = yellow, Diamond = purple, Platinum = pale pink,
   Bronze = gray. */
.fp-svg--deccan .fp-stall--cat-4x3 rect { fill: #b2faf8; }
.fp-svg--deccan .fp-stall--cat-6x4 rect { fill: #fbf716; }
.fp-svg--deccan .fp-stall--cat-diamond rect { fill: #bfabe6; }
.fp-svg--deccan .fp-stall--cat-platinum rect { fill: #f6d9d9; }
.fp-svg--deccan .fp-stall--cat-3x3 rect { fill: #d8d8d8; }

.fp-svg--deccan .fp-stall--reserved rect { fill-opacity: 0.55; stroke-dasharray: 3 2; }
.fp-svg--deccan .fp-stall--occupied rect { fill-opacity: 0.4; }
.fp-svg--deccan .fp-stall--occupied text, .fp-svg--deccan .fp-stall--reserved text { fill: #1a1a1a; }

.fp-stall-summary { border-collapse: collapse; width: 100%; font-size: 13px; }
.fp-stall-summary th, .fp-stall-summary td { padding: 7px 10px; border-bottom: 1px solid var(--outline-variant); text-align: left; }
.fp-summary-type { display: flex; align-items: center; }
.fp-stall-summary .fp-summary-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 8px; flex-shrink: 0; }
.fp-summary-type-text { display: flex; flex-direction: column; line-height: 1.35; }
.fp-summary-size { font-size: 11px; font-weight: 400; color: var(--on-surface-variant, #5c5f6a); }
/* Arena group header row (Arena 1 - AC Hall / Arena 2 - Non AC Hall),
   matching the printed stall-price-list poster's section-divider style. */
.fp-summary-arena-row td { padding-top: 12px; font-weight: 800; font-size: 12.5px; border-bottom: none; color: var(--primary); }

/* Shared Legend table (partials/floor-plan-legend.php) — tier rows are
   filled with the tier colour, like the printed stall Legend. */
.fp-legend-table th, .fp-legend-table td { padding: 5px 8px; }
.fp-legend-table th { font-weight: 700; line-height: 1.2; vertical-align: bottom; white-space: nowrap; }
.fp-legend-unit { display: block; font-size: 10px; font-weight: 500; color: var(--on-surface-variant, #5c5f6a); }
.fp-legend-row td { background: var(--fp-tier); color: #1a1a1a; border-bottom: 2px solid #fff; font-weight: 600; white-space: nowrap; }
.fp-legend-row td:first-child { border-radius: 6px 0 0 6px; }
.fp-legend-row td:last-child { border-radius: 0 6px 6px 0; }
.fp-legend-row .fp-summary-size { color: #3a3d46; font-weight: 500; }
.fp-legend-row a { color: #1a1a1a; text-decoration: underline; }

/* Mobile stall-summary copy (floor-plan.php) — hidden on desktop, where the
   floating .fp-legend overlay (inside the map canvas) is used instead. */
.fp-legend-mobile { display: none; }

@media (max-width: 640px) {
  /* The floating overlay is absolutely positioned inside the map's own
     overflow:hidden canvas, so on narrow screens it has nowhere to go but
     on top of the map — hide it and show the stacked .fp-legend-mobile
     copy below the map (in normal document flow) instead. */
  .fp-legend:not(.fp-legend-mobile) { display: none; }
  .fp-legend-mobile {
    display: block; position: static; width: 100%;
    margin-top: 12px; padding: 14px;
  }
  /* Zoom +/− and reset buttons kept visible on mobile (previously hidden,
     relying on pinch alone) — they're a guaranteed fallback way to zoom
     regardless of any pinch-gesture quirk on a given phone/browser. */
  /* min-height:720px on the base .floorplan-canvas rule (below) otherwise
     silently wins over this 480px, since min-height always overrides a
     smaller height — the canvas was actually rendering at 720px+ tall on
     phones despite this rule intending 480px. */
  .floorplan-canvas { height: 480px; min-height: 0; }
}

/* ---------------------------------------------------------------------
 * Drag-and-drop floor plan editor (admin only, Roadmap Batch C2).
 * Purely additive — only applies to stalls rendered with $editable=true.
 * --------------------------------------------------------------------- */
.fp-editable { touch-action: none; }
.fp-editable rect { transition: filter 0.1s ease; }
.fp-editable:hover rect { filter: brightness(1.08); stroke: var(--secondary); stroke-width: 2; }
.fp-editable.fp-dragging rect { filter: brightness(1.15); stroke: var(--primary); stroke-width: 2; stroke-dasharray: 4 2; }
.fp-editable.fp-saved rect { filter: brightness(1.3) saturate(1.4); }
.fp-editable.fp-save-error rect { stroke: #c0392b; stroke-width: 2.5; }

/* Facility "zone" editing (Parking, Arena frames, Food Court, Auditorium,
 * Kitchen, etc.) — same drag-to-move + drag-handle-to-resize pattern as
 * stalls above, just on the bigger background rects. Purely additive —
 * only applies when $editable=true (superadmin/floor-plan.php edit mode). */
.fp-zone-editable { touch-action: none; }
.fp-zone-editable > .fp-facility { transition: filter 0.1s ease; cursor: grab; }
.fp-zone-editable:hover > .fp-facility { filter: brightness(0.94); stroke: var(--secondary); stroke-width: 2.5; }
.fp-zone-editable.fp-dragging > .fp-facility { filter: brightness(0.88); stroke: var(--primary); stroke-width: 2.5; stroke-dasharray: 6 3; }
.fp-zone-editable.fp-resizing > .fp-facility { filter: brightness(0.88); stroke: var(--primary); stroke-width: 2.5; }
.fp-zone-editable.fp-saved > .fp-facility { filter: brightness(1.15) saturate(1.3); }
.fp-zone-editable.fp-save-error > .fp-facility { stroke: #c0392b; stroke-width: 3; }

/* Shared resize handle (bottom-right corner) for both editable stalls and
 * editable zones — a small square that a drag starts a resize from,
 * instead of a move. */
.fp-resize-handle { fill: var(--primary); stroke: #fff; stroke-width: 1; cursor: nwse-resize; opacity: 0; transition: opacity 0.12s ease; }
.fp-editable:hover .fp-resize-handle,
.fp-editable.fp-dragging .fp-resize-handle,
.fp-zone-editable:hover .fp-resize-handle,
.fp-zone-editable.fp-resizing .fp-resize-handle { opacity: 1; }

/* ---------------------------------------------------------------------
 * Language switcher dropdown (site header, Roadmap Batch C2).
 * --------------------------------------------------------------------- */
.lang-switcher { position: relative; margin-right: 8px; }
.lang-switcher-btn { background: none; border: 1px solid var(--outline-variant, #ccc); border-radius: 6px; padding: 6px 10px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.lang-switcher-menu { display: none; position: absolute; top: 100%; right: 0; margin-top: 4px; background: #fff; border: 1px solid var(--outline-variant, #ccc); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); min-width: 120px; z-index: 50; overflow: hidden; }
.lang-switcher-menu.open { display: block; }
.lang-switcher-menu a { display: block; padding: 8px 12px; font-size: 13px; color: inherit; text-decoration: none; }
.lang-switcher-menu a:hover { background: var(--surface-container-low, #f2f2f2); }
.lang-switcher-menu a.active { font-weight: 700; }

/* ---------------------------------------------------------------------
 * FAQ chatbot widget (public site, Roadmap Batch C2).
 * --------------------------------------------------------------------- */
.faq-chat-launcher { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--primary, #211f60); color: #fff; border: none; box-shadow: 0 6px 18px rgba(0,0,0,0.25); cursor: pointer; z-index: 900; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.faq-chat-panel { position: fixed; bottom: 92px; right: 24px; width: 340px; max-width: calc(100vw - 32px); max-height: 480px; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); z-index: 900; display: none; flex-direction: column; overflow: hidden; }
.faq-chat-panel.open { display: flex; }
.faq-chat-header { background: var(--primary, #211f60); color: #fff; padding: 14px 16px; }
.faq-chat-header strong { display: block; font-size: 14px; }
.faq-chat-header span { display: block; font-size: 11px; opacity: 0.8; margin-top: 2px; }
.faq-chat-header button { position: absolute; top: 10px; right: 12px; background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.faq-chat-body { flex: 1; overflow-y: auto; padding: 12px 16px; font-size: 13.5px; }
.faq-chat-answer { background: var(--surface-container-low, #f2f2f2); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.faq-chat-answer .faq-q { font-weight: 700; margin-bottom: 4px; }
.faq-chat-fallback a { color: var(--secondary, #a67c00); font-weight: 600; }
.faq-chat-quick-actions { padding: 10px 12px; border-bottom: 1px solid var(--outline-variant, #e2e2e2); background: var(--surface-container-low, #f7f7f7); display: flex; flex-direction: column; gap: 6px; }
.faq-chat-quick-row { display: flex; gap: 6px; }
.faq-chat-quick-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700;
  text-decoration: none; flex: 1; text-align: center; transition: filter 0.2s ease, transform 0.2s ease;
}
.faq-chat-quick-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.faq-chat-quick-btn--primary { background: var(--primary, #211f60); color: #fff; }
.faq-chat-quick-btn--call { background: var(--secondary, #005040); color: #fff; }
.faq-chat-quick-btn--whatsapp { background: #25D366; color: #fff; }
.faq-chat-form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--outline-variant, #e2e2e2); }
.faq-chat-form input { flex: 1; padding: 8px 10px; border: 1px solid var(--outline-variant, #ccc); border-radius: 6px; font-size: 13px; }

/* ---------------------------------------------------------------------
 * Bottom-left "Quick Contact" CTAs — Call + WhatsApp, stacked
 * (partials/whatsapp-cta.php). Mirrors .faq-chat-launcher's fixed
 * positioning/shadow/z-index, on the opposite corner (left, not right) so
 * the two never overlap.
 * --------------------------------------------------------------------- */
.quick-contact-stack {
  position: fixed; bottom: 24px; left: 24px; z-index: 900;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.quick-contact-fab {
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  border-radius: 50%; width: 52px; height: 52px; padding: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.quick-contact-fab:hover { transform: translateY(-1px); filter: brightness(1.06); }
.quick-contact-fab--whatsapp { background: #25D366; }
.quick-contact-fab--call { background: var(--secondary, #005040); }
.quick-contact-fab-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.18);
}
/* Name/number text hidden per request — icon-only CTAs. The name/number
   still reaches assistive tech via each link's aria-label. */
.quick-contact-fab-text { display: none; }
@media (max-width: 480px) {
  .quick-contact-stack { left: 12px; bottom: 12px; gap: 8px; }
  .quick-contact-fab { width: 44px; height: 44px; }
  .quick-contact-fab-icon { width: 30px; height: 30px; }
}

/* ---------------------------------------------------------------------
 * Contact person cards (contact.php) — Call / WhatsApp icon buttons.
 * --------------------------------------------------------------------- */
.contact-person-card { text-align: center; }
.contact-person-actions { display: flex; gap: 10px; justify-content: center; }
.contact-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: filter 0.2s ease, transform 0.2s ease;
}
.contact-icon-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.contact-icon-btn--call { background: var(--secondary, #005040); color: #fff; }
.contact-icon-btn--whatsapp { background: #25D366; color: #fff; }
.form-note a { color: var(--primary, #211f60); font-weight: 600; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }
.faq-chat-form button { padding: 8px 12px; border-radius: 6px; border: none; background: var(--primary, #211f60); color: #fff; cursor: pointer; font-size: 13px; }

/* ---------------------------------------------------------------------
 * Cookie consent banner (partials/cookie-consent.php)
 * Bottom-fixed, non-blocking strip — never a full-screen overlay.
 * --------------------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 950;
  max-width: 760px;
  margin: 0 auto;
  background: var(--primary, #211f60);
  color: #fff;
  border-radius: var(--radius-md, 0.75rem);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-consent-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.cookie-consent-link {
  color: var(--secondary-fixed, #ffdea5);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-consent .btn-outline-dark { border-color: rgba(255,255,255,0.5); color: #fff; }
.cookie-consent .btn-outline-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 560px) {
  .cookie-consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-actions .btn { flex: 1; }
}

/* =========================================================================
   "At A Glance" stat cards — homepage section shown right below the hero
   carousel. Distinct from the hero's own compact stat bar: full standalone
   section, larger cards, rotating brand-color icon badges, gentle lift on
   hover.
   ========================================================================= */
.glance-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
@media (min-width: 700px) { .glance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.glance-card {
  background: #fff; border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md); padding: 32px 22px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 6px 20px rgba(33,31,96,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -12px rgba(33,31,96,0.2);
  border-color: transparent;
}
.glance-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; font-size: 26px;
  margin-bottom: 18px;
}
.glance-icon--primary { background: var(--primary-fixed); }
.glance-icon--accent { background: var(--tertiary-fixed); }
.glance-icon--secondary { background: var(--secondary-fixed); }
.glance-icon--purple { background: #ece3f7; }
.glance-icon--amber { background: #fbe8cc; }
.glance-value {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 30px; color: var(--primary); margin-bottom: 8px; line-height: 1.1;
}
.glance-label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--on-surface-variant);
}
@media (max-width: 480px) {
  .glance-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   Homepage countdown-to-event band
   ========================================================================= */
.countdown-section {
  background: linear-gradient(120deg, var(--primary) 0%, #171550 100%);
  padding: 40px 0;
}
.countdown-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.countdown-timer { display: flex; gap: 14px; }
.countdown-unit {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 12px 16px; min-width: 68px;
}
.countdown-num {
  font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff; line-height: 1;
}
.countdown-label {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-top: 4px;
}
@media (max-width: 720px) {
  .countdown-inner { flex-direction: column; text-align: center; }
  .countdown-unit { min-width: 60px; padding: 10px 12px; }
  .countdown-num { font-size: 22px; }
}

/* =========================================================================
   Homepage floor-plan preview
   ========================================================================= */
.floorplan-preview-card {
  border: 1px solid var(--outline-variant); border-radius: var(--radius-md);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-soft);
}
.floorplan-preview-svg-wrap {
  background: var(--surface); padding: 16px; overflow: hidden;
  max-height: 420px; display: flex; justify-content: center;
}
.floorplan-preview-svg-wrap svg { width: 100%; height: auto; max-height: 400px; }
.floorplan-preview-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; padding: 20px 28px; border-top: 1px solid var(--outline-variant);
}

/* =========================================================================
   Homepage sponsorship-tier teaser
   ========================================================================= */
.sponsor-teaser-card {
  background: #fff; border: 1px solid var(--outline-variant); border-radius: var(--radius-md);
  padding: 32px 26px; text-align: center; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sponsor-teaser-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sponsor-teaser-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.sponsor-teaser-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--on-surface); margin-bottom: 6px; }
.sponsor-teaser-price { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--primary); margin-bottom: 14px; }

/* =========================================================================
   Board Members page — elegant hero + 3D-tilt member cards.
   ========================================================================= */
.bm-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #171550 100%);
  padding: 64px 0 56px;
}
.bm-hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.6;
}
.bm-section { perspective: 1200px; }
.bm-grid { row-gap: 40px; }

.bm-card {
  background: #fff; border-radius: var(--radius-md); padding: 26px 18px 22px;
  text-align: center; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease;
  box-shadow: 0 10px 26px -14px rgba(33,31,96,0.25);
  transform-style: preserve-3d;
}
.bm-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-4deg);
  box-shadow: 0 30px 50px -20px rgba(33,31,96,0.4);
}
.bm-card--lead { padding: 30px 20px 26px; border: 1px solid rgba(0,80,64,0.12); }

.bm-photo-wrap {
  position: relative; width: 118px; max-width: 100%; aspect-ratio: 1; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--secondary-fixed), 0 14px 28px -10px rgba(33,31,96,0.35);
}
.bm-photo-wrap--lg { width: 158px; max-width: 100%; aspect-ratio: 1; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--tertiary-fixed), 0 16px 32px -10px rgba(227,30,36,0.3); }
/* Spotlight reveal: photo sits slightly muted/dim by default and blooms
   into full color with a soft pulsing glow halo on hover — distinct from
   the card's own tilt (which still applies via .bm-card:hover above). */
.bm-card:hover .bm-photo-wrap { animation: bm-glow-pulse 1.6s ease-in-out infinite; }
.bm-card:hover .bm-photo-wrap--lg { animation: bm-glow-pulse-lg 1.6s ease-in-out infinite; }
@keyframes bm-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--secondary), 0 0 0 0 rgba(0,80,64,0), 0 14px 28px -10px rgba(33,31,96,0.35); }
  50% { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--secondary), 0 0 26px 6px rgba(0,80,64,0.45), 0 14px 28px -10px rgba(33,31,96,0.35); }
}
@keyframes bm-glow-pulse-lg {
  0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--on-tertiary-container, #e31e24), 0 0 0 0 rgba(227,30,36,0), 0 16px 32px -10px rgba(227,30,36,0.3); }
  50% { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--on-tertiary-container, #e31e24), 0 0 30px 8px rgba(227,30,36,0.45), 0 16px 32px -10px rgba(227,30,36,0.3); }
}
.bm-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(30%) brightness(0.95);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.bm-card:hover .bm-photo-wrap img { filter: grayscale(0%) brightness(1.05); transform: scale(1.1); }

/* Blank photo placeholder (committees.php) — same frame as a real headshot,
   generic person icon in place of an <img> until a real photo is added. */
.bm-photo-wrap--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-container-low, #eceef2);
}
.bm-photo-wrap--placeholder svg { width: 52%; height: 52%; fill: var(--outline-variant, #b7bac2); transition: fill 0.3s ease, transform 0.5s ease; }
.bm-card:hover .bm-photo-wrap--placeholder svg { fill: var(--secondary); transform: scale(1.08); }

.bm-name { font-size: 16.5px; margin: 0 0 4px; color: var(--on-surface); }
.bm-name--sm { font-size: 14.5px; font-family: var(--font-display); font-weight: 700; margin: 0 0 3px; }
.bm-designation {
  color: var(--secondary); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase; margin: 0;
}
.bm-designation--muted { color: var(--on-surface-variant); font-weight: 600; font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) {
  .bm-card, .bm-photo-wrap, .bm-photo-wrap img { transition: none; }
  .bm-card:hover { transform: none; }
  .bm-card:hover .bm-photo-wrap, .bm-card:hover .bm-photo-wrap--lg { animation: none; }
  .bm-card:hover .bm-photo-wrap img { filter: none; transform: none; }
}

/* =========================================================================
   Homepage "Stall Price List" — white/cream card with soft shadow, colors
   pulled from the real stallprice.jpeg poster (navy header, cream rows,
   purple/blue/gold/silver/bronze tier accents, red amount).
   ========================================================================= */
.spl-section {
  position: relative; overflow: hidden;
  background: var(--surface);
}
.spl-glow { display: none; }
.spl-title { color: var(--primary); }

.spl-table-wrap {
  max-width: 980px; margin: 0 auto; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(33,31,96,0.28), 0 4px 14px -6px rgba(33,31,96,0.12);
  border: 1px solid var(--outline-variant);
}
.spl-table { width: 100%; border-collapse: collapse; background: #fffaf0; }
.spl-table thead { position: relative; }
.spl-table thead th {
  position: relative;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: left; padding: 16px 16px;
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-right: 1px solid rgba(255,255,255,0.18);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.spl-table thead th::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0) 100%);
}
.spl-th--type { background: rgba(33,31,96,0.72); }
.spl-th--category { background: rgba(123,45,94,0.72); }
.spl-th--size { background: rgba(0,80,64,0.72); }
.spl-th--sqft { background: rgba(28,110,164,0.72); }
.spl-th--amount { background: rgba(198,110,18,0.78); }
.spl-table tbody td {
  padding: 16px 18px; color: var(--on-surface); font-size: 14.5px;
  border-bottom: 1px solid rgba(33,31,96,0.08);
  transition: background 0.25s ease;
}
.spl-row { transition: transform 0.25s ease; background: #fffaf0; }
.spl-row:nth-child(even) { background: #fdf3e0; }
.spl-row:nth-child(even) td { background: transparent; }
.spl-row:hover td { background: rgba(33,31,96,0.04); }
.spl-row:last-child td { border-bottom: none; }
.spl-type-pill {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--primary-fixed); color: var(--primary);
}
.spl-category { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; }
.spl-row--platinum .spl-category { color: #7b3fd4; }
.spl-row--diamond .spl-category { color: #1c7fc4; }
.spl-row--gold .spl-category { color: #b8860b; }
.spl-row--silver .spl-category { color: #6b7280; }
.spl-row--bronze .spl-category { color: #b5651d; }
.spl-amount {
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #c66e12;
}
.spl-row--platinum { box-shadow: inset 4px 0 0 #7b3fd4; }
.spl-row--diamond { box-shadow: inset 4px 0 0 #1c7fc4; }
.spl-row--gold { box-shadow: inset 4px 0 0 #d4a017; }
.spl-row--silver { box-shadow: inset 4px 0 0 #9aa0a8; }
.spl-row--bronze { box-shadow: inset 4px 0 0 #b5651d; }


@media (max-width: 720px) {
  .spl-table thead { display: none; }
  .spl-table, .spl-table tbody, .spl-table tr, .spl-table td { display: block; width: 100%; }
  .spl-row { padding: 14px 18px; }
  .spl-table tbody td {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(33,31,96,0.06); padding: 8px 0;
  }
  .spl-table tbody td:last-child { border-bottom: none; }
  .spl-table tbody td::before {
    content: attr(data-label); font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--on-surface-variant); margin-right: 12px;
  }
}

/* Sponsorship deliverables comparison table (partials/sponsorship-deliverables-table.php)
   — wide by nature (14 columns), so it scrolls horizontally on its own
   rather than squeezing the page or wrapping awkwardly. */
.spn-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md, 10px); box-shadow: 0 8px 28px -12px rgba(33,31,96,0.18);
  margin: 32px 0;
}
.spn-table { width: 100%; min-width: 980px; border-collapse: collapse; background: #fff; font-size: 12.5px; }
.spn-table th, .spn-table td { border: 1px solid var(--outline-variant, #e2e2e2); padding: 8px 10px; text-align: center; white-space: nowrap; }
.spn-table thead th { background: var(--primary, #211f60); color: #fff; font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.03em; }
.spn-table tbody tr:nth-child(even) { background: var(--surface-container-low, #f7f7fb); }
.spn-table .spn-table-name { text-align: left; font-weight: 700; color: var(--on-surface); white-space: normal; min-width: 140px; }
.spn-table .spn-table-yes { color: #1c7f3f; font-weight: 700; }

/* Transposed layout (partials/sponsorship-deliverables-table.php): tiers as
   columns, deliverables as rows — the group cell (Logo / VIP Event Entry)
   spans multiple rows via rowspan, with a sub-label column beside it. */
.spn-table--transposed .spn-table-name { min-width: 110px; }
.spn-table--transposed .spn-table-group { background: var(--surface-container-low, #f7f7fb); vertical-align: middle; }
.spn-table--transposed .spn-table-sublabel { text-align: left; font-weight: 600; color: var(--on-surface-variant, #5c5f6a); white-space: normal; min-width: 100px; }

/* Networking directory: filter sidebar stacks above results on mobile
   instead of squeezing into a fixed 260px column that doesn't fit. */
.netdir-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 860px) {
  .netdir-layout { grid-template-columns: 260px minmax(0, 1fr); }
}

/* Mobile overflow safety net: a few components use white-space:nowrap or
   unconstrained flex rows by design for desktop, which can push narrow
   mobile columns (e.g. a checkout order-summary sidebar) wider than the
   viewport. Let them wrap instead of overflowing below this breakpoint. */
@media (max-width: 480px) {
  .btn { white-space: normal; }
  .flex.justify-between { flex-wrap: wrap; row-gap: 4px; }
}

/* Speaker profile: photo/details card stacks above the bio content on
   mobile instead of squeezing into a fixed 340px column. */
.speaker-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 860px) {
  .speaker-profile-layout { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}

.spl-asterisk { color: var(--on-tertiary-container, #e31e24); font-weight: 800; margin-left: 2px; }
.spl-gst-note { text-align: center; margin: 16px auto 0; font-size: 13px; font-weight: 600; color: var(--on-surface-variant); max-width: 980px; }
.spl-gst-note .spl-asterisk { margin-left: 0; margin-right: 4px; }

/* Board of Directors / Invitee sections needing exactly 3 photos per row
   on desktop (vs the default grid-4's 2/4 split). */
.bm-grid--3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 560px) { .bm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .bm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------------
 * Compact committee directory (committee-directory.php) — committee title
 * on the left, member photos in a wrapping row on the right, a divider
 * between each committee so the whole roster fits with far less scrolling
 * than the full card-grid layout on committees.php.
 * --------------------------------------------------------------------- */
.cdir-list { display: flex; flex-direction: column; }
.cdir-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--outline-variant);
}
.cdir-row:last-child { border-bottom: none; }
@media (min-width: 720px) {
  .cdir-row { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: center; }
}
.cdir-title h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  line-height: 1.3; margin: 0; color: var(--primary);
}
.cdir-members { display: flex; flex-wrap: wrap; gap: 10px 10px; }
.cdir-member { display: flex; flex-direction: column; align-items: center; width: 84px; text-align: center; }
.cdir-photo {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--secondary-fixed, #d4af37);
  padding: 0; border: none; display: block;
}
.cdir-photo--clickable { cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.cdir-photo--clickable:hover, .cdir-photo--clickable:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary, #211f60);
}
.cdir-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdir-photo--placeholder { display: flex; align-items: center; justify-content: center; background: var(--surface-container-low, #eceef2); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--outline-variant); }
.cdir-photo--placeholder svg { width: 55%; height: 55%; fill: var(--outline-variant, #b7bac2); }
.cdir-name { font-size: 10.5px; line-height: 1.25; margin-top: 4px; color: var(--on-surface); font-weight: 600; }

/* Photo lightbox popup (click any directory photo to enlarge it) */
body.cdir-lock { overflow: hidden; }
.cdir-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 20, 0.82);
  padding: 24px;
  opacity: 0; transition: opacity 0.18s ease;
}
/* The [hidden] attribute alone loses to the rule above (same specificity,
   author stylesheet order wins) — without this the overlay stays laid out
   at display:flex, invisible (opacity:0) but still full-viewport and
   position:fixed, silently swallowing every click on the page underneath. */
.cdir-lightbox[hidden] { display: none; }
.cdir-lightbox--open { opacity: 1; }
.cdir-lightbox-figure { margin: 0; max-width: min(90vw, 480px); text-align: center; }
.cdir-lightbox-figure img {
  width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px 10px 0 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); background: #111; display: block;
}
.cdir-lightbox-info { background: #fff; border-radius: 0 0 10px 10px; padding: 14px 16px; }
.cdir-lightbox-figure figcaption { color: var(--on-surface, #1a1c1e); font-weight: 700; font-size: 15px; }
.cdir-lightbox-phone { color: var(--on-surface-variant, #5c5f6a); font-size: 13.5px; margin: 4px 0 0; }
.cdir-lightbox-phone[hidden] { display: none; }
.cdir-lightbox-close {
  position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.12);
  border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cdir-lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* =========================================================================
   Exhibitor registration — real stall type cards + deliverables table
   ========================================================================= */
.exreg-stall-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 560px) { .exreg-stall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .exreg-stall-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.exreg-stall-option { border-top: 3px solid var(--outline-variant); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.exreg-stall-option:has(input:checked) { box-shadow: 0 0 0 2px var(--primary) inset; }
.exreg-stall-option--platinum { border-top-color: #7b3fd4; }
.exreg-stall-option--diamond { border-top-color: #1c7fc4; }
.exreg-stall-option--gold { border-top-color: #d4a017; }
.exreg-stall-option--silver { border-top-color: #9aa0a8; }
.exreg-stall-option--bronze { border-top-color: #b5651d; }
.exreg-stall-price { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--primary); margin: 8px 0 0; }

.exreg-deliverables-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.exreg-deliverables-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13px; }
.exreg-deliverables-table th {
  background: var(--primary); color: #fff; font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 10px 12px; text-align: center; white-space: nowrap;
}
.exreg-deliverables-table th:first-child { text-align: left; }
.exreg-deliverables-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--outline-variant); }
.exreg-deliverables-table td:first-child { text-align: left; }
.exreg-deliverables-table tr:nth-child(even) { background: var(--surface-container-low); }
.exreg-deliverables-table tr:last-child td { border-bottom: none; }
.exreg-deliverables-rowlabel { font-weight: 700; color: var(--on-surface); }

/* Blinking "Terms and Conditions" link — used at stall booking, floor
   plan, and homepage exhibitor registration touchpoints per request. */
.blink-tc-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--on-tertiary-container, #e31e24); font-weight: 700; font-size: 13px;
  text-decoration: underline; animation: blink-tc 1.4s ease-in-out infinite;
}
@keyframes blink-tc { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .blink-tc-link { animation: none; }
}
