/* DM Sans — variable font, weights 300–600 */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-italic-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: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-italic-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;
}

/* DM Serif Display — normal + italic */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-serif-display-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: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-serif-display-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: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-serif-display-italic-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: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-serif-display-italic-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;
}

:root {
  /* New palette — spec/redesign.md Section 1 */
  --primary: hsl(351, 82%, 47%);
  --primary-foreground: hsl(0, 0%, 100%);
  --background: hsl(36, 33%, 97%);
  --foreground: hsl(20, 10%, 12%);
  --card: hsl(36, 30%, 95%);
  --card-foreground: hsl(20, 10%, 12%);
  --secondary: hsl(36, 20%, 90%);
  --secondary-foreground: hsl(20, 10%, 12%);
  --muted: hsl(36, 15%, 92%);
  --muted-foreground: hsl(20, 5%, 45%);
  --border: hsl(36, 15%, 88%);
  --coral-light: hsl(351, 82%, 95%);
  --dark-surface: hsl(20, 15%, 10%);
  --dark-surface-foreground: hsl(36, 33%, 97%);
  --white: #FFFFFF;

  /* Typography & layout */
  --nav-h: 68px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 6px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
picture { display: block; }
.speaker-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.sponsor-logo { width: auto; height: 64px; object-fit: contain; }
.sponsor-tier-header { margin-top: 2rem; }
.sponsor-card { text-align: center; }
html { scroll-behavior: smooth; }

/* Skip-to-content link — visible only on focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 24px;
  background: var(--foreground);
  color: var(--background);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* Focus indicators */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn-primary:focus-visible { outline-color: var(--foreground); }
.nav-burger:focus-visible,
.theme-toggle:focus-visible { outline-offset: 4px; }
body { font-family: var(--sans); background: var(--background); color: var(--foreground); overflow-x: hidden; }

/* ===== UTILITIES ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--coral-light); color: var(--primary); font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: var(--radius-pill); }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: var(--primary-foreground); font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: var(--radius-pill); border: none; cursor: pointer; text-decoration: none; transition: transform 0.15s, background 0.15s; white-space: nowrap; }
.btn-primary:hover { background: var(--foreground); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--foreground); font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 13px 27px; border-radius: var(--radius-pill); border: 1.5px solid var(--border); cursor: pointer; text-decoration: none; transition: all 0.15s; white-space: nowrap; }
.btn-secondary:hover { border-color: var(--foreground); background: var(--foreground); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-family: var(--sans); font-size: 14px; font-weight: 500; text-decoration: none; border: none; background: none; cursor: pointer; transition: gap 0.15s; }
.btn-ghost:hover { gap: 10px; }
.section-divider { width: 100%; height: 1px; background: var(--border); margin: 0; }

/* ===== NAV ===== */
nav[aria-label="Main navigation"] { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); background: hsla(36, 33%, 97%, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo-img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted-foreground); font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.is-active { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { font-size: 14px !important; padding: 10px 20px !important; }

/* ===== HERO ===== */
#home { padding: calc(var(--nav-h) + 80px) 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-pill); }
.hero-badge--date { background: var(--coral-light); color: var(--primary); }
.hero-badge--location { background: var(--secondary); color: var(--secondary-foreground); }
h1.hero-title { font-family: var(--serif); font-size: clamp(48px, 6vw, 80px); line-height: 1.05; color: var(--foreground); letter-spacing: -0.02em; margin-bottom: 24px; }
h1.hero-title em { font-style: italic; color: var(--primary); }
.hero-tagline { font-size: 18px; color: var(--muted-foreground); margin-bottom: 16px; line-height: 1.5; max-width: 420px; }
.hero-desc { font-size: 16px; color: var(--muted-foreground); margin-bottom: 32px; line-height: 1.5; max-width: 420px; }
.hero-bold { font-size: 14px; font-weight: 600; color: var(--foreground); margin-bottom: 24px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Hero card */
.hero-card { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px 32px; }
.hero-card-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 8px; }
.hero-card-heading { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--foreground); margin-bottom: 20px; }
.hero-tracks-list { display: flex; flex-direction: column; gap: 12px; }
.hero-track-row { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); }
.hero-track-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--coral-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-track-title { font-size: 14px; font-weight: 600; color: var(--foreground); }
.hero-track-sub { font-size: 12px; color: var(--muted-foreground); }
.hero-card-note { margin-top: 16px; padding: 12px; background: var(--coral-light); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--foreground); display: flex; align-items: center; gap: 8px; }
.hero-card-note strong { color: var(--primary); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h1, .section-header h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: var(--foreground); margin-top: 12px; letter-spacing: -0.02em; }
.section-header p { font-size: 18px; color: var(--muted-foreground); font-weight: 300; margin-top: 16px; line-height: 1.6; }

