/* ── LOCAL FONTS ── */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/fraunces-italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk.ttf') format('truetype');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-bold.ttf') format('truetype');
}

:root {
  --orange: #e55c2c;
  --lilac:  #8766ff;
  --mint:   #66ffe2;
  --red:    #cc2b1d;
  --bg:           #0a0a08;
  --bg-soft:      #111110;
  --panel:        rgba(255,255,255,0.04);
  --panel-mid:    rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.09);
  --text:         #ede8df;
  --muted:        rgba(237,232,223,0.52);
  --muted2:       rgba(237,232,223,0.26);
  --border:       rgba(255,255,255,0.09);
  --border2:      rgba(255,255,255,0.15);
  --shadow:       0 20px 56px rgba(0,0,0,0.30);
  --max:          1400px;
  --mono:         'Space Mono', monospace;
  --serif:        'Fraunces', serif;
  --sans:         'Space Grotesk', sans-serif;
  --ease:         cubic-bezier(.25,.46,.45,.94);
}

body.light {
  --bg:           #f0ebe2;
  --bg-soft:      #ffffff;
  --panel:        rgba(255,255,255,0.68);
  --panel-mid:    rgba(255,255,255,0.80);
  --panel-strong: rgba(255,255,255,0.92);
  --text:         #0a0a08;
  --muted:        rgba(10,10,8,0.72);
  --muted2:       rgba(10,10,8,0.50);
  --border:       rgba(10,10,8,0.12);
  --border2:      rgba(10,10,8,0.22);
  --shadow:       0 16px 44px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--text);
  overflow-x: hidden;
  transition: color .32s var(--ease);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(10,10,8,0.7), rgba(10,10,8,0.7)), url('../img/12-pic.png');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
body.light {
  background-image: linear-gradient(rgba(240,235,226,0.75), rgba(240,235,226,0.75)), url('../img/12-pic.png');
}

/* bg-canvas hidden — background image on body */
#bg-canvas { display: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* ── CUSTOM CURSOR ── */
@media (pointer: fine) {
  * { cursor: none !important; }
}
.cursor-dot {
  position: fixed; width: 5px; height: 5px;
  background: var(--orange); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .12s, height .12s, opacity .12s;
  mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed; width: 28px; height: 28px;
  border: 1px solid rgba(229,92,44,0.35);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
}
.cursor-dot.link { width: 8px; height: 8px; background: var(--lilac); }
.cursor-ring.link { border-color: rgba(135,102,255,0.45); width: 40px; height: 40px; }

/* hide custom cursor on touch devices */
@media (hover: none), (pointer: coarse) {
  * { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── AMBIENT ── */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.ambient::before, .ambient::after {
  content: ""; position: absolute;
  width: 34vw; height: 34vw; border-radius: 999px;
  filter: blur(110px); opacity: .09;
  animation: drift 18s ease-in-out infinite alternate;
}
.ambient::before { background: var(--orange); left: -8vw; top: -8vw; }
.ambient::after  { background: var(--lilac);  right: -8vw; top: 8vw; animation-duration: 22s; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(4vw,2vw,0) scale(1.14); }
}

.site { position: relative; z-index: 2; }
.container { width: min(calc(100% - 28px), var(--max)); margin: 0 auto; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,8,.68);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background .32s var(--ease);
}
body.light nav { background: rgba(240,235,226,.85); }
.nav-inner {
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; }
.nav-logo { height: 38px; width: auto; transition: filter .32s var(--ease); }
body.light .nav-logo { filter: invert(1); }

.hero-logo { margin: 0 0 20px; }
.hero-logo-img {
  height: clamp(80px, 18vw, 140px);
  width: auto;
  display: block;
  transition: filter .32s var(--ease);
}
body.light .hero-logo-img { filter: invert(1); }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 30px; padding: 5px 3px; cursor: pointer;
  background: none; border: none; border-radius: 3px;
}
.hamburger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .26s var(--ease), opacity .18s, width .26s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-menu {
  display: none; position: absolute; top: 66px; left: 0; right: 0;
  background: rgba(10,10,8,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); z-index: 99;
}
body.light .nav-menu { background: rgba(240,235,226,.97); }
.nav-menu.open { display: block; }
.nav-menu a {
  display: block; padding: 13px 24px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
  transition: color .14s, background .14s;
}
.nav-menu a:last-child { border-bottom: none; }
.nav-menu a:hover { color: var(--text); background: var(--panel); }

