/* =============================================================
   Voxxed Days Switzerland Conferences THEME — Main Stylesheet
   Design System: Light, clean conference aesthetic
   Theming: CSS custom properties → swap for Zürich/Ticino/CERN
   ============================================================= */

/* ── Google Fonts ─────────────────────────────────────────── */
/* Self-hosted variable webfonts (latin + latin-ext). Served same-origin and
   preloaded in functions.php — no Google Fonts round-trips, near-zero font
   swap (fast LCP, no layout shift). */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── CSS Custom Properties (Zürich default) ───────────────── */
:root {
  /* Event Colors — Voxxed Days Zürich */
  --clr-primary:          #0044DD;   /* electric blue — 6.9:1 on white ✅ AA text */
  --clr-primary-light:    #3D7FFF;   /* decorative / SVG icons only (3.5:1) */
  --clr-primary-dark:     #0033BB;
  --clr-primary-rgb:      0, 68, 221;

  --clr-secondary:        #00C4FF;   /* sky cyan — decorative only */
  --clr-secondary-light:  #66DEFF;
  --clr-secondary-rgb:    0, 196, 255;

  --clr-accent:           #FF0099;   /* neon magenta — decorative / large text only */
  --clr-accent-light:     #FF4DBF;
  --clr-accent-rgb:       255, 0, 153;

  /* Solid CTA color — accent buttons (white text needs ≥4.5:1) */
  --clr-btn-accent:       #D6006E;   /* deep magenta — 5.1:1 with white text ✅ */
  --clr-btn-accent-dark:  #B0005A;

  /* Brand gradients — override per preset */
  --gradient-hero:        linear-gradient(120deg, var(--clr-secondary) 0%, var(--clr-accent) 40%, var(--clr-secondary) 78%);
  --gradient-brand:       linear-gradient(135deg, var(--clr-primary), var(--clr-accent));

  /* Backgrounds */
  --clr-bg:               #FFFFFF;
  --clr-bg-elevated:      #F1F5F9;
  --clr-bg-alt:           #F8FAFC;
  --clr-bg-card:          rgba(0,0,0,0.04);
  --clr-bg-card-hover:    rgba(0,0,0,0.07);
  --clr-bg-nav:           rgba(255,255,255,0.95);

  /* Text */
  --clr-text:             #1E293B;
  --clr-text-muted:       #475569;
  --clr-text-dim:         #596879;   /* WCAG AA: 5.2:1 on white */
  --clr-heading:          #0F172A;

  /* Borders */
  --clr-border:           rgba(0,0,0,0.1);
  --clr-border-strong:    rgba(0,0,0,0.2);

  /* Typography */
  --font-display:         'Space Grotesk', 'DM Sans', system-ui, sans-serif;
  --font-body:            'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-xs:   0.625rem;
  --sp-sm:   1.25rem;
  --sp-md:   2rem;
  --sp-lg:   2.75rem;
  --sp-xl:   4rem;
  --sp-2xl:  6rem;
  --sp-3xl:  9rem;

  /* Layout */
  --container:            1280px;
  --container-narrow:     800px;
  --radius:               12px;
  --radius-lg:            20px;
  --radius-full:          9999px;

  /* Effects */
  --shadow-card:          0 4px 24px rgba(0,0,0,0.1);
  --shadow-primary:       0 0 40px rgba(var(--clr-primary-rgb), 0.3);
  --shadow-glow:          0 0 60px rgba(var(--clr-primary-rgb), 0.25);
  --blur-glass:           blur(14px);
  --blur-orb:             blur(100px);

  /* Transitions */
  --transition:           0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:      0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Voxxed Days Ticino (light, warm orange/green) ────────── */
[data-theme="ticino"] {
  --clr-primary:          #C2410C;   /* burnt orange — 5.2:1 on white ✅ AA text */
  --clr-primary-light:    #F97316;   /* vivid orange — decorative only */
  --clr-primary-dark:     #9A3412;
  --clr-primary-rgb:      194, 65, 12;

  --clr-secondary:        #16A34A;   /* lake-green — decorative only */
  --clr-secondary-light:  #4ADE80;
  --clr-secondary-rgb:    22, 163, 74;

  --clr-accent:           #EAB308;   /* sun yellow — decorative only */
  --clr-accent-light:     #FDE047;
  --clr-accent-rgb:       234, 179, 8;

  --clr-btn-accent:       var(--clr-primary);      /* yellow can't carry white text */
  --clr-btn-accent-dark:  var(--clr-primary-dark);

  /* Same structure as the Zürich master: light tokens carry the hero sheen.
     Shadows are inherited — the master formulas resolve against this
     preset's --clr-primary-rgb automatically. */
  --gradient-hero:        linear-gradient(120deg, var(--clr-accent-light) 0%, var(--clr-primary-light) 40%, var(--clr-accent-light) 78%);
  --gradient-brand:       linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
}

/* ── CERN (light, science blue/yellow) ────────────────────── */
[data-theme="cern"] {
  --clr-primary:          #0053A5;   /* CERN navy — 7.6:1 on white ✅ AA text */
  --clr-primary-light:    #3D88D8;   /* decorative only */
  --clr-primary-dark:     #003D7A;
  --clr-primary-rgb:      0, 83, 165;

  --clr-secondary:        #00A3E0;   /* particle cyan — decorative only */
  --clr-secondary-light:  #55CBF5;
  --clr-secondary-rgb:    0, 163, 224;

  --clr-accent:           #FFD200;   /* beam yellow — decorative only */
  --clr-accent-light:     #FFE866;
  --clr-accent-rgb:       255, 210, 0;

  --clr-btn-accent:       var(--clr-primary);      /* yellow can't carry white text */
  --clr-btn-accent-dark:  var(--clr-primary-dark);

  /* Same structure as the Zürich master: light tokens carry the hero sheen.
     Shadows are inherited — the master formulas resolve against this
     preset's --clr-primary-rgb automatically. */
  --gradient-hero:        linear-gradient(120deg, var(--clr-secondary-light) 0%, var(--clr-accent) 40%, var(--clr-secondary-light) 78%);
  --gradient-brand:       linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--clr-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.display-lg {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.display-md {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.section-label {
  display: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  padding: 0.3rem 0.75rem;
  background: rgba(var(--clr-primary-rgb), 0.12);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.25);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}
.section-header h2 { margin-top: 0; }
.section-header p  { max-width: 600px; margin: var(--sp-sm) auto 0; color: var(--clr-text-muted); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}

.section-pad {
  padding-block: var(--sp-3xl);
}
.section-pad-sm {
  padding-block: var(--sp-2xl);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85em 1.75em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}
.btn--primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  color: #fff;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-primary);
  border-color: rgba(var(--clr-primary-rgb), 0.55);
}
.btn--outline:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

.btn--accent {
  background: var(--clr-btn-accent);
  color: #fff;
  font-weight: 700;
  border-color: var(--clr-btn-accent);
}
.btn--accent:hover {
  background: var(--clr-btn-accent-dark);
  border-color: var(--clr-btn-accent-dark);
  color: #fff;
}

.btn--lg {
  font-size: 1.05rem;
  padding: 1em 2.25em;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--blur-glass);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  background: var(--clr-bg-card-hover);
  border-color: rgba(var(--clr-primary-rgb), 0.4);
  box-shadow: var(--shadow-card), 0 0 30px rgba(var(--clr-primary-rgb), 0.1);
  transform: translateY(-4px);
}

/* ── Gradient text ────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border-strong), transparent);
  margin-block: var(--sp-sm);
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: var(--sp-sm);
  transition: var(--transition);
}
.site-header.scrolled {
  background: var(--clr-bg-nav);
  backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--clr-border);
  padding-block: 0.65rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}
.site-logo img  { height: 36px; width: auto; }
.site-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--clr-heading);
  line-height: 1.2;
}
.site-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.primary-menu a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.primary-menu a:hover,
.primary-menu .current-menu-item a {
  color: var(--clr-primary);
  background: rgba(var(--clr-primary-rgb), 0.08);
}

/* On the front page WP marks EVERY same-page anchor item "current", which
   paints random pills across the desktop nav — keep them neutral there. */
@media (min-width: 901px) {
  .home .primary-menu .current-menu-item a:not(:hover) {
    color: var(--clr-text-muted);
    background: none;
  }
  /* Same neutralization over the dark hero (unscrolled transparent bar). */
  .home .site-header:not(.scrolled) .primary-menu .current-menu-item a:not(:hover) {
    color: rgba(255, 255, 255, 0.88);
    background: none;
  }
}

/* Over the hero photo (front page, header not yet scrolled) the bar is
   transparent on a dark image — switch links & logo to light for contrast.
   Desktop only: the mobile menu opens on a light panel. */
@media (min-width: 901px) {
  .home .site-header:not(.scrolled) .primary-menu a {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  }
  .home .site-header:not(.scrolled) .primary-menu a:hover,
  .home .site-header:not(.scrolled) .primary-menu .current-menu-item a {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
  }
}
.home .site-header:not(.scrolled) .site-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.nav-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  /* Over the dark hero photo (front page, not scrolled) the bars must be light. */
  .home .site-header:not(.scrolled) .hamburger span {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  }

  /* While the panel is open, the header goes solid so logo + close icon
     always sit on a light background. backdrop-filter must be dropped:
     it creates a containing block that would trap the fixed-position
     panel and CTA inside the header. */
  .site-header:has(.primary-menu.open) {
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* The header must switch styles INSTANTLY when the menu opens/closes —
     its `transition: all` would fade the background/logo-filter while the
     backdrop blur drops in one frame, which reads as a flicker.
     JS adds .menu-toggling around the state change. */
  .site-header.menu-toggling,
  .site-header.menu-toggling .site-logo img {
    transition: none !important;
  }
  .home .site-header:not(.scrolled):has(.primary-menu.open) .site-logo img {
    filter: none;
  }
  .home .site-header:not(.scrolled):has(.primary-menu.open) .hamburger span {
    background: var(--clr-text);
    box-shadow: none;
  }

  .primary-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--voxxed-header-h, 70px);
    background: var(--clr-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-md) var(--sp-lg) calc(var(--sp-xl) + 96px);
    border-top: 1px solid var(--clr-border);
    overflow-y: auto;
    /* Keep wheel/touch scrolling inside the panel instead of locking body
       scroll — hiding the page scrollbar would reflow the page (flicker). */
    overscroll-behavior: contain;
  }
  .primary-menu.open {
    display: flex;
  }

  .primary-menu li {
    width: 100%;
  }
  .primary-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
    width: 100%;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--clr-text);
    padding: 1rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--clr-border);
  }
  /* Kill the desktop pill hover/current background on the mobile panel. */
  .primary-menu a:hover,
  .primary-menu .current-menu-item a {
    background: none;
    color: var(--clr-primary);
  }
  /* On the front page WP marks every same-page anchor item "current", which
     would paint several random links blue — keep them neutral there. */
  .home .primary-menu .current-menu-item a {
    color: var(--clr-text);
  }
  .home .primary-menu .current-menu-item a:hover {
    color: var(--clr-primary);
  }
  .primary-menu a::after {
    content: '\2192'; /* → (escaped: stylesheet charset-safe) */
    font-size: 1.1rem;
    line-height: 1;
    color: var(--clr-text-dim);
    transition: var(--transition);
  }
  .primary-menu a:hover::after,
  .primary-menu .current-menu-item a::after {
    color: var(--clr-primary);
    transform: translateX(3px);
  }
  .home .primary-menu .current-menu-item a:not(:hover)::after {
    color: var(--clr-text-dim);
    transform: none;
  }

  /* Staggered entrance for the menu items */
  .primary-menu.open li {
    animation: voxxedNavItemIn 0.3s ease both;
  }
  .primary-menu.open li:nth-child(1) { animation-delay: 0.03s; }
  .primary-menu.open li:nth-child(2) { animation-delay: 0.07s; }
  .primary-menu.open li:nth-child(3) { animation-delay: 0.11s; }
  .primary-menu.open li:nth-child(4) { animation-delay: 0.15s; }
  .primary-menu.open li:nth-child(5) { animation-delay: 0.19s; }
  .primary-menu.open li:nth-child(6) { animation-delay: 0.23s; }
  .primary-menu.open li:nth-child(7) { animation-delay: 0.27s; }
  .primary-menu.open li:nth-child(8) { animation-delay: 0.31s; }

  /* Ticket CTA: hidden in the bar, pinned to the bottom of the open panel. */
  .nav-cta { display: none; }
  .primary-menu.open ~ .nav-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: var(--sp-md) var(--sp-lg) calc(var(--sp-md) + env(safe-area-inset-bottom, 0px));
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
  }
  .primary-menu.open ~ .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@keyframes voxxedNavItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-menu.open li { animation: none; }
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(6, 20, 44, 0.28), rgba(6, 20, 44, 0.1)),
    url('../images/hero-vdz26-flickr.jpg');
  background-size: 145%;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-orb {
  display: none;
}

