/* ==========================================================================
   Agentic Hack: Vienna CI
   Base:     #0E121B with a faint 48px grid (after munich-hackathon.de)
   Primary:  icons blue #0F5BA5 for fills, #4F8FD9 / #7FB2EE for text on dark
   Type:     Martian Mono (display), JetBrains Mono (text and code)
   ========================================================================== */

:root {
  --bg: #0e121b;
  --bg-2: #131926;
  --bg-3: #1a2232;
  --fg: #e6eaf2;
  --mute: #8b95a8;
  --line: rgba(230, 234, 242, 0.1);
  --line-2: rgba(230, 234, 242, 0.18);
  --blue: #0f5ba5;
  --blue-2: #1468ba;
  --blue-hi: #4f8fd9;
  --blue-lt: #7fb2ee;
  --ok: #8fd6a8;

  --f-display: "Martian Mono", "JetBrains Mono", ui-monospace, monospace;
  --f-body: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

[hidden] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(127, 178, 238, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 178, 238, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--fg);
  font: 400 15.5px/1.65 var(--f-body);
  font-variant-ligatures: none;
  overflow-x: clip;
}

::selection { background: var(--blue); color: #fff; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
code { font-family: var(--f-body); }
:focus-visible { outline: 1px solid var(--blue-lt); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--blue); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); position: relative; }

.label {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--mute); margin-bottom: 24px;
}
.label-n {
  display: inline-grid; place-items: center; min-width: 2.6em; height: 1.9em; padding: 0 6px;
  border: 1px solid var(--blue-hi); color: var(--blue-lt); font-weight: 500;
}
.label-light { color: rgba(255, 255, 255, 0.78); }
.label-light .label-n { border-color: #fff; color: #fff; }
.mini-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }

.h2 {
  font-family: var(--f-display); font-weight: 400; font-stretch: 87.5%;
  font-size: clamp(1.9rem, 4.4vw, 3.8rem); line-height: 1.08; letter-spacing: -0.03em;
  max-width: 20ch; margin-bottom: 40px;
}
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; max-width: 58ch; opacity: 0.82; }
.note { font-size: 0.78rem; color: var(--mute); margin-top: 28px; }
.h2-wide { max-width: 30ch; }
.h2-sub { display: block; margin-top: 10px; font-size: 0.5em; letter-spacing: -0.02em; color: var(--mute); }

/* Name: display prefix plus the city written like code */
.nm { white-space: nowrap; }

