/* XX. Schönherz MeetUp — site styles */

:root {
  --bg: #E9E4FF; --ink: #17123A; --ink2: #3D3663; --ink3: #4E4588; --mute: #5F5695;
  --card: #FFFFFF; --card2: #F0ECFD;
  --line2: rgba(23,18,58,.5); --cardline: rgba(23,18,58,.55);
  --pink: #FF3E86; --pinkT: #C2105A; --menta: #00CFA6; --sarga: #FFC93C; --onM: #04231C; --dk: #17123A;
  --inv: #17123A; --onInv: #FFFFFF; --onInv2: #B6AFE0;
  --band: #17123A; --onBand: #FFFFFF; --bandEm: #FFC93C; --bandLine: transparent;
  --slab: #17123A; --onSlab: #FFFFFF; --onSlab2: #C3BCE8; --slabLine: rgba(255,255,255,.42); --slabIn: rgba(255,255,255,.09);
  --glass: rgba(255,255,255,.72); --glassLine: rgba(23,18,58,.5);
  --sh: 23,18,58; --shA: .16; --shB: .7;
  --hand: #D8145F; --trunk: #807B9D;
  --lh-round: 1.18; --lh-mono: 1.16;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #130F2C; --ink: #F3F0FF; --ink2: #D0C9F2; --ink3: #BFB5F4; --mute: #AEA5DC;
    --card: #231C4B; --card2: #312961;
    --line2: rgba(255,255,255,.34); --cardline: rgba(255,255,255,.34);
    --pink: #FF5294; --pinkT: #FF86B5; --menta: #1FD8B2; --sarga: #FFCC4D;
    --inv: #E9E4FF; --onInv: #17123A; --onInv2: #4A4283;
    --band: #0C0920; --onBand: #E5DEFF; --bandEm: #FFCC4D; --bandLine: rgba(255,255,255,.14);
    --slab: #1B1442; --onSlab: #F3F0FF; --onSlab2: #BDB4EE; --slabIn: rgba(255,255,255,.07);
    --glass: rgba(35,28,75,.78); --glassLine: rgba(255,255,255,.4);
    --sh: 0,0,0; --shA: .4; --shB: .95;
    --hand: #FF7DB0; --trunk: #7E7996;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #130F2C; --ink: #F3F0FF; --ink2: #D0C9F2; --ink3: #BFB5F4; --mute: #AEA5DC;
  --card: #231C4B; --card2: #312961;
  --line2: rgba(255,255,255,.34); --cardline: rgba(255,255,255,.34);
  --pink: #FF5294; --pinkT: #FF86B5; --menta: #1FD8B2; --sarga: #FFCC4D;
  --inv: #E9E4FF; --onInv: #17123A; --onInv2: #4A4283;
  --band: #0C0920; --onBand: #E5DEFF; --bandEm: #FFCC4D; --bandLine: rgba(255,255,255,.14);
  --slab: #1B1442; --onSlab: #F3F0FF; --onSlab2: #BDB4EE; --slabIn: rgba(255,255,255,.07);
  --glass: rgba(35,28,75,.78); --glassLine: rgba(255,255,255,.4);
  --sh: 0,0,0; --shA: .4; --shB: .95;
  --hand: #FF7DB0; --trunk: #7E7996;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif; line-height: 1.5;
  transition: background-color .35s, color .35s;
}
h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--inv); color: var(--onInv);
  padding: 10px 16px; border-radius: 99px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.page { position: relative; overflow: hidden; container-type: inline-size; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fx-orbs { z-index: 0; opacity: .9; }
.fx-dots { z-index: 1; opacity: .5; }
.wrap { --gut: clamp(14px, 3.2cqi, 44px); max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 3; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* hand-drawn strokes: drawn once on load, full line when motion is off */
.ink { position: absolute; overflow: visible; max-width: none; pointer-events: none; color: var(--hand); }
.ink path { fill: none; stroke: currentColor; stroke-linecap: round; vector-effect: non-scaling-stroke;
  animation: ink-draw .9s cubic-bezier(.6,.1,.3,1) backwards; animation-delay: var(--d, 1.2s); }
@keyframes ink-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

/* ---------- navigation ---------- */
.nav { display: flex; align-items: center; gap: 9px; padding: 14px 0; }
.brand { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 13.5px; letter-spacing: -.03em; line-height: 1.25;
  background: var(--inv); color: var(--onInv); padding: 9px 14px; border-radius: 99px; flex: none; }
.nav-links { display: flex; gap: 5px; flex: 1; min-width: 0; padding: 3px 0; }
.nav-links a { background: var(--card); border: 1px solid var(--line2); border-radius: 99px; padding: 8px 12px;
  font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.3; transition: transform .14s, background .14s; }
.nav-links a:hover { transform: translateY(-2px); background: var(--card2); }
.theme-switch { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line2); border-radius: 99px; padding: 3px; flex: none; }
.theme-switch button { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; color: var(--mute);
  transition: background .14s, color .14s; }
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--inv); color: var(--onInv); }
.theme-switch svg { width: 15px; height: 15px; }
.nav-cta { background: var(--menta); color: var(--onM); border-radius: 99px; padding: 10px 16px; font-size: 12.5px; font-weight: 700;
  line-height: 1.2; flex: none; box-shadow: 0 3px 0 rgba(var(--sh), .2); transition: transform .14s; }