.hero-orb--1 {
  display: none;
}
.hero-orb--2 {
  display: none;
}
.hero-orb--3 {
  display: none;
}

/* Grid pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 32, 0.01) 0%, rgba(7, 15, 32, 0.2) 100%);
}

/* Vignette */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.28) 10%, rgba(7, 15, 32, 0.16) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7.5rem var(--sp-lg) 6.5rem; /* bottom clears the marquee band */
  max-width: 1000px;
  margin-inline: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: var(--sp-md);
  text-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}
.hero-title .highlight {
  background: var(--gradient-hero);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: heroTitlePulse 6s ease-in-out infinite;
}

@keyframes heroTitlePulse {
  0%,
  100% {
    background-position: 0% 50%;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 20px rgba(var(--clr-accent-rgb), 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .highlight {
    animation: none;
    background-position: 50% 50%;
  }
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-lg);
  font-weight: 400;
  max-width: 560px;
  margin-inline: auto;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm) var(--sp-lg);
  margin-bottom: var(--sp-xl);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}
.hero-meta-item svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.88);
  display: inline-block;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  margin-bottom: var(--sp-lg);
}

/* Countdown Timer */
.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm);
}
.countdown-unit {
  min-width: 80px;
  background: rgba(5, 13, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: var(--sp-sm);
  text-align: center;
  backdrop-filter: var(--blur-glass);
}
.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  min-width: 2ch;
}
.countdown-label {
  display: block;
  font-size: 0.75rem; /* ≥12px for readability (a11y) */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.3rem;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===================================================================
   STATS BAR
   =================================================================== */
.stats-section {
  background: var(--clr-bg-elevated);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding-block: var(--sp-xl);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-sm);
}
.stat-item {
  text-align: center;
  padding: var(--sp-md);
  border-right: 1px solid var(--clr-border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 0.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about-section { background: var(--clr-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}
/* Grid items default to min-width:auto — nowrap content (the git-log
   terminal) would otherwise force the column wider than the viewport. */
.about-grid > * {
  min-width: 0;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .about-visual { order: -1; }
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-md);
}
.about-content p {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}
.about-content .btn { margin-top: var(--sp-sm); }

.about-visual {
  position: relative;
}
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--clr-border);
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-image-wrap:hover img { transform: scale(1.05); }
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.3;
  min-width: 110px;
  box-shadow: var(--shadow-primary);
}
.about-badge strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}
@media (max-width: 768px) {
  .about-badge { bottom: -1rem; right: -0.5rem; }
}

/* ===================================================================
   TOPICS / TRACKS
   =================================================================== */
.topics-section {
  background: var(--clr-bg-elevated);
  position: relative;
  overflow: hidden;
}
.topics-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--clr-primary-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-md);
}

.topic-card {
  padding: var(--sp-lg);
  border-radius: var(--radius-lg);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.topic-card:hover::before { transform: scaleX(1); }
.topic-card:hover {
  background: var(--clr-bg-card-hover);
  border-color: rgba(var(--clr-primary-rgb), 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.topic-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-sm);
  display: block;
}
.topic-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--clr-heading);
}
.topic-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ===================================================================
   SPEAKERS PREVIEW
   =================================================================== */
.speakers-section { background: var(--clr-bg); }

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

.speaker-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  text-align: center;
}
.speaker-card:hover {
  background: var(--clr-bg-card-hover);
  border-color: rgba(var(--clr-primary-rgb), 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(var(--clr-primary-rgb), 0.15);
}

.speaker-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%);
}
.speaker-card:hover .speaker-photo img {
  transform: scale(1.08);
  filter: grayscale(0%);
}
.speaker-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-bg-elevated), var(--clr-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--clr-text-dim);
  font-family: var(--font-display);
  font-weight: 700;
}

.speaker-info {
  padding: var(--sp-md);
}
.speaker-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--clr-heading);
}
.speaker-company {
  font-size: 0.8rem;
  color: var(--clr-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.speaker-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}
.speaker-social a {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(var(--clr-primary-rgb), 0.1);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
  color: var(--clr-primary);
  line-height: 0;
  transition: var(--transition);
}
.speaker-social a:hover {
  background: rgba(var(--clr-primary-rgb), 0.16);
  border-color: rgba(var(--clr-primary-rgb), 0.35);
  transform: translateY(-1px);
}
.speaker-social svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}
.speaker-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}
.speaker-topic-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(var(--clr-primary-rgb), 0.1);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
  border-radius: var(--radius-full);
  color: var(--clr-primary);
}

.speakers-cta { text-align: center; }

/* ===================================================================
   HIGHLIGHTS / VIDEO SECTION
   =================================================================== */
.highlights-section {
  background: var(--clr-bg-elevated);
  position: relative;
  overflow: hidden;
}
.highlights-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--clr-secondary-rgb), 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}
@media (max-width: 768px) {
  .highlights-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}

.highlights-content h2 { margin-bottom: var(--sp-md); }
.highlights-content p  { color: var(--clr-text-muted); line-height: 1.8; margin-bottom: var(--sp-md); }

.video-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================================================================
   TICKETS / CTA SECTION
   =================================================================== */
.tickets-section {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}

.tickets-card {
  background: linear-gradient(135deg,
    rgba(var(--clr-primary-rgb), 0.15) 0%,
    rgba(var(--clr-secondary-rgb), 0.08) 100%);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-3xl) var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tickets-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--clr-primary-rgb), 0.2), transparent 70%);
  pointer-events: none;
}

.tickets-card h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: var(--sp-md);
}
.tickets-card p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
  line-height: 1.7;
}

/* ===================================================================
   SPONSORS
   =================================================================== */
.sponsors-section { background: var(--clr-bg-elevated); }

.sponsors-tier { margin-bottom: var(--sp-2xl); }
.sponsors-tier:last-child { margin-bottom: 0; }

.sponsors-tier-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-lg);
  position: relative;
}
.sponsors-tier-label::before,
.sponsors-tier-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--clr-border-strong);
}
.sponsors-tier-label::before { right: calc(50% + 80px); }
.sponsors-tier-label::after  { left: calc(50% + 80px); }

.sponsors-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-md);
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-md) var(--sp-lg);
  transition: var(--transition);
  flex-shrink: 0;
}
.sponsor-logo:hover {
  background: var(--clr-bg-card-hover);
  border-color: var(--clr-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.sponsor-logo img {
  max-height: 44px;
  width: auto;
  filter: brightness(0.8) grayscale(30%);
  transition: filter var(--transition);
}
.sponsor-logo:hover img {
  filter: brightness(1) grayscale(0%);
}

.sponsors-tier--platinum .sponsor-logo { padding: var(--sp-lg) var(--sp-xl); }
.sponsors-tier--platinum .sponsor-logo img { max-height: 70px; }
.sponsors-tier--gold .sponsor-logo img    { max-height: 54px; }

.sponsors-cta {
  text-align: center;
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--clr-border);
}
.sponsors-cta p { color: var(--clr-text-muted); margin-bottom: var(--sp-md); }

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-section { background: var(--clr-bg); }

.footer-social { display: flex; gap: var(--sp-xs); }
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-dim);
  transition: var(--transition);
}
.footer-social-icon:hover {
  background: rgba(var(--clr-primary-rgb), 0.15);
  border-color: var(--clr-primary);
  color: var(--clr-primary-light);
}
.footer-social-icon svg { width: 16px; height: 16px; }

/* ===================================================================
   SPEAKERS PAGE
   =================================================================== */
.page-speakers .speakers-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-lg);
}

.speakers-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  justify-content: center;
  margin-bottom: var(--sp-xl);
}
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(var(--clr-primary-rgb), 0.15);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

/* ===================================================================
   SCHEDULE PAGE
   =================================================================== */
.schedule-tabs {
  display: flex;
  gap: var(--sp-xs);
  justify-content: center;
  margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.schedule-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.schedule-tab:hover,
.schedule-tab.active {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  border-color: transparent;
  color: #fff;
}

.schedule-tracks {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}
.time-slot {
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-md) 0;
}
.time-slot-time {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-primary);
  min-width: 80px;
  padding-right: var(--sp-lg);
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.session-card {
  padding: var(--sp-md);
  border-radius: var(--radius);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}
