/* =====================================================================
   AMIDAL — Website
   Layout concept: one dark evening that unfolds chapter by chapter —
   a WebGL particle field (the AMIDAL sun) behind app-styled containers.
   All values follow the app's tokens (src/styles/tokens.css). The design
   is deliberately dark-only, like the app.
   ===================================================================== */

@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Regular-latin-ext.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Medium.woff2') format('woff2'); font-weight: 500 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Medium-latin-ext.woff2') format('woff2'); font-weight: 500 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Bold.woff2') format('woff2'); font-weight: 700 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Bold-latin-ext.woff2') format('woff2'); font-weight: 700 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-Medium-latin-ext.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-SemiBold-latin-ext.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  /* Flächen (app tokens) */
  --c-bg: #000000;
  --c-surface: #0E0E10;
  --c-surface-muted: #18181B;
  --card-elevated: #141414;
  --c-border: #2A2A2F;
  /* Text */
  --c-ink: #F5F5F7;
  --c-ink-secondary: #9A9AA2;
  --c-ink-tertiary: #6B6B73;
  /* Marke */
  --c-primary: #FFFFFF;
  --c-primary-strong: #E4E4E7;
  --plus-blue: #2F8CF5;
  --plus-blue-light: #4FA3FF;
  --gold: #C6A664;
  --c-signal: #FF3B30;
  /* Navy ladder (light for edges) */
  --amb-1: rgb(22, 44, 82);
  --amb-3: rgb(14, 28, 54);
  --amb-4: rgb(10, 20, 40);
  --amb-5: rgb(7, 14, 28);
  --amb-7: rgb(2, 4, 9);
  /* Alpha scales */
  --w-05: rgba(255,255,255,.05); --w-06: rgba(255,255,255,.06); --w-08: rgba(255,255,255,.08);
  --w-10: rgba(255,255,255,.10); --w-12: rgba(255,255,255,.12); --w-16: rgba(255,255,255,.16);
  --w-20: rgba(255,255,255,.20); --w-30: rgba(255,255,255,.30); --w-45: rgba(255,255,255,.45);
  --w-60: rgba(255,255,255,.60); --w-70: rgba(255,255,255,.70); --w-85: rgba(255,255,255,.85);
  --k-25: rgba(0,0,0,.25); --k-45: rgba(0,0,0,.45); --k-60: rgba(0,0,0,.60); --k-72: rgba(0,0,0,.72); --k-88: rgba(0,0,0,.88);
  /* Glass — four materials, as in the app */
  --glass-veil-blur: blur(14px) saturate(120%);
  --glass-clear-blur: blur(12px) saturate(150%);
  --glass-regular-blur: blur(20px) saturate(180%);
  --glass-thick-blur: blur(30px) saturate(190%);
  --glass-veil-tint: var(--k-45);
  --glass-clear-tint: var(--k-25);
  --glass-regular-tint: rgba(20, 20, 20, .55);
  --glass-thick-tint: var(--k-72);
  --glass-edge: var(--w-12);
  --glass-sheen: inset 0 1px 0 var(--w-16);
  --glass-fallback: rgba(20, 20, 20, .92);
  --float-1: 0 1px 2px rgba(0,0,0,.3), 0 6px 16px rgba(0,0,0,.4);
  --float-2: 0 2px 4px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.5);
  /* The navy container of the app (Perspektiven, Events, Profil-Kopf) */
  --panel:
    radial-gradient(140% 90% at 50% -24%, rgba(255,255,255,.10) 0%, rgba(255,255,255,.05) 30%, rgba(255,255,255,0) 56%),
    linear-gradient(to bottom, rgba(10,20,38,.97) 0%, rgba(9,18,34,.98) 26%, rgba(8,16,31,.98) 52%, rgba(10,19,35,.99) 74%, rgb(6,11,21) 90%, rgb(3,5,10) 100%);
  --panel-edge: inset 0 1px 0 var(--w-16), 0 0 0 1px var(--w-06);
  /* Radien */
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 999px;
  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fs-display: clamp(3.4rem, 10.5vw, 10.5rem);
  --fs-h1: clamp(2.7rem, 6.4vw, 6rem);
  --fs-h2: clamp(2.2rem, 4.8vw, 4.4rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.65rem);
  --fs-lead: clamp(1.08rem, 1.45vw, 1.32rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;
  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 54px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--c-bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: hidden; overflow-x: clip; } /* nothing may widen the page: on phones a wider page shrinks everything and leaves a strip beside the footer */
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--plus-blue-light); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--plus-blue); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- language ---------- */
html[lang="de"] [data-l="en"], html[lang="en"] [data-l="de"] { display: none !important; }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(920px, 100% - 2 * var(--gutter)); margin-inline: auto; }
main { position: relative; z-index: 2; }
.section { position: relative; padding-block: clamp(96px, 13vw, 190px); }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-ink-secondary); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--w-30); }
.eyebrow--plain::before { display: none; }
.h-display, .h1, .h2, .h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.h-display { font-size: var(--fs-display); letter-spacing: -.055em; line-height: .92; }
.h1 { font-size: var(--fs-h1); letter-spacing: -.045em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.15; font-weight: 600; }
.serif { font-family: var(--font-brand); font-weight: 500; letter-spacing: -.005em; }
.serif.h1, .serif.h2 { line-height: 1.04; letter-spacing: -.01em; font-weight: 500; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-secondary); max-width: 34em; margin: 0; text-wrap: pretty; }
.lead strong { color: var(--c-ink); font-weight: 500; }
.muted { color: var(--c-ink-secondary); }
.small { font-size: var(--fs-small); }
p { margin: 0; }

