:root {
  --ink: #0f2a52;
  --ink-2: #1a4b8c;
  --paper: #fbfaf6;
  --paper-2: #f3eedf;
  --stripe: #e8e0c8;
  --gold: #f0a020;
  --gold-soft: #fde8b8;
  --muted: #6b7a92;
  --line: rgba(15, 42, 82, 0.12);
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ───── skip to content (a11y) ───── */
.skip-link {
  position: absolute;
  left: 50%; top: 8px;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(15, 42, 82, 0.3);
  transition: transform .2s ease;
}
.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ───── nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
}
.nav-logo img {
  height: 118px; width: auto;
  max-width: 230px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 4px 12px rgba(15,42,82,0.15));
  transition: transform .2s;
}
.nav-logo:hover img { transform: scale(1.04); }
.nav-links {
  display: flex; gap: 28px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
}
.lang-btn {
  background: none; border: none; padding: 0;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
  cursor: pointer; font-weight: 500;
  transition: color .15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { color: var(--ink); font-weight: 700; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; padding: 4px;
  cursor: pointer; flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-logo img { height: 48px; max-width: 120px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(251, 250, 246, 0.98);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px var(--pad) 16px;
    gap: 0;
    z-index: 49;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
  }
  .nav-links a:last-child { border-bottom: none; }
}

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary {
  background: var(--ink); color: var(--paper);
}
.btn-primary:hover { background: var(--gold); color: var(--ink); border-color: var(--ink); }
.btn-gold {
  background: var(--gold); color: var(--ink); border-color: var(--ink);
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 12px; }

/* ───── hero ───── */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-strip {
  background: var(--ink);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding: 8px var(--pad);
  display: flex; gap: 32px;
  white-space: nowrap;
  overflow: hidden;
}
.hero-strip-track {
  display: flex; gap: 32px;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-strip span::before { content: "★ "; color: var(--paper); margin-right: 6px; opacity: .6; }

.hero-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--pad) clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .hero-main { grid-template-columns: 1fr; } }

.hero-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-meta .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

.hero-title {
  font-size: clamp(38px, 5.4vw, 80px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  font-feature-settings: "ss01";
}
.hero-title em {
  font-style: italic;
  font-weight: 900;
  color: var(--gold);
}

.hero-tagline {
  margin: 20px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 540px;
  font-weight: 400;
}
.hero-tagline strong { font-weight: 700; }

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}