.session-card:hover {
  background: var(--clr-bg-card-hover);
  border-color: rgba(var(--clr-primary-rgb), 0.3);
}
.session-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-top: 0.5rem;
}
.session-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}
.session-tag--track {
  background: rgba(var(--clr-primary-rgb), 0.12);
  color: var(--clr-primary);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
}
.session-tag--room {
  background: rgba(var(--clr-secondary-rgb), 0.1);
  color: var(--clr-text-muted);
  border: 1px solid rgba(var(--clr-secondary-rgb), 0.2);
}
.session-speaker {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-top: 0.3rem;
}

/* ===================================================================
   PAGE HERO (inner pages)
   =================================================================== */
.page-hero {
  padding: calc(var(--sp-3xl) + 5rem) 0 var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--clr-bg-elevated) 0%,
    var(--clr-bg) 100%
  );
  border-bottom: 1px solid var(--clr-border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--clr-primary-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: var(--sp-sm);
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
}
/* Reduce top gap when content section immediately follows the hero */
.page-hero + .section-pad,
.page-hero + .section-pad-sm,
.page-hero + .schedule-section {
  padding-top: var(--sp-xl);
}

/* ===================================================================
   CODE OF CONDUCT PAGE
   =================================================================== */
.coc-content {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.coc-content h2 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
  font-size: 1.6rem;
}
.coc-content p,
.coc-content li {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}
.coc-content ul { list-style: disc; padding-left: 1.5rem; }
.coc-content a { color: var(--clr-primary); }
.coc-content a:hover { text-decoration: underline; }

/* ===================================================================
   SCROLL ANIMATIONS
   =================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* Above-the-fold hero: don't gate the entrance on the footer JS
   (IntersectionObserver) — run the same staggered reveal as a pure CSS
   animation that starts immediately. Cuts ~0.5–1s off LCP. */
.hero .fade-in {
  animation: voxxedHeroIn 0.7s ease both;
  transition: none;
}
.hero .fade-in.delay-1 { animation-delay: 0.1s; }
.hero .fade-in.delay-2 { animation-delay: 0.2s; }
.hero .fade-in.delay-3 { animation-delay: 0.3s; }
.hero .fade-in.delay-4 { animation-delay: 0.4s; }
@keyframes voxxedHeroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===================================================================
   ADMIN COLOR PALETTE PREVIEW (Customizer)
   =================================================================== */
.palette-preview {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.palette-swatch {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

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

.text-center  { text-align: center; }
.text-muted   { color: var(--clr-text-muted); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-xl { margin-bottom: var(--sp-xl); }

/* ===================================================================
   WP CORE OVERRIDES (Gutenberg alignment, gallery, etc.)
   =================================================================== */
.wp-block-image img {
  border-radius: var(--radius);
}
.wp-block-quote {
  border-left: 3px solid var(--clr-primary);
  padding-left: var(--sp-md);
  color: var(--clr-text-muted);
  font-style: italic;
}
.wp-block-code {
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--clr-primary-dark);
}

/* ===================================================================
   RESPONSIVE TWEAKS
   =================================================================== */
@media (max-width: 600px) {
  .hero-title { letter-spacing: -0.03em; }
  .stat-item  { border-right: none; border-bottom: 1px solid var(--clr-border); }
  .stat-item:last-child { border-bottom: none; }
  .countdown-unit { min-width: 60px; }
  .countdown-value { font-size: 1.75rem; }
  .about-badge { display: none; }
}

@media (max-width: 480px) {
  :root {
    --sp-3xl: 6rem;
    --sp-2xl: 4rem;
  }
  .container { padding-inline: var(--sp-md); }
}

/* ===================================================================
   NAVIGATION — supplemental
   =================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.visually-hidden:focus {
  position: fixed;
  top: 1rem; left: 1rem;
  width: auto; height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius);
  z-index: 9999;
  clip: auto;
  white-space: normal;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.site-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--clr-heading);
  line-height: 1;
}
.site-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--clr-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--clr-bg-elevated);
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-3xl) var(--sp-xl);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}
.footer-logo { text-decoration: none; }
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--clr-heading);
  line-height: 1;
}
.footer-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--clr-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: var(--clr-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--clr-text); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-social-icon {
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text-muted);
  transition: var(--transition);
}
.footer-social-icon svg { width: 1rem; height: 1rem; }
.footer-social-icon:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary-light);
  background: rgba(var(--clr-primary-rgb), 0.08);
}
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  margin-top: var(--sp-xl); /* keep the divider clear of the grid above (social icons) */
  padding: var(--sp-md) 0;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--clr-text-dim);
}
.footer-bottom__copy {
  margin: 0;
}
.footer-bottom__powered {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
  margin-left: auto;
  white-space: nowrap;
}
.footer-bottom a {
  color: var(--clr-text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--clr-text-muted); }

@media (max-width: 1200px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }
  .footer-bottom__copy,
  .footer-bottom__powered,
  .footer-legal-links {
    margin-inline: 0;
  }
  .footer-bottom__powered {
    position: static;
    transform: none;
    white-space: normal;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
}

/* PAGE HERO (interior pages) — consolidated above near line 1420 */

/* ===================================================================
   ABOUT section badges / visuals
   =================================================================== */
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--clr-border);
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: var(--sp-md);
  background: var(--clr-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow);
}
.about-badge strong {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
}
.about-visual {
  position: relative;
}

/* ===================================================================
   TOPICS
   =================================================================== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
}
.topic-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  align-items: stretch; /* children must cap at card width, not max-content */
  padding: var(--sp-md);
  animation-delay: var(--delay, 0ms);
}
.topic-card > div {
  max-width: 100%;
  min-width: 0;
}
.topic-card .topic-icon {
  align-self: flex-start;
}
.topic-icon {
  flex-shrink: 0;
  width: 3.1rem; height: 3.1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--clr-primary-rgb), 0.14);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
}
.topic-icon svg,
.topic-icon img {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}
.topic-icon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-primary);
}
.topic-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.topic-desc {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===================================================================
   TICKETS
   =================================================================== */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: var(--sp-sm);
  margin-top: var(--sp-2xl);
}
.ticket-card {
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  text-align: center;
  position: relative;
  min-height: 100%;
}
.ticket-card--featured {
  border-color: rgba(var(--clr-primary-rgb), 0.5);
  background: rgba(var(--clr-primary-rgb), 0.06);
}
.ticket-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.85rem;
  border-radius: 2rem;
}
.ticket-emoji {
  font-size: 2.2rem;
  line-height: 1;
}
.ticket-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--clr-heading);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.ticket-divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin: 0;
}
.ticket-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  text-align: left;
}
.ticket-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ticket-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  background: rgba(var(--clr-primary-rgb), 0.1);
  border-radius: var(--radius-lg);
  color: var(--clr-primary-light);
}
.ticket-icon svg { width: 1.4rem; height: 1.4rem; }
.ticket-card h3 { font-size: 1.1rem; margin-bottom: 0; }
.ticket-card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  min-height: 2.8em;
}
.btn--full { width: 100%; justify-content: center; }
.ticket-card .btn--full { margin-top: auto; }

/* ===================================================================
   WORKSHOPS (page template)
   =================================================================== */
/* Intro = the key participant info (date + venue) — show it as a
   highlighted banner, not a muted footnote. */
.workshops-intro {
  max-width: 72ch;
  margin: 0 auto var(--sp-2xl);
  padding: var(--sp-md) var(--sp-lg);
  text-align: center;
  color: var(--clr-heading);
  font-size: 1.1rem;
  line-height: 1.6;
  background: rgba(var(--clr-primary-rgb), 0.06);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
  border-radius: var(--radius-lg);
}
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-md);
  align-items: stretch;
}
@media (max-width: 760px) {
  .workshops-grid {
    grid-template-columns: 1fr;
  }
}
.workshop-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding: var(--sp-xl);
  height: 100%;
}
.workshop-number {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary-light);
}
.workshop-title { font-size: 1.3rem; margin-bottom: 0; }
.workshop-title a { color: inherit; text-decoration: none; }
.workshop-title a:hover { color: var(--clr-primary); }
.workshop-speakers {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
}
/* Time = what participants plan around — prominent chip, not muted text */
.workshop-time {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-heading);
  background: rgba(var(--clr-primary-rgb), 0.06);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.18);
  border-radius: var(--radius);
}
.workshop-time svg { flex: none; color: var(--clr-primary); }
.workshop-excerpt {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
  flex: 1;
}
.workshop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs, 0.5rem);
  margin-top: auto;
  padding-top: var(--sp-sm);
}
.workshops-note {
  max-width: 72ch;
  margin: var(--sp-2xl) auto 0;
  padding: var(--sp-md) var(--sp-lg);
  text-align: center;
  color: var(--clr-text);
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  background: rgba(var(--clr-primary-rgb), 0.05);
}
.workshops-note strong,
.workshops-intro strong {
  color: var(--clr-primary);
}

/* ===================================================================
   SPONSORS
   =================================================================== */
.sponsor-tier { margin-bottom: var(--sp-2xl); }
.sponsor-tier-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  text-align: center;
  margin-bottom: var(--sp-lg);
  position: relative;
}
.sponsor-tier-title::before,
.sponsor-tier-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 80px);
  height: 1px;
  background: var(--clr-border);
}
.sponsor-tier-title::before { left: 0; }
.sponsor-tier-title::after  { right: 0; }

.sponsor-tier-desc {
  text-align: center;
  color: var(--clr-text-muted);
  margin: 0 auto var(--sp-lg);
  max-width: 680px;
  line-height: 1.7;
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: center;
  justify-items: center;
  align-items: stretch;
  gap: 0.55rem;
}
.sponsor-logos--platinum .sponsor-logo-wrap { max-width: 280px; min-height: 140px; }
.sponsor-logos--gold     .sponsor-logo-wrap { max-width: 230px; min-height: 120px; }
.sponsor-logos--silver   .sponsor-logo-wrap { max-width: 190px; min-height: 104px; }
.sponsor-logos--bronze   .sponsor-logo-wrap { max-width: 180px; min-height: 100px; }
.sponsor-logo-wrap {
  width: min(100%, 170px);
  max-width: 190px;
  min-width: 120px;
  min-height: 92px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  transition: var(--transition);
  filter: grayscale(0.95);
  opacity: 0.82;
  overflow: hidden;
}
.sponsor-logo-wrap:hover {
  filter: none;
  opacity: 1;
  border-color: rgba(var(--clr-primary-rgb), 0.35);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.sponsor-logo-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sponsor-logo-wrap img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.sponsor-name-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--clr-text-muted);
  text-align: center;
  overflow-wrap: break-word;
  max-width: 100%;
}
.become-sponsor { margin-top: var(--sp-2xl); }
.become-sponsor-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  padding: var(--sp-xl);
  flex-wrap: wrap;
}
/* Text block shares the row with the button instead of pushing it
   onto its own wrapped line (wrap stays as the mobile fallback). */
