:root {
  --electric: #FF4D1C;
  --electric-light: #FF7A52;
  --electric-pale: #FFF0EB;
  --ink: #0D0D0D;
  --ink-80: #1A1A1A;
  --ink-60: #404040;
  --ink-40: #808080;
  --paper: #FAFAF7;
  --paper-warm: #F5F3EE;
  --white: #FFFFFF;
  --accent-gold: #F5C842;
  --accent-teal: #00B89C;
  --border: rgba(13,13,13,0.1);
  --border-strong: rgba(13,13,13,0.2);
  --nav-h: 68px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); overflow-x: hidden; }

/* ===== UTILITIES ===== */
.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(--electric); }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--electric-pale); color: var(--electric); 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(--electric); color: var(--white); 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(--ink); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 13px 27px; border-radius: var(--radius-pill); border: 1.5px solid var(--border-strong); cursor: pointer; text-decoration: none; transition: all 0.15s; white-space: nowrap; }
.btn-secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; color: var(--electric); 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: rgba(250,250,247,0.92); 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-mark { width: 32px; height: 32px; background: var(--electric); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-mark svg { width: 18px; height: 18px; }
.nav-logo-text { font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-60); font-size: 14px; font-weight: 400; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.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 100px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.5; }
.hero-bg-orb { position: absolute; right: -200px; top: -100px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,28,0.12) 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.hero-date-pill { background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: var(--radius-pill); letter-spacing: 0.03em; }
.hero-city-pill { background: var(--paper-warm); color: var(--ink-60); font-size: 12px; font-weight: 400; padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); }
h1.hero-title { font-family: var(--serif); font-size: clamp(52px, 6vw, 84px); line-height: 1.0; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 12px; }
h1.hero-title em { font-style: italic; color: var(--electric); }
.hero-tagline { font-size: 20px; color: var(--ink-60); font-weight: 300; margin-bottom: 40px; line-height: 1.4; }
.hero-tagline strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 8px; margin-top: 36px; }
.hero-trust-text { font-size: 13px; color: var(--ink-40); }
.hero-trust-dots { display: flex; gap: -4px; }
.hero-stat-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-warm); border: 2px solid var(--paper); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--ink-60); margin-left: -6px; }
/* Hero card */
.hero-card { background: var(--white); border-radius: 24px; border: 1px solid var(--border); padding: 36px; box-shadow: 0 24px 80px rgba(13,13,13,0.08); }
.hero-card-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 20px; }
.hero-mission { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink); margin-bottom: 28px; }
.hero-pillars { display: flex; flex-direction: column; gap: 12px; }
.hero-pillar { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--paper); border-radius: var(--radius); }
.hero-pillar-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.hero-pillar-icon.orange { background: var(--electric-pale); }
.hero-pillar-icon.gold { background: rgba(245,200,66,0.15); }
.hero-pillar-icon.teal { background: rgba(0,184,156,0.1); }
.hero-pillar-body p { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.hero-pillar-body span { font-size: 12px; color: var(--ink-40); font-weight: 300; }
.vote-banner { margin-top: 20px; background: linear-gradient(135deg, var(--electric-pale), rgba(245,200,66,0.1)); border: 1px dashed var(--electric-light); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.vote-banner p { font-size: 13px; color: var(--ink); font-weight: 400; }
.vote-banner strong { color: var(--electric); font-weight: 600; }

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

/* ===== STATS BAND ===== */
.stats-band { background: var(--ink); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-item { padding: 32px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 52px; color: var(--white); line-height: 1; }
.stat-num em { color: var(--electric); font-style: normal; }
.stat-desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ===== TRACKS ===== */
#tracks { background: var(--ink-80); }
#tracks .section-header h2 { color: var(--white); }
#tracks .section-header p { color: rgba(255,255,255,0.5); }
#tracks .section-label { color: var(--electric-light); }
.tracks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.track-card { padding: 48px 40px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: border-color 0.2s; }
.track-card:hover { border-color: rgba(255,255,255,0.15); }
.track-num { font-family: var(--serif); font-size: 96px; color: rgba(255,255,255,0.04); position: absolute; top: -16px; right: 24px; line-height: 1; user-select: none; }
.track-emoji { font-size: 32px; margin-bottom: 20px; }
.track-name { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.track-name.orange { color: var(--electric-light); }
.track-name.gold { color: var(--accent-gold); }
.track-name.teal { color: var(--accent-teal); }
.track-title { font-family: var(--serif); font-size: 28px; color: var(--white); margin-bottom: 12px; line-height: 1.2; }
.track-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }
.track-topics { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.track-topics li { font-size: 13px; color: rgba(255,255,255,0.65); padding-left: 16px; position: relative; line-height: 1.4; }
.track-topics li::before { content: '→'; position: absolute; left: 0; color: rgba(255,255,255,0.25); font-size: 11px; top: 2px; }

/* ===== SPEAKERS ===== */
#speakers { background: var(--paper); }
.speakers-cta-banner { background: var(--electric); border-radius: 20px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 72px; flex-wrap: wrap; }
.speakers-cta-banner h3 { font-family: var(--serif); font-size: 36px; color: var(--white); max-width: 480px; line-height: 1.2; }
.speakers-cta-banner p { color: rgba(255,255,255,0.8); font-size: 15px; margin-top: 8px; }
.btn-white { background: var(--white); color: var(--electric); border: none; }
.btn-white:hover { background: var(--ink); color: var(--white); }
.coaching-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); color: var(--white); font-size: 13px; padding: 8px 16px; border-radius: var(--radius-pill); margin-top: 12px; }
.keynote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 56px; }
.keynote-placeholder { border: 2px dashed var(--border-strong); border-radius: 20px; padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 260px; transition: border-color 0.2s, background 0.2s; }
.keynote-placeholder:hover { border-color: var(--electric); background: var(--electric-pale); }
.keynote-placeholder .kp-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--paper-warm); border: 1.5px dashed var(--border-strong); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 16px; }
.keynote-placeholder h4 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.keynote-placeholder p { font-size: 14px; color: var(--ink-40); }
.past-speakers-label { font-size: 13px; color: var(--ink-40); text-align: center; margin-bottom: 32px; font-weight: 400; }
.speakers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.speaker-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; transition: transform 0.15s, box-shadow 0.15s; }
.speaker-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(13,13,13,0.08); }
.speaker-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--paper-warm); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; color: var(--ink-60); }
.speaker-av-1 { background: linear-gradient(135deg, #E8D5C4, #C4A882); }
.speaker-av-2 { background: linear-gradient(135deg, #C4D4E8, #82A8C4); }
.speaker-av-3 { background: linear-gradient(135deg, #D4E8C4, #A8C482); }
.speaker-av-4 { background: linear-gradient(135deg, #E8C4D4, #C482A8); }
.speaker-name { font-weight: 500; font-size: 15px; color: var(--ink); }
.speaker-role { font-size: 13px; color: var(--ink-40); margin-top: 2px; font-weight: 300; }
.speaker-talk { font-size: 13px; color: var(--ink-60); margin-top: 10px; line-height: 1.4; font-style: italic; }
.speaker-track-badge { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: var(--radius-pill); }
.badge-orange { background: var(--electric-pale); color: var(--electric); }
.badge-gold { background: rgba(245,200,66,0.15); color: #8B6D00; }
.badge-teal { background: rgba(0,184,156,0.1); color: var(--accent-teal); }

/* ===== SCHEDULE ===== */
#schedule { background: var(--paper-warm); }
.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(--ink-60); display: flex; align-items: center; gap: 10px; }
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.schedule-table thead th { background: var(--ink); 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(--paper); }
.schedule-table td { padding: 18px 24px; vertical-align: top; }
.sch-time { font-size: 13px; font-weight: 500; color: var(--ink-40); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sch-session { font-size: 15px; color: var(--ink); font-weight: 400; }
.sch-session strong { font-weight: 500; }
.sch-note { font-size: 12px; color: var(--ink-40); 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(--ink-60); }
.sch-break { background: rgba(0,184,156,0.1); color: var(--accent-teal); }
.sch-sponsor { background: var(--electric-pale); color: var(--electric); }
.sch-star { background: rgba(245,200,66,0.2); color: #8B6D00; }
.sch-optional { background: var(--paper-warm); color: var(--ink-40); font-style: italic; }
.schedule-format { background: var(--ink); 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); }

/* ===== VENUE ===== */
#venue { background: var(--paper); }
.venue-placeholder { border: 2px dashed var(--border-strong); border-radius: 24px; padding: 100px 48px; text-align: center; }
.venue-placeholder h3 { font-family: var(--serif); font-size: 32px; color: var(--ink); margin-bottom: 12px; }
.venue-placeholder p { font-size: 16px; color: var(--ink-40); max-width: 420px; margin: 0 auto; }

/* ===== QUILDATHONS ===== */
#quildathons { background: var(--ink-80); }
#quildathons .section-label { color: var(--accent-teal); }
#quildathons .section-header h2 { color: var(--white); }
#quildathons .section-header p { color: rgba(255,255,255,0.5); }
.quil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quil-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px 24px; transition: background 0.2s; }
.quil-card:hover { background: rgba(255,255,255,0.07); }
.quil-quarter { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-teal); margin-bottom: 10px; }
.quil-card h4 { font-family: var(--serif); font-size: 20px; color: var(--white); margin-bottom: 8px; }
.quil-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.quil-modes { display: flex; gap: 8px; margin-top: 16px; }
.quil-mode { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-pill); }
.quil-mode.on { background: rgba(0,184,156,0.15); color: var(--accent-teal); }
.quil-mode.off { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }
.quil-cta { background: rgba(0,184,156,0.1); border: 1px solid rgba(0,184,156,0.2); border-radius: 20px; padding: 48px; text-align: center; margin-top: 48px; }
.quil-cta h3 { font-family: var(--serif); font-size: 32px; color: var(--white); margin-bottom: 12px; }
.quil-cta p { font-size: 15px; color: rgba(255,255,255,0.5); max-width: 480px; margin: 0 auto 24px; }

/* ===== TICKETS ===== */
#tickets { background: var(--electric); }
#tickets .section-label { color: rgba(255,255,255,0.6); }
#tickets .section-header h2 { color: var(--white); }
#tickets .section-header p { color: rgba(255,255,255,0.7); }
.tickets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ticket-card { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 36px 32px; transition: background 0.2s; }
.ticket-card:hover { background: rgba(255,255,255,0.18); }
.ticket-card.featured { background: var(--white); border-color: var(--white); }
.ticket-card.featured .ticket-name { color: var(--electric); }
.ticket-card.featured .ticket-price { color: var(--ink); }
.ticket-card.featured .ticket-desc { color: var(--ink-60); }
.ticket-card.featured .ticket-perks li { color: var(--ink-60); }
.ticket-card.featured .ticket-perks li::before { color: var(--electric); }
.ticket-name { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.ticket-price { font-family: var(--serif); font-size: 48px; color: var(--white); line-height: 1; }
.ticket-price sup { font-size: 22px; font-family: var(--sans); font-weight: 300; vertical-align: top; margin-top: 10px; }
.ticket-desc { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; margin-bottom: 24px; }
.ticket-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.ticket-perks li { font-size: 14px; color: rgba(255,255,255,0.8); padding-left: 18px; position: relative; }
.ticket-perks li::before { content: '✓'; position: absolute; left: 0; color: rgba(255,255,255,0.5); font-size: 11px; top: 2px; }
.btn-ticket { display: block; text-align: center; padding: 14px; border-radius: var(--radius-pill); font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); background: transparent; transition: all 0.15s; }
.btn-ticket:hover { background: rgba(255,255,255,0.15); }
.btn-ticket.featured-btn { background: var(--electric); color: var(--white); border-color: var(--electric); }
.btn-ticket.featured-btn:hover { background: var(--ink); border-color: var(--ink); }
.sponsored-note { text-align: center; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,0.65); }
.sponsored-note a { color: var(--white); font-weight: 500; }

/* ===== IMPRESSUM ===== */
.impressum { max-width: 640px; }
.impressum-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.impressum-row dt { font-size: 13px; font-weight: 600; color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 2px; }
.impressum-row dd { font-size: 15px; color: var(--ink); line-height: 1.6; }
.impressum-notes { margin-top: 32px; padding: 20px 24px; background: var(--surface); border-radius: var(--radius); font-size: 14px; color: var(--ink-60); line-height: 1.7; }
@media (max-width: 600px) {
  .impressum-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== ABOUT ===== */
#about { background: var(--paper); }
.about-intro { max-width: 720px; margin: 0 auto 72px; font-size: 18px; color: var(--ink-60); 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 h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin-bottom: 16px; line-height: 1.2; }
.about-body { font-size: 15px; color: var(--ink-60); 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; }
}

/* ===== FOOTER ===== */
footer { background: var(--ink); padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 16px; max-width: 280px; font-weight: 300; }
.footer-col h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 10px; transition: color 0.15s; font-weight: 300; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== 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(--ink); 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: rgba(250,250,247,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(--ink-60); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--border); transition: color 0.15s; }
.mobile-menu ul a:hover { color: var(--ink); }
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-cta { margin-top: 8px; text-align: center; }

/* ===== 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(--ink); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; }
.faq-question { font-weight: 600; font-size: 16px; color: var(--ink); padding: 16px 0 8px; border-top: 1px solid var(--border); }
.faq-answer { font-size: 15px; color: var(--ink-60); line-height: 1.65; padding: 0 0 16px; margin: 0; }
.faq-answer p { margin: 0; }
.faq-coming-soon { background: var(--paper-warm); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--ink-60); margin-top: 48px; }
.faq-coming-soon a { color: var(--electric); 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(--ink-60); transition: color 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--border-strong); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* Dark token overrides — manual toggle */
[data-theme="dark"] {
  --paper: #121212;
  --paper-warm: #1A1A1A;
  --white: #1E1E1E;
  --ink: #E8E8E8;
  --ink-80: #D0D0D0;
  --ink-60: #A0A0A0;
  --ink-40: #888888;
  --border: rgba(255,255,255,0.1);
  --border-strong: rgba(255,255,255,0.2);
  --electric-pale: #2A1A14;
}

/* Dark token overrides — OS preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121212;
    --paper-warm: #1A1A1A;
    --white: #1E1E1E;
    --ink: #E8E8E8;
    --ink-80: #D0D0D0;
    --ink-60: #A0A0A0;
    --ink-40: #888888;
    --border: rgba(255,255,255,0.1);
    --border-strong: rgba(255,255,255,0.2);
    --electric-pale: #2A1A14;
  }
}

/* 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: rgba(18,18,18,0.92); }
[data-theme="dark"] .mobile-menu { background: rgba(18,18,18,0.97); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) nav[aria-label="Main navigation"] { background: rgba(18,18,18,0.92); }
  :root:not([data-theme="light"]) .mobile-menu { background: rgba(18,18,18,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. */
[data-theme="dark"] .stats-band,
[data-theme="dark"] #tracks,
[data-theme="dark"] #quildathons,
[data-theme="dark"] #tickets,
[data-theme="dark"] footer {
  --ink: #0D0D0D;
  --ink-80: #1A1A1A;
  --ink-60: #404040;
  --ink-40: #808080;
  --white: #FFFFFF;
  --paper: #FAFAF7;
  --paper-warm: #F5F3EE;
  --border: rgba(13,13,13,0.1);
  --border-strong: rgba(13,13,13,0.2);
  --electric-pale: #FFF0EB;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stats-band,
  :root:not([data-theme="light"]) #tracks,
  :root:not([data-theme="light"]) #quildathons,
  :root:not([data-theme="light"]) #tickets,
  :root:not([data-theme="light"]) footer {
    --ink: #0D0D0D;
    --ink-80: #1A1A1A;
    --ink-60: #404040;
    --ink-40: #808080;
    --white: #FFFFFF;
    --paper: #FAFAF7;
    --paper-warm: #F5F3EE;
    --border: rgba(13,13,13,0.1);
    --border-strong: rgba(13,13,13,0.2);
    --electric-pale: #FFF0EB;
  }
}

/* Badge colors that use hardcoded dark values need lighter text in dark mode */
[data-theme="dark"] .badge-gold { color: #C9A000; }
[data-theme="dark"] .sch-star { color: #C9A000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge-gold { color: #C9A000; }
  :root:not([data-theme="light"]) .sch-star { color: #C9A000; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tracks-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .keynote-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tickets-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .quil-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