/* ===== STATS STRIPE ===== */
.stats-stripe { background: var(--foreground); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { padding: 16px; }
.stat-num { font-family: var(--serif); font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.stat-value { color: var(--primary); }
.stat-label { color: var(--background); }
.stat-desc { font-size: 14px; color: hsla(36, 33%, 97%, 0.7); margin-top: 4px; }

/* ===== INNER PAGES (shared) ===== */
.page-container { max-width: 720px; }
.page-heading { font-family: var(--serif); font-size: clamp(36px, 5vw, 52px); color: var(--foreground); line-height: 1.1; margin-bottom: 16px; }
.page-subheading { font-size: 16px; color: var(--muted-foreground); line-height: 1.6; margin-bottom: 40px; }
.page-section-heading { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); color: var(--foreground); margin-bottom: 16px; margin-top: 40px; }
.page-intro { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 32px; }
.page-intro p { margin-bottom: 1em; }
.page-intro p:last-child { margin-bottom: 0; }
.page-body { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 12px; }

/* ===== MANIFESTO ===== */
.manifesto { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.manifesto-heading { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); color: var(--foreground); margin-bottom: 32px; }
.manifesto-heading em { font-style: italic; color: var(--primary); }
.manifesto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.manifesto-title { font-size: 14px; font-weight: 700; color: var(--foreground); margin-bottom: 4px; }
.manifesto-desc { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* ===== TRACKS DETAIL ===== */
.tracks-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tracks-heading { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--foreground); margin-bottom: 40px; }
.tracks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.track-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.track-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.track-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--coral-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.track-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.track-title { font-family: var(--serif); font-size: 20px; color: var(--foreground); margin-bottom: 8px; line-height: 1.2; }
.track-desc { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; flex: 1; }

/* ===== CFS CTA BANNER ===== */
.cfs-cta { background: var(--foreground); padding: 0; }
.cfs-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0; flex-wrap: wrap; }
.cfs-cta-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: hsla(36, 33%, 97%, 0.5); margin-bottom: 8px; }
.cfs-cta-heading { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); color: var(--background); margin-bottom: 8px; }
.cfs-cta-desc { font-size: 14px; color: hsla(36, 33%, 97%, 0.7); max-width: 480px; line-height: 1.6; }
.cfs-cta-btn { flex-shrink: 0; }

/* ===== PREVIOUS SPEAKERS ===== */
.prev-speakers-heading { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); color: var(--foreground); margin-bottom: 16px; }
.prev-speakers-intro { font-size: 16px; color: var(--muted-foreground); margin-bottom: 32px; line-height: 1.5; }
.prev-speakers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.prev-speaker-card { text-align: center; }
.prev-speaker-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.prev-speaker-name { font-size: 14px; font-weight: 600; color: var(--foreground); }
.prev-speaker-role { font-size: 12px; color: var(--muted-foreground); }

