/* v1775453278 */
/* ============================================================
   Conference Intel — Security Conference Coverage Platform
   Design: Dark technical editorial. Monochrome + configurable accent.
   ============================================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Design Tokens --- */
:root {
  --font-display: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  --text-2xl:  clamp(1.75rem, 1.1rem + 2.2vw, 3rem);
  --text-3xl:  clamp(2.25rem, 0.8rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 6.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --radius-sm: 0.25rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem; --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 720px;
  --content-default: 1000px;
  --content-wide: 1280px;
}

/* --- Dark Mode (Default) --- */
:root, [data-theme="dark"] {
  --color-bg: #0f0f0f;
  --color-surface: #161616;
  --color-surface-2: #1a1a1a;
  --color-surface-3: #222222;
  --color-surface-offset: #1a1a1a;
  --color-surface-dynamic: #2a2a2a;
  --color-border: #2a2a2a;
  --color-border-hover: #3a3a3a;
  --color-text: #e0e0e0;
  --color-text-muted: #888888;
  --color-text-faint: #555555;
  --color-accent: #00d4aa;
  --color-accent-dim: rgba(0, 212, 170, 0.12);
  --color-accent-hover: #00f0c0;
  --color-accent-text: #0f0f0f;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.5);
  --color-star: #fbbf24;
  --color-star-empty: #333;
  --hero-grid-color: rgba(255,255,255,0.03);
}

/* --- Light Mode --- */
[data-theme="light"] {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-2: #fafafa;
  --color-surface-3: #eeeeee;
  --color-surface-offset: #f0f0f0;
  --color-surface-dynamic: #e0e0e0;
  --color-border: #e0e0e0;
  --color-border-hover: #ccc;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-text-faint: #999;
  --color-accent: #008f72;
  --color-accent-dim: rgba(0, 143, 114, 0.08);
  --color-accent-hover: #00a884;
  --color-accent-text: #fff;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.1);
  --color-star: #f59e0b;
  --color-star-empty: #ddd;
  --hero-grid-color: rgba(0,0,0,0.04);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, select { font: inherit; color: inherit; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

::selection {
  background: var(--color-accent-dim);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease;
}

[data-theme="light"] .site-header {
  background: rgba(245, 245, 245, 0.9);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.platform-logo {
  width: 28px;
  height: 28px;
}

.platform-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.platform-name-accent {
  color: var(--color-accent);
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  overflow: hidden;
  min-width: 0;
}

.header-breadcrumb:empty { display: none; }

.breadcrumb-sep {
  color: var(--color-text-faint);
  flex-shrink: 0;
}

.breadcrumb-conf {
  color: var(--color-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.breadcrumb-conf:hover { opacity: 0.8; }

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
  flex-shrink: 0;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

/* --- View Transitions --- */
.view-enter {
  animation: viewFadeIn 0.3s ease-out both;
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Platform Landing Page --- */
.landing-hero {
  position: relative;
  padding: calc(var(--space-24) + 52px) var(--space-6) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.landing-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
}

.landing-hero-content {
  position: relative;
  max-width: 800px;
}

.landing-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease-out both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.landing-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.landing-title .accent { color: var(--color-accent); }

.landing-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.landing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.landing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.landing-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-1);
}

.landing-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* --- Conference Cards Grid --- */
.conferences-section {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-16);
}

.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}

.conf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-5);
}

.conf-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.conf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--conf-accent, var(--color-accent));
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.conf-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.conf-card:hover::before {
  opacity: 1;
}

.conf-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.conf-card-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.conf-card:hover .conf-card-name {
  color: var(--conf-accent, var(--color-accent));
}

.conf-card-year {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 8px;
  border: 1px solid var(--conf-accent, var(--color-accent));
  border-radius: var(--radius-sm);
  color: var(--conf-accent, var(--color-accent));
  line-height: 1.3;
  flex-shrink: 0;
}

.conf-card-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.conf-card-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.conf-card-meta-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-text-faint);
}

.conf-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.conf-card-footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.conf-stat-chip {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-3);
  border-radius: var(--radius-xl);
}

.conf-status-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-xl);
  margin-left: auto;
}