.become-sponsor-inner > div {
  flex: 1 1 0;
  min-width: min(100%, 38ch);
}
.become-sponsor-inner > .btn {
  flex: none;
  /* Never overflow the card's content box: if the label is wider than the
     available space (narrow phones), let it wrap instead of bulldozing
     through the card's right padding. */
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
  line-height: 1.3;
}
.become-sponsor-inner h3 { margin-bottom: 0.25rem; }
.become-sponsor-inner p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.sponsor-cta-email {
  margin-top: 0.45rem;
}

.sponsor-cta-email a {
  color: var(--clr-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--clr-primary-rgb), 0.25);
}

.sponsor-cta-email a:hover {
  border-bottom-color: rgba(var(--clr-primary-rgb), 0.5);
}

@media (max-width: 768px) {
  .sponsor-tier-title::before,
  .sponsor-tier-title::after {
    width: calc(50% - 55px);
  }

  .sponsor-logos {
    grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
    gap: var(--sp-sm);
  }

  .sponsor-logo-wrap {
    min-height: 76px;
    padding: 0.6rem 0.7rem;
  }
}

@media (max-width: 1100px) {
  .sponsor-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sponsor-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-lg);
  text-decoration: none;
  color: var(--clr-text);
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card > div {
  min-width: 0;
}
.contact-card-icon {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--clr-primary-rgb), 0.1);
  border-radius: var(--radius);
  color: var(--clr-primary-light);
}
.contact-card-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-card > div:last-child {
  width: 100%;
}
.contact-card strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.2rem;
}
.contact-card span {
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: normal;
}

.contact-card a[href^="mailto:"],
.footer-links a[href^="mailto:"] {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* ===================================================================
   SCHEDULE page
   =================================================================== */
.schedule-section { min-height: 60vh; }
.schedule-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 0;
}
.schedule-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}
.schedule-tab.active,
.schedule-tab:hover {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}
/* Active tab keeps the gradient pill from the base block — text must stay white */
.schedule-tab.active {
  color: #fff;
}
.schedule-panel { display: none; }
.schedule-panel.active { display: block; }
.schedule-slot {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}
@media (max-width: 600px) {
  .schedule-slot { grid-template-columns: 1fr; }
}
.schedule-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-primary);
  padding-top: 0.9rem;
}
.schedule-talks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.schedule-talk {
  padding: var(--sp-md);
}
.schedule-track {
  margin-bottom: 0.5rem;
}
.schedule-talk-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.schedule-talk-title a {
  color: var(--clr-text);
  text-decoration: none;
  transition: color 0.2s;
}
.schedule-talk-title a:hover { color: var(--clr-primary); }
.schedule-talk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  align-items: center;
}
.schedule-talk-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===================================================================
   TALK DETAIL PAGE
   =================================================================== */

/* Back link */
.talk-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  margin-bottom: var(--sp-lg);
}
.talk-detail__back:hover {
  color: var(--clr-primary);
}

/* The talk title is lifted into the page hero (talk.php), so hide the
   plugin's small duplicate row in the sidebar foreword. Speaker pages
   (speaker.php) do the same with name/company/socials. */
.talk-detail-body .cfp-foreword > .cfp-name,
.speaker-detail-body .cfp-profile .cfp-detail > .cfp-name,
.speaker-detail-body .cfp-profile .cfp-detail nav.cfp-social,
.speaker-detail-body .cfp-profile .cfp-company {
  display: none;
}

/* Session type + level ("Conference (INTERMEDIATE level)") below the
   track link — identical on talk AND speaker pages: muted uppercase
   label, with the session-type link signalled by a subtle underline
   that turns primary on hover. */
.talk-detail-body section.cfp-session .cfp-foreword > .cfp-type,
.speaker-detail-body section.cfp-session .cfp-foreword > .cfp-type {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.talk-detail-body section.cfp-session .cfp-foreword > .cfp-type a,
.speaker-detail-body section.cfp-session .cfp-foreword > .cfp-type a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(var(--clr-primary-rgb), 0.35);
  text-underline-offset: 3px;
  transition: var(--transition);
}
.talk-detail-body section.cfp-session .cfp-foreword > .cfp-type a:hover,
.speaker-detail-body section.cfp-session .cfp-foreword > .cfp-type a:hover {
  color: var(--clr-primary);
  text-decoration-color: var(--clr-primary);
}
.talk-detail-body section.cfp-session .cfp-foreword > .cfp-type em,
.speaker-detail-body section.cfp-session .cfp-foreword > .cfp-type em {
  display: block; /* "(intermediate level)" on its own line */
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.9rem;
}

/* "More" link after truncated talk descriptions on speaker pages —
   a bare text link from the plugin, styled as a visible button. */
.speaker-detail-body section.cfp-session .cfp-content > a.cfp-a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
  border: 1px solid rgba(var(--clr-primary-rgb), 0.4);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.speaker-detail-body section.cfp-session .cfp-content > a.cfp-a::after {
  content: '\2192';
  transition: var(--transition);
}
.speaker-detail-body section.cfp-session .cfp-content > a.cfp-a:hover {
  color: #fff;
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* Speaker hero: social icons centered next to/under the name */
.page-hero .speaker-hero-socials {
  display: flex;
  justify-content: center;
  margin-top: 0.6rem;
}
.page-hero .speaker-hero-socials nav.cfp-social {
  display: flex;
  gap: 0.35rem;
}
.page-hero .speaker-hero-socials nav.cfp-social a.cfp-a {
  background-color: var(--clr-primary);
  -webkit-mask-size: 18px auto;
  mask-size: 18px auto;
  min-width: 28px;
  min-height: 28px;
  transition: var(--transition);
}
.page-hero .speaker-hero-socials nav.cfp-social a.cfp-a:hover {
  background-color: var(--clr-primary-light);
}

/* Track link: icon + name (name injected by initCfpAccessibilityFixes) */
.talk-detail-body section.cfp-session .cfp-foreword > .cfp-a,
.speaker-detail-body section.cfp-session .cfp-foreword > .cfp-a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.talk-detail-body .voxxed-track-name,
.speaker-detail-body .voxxed-track-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: var(--transition);
}
.talk-detail-body section.cfp-session .cfp-foreword > .cfp-a:hover .voxxed-track-name,
.speaker-detail-body section.cfp-session .cfp-foreword > .cfp-a:hover .voxxed-track-name {
  color: var(--clr-primary);
}

/* Day & time + room as meta chips with icons (talk + speaker pages) */
.talk-detail-body section.cfp-session .cfp-foreword .cfp-datetime,
.talk-detail-body section.cfp-session .cfp-foreword .cfp-room,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-datetime,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-room {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-heading);
  background: rgba(var(--clr-primary-rgb), 0.06);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.18);
  border-radius: var(--radius);
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-datetime,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-datetime {
  margin-top: var(--sp-md);
  flex-wrap: nowrap; /* keep "Tuesday from 09:15 – 09:50" on one line */
  white-space: nowrap;
  gap: 0; /* spacing handled below — flex gap made the – separator lopsided */
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-datetime::before,
.talk-detail-body section.cfp-session .cfp-foreword .cfp-room::before,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-datetime::before,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-room::before {
  content: '';
  width: 15px;
  height: 15px;
  flex: none;
  background-color: var(--clr-primary);
  -webkit-mask: var(--voxxed-chip-icon) center / contain no-repeat;
  mask: var(--voxxed-chip-icon) center / contain no-repeat;
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-datetime::before,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-datetime::before {
  --voxxed-chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  margin-right: 0.45rem;
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-room::before,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-room::before {
  --voxxed-chip-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-datetime time.cfp-time,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-datetime time.cfp-time {
  font-weight: 600;
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-datetime time.cfp-time:not(:first-child)::before,
.speaker-detail-body section.cfp-session .cfp-foreword .cfp-datetime time.cfp-time:not(:first-child)::before {
  margin: 0 0.35em; /* symmetric – separator (plugin: gap + 0.125em looked glued to the end time) */
}

/* Related talks: mini heading + card links */
.talk-detail-body section.cfp-session .cfp-foreword .cfp-related-title {
  margin: var(--sp-lg) 0 0.65rem;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-related {
  padding: 0;
  margin-bottom: 0.5rem;
  border-bottom: none;
  font-size: 0.85rem;
  letter-spacing: 0;
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-related a {
  position: relative;
  display: block;
  padding: 0.6rem 1.9rem 0.6rem 0.85rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--clr-text);
  text-decoration: none;
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-related a::after {
  content: '\2192';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  transition: var(--transition);
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-related a:hover {
  color: var(--clr-primary);
  border-color: rgba(var(--clr-primary-rgb), 0.4);
  transform: translateX(2px);
}
.talk-detail-body section.cfp-session .cfp-foreword .cfp-related a:hover::after {
  color: var(--clr-primary);
}

/* Speaker name in the profile card */
.talk-detail-body .cfp-profile .cfp-name {
  font-weight: 700 !important; /* plugin forces 400 at high specificity */
}

/* ── Typography consistency pass (plugin text is clamped to 12-15px
   in places — align with the theme's 16px/1.6 base). The plugin
   selectors carry very high specificity (html.cfp-html.cfp-page\:…),
   hence the !important on the size overrides. ─ */

/* Talk page: description at theme body size */
.talk-detail-body section.cfp-session .cfp-content .cfp-text {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* Talk page: speaker card — name row was 14px, bio a tiny 12px */
.talk-detail-body section.cfp-session .cfp-profile .cfp-detail {
  font-size: 1rem !important;
}
.talk-detail-body section.cfp-session .cfp-profile .cfp-detail + .cfp-detail {
  margin-top: 1.75rem !important; /* keep clear of the taller name row */
}
.talk-detail-body section.cfp-session .cfp-profile .cfp-text {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  margin-top: 3.75rem !important; /* plugin offset was tuned for 12px rows */
}

/* Speaker detail page: bio was 14px */
html.cfp-html.cfp-page\:speaker .cfp-profile .cfp-text {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
}

/* Filter/day tabs and plugin buttons: 12px → 14px everywhere
   (schedule already had this ≥1024px; talks-by-* lists did not) */
body nav.cfp-filter a.cfp-a,
body nav.cfp-tab a.cfp-a,
body .cfp-button {
  font-size: 0.875rem;
}

/* Talks-by-* list rows: make the title column scannable, like the
   bold titles in the schedule grid */
body section.cfp-list article.cfp-row.cfp-event .cfp-field:first-child {
  font-weight: 600;
}

/* Session-type pill above the hero title (section labels are hidden
   globally, but the type is genuinely useful on a talk page). */
.page-hero .talk-detail__type {
  display: table;
  margin: 0 auto var(--sp-sm);
}

/* Badge row */
.talk-detail__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-md);
}
.talk-detail__track-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

/* Title */
.talk-detail__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}

/* Meta row */
.talk-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--sp-lg);
}
.talk-detail__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.talk-detail__meta svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Description */
.talk-detail__description {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text);
  margin-bottom: var(--sp-xl);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-xl);
}

/* Related talks */
.talk-detail__related {
  margin-bottom: var(--sp-xl);
}
.talk-detail__related-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
}
.talk-detail__related-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.talk-detail__related-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s;
}
.talk-detail__related-item:hover {
  background: var(--clr-surface);
  border-color: var(--clr-primary);
}