/* ===== REGISTER INTEREST ===== */
.register-interest { background: var(--foreground); }
.register-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.register-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: hsla(36, 33%, 97%, 0.5); margin-bottom: 8px; }
.register-heading { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--background); margin-bottom: 16px; }
.register-para { font-size: 16px; color: hsla(36, 33%, 97%, 0.7); line-height: 1.6; margin-bottom: 16px; }
.register-para:last-of-type { margin-bottom: 32px; }
.register-inner .footer-newsletter { text-align: left; }
.register-inner .newsletter-input-group { display: flex; gap: 8px; justify-content: center; }
.register-inner .newsletter-input-group input { flex: 0 1 320px; padding: 10px 14px; font-family: var(--sans); font-size: 14px; border: 1px solid hsla(36, 33%, 97%, 0.3); border-radius: var(--radius-pill); background: hsla(36, 33%, 97%, 0.1); color: var(--background); outline: none; }
.register-inner .newsletter-input-group input::placeholder { color: hsla(36, 33%, 97%, 0.5); }
.register-inner .newsletter-input-group input:focus { border-color: var(--primary); }
.register-inner .newsletter-input-group button { font-size: 13px; padding: 10px 18px; }
.register-inner .newsletter-status { font-size: 13px; margin-top: 8px; color: var(--background); }
.register-inner .newsletter-status.success { color: hsl(142, 71%, 70%); }
.register-inner .newsletter-status.error { color: hsl(0, 80%, 70%); }
.register-inner .newsletter-privacy { font-size: 12px; color: hsla(36, 33%, 97%, 0.5); margin-top: 8px; text-align: center; }
.register-inner .newsletter-privacy a { color: var(--primary); text-decoration: none; }
.register-inner .footer-newsletter-label,
.register-inner .footer-newsletter-desc { display: none; }