/* Text gradients — the app's headline (white → grey) and the Plus blue */
.grad {
  background-image: linear-gradient(180deg, #fff 0%, #fff 26%, #9c9ca8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.grad-blue {
  background-image: linear-gradient(100deg, #ffffff 0%, #d6e8ff 28%, var(--plus-blue-light) 62%, var(--plus-blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.grad-silver {
  background-image: linear-gradient(100deg, #8a8a94 0%, #fff 45%, #b9b9c2 60%, #6e6e78 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: sheen 7s var(--ease) infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- icons ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 26px; height: 26px; }
.sun { fill: #fff; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass-regular-tint);
  -webkit-backdrop-filter: var(--glass-regular-blur);
  backdrop-filter: var(--glass-regular-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-sheen), var(--float-1);
}
.glass-thick {
  background: var(--glass-thick-tint);
  -webkit-backdrop-filter: var(--glass-thick-blur);
  backdrop-filter: var(--glass-thick-blur);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-thick { background: var(--glass-fallback); }
}

/* ---------- containers ---------- */
.panel { background: var(--panel); border-radius: var(--radius-xl); box-shadow: var(--panel-edge); position: relative; overflow: hidden; isolation: isolate; }
.surface { background: var(--c-surface); border: 1px solid var(--w-08); border-radius: var(--radius-lg); }
.spot::after { /* cursor light on containers */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(79,163,255,.10), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.spot:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn--white { background: var(--c-primary); color: #000; }
.btn--white:hover { background: var(--c-primary-strong); }
.btn--dark { background: var(--w-08); border: 1px solid var(--w-10); color: var(--c-ink); }
.btn--dark:hover { background: var(--w-12); border-color: var(--w-16); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--blue { background: linear-gradient(135deg, var(--plus-blue-light), var(--plus-blue)); color: #fff; box-shadow: 0 8px 30px rgba(47,140,245,.35); }
.btn--blue:hover { filter: brightness(1.08); }
.btn.is-soon { opacity: .6; cursor: default; box-shadow: none; filter: saturate(.7); }
.btn.is-soon:active { transform: none; }

.round {
  width: 52px; height: 52px; border-radius: var(--radius-full); flex: none;
  display: inline-grid; place-items: center; background: var(--c-primary); color: #000;
  transition: transform .35s var(--ease);
}
.round:hover { transform: rotate(45deg) scale(1.05); }
.round--glass { background: var(--w-08); border: 1px solid var(--w-12); color: var(--c-ink); }

.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: var(--radius-full); border: 1px solid var(--w-12); background: var(--k-25);
  font-size: 13px; font-weight: 600; color: var(--c-ink); white-space: nowrap;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: var(--radius-full); background: var(--w-06); border: 1px solid var(--w-08);
  font-size: 12.5px; font-weight: 500; color: var(--c-ink-secondary); white-space: nowrap;
}
.chip--blue { background: rgba(47,140,245,.14); border-color: rgba(79,163,255,.32); color: #cfe4ff; }

/* Store buttons */
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px;
  border-radius: 14px; background: #000; border: 1px solid var(--w-20); color: #fff;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.store:hover { border-color: var(--w-45); background: #0b0b0d; transform: translateY(-2px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store > span { display: grid; line-height: 1.05; text-align: left; }
.store small { font-size: 10.5px; font-weight: 500; color: var(--w-70); letter-spacing: .01em; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- slide-to-act (ConnectSlideButton of the app) ---------- */
.slide {
  --knob: 48px;
  position: relative; display: flex; align-items: center; flex: none;
  width: var(--slide-w, 240px); height: 56px; border-radius: 28px;
  background: var(--w-08); border: 1px solid var(--w-10);
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  container-type: inline-size;
}
.slide__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--knob) + 4px); background: #fff; border-radius: inherit; pointer-events: none; overflow: hidden; }
.slide__word { position: absolute; top: 50%; left: 50cqw; transform: translate(-50%, -50%); color: #000; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; }
.slide__label { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--c-ink); white-space: nowrap; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.slide__arrows { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 1px; color: #fff; }
.slide__arrows .i { width: 16px; height: 16px; stroke-width: 2.4; opacity: .3; animation: arrow-wave 1.8s ease-in-out infinite; }
.slide__arrows .i:nth-child(2) { animation-delay: .18s; }
.slide__arrows .i:nth-child(3) { animation-delay: .36s; }
.slide__knob {
  position: relative; z-index: 1; width: var(--knob); height: var(--knob); margin-left: 4px; border-radius: 50%;
  background: #fff; color: #000; display: inline-grid; place-items: center; cursor: grab; touch-action: none;
  animation: slide-nudge 2.6s var(--ease) infinite;
}
.slide__knob .i { width: 24px; height: 24px; }
.slide.is-dragging .slide__knob { animation: none; cursor: grabbing; }
.slide:not(.is-dragging) .slide__knob, .slide:not(.is-dragging) .slide__fill { transition: transform .18s var(--ease), width .18s var(--ease); }
.slide:not(.is-dragging) .slide__label, .slide:not(.is-dragging) .slide__word { transition: opacity .18s var(--ease); }
.slide.is-armed { animation: slide-armed .9s var(--ease) infinite; }
.slide.is-done { background: var(--w-05); }
.slide.is-done .slide__knob { background: var(--w-10); color: #fff; animation: none; cursor: default; }
.slide.is-done .slide__arrows { display: none; }
.slide.is-done .slide__label { color: var(--c-ink-secondary); justify-content: center; }
.slide--compact { --slide-w: 100%; }
@keyframes arrow-wave { 0%, 60%, 100% { opacity: .28; } 25% { opacity: 1; } }
@keyframes slide-nudge { 0%, 58%, 100% { transform: translateX(0); } 68% { transform: translateX(9px); } 76% { transform: translateX(1px); } 84% { transform: translateX(6px); } 92% { transform: translateX(0); } }
@keyframes slide-nudge-sm { 0%, 58%, 100% { transform: translateX(0); } 68% { transform: translateX(4px); } 76% { transform: translateX(0); } 84% { transform: translateX(3px); } 92% { transform: translateX(0); } }
@keyframes slide-armed { 0% { box-shadow: 0 0 0 0 var(--w-30); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* header version of the slider: same component, bar height */
.slide--nav { --knob: 36px; --slide-w: 214px; height: 44px; border-radius: 22px; }
.slide--nav .slide__knob { margin-left: 3px; animation-name: slide-nudge-sm; }
.slide--nav .slide__knob .i { width: 19px; height: 19px; }
.slide--nav .slide__label { font-size: 13px; }
.slide--nav .slide__arrows { right: 12px; }
.slide--nav .slide__word { font-size: 13px; }
.slide--nav .slide__arrows .i { width: 13px; height: 13px; }
.slide--nav .slide__fill { width: calc(var(--knob) + 3px); }

/* ---------- segmented control (Anmelden | Registrieren) ---------- */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: var(--radius-full); background: var(--w-06); border: 1px solid var(--w-10); }
.seg__bubble { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: var(--radius-full); background: #fff; transition: transform .35s var(--ease), width .35s var(--ease); z-index: 0; }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; color: var(--c-ink-secondary); transition: color .3s; }
.seg button[aria-pressed="true"] { color: #000; }
.seg--lg button { height: 44px; padding: 0 22px; font-size: 15px; }

/* ---------- badges ---------- */
.badge { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; flex: none; }
.badge--verified { color: var(--c-ink-secondary); }

/* ---------- language menu (header) ---------- */
.lang { position: relative; }
.lang__btn { height: 40px; padding: 0 12px; border-radius: var(--radius-full); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--c-ink); background: var(--w-06); border: 1px solid var(--w-10); transition: background .25s; }
.lang__btn:hover, .lang.is-open .lang__btn { background: var(--w-12); }
.lang__chev { transition: transform .3s var(--ease); opacity: .7; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; padding: 6px; border-radius: 18px; border: 1px solid var(--glass-edge); box-shadow: var(--glass-sheen), var(--float-2); display: grid; gap: 2px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .25s var(--ease), transform .35s var(--ease); z-index: 70; }
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--c-ink-secondary); text-align: left; }
.lang__menu button:hover { background: var(--w-08); color: var(--c-ink); }
.lang__menu button[aria-pressed="true"] { color: var(--c-ink); }
.lang__menu button .i { opacity: 0; }
.lang__menu button[aria-pressed="true"] .i { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .lang__menu { background: var(--glass-fallback); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 12px);
  width: min(1020px, 100% - 24px); height: var(--nav-h); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 6px 0 18px; border-radius: var(--radius-full);
  transition: transform .5s var(--ease), opacity .4s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; display: block; }
.brand b { font-family: var(--font-brand); font-weight: 600; font-size: 21px; letter-spacing: .18em; line-height: 1; padding-top: 2px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: var(--radius-full); font-size: 14px; font-weight: 500; color: var(--c-ink-secondary); transition: color .25s, background .25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--c-ink); background: var(--w-06); }
.nav__links .nav__drop-link:hover, .nav__links .nav__drop-link[aria-current="page"] { background: none; }
.nav__right { display: flex; align-items: center; gap: 8px; }
/* "Home" with a dropdown of the home page's sections: the three anchors moved in here, Company and FAQ stay beside it */
.nav__drop { position: relative; display: flex; align-items: center; border-radius: var(--radius-full); transition: background .25s; }
.nav__links .nav__drop-link { padding-right: 4px; background: none; }
.nav__drop-btn { height: 34px; padding: 0 10px 0 2px; display: grid; place-items: center; color: var(--c-ink-secondary); transition: color .25s; }
.nav__drop-btn .i { transition: transform .3s var(--ease); opacity: .7; }
.nav__drop:hover, .nav__drop.is-open, .nav__drop:focus-within, .nav__drop:has(> a[aria-current="page"]) { background: var(--w-06); }
.nav__drop:hover .nav__drop-link, .nav__drop:hover .nav__drop-btn, .nav__drop.is-open .nav__drop-link, .nav__drop.is-open .nav__drop-btn, .nav__drop:focus-within .nav__drop-link, .nav__drop:focus-within .nav__drop-btn, .nav__drop:has(> a[aria-current="page"]) .nav__drop-btn { color: var(--c-ink); }
.nav__drop:hover .nav__drop-btn .i, .nav__drop.is-open .nav__drop-btn .i { transform: rotate(180deg); }
.nav__drop-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 200px; padding: 6px; border-radius: 18px; border: 1px solid var(--glass-edge); box-shadow: var(--glass-sheen), var(--float-2); display: grid; gap: 2px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; pointer-events: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.nav__drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* keeps the menu open while the pointer crosses the gap */
.nav__drop:hover .nav__drop-menu, .nav__drop.is-open .nav__drop-menu, .nav__drop:focus-within .nav__drop-menu { opacity: 1; transform: none; pointer-events: auto; }
.nav__links .nav__drop-menu a { display: flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav__drop-menu { background: var(--glass-fallback); } }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--w-08); }
.nav .seg button { height: 30px; padding: 0 11px; font-size: 12px; }
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-grid; }
}
@media (max-width: 560px) {
  .nav__right .btn { display: none; }
  .nav { padding-left: 14px; gap: 8px; }
  .nav .brand b { display: none; }
  .lang__btn { padding: 0 10px; gap: 5px; }
  .nav .slide--nav { --slide-w: 168px; }
  /* "App downloaden" is longer than the knob leaves room for in the middle: the label sits beside the knob */
  .nav .slide--nav .slide__label { left: calc(var(--knob) + 8px); }
  .nav .slide--nav .slide__word { left: calc((100cqw - var(--knob) - 8px) / 2); }
  /* the language button sits left of the apply slider here, so its menu opens to the right instead of off the screen */
  .lang__menu { right: auto; left: 0; transform-origin: top left; }
  .nav .slide--nav .slide__arrows { display: none; }
  .footer__bottom { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .nav__right { gap: 6px; }
}
@media (max-width: 374px) { .lang__btn .lang__chev { display: none; } }
@media (max-width: 359px) {
  .lang__btn { width: 40px; padding: 0; justify-content: center; }
  .lang__btn > span { display: none; }
}
@media (max-width: 340px) {
  .nav .slide--nav { --slide-w: 112px; }
  /* too narrow for a true centre: use the space beside the knob */
  .nav .slide--nav .slide__label { left: calc(var(--knob) + 6px); }
  .nav .slide--nav .slide__word { left: calc((100cqw - var(--knob) - 6px) / 2); }
}

.sheet {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.sheet.is-open { opacity: 1; pointer-events: auto; }
.sheet nav { display: grid; gap: 6px; }
.sheet nav a { font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
.sheet.is-open nav a { transform: none; opacity: 1; }
.sheet.is-open nav a:nth-child(2) { transition-delay: .04s; } .sheet.is-open nav a:nth-child(3) { transition-delay: .08s; }
.sheet.is-open nav a:nth-child(4) { transition-delay: .12s; } .sheet.is-open nav a:nth-child(5) { transition-delay: .16s; }
.sheet__sub { display: grid; gap: 2px; margin: -4px 0 8px 2px; }
.sheet nav .sheet__sub a { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--c-ink-secondary); }
.sheet nav .sheet__sub a:hover { color: var(--c-ink); }
.sheet__foot { margin-top: 48px; display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; }
.sheet__foot .btn { flex: none; white-space: nowrap; }
@media (max-width: 560px) {
  .sheet__foot .btn { padding-inline: 18px; font-size: 15px; }
  .sheet__foot .seg--lg button { padding: 0 13px; font-size: 14px; }
}
.sheet__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 17px); right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--w-08); }

/* ---------- WebGL stage ---------- */
.stage { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; } /* the largest viewport: a phone's bars never resize the canvas */
.stage canvas { width: 100%; height: 100%; display: block; }
.stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; opacity: .5; }
.stage__fallback img { width: min(70vmin, 640px); height: auto; animation: spin 120s linear infinite; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 85% at 50% 40%, transparent 55%, rgba(0,0,0,.65) 100%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- intro: the app's start screen, one to one ----------
   Same build and timing as .splash in the app: the mark at 112px, set a
   little above the middle (12vh of bottom padding), below it the blue of the
   sign-in pages rising from the bottom edge, and at the bottom "from" with
   the MOVIC mark. No wordmark, no "Welcome". The mark comes in over 420ms,
   "from" over 520ms and leaves at 1100ms; the whole screen fades from 1200ms
   over 560ms (main.js) — held a little longer than in the app. */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; padding-bottom: 12vh; box-sizing: border-box; transition: opacity .56s cubic-bezier(.4, 0, .2, 1), visibility .56s; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none;
  background: radial-gradient(90% 60% at 50% 100%, rgba(10,20,38,.97) 0%, rgba(8,16,31,.98) 38%, rgba(3,5,10,1) 72%, transparent 100%); }
.intro__stage { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12vh; box-sizing: border-box; }
.intro__logo { width: 112px; height: 112px; animation: intro-logo .42s cubic-bezier(.22, 1, .3, 1) both; }
@keyframes intro-logo { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
.intro__from { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 42px); left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: intro-from-in .52s cubic-bezier(.22, 1, .3, 1) both, intro-from-out .42s ease 1.1s both; }
.intro__from-label { margin: 0; padding: 0; font-family: var(--font-sans); font-size: 12px; letter-spacing: .02em; line-height: 1; text-transform: none; color: var(--w-45); }
.intro__from-brand { height: 15px; width: auto; display: block; opacity: .88; }
@keyframes intro-from-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-from-out { to { opacity: 0; } }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(12% 6% 12% 6% round 28px); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round 28px); }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .line-mask > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .in .line-mask > span, .js .line-mask.in > span { transform: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: calc(var(--svh, 1svh) * 100); display: grid; align-items: center; padding: 130px 0 80px; }
.hero__inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 28px; }
.hero h1 { max-width: 22ch; font-size: clamp(2.9rem, 7.4vw, 7.2rem); }
.hero .lead { text-align: center; margin-inline: auto; color: var(--w-70); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 6px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--c-ink-tertiary); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--w-45), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
/* Floating portraits around the sun */
.orbiters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; width: var(--s, 84px); aspect-ratio: 1; border-radius: 50%; padding: 3px; background: linear-gradient(140deg, var(--w-45), var(--w-08)); box-shadow: 0 20px 50px rgba(0,0,0,.6); transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1.2s var(--ease-out); }
.orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: saturate(.9); }
.orb .badge { position: absolute; right: 2%; bottom: 2%; width: 26%; height: 26%; }
.orb--blue { background: linear-gradient(140deg, var(--plus-blue-light), rgba(47,140,245,.15)); }
@media (max-width: 760px) {
  .orb { --s: 54px !important; }
  .orb:nth-child(3), .orb:nth-child(4) { display: none; }
  .hero { align-items: end; padding-bottom: 96px; }
  }