.conf-status-badge.status-complete {
  background: rgba(0, 212, 170, 0.12);
  color: #00d4aa;
}

[data-theme="light"] .conf-status-badge.status-complete {
  background: rgba(0, 143, 114, 0.1);
  color: #008f72;
}

.conf-status-badge.status-coming_soon {
  background: var(--color-surface-3);
  color: var(--color-text-faint);
}

/* Card stagger animation */
.conf-card {
  animation: cardFadeIn 0.35s ease-out both;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.conf-card:nth-child(1) { animation-delay: 0ms; }
.conf-card:nth-child(2) { animation-delay: 60ms; }
.conf-card:nth-child(3) { animation-delay: 120ms; }

/* Featured conference card (first/latest) */
.conf-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  gap: var(--space-8);
  padding: var(--space-8);
}

.conf-card.featured .conf-featured-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.conf-card.featured .conf-featured-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: var(--space-6);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  text-align: center;
}

.conf-featured-stat-big {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--conf-accent, var(--color-accent));
  line-height: 1;
}

.conf-featured-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-2);
}

.conf-featured-explore {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--conf-accent, var(--color-accent));
  opacity: 0.8;
}

/* --- Loading State --- */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-24) var(--space-6);
  min-height: 50vh;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* --- Conference Page --- */
.conf-hero {
  position: relative;
  padding: calc(var(--space-20) + 52px) var(--space-6) var(--space-12);
  overflow: hidden;
}

.conf-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
}

.conf-hero-content {
  position: relative;
  max-width: var(--content-wide);
  margin: 0 auto;
}

.conf-hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.5s ease-out both;
}

.conf-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

.conf-hero-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 600px;
  animation: fadeInUp 0.5s ease-out 0.15s both;
}

.conf-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.conf-hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.conf-hero-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.conf-hero-stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
  animation: fadeInUp 0.5s ease-out 0.25s both;
}

.conf-hero-stat {
  display: flex;
  flex-direction: column;
}

.conf-hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.conf-hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

/* --- Main Content (talks grid) --- */
.main-content {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
}

/* --- Controls Bar --- */
.controls-bar {
  position: sticky;
  top: 52px;
  z-index: 50;
  background: var(--color-bg);
  padding: var(--space-4) 0 var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

[data-theme="light"] .controls-bar {
  background: var(--color-bg);
}

.controls-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-faint);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: var(--space-3) var(--space-10) var(--space-3) var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input::placeholder { color: var(--color-text-faint); }
.search-input:focus { border-color: var(--color-accent); }

.search-clear {
  position: absolute;
  right: var(--space-2);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-faint);
  transition: all var(--transition-fast);
}

.search-clear:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 2px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2px;
  border: 1px solid var(--color-border);
}

.filter-btn {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: calc(var(--radius-md) - 2px);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover { color: var(--color-text); }

.filter-btn.active {
  background: var(--color-accent-dim);
  color: var(--color-accent);
}

.sort-wrapper { margin-left: auto; }

.sort-select {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  appearance: auto;
}

.sort-select:focus { border-color: var(--color-accent); outline: none; }

.category-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.category-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  padding: 2px var(--space-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
}

.category-tag:hover {
  border-color: var(--color-text-faint);
  color: var(--color-text);
}

.category-tag.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-dim);
}

/* --- Results Bar --- */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding: 0 var(--space-1);
}

.results-count {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.clear-filters {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.clear-filters:hover { color: var(--color-accent-hover); }

/* --- Talk Cards Grid --- */
.talks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-4);
}

.talk-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  animation: cardFadeIn 0.3s ease-out both;
}

.talk-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.talk-card:hover .card-title { color: var(--color-accent); }

/* Talk card stagger */
.talk-card:nth-child(1) { animation-delay: 0ms; }
.talk-card:nth-child(2) { animation-delay: 30ms; }
.talk-card:nth-child(3) { animation-delay: 60ms; }
.talk-card:nth-child(4) { animation-delay: 90ms; }
.talk-card:nth-child(5) { animation-delay: 120ms; }
.talk-card:nth-child(6) { animation-delay: 150ms; }
.talk-card:nth-child(7) { animation-delay: 180ms; }
.talk-card:nth-child(8) { animation-delay: 210ms; }
.talk-card:nth-child(9) { animation-delay: 240ms; }

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.card-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.badge-day {
  background: var(--color-accent-dim);
  color: var(--color-accent);
}