/* ===== SCHEDULE ===== */
#schedule { background: var(--card); }
.schedule-note { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 40px; font-size: 14px; color: var(--muted-foreground); display: flex; align-items: center; gap: 10px; }
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.schedule-table thead th { background: var(--foreground); color: var(--white); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 24px; text-align: left; }
.schedule-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
.schedule-table tbody tr:last-child { border-bottom: none; }
.schedule-table tbody tr:hover { background: var(--background); }
.schedule-table td { padding: 18px 24px; vertical-align: top; }
.sch-time { font-size: 13px; font-weight: 500; color: var(--muted-foreground); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sch-session { font-size: 15px; color: var(--foreground); font-weight: 400; }
.sch-session strong { font-weight: 500; }
.sch-note { font-size: 12px; color: var(--muted-foreground); margin-top: 4px; }
.sch-badge { display: inline-block; font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: var(--radius-pill); margin-left: 8px; vertical-align: middle; }
.sch-all { background: rgba(13,13,13,0.06); color: var(--muted-foreground); }
.sch-break { background: var(--coral-light); color: var(--primary); }
.sch-sponsor { background: var(--coral-light); color: var(--primary); }
.sch-star { background: rgba(245,200,66,0.2); color: #8B6D00; }
.sch-optional { background: var(--card); color: var(--muted-foreground); font-style: italic; }
.schedule-format { background: var(--foreground); color: var(--white); border-radius: var(--radius); padding: 20px 24px; margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.schedule-format p { font-size: 14px; color: rgba(255,255,255,0.7); }
.schedule-format strong { color: var(--white); }

/* ===== BOARD ===== */
.board-grid { display: flex; flex-direction: column; gap: 24px; }
.board-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.board-role { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.board-name { font-family: var(--serif); font-size: 22px; color: var(--foreground); margin-bottom: 12px; }
.board-bio { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* ===== VENUE ===== */
.venue-address-block { display: flex; align-items: center; gap: 16px; background: var(--coral-light); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 32px; }
.venue-pin-circle { width: 40px; height: 40px; border-radius: 50%; background: hsla(351, 82%, 52%, 0.15); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.venue-address { font-size: 15px; font-weight: 500; color: var(--foreground); }
.venue-date { font-size: 14px; color: var(--muted-foreground); margin-top: 2px; }
.venue-transport { margin-top: 40px; margin-bottom: 48px; }
.venue-transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.venue-transport-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.venue-transport-icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--coral-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.venue-transport-title { font-size: 15px; font-weight: 600; color: var(--foreground); margin-bottom: 8px; }
.venue-transport-desc { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.venue-map { margin-bottom: 16px; }
.venue-map iframe { display: block; border: 0; border-radius: var(--radius); }

/* ===== TEAM ===== */
.team-grid { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.team-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--secondary); color: var(--foreground); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.team-name { font-family: var(--serif); font-size: 20px; color: var(--foreground); margin-bottom: 8px; }
.team-linkedin { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--primary); text-decoration: none; margin-bottom: 12px; transition: opacity 0.15s; }
.team-linkedin:hover { opacity: 0.7; }
.team-bio { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.team-contact { text-align: center; font-size: 15px; color: var(--muted-foreground); }
.team-contact a { color: var(--primary); text-decoration: none; }
.team-contact a:hover { text-decoration: underline; }

/* ===== PARTNERS ===== */
.partners-intro { margin-bottom: 48px; }
.partners-intro p { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 16px; }
.partners-intro p:last-child { margin-bottom: 0; }
.partners-form-section { background: var(--coral-light); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.partners-form-heading { font-family: var(--serif); font-size: 24px; color: var(--foreground); margin-bottom: 8px; }
.partners-form-desc { font-size: 14px; color: var(--muted-foreground); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }


/* ===== LEGAL PAGES (Privacy, Impressum) ===== */
.legal-content { display: flex; flex-direction: column; gap: 32px; }
.legal-section { border-top: 1px solid var(--border); padding-top: 24px; }
.legal-section:first-child { border-top: none; padding-top: 0; }
.legal-section-heading { font-family: var(--serif); font-size: 20px; color: var(--foreground); margin-bottom: 12px; }
.legal-body { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; }
.legal-body p { margin-bottom: 12px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul, .legal-body ol { margin: 12px 0; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--primary); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--foreground); font-weight: 600; }

.legal-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.impressum-list { }
.impressum-row { display: grid; grid-template-columns: 160px 1fr; gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.impressum-row:last-child { border-bottom: none; }
.impressum-row dt { font-size: 12px; font-weight: 600; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 3px; }
.impressum-row dd { font-size: 15px; color: var(--foreground); line-height: 1.5; }
.impressum-row dd a { color: var(--primary); text-decoration: none; }
.impressum-row dd a:hover { text-decoration: underline; }

.legal-note { margin-top: 8px; padding: 20px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--muted-foreground); line-height: 1.7; }

@media (max-width: 600px) {
  .impressum-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== ABOUT ===== */
#about { background: var(--background); }
.about-intro { max-width: 720px; margin: 0 auto 72px; font-size: 18px; color: var(--muted-foreground); font-weight: 300; line-height: 1.7; }
.about-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.about-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.about-section h2 { font-family: var(--serif); font-size: 24px; color: var(--foreground); margin-bottom: 16px; line-height: 1.2; }
.about-body { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; font-weight: 300; }
.about-intro p, .about-body p { margin-bottom: 1em; }
.about-intro p:last-child, .about-body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .about-sections { grid-template-columns: 1fr; }
}

/* ===== FORM EMBED ===== */
.form-intro { max-width: 720px; margin: 0 auto 48px; font-size: 18px; color: var(--muted-foreground); font-weight: 300; line-height: 1.7; text-align: center; }
.form-intro p { margin-bottom: 1em; }
.form-intro p:last-child { margin-bottom: 0; }
.form-embed { max-width: 720px; margin: 0 auto; min-height: 400px; }
.form-embed iframe { width: 100%; border: none; border-radius: var(--radius); }

/* ===== CALL FOR SPEAKERS ===== */
.cfs-meta { margin-bottom: 32px; }
.cfs-deadline { font-size: 14px; color: var(--muted-foreground); margin-bottom: 4px; }
.cfs-multiple { font-size: 14px; color: var(--muted-foreground); }
.cfs-benefits-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px; }
.cfs-benefits-heading { font-family: var(--serif); font-size: 22px; color: var(--foreground); margin-bottom: 16px; }
.cfs-benefits-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cfs-benefits-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--foreground); line-height: 1.5; }
.cfs-benefits-list svg { flex-shrink: 0; color: var(--primary); margin-top: 3px; }
.cfs-form-section { background: var(--coral-light); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.cfs-form-heading { font-family: var(--serif); font-size: 24px; color: var(--foreground); margin-bottom: 8px; }
.cfs-form-desc { font-size: 14px; color: var(--muted-foreground); margin-bottom: 24px; }

/* ===== FOOTER ===== */
footer { background: var(--card); border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand-name { font-size: 14px; color: var(--muted-foreground); margin-top: 4px; }
.footer-brand-date { font-size: 14px; color: var(--muted-foreground); }
.footer-heading { font-family: var(--serif); font-size: 14px; color: var(--foreground); margin-bottom: 12px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 14px; color: var(--muted-foreground); text-decoration: none; transition: color 0.15s; }
.footer-nav a:hover { color: var(--primary); }
.footer-text { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--muted-foreground); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: var(--muted-foreground); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--primary); }
/* Footer newsletter */
.footer-newsletter { margin-top: 20px; }
.footer-newsletter-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 4px; }
.footer-newsletter-desc { font-size: 13px; color: var(--muted-foreground); margin-bottom: 12px; line-height: 1.5; }
.footer-newsletter .newsletter-input-group { display: flex; gap: 8px; }
.footer-newsletter .newsletter-input-group input { flex: 1; padding: 10px 14px; font-family: var(--sans); font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--background); color: var(--foreground); outline: none; transition: border-color 0.15s; }
.footer-newsletter .newsletter-input-group input:focus { border-color: var(--primary); }
.footer-newsletter .newsletter-input-group input::placeholder { color: var(--muted-foreground); }
.footer-newsletter .newsletter-input-group button { font-size: 13px; padding: 10px 18px; }
.footer-newsletter .newsletter-status { font-size: 13px; margin-top: 8px; }
.footer-newsletter .newsletter-privacy { font-size: 12px; color: var(--muted-foreground); margin-top: 8px; }
.footer-newsletter .newsletter-privacy a { color: var(--primary); text-decoration: none; }
.footer-newsletter .newsletter-privacy a:hover { text-decoration: underline; }

/* ===== MOBILE NAV ===== */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: none; border: none; cursor: pointer; border-radius: var(--radius); }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--foreground); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; transform-origin: center; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: hsla(36, 33%, 97%, 0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 16px 0 24px; }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 0 24px; }
.mobile-menu ul a { display: block; padding: 10px 0; color: var(--foreground); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--border); transition: color 0.15s; }
.mobile-menu ul a:hover { color: var(--primary); }
.mobile-menu ul a.is-active { color: var(--primary); }
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-cta { margin-top: 8px; text-align: center; }