.nav-right { display: flex; align-items: center; gap: 11px; }

.theme-sw { display: flex; align-items: center; gap: 6px; }
.sw-lbl {
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted2); user-select: none; transition: color .28s;
}
.sw-lbl.on { color: var(--muted); }
.sw-track {
  position: relative; width: 36px; height: 19px;
  background: var(--panel-strong); border: 1px solid var(--border2);
  border-radius: 10px; cursor: pointer; transition: background .28s;
}
.sw-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--muted2); pointer-events: none;
  transition: transform .26s var(--ease), background .28s;
}
body.light .sw-thumb { transform: translateX(17px); background: var(--muted); }

.lang-g { display: flex; border: 1px solid var(--border2); border-radius: 2px; overflow: hidden; }
.lang-b {
  padding: 4px 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  color: var(--muted2); cursor: pointer; border: none; background: none;
  transition: background .13s, color .13s;
}
.lang-b.on { background: var(--text); color: var(--bg); }

/* ── PANEL ── */
.panel {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(14px);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: background .32s, border-color .28s;
}

/* ── HERO ── */
.hero { padding: 24px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: stretch; }

.hero-copy {
  padding: clamp(24px,4vw,48px);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 560px;
}
.hero-date-badge {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.date-item {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel);
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 16px;
}
h1 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(52px,8vw,108px);
  line-height: .88; letter-spacing: -.04em; margin: 0 0 20px;
}
/* subtle float on hero h1 */
.hero-h1 { animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5%); }
}

.hero-subtitle {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted2);
  line-height: 1.7; margin-bottom: 22px; max-width: 44ch;
}
.lede {
  font-size: 15px; line-height: 1.72; color: var(--muted);
  max-width: 50ch; margin: 0 0 26px;
}
.opening-note {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: var(--orange); text-transform: uppercase;
  margin: 0 0 20px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: transform .18s var(--ease), filter .18s, background .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), #ff8558); border-color: transparent; color: #fff; }
.btn-lilac   { background: linear-gradient(135deg, var(--lilac),  #a793ff); border-color: transparent; color: #fff; }
.btn-primary:hover, .btn-lilac:hover { filter: brightness(1.08); }

/* shimmer pulse on primary button */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: -50%;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  animation: btnShimmer 4s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%, 75%, 100% { transform: translateX(-100%); }
  85% { transform: translateX(100%); }
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  margin-top: 24px;
}
.stat-item {
  background: var(--bg-soft); padding: 14px 16px; transition: background .32s;
  opacity: 0; animation: statFadeIn .6s var(--ease) forwards;
}
.stat-item:nth-child(1) { animation-delay: .15s; }
.stat-item:nth-child(2) { animation-delay: .3s; }
.stat-item:nth-child(3) { animation-delay: .45s; }
.stat-item:nth-child(4) { animation-delay: .6s; }
@keyframes statFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
body.light .stat-item { background: rgba(255,255,255,.7); }
.stat-label {
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 4px;
}
.stat-val { font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.stat-sub {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted2); margin-top: 2px; letter-spacing: .06em;
}

.hero-stage {
  padding: 16px; min-height: 560px;
  display: grid; grid-template-rows: auto 1fr; gap: 12px;
}
.stage-meta {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted2);
}
.stage-visual {
  position: relative; border-radius: 18px;
  border: 1px solid var(--border); overflow: hidden;
  background: #000;
}
.stage-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; opacity: 0.75; z-index: 0;
}
#p5-stage { position: absolute; inset: 0; z-index: 1; }
#p5-stage canvas { width: 100% !important; height: 100% !important; display: block; }

.pill-ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  margin-top: 14px;
}
.pill-track { display: flex; gap: 7px; min-width: max-content; animation: marquee 22s linear infinite; }
.pill-track span {
  white-space: nowrap; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); font-family: var(--mono); font-size: 9px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted2); background: var(--panel);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION BAR ── */
.sec-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.022); transition: background .32s;
  scroll-margin-top: 66px;
}
body.light .sec-bar { background: rgba(0,0,0,.022); }
.sec-bar-in { height: 48px; display: flex; align-items: center; justify-content: space-between; }
.sec-n { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: var(--muted2); }
.sec-t { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sec-m { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--muted2); }