/* Logos: Simple Icons mark tinted via mask plus a wordmark */
.logo { display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; color: inherit; line-height: 1; }
.logo-ic { display: inline-block; width: 1.2em; height: 1.2em; flex: none; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.logo-wm { font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.wm-caps .logo-wm { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82em; font-weight: 800; }
.wm-lower .logo-wm { text-transform: lowercase; font-weight: 600; }

/* Buttons: sharp corners, mono labels */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border: 1px solid var(--blue); background: var(--blue); color: #fff;
  font-family: var(--f-body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { background: var(--blue-2); transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--blue-lt); }
.btn:active { transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { background: transparent; border-color: var(--blue-lt); color: var(--blue-lt); }

.btn-light { background: #fff; border-color: #fff; color: var(--blue); }
.btn-light:hover { background: #fff; box-shadow: 3px 3px 0 var(--bg); }

/* Draft markers */
.show-tbc .tbc { text-decoration: underline dotted var(--blue-lt) 1.5px; text-underline-offset: 5px; cursor: help; }
.draft-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 90;
  background: var(--bg-2); color: var(--blue-lt); border: 1px solid var(--blue-hi);
  padding: 7px 10px; font-family: var(--f-body); font-size: 0.68rem; letter-spacing: 0.06em; cursor: pointer;
}
.draft-badge[aria-pressed="false"] { opacity: 0.5; }

.caret, .hero-caret {
  display: inline-block; width: 0.55em; height: 1.05em; margin-left: 0.12em; vertical-align: -0.15em;
  background: var(--blue-lt); animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Terminal component ---------- */
.term { background: rgba(15, 19, 28, 0.94); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.term-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.term-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(143, 214, 168, 0.7); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.term-ctrl { display: flex; gap: 18px; color: var(--mute); }

.term-body { padding: 22px 18px 26px; font-size: 0.92rem; line-height: 1.95; }
.tl { display: grid; grid-template-columns: 76px 56px 1fr; gap: 0 14px; animation: lineIn 0.2s var(--ease) both; }
.tl-cmd { display: block; }
.ps { color: var(--blue-hi); margin-right: 10px; }
.cmd { color: #fff; }
.ts, .tk { color: var(--mute); }
.tl-task .tt { color: #fff; }
.tl-tool .tt { color: var(--blue-lt); }
.tl-agent .tk, .tl-agent .tt { color: var(--ok); }
@keyframes lineIn { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Navigation: brand pill, audience switch, menu (after Talent Elevator) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 80; pointer-events: none; }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(28, 36, 52, 0.62); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-brand { padding: 10px 20px; transition: opacity 0.35s, transform 0.35s var(--ease); }
.page-home .nav-brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.page-home.scrolled .nav-brand { opacity: 1; transform: none; pointer-events: auto; }

.nav-mark { width: 20px; height: 20px; margin: -3px 9px 0 -4px; vertical-align: middle; }
.nav-logo { font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: 0.86rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.nav-cta { padding: 4px; }
.nav-cta a {
  padding: 9px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em; color: #fff;
  background: var(--blue); box-shadow: 0 4px 18px rgba(15, 91, 165, 0.55); transition: background 0.2s;
}
.nav-cta a:hover { background: var(--blue-2); }
.nav-cta { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease); }
.scrolled .nav-cta { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 560px) {
  .nav-in { padding: 10px 12px; gap: 8px; }
  .nav-logo { display: inline-block; padding: 8px 0; font-size: 0.74rem; }
  .nav-brand { padding: 9px 14px; }
  .nav-cta a { padding: 8px 12px; font-size: 0.7rem; letter-spacing: 0.02em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 110px 0 96px; }
.rain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%);
}
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(14, 18, 27, 0.9) 0%, rgba(14, 18, 27, 0.5) 55%, rgba(14, 18, 27, 0) 100%); }
.hero-in { position: relative; text-align: center; padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; }
.hero-name {
  font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%;
  font-size: clamp(2rem, 6.4vw, 6.2rem); line-height: 1.04; letter-spacing: -0.05em;
  display: flex; flex-direction: column; align-items: center;
}
.hn { position: relative; display: block; white-space: nowrap; }
.hn-ghost { visibility: hidden; }
.hn-typed { position: absolute; left: 0; top: 0; white-space: nowrap; }
.hero-caret { display: inline-block; width: 0.34em; height: 0.74em; margin-left: 0.06em; vertical-align: -0.02em; background: var(--blue-hi); }
.ready .hero-caret { animation: blink 1.05s steps(1) infinite; }
.intro { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-left: var(--gutter); padding-right: var(--gutter); }
.hero-cta { display: flex; flex-direction: column; align-items: center; }
.hero-powered { font-size: 0.8rem; letter-spacing: 0.22em; color: var(--mute); }
.hero-powered a { color: var(--blue-lt); font-weight: 700; text-decoration: none; letter-spacing: 0.12em; }
.hero-powered a:hover { color: #fff; }
.hero-powered { margin-top: clamp(14px, 2vw, 22px); }
.hero-label { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(127, 178, 238, 0.45); border-radius: 999px; background: rgba(15, 91, 165, 0.16); color: var(--blue-lt); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-stretch: 87.5%; font-size: clamp(1.5rem, 3.2vw, 2.7rem); line-height: 1.12; letter-spacing: -0.035em; max-width: 24ch; }
.hero-text { margin-top: 16px; max-width: 54ch; font-size: clamp(0.95rem, 1.2vw, 1.08rem); line-height: 1.7; opacity: 0.8; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(26px, 4vh, 38px); }
.hero-btns .btn-ghost { padding: 17px 30px; background: rgba(14, 18, 27, 0.5); }
.hero-facts { list-style: none; margin: clamp(34px, 5vh, 52px) 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, auto); gap: 12px clamp(20px, 4vw, 56px); justify-content: center; }
.hero-facts li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-facts strong { font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: -0.03em; white-space: nowrap; }
.hero-facts span { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-lt); }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 50px; margin-left: -0.5px; background: var(--line-2); overflow: hidden; opacity: 0; transition: opacity 0.6s 0.6s; }
.ready .hero-scroll { opacity: 1; }
.hero-scroll span { position: absolute; left: 0; width: 1px; height: 18px; background: var(--blue-lt); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { top: -18px; } to { top: 50px; } }
@media (max-width: 600px) { .hero-name { font-size: 11vw; } .hero-facts { grid-template-columns: 1fr 1fr; width: 100%; } }

/* Round, glossy call to action */
.btn-round { border-radius: 999px; }
.btn-shine {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; padding: 17px 38px; font-size: 0.84rem;
  background: linear-gradient(180deg, #1b6cc0, var(--blue) 55%, #0c4c8c);
  border-color: rgba(127, 178, 238, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px rgba(15, 91, 165, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-shine::before {
  content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
.btn-shine:hover { transform: translateY(-2px) scale(1.04); background: linear-gradient(180deg, #2378cf, var(--blue-2) 55%, #0f5397); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 40px rgba(79, 143, 217, 0.6), 0 0 0 6px rgba(79, 143, 217, 0.18); }
.btn-shine:hover::before { animation-duration: 1.1s; }
@keyframes shine { 0% { left: -70%; } 55%, 100% { left: 140%; } }

/* ---------- Schedule: clock + timeline ---------- */
.sched-grid { display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sched-left { position: sticky; top: calc(50vh - 220px); display: flex; flex-direction: column; align-items: center; }
.clock { width: min(380px, 80vw); aspect-ratio: 1; }
.clock svg { width: 100%; height: 100%; overflow: visible; }
.ring-bg { fill: rgba(19, 25, 38, 0.8); stroke: var(--line-2); stroke-width: 1; }
.ring-prog { fill: none; stroke: var(--blue-hi); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: butt; }
.tk-s { stroke: rgba(230, 234, 242, 0.25); stroke-width: 0.8; }
.tk-l { stroke: rgba(230, 234, 242, 0.75); stroke-width: 1.6; }
.clock text { fill: var(--mute); font-family: var(--f-body); font-size: 11px; text-anchor: middle; }
.hand-h { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.hand-m { stroke: var(--blue-lt); stroke-width: 2; stroke-linecap: round; }
.hub { fill: #fff; }
.clock-read { margin-top: 22px; font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.clock-day { color: var(--mute); font-weight: 400; }
.clock-hour { margin-top: 6px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-lt); }
.sched-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.sched-list li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 26px 0 26px 28px; opacity: 0.38; transition: opacity 0.3s; }
.sched-list li::before { content: ""; position: absolute; left: -5px; top: 33px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--mute); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.sched-list li.past { opacity: 0.6; }
.sched-list li.past::before { background: var(--blue-hi); border-color: var(--blue-hi); }
.sched-list li.on { opacity: 1; }
.sched-list li.on::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 5px rgba(79, 143, 217, 0.3); }
.sl-time { font-size: 0.78rem; color: var(--blue-lt); padding-top: 5px; font-variant-numeric: tabular-nums; }
.sched-list strong { display: block; font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.sched-list li div span { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--mute); }
@media (max-width: 860px) {
  .sched-grid { grid-template-columns: 1fr; }
  .sched-left { top: 56px; z-index: 2; padding: 12px 0; background: var(--bg); flex-direction: row; gap: 18px; justify-content: flex-start; border-bottom: 1px solid var(--line); }
  .clock { width: 96px; }
  .clock text { display: none; }
  .clock-read { margin-top: 0; font-size: 1.3rem; }
  .sched-left > p { margin: 0; }
  .sched-list li { grid-template-columns: 1fr; gap: 2px; padding: 18px 0 18px 22px; }
  .sched-list li::before { top: 24px; }
}

/* ---------- Blue band (partner page contact) ---------- */
.band-blue { background: var(--blue); color: #fff; padding: clamp(80px, 11vw, 150px) 0; }
.band-blue .h2 { max-width: 22ch; }
.band-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.band-blue .lede { opacity: 0.92; color: #fff; }
.band-mail { margin-top: 32px; opacity: 0.85; }
.band-blue .tbc { text-decoration-color: #fff; }

/* ---------- Powered by icons ---------- */

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; overflow: hidden; }
.foot-word { font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(1.4rem, 5.6vw, 5.2rem); line-height: 1.1; letter-spacing: -0.05em; color: var(--mute); margin: 0 0 44px; white-space: nowrap; }

.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.foot-cols a { display: block; text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: var(--blue-lt); }
.foot-t { display: block; padding: 3px 0; }
.foot-k { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.foot-icons b { color: var(--blue-lt); }
.foot-small { margin-top: 22px; color: var(--mute); font-size: 0.78rem; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Partner page
   ========================================================================== */
.p-hero { position: relative; overflow: hidden; isolation: isolate; }
.p-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 85% 10%, rgba(15, 91, 165, 0.38), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(79, 143, 217, 0.14), transparent 70%);
}
.p-title { font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(2.3rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -0.055em; max-width: 15ch; margin-bottom: 36px; }

/* What you get: tabs + live trace */
.vt { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.vt-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.vt-tab {
  position: relative; display: flex; align-items: baseline; gap: 18px; padding: 18px 0; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--mute); transition: color 0.25s;
}
.vt-n { font-size: 0.78rem; color: var(--blue-lt); }
.vt-k { font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(1.4rem, 2.8vw, 2.4rem); letter-spacing: -0.05em; line-height: 1; }
.vt-tab[aria-selected="true"], .vt-tab:hover { color: #fff; }
.vt-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.vt-bar i { display: block; height: 100%; width: 0; background: var(--blue-hi); }
.vt-tab[aria-selected="true"] .vt-bar i { width: 100%; }
.vt.run .vt-tab[aria-selected="true"] .vt-bar i { animation: bar 5.2s linear forwards; }
@keyframes bar { from { width: 0; } to { width: 100%; } }
.vt-panel { display: flex; flex-direction: column; min-height: 380px; }
.vt-body { padding: clamp(20px, 3vw, 36px); }
.vt-title { font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.04em; margin-bottom: 12px; }
.vt-text { opacity: 0.82; max-width: 52ch; margin-bottom: 26px; }
.vt-trace { border-top: 1px dashed var(--line-2); padding-top: 18px; font-size: 0.86rem; line-height: 2; }
.vt-trace .tl { animation: lineIn 0.35s var(--ease) both; }
@media (max-width: 860px) { .vt { grid-template-columns: 1fr; } .vt-tabs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; } .vt-tab { padding: 14px 0; } .vt-panel { min-height: 0; } }

/* Why Vienna */
.vstats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.vstats li { padding: 24px 20px 0 0; }
.vstats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.vstats strong { display: block; font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; color: var(--blue-lt); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.vstats span { display: block; margin-top: 12px; opacity: 0.78; max-width: 24ch; font-size: 0.86rem; }
.eco { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px 56px; align-items: center; margin-top: 64px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 100% 0%, rgba(15, 91, 165, 0.3), transparent 70%); }
.eco-title { font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.05em; margin-bottom: 12px; }
.eco p { opacity: 0.82; }
.eco-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.eco-chips li { padding: 10px 16px; border: 1px solid rgba(127, 178, 238, 0.4); border-radius: 999px; font-size: 0.84rem; background: rgba(14, 18, 27, 0.6); opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.5s var(--ease) var(--d), transform 0.5s var(--ease) var(--d), background 0.2s; }
.eco.in .eco-chips li { opacity: 1; transform: none; }
.eco-chips li:hover { background: var(--blue); }
@media (max-width: 860px) {
  .vstats { grid-template-columns: 1fr 1fr; }
  .vstats li, .vstats li + li { padding: 20px 12px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .eco { grid-template-columns: 1fr; }
}

/* Ways to join: selector */
.jn { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.jn-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.jn-btn {
  display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; padding: 22px 0; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--mute);
  font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: clamp(1.2rem, 2.2vw, 1.8rem); letter-spacing: -0.04em;
  transition: color 0.2s, padding 0.3s var(--ease);
}
.jn-n { font-family: var(--f-body); font-size: 0.78rem; font-weight: 400; letter-spacing: 0; color: var(--blue-lt); }
.jn-btn i { font-style: normal; opacity: 0; transform: translateX(-8px); transition: opacity 0.2s, transform 0.3s var(--ease); color: var(--blue-lt); }
.jn-btn[aria-selected="true"] { color: #fff; padding-left: 10px; }
.jn-btn[aria-selected="true"] i { opacity: 1; transform: none; }
.jn-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: start; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line-2); background: rgba(19, 25, 38, 0.7); }
.jn-panel.swap > div { animation: lineIn 0.35s var(--ease) both; }
.jn-panel.swap > div + div { animation-delay: 0.06s; }
.jn-k { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: 10px; }
.jn-give, .jn-get { font-size: 1.05rem; line-height: 1.55; }
.jn-panel .link-arrow { grid-column: 1 / -1; margin-top: 12px; justify-self: start; }
@media (max-width: 860px) { .jn { grid-template-columns: 1fr; } .jn-panel { grid-template-columns: 1fr; } }

/* How a track works: line fills while scrolling */
.process { --prog: 0; position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.process::before, .process::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; }
.process::before { right: 0; background: var(--line-2); }
.process::after { width: calc(var(--prog) * 100%); background: var(--blue-hi); box-shadow: 0 0 12px rgba(79, 143, 217, 0.8); }
.process li { position: relative; padding: 28px 18px 0 0; opacity: 0.45; transition: opacity 0.4s; }
.process li::before { content: ""; position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 1px solid var(--mute); transition: background 0.3s, border-color 0.3s; }
.process li.on { opacity: 1; }
.process li.on::before { background: var(--blue-hi); border-color: var(--blue-hi); }
.process li > span { color: var(--blue-lt); font-size: 0.78rem; }
.process h3 { font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: 1.3rem; letter-spacing: -0.03em; margin: 10px 0 8px; }
.process p { font-size: 0.86rem; opacity: 0.8; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; padding-left: 22px; }
  .process::before { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process::after { left: 5px; top: 0; width: 2px; height: calc(var(--prog) * 100%); }
  .process li { padding: 0 0 26px 0; }
  .process li::before { left: -22px; top: 4px; }
}

/* Team and reference */
.duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

.duo-link { margin-top: 24px; font-size: 0.82rem; letter-spacing: 0.18em; color: var(--mute); }
.duo-link a { color: var(--blue-lt); font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.ref { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-2); }
.ref img { display: block; width: 100%; height: clamp(360px, 62vh, 640px); object-fit: cover; filter: grayscale(0.25) brightness(0.75); transition: transform 1.4s var(--ease); }
.ref:hover img { transform: scale(1.025); }
.ref-cap { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 40px; align-items: end; padding: clamp(20px, 3vw, 40px); background: linear-gradient(180deg, transparent, rgba(10, 13, 20, 0.92) 45%); }
.ref-name { font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(1.6rem, 3.4vw, 2.8rem); letter-spacing: -0.05em; }
.ref-text { margin: 8px 0 4px; opacity: 0.85; max-width: 44ch; }
.ref-head .link-arrow { margin-top: 12px; }
.ref-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ref-stats strong { display: block; font-family: var(--f-display); font-weight: 650; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.05em; color: var(--blue-lt); }
.ref-stats span { font-size: 0.76rem; opacity: 0.8; }
@media (max-width: 860px) {
  .ref img { height: 300px; }
  .ref-cap { position: static; grid-template-columns: 1fr; background: var(--bg-2); }
  .ref-stats { grid-template-columns: 1fr 1fr; }
}
.link-arrow { display: inline-block; text-decoration: none; border-bottom: 1px solid var(--blue-hi); padding-bottom: 4px; color: var(--blue-lt); }
.link-arrow:hover { color: #fff; border-color: #fff; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -0.05em; margin-bottom: 32px; }
.legal h2 { font-size: 1rem; margin: 32px 0 8px; color: var(--blue-lt); }
.legal p { opacity: 0.85; margin-bottom: 10px; }
.placeholder { border-bottom: 1px dotted var(--blue-lt); }

/* ---------- Partner hero: statement + terminal brief ---------- */
.p-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.p-hero-left .p-title { margin-bottom: 40px; }

@media (max-width: 960px) { .p-hero-in { grid-template-columns: 1fr; }    }

/* ---------- Section with a full photo background (team) ---------- */
.sec-photo { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; isolation: isolate; }
.photo-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 35%; filter: grayscale(0.3) brightness(0.62); }
.sec-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 18, 27, 0.94) 0%, rgba(14, 18, 27, 0.78) 45%, rgba(14, 18, 27, 0.35) 100%), linear-gradient(180deg, rgba(14, 18, 27, 0.6), transparent 25%, transparent 75%, rgba(14, 18, 27, 0.7)); }
.photo-in { width: 100%; }
.photo-text { max-width: 560px; }
@media (max-width: 760px) { .sec-photo::after { background: rgba(14, 18, 27, 0.8); } }

/* ---------- Partner hero: crowd of 120 dots, 4 tracks of ~30, teams of 4 ---------- */
.p-hero-in { align-items: center; }
.crowd { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-2); background: rgba(13, 17, 26, 0.7); backdrop-filter: blur(8px); }
.crowd-chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crowd-chips li { display: flex; flex-direction: column; gap: 2px; padding: 9px 16px; border: 1px solid rgba(127, 178, 238, 0.35); border-radius: 14px; background: rgba(15, 91, 165, 0.12); }
.crowd-chips span { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-lt); }
.crowd-chips strong { font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: 1.05rem; letter-spacing: -0.03em; }
.crowd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.crowd-col { --tone: var(--blue-hi); padding: 14px 10px 10px; border-radius: 12px; transition: background 0.25s; }
.crowd-col:nth-child(2) { --tone: var(--blue-lt); }
.crowd-col:nth-child(3) { --tone: #3a78c9; }
.crowd-col:nth-child(4) { --tone: #a9c8f2; }
.crowd-col:hover { background: rgba(79, 143, 217, 0.12); }
.crowd-dots { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.team { display: flex; gap: 4px; }
.team i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px color-mix(in srgb, var(--tone) 60%, transparent); opacity: 0; transform: scale(0.3); }
.crowd.in .team i { animation: dotIn 0.45s var(--ease) forwards; animation-delay: var(--d); }
@keyframes dotIn { to { opacity: 1; transform: none; } }
.crowd-col:hover .team i { transform: scale(1.2); transition: transform 0.2s; }
.crowd-k { margin-top: 12px; text-align: center; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.crowd-v { text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.04em; }
.crowd-legend { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 18px; }
.crowd-legend li { white-space: nowrap; }
.crowd-legend strong { display: block; font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.05em; }
.crowd-legend li > span { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-lt); }
@media (max-width: 520px) { .crowd-grid { gap: 6px; } .team i { width: 7px; height: 7px; } }

/* ---------- Ghost navigator ---------- */
.ghost { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 85; }
.ghost-now { display: none; }
.ghost-list { position: relative; list-style: none; margin: 0; padding: 10px 0; }
.ghost-list a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 6px 4px 6px 14px; text-decoration: none; color: var(--fg); }
.ghost-list .g-n { font-size: 0.62rem; color: var(--blue-lt); opacity: 0; transition: opacity 0.25s; }
.ghost-list .g-l { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity 0.25s, transform 0.25s var(--ease); white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.ghost-list .g-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(230, 234, 242, 0.35); transition: background 0.25s, transform 0.25s; flex: none; }
.ghost-list a.on .g-l { opacity: 0.95; transform: none; }
.ghost-list a.on .g-dot { background: transparent; }
.ghost:hover .g-l, .ghost:hover .g-n, .ghost:focus-within .g-l, .ghost:focus-within .g-n { opacity: 0.85; transform: none; }
.ghost-list a:hover .g-l { opacity: 1; color: var(--blue-lt); }
.ghost-list a:hover .g-dot { background: var(--blue-lt); transform: scale(1.4); }
.ghost-sprite { display: inline-block; width: 18px; height: 20px; color: var(--blue-lt); filter: drop-shadow(0 0 6px rgba(127, 178, 238, 0.7)); }
.ghost-sprite svg { width: 100%; height: 100%; display: block; }
.ghost-float { position: absolute; right: -2px; top: 0; margin-top: -10px; opacity: 0.85; transition: transform 0.5s var(--ease); pointer-events: none; }
.ghost-float svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }
@media (max-width: 900px) {
  .ghost { top: auto; bottom: 14px; right: 50%; translate: 50% 0; }
  .ghost-now { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(28, 36, 52, 0.75); backdrop-filter: blur(14px); color: var(--fg); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
  .ghost-cnt { color: var(--blue-lt); font-size: 0.66rem; }
  .ghost-float { display: none; }
  .ghost-list { position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 8px; min-width: 210px; padding: 8px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(20, 26, 38, 0.94); backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity 0.2s, translate 0.25s var(--ease); }
  .ghost.open .ghost-list { opacity: 1; translate: -50% 0; pointer-events: auto; }
  .ghost-list a { justify-content: flex-start; padding: 9px 10px; border-radius: 10px; }
  .ghost-list .g-n, .ghost-list .g-l { opacity: 1; transform: none; }
  .ghost-list .g-dot { display: none; }
  .ghost-list a.on { background: rgba(15, 91, 165, 0.35); }
  .draft-badge { bottom: 64px; }
}

/* ==========================================================================
   Partner page sections
   ========================================================================== */
/* Problem: three numbers, three reasons */
.today { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.today li { padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line-2); background: rgba(19, 25, 38, 0.6); transition-delay: var(--d); }
.today strong { display: block; font-family: var(--f-display); font-weight: 650; font-stretch: 87.5%; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.06em; color: var(--blue-lt); margin-bottom: 14px; white-space: nowrap; }
.today span { font-size: 0.9rem; opacity: 0.82; }
.why, .points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.why li, .points li { padding: 24px 24px 0 0; }
.why li + li, .points li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.why-n { font-size: 0.78rem; color: var(--blue-lt); }
.why h3, .points h3, .fmt h3 { font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.03em; margin: 10px 0 8px; }
.why p, .points p, .fmt p { font-size: 0.9rem; opacity: 0.8; max-width: 40ch; }

/* Format: three facts under the statement */
.fmt { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.fmt li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fmt h3 { margin-top: 0; color: #fff; }

/* Track record: four points, Talent Elevator, quotes */
.points { grid-template-columns: repeat(4, 1fr); margin-bottom: 64px; }
.points li { transition-delay: var(--d); }
.quotes-label { margin-top: 56px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote { margin: 0; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-2); border-left: 2px solid var(--blue-hi); background: rgba(19, 25, 38, 0.6); }
.quote p { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; }
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.quote footer { margin-top: 16px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-lt); }

/* Contact people on the blue band */
.people { list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.3); display: flex; flex-wrap: wrap; gap: 24px 64px; }
.people li { display: flex; flex-direction: column; gap: 2px; }
.people strong { font-family: var(--f-display); font-weight: 600; font-stretch: 87.5%; font-size: 1.2rem; letter-spacing: -0.03em; }
.people span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.people a { margin-top: 6px; color: #fff; padding: 4px 0; }

@media (max-width: 960px) {
  .points { grid-template-columns: 1fr 1fr; }
  .points li:nth-child(3) { padding-left: 0; border-left: 0; }
  .points li:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 860px) {
  .today, .why, .quotes { grid-template-columns: 1fr; }
  .why li, .why li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .vstats { grid-template-columns: 1fr 1fr; }
  .vstats li:nth-child(3) { padding-left: 0; }
}

/* ==========================================================================
   Mobile polish
   ========================================================================== */
.foot-icons { padding: 8px 0 !important; }
.link-arrow { padding: 10px 0 6px; }

@media (max-width: 560px) {
  .hero { padding: 96px 0 84px; }
  .hero-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-btns .btn { justify-content: center; }
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 20px 0; border-left: 0; margin-top: 0; border-top: 0; border-bottom: 1px solid var(--line); }

  /* Schedule: sticky clock bar clears the navigation */
  .sched-left { top: 68px; }

  .crowd { padding: 16px; }
  /* Fact chips as a clean grid: date across the full width, duration and location side by side */
  .crowd-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .crowd-chips li { padding: 8px 12px; min-width: 0; }
  .crowd-chips li:first-child { grid-column: 1 / -1; }
  .crowd-chips strong { font-size: 0.98rem; white-space: nowrap; }
  .crowd-chips span, .crowd-k { font-size: 0.66rem; }
  .crowd-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .vstats { grid-template-columns: 1fr; }
  .vstats li, .vstats li + li { padding: 18px 0; }
  .ref-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Small phones (iPhone SE and similar) ---------- */
@media (max-width: 380px) {
  .nav-in { padding: 10px 8px; gap: 6px; }
  .nav-brand { padding: 8px 10px; }
  .nav-logo { font-size: 0.68rem; }
  .nav-cta a { padding: 7px 9px; }
  .nav-mark { display: none; }
  .team i { width: 6px; height: 6px; }
  .team { gap: 3px; }
  .crowd { padding: 12px; }
  .crowd-chips li { padding: 8px 10px; }
  .crowd-chips strong { font-size: 0.84rem; }
  .btn-shine { padding-left: 18px; padding-right: 18px; letter-spacing: 0.08em; font-size: 0.78rem; white-space: nowrap; }
}
.p-hero-left .h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
@media (max-width: 560px) { .vt-k { font-size: 1.15rem; letter-spacing: -0.03em; } .vt-tab { gap: 10px; } }