/* Speakers section */
.talk-detail__speakers {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-xl);
}
.talk-detail__speaker {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--sp-lg);
  align-items: start;
}
@media (max-width: 500px) {
  .talk-detail__speaker {
    grid-template-columns: 1fr;
  }
}
.talk-detail__speaker-photo img,
.talk-detail__speaker-photo .speaker-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.talk-detail__speaker-photo .speaker-initials {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  color: var(--clr-primary);
  font-weight: 800;
}
.talk-detail__speaker-name {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.talk-detail__speaker-company {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.5rem;
}
.talk-detail__speaker-bio {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--clr-text);
  margin-top: 0.75rem;
}

/* Narrow container for talk detail */
.container--narrow {
  max-width: 780px;
}

/* ===================================================================
   SPEAKERS full page
   =================================================================== */
.speakers-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-top: var(--sp-xl);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-xl);
}
.filter-btn {
  padding: 0.4rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: 2rem;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}
.speaker-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(var(--clr-primary-rgb),0.25), rgba(var(--clr-secondary-rgb),0.15));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--clr-primary-light);
}
.speaker-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--clr-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}
.speaker-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.speaker-name a { color: var(--clr-text); text-decoration: none; }
.speaker-name a:hover { color: var(--clr-primary); }
.speaker-role {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.speaker-topics { display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: center; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(var(--clr-primary-rgb), 0.12);
  color: var(--clr-primary);
  white-space: nowrap;
}

/* ===================================================================
   CODE OF CONDUCT
   =================================================================== */
.coc-content h2 {
  font-size: 1.4rem;
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}
.coc-content p,
.coc-content li {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.coc-content ul {
  padding-left: 1.5rem;
  margin-bottom: var(--sp-md);
}
.coc-content a {
  color: var(--clr-primary);
  text-decoration: underline;
}

/* ===================================================================
   BLOG / INDEX
   =================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: var(--sp-md); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card-meta { font-size: 0.78rem; color: var(--clr-text-dim); }
.post-card-meta a { color: var(--clr-text-dim); text-decoration: none; }
.post-card-title { font-size: 1.1rem; margin: 0; }
.post-card-title a { color: var(--clr-text); text-decoration: none; }
.post-card-title a:hover { color: var(--clr-primary); }

/* ===================================================================
   ENTRY CONTENT (Gutenberg blocks)
   =================================================================== */
.entry-content {
  --content-max-w: 74ch;
  color: var(--clr-text-muted);
  line-height: 1.8;
}
.entry-content h1,.entry-content h2,.entry-content h3,
.entry-content h4,.entry-content h5,.entry-content h6 {
  color: var(--clr-heading);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
.entry-content a { color: var(--clr-primary); }
.entry-content a:hover { text-decoration: underline; }
.entry-content img { max-width: 100%; border-radius: var(--radius); }
/* Restore bullets/numbers killed by the global `ul, ol { list-style: none }`
   reset — legal pages (privacy, terms, CoC) rely on real list rendering. */
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content ul ul { list-style: circle; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content li::marker { color: var(--clr-primary); }

/* Same for CFP.DEV prose (talk descriptions, speaker bios, session
   intros) — the plugin outputs real lists into .cfp-text blocks. */
.cfp-text ul, .cfp-text ol {
  padding-left: 1.5rem;
  margin: 0.6em 0 1em;
}
.cfp-text ul { list-style: disc; }
.cfp-text ol { list-style: decimal; }
.cfp-text ul ul { list-style: circle; }
.cfp-text li { margin-bottom: 0.4em; }
.cfp-text li::marker { color: var(--clr-primary); }
.entry-content blockquote {
  border-left: 3px solid var(--clr-primary);
  margin: var(--sp-lg) 0;
  padding: var(--sp-sm) var(--sp-md);
  color: var(--clr-text-muted);
  font-style: italic;
  background: rgba(var(--clr-primary-rgb), 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===================================================================
   SECTION HEADER (shared)
   =================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-2xl);
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.section-intro {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* ===================================================================
   BTN GROUP utility
   =================================================================== */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
.btn--accent {
  background: var(--clr-btn-accent);
  color: #fff;
  border-color: var(--clr-btn-accent);
}
.btn--accent:hover {
  background: var(--clr-btn-accent-dark);
  border-color: var(--clr-btn-accent-dark);
  color: #fff;
}

/* ===================================================================
   DIVIDER
   =================================================================== */
.divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin: var(--sp-xl) 0;
}

/* ===================================================================
   CONTENT MAX WIDTH var
   =================================================================== */
:root {
  --content-max-w: 74ch;
}

/* ===================================================================
   HIGHLIGHTS (VIDEO EMBED)
   =================================================================== */
.highlights-section { background: var(--clr-bg-alt); }
.highlights-video-wrap { max-width: 860px; margin: 0 auto; }
.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================================================================
   FRIENDS OF VDZ
   =================================================================== */
.friends-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.friend-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  min-width: 156px;
  min-height: 88px;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  filter: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.friend-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  filter: grayscale(0);
}
.friend-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
}
.friend-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.friend-card:hover .friend-name { color: var(--clr-primary); }

/* Invert logos when they are placed on dark backgrounds */
.is-dark-bg .friend-logo,
.is-dark-bg .sponsor-logo-wrap img,
.is-dark-bg .site-logo img,
.is-dark-bg .footer-logo img,
.friend-card.is-dark-bg .friend-logo,
.sponsor-logo-wrap.is-dark-bg img,
.site-logo.is-dark-bg img,
.footer-logo.is-dark-bg img {
  filter: invert(1) brightness(1.15) contrast(1.08);
}

/* ===================================================================
   LOCATION / MAP
   =================================================================== */
.location-map-wrap {
  margin-top: var(--sp-xl);
  padding: var(--sp-sm);
  background: linear-gradient(180deg, rgba(var(--clr-primary-rgb), 0.08), rgba(var(--clr-primary-rgb), 0.02));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.location-map {
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  background: var(--clr-bg-elevated);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.location-address {
  margin-top: var(--sp-md);
  text-align: center;
  color: var(--clr-text-muted);
}
.location-address-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--clr-text-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color var(--transition);
}
.location-address-link:hover { color: var(--clr-primary); }
.location-map-provider {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem; /* ≥12px for readability (a11y) */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
}

/* ===================================================================
   GLOBAL POLISH + HOVER CURSOR SAFETY
   =================================================================== */
a[href],
button,
[role="button"],
.btn,
.primary-menu a,
.footer-links a,
.footer-social-icon,
.sponsor-logo-wrap a,
.friend-card {
  cursor: pointer;
}

a[href] *,
button *,
.btn * {
  cursor: inherit;
}

/* Match logo scale between header and footer for stronger brand presence */
.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img {
  height: 52px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

.footer-logo img,
.footer-logo .custom-logo,
.footer-logo .custom-logo-link img {
  height: 52px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* Section rhythm and readability */
.section-pad {
  padding-block: clamp(2.6rem, 4.2vw, 4.8rem);
}

.section-header {
  margin-bottom: clamp(1.1rem, 2.2vw, 2rem);
}

.section-header p,
.section-intro {
  max-width: 68ch;
  margin-inline: auto;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.about-content p {
  max-width: 66ch;
}

/* Consistent card feel across sections */
.topic-card,
.ticket-card,
.friend-card,
.speaker-card,
.contact-card {
  border-radius: 16px;
}

.topics-grid,
.ticket-grid,
.speakers-grid,
.friends-grid,
.contact-grid {
  align-items: stretch;
}

.ticket-card,
.topic-card,
.friend-card,
.speaker-card,
.contact-card {
  height: 100%;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.45rem;
}

.friend-card {
  min-height: 78px;
  min-width: 0;
  padding: 0.5rem 0.6rem;
}

.friend-card.card:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
}

.sponsor-logo-wrap a {
  display: block;
  padding: 0.35rem;
  border-radius: 10px;
}

.location-map-wrap {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .site-logo img,
  .site-logo .custom-logo,
  .site-logo .custom-logo-link img,
  .footer-logo img,
  .footer-logo .custom-logo,
  .footer-logo .custom-logo-link img {
    height: 44px;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: min(340px, 100%);
    justify-content: center;
  }

  .hero-meta-item {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .friends-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-meta {
    gap: 0.5rem;
    margin-bottom: var(--sp-lg);
  }

  .hero-meta-item {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: min(320px, 100%);
    justify-content: center;
  }

  .friends-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-grid {
    grid-template-columns: 1fr;
  }

  .ticket-card p {
    min-height: 0;
  }

  .friends-grid {
    gap: var(--sp-sm);
  }

  .friend-card {
    min-width: 138px;
    min-height: 76px;
    padding: 0.55rem 0.7rem;
  }
}

/* ===================================================================
   STRUCTURED LAYOUT POLISH (homepage + inner pages)
   =================================================================== */

/* Narrative flow accents after section reorder */
.speakers-section {
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--clr-primary-rgb), 0.08), transparent 46%),
    var(--clr-bg);
}

.tickets-section {
  background:
    linear-gradient(180deg, rgba(var(--clr-secondary-rgb), 0.08), rgba(var(--clr-secondary-rgb), 0.03)),
    var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.tickets-section .section-header,
.speakers-section .section-header {
  text-align: center;
}

.tickets-section .ticket-card {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.tickets-section .ticket-card:hover {
  transform: translateY(-6px);
}

.about-section {
  background: var(--clr-bg);
}

.highlights-section {
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

/* Shared content hooks */
.page-hero-intro {
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

.empty-state-wrap {
  text-align: center;
  padding: var(--sp-xl) 0;
}

.empty-state-intro {
  color: var(--clr-text-muted);
  max-width: 440px;
  margin: 0.5rem auto 0;
}

/* Inner page hierarchy */
.page-hero {
  padding: calc(var(--sp-2xl) + 5.5rem) 0 var(--sp-lg);
}

.schedule-section,
.page-content-section,
.coc-section {
  background: var(--clr-bg);
}

.page-content-container,
.coc-page-container {
  max-width: var(--content-max-w);
}

/* Speakers page CTA */
.speakers-page-cta {
  padding-top: var(--sp-lg);
}

.speakers-page-cta-inner {
  text-align: center;
}

.speakers-page-cta-text {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

/* Schedule readability */
.schedule-section {
  min-height: 0;
}

.schedule-tabs {
  position: sticky;
  top: 5rem;
  z-index: 10;
  padding: 0.5rem;
  background: color-mix(in srgb, var(--clr-bg) 90%, transparent);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.schedule-slot {
  margin-bottom: var(--sp-lg);
}

.schedule-time {
  align-self: start;
  display: inline-flex;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--clr-primary-rgb), 0.1);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
  line-height: 1;
}

.schedule-talk {
  border: 1px solid var(--clr-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.schedule-talk:hover {
  border-color: rgba(var(--clr-primary-rgb), 0.35);
}

/* Legal / informational pages */
.entry-content {
  font-size: 1.03rem;
}

.coc-page-intro {
  max-width: 680px;
}

.coc-attribution {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
}

/* 404 layout */
.not-found-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.not-found-container {
  text-align: center;
  max-width: 540px;
}

.not-found-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
}

.not-found-intro {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-xl);
}

.not-found-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .schedule-tabs {
    top: 4.5rem;
  }
}

@media (max-width: 768px) {
  .schedule-tabs {
    position: static;
    padding: 0;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    background: transparent;
  }

  .schedule-time {
    margin-bottom: 0.25rem;
  }

  .tickets-section .ticket-card:hover {
    transform: none;
  }
}

/* ===================================================================
   TALK + SPEAKERS + SCHEDULE REFINEMENTS
   =================================================================== */

/* Circular gradient-ring avatars (photos from CFP are low-res) */
.speakers-section .speaker-card .speaker-photo {
  width: min(150px, 72%);
  margin: var(--sp-md) auto 0;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--clr-bg), var(--clr-bg)) padding-box,
    var(--gradient-brand) border-box;
}
.speakers-section .speaker-card .speaker-photo img {
  border-radius: 50%;
}

.speakers-section .speaker-card .speaker-info {
  padding-top: var(--sp-sm);
}

.speakers-grid--full .speaker-card .speaker-photo {
  width: min(150px, 72%);
  margin: var(--sp-md) auto 0;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--clr-bg), var(--clr-bg)) padding-box,
    var(--gradient-brand) border-box;
}
.speakers-grid--full .speaker-card .speaker-photo img {
  border-radius: 50%;
}

/* Unified speaker links */
.speaker-name-link,
.speaker-link {
  color: var(--clr-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.speaker-name-link:hover,
.speaker-link:hover {
  color: var(--clr-primary);
  border-color: rgba(var(--clr-primary-rgb), 0.35);
}

/* Keep schedule speaker links inline and readable */
.schedule-talk-meta .speaker-link {
  color: inherit;
}

/* Talk detail: image gallery from CFP payload when available */
.talk-detail__media {
  margin-top: var(--sp-xl);
}

.talk-detail__media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-md);
}

.talk-detail__media-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.talk-detail__media-item img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

/* Related at end should feel like a closing section */
.talk-detail__related {
  margin-top: var(--sp-2xl);
}

@media (max-width: 768px) {
  .speakers-section .speaker-card .speaker-photo {
    width: min(130px, 68%);
  }

  .speakers-grid--full .speaker-card .speaker-photo {
    width: min(130px, 68%);
  }
}

/* ===================================================================
   MODERN POLISH LAYER (v1.2)
   Progressive enhancements — every rule degrades gracefully.
   =================================================================== */

/* ── Branded text selection ───────────────────────────────── */
::selection {
  background: rgba(var(--clr-primary-rgb), 0.18);
  color: var(--clr-heading);
}

/* ── Modern, visible keyboard focus ───────────────────────── */
:focus-visible {
  outline: 3px solid rgba(var(--clr-primary-rgb), 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ── Slim branded scrollbar (WebKit + Firefox) ────────────── */
html {
  scrollbar-color: rgba(var(--clr-primary-rgb), 0.45) transparent;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(var(--clr-primary-rgb), 0.35);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--clr-primary-rgb), 0.6);
}

/* ── Balanced headline wrapping ───────────────────────────── */
h1, h2, h3, .section-header p {
  text-wrap: balance;
}

/* ── Anchor offset for fixed header ───────────────────────── */
section[id], [id^="speaker-"], .schedule-slot[id] {
  scroll-margin-top: 90px;
}

/* ── Buttons: sheen sweep on hover ────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: none;
  pointer-events: none;
}
.btn:hover::after {
  transform: translateX(120%);
  transition: transform 0.7s ease;
}

/* ── Frosted glass header (iOS-style saturation) ──────────── */
.site-header.scrolled {
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
}

/* ── Hero: cinematic grain + soft brand glow ──────────────── */
.hero-bg::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(7, 15, 32, 0.01) 0%, rgba(7, 15, 32, 0.2) 100%);
}

/* ── Countdown: glassy gradient numerals ──────────────────── */
.countdown-unit {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 13, 28, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}
.countdown-unit:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}
.countdown-value {
  font-variant-numeric: tabular-nums;
}