/* ===== CONTACT ===== */
.contact-intro { max-width: 720px; margin: 0 auto 72px; font-size: 18px; color: var(--muted-foreground); font-weight: 300; line-height: 1.7; text-align: center; }
.contact-intro p { margin-bottom: 1em; }
.contact-intro p:last-child { margin-bottom: 0; }
.contact-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 880px; margin: 0 auto; }
.contact-channel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-channel h2 { font-family: var(--serif); font-size: 22px; color: var(--foreground); margin-bottom: 12px; line-height: 1.2; }
.contact-channel-desc { font-size: 15px; color: var(--muted-foreground); line-height: 1.6; font-weight: 300; margin-bottom: 20px; }
@media (max-width: 900px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-sections { display: flex; flex-direction: column; gap: 48px; margin-top: 48px; }
.faq-section { border-top: 1px solid var(--border); padding-top: 32px; }
.faq-section-heading { font-family: var(--serif); font-size: 22px; color: var(--foreground); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; }
.faq-question { font-weight: 600; font-size: 16px; color: var(--foreground); padding: 16px 0 8px; border-top: 1px solid var(--border); }
.faq-answer { font-size: 15px; color: var(--muted-foreground); line-height: 1.65; padding: 0 0 16px; margin: 0; }
.faq-answer p { margin: 0; }
.faq-coming-soon { background: var(--card); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted-foreground); margin-top: 48px; }
.faq-coming-soon a { color: var(--primary); text-decoration: none; }
.faq-coming-soon a:hover { text-decoration: underline; }