/* =====================================================================
   MANIFEST — words light up while scrolling
   ===================================================================== */
.manifest { position: relative; height: calc(var(--svh, 1svh) * 260); }
.manifest__sticky { position: sticky; top: 0; height: calc(var(--svh, 1svh) * 100); display: grid; align-items: center; }
@media (max-width: 760px) { .manifest { height: calc(var(--svh, 1svh) * 210); } }
.manifest p[data-split] { font-size: clamp(1.9rem, 4.3vw, 3.9rem); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; text-wrap: pretty; }
.manifest .w { color: rgba(255,255,255,.14); transition: color .35s linear; }
.manifest .w.on { color: var(--c-ink); }
.manifest .w.hl.on { color: transparent; background-image: linear-gradient(100deg, #fff, var(--plus-blue-light)); -webkit-background-clip: text; background-clip: text; }

/* =====================================================================
   RESOURCES
   ===================================================================== */
/* The resources use the pinned sideways rail and the cards of the events section (see .rail and .evcard). */

/* =====================================================================
   STATS / ONE CIRCLE
   ===================================================================== */
.circle__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.compare { padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.compare--open { background: var(--c-surface); border: 1px solid var(--w-08); border-radius: var(--radius-xl); }
.compare h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-ink-secondary); font-weight: 500; margin: 0; }
.compare p.big { font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.dots { display: grid; grid-template-columns: repeat(18, 1fr); gap: 6px; margin-top: 10px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--w-12); }
.compare--open .dots i:nth-child(3n) { background: var(--w-30); }
.compare--open .dots i:nth-child(7n) { background: #7a5a48; }
.compare--open .dots i:nth-child(5n+1) { background: #3f5b49; }
.compare--open .dots i:nth-child(11n) { background: #6d6a3c; }
.compare--amidal .dots i { background: var(--w-08); }
.compare--amidal .dots i.on { background: var(--plus-blue-light); box-shadow: 0 0 10px rgba(79,163,255,.8); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; border-radius: var(--radius-xl); background: var(--c-surface); border: 1px solid var(--w-08); }
.stat { padding: clamp(22px, 3vw, 36px); display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--w-08); }
.stat b { font-size: clamp(2.2rem, 4.2vw, 3.8rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--c-ink-secondary); }
@media (max-width: 860px) {
  .circle__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--w-08); }
}

/* =====================================================================
   PROFILES — pinned horizontal rail
   ===================================================================== */
.rail { position: relative; }
.rail__sticky { position: sticky; top: 0; height: calc(var(--svh, 1svh) * 100); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); }
.rail__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.quota { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: var(--radius-full); }
.quota__ring { width: 40px; height: 40px; }
.quota__ring circle { fill: none; stroke-width: 3; }
.quota b { font-variant-numeric: tabular-nums; font-size: 15px; }
.quota span { font-size: 13px; color: var(--c-ink-secondary); }
.rail__track { display: flex; gap: 20px; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); will-change: transform; }
.profile {
  flex: none; width: clamp(290px, 27vw, 360px); border-radius: var(--radius-xl); overflow: hidden;
  background: var(--panel); box-shadow: var(--panel-edge), 0 30px 60px rgba(0,0,0,.45); position: relative;
}
.profile__photo { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.profile:hover .profile__photo img { transform: scale(1.04); }
.profile__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(5,10,20,.92) 100%); }
.profile__name { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 7px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.profile__body { padding: 4px 18px 18px; display: grid; gap: 14px; }
.profile__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; }
.profile__stats div { display: grid; line-height: 1.15; }
.profile__stats b { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.profile__stats span { font-size: 12.5px; color: var(--c-ink-secondary); }
.profile__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--w-85); }
.profile__meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile__meta .i { width: 14px; height: 14px; color: var(--w-60); }
.profile__mutual { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-ink-secondary); line-height: 1.35; }
.avs { display: flex; flex: none; }
.avs img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #08101e; }
.avs img + img { margin-left: -9px; }
.profile__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.profile__actions { display: flex; gap: 8px; align-items: center; padding-top: 2px; }
.profile__actions .round { width: 48px; height: 48px; }
.profile__actions .slide { --slide-w: auto; flex: 1; min-width: 0; }
.rail__note { font-size: 12px; color: var(--c-ink-tertiary); letter-spacing: .04em; }
/* the grey line of the resources sits to the right of the headline, above the progress line: the headline gives way, the aside keeps its width */
.rail--res .rail__head { flex-wrap: nowrap; }
.rail--res .rail__head > :first-child { flex: 1 1 auto; min-width: 0; }
.rail__aside { display: grid; gap: 22px; justify-items: start; flex: 0 0 min(28em, 40%); }
.rail__lead { font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 30em; }
.rail__bar { height: 2px; background: var(--w-08); border-radius: 2px; overflow: hidden; width: min(260px, 50%); }
.rail__aside .rail__bar { width: min(260px, 100%); }
.rail__bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
/* phones: the rail stays pinned here too. Scrolling down moves the cards sideways, so every card passes by at least once.
   The headline, the grey line and the progress line stack, and the cards take the height that is left under them. */
@media (max-width: 760px) {
  .rail__sticky { padding-top: 64px; gap: 22px; }
  .rail--res .rail__head { flex-wrap: wrap; }
  .rail__aside { flex-basis: 100%; gap: 16px; }
  .rail__lead { font-size: 15px; }
}
/* windows too short to pin (a phone on its side): the cards scroll sideways on their own */
@media (max-height: 560px) {
  .rail { height: auto !important; }
  .rail__sticky { position: relative; height: auto; padding-block: 96px 40px; }
  .rail__track { transform: none !important; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .rail__track::-webkit-scrollbar { display: none; }
  .profile { scroll-snap-align: center; width: min(82vw, 340px); }
  .rail__bar { display: none; }
}
}

/* =====================================================================
   APP — sticky phone with feature chapters
   ===================================================================== */
.app__intro { text-align: center; display: grid; justify-items: center; gap: 20px; margin-bottom: clamp(30px, 6vw, 80px); }
.app__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.app__feats { display: grid; }
.feat { min-height: calc(var(--svh, 1svh) * 92); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 40px; opacity: .22; transition: opacity .6s var(--ease); }
.feat.is-active { opacity: 1; }
.feat__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--panel); box-shadow: var(--panel-edge); }
.feat__icon .i { width: 24px; height: 24px; }
.feat h3 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 0; }
.feat p { font-size: var(--fs-lead); color: var(--c-ink-secondary); max-width: 26em; line-height: 1.5; }
.feat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feat__n { font-size: 12px; letter-spacing: .24em; color: var(--c-ink-tertiary); font-variant-numeric: tabular-nums; }
.app__phone { position: sticky; top: calc(calc(var(--svh, 1svh) * 50) - 360px); height: 720px; display: grid; place-items: center; }
#app { overflow-x: clip; }
.app__phone::before { content: ""; position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(22,44,82,.55), rgba(10,20,40,.25) 55%, transparent 75%); z-index: -1; pointer-events: none; }
@media (max-height: 820px) and (min-width: 901px) { .app__phone { top: 70px; transform: scale(.86); transform-origin: top center; } }