.badge-stage {
  background: var(--color-surface-3);
  color: var(--color-text-muted);
}

.card-time {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-left: auto;
}

.card-duration {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-speakers {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.card-company {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  margin-top: auto;
}

.card-cat-tag {
  font-family: var(--font-display);
  font-size: 0.625rem;
  padding: 1px 5px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-3);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.card-stars {
  display: flex;
  gap: 1px;
}

.card-star {
  width: 14px;
  height: 14px;
  cursor: pointer;
  color: var(--color-star-empty);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.card-star.filled { color: var(--color-star); }
.card-star:hover { transform: scale(1.2); }

.card-rating-text {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-left: var(--space-1);
}

.card-video-icon {
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--text-xs);
}

.card-video-icon svg {
  width: 16px;
  height: 16px;
}

/* --- Empty State --- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-16) var(--space-6);
  text-align: center;
  color: var(--color-text-faint);
}

.empty-clear {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-accent);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.empty-clear:hover {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

/* Coming Soon state */
.coming-soon-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-24) var(--space-6);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.coming-soon-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

.coming-soon-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.coming-soon-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-accent);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.coming-soon-back:hover {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

/* --- Article View --- */
.article-view {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  overflow-y: auto;
  overflow-x: hidden;
}

.article-view.active {
  animation: slideIn 0.25s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.article-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

[data-theme="light"] .article-header {
  background: rgba(245, 245, 245, 0.92);
}

.article-header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  overflow: hidden;
  min-width: 0;
}

.article-breadcrumb-link {
  cursor: pointer;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.article-breadcrumb-link:hover { color: var(--color-accent); }

.article-breadcrumb-sep {
  color: var(--color-text-faint);
  flex-shrink: 0;
}

.article-breadcrumb-current {
  color: var(--color-text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-nav-btns {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.nav-arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.article-content-wrapper {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
}

/* Article Hero */
.article-hero { margin-bottom: var(--space-8); }

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.article-speakers-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

.speaker-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.speaker-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.speaker-details {
  display: flex;
  flex-direction: column;
}

.speaker-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.speaker-linkedin {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-text-faint);
  transition: all 0.15s;
}

.speaker-linkedin:hover {
  color: #0a66c2;
  border-bottom-color: #0a66c2;
}

.speaker-title-company {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Article Rating Widget */
.article-rating-widget {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

.article-rating-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-stars {
  display: flex;
  gap: 4px;
}

.article-star {
  width: 22px;
  height: 22px;
  cursor: pointer;
  color: var(--color-star-empty);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.article-star.filled { color: var(--color-star); }
.article-star:hover { transform: scale(1.15); }

.article-rating-info {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* YouTube Player */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-border);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.no-video {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-6);
}

.no-video-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* Article Content */
.article-markdown {
  line-height: 1.7;
  color: var(--color-text);
}

.article-markdown h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--space-8) 0 var(--space-4);
  color: var(--color-text);
  line-height: 1.25;
}

.article-markdown h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: var(--space-8) 0 var(--space-3);
  color: var(--color-text);
  line-height: 1.3;
}

.article-markdown h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-2);
  color: var(--color-text);
}

.article-markdown p {
  margin-bottom: var(--space-4);
  max-width: 72ch;
}

.article-markdown ul, .article-markdown ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.article-markdown li {
  margin-bottom: var(--space-2);
  max-width: 72ch;
}

.article-markdown blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-4);
  margin: var(--space-4) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.article-markdown code {
  font-family: var(--font-display);
  font-size: 0.875em;
  background: var(--color-surface-2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--color-accent);
}

.article-markdown pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin: var(--space-4) 0;
  overflow-x: auto;
}

.article-markdown pre code {
  background: none;
  padding: 0;
  color: var(--color-text);
}

.article-markdown a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-markdown a:hover { color: var(--color-accent-hover); }

.article-markdown hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

.article-markdown strong {
  font-weight: 600;
  color: var(--color-text);
}