.nav-cta:hover { transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(22px, 4cqi, 54px) 0 clamp(30px, 4.6cqi, 60px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3cqi, 44px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.kicker { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 16px;
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; line-height: var(--lh-mono); color: var(--pinkT); }
.kicker span { background: var(--pink); color: var(--dk); border-radius: 99px; padding: 5px 10px; }
.hero h1 { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 5.1cqi, 3.3rem);
  line-height: 1.34; letter-spacing: -.045em; max-width: 15ch; text-wrap: balance; }
.hero h1 mark { background: var(--sarga); color: var(--dk); padding: 0 .14em; border-radius: .16em; outline: 1.5px solid var(--dk); }
.underlined { position: relative; display: inline-block; }
.underlined .ink { left: -3%; width: 106%; bottom: -.02em; height: .2em; }
.underlined .ink path { stroke-width: 5; --d: .5s; }
.lead { margin-top: 18px; max-width: 44ch; font-size: clamp(14px, 1.45cqi, 16px); line-height: 1.62; color: var(--ink2); }
.facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.facts > span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px;
  background: var(--card); border: 1.5px solid var(--cardline); font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.facts .fact-date { background: var(--sarga); color: var(--dk); border-color: var(--dk); }
.facts .fact-venue { background: var(--menta); color: var(--onM); border-color: var(--dk); }
.countdown { display: flex; gap: 7px; margin-top: 18px; flex-wrap: wrap; }
.countdown > div { background: var(--card); border: 1.5px solid var(--cardline); border-radius: 14px; padding: 9px 12px 8px; min-width: 62px; text-align: center; }
.countdown b { display: block; font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(1.05rem, 2.3cqi, 1.45rem);
  line-height: var(--lh-round); font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; color: var(--mute); }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn, .tag-free { display: inline-flex; align-items: center; min-height: 48px; border-radius: 99px; line-height: 1.2; }
.btn { gap: 10px; padding: 0 24px; background: var(--inv); color: var(--onInv); font-weight: 700; font-size: 14.5px;
  box-shadow: 0 5px 0 rgba(var(--sh), .28); transition: background .16s, color .16s, transform .16s; }
.btn svg { width: 17px; height: 17px; transition: transform .16s; }
.btn:hover { background: var(--pink); color: var(--dk); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn.is-disabled { background: var(--card2); color: var(--ink2); box-shadow: none; cursor: default; border: 1.5px dashed var(--cardline); }
.btn.is-disabled:hover { transform: none; }
.tag-free { gap: 8px; padding: 0 16px; background: var(--menta); color: var(--onM); font-weight: 700; font-size: 13.5px; border: 1.5px solid var(--dk); }
.actions .note { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--ink2); max-width: 48ch; }

/* ---------- divergence map ---------- */
.map-panel { position: relative; min-height: clamp(470px, 50cqi, 580px); z-index: 3; }
.blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.blob-1 { width: 44%; aspect-ratio: 1; right: 4%; top: 26%; background: rgba(255,62,134,.14); }
.blob-2 { width: 30%; aspect-ratio: 1; left: 8%; bottom: 4%; background: rgba(0,207,166,.16); }
.map { position: absolute; inset: 0; z-index: 2; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--hand); pointer-events: none; z-index: 1; }
.lines path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.6,.1,.3,1); }
.lines path.trunk { stroke-width: 3.6; stroke: var(--trunk); }
.lines path.blend { stroke-width: 3.6; fill: none; stroke-linecap: butt; }