/* The phone */
.phone {
  --pw: 340px; position: relative; width: var(--pw); aspect-ratio: 340 / 700; border-radius: 54px;
  background: #050506; padding: 11px;
  box-shadow: 0 0 0 1.5px #2b2b30, 0 0 0 3px #0d0d0f, 0 0 0 4px #3a3a40, 0 60px 120px rgba(0,0,0,.7), 0 0 120px rgba(47,140,245,.10);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #000; isolation: isolate; container-type: inline-size; }
.phone__island { position: absolute; top: 10px; left: 50%; width: 32%; height: 30px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 30; }
.phone__status { position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 29; display: flex; justify-content: space-between; align-items: center; padding: 6px 30px 0 34px; font-size: 13px; font-weight: 600; }
.phone__status i { display: inline-flex; gap: 5px; align-items: center; }
.phone__status i b { width: 22px; height: 11px; border-radius: 3px; border: 1px solid var(--w-60); position: relative; }
.phone__status i b::after { content: ""; position: absolute; inset: 1.5px; right: 4px; background: #fff; border-radius: 1px; }
.screen { position: absolute; inset: 0; padding: 54px 14px 92px; opacity: 0; transform: translateX(14%) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); overflow: hidden; font-size: 13px; }
.screen.is-active { opacity: 1; transform: none; }
.screen.is-past { transform: translateX(-10%) scale(.98); }
.tabbar { position: absolute; left: 12px; right: 12px; bottom: 16px; height: 62px; border-radius: 31px; z-index: 28; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; }
.tabbar span { width: 52px; height: 44px; border-radius: 22px; display: grid; place-items: center; color: var(--w-60); transition: background .4s var(--ease), color .4s; }
.tabbar span.on { background: var(--w-12); color: #fff; }
.tabbar .i { width: 22px; height: 22px; }

/* app-screen atoms */
.s-head { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 10px; }
.s-head__title { font-weight: 600; font-size: 15px; }
.s-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--w-08); border: 1px solid var(--w-10); }
.s-btn .i { width: 18px; height: 18px; }
.s-h { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin: 14px 2px 10px; }
.s-brand { font-family: var(--font-brand); font-weight: 600; letter-spacing: .14em; font-size: 15px; }
.s-headline { text-align: center; font-size: 23px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 12px; }
.s-card { border-radius: 22px; background: var(--panel); box-shadow: var(--panel-edge); padding: 16px; position: relative; overflow: hidden; }
.s-card h4 { margin: 0 0 6px; font-size: 16px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.s-card p { font-size: 12px; color: var(--c-ink-secondary); line-height: 1.4; }
.s-label { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-ink-secondary); font-weight: 600; }
.s-row { display: flex; align-items: center; gap: 8px; }
.s-av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.s-av--lg { width: 46px; height: 46px; }
.s-meta { display: flex; gap: 12px; color: var(--w-85); font-size: 12px; align-items: center; }
.s-meta span { display: inline-flex; gap: 4px; align-items: center; }
.s-meta .i { width: 15px; height: 15px; }
.s-sep { height: 1px; background: var(--w-10); margin: 12px 0; }
.s-img { border-radius: 16px; overflow: hidden; position: relative; }
.s-img img { width: 100%; height: 100%; object-fit: cover; }
.s-search { height: 46px; border-radius: 23px; display: flex; align-items: center; gap: 10px; padding: 0 6px; background: var(--w-06); border: 1px solid var(--w-10); color: var(--c-ink-secondary); }
.s-search .s-btn { width: 36px; height: 36px; background: transparent; border: 0; color: #fff; }

/* screen: home */
.sc-home .hp { border-radius: 26px; overflow: hidden; position: relative; height: 340px; box-shadow: var(--panel-edge); }
.sc-home .hp img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.sc-home .hp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.92) 100%); }
.sc-home .hp__t { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; gap: 8px; }
.sc-home .hp__t b { font-size: 17px; }
.sc-home .hp__stats { display: flex; gap: 18px; font-size: 11px; color: var(--w-85); }
.sc-home .hp__stats strong { display: block; font-size: 15px; color: #fff; }
.sc-home .hp__meta { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; display: flex; gap: 12px; }
.sc-home .hp__pills { display: flex; gap: 6px; }
.sc-home .hp__pills .pill { height: 28px; font-size: 10.5px; padding: 0 10px; }
.sc-home .hp__bar { position: absolute; left: 22px; right: 22px; bottom: 96px; z-index: 27; display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 34px; }
.sc-home .hp__bar .s-btn { width: 44px; height: 44px; }
.sc-home .hp__bar .slide { --slide-w: auto; --knob: 40px; flex: 1; height: 48px; }
.sc-home .hp__bar .slide__knob { animation-duration: 2.2s; }

/* screen: events */
.sc-events .stack { position: relative; height: 150px; margin: 16px 6px 14px; }
.sc-events .stack > * { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; }
.sc-events .stack > :nth-child(1) { transform: rotate(-4deg) translateY(6px); opacity: .55; }
.sc-events .stack > :nth-child(2) { transform: rotate(3deg); opacity: .75; }
.sc-events .stack img { width: 100%; height: 100%; object-fit: cover; }
.sc-events .stack__top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.8)); }
.sc-events .stack__txt { position: absolute; left: 16px; bottom: 14px; z-index: 1; }
.sc-events .stack__txt b { display: block; font-size: 17px; }
.sc-events .stack__txt > span { font-size: 11px; color: var(--w-85); }
.sc-events .stack__go { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.mini-map { height: 128px; border-radius: 20px; position: relative; overflow: hidden; background: #0b1220; box-shadow: var(--panel-edge); }
.mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-map__t { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 1; }
.mini-map__t b { display: block; font-size: 13.5px; }
.mini-map__t > span { font-size: 10.5px; color: var(--w-70); }
.mini-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.75)); }
.ev-card { margin-top: 12px; border-radius: 22px; background: var(--panel); box-shadow: var(--panel-edge); padding: 14px; }
.ev-card .s-label { margin: 10px 0 4px; display: block; }
.ev-card b { font-size: 16px; letter-spacing: -.02em; }
.ev-card .s-img { height: 92px; margin-top: 10px; }