/* terminal card */
.terminal {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 18px 20px 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  box-shadow: 0 30px 60px -20px rgba(15,42,82,0.35),
              0 8px 20px -8px rgba(15,42,82,0.25);
}
.terminal-bar {
  display: flex; gap: 6px; align-items: center;
  margin-bottom: 16px;
}
.terminal-bar .led { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.terminal-bar .led.r { background: #ff5f56; }
.terminal-bar .led.y { background: #ffbd2e; }
.terminal-bar .led.g { background: #27c93f; }
.terminal-bar .path {
  margin-left: auto;
  font-size: 10px;
  opacity: 0.55;
}
.terminal .prompt { color: var(--gold); }
.terminal .dim { color: rgba(232,237,245,0.5); }
.terminal .arr { color: var(--gold); }
.terminal .badge {
  background: var(--gold); color: var(--ink);
  padding: 1px 8px; border-radius: 3px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* countdown */
.countdown {
  display: flex; gap: 8px;
  margin: 14px 0;
}
.cd-cell {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,237,245,0.15);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.cd-cell .n { font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-cell .l { font-size: 9px; opacity: 0.6; margin-top: 4px; letter-spacing: 0.15em; }

/* ───── stats banner ───── */
.stats {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
.stat .n {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* ───── section base ───── */
.section {
  padding: clamp(60px, 8vw, 110px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-eyebrow::before { content: "// "; opacity: 0.6; }
.section-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
  max-width: 12ch;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ───── about ───── */
.about {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.about::after {
  content: '';
  position: absolute;
  bottom: -5%; right: -4%;
  width: 72%;
  height: 90%;
  background: url('assets/sit-paris-skyline.webp') center bottom / contain no-repeat;
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}
.about .section { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .about::after {
    width: 100%;
    right: 0;
    bottom: 0;
    height: 50%;
    opacity: 0.09;
  }
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-lead {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.about-lead em {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}
.about-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.about-body p { margin: 0 0 16px; }
.about-body p:last-child { margin: 0; }

/* ───── tracks ───── */
#tracks {
  position: relative;
}
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
@media (max-width: 720px) { .tracks-grid { grid-template-columns: 1fr; } }
.track {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--paper);
  position: relative;
  transition: background .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.track:hover { background: var(--paper-2); }
.track-head { display: flex; align-items: baseline; gap: 10px; }
.track-num {
  font-family: var(--mono);
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.track-title {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}
.track-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.8;
}
.track-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-2);
}

/* ───── speakers wall ───── */
.speakers-head .section-sub { font-style: italic; }
.speakers-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) { .speakers-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .speakers-row { grid-template-columns: repeat(2, 1fr); } }
.speaker-cell {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.speaker-avatar {
  width: clamp(100px, 14vw, 168px);
  height: clamp(100px, 14vw, 168px);
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px dashed var(--muted);
  background:
    repeating-linear-gradient(45deg,
      transparent 0 6px,
      rgba(240,160,32,0.18) 6px 7px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  transition: transform .2s, border-color .2s;
}
.speaker-cell:hover .speaker-avatar {
  transform: scale(1.04);
  border-color: var(--ink);
}
.speaker-name-stub {
  width: 60%;
  height: 4px;
  border-radius: 2px;
  background: var(--muted);
  opacity: 0.4;
}
.speaker-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: -0.01em;
}
img.speaker-avatar {
  object-fit: cover;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-style: solid;
}
.sponsor-slot > a {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.sponsor-slot img {
  max-width: 65%;
  max-height: 55%;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.55);
  transition: filter .3s ease;
}
.sponsor-slot:hover img {
  filter: grayscale(0%) opacity(1);
}
.speaker-linkedin {
  width: 16px; height: 16px;
  color: #0a66c2;
  opacity: 0.7;
  transition: opacity .2s;
}
.speaker-cell:hover .speaker-linkedin {
  opacity: 1;
}
.speaker-cta {
  border-radius: 14px;
  background: var(--gold);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 20px 14px;
  min-height: clamp(140px, 18vw, 175px);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 0 0 var(--ink);
}
.speaker-cta:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
}
.speaker-cta-title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.speaker-cta-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ───── cfp ───── */
.cfp {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  position: relative;
  overflow: hidden;
}
.cfp::before, .cfp::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--gold) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}
.cfp::before { top: -100px; left: -100px; }
.cfp::after { bottom: -100px; right: -100px; }
.cfp-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.cfp-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  font-weight: 700;
}
.cfp-title {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 16px 0 24px;
}
.cfp-title em {
  color: var(--gold);
  font-style: italic;
}
.cfp-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 36px;
  opacity: 0.85;
}
.cfp-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 48px auto 0;
}
@media (max-width: 720px) { .cfp-formats { grid-template-columns: repeat(2, 1fr); } }
.fmt {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}
.fmt .d {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.fmt .l {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ───── venue ───── */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 800px) { .venue-grid { grid-template-columns: 1fr; } }
.venue-img {
  aspect-ratio: 4/3;
  border: 1px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}
.venue-img iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(1.05);
}
.venue-img-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.venue-img-cap .pin { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.venue-info dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px 24px;
  margin: 24px 0 0;
  font-family: var(--mono); font-size: 13px;
}
.venue-info dt {
  color: var(--muted); letter-spacing: 0.05em;
  font-size: 11px; text-transform: uppercase;
  align-self: center;
}
.venue-info dd { margin: 0; }

/* ───── sponsors ───── */
.sponsors {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sponsor-grid-flat {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 56px 0 40px;
}
@media (max-width: 900px) { .sponsor-slot { flex-basis: calc(50% - 10px); } }
.sponsor-slot {
  flex: 0 1 calc(25% - 15px);
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  transition: transform .2s, box-shadow .2s;
}
.sponsor-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(15,42,82,0.12);
}
.sponsor-cta {
  margin-top: 40px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  justify-content: center;
}

/* ───── faq ───── */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin-right: 16px;
  font-weight: 500;
}
.faq-item .plus {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--gold);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item .ans {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.8;
  max-width: 70ch;
  padding-left: 36px;
}

/* ───── footer ───── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 6vw, 72px) var(--pad) 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; opacity: 0.75; }
.footer ul a:hover { opacity: 1; color: var(--gold); }
.footer-brand img { height: 56px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { font-size: 14px; line-height: 1.6; opacity: 0.7; max-width: 36ch; }
.footer-bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--mono); font-size: 11px; opacity: 0.6;
  flex-wrap: wrap;
}

/* ───── utility ───── */
.divider-glyph {
  text-align: center; padding: 24px 0;
  font-family: var(--mono); font-size: 12px;
  color: var(--gold); letter-spacing: 0.4em;
}

/* ───── dark mode toggle button ───── */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: color .15s, border-color .15s, background .15s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--paper-2);
}
.theme-toggle svg { width: 14px; height: 14px; pointer-events: none; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ───── dark mode ───── */
[data-theme="dark"] {
  --ink:       #cdd9f0;
  --ink-2:     #8aaed8;
  --paper:     #0b1929;
  --paper-2:   #0e1f34;
  --stripe:    #142035;
  --gold:      #f0a020;
  --gold-soft: #2a1a00;
  --muted:     #6d84a8;
  --line:      rgba(200, 220, 255, 0.1);
}

/* Nav backdrop */
[data-theme="dark"] .nav {
  background: rgba(11, 25, 41, 0.92);
}
[data-theme="dark"] .nav-links {
  background: rgba(11, 25, 41, 0.98);
}

/* "Dark" sections that use --ink as bg → keep them deep navy,
   and restore light text since --paper is now dark in dark mode */
[data-theme="dark"] .hero-strip { background: #060f1e; }
[data-theme="dark"] .stats      { background: #060f1e; border-bottom-color: #060f1e; color: #cdd9f0; }
[data-theme="dark"] .cfp        { background: #060f1e; border-top-color: #060f1e;    color: #cdd9f0; }
[data-theme="dark"] .terminal   { background: #060f1e; color: #cdd9f0; }
[data-theme="dark"] .footer     { background: #060f1e; color: #cdd9f0; }

/* Stat sublabels */
[data-theme="dark"] .stat .l { color: rgba(200, 220, 255, 0.45); }

/* Countdown cells: keep subtle border visible on very dark bg */
[data-theme="dark"] .cd-cell {
  background: rgba(255,255,255,0.04);
  border-color: rgba(200,220,255,0.12);
}

/* Decorative star before strip spans — make it gold so it reads */
[data-theme="dark"] .hero-strip-track span::before { color: var(--gold); }

/* CFP sub text */
[data-theme="dark"] .cfp-sub { opacity: 0.8; }

/* Footer links */
[data-theme="dark"] .footer ul a { color: #cdd9f0; }
[data-theme="dark"] .footer-brand p { color: rgba(200,220,255,0.65); }

/* Primary button: use gold on dark bg instead of light-blue-on-dark */
[data-theme="dark"] .btn-primary {
  background: var(--gold);
  color: #060f1e;
  border-color: var(--gold);
}
[data-theme="dark"] .btn-primary:hover {
  background: #fff;
  color: #060f1e;
  border-color: #fff;
}

/* Sponsor logos: brighten greyscale so they're readable on dark */
[data-theme="dark"] .sponsor-slot img {
  filter: grayscale(100%) brightness(1.8) opacity(0.55);
}
[data-theme="dark"] .sponsor-slot:hover img {
  filter: grayscale(0%) brightness(1.1) opacity(1);
}

/* Skyline watermark: invert so it reads as light on dark bg */
[data-theme="dark"] .about::after {
  filter: invert(1) brightness(1.8);
  opacity: 0.07;
}

/* Nav logo → blanc en dark mode */
[data-theme="dark"] .nav-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* Icônes LinkedIn → blanc/gris visible sur fond sombre */
[data-theme="dark"] .speaker-linkedin {
  color: #fff;
  opacity: 0.55;
}
[data-theme="dark"] .speaker-cell:hover .speaker-linkedin {
  opacity: 1;
}

/* ───── pre-event (la veille) ───── */
.preevent-wrap { max-width: 560px; margin: 44px auto 0; }
.preevent-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 14px 44px -18px rgba(15, 42, 82, 0.2);
}
.preevent-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gold-soft); color: var(--ink);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
.preevent-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.preevent-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.preevent-icon svg { width: 26px; height: 26px; }
.preevent-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.preevent-sub2 { font-size: 14px; color: var(--muted); margin: 3px 0 0; }
.preevent-meta { display: grid; gap: 11px; margin: 0 0 22px; }
.preevent-meta-row { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink); }
.preevent-meta-row svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.preevent-desc { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.preevent-prereq {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--gold-soft);
  border: 1px solid rgba(240, 160, 32, 0.35);
  border-radius: 12px;
  padding: 13px 15px;
  margin: 0 0 24px;
  font-size: 13px; line-height: 1.5; color: var(--ink);
}
.preevent-prereq svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 1px; }
.preevent-prereq strong { font-weight: 700; }
.preevent-prereq a {
  color: var(--ink); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap;
}
[data-theme="dark"] .preevent-prereq { color: #f3eedf; border-color: rgba(240, 160, 32, 0.3); }
[data-theme="dark"] .preevent-prereq a { color: var(--gold); }
.preevent-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.preevent-note { font-size: 12.5px; color: var(--muted); }

[data-theme="dark"] .preevent-card {
  background: var(--paper-2);
  border-color: rgba(200, 220, 255, 0.12);
}
[data-theme="dark"] .preevent-icon { background: var(--gold); color: #060f1e; }

/* ───── register modal ───── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(15, 42, 82, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; }
.modal-card {
  position: relative;
  width: 100%; max-width: 440px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 60px -12px rgba(15, 42, 82, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform .2s ease;
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--muted);
  width: 36px; height: 36px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--stripe); color: var(--ink); }
.modal-icon { font-size: 40px; margin-bottom: 12px; }
.modal-title {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 12px; color: var(--ink);
}
.modal-text {
  font-size: 15px; line-height: 1.55; color: var(--muted);
  margin: 0 auto 24px; max-width: 360px;
}
.modal-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.modal-dismiss { color: var(--muted); }

[data-theme="dark"] .modal-overlay { background: rgba(2, 8, 18, 0.7); }
[data-theme="dark"] .modal-card {
  background: var(--paper-2);
  border-color: rgba(200, 220, 255, 0.12);
}
[data-theme="dark"] .modal-close:hover { background: rgba(255,255,255,0.08); }

/* Carte "+ Toi ?" → texte très sombre sur fond gold pour le contraste */
[data-theme="dark"] .speaker-cta,
[data-theme="dark"] .speaker-cta-title,
[data-theme="dark"] .speaker-cta-sub {
  color: #060f1e;
}
