/* EKS-403: Bajti page. ZHC-807: restyled to the ZeroHumanCompany brand (ZHC-687 tokens, Bajti variant C from ZHC-619). */
/* ZHC-807: ZHC brand fonts (brandbook ZHC-687), self-hosted, SIL OFL 1.1 */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/fonts/Unbounded-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/fonts/Unbounded-latin.woff2') format('woff2'); 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: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/SpaceGrotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/SpaceGrotesk-latin.woff2') format('woff2'); 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: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/JetBrainsMono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/JetBrainsMono-latin.woff2') format('woff2'); 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; }

@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --navy: #020a05; --navy2: #04140a; --navy3: #0a2614; --ink: #010603;
  --violet: #00b84a; --pink: #00ff6a; --lilac: #e4ffec; --green: #b6ff3d; --amber: #b6ff3d;
  --text: #e4ffec; --muted: #6fa583; --line: rgba(90, 255, 150, .14);
  --display: 'Unbounded', system-ui, sans-serif; --sans: 'Space Grotesk', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--navy); color: var(--text);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.grad { background: linear-gradient(90deg, #b6ff3d, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 10px 30px -10px rgba(0, 255, 106, .6);
  transition: transform .25s var(--spring), box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 40px -12px rgba(0, 255, 106, .8); }
.btn:active { transform: scale(.96); }
.btn-ghost { background: rgba(90, 255, 150, .08); box-shadow: inset 0 0 0 1.5px rgba(90, 255, 150, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--pink), 0 12px 30px -14px rgba(0, 255, 106, .6); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); pointer-events: none;
  animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Page chrome ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink), var(--green));
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.sky { position: fixed; inset: -10% 0; z-index: -1; pointer-events: none; transform: translate3d(0, calc(var(--sy, 0) * -0.12px), 0); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.b1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -10vmax; background: radial-gradient(circle, #063a1a, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.b2 { width: 55vmax; height: 55vmax; right: -20vmax; top: 30%; background: radial-gradient(circle, #0a2e14, transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.b3 { width: 40vmax; height: 40vmax; left: 20%; bottom: -10vmax; background: radial-gradient(circle, rgba(182, 255, 61, .18), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.1); } }
.bits span { position: absolute; font: 700 14px/1 var(--mono); color: rgba(90, 255, 150, .22);
  animation: bit 14s linear infinite; }
@keyframes bit { from { transform: translateY(20vh) rotate(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(-40vh) rotate(180deg); opacity: 0; } }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100% - 1120px) / 2)); transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(2, 10, 5, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(90, 255, 150, .12); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink)); }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ---------- Reveal on scroll (bajti.js adds .in; <noscript> in index.html shows everything without JS) ---------- */
[data-reveal] { opacity: 0; translate: 0 28px;
  transition: opacity .7s var(--ease) calc(var(--i, 0) * 80ms), translate .7s var(--ease) calc(var(--i, 0) * 80ms),
    scale .7s var(--spring) calc(var(--i, 0) * 80ms), rotate .7s var(--spring) calc(var(--i, 0) * 80ms), transform .2s ease-out; }
[data-reveal="pop"] { translate: 0 40px; scale: .88; rotate: -4deg; }
[data-reveal].in { opacity: 1; translate: none; scale: none; rotate: none; }