/* screen: perspectives */
.sc-persp .tabs { display: flex; justify-content: space-around; border-bottom: 1px solid var(--w-10); padding-bottom: 10px; color: var(--w-70); font-size: 12px; }
.sc-persp .tabs span { display: inline-flex; gap: 5px; align-items: center; }
.sc-persp .tabs span:first-child { color: #fff; position: relative; }
.sc-persp .tabs span:first-child::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: -11px; height: 2px; background: #fff; }
.sc-persp .share { height: 54px; border: 1px dashed var(--w-20); border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 12.5px; margin-bottom: 12px; }
.sc-persp .s-card h4 { font-size: 17px; }
.sc-persp .tc { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; margin-top: 6px; color: var(--c-ink-secondary); }
.sc-persp .tc b { color: #fff; }

/* screen: chats */
.chat-row { display: flex; gap: 12px; align-items: center; padding: 10px 2px; }
.chat-row + .chat-row { border-top: 1px solid var(--w-06); }
.chat-row img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; }
.chat-row div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.chat-row b { font-size: 14px; display: flex; align-items: center; gap: 5px; }
.chat-row div > span { font-size: 12px; color: var(--c-ink-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row time { font-size: 11px; color: var(--c-ink-tertiary); align-self: flex-start; padding-top: 4px; }
.chat-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--plus-blue-light); flex: none; }
.bubble-wrap { display: grid; gap: 8px; margin-top: 8px; }
.bubble { max-width: 78%; padding: 9px 13px; border-radius: 18px; font-size: 12.5px; line-height: 1.35; background: var(--c-surface-muted); }
.bubble--me { justify-self: end; background: #fff; color: #000; }

/* screen: communities */
.comm { border-radius: 20px; overflow: hidden; position: relative; height: 128px; margin-bottom: 10px; box-shadow: var(--panel-edge); }
.comm img { width: 100%; height: 100%; object-fit: cover; }
.comm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.85)); }
.comm__t { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.comm__t b { display: block; font-size: 15px; }
.comm__t div > span { font-size: 11px; color: var(--w-70); }
.comm__t em { font-style: normal; font-size: 11px; font-weight: 600; background: #fff; color: #000; border-radius: 14px; padding: 6px 11px; }

/* screen: companies */
.co { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--w-06); margin-bottom: 8px; }
.co img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.co b { font-size: 14px; display: block; }
.co div > span { font-size: 11px; color: var(--c-ink-secondary); }
.co em { font-style: normal; font-size: 11px; font-weight: 600; color: #cfe4ff; background: rgba(47,140,245,.16); border: 1px solid rgba(79,163,255,.3); padding: 4px 9px; border-radius: 12px; }
.co-hero { border-radius: 22px; overflow: hidden; height: 150px; position: relative; margin-bottom: 12px; }
.co-hero img { width: 100%; height: 100%; object-fit: cover; }
.co-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.co-hero div { position: absolute; left: 14px; bottom: 12px; z-index: 1; }
.co-hero b { font-size: 16px; display: block; }

/* screen: story */
.sc-story { padding: 0; }
.sc-story .story-img { position: absolute; inset: 0; }
.sc-story .story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; transform: scale(1.08); }
.sc-story .story-img img.on { opacity: 1; animation: kenburns 4.2s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.sc-story::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 22%, transparent 72%, rgba(0,0,0,.7)); }
.story-bars { position: absolute; top: 54px; left: 14px; right: 14px; z-index: 2; display: flex; gap: 4px; }
.story-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: var(--w-30); overflow: hidden; }
.story-bars i b { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.story-bars i.done b { transform: scaleX(1); }
.story-bars i.run b { animation: bar 4.2s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.story-who { position: absolute; top: 66px; left: 14px; right: 14px; z-index: 2; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.story-who time { font-weight: 400; color: var(--w-70); font-size: 12px; }
.story-reply { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 2; display: flex; gap: 10px; align-items: center; }
.story-reply > span { flex: 1; height: 44px; border-radius: 22px; border: 1px solid var(--w-45); display: flex; align-items: center; padding: 0 16px; color: var(--w-85); font-size: 12.5px; }
.story-ring { display: flex; gap: 10px; margin: 6px 0 14px; }
.story-ring div { display: grid; justify-items: center; gap: 5px; font-size: 10.5px; color: var(--c-ink-secondary); }
.story-ring img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; padding: 2.5px; background: #000; box-shadow: 0 0 0 2px #fff; }

@media (max-width: 900px) {
  .app__grid { grid-template-columns: 1fr; }
  .app__phone { grid-row: 1; top: calc(env(safe-area-inset-top, 0px) + 74px); height: auto; z-index: 3; padding-bottom: 18px; pointer-events: none; }
  .app__phone::before { display: none; }
  .feat { -webkit-mask-image: linear-gradient(to bottom, transparent var(--cut, -200px), #000 calc(var(--cut, -200px) + 46px)); mask-image: linear-gradient(to bottom, transparent var(--cut, -200px), #000 calc(var(--cut, -200px) + 46px)); }
  .phone { --pw: min(46vw, 200px); border-radius: 34px; padding: 7px; }
  .phone__screen { border-radius: 28px; }
  .screen, .phone__status, .phone__island, .tabbar { zoom: .59; }
  .feat { min-height: calc(var(--svh, 1svh) * 72); text-align: left; justify-content: flex-start; padding-top: 12px; }
  .feat h3 { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* =====================================================================
   RESOURCES — the large cards on the sideways rail
   ===================================================================== */
.evcard { container-type: inline-size; position: relative; flex: none; height: clamp(320px, calc(var(--svh, 1svh) * 56), 620px); aspect-ratio: 5 / 6; border-radius: var(--radius-xl); overflow: hidden; background: #0b0b0d; }
.evcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: transform 1.2s var(--ease-out), filter .8s; }
.evcard:hover img { transform: scale(1.04); filter: brightness(.95); }
.evcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.86) 100%); }
.evcard__txt { position: absolute; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 30px); z-index: 1; display: grid; gap: 6px; }
.evcard__n { font-size: 12px; letter-spacing: .24em; color: var(--w-60); font-variant-numeric: tabular-nums; }
.evcard__txt b { font-size: clamp(2rem, 13cqw, 4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.evcard__txt > span:last-child { font-size: 15px; color: var(--w-70); }
@media (max-width: 760px) {
  .evcard { height: clamp(240px, calc(var(--svh, 1svh) * 100 - 350px), 400px); aspect-ratio: 4 / 5; }
}
@media (max-height: 560px) {
  /* one swipe, one card: the track always settles on a card and never skips one */
  .evcard { scroll-snap-align: center; scroll-snap-stop: always; height: 300px; aspect-ratio: 4 / 5; }
}

/* =====================================================================
   EVENTS — the wall
   Ten photos in three rows (3, 4, 3) of different widths, the words
   straight on the photo like the resource cards. Each row slides
   sideways while the wall passes by (the first and third to one side,
   the middle one to the other) and sits straight once it reaches the
   middle of the window; every photo opens up as it comes into view, and
   on a desk a soft spot of light follows the pointer across the wall.
   On a phone the rows dissolve into two columns that drift up and down.
   ===================================================================== */
.wall__head { margin-bottom: clamp(40px, 5vw, 72px); }
.wall__wide { width: min(1760px, 100% - 2 * clamp(12px, 2vw, 32px)); margin-inline: auto; } /* the wall reaches further out than the text column */
.wall__board { position: relative; }
.wall__rows { --gap: clamp(12px, 1.4vw, 18px); --rowh: clamp(220px, 28vw, 440px); display: grid; gap: var(--gap); }
.wall__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); height: var(--rowh); transform: translate3d(var(--px, 0px), 0, 0); will-change: transform; }
.wall__sub { display: contents; } /* the halves of the middle row only matter on a phone */
.tile { position: relative; grid-column: span var(--s, 4); border-radius: var(--radius-xl); overflow: hidden; background: #0b0b0d; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.86); transition: transform 1.2s var(--ease-out), filter .8s; }
.tile:hover img { transform: scale(1.04); filter: brightness(.98); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.84) 100%); }
.tile__txt { position: absolute; left: clamp(16px, 1.8vw, 24px); right: clamp(16px, 1.8vw, 24px); bottom: clamp(14px, 1.6vw, 22px); z-index: 1; display: grid; gap: 4px; }
.tile__n { font-size: 11px; letter-spacing: .24em; color: var(--w-60); font-variant-numeric: tabular-nums; }
.tile__txt b { font-size: clamp(1.5rem, 2.5vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.tile__txt > span:last-child { font-size: 15px; color: var(--w-70); }
/* opening up: each photo comes into view from a slightly smaller window, one after the other */
.js .tile { clip-path: inset(10% 5% 10% 5% round var(--radius-xl)); transition: clip-path 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * .05s); }
.js .tile.in { clip-path: inset(0 round var(--radius-xl)); }
/* the spot of light: a soft disc that only moves (transform), so following the pointer costs no repaint */
.wall__spot { position: absolute; left: 0; top: 0; width: 920px; height: 920px; margin: -460px 0 0 -460px; border-radius: 50%; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .7s; transform: translate3d(var(--mx, 50%), var(--my, 50%), 0); background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,.035) 38%, rgba(255,255,255,0) 68%); mix-blend-mode: screen; }
.wall__board.is-lit .wall__spot { opacity: 1; }
@media (max-width: 1100px) {
  .wall__rows { --rowh: clamp(200px, 27vw, 340px); }
  .tile__txt b { font-size: clamp(1.25rem, 2.6vw, 2rem); }
  .tile__txt > span:last-child { font-size: 13px; }
}
@media (max-width: 760px) {
  /* phones: the same three rows as on a desk, wider than the screen. While a row passes through the window it slides
     all the way across (the first and third to the left, the middle one to the right), so every photo comes by once. */
  .wall__wide { width: 100%; }
  .wall__board { overflow: hidden; }
  .wall__rows { --gap: 12px; --rowh: clamp(210px, 60vw, 280px); gap: 12px; grid-template-columns: minmax(0, 1fr); } /* the rows stay as wide as the screen and let their photos overflow */
  .wall__row--split { display: contents; } /* four rows: the middle row's two halves become rows of their own */
  .wall__row:not(.wall__row--split), .wall__sub { position: relative; display: flex; gap: 12px; padding-inline: 12px; height: var(--rowh); transform: translate3d(var(--px, 0px), 0, 0); will-change: transform; }
  .tile { flex: none; width: calc(var(--s, 4) * 10vw + 40vw); }
  .tile__txt { left: 14px; right: 14px; bottom: 13px; gap: 3px; }
  .tile__txt b { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .tile__txt > span:last-child { font-size: 12.5px; }
  .wall__spot { display: none; }
}

/* =====================================================================
   NEARBY — map lens
   ===================================================================== */
.radius-wrap { max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.radius-wrap::-webkit-scrollbar { display: none; }
.seg--radius button { height: 38px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.seg--radius .seg__bubble { bottom: auto; height: 38px; }
@media (max-width: 560px) {
  /* six options do not fit one line on a phone: two rows of three */
  .radius-wrap { overflow: visible; }
  .seg--radius { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 24px; }
  .seg--radius button { padding: 0 6px; }
}
.near__count { font-size: 14px; color: var(--c-ink-secondary); }
.near__count b { color: var(--c-ink); font-size: 15px; font-variant-numeric: tabular-nums; }
/* ---------- the picked event: the app's event card, one to one ----------
   Same build as EventCard.jsx in the app: the written part (host, tag, title)
   on the card's own gradient, the photo set into it with air on all sides,
   and only the three short facts on the photo's lower edge. Values are the
   app's tokens, resolved (--event-tone-1, --space-*, --w-*). */
.ev-pick { position: relative; max-width: 360px; border-radius: 28px; overflow: hidden; isolation: isolate; text-align: left;
  background: radial-gradient(125% 105% at 90% -14%, rgba(255,255,255,.10) 0%, rgba(255,255,255,.05) 30%, rgba(255,255,255,0) 56%), linear-gradient(to bottom, rgba(10,20,38,.97) 0%, rgba(9,18,34,.98) 26%, rgba(8,16,31,.98) 52%, rgba(10,19,35,.99) 74%, rgb(6,11,21) 90%, rgb(3,5,10) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 0 1px var(--w-06); }
.event-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 14px 12px; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.event-card__byline { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 20px; }
.event-hosts-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.event-hosts-card-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.18); display: block; flex: none; }
.event-hosts-name { font-size: 16px; font-weight: 400; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card-term { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-secondary); line-height: 1; }
.event-card-title { margin: 0; max-width: 100%; font-family: var(--font-sans); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: 0; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card__figure { position: relative; margin: 0 6px 8px; border-radius: 22px; overflow: hidden; background: rgba(0,0,0,.35); isolation: isolate; }
.event-card__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .25s var(--ease), transform .6s var(--ease); }
.event-card__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
  background-image: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.9) 14%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.3) 62%, rgba(0,0,0,.1) 82%, rgba(0,0,0,0) 100%); }