/* ===== DARK MODE ===== */

/* Theme toggle button */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none;
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; color: var(--muted-foreground); transition: color 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--foreground); border-color: var(--border); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* Dark token overrides — manual toggle */
[data-theme="dark"] {
  --background: hsl(20, 15%, 10%);
  --foreground: hsl(36, 33%, 97%);
  --card: hsl(20, 12%, 14%);
  --card-foreground: hsl(36, 33%, 97%);
  --primary: hsl(351, 82%, 47%);
  --secondary: hsl(20, 10%, 18%);
  --secondary-foreground: hsl(36, 33%, 97%);
  --muted: hsl(20, 10%, 18%);
  --muted-foreground: hsl(36, 15%, 60%);
  --border: hsl(20, 10%, 20%);
  --coral-light: hsl(351, 82%, 15%);
  --white: #1E1E1E;
}

/* Dark token overrides — OS preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: hsl(20, 15%, 10%);
    --foreground: hsl(36, 33%, 97%);
    --card: hsl(20, 12%, 14%);
    --card-foreground: hsl(36, 33%, 97%);
    --primary: hsl(351, 82%, 47%);
    --secondary: hsl(20, 10%, 18%);
    --secondary-foreground: hsl(36, 33%, 97%);
    --muted: hsl(20, 10%, 18%);
    --muted-foreground: hsl(36, 15%, 60%);
    --border: hsl(20, 10%, 20%);
    --coral-light: hsl(351, 82%, 15%);
    --white: #1E1E1E;
  }
}

/* Toggle icon swap in dark mode */
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* Nav frosted glass — dark variant */
[data-theme="dark"] nav[aria-label="Main navigation"] { background: hsla(20, 15%, 10%, 0.92); }
[data-theme="dark"] .mobile-menu { background: hsla(20, 15%, 10%, 0.97); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) nav[aria-label="Main navigation"] { background: hsla(20, 15%, 10%, 0.92); }
  :root:not([data-theme="light"]) .mobile-menu { background: hsla(20, 15%, 10%, 0.97); }
}

/* Dark sections keep their original dark appearance in dark mode.
   These sections already use dark backgrounds with light text (hardcoded rgba
   or token-based). Scoping the tokens back to light-mode values prevents
   double-inversion. */
/* Dark sections — prevent double-inversion */
[data-theme="dark"] .stats-stripe,
[data-theme="dark"] .cfs-cta,
[data-theme="dark"] .register-interest {
  --foreground: hsl(20, 10%, 12%);
  --background: hsl(36, 33%, 97%);
  --card: hsl(36, 30%, 95%);
  --muted-foreground: hsl(20, 5%, 45%);
  --border: hsl(36, 15%, 88%);
  --coral-light: hsl(351, 82%, 95%);
  --white: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stats-stripe,
  :root:not([data-theme="light"]) .cfs-cta,
  :root:not([data-theme="light"]) .register-interest {
    --foreground: hsl(20, 10%, 12%);
    --background: hsl(36, 33%, 97%);
    --card: hsl(36, 30%, 95%);
    --muted-foreground: hsl(20, 5%, 45%);
    --border: hsl(36, 15%, 88%);
    --coral-light: hsl(351, 82%, 95%);
    --white: #FFFFFF;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-grid { grid-template-columns: 1fr; }
  .venue-transport-grid { grid-template-columns: 1fr; }
  .tracks-grid { grid-template-columns: 1fr; }
  .prev-speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .cfs-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter .newsletter-input-group { flex-direction: column; }
  .footer-newsletter .newsletter-input-group button { width: 100%; justify-content: center; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .schedule-table thead { display: none; }
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; width: 100%; }
  .schedule-table tr { padding: 16px; border-bottom: 1px solid var(--border); }
  .schedule-table td { padding: 2px 0; }
  .schedule-table td.sch-time { font-size: 12px; margin-bottom: 4px; }
  .schedule-table td:empty { display: none; }
}

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