/* ---------- Sections and transitions (clip-path driven by --hide from bajti.js) ---------- */
section { position: relative; }
.panel { padding: clamp(72px, 10vw, 120px) 0; background: linear-gradient(180deg, #031008, var(--navy));
  clip-path: inset(calc(var(--hide, 0) * 5%) calc(var(--hide, 0) * 4%) round calc(var(--hide, 0) * 64px)); }
.panel.alt { background: radial-gradient(800px 400px at 85% 0%, rgba(0, 184, 74, .25), transparent 70%), var(--navy2); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }

/* ---------- Bajti (shared) ---------- */
.bajti { width: 100%; height: auto; overflow: visible; }
.bajti .b-arm-l { transform-origin: 42px 160px; }
.bajti .b-arm-r { transform-origin: 158px 160px; }
.bajti .b-eye { transform-box: fill-box; transform-origin: center; transition: transform .12s ease; }
.bajti .b-look { transform: translate(var(--lx, 0px), var(--ly, 0px)); transition: transform .25s ease-out; }
.bajti .b-mouth { transition: d .25s; }
.bajti .b-bulb { animation: bulb 1s steps(1) infinite; }
.bajti.mood-smug .b-eye { transform: scaleY(.47); }
.bajti.mood-wide .b-eye { transform: scaleY(1.27); }
.bajti.blink .b-eye { transform: scaleY(.13); }
@keyframes bulb { 50% { fill: var(--amber); } }
.bajti.cheer .b-arm-l { animation: cheer-l .9s ease-in-out infinite alternate; }
.bajti.cheer .b-arm-r { animation: cheer-r .9s ease-in-out infinite alternate; }
@keyframes cheer-l { from { transform: rotate(20deg); } to { transform: rotate(55deg); } }
@keyframes cheer-r { from { transform: rotate(-20deg); } to { transform: rotate(-55deg); } }

.bubble { position: absolute; background: #fff; color: #020a05; font-weight: 700; border-radius: 20px; padding: 12px 16px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); line-height: 1.3; }
.bubble::after { content: ''; position: absolute; bottom: -9px; right: 34px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding: 100px max(20px, calc((100% - 1120px) / 2)) 60px; }
.hero h1 { margin-bottom: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta.center { justify-content: center; }
.hero-stage { position: relative; height: min(560px, 70vh); display: grid; place-items: end center; padding-bottom: 40px; }
.halo { position: absolute; width: min(460px, 80vw); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%;
  background: conic-gradient(from var(--ang), rgba(0, 184, 74, .55), rgba(0, 255, 106, .45), rgba(182, 255, 61, .3), rgba(0, 184, 74, .55));
  filter: blur(50px); opacity: .7; animation: spin 10s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }
.hero-bajti { position: relative; width: min(300px, 62vw); aspect-ratio: 200 / 250; animation: drive-in 1.3s var(--ease) .2s both; }
.hero-bajti .bajti { animation: bob 3.2s ease-in-out 1.5s infinite; }
.hero-bajti .b-arm-r { animation: wave 4.5s ease-in-out 1.4s infinite; }
.shadow { width: min(200px, 40vw); height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(6px); margin-top: -6px;
  animation: drive-in 1.3s var(--ease) .2s both, shadow 3.2s ease-in-out 1.5s infinite; }
@keyframes drive-in {
  0% { transform: translateX(110vw) rotate(14deg); }
  70% { transform: translateX(-18px) rotate(-6deg); }
  85% { transform: translateX(6px) rotate(2deg); }
  100% { transform: none; }
}
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes shadow { 50% { transform: scaleX(.8); opacity: .6; } }
@keyframes wave { 0%, 40%, 100% { transform: rotate(0); } 6%, 18%, 30% { transform: rotate(-38deg); } 12%, 24%, 36% { transform: rotate(-12deg); } }
.hero-bubble { top: 6%; left: 4%; max-width: min(300px, 70vw); font-size: 18px; transform-origin: 80% 100%; animation: pop-in .5s var(--spring) 1.3s both; z-index: 2; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--violet); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes pop-in { from { transform: scale(0) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(90, 255, 150, .4); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lilac); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details { border-radius: 18px; background: rgba(2, 10, 5, .5); box-shadow: inset 0 0 0 1px rgba(90, 255, 150, .14); transition: box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(0, 255, 106, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(90, 255, 150, .12); font-size: 20px; transition: transform .35s var(--spring), background .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--violet); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }
.faq details[open] p { animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- CTA ---------- */
.cta { padding: 110px 0 120px; text-align: center; overflow: hidden;
  background: radial-gradient(700px 420px at 50% 100%, rgba(0, 255, 106, .3), transparent 70%), radial-gradient(600px 400px at 50% 30%, rgba(0, 184, 74, .35), transparent 70%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta .lead { margin: 0 auto; }
.cta-bajti { width: 160px; margin-bottom: 20px; animation: bob 2.4s ease-in-out infinite; }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 30px 20px 110px; font-size: 14px; color: var(--muted); }

/* ---------- Companion ---------- */
.buddy { position: fixed; right: 14px; bottom: 14px; z-index: 40; width: 78px; pointer-events: none;
  transform: translateY(150%) rotate(20deg); transition: transform .6s var(--spring); }
.buddy.on { transform: none; }
.buddy-bajti { pointer-events: auto; cursor: pointer; animation: bob 2.8s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.buddy-bubble { right: 30px; bottom: 104px; width: max-content; max-width: min(250px, 70vw); font-size: 14px; text-align: left;
  transform-origin: 90% 100%; transform: scale(0); opacity: 0; transition: transform .4s var(--spring), opacity .25s; }
.buddy-bubble.show { transform: none; opacity: 1; }

/* ---------- Brand mini-Bajti ---------- */
.brand-logo { width: 30px; height: 36px; background: none; border-radius: 0; }

/* ---------- Co robi Bajti: numbered cards with a mini scene (from EKS-393 skills) ---------- */
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.skill { padding: 14px 14px 22px; border-radius: 24px; background: rgba(2, 10, 5, .55); box-shadow: inset 0 0 0 1px rgba(90, 255, 150, .14); }
.skill h3 { margin: 16px 4px 6px; display: flex; align-items: center; gap: 10px; }
.skill p { margin: 0 4px; color: var(--muted); font-size: 15px; }
.num { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; font-size: 14px; background: linear-gradient(135deg, var(--violet), var(--pink)); }
.mini-stage { position: relative; height: 230px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(300px 200px at 30% 20%, #063a1a, transparent 70%), linear-gradient(180deg, #06180d, #020a05); }
.mini { position: absolute; bottom: 14px; left: 50%; width: 92px; margin-left: -46px; }
.mini-stage *, .mini-stage .bajti * { animation-play-state: paused; }
.skill.in .mini-stage *, .skill.in .mini-stage .bajti * { animation-play-state: running; }
.mini-bubble { position: absolute; top: 26px; left: 50%; translate: -50% 0; white-space: nowrap; padding: 8px 12px; border-radius: 14px;
  background: #fff; color: #020a05; font-weight: 800; font-size: 14px; transform-origin: 50% 120%; animation: talk 3s var(--spring) infinite; }
@keyframes talk { 0%, 8% { transform: scale(0); } 18%, 78% { transform: scale(1); } 88%, 100% { transform: scale(0); } }
.s-talk .mini { animation: bob 1.5s ease-in-out infinite; }
.s-point .mini { left: 30%; }
.s-point .b-arm-r { animation: point 3s ease-in-out infinite; }
@keyframes point { 0%, 15% { transform: rotate(0); } 30%, 80% { transform: rotate(-40deg); } 95%, 100% { transform: rotate(0); } }
.stamp { position: absolute; top: 40px; right: 16px; padding: 6px 10px; border: 3px solid var(--green); border-radius: 10px; color: var(--green);
  font-weight: 900; letter-spacing: .06em; rotate: -12deg; animation: stamp 3s var(--spring) infinite; }
@keyframes stamp { 0%, 25% { transform: scale(2.4); opacity: 0; } 38%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.s-pop .mini { animation: popio 3.4s var(--ease) infinite; }
@keyframes popio { 0% { transform: translateX(220%) rotate(20deg); } 22%, 70% { transform: none; } 80% { transform: translateY(-10px); } 100% { transform: translateX(-240%) rotate(-20deg); } }
.s-react .mini { animation: jump 1.6s var(--spring) infinite; }
.s-react .b-eye { animation: wow 1.6s ease-in-out infinite; }
@keyframes jump { 0%, 40%, 100% { transform: none; } 20% { transform: translateY(-34px) rotate(-6deg); } }
@keyframes wow { 0%, 45%, 100% { transform: scaleY(1); } 15%, 30% { transform: scaleY(1.35); } }
.spark { position: absolute; bottom: 120px; left: 50%; font-weight: 900; font-size: 22px; color: var(--amber); opacity: 0; animation: spark 1.6s ease-out infinite; }
.k1 { --sx: -60px; } .k2 { --sx: 0px; color: var(--pink); animation-delay: .1s; } .k3 { --sx: 56px; color: var(--green); animation-delay: .2s; }
@keyframes spark { 10% { opacity: 0; transform: translate(0, 0) scale(.4); } 25% { opacity: 1; } 60%, 100% { opacity: 0; transform: translate(var(--sx), -60px) scale(1.2); } }

/* ---------- Ranking ---------- */
.rank { list-style: none; display: grid; gap: 12px; margin-top: 30px; max-width: 760px; counter-reset: r; }
.rank li { counter-increment: r; }
.rank a { display: grid; grid-template-columns: 34px 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px 10px 12px; border-radius: 18px;
  text-decoration: none; background: rgba(2, 10, 5, .55); box-shadow: inset 0 0 0 1px rgba(90, 255, 150, .14); transition: box-shadow .25s, transform .25s var(--spring); }
.rank a:hover { box-shadow: inset 0 0 0 1px rgba(0, 255, 106, .5); transform: translateX(4px); }
.rank a::before { content: counter(r); font-size: 22px; font-weight: 800; text-align: center; color: var(--muted); }
.rank li:first-child a::before { color: var(--amber); }
.rank img { width: 64px; aspect-ratio: 9 / 16; height: auto; object-fit: cover; border-radius: 10px; background: var(--ink); }
.rank .t { font-weight: 700; line-height: 1.3; }
.rank .m { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.rank .v { font-size: 18px; font-weight: 800; white-space: nowrap; }
.rank .v small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-align: right; }
.rank-empty { display: flex; gap: 18px; align-items: center; margin-top: 30px; max-width: 620px; padding: 20px; border-radius: 22px;
  background: rgba(2, 10, 5, .55); box-shadow: inset 0 0 0 1px rgba(90, 255, 150, .14); color: var(--muted); }
.rank-empty > span { width: 70px; flex: none; }
.rank-empty strong { color: #fff; display: block; }

/* ---------- ZHC-807: ZeroHumanCompany look (brandbook ZHC-687) ---------- */
::selection { background: var(--pink); color: #000; }
h1, h2, h3, .brand { font-family: var(--display); }
h1 { font-size: clamp(30px, 5.2vw, 58px); letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(24px, 3.8vw, 40px); letter-spacing: -.02em; }
h3 { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.eyebrow, .nav-links, .btn, .num, .stamp, .mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.eyebrow { font-size: 11px; color: var(--pink); }
.eyebrow::before { content: '// '; color: var(--muted); }
.nav-links { font-size: 11px; font-weight: 400; }
.btn { font-size: 12px; font-weight: 600; color: #000; background: linear-gradient(100deg, var(--pink), var(--violet));
  box-shadow: 0 0 36px rgba(0, 255, 106, .3), inset 0 0 0 1px rgba(255, 255, 255, .4); }
.btn:hover { box-shadow: 0 0 50px rgba(0, 255, 106, .5), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--pink), 0 0 30px rgba(0, 255, 106, .2); }
.btn-sm { font-size: 11px; }
.num { color: #000; font-size: 12px; letter-spacing: 0; }
.bubble, .mini-bubble { background: var(--text); color: var(--navy); }
.bubble::after { background: var(--text); }
.skill, .rank a, .rank-empty, .faq details { box-shadow: inset 0 0 0 1px var(--line); }
.rank .v, .rank a::before { font-family: var(--display); }
.scanline { position: fixed; inset: 0; z-index: 49; pointer-events: none; opacity: .05;
  background: repeating-linear-gradient(0deg, var(--pink) 0 1px, transparent 1px 3px); }
/* "Part of ZeroHumanCompany" — header badge and footer, link back to the parent company */
.zhc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 10px; color: var(--muted);
  text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; white-space: nowrap; }
.zhc-badge b { color: var(--text); font-weight: 600; }
.zhc-badge:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--pink); }
.zhc-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.foot { justify-content: space-between; gap: 14px 24px; padding: 34px max(20px, calc((100% - 1120px) / 2)) 110px; border-top: 1px solid var(--line);
  font-size: 10px; color: var(--muted); }
.foot a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--pink); }
.foot a:hover { color: var(--pink); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-sm { display: none; }
  .foot { justify-content: center; text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 76px; gap: 0; min-height: auto; text-align: center; }
  .hero-stage { order: -1; height: 300px; padding-bottom: 14px; }
  .hero-bajti { width: 150px; }
  .shadow { width: 110px; height: 14px; }
  .hero-bubble { top: 8px; left: 50%; margin-left: -150px; max-width: 200px; font-size: 15px; padding: 10px 13px; }
  .hero .lead { margin: 0 auto; }
  .hero-cta { justify-content: center; margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 200px; }
  .scroll-hint { display: none; }
  .skills { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -20px; margin-right: -20px; padding: 4px 20px 16px; scrollbar-width: none; }
  .skills::-webkit-scrollbar { display: none; }
  .skill { scroll-snap-align: center; }
  .buddy { width: 60px; right: 10px; bottom: 10px; }
  .buddy-bubble { bottom: 82px; right: 20px; }
  .rank a { grid-template-columns: 26px 48px 1fr auto; gap: 10px; }
  .rank img { width: 48px; }
  .rank .t { font-size: 14px; }
}

/* ---------- Reduced motion: keep the final state, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .panel { clip-path: none; }
  .sky { transform: none; }
  .bits, .scanline { display: none; }
  .mini-bubble, .stamp { transform: none; opacity: 1; }
  .spark { display: none; }
}
