/* ──────────────────────────────────────────────
   ParamSAT — shared stylesheet
   ────────────────────────────────────────────── */

/* Tokens — light theme */
:root {
  --bg:           #faf9f6;
  --bg-elev:      #ffffff;
  --bg-subtle:    #f1efe9;
  --text:         #16181d;
  --text-soft:    #3d4350;
  --muted:        #6b7280;
  --border:       #e6e1d6;
  --border-soft:  #efeae0;
  --accent:       #2855d9;
  --accent-soft:  #4a72e6;
  --accent-tint:  rgba(40, 85, 217, 0.08);
  --accent-glow:  rgba(40, 85, 217, 0.25);
  --hero-bg:      #0b1638;
  --hero-bg-2:    #142a6b;
  --hero-text:    #e8ecf5;
  --hero-muted:   #9aabd0;
  --hero-accent:  #8aabff;
  --nav-bg:       rgba(11, 22, 56, 0.92);
  --nav-bg-solid: #0b1638;
  --nav-text:     #c6cee0;
  --nav-text-hi:  #ffffff;
  --card-shadow:  0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 1px 2px rgba(15, 23, 42, 0.06), 0 18px 40px -16px rgba(40, 85, 217, 0.22);
  --break-bg:     #f4f1ea;
  --plenary-bg:   #fff8e6;
  --plenary-bd:   #e7d8a8;
  --social-bg:    linear-gradient(135deg, #2855d9 0%, #4a72e6 100%);

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --max-w:        880px;
  --max-w-wide:   1040px;
  --content-pad:  clamp(18px, 4vw, 32px);

  --t-fast:       150ms;
  --t-base:       240ms;
  --t-slow:       400ms;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tokens — dark theme */
:root[data-theme="dark"] {
  --bg:           #0a0c12;
  --bg-elev:      #11141c;
  --bg-subtle:    #161a24;
  --text:         #ecedf0;
  --text-soft:    #c0c4cf;
  --muted:        #8a90a0;
  --border:       #232734;
  --border-soft:  #1c2030;
  --accent:       #6b8dff;
  --accent-soft:  #8aabff;
  --accent-tint:  rgba(107, 141, 255, 0.12);
  --accent-glow:  rgba(107, 141, 255, 0.35);
  --hero-bg:      #06091a;
  --hero-bg-2:    #0e1740;
  --hero-text:    #ecedf0;
  --hero-muted:   #8aa0d4;
  --hero-accent:  #a3bcff;
  --nav-bg:       rgba(6, 9, 26, 0.85);
  --nav-bg-solid: #06091a;
  --nav-text:     #b8c0d4;
  --nav-text-hi:  #ffffff;
  --card-shadow:  0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 40px -16px rgba(107, 141, 255, 0.28);
  --break-bg:     #181b25;
  --plenary-bg:   #1e1a14;
  --plenary-bd:   #3b3526;
  --social-bg:    linear-gradient(135deg, #4a6cdc 0%, #6b8dff 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--accent-soft); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ──────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
  color: var(--hero-text);
  padding: clamp(28px, 5vw, 56px) var(--content-pad) clamp(34px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(74, 114, 230, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 45% 50% at 85% 70%, rgba(107, 141, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 100%, rgba(138, 171, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: heroDrift 24s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

@keyframes heroDrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-3%, 2%, 0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 12px var(--hero-accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 18px;
}

.hero h1 strong {
  font-weight: 600;
  background: linear-gradient(135deg, var(--hero-accent) 0%, #b9cfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: var(--hero-accent);
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-weight: 500;
}

.hero-tagline {
  margin-top: 24px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: #b8c4dc;
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.6;
  font-weight: 300;
}

/* Compact hero variant for sub-pages */
.hero.hero-compact {
  padding: clamp(48px, 8vw, 80px) var(--content-pad) clamp(52px, 9vw, 90px);
}
.hero.hero-compact h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); margin-bottom: 14px; }
.hero.hero-compact .hero-tagline { margin-top: 14px; max-width: 600px; }

/* ──────────────────────────────────────────────
   Theme toggle (fixed)
   ────────────────────────────────────────────── */
.theme-toggle {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: 16px;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 22, 56, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.theme-toggle:hover { transform: scale(1.08); background: rgba(40, 85, 217, 0.6); }
.theme-toggle:active { transform: scale(0.96); }

.theme-toggle svg { width: 18px; height: 18px; stroke-width: 2; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle {
  background: rgba(20, 24, 36, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ──────────────────────────────────────────────
   Nav
   ────────────────────────────────────────────── */
nav.site-nav {
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--t-base) var(--ease);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 var(--content-pad);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

.nav-links a {
  display: block;
  padding: 16px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-text);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--hero-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.nav-links a:hover { color: var(--nav-text-hi); }
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a.is-active { color: var(--nav-text-hi); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--nav-text-hi);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  transition: background var(--t-fast) var(--ease);
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }

.nav-toggle .bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.nav-toggle .bar:nth-child(1) { transform: translate(-50%, -7px); }
.nav-toggle .bar:nth-child(2) { transform: translate(-50%, 0); }
.nav-toggle .bar:nth-child(3) { transform: translate(-50%, 7px); }

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

.nav-brand {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--nav-text-hi);
  text-transform: uppercase;
  padding: 14px 0;
  margin-right: 22px;
  display: none;
}
.nav-brand .dot { color: var(--hero-accent); }

/* ──────────────────────────────────────────────
   Page wrapper
   ────────────────────────────────────────────── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 64px) var(--content-pad) clamp(60px, 10vw, 100px);
}

.page.page-wide { max-width: var(--max-w-wide); }

/* ──────────────────────────────────────────────
   Section headings
   ────────────────────────────────────────────── */
.section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

/* ──────────────────────────────────────────────
   About / generic card
   ────────────────────────────────────────────── */
.about-card, .card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 36px);
  margin-bottom: clamp(32px, 6vw, 48px);
  position: relative;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(24px, 5vw, 36px);
  right: clamp(24px, 5vw, 36px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 0 0 3px 3px;
}

.about-card p, .card p {
  color: var(--text-soft);
  font-size: clamp(0.95rem, 2.4vw, 1rem);
  line-height: 1.75;
}

.about-card p + p, .card p + p { margin-top: 14px; }
.about-card strong, .card strong { color: var(--text); font-weight: 600; }

/* ──────────────────────────────────────────────
   Lede / intro paragraph
   ────────────────────────────────────────────── */
.lede {
  color: var(--text-soft);
  font-size: clamp(0.95rem, 2.4vw, 1rem);
  line-height: 1.7;
  margin-bottom: clamp(16px, 3vw, 24px);
  max-width: 720px;
}
.lede a { font-weight: 500; }
.lede strong { color: var(--text); font-weight: 600; }

/* ──────────────────────────────────────────────
   Info grid
   ────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: clamp(32px, 6vw, 48px);
}

.info-tile {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  box-shadow: var(--card-shadow);
}

.info-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-tint);
}

.info-tile .tile-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-tile .tile-label svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  color: var(--accent);
  opacity: 0.9;
}

.info-tile .tile-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-tile .tile-value a { color: var(--accent); }
.info-tile .tile-value a:hover { text-decoration: underline; }

/* ──────────────────────────────────────────────
   Profile
   ────────────────────────────────────────────── */
.profile {
  display: flex;
  gap: clamp(20px, 4vw, 28px);
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 28px);
  margin-bottom: clamp(32px, 6vw, 48px);
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.profile-photo {
  flex: 0 0 auto;
  width: clamp(96px, 22vw, 140px);
  height: clamp(96px, 22vw, 140px);
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, #6b8dff 60%, #a3bcff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 28px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.profile-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}

.profile-body { flex: 1; min-width: 0; }

.profile-body h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.15rem);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.profile-body .profile-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.profile-body p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ──────────────────────────────────────────────
   Organisers
   ────────────────────────────────────────────── */
.organiser-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: clamp(32px, 6vw, 48px);
}

.organiser-list li {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.organiser-list li:hover {
  border-color: var(--accent-tint);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.organiser-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.organiser-list a {
  color: var(--text);
  font-weight: 500;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.organiser-list a::after {
  content: '↗';
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.organiser-list a:hover { color: var(--accent); }
.organiser-list a:hover::after { transform: translate(2px, -2px); color: var(--accent); }

/* ──────────────────────────────────────────────
   Sponsors
   ────────────────────────────────────────────── */
.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 6vw, 48px);
}

.sponsor-badge {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.sponsor-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.sponsor-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-tint);
}

/* ──────────────────────────────────────────────
   Contact bar
   ────────────────────────────────────────────── */
.contact-bar {
  background: linear-gradient(135deg, var(--accent-tint) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  min-width: 0;
}

.contact-bar > * { min-width: 0; }
.contact-bar strong { color: var(--text); font-weight: 600; flex-shrink: 0; }
.contact-bar span { flex-shrink: 0; }
.contact-bar a {
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* ──────────────────────────────────────────────
   Divider
   ────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: clamp(32px, 6vw, 44px) 0;
}

/* ──────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--content-pad);
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────────
   Prose — long-form content (Travel, Sights, ...)
   ────────────────────────────────────────────── */
.prose {
  font-size: clamp(0.95rem, 2.4vw, 1rem);
  color: var(--text-soft);
  line-height: 1.75;
}

.prose > * + * { margin-top: 16px; }

.prose h2 {
  font-size: clamp(1.4rem, 3.6vw, 1.7rem);
  font-weight: 500;
  color: var(--text);
  margin-top: clamp(28px, 5vw, 40px);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.prose h2::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  align-self: center;
}

.prose h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  margin-top: clamp(20px, 4vw, 28px);
  margin-bottom: 4px;
}

.prose p { color: var(--text-soft); }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose em, .prose i { color: var(--text); }

.prose ul, .prose ol {
  padding-left: 22px;
  color: var(--text-soft);
}
.prose ul li, .prose ol li { margin: 6px 0; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-weight: 500; }

.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }

.prose img {
  border-radius: var(--radius);
  margin: 20px 0;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.prose figure { margin: 24px 0; }
.prose figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
  margin-top: 8px;
  text-align: center;
}

/* Floating image (for venue food map) */
.prose .float-right {
  float: right;
  max-width: 50%;
  margin: 6px 0 16px 24px;
}

@media (max-width: 720px) {
  .prose .float-right {
    float: none;
    max-width: 100%;
    margin: 16px 0;
  }
}

/* ──────────────────────────────────────────────
   Programme / Schedule
   ────────────────────────────────────────────── */
.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
}

.schedule-meta a {
  color: var(--accent);
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.schedule-meta a:hover { background: var(--accent); color: #fff; text-decoration: none; }
.schedule-meta .label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.day-block { margin-top: clamp(28px, 5vw, 44px); }

.day-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}

.day-header h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.day-header .day-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.schedule-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease);
}

.schedule-row:last-child { border-bottom: none; }
.schedule-row:hover { background: var(--accent-tint); }

.time-cell {
  flex: 0 0 120px;
  padding: 16px 16px 16px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-weight: 500;
}

.content-cell {
  flex: 1;
  padding: 16px 0 16px 20px;
  border-left: 1px solid var(--border);
  min-width: 0;
}

/* Break rows */
.schedule-row.break .content-cell {
  background: var(--break-bg);
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Plenary / spotlight */
.schedule-row.plenary .content-cell {
  background: var(--plenary-bg);
  border-left-color: var(--plenary-bd);
}

/* Social */
.schedule-row.social .time-cell { color: var(--accent-soft); }
.schedule-row.social .content-cell {
  background: var(--social-bg);
  color: #fff;
  border-left-color: transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.schedule-row.social:hover { background: transparent; }
.schedule-row.social .talk-title { color: #fff; }
.schedule-row.social .talk-authors { color: rgba(255,255,255,0.78); }

.talk { padding: 4px 0; }
.talk + .talk {
  border-top: 1px dashed var(--border);
  margin-top: 10px;
  padding-top: 12px;
}

.talk-authors {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.talk-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.talk-title a { color: var(--accent); }
.talk-title a:hover { text-decoration: underline; }

.talk-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}
.badge.invited  { border-color: #b07d2a; color: #b07d2a; background: #fdf6e3; }
.badge.online   { border-color: var(--muted); color: var(--muted); background: var(--bg-subtle); }
.badge.chair    { border-color: var(--border); color: var(--muted); background: transparent; font-style: italic; }
:root[data-theme="dark"] .badge.invited { color: #e6c075; background: #2a2014; border-color: #5c4a26; }

.slides-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.slides-link:hover { text-decoration: underline; }

.session-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* TBA placeholder */
.tba {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 10vw, 80px) 24px;
  background: var(--bg-elev);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.tba .tba-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.tba .tba-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.tba h2 {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
}
.tba p {
  font-size: 0.95rem;
  max-width: 420px;
}

/* ──────────────────────────────────────────────
   Entrance animations
   ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-links a { padding: 14px 11px; font-size: 0.68rem; }
}

@media (max-width: 720px) {
  .nav-brand { display: block; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--nav-bg-solid);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow) var(--ease), padding var(--t-base) var(--ease);
    box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.4);
  }

  .nav-links.is-open {
    max-height: 600px;
    padding: 8px 0 12px;
  }

  .nav-links a {
    padding: 14px var(--content-pad);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.04); }
  .nav-links a.is-active { background: var(--accent); color: #fff; }

  /* Schedule mobile: stack time over content */
  .schedule-row { flex-direction: column; }
  .time-cell {
    flex: 0 0 auto;
    padding: 14px 0 4px;
    font-size: 0.72rem;
    color: var(--accent);
  }
  .content-cell {
    padding: 4px 0 16px;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
  .schedule-row.break .content-cell,
  .schedule-row.plenary .content-cell,
  .schedule-row.social .content-cell {
    padding-left: 14px;
    padding-right: 14px;
    border-radius: var(--radius-sm);
  }
  .schedule-row.social .time-cell { color: var(--accent-soft); }
}

@media (max-width: 520px) {
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .organiser-list { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .info-grid { grid-template-columns: 1fr; }
}