/* ── TIMETABLE ── */
.timetable-wrap { padding: 28px 0 48px; }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  appearance: none; min-height: 32px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--panel); color: var(--muted);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  cursor: pointer; transition: transform .16s, background .16s, color .16s;
}
.chip:hover  { transform: translateY(-1px); background: var(--panel-strong); color: var(--text); }
.chip.active { background: var(--text); border-color: transparent; color: var(--bg); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.ev-card {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .18s, transform .2s var(--ease);
}
.ev-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.ev-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ev-format {
  font-family: var(--mono); font-size: 8px; letter-spacing: .16em;
  text-transform: uppercase; padding: 3px 9px;
  border-radius: 999px; border: 1px solid var(--border2); color: var(--muted2);
  white-space: nowrap; flex-shrink: 0;
}
.ev-format.talk      { border-color: rgba(96,165,250,.35);  color: #90bffa; }
.ev-format.workshop  { border-color: rgba(251,191,36,.3);   color: #fbbf5a; }
.ev-format.tour      { border-color: rgba(52,211,153,.28);  color: #5ddb9e; }
.ev-format.screening { border-color: rgba(204,43,29,.35);   color: #f87171; }
.ev-format.lecture   { border-color: rgba(168,85,247,.35);  color: #c084fc; }

body.light .ev-format.talk      { color:#1d4ed8; border-color:rgba(29,78,216,.28); }
body.light .ev-format.workshop  { color:#92400e; border-color:rgba(146,64,14,.28); }
body.light .ev-format.tour      { color:#166534; border-color:rgba(22,101,52,.28); }
body.light .ev-format.screening { color:#991b1b; border-color:rgba(153,27,27,.28); }
body.light .ev-format.lecture   { color:#6b21a8; border-color:rgba(107,33,168,.28); }

.ev-title {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(17px, 1.8vw, 21px); line-height: 1.1;
  letter-spacing: -.02em; color: var(--text);
}
.ev-desc {
  font-size: 12px; line-height: 1.65; color: var(--muted2); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; transition: max-height .3s ease;
}
.ev-desc.expanded {
  display: block; -webkit-line-clamp: unset; overflow: visible;
}
.ev-expand {
  border: none; background: none; padding: 0; margin-top: 4px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--lilac); cursor: pointer;
  transition: color .14s;
}
.ev-expand:hover { color: var(--text); }
.ev-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .1em; color: var(--muted2);
}
.ev-meta span { display: flex; align-items: center; gap: 5px; }
.ev-meta span::before {
  content: ''; display: inline-block;
  width: 3px; height: 3px; border-radius: 50%; background: var(--muted2);
}
.ev-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 4px; border-top: 1px solid var(--border);
}
.ev-date-block { display: flex; flex-direction: column; gap: 1px; }
.ev-date { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.ev-time { font-family: var(--mono); font-size: 9px; color: var(--muted2); letter-spacing: .08em; }

.reg-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--lilac); color: #fff; cursor: pointer;
  transition: background .16s, transform .16s; white-space: nowrap;
}
.reg-btn:hover    { background: #a793ff; color: #fff; transform: translateY(-1px); }
.reg-btn:disabled { opacity: .3; cursor: not-allowed; transform: none !important; }
.reg-count-badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: .06em;
  color: var(--muted2); padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel);
}
.reg-count-badge:empty { display: none; }
.no-results {
  padding: 60px 0; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted2);
}

/* ── TEAM ── */
.team-wrap { padding: 28px 0 48px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.person-card {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(12px);
  border-radius: 18px; padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px; cursor: pointer;
  transition: border-color .18s, transform .22s var(--ease);
}
.person-card:hover { border-color: var(--border2); transform: translateY(-4px); }

.person-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--panel-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px;
  font-weight: 300; font-style: italic;
  color: var(--muted); overflow: hidden;
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }

.person-name {
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
}
.person-role {
  font-family: var(--mono); font-size: 8px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted2);
}
.person-bio-short {
  font-size: 12px; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Person modal */
.person-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.person-modal-overlay.open {
  display: flex;
  animation: modalFadeIn .28s var(--ease);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.person-modal {
  position: relative; width: 100%; max-width: 520px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--bg-soft); border: 1px solid var(--border2);
  border-radius: 22px; box-shadow: var(--shadow);
  padding: 36px 32px;
  animation: modalSlideIn .3s var(--ease);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.person-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border); background: none;
  color: var(--muted); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .14s, background .14s;
}
.person-modal-close:hover { color: var(--text); background: var(--panel); }

.pm-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--panel-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 30px;
  font-weight: 300; font-style: italic; color: var(--muted);
  margin: 0 auto 16px; overflow: hidden;
}
.pm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pm-name { font-size: 20px; font-weight: 600; text-align: center; margin-bottom: 4px; }
.pm-role {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted2); text-align: center; margin-bottom: 16px;
}
.pm-bio { font-size: 14px; line-height: 1.72; color: var(--muted); }
.pm-link {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--muted2); text-decoration: underline; text-underline-offset: 3px;
  transition: color .14s;
}
.pm-link:hover { color: var(--text); }

/* ── REGISTER ── */
.register-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 52px; align-items: start; padding: 32px 0 52px;
}
.register-left h2 {
  font-family: var(--serif); font-size: clamp(32px,5vw,56px);
  font-weight: 300; font-style: italic;
  line-height: .94; letter-spacing: -.04em; margin-bottom: 12px;
}
.register-left p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 10px; }
.venue-block {
  margin-top: 20px; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--panel);
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--muted2); line-height: 1.8;
}
.venue-block strong {
  color: var(--muted); display: block; letter-spacing: .12em;
  text-transform: uppercase; font-size: 9px; margin-bottom: 4px;
}