.event-card__strip { position: absolute; left: 14px; right: 14px; bottom: 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; z-index: 3; pointer-events: none; }
.event-card__strip-cell { min-width: 0; font-size: 13px; font-weight: 700; color: #fff; -webkit-text-fill-color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card__strip-cell--start { text-align: left; }
.event-card__strip-cell--mid { text-align: center; }
.event-card__strip-cell--end { text-align: right; }
.ev-pick.is-swap .event-card__head { opacity: 0; transform: translateY(6px); }
.ev-pick.is-swap .event-card__photo { opacity: 0; transform: scale(1.06); }
.lens-wrap { display: grid; place-items: center; }
.lens { position: relative; width: min(100%, 470px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; isolation: isolate; container-type: inline-size; background: #0a1322;
  box-shadow: 0 0 0 1px var(--w-12), 0 0 0 12px rgba(255,255,255,.015), 0 0 0 13px var(--w-06), 0 40px 120px rgba(0,0,0,.65), 0 0 160px rgba(47,140,245,.20); }
.lens__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.lens__sweep { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 1; background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, rgba(79,163,255,.20) 359deg, transparent 360deg); animation: spin 7s linear infinite; }
.lens__me { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; z-index: 3; box-shadow: 0 0 0 4px rgba(79,163,255,.35), 0 0 22px rgba(79,163,255,.9); }
.lens__me i { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(79,163,255,.8); animation: pin-pulse 2.4s var(--ease) infinite; }
.lens__label { position: absolute; left: 50%; top: 12.5%; transform: translate(-50%, -50%); z-index: 4; font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(8,16,31,.9); border: 1px solid rgba(79,163,255,.55); color: #cfe4ff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lens__cluster { position: absolute; left: 50%; top: 50%; transform: translate(8px, -28px); z-index: 4; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff; color: #000; }
.pin { position: absolute; left: calc(50% + var(--x, 0cqw)); top: calc(50% + var(--y, 0cqw)); width: 9.6cqw; height: 9.6cqw; margin: -4.8cqw 0 0 -4.8cqw; border-radius: 50%; padding: 2px; background: #fff; z-index: 2; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.55); transition: left .9s var(--ease), top .9s var(--ease), opacity .5s var(--ease), transform .45s var(--ease), box-shadow .3s; }
.pin img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pin:hover { transform: scale(1.12); }
.pin.is-dim { opacity: .3; transform: scale(.72); }
.pin.is-out { opacity: 0; transform: scale(.4); pointer-events: none; }
.pin.is-on { transform: scale(1.24); z-index: 5; box-shadow: 0 0 0 3px var(--plus-blue-light), 0 12px 30px rgba(47,140,245,.55); }

/* =====================================================================
   NEARBY — radar + international (legacy radar styles)
   ===================================================================== */
.near { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.near__copy { display: grid; gap: 22px; align-content: start; }
.radar-card { padding: clamp(18px, 2.5vw, 30px); display: grid; gap: 20px; }
.radar { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar__sweep { transform-origin: 50% 50%; animation: spin 6s linear infinite; }
.radar__area { transition: r .8s var(--ease); }
.radar__pin { transition: opacity .5s, transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.radar__pin.off { opacity: .18; }
.radar__pin.on .pulse { animation: pin-pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pin-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.range { display: grid; gap: 12px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range__top b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #fff var(--fill, 30%), var(--w-12) var(--fill, 30%)); }
.range input::-moz-range-track { height: 6px; border-radius: 6px; background: var(--w-12); }
.range input::-moz-range-progress { height: 6px; border-radius: 6px; background: #fff; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5); cursor: grab; }
.range input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; cursor: grab; }
.near__list { display: grid; gap: 8px; }
.near-ev { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: var(--w-05); border: 1px solid var(--w-06); transition: opacity .4s, transform .4s var(--ease); }
.near-ev img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.near-ev b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.near-ev div > span { font-size: 12px; color: var(--c-ink-secondary); }
.near-ev em { font-style: normal; font-size: 12px; color: var(--c-ink-secondary); font-variant-numeric: tabular-nums; padding-right: 6px; }
@media (max-width: 900px) { .near { grid-template-columns: 1fr; } }

@media (max-width: 560px) { .world .h1 { font-size: min(var(--fs-h1), 8.7vw); white-space: nowrap; } }
.world { text-align: center; display: grid; justify-items: center; gap: 22px; min-height: calc(var(--svh, 1svh) * 90); align-content: center; }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 50s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 64s; }
.marquee__track > span { font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; padding: 0 .6em; color: var(--w-20); white-space: nowrap; }
.marquee__track > span.hot { color: var(--c-ink); }
.marquee__track > span.sep { color: var(--plus-blue-light); padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   FACT TILES (company page, security)
   ===================================================================== */
.nfc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.fact { padding: 20px; display: grid; gap: 8px; align-content: start; }
.fact .i { width: 22px; height: 22px; color: var(--plus-blue-light); }
.fact b { font-size: 16px; letter-spacing: -.01em; }
.fact > span { font-size: 13.5px; color: var(--c-ink-secondary); line-height: 1.45; }
@media (max-width: 900px) { .nfc__facts { grid-template-columns: 1fr; } }

/* =====================================================================
   PASS
   ===================================================================== */
.passcard-wrap { perspective: 1400px; display: grid; justify-items: center; gap: 18px; }
/* The pass, as in the app: member since top left, the name (with the Plus
   mark) top right, the AMIDAL wordmark across the bottom as a hairline, like
   the one in the footer. It lies flat and stays flat; a tap lifts it over a
   dark veil, where it grows and a small code appears in its middle (see
   .pass-veil). All sizes hang on the card's width (cqw). */
.passcard { position: relative; width: min(100%, 460px); aspect-ratio: 1.586; cursor: pointer; container-type: inline-size; }
.passcard__face { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--w-10); box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.35); background: radial-gradient(130% 120% at 90% 0%, #1D1D21 0%, #0E0F11 45%, #050506 100%); }
.passcard__since { position: absolute; left: 6%; top: 9.5%; text-align: left; }
.passcard__since small { display: block; font-size: 2.65cqw; font-weight: 500; letter-spacing: .12em; color: var(--w-45); margin-bottom: .6cqw; }
.passcard__since b { font-size: 3.8cqw; font-weight: 600; letter-spacing: .06em; }
.passcard__name { position: absolute; right: 6%; top: 9.5%; max-width: 56%; display: inline-flex; align-items: center; gap: 1.2cqw; font-size: 3.8cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.passcard__name > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.passcard__name .badge { width: 4.4cqw; height: 4.4cqw; flex: none; }
/* "AMIDAL" in Cormorant 600 with .08em tracking is 4.247em of ink: sized so it runs from the left edge of "member since" to the right edge of the name */
.passcard__word { position: absolute; left: 6%; bottom: -.1em; margin-left: .016em; font-family: var(--font-brand); font-weight: 600; font-size: calc(88cqw / 4.247); letter-spacing: .08em; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--w-12); pointer-events: none; user-select: none; }
.passcard__code { position: absolute; top: 50%; left: 50%; width: 21cqw; aspect-ratio: 1; opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity .2s ease, transform .32s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
/* the code file is black on white: inverted it is white on black, and "screen" on the whole block drops the black into the card (the block has its own layer, so the blend must sit on it, not on the image) */
.passcard__code { mix-blend-mode: screen; }
.passcard__code img { width: 100%; height: 100%; display: block; filter: invert(1); }
.passcard.is-open .passcard__code { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .28s ease .26s, transform .42s cubic-bezier(.2, .8, .2, 1) .26s; }
.pass__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
/* The pass as the app shows it: one card, centred, in the design the member picks. */
@property --p1 { syntax: '<color>'; inherits: true; initial-value: #1C1D21; }
@property --p2 { syntax: '<color>'; inherits: true; initial-value: #0E0F11; }
@property --p3 { syntax: '<color>'; inherits: true; initial-value: #050506; }
[data-design="onyx"] { --p1: #1C1D21; --p2: #0E0F11; --p3: #050506; }
[data-design="marine"] { --p1: #1F3558; --p2: #0F1D36; --p3: #050B17; }
[data-design="bordeaux"] { --p1: #4A1826; --p2: #290B15; --p3: #110409; }
[data-design="smaragd"] { --p1: #15443A; --p2: #0A261F; --p3: #03100C; }
[data-design="titan"] { --p1: #3C3F46; --p2: #23252B; --p3: #111216; }
[data-design="gold"] { --p1: #6E5731; --p2: #3B2E18; --p3: #16110A; }
#ausweis { overflow-x: clip; }
.mpass { display: grid; justify-items: center; gap: clamp(26px, 4vw, 44px); text-align: center; }
.mpass__head { display: grid; justify-items: center; gap: 18px; }
.mpass__head .eyebrow { margin: 0; }
.mpass__head .lead { text-align: center; }
.mpass__stage { position: relative; width: min(100%, 480px); margin-top: clamp(10px, 3vw, 34px); transition: --p1 .6s var(--ease), --p2 .6s var(--ease), --p3 .6s var(--ease); }
/* Tapped, the pass is lifted as in the app: a dark, blurred veil covers the
   page, and a copy of the card grows on it from where it lay — flat, to the
   full width — with the small code in its middle. main.js places the copy
   (left, top, width); the height follows the ratio. A tap anywhere, a scroll
   or Escape lets it go back. */
.pass-veil { position: fixed; inset: 0; z-index: 80; cursor: pointer; }
.pass-veil__bg { position: absolute; inset: 0; background: var(--k-72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .36s ease; }
.pass-veil.is-up .pass-veil__bg { opacity: 1; }
.mpass__stage.pass-veil__stage { position: fixed; margin: 0; transition: left .52s cubic-bezier(.4, 0, .2, 1), top .52s cubic-bezier(.4, 0, .2, 1), width .52s cubic-bezier(.4, 0, .2, 1); }
.pass-veil__stage::before { display: none; }
.pass-veil__hint { position: fixed; left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; color: var(--w-60); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.pass-veil.is-up .pass-veil__hint { opacity: 1; transition: opacity .3s ease .36s; }
.mpass__stage::before { content: ""; position: absolute; inset: -28% -30%; background: radial-gradient(closest-side, color-mix(in srgb, var(--p1) 70%, transparent), transparent 72%); opacity: .7; pointer-events: none; z-index: -1; }
.mpass__stage .passcard { width: 100%; }
.mpass__stage .passcard__face, .mpass__ghost { background: radial-gradient(120% 110% at 92% 0%, var(--p1) 0%, var(--p2) 48%, var(--p3) 100%); border: 1px solid var(--w-12); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 var(--w-12); isolation: isolate; }
.mpass__ghost { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; opacity: .55; transition: --p1 .6s var(--ease), --p2 .6s var(--ease), --p3 .6s var(--ease), transform .9s var(--ease-out); }
.mpass__ghost--l { transform: translate(-19%, 5%) rotate(-9deg) scale(.9); }
.mpass__ghost--r { transform: translate(19%, 5%) rotate(9deg) scale(.9); }
.pcard__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 34%, var(--w-06) 46%, var(--w-12) 50%, var(--w-06) 54%, transparent 66%) no-repeat; background-size: 260% 100%; animation: pcard-sheen 9s ease-in-out infinite; }
@keyframes pcard-sheen { 0%, 62%, 100% { background-position: 150% 0; } 92% { background-position: -50% 0; } }
.mpass__pick { display: grid; justify-items: center; gap: 16px; }
.mpass__name { display: grid; gap: 2px; }
.mpass__name b { font-size: 17px; letter-spacing: -.01em; }
.mpass__name > span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-ink-tertiary); }
.mpass__swatches { display: flex; gap: 12px; padding: 8px; border-radius: var(--radius-full); background: var(--w-06); border: 1px solid var(--w-10); }
.swatch { width: 34px; height: 34px; border-radius: 50%; padding: 3px; border: 1px solid transparent; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(120% 110% at 80% 10%, var(--p1), var(--p3)); box-shadow: inset 0 0 0 1px var(--w-16); }
.swatch:hover { transform: scale(1.08); }
.swatch.is-on { border-color: #fff; }
.mpass__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; margin-top: clamp(14px, 3vw, 36px); border-top: 1px solid var(--w-10); text-align: left; }
.mpass__fact { display: grid; gap: 8px; align-content: start; padding: 28px clamp(16px, 2.4vw, 34px) 6px; }
.mpass__fact + .mpass__fact { border-left: 1px solid var(--w-10); }
.mpass__fact .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--w-06); border: 1px solid var(--w-08); margin-bottom: 8px; }
.mpass__fact b { font-size: 18px; letter-spacing: -.02em; }
.mpass__fact > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--c-ink-secondary); }
@media (max-width: 760px) {
  .mpass__ghost--l { transform: translate(-9%, 7%) rotate(-7deg) scale(.9); }
  .mpass__ghost--r { transform: translate(9%, 7%) rotate(7deg) scale(.9); }
  .mpass__swatches { gap: 8px; }
  .mpass__facts { grid-template-columns: 1fr; }
  .mpass__fact { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px 0; }
  .mpass__fact .ic { grid-row: span 2; margin: 0; }
  .mpass__fact + .mpass__fact { border-left: 0; border-top: 1px solid var(--w-10); }
}
@media (prefers-reduced-motion: reduce) { .pcard__sheen { animation: none; } }
/* on a phone the pass stood edge to edge; a little smaller it reads as a card again */
@media (max-width: 760px) { .mpass__stage { width: min(84%, 480px); } }
@media (prefers-reduced-motion: reduce) { .pass-veil__bg, .mpass__stage.pass-veil__stage, .pass-veil__hint, .passcard__code, .passcard.is-open .passcard__code { transition: none; } }

/* metal cards */
.metal { margin-top: clamp(70px, 10vw, 140px); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.metal .eyebrow { color: var(--gold); }
.metal .eyebrow::before { background: var(--gold); }
.metal__cards { position: relative; height: clamp(230px, 24vw, 320px); }
.tier { position: absolute; top: 50%; left: 50%; width: clamp(130px, 13vw, 180px); aspect-ratio: 1 / 1.45; border-radius: 14px; transform: translate(-50%, -50%) rotate(var(--r)) translateX(var(--x)); transition: transform .8s var(--ease-out); box-shadow: 0 20px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.5); display: flex; flex-direction: column; justify-content: space-between; padding: 12px; }
.metal:hover .tier { transform: translate(-50%, -50%) rotate(calc(var(--r) * 1.4)) translateX(calc(var(--x) * 1.35)); }
.tier small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgba(0,0,0,.6); }
.tier i { font-style: normal; font-family: var(--font-brand); font-weight: 600; letter-spacing: .3em; writing-mode: vertical-rl; align-self: flex-end; font-size: 11px; color: rgba(0,0,0,.45); }
.tier--metall { --r: -14deg; --x: -62%; background: linear-gradient(135deg, #6d6f75, #c5c7cc 40%, #85878e 70%, #4b4d52); }
.tier--silber { --r: -3deg; --x: 0%; background: linear-gradient(135deg, #b9bcc2, #f4f5f7 38%, #c9ccd2 64%, #8d9096); }
.tier--gold { --r: 9deg; --x: 62%; background: linear-gradient(135deg, #9a7a3a, #ecd38e 38%, #c6a664 62%, #7d6127); }
.metal__prices { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.metal__prices div { display: grid; }
.metal__prices b { font-size: 15px; }
.metal__prices div > span { font-size: 13px; color: var(--c-ink-secondary); }
@media (max-width: 900px) { .metal { grid-template-columns: 1fr; } }

/* =====================================================================
   VERIFIED — ID scan
   ===================================================================== */
.verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.idscan { position: relative; display: grid; gap: 18px; justify-items: center; }
.idcard { position: relative; width: min(100%, 470px); aspect-ratio: 1.586; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #1d2430, #11151c 60%, #0b0e13); border: 1px solid var(--w-12); padding: 5.5%; display: grid; grid-template-columns: 30% 1fr; grid-template-rows: auto 1fr auto; gap: 4% 6%; container-type: inline-size; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.idcard__top { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 2.5cqw; letter-spacing: .24em; color: var(--w-45); text-transform: uppercase; }
.idcard__photo { border-radius: 2cqw; overflow: hidden; }
.idcard__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.idcard__fields { display: grid; gap: 2.6cqw; align-content: start; }
.idcard__fields small { display: block; font-size: 2.2cqw; letter-spacing: .18em; color: var(--w-45); text-transform: uppercase; }
.idcard__fields b { font-size: 4.2cqw; letter-spacing: .04em; }
.idcard__mrz { grid-column: 1 / -1; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 3cqw; letter-spacing: .08em; color: var(--w-60); line-height: 1.4; white-space: nowrap; overflow: hidden; }
.idcard__scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(79,163,255,.28) 80%, rgba(160,205,255,.9) 100%); box-shadow: 0 2px 18px rgba(79,163,255,.8); pointer-events: none; }
.idscan.is-run .idcard__scan { animation: scan 3.8s var(--ease) infinite; }
@keyframes scan { 0% { top: -30%; } 55% { top: 100%; } 100% { top: 100%; } }
.idresult { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: var(--radius-full); }
.idresult img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.idresult b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.idresult div > span { font-size: 12.5px; color: var(--c-ink-secondary); }
.idresult .ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; transform: scale(0); }
.idscan.is-run .idresult .ok { animation: ok 3.8s var(--ease) infinite; }
@keyframes ok { 0%, 55% { transform: scale(0); } 64%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
.no-list { display: grid; gap: 10px; margin-top: 30px; }
.no-list div { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.no-list .i { color: var(--plus-blue-light); }
@media (max-width: 900px) { .verify { grid-template-columns: 1fr; } }

/* =====================================================================
   STANCE — AI & humans
   ===================================================================== */
.stance { text-align: center; display: grid; justify-items: center; gap: 30px; }
.stance h2 { font-size: clamp(2.8rem, 8.4vw, 8.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.stance h2 .line-mask { padding-bottom: .1em; }
.stance__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; margin-top: 30px; text-align: left; }
.stance__grid .surface { padding: 24px; display: grid; gap: 10px; align-content: start; }
.stance__grid b { font-size: 17px; }
.stance__grid .surface > span { font-size: 14px; color: var(--c-ink-secondary); line-height: 1.5; }
@media (max-width: 860px) { .stance__grid { grid-template-columns: 1fr; } }

/* two fixed lines: "Die KI baut die Zukunft." / "Der Mensch entscheidet." */
.stance--two h2 { font-size: min(6rem, 6.9vw); white-space: nowrap; line-height: 1.02; }
.stance--two h2 .line-mask { display: block; }
@media (max-width: 760px) { .stance--two h2 { font-size: clamp(2.5rem, 11.6vw, 4.2rem); white-space: normal; line-height: 1.02; } }

/* =====================================================================
   ADMISSION — timeline
   ===================================================================== */
.steps { position: relative; margin-top: clamp(40px, 6vw, 90px); display: grid; gap: clamp(24px, 4vw, 60px); }
.steps__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--w-08); border-radius: 2px; overflow: hidden; }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(180deg, #fff, var(--plus-blue-light)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.step__dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); background: #000; border: 2px solid var(--w-20); transition: border-color .5s, box-shadow .5s, background .5s; }
.step.is-on .step__dot { border-color: #fff; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 0 24px rgba(79,163,255,.7); }
.step__body { padding: 26px 28px; display: grid; gap: 10px; transition: opacity .6s, transform .8s var(--ease-out); opacity: .35; }
.step.is-on .step__body { opacity: 1; }
.step:nth-child(odd of .step) .step__body { grid-column: 1; text-align: right; justify-items: end; }
.step:nth-child(even of .step) .step__body { grid-column: 2; }
.step__n { font-size: 12px; letter-spacing: .24em; color: var(--c-ink-secondary); font-variant-numeric: tabular-nums; }
.step__body b { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.035em; line-height: 1.05; }
.step__body p { color: var(--c-ink-secondary); max-width: 24em; }
.step__body .decision { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .steps__line { left: 9px; transform: none; }
  .step { grid-template-columns: 1fr; padding-left: 34px; }
  .step__dot { left: 10px; }
  .step .step__body { grid-column: 1 !important; text-align: left !important; justify-items: start !important; padding: 18px 20px; }
}

/* =====================================================================
   PRICING
   ===================================================================== */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 80px); }
.plan { padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 22px; align-content: start; border-radius: var(--radius-xl); position: relative; overflow: hidden; isolation: isolate; }
.plan--base { background: var(--c-surface); border: 1px solid var(--w-08); }
.plan--plus { background: radial-gradient(120% 90% at 100% 0%, rgba(79,163,255,.42), transparent 70%), var(--glass-regular-tint); border: 1px solid var(--plus-blue-light); box-shadow: 0 30px 100px rgba(47,140,245,.18); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 9px; }
.plan__name .badge { width: 26px; height: 26px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; }
.plan__price b { font-size: clamp(3.4rem, 6.4vw, 5.6rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price > span { color: var(--c-ink-secondary); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; line-height: 1.45; }
.plan li .i { width: 20px; height: 20px; margin-top: 1px; color: #fff; }
.plan--plus li .i { color: var(--plus-blue-light); }
.plan .btn { justify-self: start; margin-top: 6px; }
.plans__note { margin-top: 18px; font-size: 13px; color: var(--c-ink-tertiary); text-align: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* =====================================================================
   FINAL + FOOTER
   ===================================================================== */
.final { min-height: calc(var(--svh, 1svh) * 100); display: grid; place-items: center; text-align: center; }
.final__inner { display: grid; justify-items: center; gap: 28px; }
.final h2 { font-size: clamp(3rem, 9.5vw, 9.4rem); line-height: .94; letter-spacing: -.06em; font-weight: 700; }
.final__cta { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.footer { position: relative; z-index: 2; border-top: 1px solid var(--w-08); background: linear-gradient(180deg, rgba(0,0,0,.6), #000 40%); padding-top: clamp(50px, 7vw, 90px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-ink-tertiary); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a, .footer li span { font-size: 15px; color: var(--c-ink-secondary); transition: color .2s; display: inline-flex; align-items: center; gap: 9px; }
.footer li a:hover { color: var(--c-ink); }
.footer__claim { font-family: var(--font-brand); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; max-width: 14em; margin: 18px 0 26px; }
.footer__word { font-family: var(--font-brand); font-weight: 600; font-size: clamp(4rem, 16.5vw, 17rem); letter-spacing: .08em; padding-left: .08em; line-height: .8; text-align: center; margin: clamp(40px, 6vw, 80px) 0 -0.12em; color: transparent; -webkit-text-stroke: 1px var(--w-12); white-space: nowrap; user-select: none; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: var(--c-ink-secondary); transition: color .2s; }
.footer__legal a:hover { color: var(--c-ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; padding: 22px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--w-08); margin-top: 50px; font-size: 13px; color: var(--c-ink-tertiary); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* slogan band */
.band { padding-block: 26px; border-block: 1px solid var(--w-08); position: relative; z-index: 2; background: rgba(0,0,0,.4); }
.band .marquee__track > span { font-size: 13px; letter-spacing: .32em; font-weight: 500; color: var(--c-ink-secondary); padding: 0 1.4em; }

/* =====================================================================
   SUB PAGES (company, faq)
   ===================================================================== */
.page-hero { padding: clamp(150px, 20vw, 230px) 0 clamp(50px, 7vw, 90px); }
.page-hero .h1 { max-width: 13ch; }
.page-hero .lead { margin-top: 26px; }
.bigimg { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21 / 9; }
.bigimg img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--ipar, 0)); }
.bigimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6)); }
.bigimg figcaption { position: absolute; left: 26px; bottom: 22px; z-index: 1; font-size: 13px; color: var(--w-70); letter-spacing: .04em; }
@media (max-width: 700px) { .bigimg { aspect-ratio: 4 / 5; } }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.split__sticky { position: sticky; top: 120px; display: grid; gap: 20px; }
.prose { display: grid; gap: 22px; font-size: var(--fs-lead); line-height: 1.6; color: var(--w-85); }
.prose p { max-width: 36em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__sticky { position: static; } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 50px; }
.value { padding: 28px; display: grid; gap: 12px; align-content: start; min-height: 230px; }
.value .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--w-06); border: 1px solid var(--w-10); margin-bottom: 8px; }
.value b { font-size: 21px; letter-spacing: -.025em; }
.value > span { color: var(--c-ink-secondary); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 980px; margin-top: 18px; text-align: left; }
.phase { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.phase--now { border-color: var(--w-30); }
.phase__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.phase__n { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--c-ink-secondary); }
.phase b { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.035em; line-height: 1.1; }
.phase > span { color: var(--c-ink-secondary); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } }
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.place__card { padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 18px; align-content: space-between; min-height: 380px; }
.place__big { font-size: clamp(3.4rem, 8vw, 7rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.coords { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--c-ink-secondary); letter-spacing: .06em; }
@media (max-width: 860px) { .place { grid-template-columns: 1fr; } }

/* Sound toggle */
.sound { position: fixed; z-index: 40; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--c-ink); transition: background .25s, color .25s, opacity .25s; }
.sound .i { width: 19px; height: 19px; }
.sound[aria-pressed="false"] { color: var(--c-ink-secondary); }
.sound:hover { background: var(--w-12); }
body.menu-open .sound { opacity: 0; pointer-events: none; }

/* Legal pages */
.legal { padding-top: 10px; }
.legal__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.legal__body { display: grid; gap: clamp(34px, 5vw, 54px); }
.legal__body section { display: grid; gap: 14px; scroll-margin-top: 110px; }
.legal__body h2 { margin: 0 0 4px; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; }
.legal__body p, .legal__body li { margin: 0; max-width: 44em; font-size: 16px; line-height: 1.65; color: var(--w-70); }
.legal__body strong { color: var(--c-ink); font-weight: 600; }
.legal__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal__body a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--w-30); }
.legal__body a:hover { text-decoration-color: currentColor; }
.legal__body .legal__note { padding: 14px 18px; border: 1px dashed var(--w-20); border-radius: var(--radius-md); font-size: 14px; color: var(--c-ink-secondary); }
.legal__more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 6vw, 70px); padding-top: 26px; border-top: 1px solid var(--w-08); }
.legal__more .chip:hover { color: var(--c-ink); border-color: var(--w-20); }

/* FAQ */
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; }
.faq-search { flex: 1 1 280px; height: 54px; border-radius: var(--radius-full); display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--w-06); border: 1px solid var(--w-10); }
.faq-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; color: var(--c-ink); font: inherit; font-size: 16px; outline: none; }
.faq-search input::placeholder { color: var(--c-ink-tertiary); }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.faq-cats button { height: 38px; padding: 0 16px; border-radius: var(--radius-full); background: var(--w-05); border: 1px solid var(--w-08); font-size: 13.5px; font-weight: 500; color: var(--c-ink-secondary); transition: all .25s; }
.faq-cats button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-ink-tertiary); font-weight: 500; margin: 0 0 14px; }
.qa { border-top: 1px solid var(--w-08); }
.qa:last-child { border-bottom: 1px solid var(--w-08); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; }
.qa button .pm { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--w-06); border: 1px solid var(--w-10); transition: transform .4s var(--ease), background .3s; }
.qa.is-open button .pm { transform: rotate(45deg); background: #fff; color: #000; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 60px 26px 0; color: var(--c-ink-secondary); font-size: 16px; line-height: 1.65; max-width: 46em; }
.qa__a a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--w-30); }
.faq-empty { padding: 40px 0; color: var(--c-ink-secondary); }
.faq-contact { margin-top: 90px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .faq-contact { grid-template-columns: 1fr; } .qa__a p { padding-right: 0; } }
.copy-mail { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv, .js .rv-img, .js .line-mask > span, .js .tile { opacity: 1; transform: none; clip-path: none; }
  .wall__row { transform: none; }
  .marquee__track { animation: none; }
}

.place__card .chip { justify-self: start; }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* phases (company page) */
.phases { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 80px); }
.phases__line { position: absolute; left: 25%; right: 25%; top: -26px; height: 2px; background: var(--w-10); border-radius: 2px; overflow: hidden; }
.phases__line i { position: absolute; inset: 0 50% 0 0; background: linear-gradient(90deg, #fff, var(--plus-blue-light)); }
.phase { position: relative; border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--c-surface); border: 1px solid var(--w-08); text-align: left; }
.phase::before { content: ""; position: absolute; top: -33px; left: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); background: #000; border: 2px solid var(--w-20); }
.phase--now { background: var(--panel); border: 1px solid rgba(79,163,255,.45); box-shadow: var(--panel-edge), 0 30px 90px rgba(47,140,245,.16); }
.phase--now::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 0 22px rgba(79,163,255,.8); }
.phase__img { aspect-ratio: 16 / 8; overflow: hidden; position: relative; }
.phase__img img { width: 100%; height: 100%; object-fit: cover; }
.phase__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55)); }
.phase--next .phase__img img { filter: grayscale(.6) brightness(.7); }
.phase__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.phase__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.phase__n { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-ink-secondary); font-variant-numeric: tabular-nums; }
.phase h3 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.phase--next h3 { color: var(--w-70); }
.phase p { color: var(--c-ink-secondary); font-size: 16px; line-height: 1.55; max-width: 34em; }
.phase__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--plus-blue-light); box-shadow: 0 0 8px var(--plus-blue-light); animation: arrow-wave 1.8s ease-in-out infinite; }
@media (max-width: 760px) {
  .phases { grid-template-columns: 1fr; }
  .phases__line, .phase::before { display: none; }
}
