/* Kasprak Studio — dark premium theme. Plain CSS, self-hosted fonts, no third-party requests. */
@font-face { font-family: "Manrope"; src: url("fonts/Manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/Unbounded.ttf") format("truetype"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #08080D;
  --bg2: #0E0E16;
  --surface: rgba(255, 255, 255, .035);
  --surface2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .09);
  --ink: #F4F2EE;
  --soft: #A9A9B8;
  --dim: #6E6E7E;
  --ember: #FF7A3D;
  --gold: #FFC46B;
  --violet: #8B6CFF;
  --teal: #3DDBB4;
  --grad: linear-gradient(100deg, #FF8A3D 0%, #FFC46B 38%, #C3B0FF 72%, #8B6CFF 100%);
  --radius: 26px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
.wrap.narrow { max-width: 920px; }
.muted { color: var(--dim); }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700;
  text-decoration: none; color: #140E08; background: var(--grad); background-size: 180% 100%; background-position: 0 0;
  transition: background-position .6s, transform .2s, box-shadow .3s; box-shadow: 0 10px 34px rgba(255, 138, 61, .28); white-space: nowrap; }
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(139, 108, 255, .4); }
.btn.big { padding: 18px 32px; font-size: 17px; }
.btn.sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: rgba(255,255,255,.03); color: var(--ink); border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.btn.ghost:hover { background: var(--surface2); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft);
  font-size: 14px; font-weight: 600; background: var(--surface); }
.tag { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 14px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--soft); font-weight: 700; font-size: 13px;
  letter-spacing: 2.6px; text-transform: uppercase; margin-bottom: 20px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--grad); }

h1, h2, h3, .wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.06; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 58px); max-width: 17em; margin-bottom: 50px; }
h3.minor { font-size: 22px; margin: 80px 0 24px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); max-width: 38em; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(8, 8, 13, .6); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand i { font-style: normal; font-weight: 300; color: var(--soft); margin-left: 6px; }
.links { display: flex; gap: 30px; }
.links a { text-decoration: none; color: var(--soft); font-weight: 600; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--ink); }
.right { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; }
.langs a { padding: 6px 9px; border-radius: 9px; text-decoration: none; color: var(--dim); font-weight: 700; font-size: 13px; }
.langs a[aria-current] { color: var(--ink); background: var(--surface2); }
@media (max-width: 980px) { .links { display: none; } }
@media (max-width: 560px) { .bar .btn.sm { display: none; } .brand i { display: none; } }