.article-markdown img {
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}

/* Timestamp links */
.article-markdown a[href*="youtube.com/watch"],
.article-markdown a[href*="youtu.be"] {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px 8px;
  background: var(--color-accent-dim);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.article-markdown a[href*="youtube.com/watch"]:hover,
.article-markdown a[href*="youtu.be"]:hover {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

/* --- Dr. Zero Review --- */
.zero-review-section {
  max-width: var(--content-narrow);
  margin: var(--space-8) auto;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 3px solid #ff4444;
}

.zero-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.zero-identity {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.zero-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #ff4444;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zero-name-block {
  display: flex;
  flex-direction: column;
}

.zero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}

.zero-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zero-rating-block {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.zero-stars {
  font-size: 20px;
  color: #ff4444;
  letter-spacing: 2px;
}

.zero-verdict-badge {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.zero-verdict-badge.verdict-must-see { background: #ff4444; color: #fff; }
.zero-verdict-badge.verdict-strong-accept { background: #22c55e; color: #000; }
.zero-verdict-badge.verdict-solid { background: #3b82f6; color: #fff; }
.zero-verdict-badge.verdict-acceptable { background: #6b7280; color: #fff; }
.zero-verdict-badge.verdict-weak { background: #f59e0b; color: #000; }
.zero-verdict-badge.verdict-pass { background: #ef4444; color: #fff; }

.zero-review-body { margin-bottom: var(--space-4); }

.zero-summary {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}

.zero-review-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.zero-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}

.zero-score {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.zero-score-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  min-width: 85px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.zero-score-bar {
  flex: 1;
  height: 6px;
  background: var(--color-surface-dynamic);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.zero-score-fill {
  display: block;
  height: 100%;
  background: #ff4444;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.zero-score-val {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  min-width: 28px;
  text-align: right;
}

/* Card Zero Badge */
.card-zero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  margin-top: var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  border: 1px solid var(--color-border);
  background: var(--color-surface-offset);
}

.card-zero-badge .zero-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: #ff4444;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-zero-badge .zero-rating { color: #ff4444; font-weight: 700; }

.card-zero-badge .zero-verdict {
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-zero-badge.verdict-must-see {
  border-color: #ff4444;
  background: color-mix(in srgb, #ff4444 8%, var(--color-surface-offset));
}

.card-zero-badge.verdict-must-see .zero-verdict { color: #ff4444; }

.card-zero-badge.verdict-strong-accept {
  border-color: #22c55e;
  background: color-mix(in srgb, #22c55e 5%, var(--color-surface-offset));
}

.card-zero-badge.verdict-strong-accept .zero-verdict { color: #22c55e; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) var(--space-6);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.footer-logo .bracket { color: var(--color-accent); }

.footer-text {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  max-width: 480px;
  margin: 0 auto;
}

/* --- Utilities --- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner {
    padding: var(--space-2) var(--space-4);
  }

  .platform-name { font-size: var(--text-xs); }

  .landing-hero {
    padding: calc(var(--space-16) + 44px) var(--space-4) var(--space-12);
  }

  .landing-stats {
    gap: var(--space-4);
    flex-wrap: wrap;
  }

  .landing-stat-value { font-size: var(--text-xl); }
  .landing-stat-divider { height: 30px; }

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

  .conf-card.featured {
    flex-direction: column;
    padding: var(--space-5);
  }

  .conf-card.featured .conf-featured-right {
    min-width: unset;
  }

  .conferences-section {
    padding: 0 var(--space-4) var(--space-12);
  }

  .conf-hero {
    padding: calc(var(--space-16) + 44px) var(--space-4) var(--space-8);
  }

  .main-content {
    padding: var(--space-4) var(--space-4) var(--space-12);
  }

  .controls-bar {
    top: 44px;
    padding: var(--space-3) 0;
  }

  .filter-row { gap: var(--space-2); }

  .sort-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .sort-select { width: 100%; }

  .talks-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .talk-card {
    padding: var(--space-4);
    min-height: auto;
  }

  .article-content-wrapper {
    padding: var(--space-6) var(--space-4) var(--space-12);
  }

  .article-hero h1 { font-size: var(--text-lg); }

  .article-breadcrumb { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  .landing-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .landing-stat-divider { display: none; }

  .filter-group {
    width: 100%;
    justify-content: stretch;
  }

  .filter-btn {
    flex: 1;
    text-align: center;
  }

  .zero-scores { grid-template-columns: 1fr; }

  .zero-review-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .conf-hero-stats { flex-wrap: wrap; gap: var(--space-4); }
}

/* ============================================================
   Global Cross-Conference Search
   ============================================================ */

.global-search-section {
  max-width: 800px;
  margin: 0 auto var(--space-12);
  padding: 0 var(--space-6);
}

.global-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.global-search-wrap:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent);
}

.global-search-icon {
  position: absolute;
  left: var(--space-4);
  color: var(--color-text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.global-search-input {
  width: 100%;
  padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 28px);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
  caret-color: var(--color-accent);
}

.global-search-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 400;
}

.global-search-clear {
  padding: var(--space-2) var(--space-3);
  margin-right: var(--space-2);
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.global-search-clear:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.global-search-results {
  margin-top: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 520px;
  overflow-y: auto;
}

.global-search-results.hidden {
  display: none;
}

.global-search-loading {
  padding: var(--space-6);
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: var(--text-sm);
}

.global-search-empty {
  padding: var(--space-6);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.search-results-group {
  border-bottom: 1px solid var(--color-divider);
}

.search-results-group:last-of-type {
  border-bottom: none;
}

.search-results-group-label {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
}

.search-result-row {
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  border-bottom: 1px solid var(--color-divider);
  transition: background 0.1s;
}

.search-result-row:last-child {
  border-bottom: none;
}

.search-result-row:hover {
  background: var(--color-surface-dynamic);
}

.search-result-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-1);
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.search-result-speaker {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.search-result-verdict {
  font-size: 10px;
  padding: 1px var(--space-2);
}

.search-results-count {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: right;
  background: var(--color-surface-offset);
  font-family: var(--font-display);
}

@media (max-width: 640px) {
  .global-search-section {
    padding: 0 var(--space-4);
    margin-bottom: var(--space-8);
  }
}

.search-result-excerpt {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: var(--space-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-excerpt mark {
  background: color-mix(in srgb, var(--color-accent) 25%, transparent);
  color: var(--color-accent);
  border-radius: 2px;
  padding: 0 2px;
}

.search-result-row {
  cursor: pointer;
}

/* ============================================================
   Top Picks Section
   ============================================================ */

.top-picks-section {
  padding: 0 var(--space-6) var(--space-12);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.top-pick-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--pick-accent, var(--color-accent));
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.top-pick-card:hover {
  background: var(--color-surface-dynamic);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.top-pick-conf {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pick-accent, var(--color-accent));
}

.top-pick-verdict {
  display: flex;
}

.top-pick-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

.top-pick-speaker {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.top-pick-summary {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-picks-empty {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-style: italic;
}

@media (max-width: 640px) {
  .top-picks-section {
    padding: 0 var(--space-4) var(--space-8);
  }
  .top-picks-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Zero Rating Filter Buttons
   ============================================================ */

.zero-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: center;
}

.zero-filter-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.zero-filter-btn:hover {
  border-color: #ff4444;
  color: var(--color-text);
}

.zero-filter-btn.active {
  background: #ff4444;
  border-color: #ff4444;
  color: #fff;
}

.zero-filter-btn.verdict-must-see.active,
.zero-filter-btn.verdict-must-see:hover {
  border-color: #ff4444;
  background: color-mix(in srgb, #ff4444 15%, transparent);
  color: #ff4444;
}
.zero-filter-btn.verdict-must-see.active {
  background: #ff4444;
  color: #fff;
}

.zero-filter-btn.verdict-strong-accept:hover {
  border-color: #22c55e;
  background: color-mix(in srgb, #22c55e 15%, transparent);
  color: #22c55e;
}
.zero-filter-btn.verdict-strong-accept.active {
  background: #22c55e;
  border-color: #22c55e;
  color: #000;
}

.zero-filter-btn.verdict-solid:hover {
  border-color: #3b82f6;
  background: color-mix(in srgb, #3b82f6 15%, transparent);
  color: #3b82f6;
}
.zero-filter-btn.verdict-solid.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.zero-filter-btn.verdict-weak:hover {
  border-color: #6b7280;
  background: color-mix(in srgb, #6b7280 15%, transparent);
  color: #6b7280;
}
.zero-filter-btn.verdict-weak.active {
  background: #6b7280;
  border-color: #6b7280;
  color: #fff;
}

.zero-icon-sm {
  width: 16px;
  height: 16px;
  background: #ff4444;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zero-filter-btn.active .zero-icon-sm {
  background: rgba(255,255,255,0.3);
}

.zero-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2) 0 var(--space-1);
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-2);
}

.zero-filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff4444;
  margin-right: var(--space-1);
  white-space: nowrap;
}

/* ============================================================
   Global Zero Filter Section (landing page)
   ============================================================ */

/* ── Global Topics Section ─────────────────────────────── */

.global-topics-section {
  padding: 0 var(--space-6) var(--space-12);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.global-topics-header {
  margin-bottom: var(--space-4);
}

.global-topics-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.global-topics-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.top-pick-categories {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.top-pick-categories .card-category-tag {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  color: var(--color-text-faint);
}

@media (max-width: 640px) {
  .global-topics-section {
    padding: 0 var(--space-4) var(--space-8);
  }
}

/* ── Global Zero Section ───────────────────────────────── */

/* ── Reviewers Explainer Box ──────────────────────────────── */

.reviewers-explainer {
  padding: 0 var(--space-6) var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.reviewers-explainer-inner {
  background: linear-gradient(135deg, rgba(255,68,68,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.reviewers-explainer-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.reviewers-explainer-icon {
  font-size: 1.3rem;
  color: var(--color-accent);
}

.reviewers-explainer-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.reviewers-explainer-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .reviewers-explainer {
    padding: 0 var(--space-4) var(--space-6);
  }
  .reviewers-explainer-inner {
    padding: var(--space-4);
  }
  .reviewers-explainer-title {
    font-size: var(--text-sm);
  }
}

.global-zero-section {
  padding: 0 var(--space-6) var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.global-zero-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.global-zero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff4444;
  white-space: nowrap;
}

.global-zero-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

@media (max-width: 640px) {
  .global-zero-section {
    padding: 0 var(--space-4) var(--space-6);
  }
  .global-zero-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Heather Calloway Review ─────────────────────────────── */

.heather-review-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(124,58,237,0.02) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.heather-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.heather-icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.heather-verdict-badge {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.verdict-heather-must-see    { background: #7c3aed; color: #fff; }
.verdict-heather-strong      { background: #a855f7; color: #fff; }
.verdict-heather-useful      { background: rgba(124,58,237,0.25); color: #c4b5fd; border: 1px solid rgba(124,58,237,0.4); }
.verdict-heather-practitioner-gap { background: rgba(124,58,237,0.1); color: #a78bfa; border: 1px solid rgba(124,58,237,0.2); }
.verdict-heather-not-her-room { background: rgba(100,100,100,0.15); color: #9ca3af; border: 1px solid rgba(100,100,100,0.2); }

.heather-score-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Heather filter row */
.heather-filter-row {
  margin-top: var(--space-2);
}

.heather-filter-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(124,58,237,0.25);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.heather-filter-btn:hover { border-color: #7c3aed; color: #a855f7; }
.heather-filter-btn.active { background: rgba(124,58,237,0.15); border-color: #7c3aed; color: #c4b5fd; }

.heather-filter-btn.verdict-heather-must-see.active,
.heather-filter-btn.verdict-heather-must-see:hover { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.heather-filter-btn.verdict-heather-strong.active,
.heather-filter-btn.verdict-heather-strong:hover { background: #a855f7; border-color: #a855f7; color: #fff; }

/* ── Heather Card Badge ───────────────────────────────────── */

.card-heather-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  margin-top: var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  border: 1px solid rgba(124,58,237,0.25);
  background: rgba(124,58,237,0.05);
}

.card-heather-badge .heather-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-heather-badge .heather-card-verdict {
  color: #a78bfa;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-heather-badge.verdict-heather-must-see {
  border-color: #7c3aed;
  background: color-mix(in srgb, #7c3aed 8%, var(--color-surface-offset));
}
.card-heather-badge.verdict-heather-must-see .heather-card-verdict { color: #a855f7; }

.card-heather-badge.verdict-heather-strong {
  border-color: #a855f7;
  background: color-mix(in srgb, #a855f7 5%, var(--color-surface-offset));
}
.card-heather-badge.verdict-heather-strong .heather-card-verdict { color: #c084fc; }

.card-heather-badge .heather-card-rating {
  color: #a855f7;
  font-weight: 700;
}

/* Heather verdict badge — Zero-consistent naming */
.heather-verdict-badge.verdict-heather-must-see    { background: #7c3aed; color: #fff; }
.heather-verdict-badge.verdict-heather-strong-accept { background: #22c55e; color: #000; }
.heather-verdict-badge.verdict-heather-solid       { background: #3b82f6; color: #fff; }
.heather-verdict-badge.verdict-heather-weak        { background: #f59e0b; color: #000; }
.heather-verdict-badge.verdict-heather-pass        { background: #6b7280; color: #fff; }

.card-heather-badge.verdict-heather-must-see { border-color: #7c3aed; background: color-mix(in srgb, #7c3aed 8%, var(--color-surface-offset)); }
.card-heather-badge.verdict-heather-must-see .heather-card-verdict { color: #a855f7; }
.card-heather-badge.verdict-heather-strong-accept { border-color: #22c55e; background: color-mix(in srgb, #22c55e 5%, var(--color-surface-offset)); }
.card-heather-badge.verdict-heather-strong-accept .heather-card-verdict { color: #22c55e; }
.card-heather-badge.verdict-heather-solid { border-color: #3b82f6; background: color-mix(in srgb, #3b82f6 5%, var(--color-surface-offset)); }
.card-heather-badge.verdict-heather-solid .heather-card-verdict { color: #60a5fa; }

.heather-filter-btn.verdict-heather-must-see.active,
.heather-filter-btn.verdict-heather-must-see:hover { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.heather-filter-btn.verdict-heather-strong-accept.active,
.heather-filter-btn.verdict-heather-strong-accept:hover { background: #22c55e; border-color: #22c55e; color: #000; }
.heather-filter-btn.verdict-heather-solid.active,
.heather-filter-btn.verdict-heather-solid:hover { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.heather-filter-btn.verdict-heather-weak.active,
.heather-filter-btn.verdict-heather-weak:hover { background: #f59e0b; border-color: #f59e0b; color: #000; }

/* Global Heather section on landing */
.global-heather-section {
  border-top: none;
}
.global-heather-section .reviewer-identity {
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(124,58,237,0.02) 100%);
}
.global-heather-section .global-zero-label {
  color: #a78bfa;
}

/* Reviewer identity on homepage */
.reviewer-identity {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  width: 100%;
  background: linear-gradient(135deg, rgba(255,68,68,0.06) 0%, rgba(255,68,68,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.reviewer-bio {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   KEY MOMENTS PANEL
   ============================================================ */

.key-moments-panel {
  margin: var(--space-6) 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.km-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.km-header svg {
  color: var(--accent);
  flex-shrink: 0;
}

.km-list {
  display: flex;
  flex-direction: column;
}

.km-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s ease;
  cursor: pointer;
}

.km-item:last-child {
  border-bottom: none;
}

a.km-item:hover {
  background: var(--surface-3);
}

a.km-item:hover .km-time {
  color: var(--accent);
}

.km-item-no-link {
  cursor: default;
}

.km-time {
  font-size: var(--text-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  min-width: 3.5rem;
  flex-shrink: 0;
  padding-top: 1px;
}

.km-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

a.km-item:hover .km-label {
  color: var(--text-primary);
}

/* ============================================================
   SLIDES LINK BAR
   ============================================================ */

.slides-link-bar {
  margin: var(--space-4) 0 var(--space-2);
}

.slides-link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.slides-link-btn:hover {
  background: var(--surface-3);
  color: var(--text-primary);
  border-color: var(--accent);
}

.slides-link-btn svg {
  flex-shrink: 0;
  color: var(--accent);
}