/* ── Cards: gradient border reveal on hover ───────────────── */
/* (`.topic-card` excluded — it already animates its own ::before bar) */
.card,
.speaker-card,
.ticket-card {
  position: relative;
}
.card::before,
.speaker-card::before,
.ticket-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 1;
}
.card:hover::before,
.speaker-card:hover::before,
.ticket-card:hover::before {
  opacity: 0.7;
}

/* ── Section eyebrow: gradient beam ───────────────────────── */
.section-header h2 {
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
}

/* ── Fade-in: slightly springier entrance ─────────────────── */
.fade-in {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reduced motion: switch effects off ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .countdown-unit,
  .countdown-unit:hover { transform: none; }
}

/* ===================================================================
   MODERN POLISH LAYER v2
   Scroll-driven UI, view transitions, marquee, aurora, spotlight.
   =================================================================== */

/* ── Page scroll progress bar (CSS scroll-driven animation) ── */
.scroll-progress {
  display: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2000;
    background: var(--gradient-brand);
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: scrollProgress linear forwards;
    animation-timeline: scroll(root);
    pointer-events: none;
  }
  @keyframes scrollProgress {
    to { transform: scaleX(1); }
  }
}

/* ── Cross-document View Transitions (Chromium 126+) ──────── */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ── Hero marquee band ─────────────────────────────────────── */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  background: rgba(5, 13, 28, 0.55);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 0.55rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: heroMarquee 36s linear infinite;
}
.hero-marquee-track span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}
.hero-marquee-track .hero-marquee-dot {
  font-size: 0.55rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes heroMarquee {
  to { transform: translateX(-50%); }
}
.hero-marquee:hover .hero-marquee-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee { display: none; }
}

/* Ghost buttons need light styling on the dark hero photo */
.hero .btn--outline {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}
.hero .btn--outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--clr-heading);
}

/* Scroll cue removed — the marquee band signals continuation */
.hero-scroll-cue {
  display: none;
}

/* ── Aurora backdrop for key sections ─────────────────────── */
.stats-section,
.tickets-section {
  position: relative;
  overflow: hidden;
}
.stats-section::before,
.tickets-section::before {
  content: '';
  position: absolute;
  inset: -40% -10%;
  z-index: 0;
  background:
    radial-gradient(38% 42% at 18% 30%, rgba(var(--clr-primary-rgb), 0.09), transparent 70%),
    radial-gradient(34% 38% at 82% 18%, rgba(var(--clr-secondary-rgb), 0.08), transparent 70%),
    radial-gradient(30% 34% at 60% 85%, rgba(var(--clr-accent-rgb), 0.06), transparent 70%);
  pointer-events: none;
  animation: auroraDrift 22s ease-in-out infinite alternate;
}
.stats-section > *,
.tickets-section > * {
  position: relative;
  z-index: 1;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .stats-section::before,
  .tickets-section::before { animation: none; }
}

/* ── Cursor spotlight on cards (JS sets --mx / --my) ──────── */
.speaker-card::after,
.ticket-card::after,
.topic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--clr-primary-rgb), 0.1),
    transparent 65%
  );
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 1;
}
.speaker-card:hover::after,
.ticket-card:hover::after,
.topic-card:hover::after {
  opacity: 1;
}
.topic-card {
  position: relative;
}

/* ── 3D tilt (JS applies the transform; CSS supplies depth) ── */
.tilt-enabled {
  transform-style: preserve-3d;
  will-change: transform;
}
/* While hovered, track the pointer snappily — entrance animations
   (fade-in, 0.7s) keep their easing when not hovered. */
.tilt-enabled:hover {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.12s ease-out;
}

/* ── Hero photo must cover tall/narrow viewports ──────────── */
@media (max-width: 900px) {
  .hero-bg {
    background-size: cover;
    background-position: center;
  }
}

/* ── Hero background video (optional, Customizer) ─────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Keep vignette + grain overlays above the video */
.hero-bg::before,
.hero-bg::after {
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  /* Fall back to the static poster image */
  .hero-video { display: none; }
}

/* ===================================================================
   MODERN POLISH LAYER v3 — signature look
   Kinetic type, terminal chip, particles, film strip, numerals.
   =================================================================== */

/* ── Kinetic hero title: staggered mask reveal ─────────────── */
.hero-title-line {
  display: block;
  overflow: hidden;
  /* line-height is 0.88 — give descenders (y, g) and diacritics (ü)
     room inside the mask, then pull the lines back together */
  padding: 0.14em 0.05em 0.16em;
  margin: -0.14em -0.05em -0.16em;
}
.hero-title-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroLineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title-line--2 > span {
  animation-delay: 0.15s;
}
/* The gradient word combines the reveal with its pulse — this must outrank
   `.hero-title .highlight` (which sets its own animation) */
.hero-title .hero-title-line > span.highlight {
  animation:
    heroLineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards,
    heroTitlePulse 6s ease-in-out 1.1s infinite;
}
@keyframes heroLineUp {
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-line > span,
  .hero-title .hero-title-line > span.highlight {
    transform: none;
    animation: none;
  }
}