.register-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted2);
}
input, select, textarea {
  width: 100%; padding: 11px 14px;
  border-radius: 11px; border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text);
  font-family: var(--sans); font-size: 14px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .18s, background .32s;
}
input:focus, select:focus, textarea:focus { border-color: var(--text); }
body.light input, body.light select, body.light textarea { background: #fff; }
textarea { min-height: 90px; padding: 11px 14px; resize: vertical; }
.submit-btn {
  width: 100%; padding: 13px; border: none; border-radius: 11px; cursor: pointer;
  background: var(--lilac); color: #fff;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  transition: background .18s, transform .18s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.submit-btn:hover    { background: #a793ff; color: #fff; transform: translateY(-2px); }
.submit-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.form-legal {
  font-family: var(--mono); font-size: 8px; letter-spacing: .08em;
  color: var(--muted2); text-align: center; line-height: 1.8;
}
.ok-box {
  display: none; padding: 40px 24px; text-align: center;
  border-radius: 18px; border: 1px solid var(--border); background: var(--panel);
}
.ok-box h3 {
  font-family: var(--sans); font-size: clamp(24px, 3vw, 22px);
  font-weight: 300;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 10px;
}
.ok-box p { font-size: 14px; color: var(--muted); }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px 0 52px; }
.about-main { padding: clamp(22px,3vw,36px); }
.about-main h3 {
  font-family: var(--sans);
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.about-main p { font-size: 14px; line-height: 1.72; color: var(--muted); margin-bottom: 10px; }
.about-main p:last-child { margin-bottom: 0; }
.about-tag {
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: block;
}
.cpdp-card { padding: clamp(22px,3vw,36px); display: flex; flex-direction: column; gap: 16px; }
.cpdp-label {
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted2);
}
.cpdp-card h3 {
  font-family: var(--sans);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.cpdp-items { display: flex; flex-direction: column; }
.cpdp-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.cpdp-item:last-child { border-bottom: none; }
.cpdp-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 5px; }

/* ── FOOTER ── */
footer { padding: 18px 0 48px; }
.footer-box {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted2);
}
.footer-box a { color: var(--muted2); transition: color .14s; }
.footer-box a:hover { color: var(--text); }

/* ── LANGUAGE VISIBILITY ── */
.lang-en [data-de] { display: none !important; }
.lang-de [data-en] { display: none !important; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── FLOAT NAV (mobile) ── */
.float-nav {
  display: none; position: fixed; bottom: 24px; right: 20px;
  z-index: 200; flex-direction: column; align-items: flex-end; gap: 8px;
}
.float-nav-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); border: none; color: #fff;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(229,92,44,0.4);
  transition: transform .2s;
}
.float-nav-btn:hover { transform: scale(1.08); }
.float-nav-menu {
  display: none; flex-direction: column; gap: 4px; align-items: flex-end;
}
.float-nav-menu.open { display: flex; }
.float-nav-menu a {
  background: var(--bg-soft); border: 1px solid var(--border);
  color: var(--text); padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; text-decoration: none;
  white-space: nowrap; backdrop-filter: blur(12px);
}