.quick { position: absolute; top: 6px; left: 44%; width: min(60%, 264px); z-index: 3; padding: 11px 13px 12px;
  background: var(--card); border: 1.5px solid var(--cardline); border-radius: 16px;
  transform: translateX(-50%) rotate(-1.2deg);
  box-shadow: 0 2px 0 rgba(var(--sh), var(--shA)), 0 20px 40px -22px rgba(var(--sh), var(--shB)); }
.quick-label { display: block; margin-bottom: 7px; font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; line-height: var(--lh-mono); color: var(--ink3); }
.quick-q { display: flex; align-items: center; gap: 7px; padding-bottom: 7px; border-bottom: 1px dashed var(--line2);
  font-size: 12.5px; line-height: 1.3; color: var(--mute); }
.quick-q svg { width: 13px; height: 13px; flex: none; }
.quick-a { position: relative; margin-top: 8px; padding: 8px 10px 14px; background: var(--card2); border: 1.5px solid var(--line2);
  border-radius: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.quick-line { position: relative; display: block; }
.typed { display: block; white-space: nowrap; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.18em;
  background: var(--pink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.quick-line .ink { left: 2%; width: 96%; top: calc(100% - 1px); height: 9px; }
.quick-line .ink path { stroke-width: 2.6; --d: 2.2s; }
.instead { position: absolute; left: 10px; top: calc(100% + 6px); font-family: "Caveat", cursive; font-weight: 700; font-style: normal;
  font-size: 22px; line-height: 1.14; color: var(--hand); transform: rotate(-4deg); white-space: nowrap; pointer-events: none; }

.move { position: absolute; z-index: 3; width: max-content; max-width: min(36%, 196px); padding: 10px 14px 11px;
  background: var(--card); border: 1.5px solid var(--cardline); border-radius: 14px;
  transform: rotate(var(--r)) scale(.94); opacity: 0;
  box-shadow: 0 2px 0 rgba(var(--sh), var(--shA)), 0 16px 32px -20px rgba(var(--sh), var(--shB));
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.3,1); }
.move.is-on { opacity: 1; transform: rotate(var(--r)) scale(1); }
.no-js .move { opacity: 1; transform: rotate(var(--r)); }
.move b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.move small { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: var(--mute); }
.move-dot { position: absolute; left: -20px; top: -19px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--dk); background: var(--dot); color: var(--dk); box-shadow: 0 2px 0 rgba(var(--sh), var(--shA)); }
.move-dot svg { width: 19px; height: 19px; }
.move[data-side="right"] { left: 58%; text-align: left; }
.move[data-side="left"] { right: 64%; text-align: right; }
.move[data-side="left"] .move-dot { left: auto; right: -21px; }
.m1 { top: 30%; --r: 1.6deg; }
.m2 { top: 41.5%; --r: -1.8deg; }
.m3 { top: 53%; --r: 1.4deg; }
.m4 { top: 64.5%; --r: -1.6deg; }
.m5 { top: 76%; --r: 1.8deg; }
.m6 { top: 87.5%; --r: -1.4deg; }
.c-yellow { --dot: #FFC93C; }
.c-mint { --dot: #00CFA6; }
.c-blue { --dot: #6EA8FF; }
.c-orange { --dot: #FF8A3D; }
.c-pink { --dot: #FF3E86; }
.c-lilac { --dot: #B9AEFF; }

.badge { position: absolute; right: 0; top: 0; z-index: 4; width: clamp(96px, 11cqi, 122px); height: clamp(96px, 11cqi, 122px);
  animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge circle { fill: var(--sarga); stroke: var(--dk); stroke-width: 1.5; }
.badge text { fill: var(--dk); font-family: "JetBrains Mono", monospace; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.badge .badge-mid { font-family: "Unbounded", sans-serif; font-size: 17px; letter-spacing: 0; }
.to-map, .back, .badge--inline { display: none; }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 3; display: flex; overflow: hidden; white-space: nowrap; padding: 11px 0;
  background: var(--band); color: var(--onBand); border-top: 1px solid var(--bandLine); border-bottom: 1px solid var(--bandLine);
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: .14em; line-height: 1.3; }
.ticker > span { display: inline-flex; gap: 2.5em; padding-right: 2.5em; animation: ticker 34s linear infinite; }
.ticker em { font-style: normal; color: var(--bandEm); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- schedule ---------- */
.schedule { position: relative; z-index: 3; margin: clamp(22px, 3.4cqi, 40px) 0 13px; padding: clamp(20px, 3.4cqi, 40px);
  background: var(--slab); color: var(--onSlab); border: 1px solid var(--slabLine); border-radius: 26px; scroll-margin-top: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 28px; flex-wrap: wrap; margin-bottom: 20px; }
.schedule h2, .register h2 { font-family: "Unbounded", sans-serif; font-weight: 400; font-size: clamp(1.15rem, 2.7cqi, 1.7rem);
  letter-spacing: -.035em; line-height: var(--lh-round); margin-bottom: 7px; }
.section-head p { font-size: 13.5px; line-height: 1.6; max-width: 58ch; color: var(--onSlab2); }
.when { display: flex; align-items: center; gap: 9px; flex: none; padding: 10px 16px; border-radius: 99px;
  background: var(--slabIn); border: 1.5px solid var(--slabLine); font-size: 13px; font-weight: 700; line-height: 1.3; }
.when b { font-family: "JetBrains Mono", monospace; color: var(--bandEm); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.step { padding: 16px 17px 17px; background: var(--slabIn); border: 1.5px solid var(--slabLine); border-radius: 18px; }
.step time { display: block; font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(1.2rem, 2.5cqi, 1.6rem);
  line-height: 1.18; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--bandEm); }
.step strong { display: block; margin-top: 7px; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.step span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--onSlab2); }
.schedule-note { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--onSlab2); }

.speakers { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; margin-top: 22px; padding: 18px 20px;
  background: var(--slabIn); border: 1.5px dashed var(--slabLine); border-radius: 18px; scroll-margin-top: 16px; }
.avatars { display: flex; flex: none; }
.avatars span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-left: -12px;
  background: var(--dot); color: var(--dk); border: 2px solid var(--slab); font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 20px; }
.avatars span:first-child { margin-left: 0; }
.speakers h3 { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(1rem, 2cqi, 1.2rem); letter-spacing: -.03em; line-height: 1.25; }
.speakers p { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--onSlab2); max-width: 60ch; }

/* ---------- topic ---------- */
.themes { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; scroll-margin-top: 16px; }
.theme-card { padding: clamp(18px, 2.6cqi, 26px); background: var(--card); border: 1.5px solid var(--cardline); border-radius: 22px; transition: transform .18s; }
.theme-card:hover { transform: translateY(-4px); }
.label { display: block; margin-bottom: 11px; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; line-height: var(--lh-mono); color: var(--pinkT); }
.theme-card h3 { margin-bottom: 9px; font-family: "Unbounded", sans-serif; font-weight: 400; font-size: clamp(1rem, 2.1cqi, 1.28rem);
  letter-spacing: -.035em; line-height: var(--lh-round); }
.theme-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink2); }

/* ---------- register ---------- */
.register { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
  margin-top: 13px; padding: clamp(20px, 3cqi, 34px); background: var(--card); border: 1.5px solid var(--cardline); border-radius: 22px; scroll-margin-top: 16px; }
.register > div { max-width: 60ch; }
.register p { font-size: 14px; line-height: 1.6; color: var(--ink2); }

/* ---------- organizer + info ---------- */
.organizer { position: relative; z-index: 3; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 13px;
  padding: clamp(18px, 2.6cqi, 26px); background: var(--glass); border: 1.5px solid var(--glassLine); border-radius: 22px; }
.organizer .label { color: var(--ink3); margin: 0; }
.org-logos { display: flex; align-items: center; gap: 24px; padding: 16px 22px; border-radius: 16px;
  background: var(--inv); color: var(--onInv); border: 1.5px solid var(--dk); }
.org-logos svg { height: 52px; width: auto; flex: none; }
.org-logos svg:first-child { height: 56px; }
.org-logos i { width: 1.5px; align-self: stretch; margin: 4px 0; background: var(--onInv2); opacity: .45; }
.organizer p { flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.6; color: var(--ink2); }

.info { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 13px; scroll-margin-top: 16px; }
.info > div { padding: 16px 18px; background: var(--glass); border: 1.5px solid var(--glassLine); border-radius: 18px; }
.info .label { margin-bottom: 8px; color: var(--ink3); }
.info strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; }
.info span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.info a { color: var(--pinkT); font-weight: 700; }
.info a:hover { text-decoration: underline; }

.site-footer { position: relative; z-index: 3; margin-top: clamp(28px, 4cqi, 48px); padding: clamp(24px, 3.4cqi, 36px) 0 clamp(28px, 4cqi, 44px);
  background: var(--band); color: var(--onBand); border-top: 1px solid var(--bandLine); }
.footer-inner { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.footer-logos { display: flex; align-items: center; gap: 20px; flex: none; }
.footer-logos svg { height: 40px; width: auto; }
.footer-logos i { width: 1.5px; align-self: stretch; background: currentColor; opacity: .35; }
.footer-text { flex: 1; min-width: 240px; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.55; color: var(--onBand); opacity: .9; }
.footer-text .footer-title { font-weight: 700; opacity: 1; }
.site-footer a { color: var(--bandEm); font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@container (max-width: 1000px) {
  .nav-links a:nth-child(n+4) { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@container (max-width: 880px) {
  .hero { padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr .86fr; gap: clamp(14px, 2.4cqi, 26px); align-items: start; }
  .hero h1 { max-width: none; font-size: clamp(1.7rem, 5.4cqi, 2.4rem); }
  .map-panel { min-height: 0; }
  .map { --dot-size: 37px; --rail: 54px; position: relative; inset: auto; display: flex; flex-direction: column; gap: 20px;
    padding: 110px 0 0 var(--rail); }
  .quick, .move { position: relative; inset: auto; width: auto; max-width: none; }
  .move[data-side="right"], .move[data-side="left"] { left: auto; right: auto; text-align: left; }
  .quick { transform: rotate(-1.2deg); margin-left: calc(var(--rail) * -1); margin-bottom: 22px; }
  .lines { display: none; }
  .map::before { content: ""; position: absolute; left: calc(var(--dot-size) / 2 - 1.5px); top: var(--spine-top, 120px); bottom: var(--spine-bottom, 60px);
    width: 3px; background: var(--trunk); border-radius: 2px; }
  .move { transform: rotate(var(--r)) scale(.96); }
  .move.is-on { transform: rotate(var(--r)) scale(1); }
  .move-dot, .move[data-side="left"] .move-dot { left: calc(var(--rail) * -1); right: auto; top: 8px; }
  .move::before { content: ""; position: absolute; top: 26px; height: 2.6px; background: var(--dot); border-radius: 2px;
    left: calc((var(--rail) - var(--dot-size)) * -1); width: calc(var(--rail) - var(--dot-size)); }
  .instead { left: calc(var(--rail) + 2px); top: calc(100% + 4px); font-size: 20px; }
  .m5, .m6 { display: none; }
  .badge { width: 82px; height: 82px; }
  .blob-1 { top: 22%; right: 0; width: 52%; }
  .blob-2 { display: none; }
  .steps { grid-template-columns: 1fr; }
  .themes { grid-template-columns: 1fr; }
}
@container (max-width: 680px) {
  .nav-links { display: none; }
  .theme-switch { margin-left: auto; }
  .info { grid-template-columns: 1fr; }
  .org-logos { gap: 16px; padding: 14px 16px; }
  .org-logos svg { height: 40px; }
  .org-logos svg:first-child { height: 42px; }
  .footer-logos svg { height: 32px; }
}
/* phones: hero and map are two swipeable pages */
@container (max-width: 560px) {
  .hero-grid { display: flex; gap: 32px; align-items: start; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(var(--gut, 16px) * -1); padding: 4px var(--gut, 16px) 10px; scroll-padding: 0 var(--gut, 16px); }
  .hero-grid::-webkit-scrollbar { display: none; }
  .hero-copy, .map-panel { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .map { padding-top: 0; }
  .m5, .m6 { display: block; }
  .map .badge { display: none; }
  .facts { align-items: center; }
  .badge--inline { display: block; position: relative; right: auto; top: auto; flex: none; width: 74px; height: 74px; margin-left: auto; }
  .to-map { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; width: 100%; margin-top: 22px;
    padding: 13px 14px 14px; text-align: left; background: var(--card); color: var(--ink); border: 1.5px solid var(--cardline);
    border-radius: 16px; transform: rotate(-.8deg);
    box-shadow: 0 2px 0 rgba(var(--sh), var(--shA)), 0 16px 32px -20px rgba(var(--sh), var(--shB)); }
  .to-map-label { grid-column: 1; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: .16em;
    line-height: var(--lh-mono); color: var(--pinkT); }
  .to-map b { grid-column: 1; font-size: 15px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
  .to-map-dots { grid-column: 1; display: flex; gap: 6px; margin-top: 4px; }
  .to-map-dots i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    border: 1.5px solid var(--dk); background: var(--dot); color: var(--dk); }
  .to-map-dots svg { width: 14px; height: 14px; }
  .to-map-go { grid-column: 2; grid-row: 1 / span 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--inv); color: var(--onInv); }
  .to-map-go svg { width: 18px; height: 18px; }
  .back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 8px 14px 8px 10px; border-radius: 99px;
    border: 1.5px solid var(--cardline); background: var(--card); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.2; }
  .back svg { width: 16px; height: 16px; transform: scaleX(-1); }
  .blob-1 { top: 12%; right: 0; width: 56%; }
  .nav-cta { padding: 10px 13px; }
  /* the two organizer logos share the card width instead of a fixed height */
  .org-logos { width: 100%; justify-content: center; gap: 14px; padding: 14px; }
  .org-logos svg, .org-logos svg:first-child { height: auto; width: calc(50% - 14px); max-height: 46px; }
  .footer-logos { gap: 14px; }
  .steps { grid-template-columns: 1fr; }
}

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

/* ---------- 404 ---------- */
.not-found { padding-top: clamp(48px, 12vh, 120px); padding-bottom: 64px; }
.not-found h1 { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.3; letter-spacing: -.045em; }