/* ── Hero terminal chip ────────────────────────────────────── */
.hero-terminal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto var(--sp-md);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(5, 13, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  max-width: 92vw;
  overflow: hidden;
}
.hero-terminal-prompt {
  color: var(--clr-secondary-light);
  font-weight: 700;
}
.hero-terminal-caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: var(--clr-accent-light);
  animation: caretBlink 1.05s steps(1) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-terminal-caret { animation: none; }
}
@media (max-width: 640px) {
  /* Never wider than the padded content column — 92vw can overflow it and
     stretch the hero on phones (JS also types a shorter command here). */
  .hero-terminal {
    max-width: 100%;
  }
}

/* ── Hero particle constellation (canvas injected by JS) ───── */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── Film strip section ────────────────────────────────────── */
.film-strip-section {
  padding-block: var(--sp-xl);
  overflow: hidden;
  display: grid;
  gap: var(--sp-sm);
  background: var(--clr-bg-alt);
  border-block: 1px solid var(--clr-border);
}
.film-strip-row {
  overflow: hidden;
}
.film-strip-track {
  display: flex;
  gap: var(--sp-sm);
  width: max-content;
  animation: filmStrip 48s linear infinite;
}
.film-strip-row--rtl .film-strip-track {
  animation-direction: reverse;
  animation-duration: 56s;
}
.film-strip-row:hover .film-strip-track {
  animation-play-state: paused;
}
@keyframes filmStrip {
  to { transform: translateX(-50%); }
}
.film-strip-tile {
  margin: 0;
  width: clamp(220px, 24vw, 340px);
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  flex-shrink: 0;
}
.film-strip-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.55) contrast(1.02);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.film-strip-tile:hover img {
  filter: none;
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .film-strip-track {
    animation: none;
    flex-wrap: nowrap;
    width: max-content;
  }
  .film-strip-row--rtl .film-strip-track {
    animation: none;
  }
  /* Static grid fallback: hide the duplicated loop copy */
  .film-strip-tile[aria-hidden="true"] { display: none; }
}

/* ── Giant outlined section numerals ───────────────────────── */
body {
  counter-reset: voxxed-section;
}
.section-header {
  position: relative;
  isolation: isolate; /* keep the -1 numeral above section backgrounds */
}
.section-header::before {
  counter-increment: voxxed-section;
  content: counter(voxxed-section, decimal-leading-zero);
  position: absolute;
  top: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--clr-primary-rgb), 0.16);
  pointer-events: none;
  user-select: none;
}

/* ── Footer watermark ──────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
}
.footer-watermark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--clr-primary-rgb), 0.22);
  background: linear-gradient(180deg, rgba(var(--clr-primary-rgb), 0.1), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  margin-bottom: var(--sp-lg);
}

/* ── Speaker photos: brand duotone at rest ─────────────────── */
.speaker-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(var(--clr-primary-rgb), 0.16);
  mix-blend-mode: color;
  transition: opacity var(--transition);
  pointer-events: none;
}
.speaker-card:hover .speaker-photo::after {
  opacity: 0;
}

/* ── Friends of VDZ: uniform-height tiles, flexible width ──── */
.friends-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.friend-card,
.friend-card.card {
  /* Uniform HEIGHT, flexible width — every logo renders at full tile
     height and takes whatever width its aspect ratio needs. */
  height: 104px;
  width: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0.4rem;
  flex: 0 0 auto;
  border: none;
  border-radius: 0; /* logos stay square — no rounded corners */
  background: transparent;
  box-shadow: none;
}
.friend-card.card:hover {
  border: none;
  background: transparent;
}
/* No gradient-border or spotlight pseudo on the borderless tiles */
.friend-card::before,
.friend-card::after {
  display: none;
}
.friend-logo {
  height: 100%;
  width: auto;
  max-width: 220px; /* guard: ultra-wide logos don't take over the row */
  object-fit: contain;
  border-radius: inherit;
}
/* Text-only friends (no logo) keep padding and natural width */
.friend-card:not(:has(.friend-logo)) {
  width: auto;
  aspect-ratio: auto;
  padding: 0.6rem 0.9rem;
  min-height: 104px;
  display: flex;
  align-items: center;
}

/* ── Sponsors: vdz26 style — big, full-color, boxless, centered ─ */
.sponsor-tier {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.sponsor-tier-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--clr-heading);
  margin-bottom: var(--sp-md);
}
.sponsor-tier-title::before,
.sponsor-tier-title::after {
  display: none;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-md) var(--sp-xl);
}
.sponsor-logo-wrap,
.sponsor-logos--platinum .sponsor-logo-wrap,
.sponsor-logos--gold .sponsor-logo-wrap,
.sponsor-logos--silver .sponsor-logo-wrap,
.sponsor-logos--bronze .sponsor-logo-wrap {
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  opacity: 1;
}
.sponsor-logo-wrap:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
  transform: translateY(-3px);
}
.sponsor-logo-wrap a {
  padding: 0;
}
.sponsor-logo-wrap img {
  height: 96px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}
.sponsor-logos--platinum .sponsor-logo-wrap img { height: 170px; max-width: 340px; }
.sponsor-logos--gold     .sponsor-logo-wrap img { height: 150px; max-width: 300px; }
.sponsor-logos--silver   .sponsor-logo-wrap img { height: 120px; max-width: 250px; }
.sponsor-logos--bronze   .sponsor-logo-wrap img { height: 110px; max-width: 230px; }
.sponsor-logos--starter  .sponsor-logo-wrap img { height: 90px;  max-width: 190px; }
.sponsor-logos--supporters .sponsor-logo-wrap img,
.sponsor-logos--speakers-diversity-inclusion .sponsor-logo-wrap img { height: 72px; max-width: 160px; }

/* Text fallback reads like a wordmark */
.sponsor-logo-wrap .sponsor-name-text {
  font-size: 1.25rem;
  color: var(--clr-heading);
}

@media (max-width: 768px) {
  .sponsor-logos {
    gap: var(--sp-sm) var(--sp-md);
  }
  .sponsor-logo-wrap img { height: 72px; max-width: 160px; }
  .sponsor-logos--platinum .sponsor-logo-wrap img,
  .sponsor-logos--gold .sponsor-logo-wrap img { height: 110px; max-width: 230px; }
}

/* ── CFP.DEV accessibility and touch-target compatibility ─ */
.cfp-main[data-voxxed-normalized-landmark="true"] {
  display: block;
}

#dev-cfp-search-term,
.cfp-input[type="search"],
input.cfp-input[name="query"] {
  min-height: 44px;
  font-size: 1rem;
}

.cfp-a.cfp-button,
.cfp-tabs .cfp-a,
.cfp-a.cfp-active,
.cfp-social .cfp-a,
.cfp-foreword > .cfp-a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Masked social icon anchors (plugin v4.3+): the anchor IS the icon
   (mask-size: contain) and the speaker card stacks name/company/bio in
   ONE grid cell offset only by margins — the 44px touch target above
   blows up the glyph AND pushes rows into each other. 24px meets the
   WCAG 2.2 AA minimum target size. */
nav.cfp-social a.cfp-a {
  min-width: 24px;
  min-height: 24px;
  -webkit-mask-size: 16px auto;
  mask-size: 16px auto;
}

.cfp-profile h1.cfp-name,
.cfp-session h1.cfp-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  color: var(--clr-heading);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-links a {
    min-height: 44px;
  }
}


/* ── Homepage speakers preview: hide the shortcode's own "Speakers"
   heading — redundant under the theme's section header ─────── */
.speakers-section .cfp-primary {
  display: none;
}

/* ── Homepage speakers preview: the plugin's auto-fill grid packs
   7 tiny cards per row, leaving 1 orphan (size=8). Force a clean
   4×2 layout with larger cards on desktop (!important needed to
   out-rank the plugin's high-specificity selector). ─────────── */
@media (min-width: 1024px) {
  .speakers-section .cfp-block {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ── Schedule grid desktop fixes: the plugin caps the grid at
   1024px and card text at 12px (clamp max) — too cramped/small on
   desktop. Widen the grid to the theme container and bump type. ── */
.schedule-section main.cfp-main {
  --cfp-layout-x: 100%;
}

/* The TALK TITLE is what people scan the schedule for — make it bold
   and dark. Markup: first .cfp-name = session type, the .cfp-name
   AFTER .cfp-datetime = talk title. */
.schedule-section section.cfp-schedule article.cfp-article.cfp-session .cfp-datetime ~ .cfp-name {
  font-weight: 700;
  color: var(--clr-heading);
}
.schedule-section section.cfp-schedule article.cfp-article.cfp-recess .cfp-name {
  font-weight: 700;
}

/* Recess blocks (Welcome, breaks, OVERFLOW mirrors) are hard-capped at
   width:100px by the plugin while session cards fill their column —
   let them fill too, and give every room column the same 1fr share
   (the plugin's nested minmax left the last column at its 100px floor). */
.schedule-section section.cfp-schedule article.cfp-article.cfp-recess {
  width: 100%;
}
.schedule-section section.cfp-schedule .cfp-scope {
  grid-auto-columns: minmax(var(--column-x), 1fr);
}

/* Card hover: the plugin hardcodes `background-color: orange` (ignores
   the --cfp-accept-primary re-keying). Pop the expanded card with an
   OPAQUE light primary tint (the grid is white, so pure white would
   disappear; opacity would let covered cards shine through), plus a
   primary ring + shadow. Black plugin text stays readable.
   NOTE: ring/shadow/tint live ONLY on .cfp-content — the article keeps
   its grid-slot height while the content resizes to fit (height:auto).
   min-height makes the content span the FULL timeslot when its text is
   shorter than the slot; the INSET ring draws inside the box so it is
   never clipped by neighbouring cards or the scroll container. */
.schedule-section section.cfp-schedule article.cfp-article.cfp-session:hover {
  background-color: transparent;
}
.schedule-section section.cfp-schedule article.cfp-article.cfp-session:hover .cfp-content {
  min-height: 100%;
  background-color: color-mix(in srgb, var(--clr-primary) 14%, white);
  box-shadow: inset 0 0 0 2px var(--clr-primary), 0 12px 28px rgba(15, 23, 42, 0.22);
  border-radius: 5px;
}

@media (min-width: 1024px) {
  .schedule-section section.cfp-schedule {
    --cfp-gutter: 24px; /* 5-min row: 20px → 24px, so taller cards fit the bigger type */
  }
  .schedule-section nav.cfp-tab,
  .schedule-section nav.cfp-filter {
    font-size: 0.875rem; /* day tabs: 12px → 14px */
  }
  .schedule-section section.cfp-schedule article.cfp-article.cfp-session .cfp-name {
    font-size: 0.875rem; /* talk title: 12px → 14px */
    line-height: 1.35;
  }
  .schedule-section section.cfp-schedule article.cfp-article.cfp-session .cfp-speaker,
  .schedule-section section.cfp-schedule article.cfp-article.cfp-session .cfp-room,
  .schedule-section section.cfp-schedule article.cfp-article.cfp-session .cfp-time,
  .schedule-section section.cfp-schedule article.cfp-article.cfp-session .cfp-favourite {
    font-size: 0.8125rem; /* meta: 12px → 13px */
  }
  .schedule-section section.cfp-schedule article.cfp-article.cfp-recess .cfp-name {
    font-size: 0.9375rem; /* breaks (Welcome, Coffee, Lunch): 14px → 15px */
  }
}

/* ===================================================================
   A11Y & USABILITY LAYER (2026-07 review)
   =================================================================== */

/* Hero: "Add to calendar" (.ics download) styled like the other meta items */
a.hero-meta-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition);
}
a.hero-meta-link:hover,
a.hero-meta-link:focus-visible {
  color: #fff;
  text-decoration-color: #fff;
}