/* ── RESPONSIVE ── */

/* hide custom cursor on touch / coarse pointer */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}

/* ── LIGHT MODE contrast overrides ── */
body.light .eyebrow { color: rgba(10,10,8,0.55); }
body.light .hero-subtitle { color: rgba(10,10,8,0.55); }
body.light .stat-label { color: rgba(10,10,8,0.55); }
body.light .sec-n { color: rgba(10,10,8,0.50); }
body.light .sec-m { color: rgba(10,10,8,0.50); }
body.light .ev-meta { color: rgba(10,10,8,0.55); }
body.light .ev-time { color: rgba(10,10,8,0.55); }
body.light .pill-track span { color: rgba(10,10,8,0.55); }
body.light .footer-box { color: rgba(10,10,8,0.55); }
body.light .footer-box a { color: rgba(10,10,8,0.55); }
body.light .footer-box a:hover { color: rgba(10,10,8,0.9); }
body.light .nav-menu a { color: rgba(10,10,8,0.65); }
body.light .venue-block { color: rgba(10,10,8,0.60); }
body.light .about-main p { color: rgba(10,10,8,0.70); }
body.light .cpdp-item { color: rgba(10,10,8,0.70); }
body.light .lede { color: rgba(10,10,8,0.72); }
body.light .ev-desc { color: rgba(10,10,8,0.65); }
body.light .date-item { color: var(--orange); }
body.light .opening-note { color: var(--orange); }

/* ── tablet / small desktop ── */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .register-wrap { grid-template-columns: 1fr; }
  .hero-copy, .hero-stage { min-height: auto; }
  .hero-stage { min-height: 340px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── mobile / tablet ── */
@media (max-width: 768px) {
  .float-nav { display: flex; }
  .container { width: calc(100% - 32px); }
  .hero-grid { gap: 12px; }
  .hero-logo-img { height: clamp(90px, 22vw, 160px); }
  .nav-logo { height: 32px; }
  body, body.light { background-image: none; background-color: var(--bg); }
  .hero-date-badge { gap: 8px; }
  .date-item { font-size: 9px; letter-spacing: .1em; }
  .hero-subtitle { font-size: 9px; letter-spacing: .12em; }
  .lede { font-size: 13px; }
  .opening-note { font-size: 9px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(odd):last-child { grid-column: span 2; }
  .hero-stage { min-height: 260px; }

  /* nav */
  .nav-logo { height: 24px; }
  .nav-menu a { min-height: 48px; display: flex; align-items: center; padding: 0 20px; font-size: 13px; }
  .theme-sw .sw-lbl { display: none; }

  /* program */
  .filter-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .chip { flex-shrink: 0; }
  .events-grid { grid-template-columns: 1fr; }
  .ev-card { padding: 16px; }

  /* team */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .person-card { padding: 20px 16px; }
  .person-modal { max-width: 100%; border-radius: 0; margin: 0; max-height: 100vh; }

  /* register */
  .register-wrap { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }

  /* about */
  .about-grid { grid-template-columns: 1fr; }

  /* footer */
  .footer-box { flex-direction: column; gap: 8px; text-align: center; }

  /* section bar */
  .sec-bar-in { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 4px; }
  .sec-m { display: none; }
}

/* ── mobile small ── */
@media (max-width: 480px) {
  body, body.light { background-attachment: scroll; }
  .container { width: calc(100% - 24px); }
  .hero { padding: 16px 0 20px; }
  .hero-copy { padding: 20px; }
  .hero-logo-img { height: clamp(100px, 28vw, 180px); }
  .nav-logo { height: 28px; }
  .eyebrow { font-size: 8px; padding: 5px 10px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .pill-track span { font-size: 8px; padding: 4px 9px; }
  .hero-stage { min-height: 200px; padding: 10px; }
  .stage-meta { font-size: 8px; }

  /* team */
  .team-grid { grid-template-columns: 1fr; }
  .person-avatar { width: 64px; height: 64px; font-size: 18px; }

  /* modal full screen */
  .person-modal-overlay { padding: 0; }
  .person-modal { border-radius: 0; padding: 24px 20px; }

  /* nav */
  .nav-inner { height: 52px; }
  .nav-logo { height: 20px; }

  /* events */
  .timetable-wrap { padding: 20px 0 32px; }

  /* about */
  .about-main, .cpdp-card { padding: 18px; }
}