/* ---------- glow decorations ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
.g1 { width: 560px; height: 560px; background: #FF6A2B; top: -200px; left: -160px; opacity: .3; animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 620px; height: 620px; background: #6B4DFF; top: 40px; right: -220px; opacity: .34; animation: drift 22s ease-in-out infinite alternate-reverse; }
.g3 { width: 700px; height: 700px; background: #5A3DFF; top: 15%; left: 30%; opacity: .16; }
.g4 { width: 480px; height: 480px; background: #FF7A3D; bottom: -240px; right: -120px; opacity: .3; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .05; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 3px 3px; mask-image: linear-gradient(#000, transparent 85%); }
.gridlines { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 100px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--soft); font-weight: 600; font-size: 14px; margin-bottom: 30px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.0; margin-bottom: 30px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .soft { color: var(--soft); font-weight: 300; font-size: .56em; display: block; margin-top: 16px; letter-spacing: -.01em; line-height: 1.15; }
.hero .lead { margin: 0 0 40px; }

.collage { position: relative; height: 560px; }
.tile { position: absolute; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 90px rgba(0,0,0,.6); background: #111; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile span { position: absolute; left: 14px; bottom: 12px; font-family: var(--display); font-size: 12px; font-weight: 600;
  padding: 6px 11px; border-radius: 999px; background: rgba(8,8,13,.72); backdrop-filter: blur(8px); }
.t-game { width: 80%; aspect-ratio: 16/9; top: 0; right: 0; transform: rotate(2deg); z-index: 2; }
.t-crm { width: 66%; aspect-ratio: 16/10; bottom: 30px; left: 0; transform: rotate(-3deg); z-index: 3; }
.t-crm img { object-position: left top; }
.t-owl { width: 33%; aspect-ratio: 9/18; bottom: -6px; right: 4%; transform: rotate(5deg); z-index: 4; border-radius: 28px; border: 5px solid #1B1B24; }
.collage:hover .t-game { transform: rotate(0) translateY(-6px); }
.collage:hover .t-crm { transform: rotate(-1deg) translateX(-6px); }
.collage:hover .t-owl { transform: rotate(2deg) translateY(-8px); }
.chip { position: absolute; z-index: 5; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(18,18,28,.85); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.c1 { top: 46%; left: -5%; color: var(--teal); }
.c2 { top: 4%; left: 2%; color: var(--gold); }
@media (max-width: 980px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .collage { height: 440px; margin-top: 10px; }
  .c1 { left: 0; }
}
@media (max-width: 520px) { .collage { height: 320px; } .chip { display: none; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg2); }
.track { display: flex; gap: 48px; width: max-content; animation: slide 45s linear infinite; }
.track span { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--soft); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.track span::after { content: "✦"; color: var(--ember); font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: 130px 0; position: relative; }
@media (max-width: 700px) { .sec { padding: 84px 0; } }

.svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .svcs { grid-template-columns: 1fr; } }
.svc { position: relative; padding: 38px 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, transform .3s; }
.svc:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.svc.ai { background: radial-gradient(120% 90% at 0% 0%, rgba(139,108,255,.24), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(255,122,61,.16), transparent 60%), var(--surface);
  border-color: rgba(180,156,255,.32); }
.svc.auto { background: radial-gradient(110% 90% at 100% 0%, rgba(61,219,180,.16), transparent 60%), var(--surface); border-color: rgba(61,219,180,.25); }
.svc h3 { font-size: 24px; margin: 24px 0 12px; }
.svc p { color: var(--soft); margin: 0 0 20px; }
.ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--line); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc.ai .ico svg, .mode .ico svg { stroke: #C9B8FF; }
.svc.auto .ico svg { stroke: var(--teal); }
.badge { position: absolute; top: 34px; right: 30px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: rgba(139,108,255,.2); color: #D3C7FF; border: 1px solid rgba(180,156,255,.35); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 15px; height: 8px; border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg) scale(.85); transform-origin: left; }

/* ---------- showcases ---------- */
.shows { display: grid; gap: 36px; }
.show { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: 34px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); min-height: 540px; }
.show .info { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.show h3 { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 18px; }
.show p { color: var(--soft); font-size: 18px; margin: 0 0 26px; }
.show .ticks { margin-bottom: 34px; }
.show .media { position: relative; overflow: hidden; }
.show.owl { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 980px) {
  .show, .show.owl { grid-template-columns: 1fr; min-height: 0; }
  .show.owl .media { order: -1; }
  .show .info { padding: 36px 26px 42px; }
  .show .media { min-height: 300px; }
}
.game .media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.game .media .shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg2)); }
@media (max-width: 980px) { .game .media .shade { background: linear-gradient(180deg, transparent 60%, var(--bg2)); } }
.game { background: radial-gradient(80% 100% at 100% 50%, rgba(255,106,43,.16), transparent 70%), var(--bg2); }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: .02em; background: linear-gradient(180deg, #FFE6BB, #FF8A3D 68%, #C24A12);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.owl { background: radial-gradient(90% 100% at 100% 50%, rgba(61,219,180,.14), transparent 70%), var(--bg2); }
.phones { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 44px 20px; }
.phone { width: 215px; aspect-ratio: 9/19.5; border-radius: 36px; overflow: hidden; border: 6px solid #22222D; background: #000;
  box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.p1 { transform: rotate(-5deg) translateY(10px); }
.p2 { transform: rotate(5deg) translateY(-14px); }
.mascot { position: absolute; width: 150px; left: 4%; bottom: 6%; z-index: 2; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
@media (max-width: 560px) { .phone { width: 148px; border-radius: 26px; border-width: 4px; } .mascot { width: 96px; } }

.crm { background: radial-gradient(90% 100% at 0% 50%, rgba(139,108,255,.18), transparent 70%), var(--bg2); }
.browser { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.chrome { height: 30px; background: #1C1C26; display: flex; align-items: center; gap: 7px; padding: 0 13px; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A48; }
.chrome i:first-child { background: #FF6159; } .chrome i:nth-child(2) { background: #FFBD2E; } .chrome i:nth-child(3) { background: #28C941; }
.show .media.browser { margin: 56px 0 60px 52px; align-self: center; overflow: visible; background: transparent; border: 0; box-shadow: none; }
.show .media.browser > .chrome { border-radius: 14px 14px 0 0; }
.show .media.browser > img:first-of-type { border-radius: 0 0 14px 14px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.show .media.browser .float { position: absolute; width: 50%; right: -6%; bottom: -14%; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 60px rgba(0,0,0,.6); }
@media (max-width: 980px) { .show .media.browser { margin: 26px 26px 50px; } .show .media.browser .float { right: -2%; } }

/* ---------- AI section ---------- */
.ai { background: linear-gradient(180deg, var(--bg), #0C0A19 40%, var(--bg)); overflow: hidden; }
.ai h2 { max-width: 19em; margin-bottom: 22px; }
.ai .lead, .tech .lead { margin: 0 0 60px; }
.steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 30px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-family: var(--display); font-size: 44px; font-weight: 300; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps b { font-family: var(--display); font-weight: 600; font-size: 19px; }
.steps span:last-child { color: var(--soft); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }
.mode { padding: 32px 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(139,108,255,.13), rgba(255,255,255,.02)); border: 1px solid rgba(180,156,255,.22); }
.mode b { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; margin: 18px 0 8px; }
.mode p { margin: 0; color: var(--soft); }

/* ---------- technology ---------- */
.tech { overflow: hidden; }
.techgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .techgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .techgrid { grid-template-columns: 1fr; } }
.techcol { padding: 30px 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.techcol b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 18px; }
.techcol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.techcol li { padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface2); border: 1px solid var(--line); }
.techcol:first-child { border-color: rgba(180,156,255,.3); background: linear-gradient(180deg, rgba(139,108,255,.16), rgba(255,255,255,.015)); }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
@media (max-width: 980px) { .studio { grid-template-columns: 1fr; } }
.studio h2 { margin-bottom: 30px; }
.studio p { color: var(--soft); font-size: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 32px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 50px); line-height: 1; margin-bottom: 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--soft); font-size: 15px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.values li { padding: 28px 24px; border-radius: 20px; border-top: 2px solid var(--ember); background: var(--surface); }
.values b { display: block; font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.values span { color: var(--soft); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 38px; padding: 90px 64px; border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(100% 140% at 0% 0%, rgba(139,108,255,.3), transparent 55%), linear-gradient(135deg, #15121F, #1C100A); }
.cta > * { position: relative; z-index: 1; }
.cta > .glow { position: absolute; z-index: 0; }
.cta h2 { margin-bottom: 18px; max-width: 16em; }
.cta p { color: var(--soft); font-size: 19px; max-width: 34em; margin: 0 0 36px; }
.cta .mail { font-family: var(--display); font-size: clamp(16px, 2vw, 20px); text-decoration: none; color: var(--gold); }
@media (max-width: 700px) { .cta { padding: 54px 26px; border-radius: 26px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 54px; color: var(--soft); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
.foot a { text-decoration: none; color: var(--ink); }

/* ---------- inner pages ---------- */
.cover { position: relative; overflow: hidden; min-height: 80vh; display: flex; align-items: flex-end; padding: 130px 0 76px; }
.cover.plain { min-height: 0; padding: 76px 0 40px; display: block; }
.cover > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,13,.2), rgba(8,8,13,.55) 50%, var(--bg)); }
.cover .wrap { z-index: 1; width: 100%; }
.cover h1 { font-size: clamp(34px, 5vw, 66px); max-width: 18em; margin-bottom: 24px; }
.cover h1.wordmark { font-size: clamp(30px, 7.2vw, 110px); }
.cover .lead { margin: 0 0 26px; }
.back { display: inline-block; margin-bottom: 30px; text-decoration: none; color: var(--soft); font-weight: 700; }
.back:hover { color: var(--ink); }
.big-p { font-size: clamp(19px, 2vw, 25px); line-height: 1.6; color: var(--ink); margin: 0; }
.frame { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.6); background: #000; }
.frame video { width: 100%; aspect-ratio: 16/9; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.cards li { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--soft); }
.cards li b { color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.gallery figure, .shots figure { margin: 0; }
.gallery img { border-radius: 16px; border: 1px solid var(--line); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
figcaption { color: var(--soft); font-size: 15px; margin-top: 12px; }
.two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr; } .cards { grid-template-columns: 1fr; } }
.statusbox { padding: 34px 30px; border-radius: 24px; border: 1px solid rgba(255,196,107,.3); background: linear-gradient(160deg, rgba(255,122,61,.13), rgba(255,255,255,.02)); }
.statusbox p { margin: 0; font-size: 18px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }
.shots { display: grid; gap: 44px; margin-top: 30px; }
.shots .browser img { width: 100%; }

/* ---------- language picker / 404 ---------- */
.pick main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 26px; padding: 24px; text-align: center; }
.pick .brand { font-size: 26px; } .pick .brand svg { width: 52px; height: 52px; }
.pick nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pick nav a { padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .track, .glow, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero agent console ---------- */
.console { position: relative; z-index: 1; border-radius: 26px; padding: 22px; border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, rgba(30,26,48,.85), rgba(14,14,22,.9)); backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); }
.con-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 18px; border-bottom: 1px solid var(--line); }
.con-head b { font-family: var(--display); font-weight: 600; font-size: 16px; white-space: nowrap; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A48; }
.dots i:first-child { background: #FF6159; } .dots i:nth-child(2) { background: #FFBD2E; } .dots i:nth-child(3) { background: #28C941; }
.live { margin-left: auto; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teal); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; }
.con-rows { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.con-rows li { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.con-rows b { font-weight: 600; font-size: 15px; flex: 1; }
.con-rows em { font-style: normal; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.st { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.st.ok, em.ok { background: rgba(61,219,180,.15); color: var(--teal); } .st.ok { background: var(--teal); }
em.wait { background: rgba(255,196,107,.15); color: var(--gold); } .st.wait { background: var(--gold); }
em.run { background: rgba(139,108,255,.2); color: #CBBEFF; } .st.run { background: var(--violet); box-shadow: 0 0 12px var(--violet); animation: pulse 1.4s infinite; }
.con-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.con-metrics div { padding: 16px 14px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.con-metrics b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.con-metrics span { font-size: 13px; color: var(--soft); }
.con-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 6px 2px; color: var(--soft); font-size: 13px; }
.con-foot svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 980px) { .console { transform: none; margin-top: 10px; } }
@media (max-width: 420px) { .con-rows b { font-size: 14px; } .con-metrics b { font-size: 21px; } .console { padding: 16px; } }
.game .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a muted loop shows only once it really plays; until then the still image underneath is visible */
.cover > .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
video.autoplay { opacity: 0; transition: opacity .6s; }
video.autoplay.on { opacity: 1; }

/* ---------- game page: heroines and modes ---------- */
.heroes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.heroes li { padding: 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,122,61,.1), rgba(255,255,255,.02)); border: 1px solid rgba(255,196,107,.18); color: var(--soft); }
.heroes li b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--gold); margin-bottom: 6px; }
.modes-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .modes-list { grid-template-columns: 1fr; } }
.modes-list li { padding: 30px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--soft); }
.modes-list li b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink); margin-bottom: 10px; }
.modes-list li i { font-style: normal; color: var(--gold); font-weight: 700; }