/* Schedule: notice banner (e.g. "you're viewing last year's programme") */
.schedule-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 var(--sp-lg);
  padding: var(--sp-sm) var(--sp-md);
  background: rgba(var(--clr-primary-rgb), 0.08);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.25);
  border-left: 4px solid var(--clr-primary);
  border-radius: var(--radius);
  color: var(--clr-text);
}
.schedule-notice svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--clr-primary);
}
.schedule-notice p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* Tickets: optional availability pill (tier JSON "status" field) */
.ticket-status {
  align-self: center;
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(var(--clr-primary-rgb), 0.1);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.3);
  color: var(--clr-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Schedule grid: keyboard-scrollable region gets a clear focus ring */
.cfp-scope[data-voxxed-scroll-region='true']:focus-visible {
  outline: 3px solid rgba(var(--clr-primary-rgb), 0.65);
  outline-offset: 4px;
}

/* CFP plugin accent: the plugin's #2493c7 fails WCAG both ways (white text
   on it = 3.45:1, itself on #eee = 2.98:1). Re-key it to the theme primary
   (≥6.9:1 on white) — body-level declaration outranks the plugin's html one. */
body {
  --cfp-accept-primary: var(--clr-primary);
}

/* ── Inline text links ───────────────────────────────────────
   The global reset (a { color: inherit; text-decoration: none })
   makes links inside body copy invisible. Restore brand color AND
   an underline (color alone fails WCAG 1.4.1) in all prose areas. */
.about-content p a,
.section-intro a,
.entry-content a,
.coc-content a,
.page-hero-intro a,
.not-found-intro a,
.sponsor-tier-desc a,
.ticket-card p a,
.contact-section p a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-decoration-color: rgba(var(--clr-primary-rgb), 0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}
.about-content p a:hover,
.section-intro a:hover,
.entry-content a:hover,
.coc-content a:hover,
.page-hero-intro a:hover,
.not-found-intro a:hover,
.sponsor-tier-desc a:hover,
.ticket-card p a:hover,
.contact-section p a:hover {
  text-decoration-color: currentColor;
}

/* Search-results empty state: inline search form */
.search-empty-form {  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: var(--sp-lg) auto;
  max-width: 480px;
}
.search-empty-input {
  flex: 1;
  min-width: 220px;
  padding: 0.8em 1.2em;
  border: 2px solid var(--clr-border-strong);
  border-radius: var(--radius-full);
  font: inherit;
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--transition);
}
.search-empty-input:focus {
  outline: none;
  border-color: var(--clr-primary);
}
.search-empty-input:focus-visible {
  outline: 3px solid rgba(var(--clr-primary-rgb), 0.35);
  outline-offset: 2px;
}

/* ===================================================================
   VDZ27 BUILDER LAYER (v1.6) — "Build, Agents + Debug"
   Agent-run hero terminal, campaign subtitle, git-log editions,
   track index chips, command palette, 404 stack trace.
   =================================================================== */

/* ── Hero: campaign subtitle ("From Developer to Builder") ──── */
.hero-subtitle {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--sp-sm);
}
.hero-subtitle::before,
.hero-subtitle::after {
  /* Alt-text syntax keeps the slashes out of the accessible name */
  content: '//' / '';
  color: var(--clr-secondary-light);
  margin: 0 0.6em;
  opacity: 0.8;
}
@supports not (content: '//' / '') {
  .hero-subtitle::before,
  .hero-subtitle::after {
    content: '//';
  }
}

/* ── Hero: agent-run terminal ────────────────────────────────── */
.hero-terminal--agent {
  display: block;
  /* Sized for the widest line (set inline as --term-cols, +3ch breathing
     room) so the box never grows while the agent-run types; capped at
     the content column. */
  width: min(calc((var(--term-cols, 46) + 3) * 1ch + 2.4rem), 100%);
  /* Reserve the final height up front — no layout shift while lines appear
     (+1 line of slack for a wrapped final line on narrow screens) */
  min-height: calc((var(--term-lines, 6) + 1) * 1.6em + 1.1rem);
  text-align: left;
  line-height: 1.6;
  white-space: normal;
}
.hero-terminal-line {
  display: block;
  /* Wrap instead of pushing the box wider — the width is fixed above. */
  white-space: normal;
  overflow-wrap: break-word;
}
.hero-terminal-glyph {
  display: inline-block;
  min-width: 1.1em;
}
.hero-terminal-line--ok .hero-terminal-glyph,
.hero-terminal-line--spin.hero-terminal-line--resolved .hero-terminal-glyph {
  color: #4ade80;
}
.hero-terminal-line--spin .hero-terminal-glyph {
  color: var(--clr-secondary-light);
}
.hero-terminal-line--warn .hero-terminal-glyph,
.hero-terminal-line--warn {
  color: #fcd34d;
}
.hero-terminal-line--done {
  color: #86efac;
  font-weight: 700;
}
.hero-terminal-line--done .hero-terminal-glyph {
  color: #4ade80;
}

/* ── About: editions as `git log` ────────────────────────────── */
.about-gitlog {
  margin-top: var(--sp-lg);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius);
  background: rgba(5, 13, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-card);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  overflow-x: auto;
  /* Grid children default to min-width:auto — without this the nowrap
     lines below force the About column (and page) to overflow on mobile. */
  max-width: 100%;
  min-width: 0;
}
.about-gitlog-line {
  display: block;
  white-space: nowrap;
}
.about-gitlog-line--cmd {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.35em;
}
.about-gitlog-line--dim {
  color: rgba(255, 255, 255, 0.55);
  padding-left: 8ch; /* aligns with commit messages (7-char hash + space) */
}
.about-gitlog-hash {
  color: #fcd34d;
}
.about-gitlog-head {
  color: #4ade80;
  font-weight: 700;
}

/* ── Topics: mono track index chips ──────────────────────────── */
.topic-card .topic-index {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clr-text-dim);
  transition: color var(--transition);
}
.topic-card:hover .topic-index {
  color: var(--clr-primary);
}

/* ── 404: stack trace ────────────────────────────────────────── */
.not-found-trace {
  width: fit-content;
  max-width: 100%;
  margin: var(--sp-lg) auto;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius);
  background: rgba(5, 13, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-card);
  text-align: left;
  overflow-x: auto;
}
.not-found-trace code {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #fca5a5;
  background: none;
  padding: 0;
}
.not-found-trace-hint {
  color: #86efac;
}

/* ── Command palette: floating trigger ───────────────────────── */
.cmdk-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 13, 28, 0.88);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.cmdk-fab:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--clr-secondary-rgb), 0.7);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(var(--clr-secondary-rgb), 0.18);
}
.cmdk-fab:focus-visible {
  outline: 3px solid var(--clr-secondary);
  outline-offset: 3px;
}
@media print {
  .cmdk-fab { display: none; }
}

/* ── Command palette: dialog ─────────────────────────────────── */
.cmdk {
  /* Explicit fixed+inset centering — Chrome's :modal UA styles don't
     guarantee inset-inline:0, which makes margin-inline:auto resolve to 0
     (dialog hugs the left edge). */
  position: fixed;
  inset: 0;
  width: min(620px, 92vw);
  height: fit-content;
  max-height: 76vh;
  margin: 12vh auto auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(8, 16, 32, 0.97);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, monospace;
}
.cmdk::backdrop {
  background: rgba(5, 10, 22, 0.55);
  backdrop-filter: blur(4px);
}
.cmdk[open] {
  animation: cmdkIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cmdkIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cmdk[open] { animation: none; }
}
.cmdk-inner {
  display: flex;
  flex-direction: column;
}
.cmdk-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cmdk-prompt {
  color: var(--clr-secondary-light);
  font-weight: 700;
}
.cmdk-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.cmdk-input:focus {
  outline: none;
}
.cmdk-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.cmdk-close {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}
.cmdk-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.cmdk-close:focus-visible {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 2px;
}
.cmdk-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  max-height: min(46vh, 380px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cmdk-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}
.cmdk-item.active {
  background: rgba(var(--clr-secondary-rgb), 0.16);
  box-shadow: inset 0 0 0 1px rgba(var(--clr-secondary-rgb), 0.4);
}
.cmdk-item-cmd {
  min-width: 7.5ch;
  color: var(--clr-secondary-light);
  font-weight: 700;
  font-size: 0.85rem;
}
.cmdk-item-label {
  flex: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
}
.cmdk-item-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}
.cmdk-output {
  margin: 0;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #86efac;
  font-size: 0.82rem;
  line-height: 1.6;
}
.cmdk-footer {
  margin: 0;
  padding: 0.55rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ===================================================================
   READABILITY PASS (v1.6.1)
   Speaker cards: the plugin renders 263px avatars (from 96px sources)
   with 40px names and a 2.9:1 company color — cap the portraits,
   normalize type, and fix contrast.
   =================================================================== */

/* Homepage speakers preview: smaller, sharper cards */
.speakers-section .cfp-person .cfp-picture {
  width: min(150px, 70%) !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  margin-inline: auto;
}

/* Speaker cards everywhere (homepage + /speakers/): sane name size,
   AA-compliant company color. Detail pages (.cfp-profile) keep their
   own large headings. */
.cfp-person .cfp-name {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-weight: 700;
  line-height: 1.3;
  color: var(--clr-heading) !important;
}
.cfp-person .cfp-company {
  font-size: 0.875rem !important;
  color: var(--clr-text-muted) !important;
}
.cfp-person a:hover .cfp-name,
.cfp-person a:focus-visible .cfp-name {
  color: var(--clr-primary) !important;
}
