/* WARKOT — projekt koncepcyjny Studio WWW. Mobile-first od 320 px. */
@font-face { font-family: "Anybody Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arial"); font-weight: 500 900; size-adjust: 132%; ascent-override: 60.2%; descent-override: 18.2%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 99.9%; ascent-override: 100.1%; descent-override: 30.3%; line-gap-override: 0%; }

:root {
  --asphalt: #0B0C0E; --asphalt-2: #111317; --graphite: #181B20; --graphite-2: #1E2228; --line: #262A31; --line-2: #343a44;
  --ink: #ECEEF2; --ink-2: #A6ADBA; --ink-3: #8790A0;
  --acc: #8F99FF; --acc-2: #B4BBFF; --acc-fill: #4B55F0; --acc-fill-h: #5D67FF;
  --nalot: linear-gradient(100deg, #4B55F0 0%, #8E5CF6 48%, #E6A85A 100%);
  --f-d: "Anybody", "Anybody Fallback", system-ui, sans-serif;
  --f-b: "Hanken Grotesk", "Hanken Fallback", system-ui, sans-serif;
  --pad: clamp(1rem, 4vw, 2.5rem); --top-h: 3.5rem; --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 1rem); background: var(--asphalt); }
body { margin: 0; background: var(--asphalt); color: var(--ink); font: 400 1rem/1.6 var(--f-b); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--acc); text-underline-offset: .2em; }
a:hover { color: var(--acc-2); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
strong { font-weight: 700; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; border-radius: 6px; }
#tresc:focus { outline: none; }
.skip { position: fixed; left: .75rem; top: .75rem; z-index: 100; padding: .7rem 1rem; background: var(--acc-fill); color: #fff; border-radius: 8px; transform: translateY(-160%); transition: transform .2s; text-decoration: none; font-weight: 600; }
.skip:focus { transform: none; color: #fff; }
.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- typografia ---------- */
.h1, .h2, .h3, .band-t, .brand-word, .price-v, .tag-name, .ftr-brand, .lap-n, .hud-v, .hud-gear, .panel-gear, .gear-n, .plate-t { font-family: var(--f-d); }
.h1 { font-weight: 850; font-size: clamp(2.9rem, 12.5vw, 7.6rem); line-height: .9; letter-spacing: -.01em; text-wrap: balance; }
.h1 span { display: block; }
.h1-a { font-stretch: 150%; font-weight: 900; }
.h1-b { font-stretch: 72%; font-weight: 800; background: var(--nalot); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.h2 { font-weight: 800; font-stretch: 112%; font-size: clamp(1.75rem, 6.4vw, 3.3rem); line-height: 1.02; letter-spacing: -.005em; text-wrap: balance; }
.h3 { font-weight: 800; font-stretch: 112%; font-size: clamp(1.25rem, 3.6vw, 1.7rem); line-height: 1.15; }
.eyebrow, .kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin-bottom: .9rem; }
.kicker { display: flex; gap: .6rem; align-items: center; color: var(--ink-2); }
.kicker .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--acc-fill); box-shadow: 0 0 0 4px rgba(75, 85, 240, .25); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.22rem); color: var(--ink-2); max-width: 34rem; margin-top: 1.2rem; }
p + p { margin-top: .8rem; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease), color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-pri { background: var(--acc-fill); color: #fff; }
.btn-pri:hover { background: var(--acc-fill-h); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(11, 12, 14, .35); }
.btn-ghost:hover { border-color: var(--acc); color: var(--ink); }
.btn-sm { min-height: 2.75rem; padding: .55rem 1rem; font-size: .9rem; }
.btn-wide { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.icon-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.icon-btn:hover { border-color: var(--acc); }

/* ---------- nagłówek ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top-h); background: linear-gradient(rgba(11, 12, 14, .86), rgba(11, 12, 14, .62)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(38, 42, 49, .7); }
.top-in { height: 100%; display: flex; align-items: center; gap: .75rem; padding: 0 var(--pad); max-width: 90rem; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; min-height: 2.75rem; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 1.75rem; height: 1.75rem; }
.brand-cal { fill: var(--acc-fill); }
.brand-word { font-weight: 900; font-stretch: 140%; font-size: 1.05rem; letter-spacing: .04em; }
.rev { width: 2.6rem; height: 1.5rem; flex: none; }
.rev path { fill: none; stroke-linecap: round; }
.rev-track { stroke: var(--line-2); stroke-width: 3; }
.rev-red { stroke: #E6A85A; stroke-width: 3; opacity: .7; }
.rev-fill { stroke: var(--acc); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; }
.rev-needle { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transform-origin: 32px 32px; transform: rotate(-90deg); }
.nav { display: none; }
.cart-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .3rem .8rem .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cart-btn:hover { border-color: var(--acc); color: var(--ink); }
.cart-btn svg { width: 1.25rem; height: 1.25rem; }
.cart-n { min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--graphite-2); font-size: .78rem; font-weight: 700; }
.cart-n.has { background: var(--acc-fill); color: #fff; }
.cart-n.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (max-width: 380px) { .cart-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .rev { display: none; } }
@media (min-width: 900px) {
  :root { --top-h: 4rem; }
  .nav { display: flex; gap: .25rem; margin-left: 1rem; }
  .nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .6rem .8rem; border-radius: 999px; }
  .nav a:hover, .nav a[aria-current="true"] { color: var(--ink); background: var(--graphite); }
}

/* ---------- scena ---------- */
.drive { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #08090B; z-index: 0; }
.poster, .poster img, .gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; }
.poster-garage { opacity: 0; transition: opacity .6s; }
.stage.is-garage .poster-garage { opacity: 1; }
.gl { opacity: 0; transition: opacity .5s; touch-action: pan-y; cursor: grab; }
.gl:active { cursor: grabbing; }
.gl-on .gl { opacity: 1; }
.gl-on .poster { visibility: hidden; transition: visibility 0s .5s; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11, 12, 14, .94) 0%, rgba(11, 12, 14, .55) 34%, rgba(11, 12, 14, 0) 56%); }
.chapters { position: relative; z-index: 2; pointer-events: none; margin-top: -100vh; margin-top: -100svh; }
.ch { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--top-h) + 1rem) var(--pad) max(1.25rem, env(safe-area-inset-bottom)); }
.ch-part { min-height: 92vh; min-height: 92svh; }
.card { pointer-events: auto; max-width: 31rem; padding: 1.15rem 1.2rem 1.25rem; border-radius: var(--r); background: rgba(17, 19, 23, .8); border: 1px solid rgba(52, 58, 68, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card p:not(.eyebrow):not(.kicker):not(.price):not(.cta-row) { color: var(--ink-2); }
.card .h2 { margin-bottom: .7rem; font-size: clamp(1.5rem, 6vw, 2.6rem); }
.card-hero { background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; max-width: 44rem; }
.ch-hero { justify-content: flex-end; padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); }
.scroll-cue { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; color: var(--ink-3); font-size: .85rem; }
.scroll-cue span { width: 1.1rem; height: 1.7rem; border: 1.5px solid var(--ink-3); border-radius: 1rem; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: .3rem; width: 2px; height: .35rem; margin-left: -1px; background: var(--ink-2); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(.55rem); opacity: 0; } 100% { opacity: 0; } }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.spec dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.spec dd { font-weight: 600; font-size: .98rem; }
.price { margin-top: 1.1rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .7rem; }
.price-v { font-weight: 850; font-stretch: 120%; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1; }
.price-n { font-size: .8rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }

/* bez JS scena jest tylko plakatem, rozdziały czytają się normalnie */
.no-js .hud, .no-js .callout, .no-js .drag-hint, .no-js .gl { display: none; }

/* HUD */
.hud { position: absolute; left: var(--pad); top: calc(var(--top-h) + .75rem); display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 .6rem; pointer-events: none; opacity: .95; }
.hud-tach { width: 5.2rem; grid-row: span 2; }
.hud-tach path { fill: none; stroke-linecap: round; }
.hud-track { stroke: rgba(236, 238, 242, .16); stroke-width: 5; }
.hud-red { stroke: #E6A85A; stroke-width: 5; opacity: .75; }
.hud-fill { stroke: var(--acc); stroke-width: 5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hud-ticks text { font: 600 9px var(--f-b); fill: var(--ink-3); text-anchor: middle; }
.hud-read { display: flex; align-items: baseline; gap: .3rem; }
.hud-v { font-weight: 800; font-stretch: 130%; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2.6ch; text-align: right; }
.hud-u, .hud-stage { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hud-row { display: flex; align-items: center; gap: .5rem; }
.hud-gear { font-weight: 900; font-size: .9rem; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 4px; background: var(--acc-fill); color: #fff; }
@media (max-width: 400px) and (max-height: 720px) { .ch .card:not(.card-hero) { padding: 1.1rem 1.1rem 1.2rem; } .ch .card:not(.card-hero) p { font-size: .9rem; } .ch .card:not(.card-hero) .h2 { font-size: 1.55rem; } }
@media (max-width: 759px), (max-aspect-ratio: 21/20) {
  .hud { grid-template-columns: auto auto; gap: .55rem; align-items: center; padding: .3rem .7rem .3rem .35rem; border-radius: 999px; background: rgba(11, 12, 14, .62); border: 1px solid rgba(236, 238, 242, .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); top: calc(var(--top-h) + .5rem); }
  .hud-tach { display: none; }
  .hud-read { order: 2; }
  .hud-v { font-size: 1rem; min-width: 2.6ch; }
  .hud-row { order: 1; }
  .hud-u, .hud-stage { font-size: .62rem; }
}
.drag-hint { position: absolute; right: var(--pad); top: calc(var(--top-h) + 1rem); font-size: .75rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .4s; pointer-events: none; display: none; }
.drag-hint.on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .drag-hint { display: block; } }

/* etykieta części */
.callout { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.callout.on { opacity: 1; }
.callout-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callout-line line { stroke: var(--acc-2); stroke-width: 1; stroke-dasharray: 3 3; }
.callout-dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid var(--acc-2); background: rgba(11, 12, 14, .6); box-shadow: 0 0 0 5px rgba(143, 153, 255, .18); }
.callout-box { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .5rem; padding: .35rem .7rem .35rem .4rem; border-radius: 999px; background: rgba(11, 12, 14, .82); border: 1px solid var(--line-2); white-space: nowrap; font-size: .82rem; font-weight: 600; }
.callout-n { font: 800 .72rem var(--f-d); padding: .15rem .4rem; border-radius: 999px; background: var(--acc-fill); color: #fff; }

@media (min-width: 760px) and (min-aspect-ratio: 21/20) {
  .shade { background: linear-gradient(to right, rgba(11, 12, 14, .9) 0%, rgba(11, 12, 14, .55) 32%, rgba(11, 12, 14, 0) 55%), linear-gradient(to top, rgba(11, 12, 14, .6), rgba(11, 12, 14, 0) 30%); }
  .ch { justify-content: center; padding-left: max(var(--pad), 4vw); }
  .ch-hero { justify-content: center; padding-top: calc(var(--top-h) + 2rem); }
  .card { padding: 1.5rem 1.6rem 1.6rem; max-width: 29rem; }
  .card-hero { max-width: 40rem; padding: 0; }
  .hud { left: auto; right: var(--pad); top: auto; bottom: 1.5rem; }
  .hud-tach { width: 7rem; }
  .hud-v { font-size: 2rem; }
  .drag-hint { top: auto; bottom: 1.8rem; right: calc(var(--pad) + 13rem); }
}

/* ---------- pas prędkości ---------- */
.band { position: relative; overflow: hidden; padding: clamp(1.5rem, 5vw, 3rem) 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(75, 85, 240, .06), transparent 40%, rgba(230, 168, 90, .05)); }
.band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(143, 153, 255, .05) 60px 61px); pointer-events: none; }
.band-t { white-space: nowrap; font-weight: 900; font-stretch: 100%; font-size: clamp(2.6rem, 10vw, 8rem); line-height: 1; text-transform: uppercase; color: #2C313A; will-change: transform; }
.band-2 .band-t { color: #2C313A; }

/* ---------- sekcje ---------- */
.sec { position: relative; padding: clamp(4rem, 11vw, 8rem) 0; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-lead { color: var(--ink-2); margin-top: 1rem; font-size: 1.06rem; }
.note { color: var(--ink-2); padding: .8rem 1rem; border: 1px dashed var(--line-2); border-radius: 10px; margin-top: 1rem; }

/* kolekcja */
.kol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.gear { min-width: 0; }
@media (max-width: 359px) { .gears { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.box { position: relative; max-width: 22rem; width: 100%; margin: 0 auto; padding: 1.5rem 1rem 1rem; border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, #1D2128, #121418); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.gate { width: 100%; height: auto; }
.gate-slot { fill: none; stroke: #07080A; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.gate-n text { font: 800 13px var(--f-d); fill: var(--ink-3); text-anchor: middle; }
.knob circle:first-child { fill: #2A2F38; stroke: var(--acc); stroke-width: 2; }
.knob-c { fill: var(--acc-fill); }
.gears { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: .9rem; }
.gear { display: flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .35rem .5rem; border-radius: 10px; border: 1px solid var(--line); background: var(--asphalt-2); color: var(--ink-2); font-size: .82rem; font-weight: 600; cursor: pointer; text-align: left; }
.gear:hover { border-color: var(--line-2); color: var(--ink); }
.gear[aria-selected="true"] { border-color: var(--acc); color: var(--ink); background: rgba(75, 85, 240, .14); }
.gear-n { font-weight: 900; font-size: .95rem; width: 1.5rem; height: 1.5rem; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--graphite-2); color: var(--ink); }
.gear[aria-selected="true"] .gear-n { background: var(--acc-fill); color: #fff; }
.gear-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.panels { position: relative; min-width: 0; padding: 1.25rem; border-radius: 22px; border: 1px solid var(--line); background-color: #0F1114; background-image: radial-gradient(circle, #1C2027 1.6px, transparent 2px); background-size: 22px 22px; }
.js .panel[hidden] { display: none; }
.panel + .panel { margin-top: 3rem; }
.js .panel + .panel { margin-top: 0; }
.panel:focus-visible { outline-offset: 6px; }
.panel-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.panel-head p { color: var(--ink-2); margin-top: .35rem; }
.panel-title { font-family: var(--f-d); font-weight: 800; font-stretch: 112%; line-height: 1.1; font-size: 1.4rem; display: flex; align-items: center; gap: .55rem; }
.panel-gear { font-size: .85rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 6px; background: var(--acc-fill); color: #fff; }
.pic { width: 3rem; height: 3rem; color: var(--acc); flex: none; }
.pic-lg { width: 3.4rem; height: 3.4rem; padding: .45rem; border-radius: 12px; background: rgba(75, 85, 240, .1); border: 1px solid rgba(143, 153, 255, .25); }
.tags { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); }
.tag { --rot: 0deg; position: relative; display: flex; flex-direction: column; padding: 2.1rem 1.1rem 1.1rem; background: linear-gradient(170deg, #1B1F26, #14171C); border: 1px solid var(--line-2); border-radius: 6px 6px 14px 14px; clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); transform-origin: 50% 1rem; transform: rotate(var(--rot)); transition: transform .5s var(--ease), border-color .2s; }
.tag:nth-child(3n+1) { --rot: -1.2deg; } .tag:nth-child(3n+2) { --rot: .8deg; } .tag:nth-child(3n) { --rot: -.4deg; }
.tag:hover, .tag:focus-within { --rot: 0deg; border-color: var(--acc); }
@media (hover: hover) { .tag:hover { animation: swing 1.1s var(--ease); } }
@keyframes swing { 20% { transform: rotate(3deg); } 45% { transform: rotate(-2deg); } 70% { transform: rotate(1deg); } 100% { transform: rotate(0); } }
.tag-hole { position: absolute; top: .65rem; left: 50%; width: .8rem; height: .8rem; margin-left: -.4rem; border-radius: 50%; background: #0F1114; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .9), 0 0 0 2px #2c313a; }
.tag-code { position: absolute; top: .75rem; right: 1rem; font-size: .7rem; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.tag-pic { width: 2.6rem; height: 2.6rem; margin-bottom: .8rem; }
.tag-name { font-weight: 800; font-stretch: 108%; font-size: 1.18rem; line-height: 1.15; }
.tag-spec { color: var(--ink-2); font-size: .92rem; margin-top: .35rem; flex: 1; }
.tag-price { margin: 1rem 0 .8rem; display: flex; flex-direction: column; font-family: var(--f-d); font-weight: 800; font-stretch: 112%; line-height: 1.1; font-size: 1.35rem; }
.tag-ex { font: 500 .7rem/1.3 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .2rem; }
.btn-add { align-self: flex-start; background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-add:hover { border-color: var(--acc); background: rgba(75, 85, 240, .15); }
.btn-add.ok { background: var(--acc-fill); border-color: var(--acc-fill); color: #fff; }
.panel.enter .tag { animation: drop .65s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes drop { from { opacity: 0; transform: translateY(-2.2rem) rotate(-7deg); } 60% { opacity: 1; transform: translateY(.2rem) rotate(2deg); } to { transform: rotate(var(--rot)); } }
@media (min-width: 900px) {
  .kol { grid-template-columns: 19rem minmax(0, 1fr); align-items: start; }
  .box { position: sticky; top: calc(var(--top-h) + 2rem); margin: 0; }
  .gears { grid-template-columns: 1fr 1fr; }
  .panels { padding: 1.8rem; }
}

/* dobierz */
.dobierz { background: radial-gradient(70% 60% at 85% 20%, rgba(75, 85, 240, .1), transparent 70%); }
.fit-row { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-3); }
select, input[type="text"], input[type="email"], textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--asphalt-2); color: var(--ink); }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A6ADBA' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: .75rem; }
select:disabled { opacity: .55; }
select:hover:not(:disabled), input:hover, textarea:hover { border-color: #4a5160; }
input::placeholder, textarea::placeholder { color: #7D8696; }
.fit-out { margin-top: 2rem; padding: 1.25rem; border-radius: 18px; border: 1px solid var(--line); background: var(--asphalt-2); }
.plate { display: inline-flex; align-items: stretch; border-radius: 6px; overflow: hidden; border: 2px solid #0B0C0E; box-shadow: 0 0 0 1px #5a6170; background: #ECEEF2; color: #0B0C0E; }
.plate-eu { display: grid; place-items: center; padding: 0 .45rem; background: var(--acc-fill); color: #fff; font: 800 .7rem var(--f-d); }
.plate-t { padding: .25rem .8rem; font-weight: 800; font-stretch: 80%; font-size: clamp(1.2rem, 5vw, 1.6rem); letter-spacing: .06em; white-space: nowrap; }
.fit-msg { margin-top: 1rem; color: var(--ink-2); }
.fit-list { display: grid; gap: .6rem; margin-top: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.fit-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--graphite); animation: slide .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes slide { from { opacity: 0; transform: translateX(-1rem); } }
.fit-item .pic { width: 2rem; height: 2rem; }
.fit-item div { flex: 1; min-width: 0; }
.fit-item b { display: block; font-weight: 700; font-size: .95rem; }
.fit-item span { color: var(--ink-3); font-size: .85rem; }
.fit-item .btn { min-height: 2.75rem; padding: .4rem .8rem; font-size: .85rem; }
@media (min-width: 720px) { .fit-row { grid-template-columns: repeat(3, 1fr); } .fit-out { padding: 1.6rem; } }

/* warsztat */
.laps { display: grid; gap: 0; counter-reset: lap; position: relative; }
.lap { position: relative; padding: 0 0 2rem 3.6rem; }
.lap::before { content: ""; position: absolute; left: 1.15rem; top: .5rem; bottom: -.5rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--line-2) 0 8px, transparent 8px 14px); }
.lap:last-child::before { display: none; }
.lap-n { position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 8px; background: var(--graphite-2); border: 1px solid var(--line-2); font-weight: 900; font-size: .85rem; color: var(--acc); }
.lap h3 { font-family: var(--f-d); font-weight: 800; font-stretch: 112%; line-height: 1.2; font-size: 1.2rem; margin: .3rem 0 .4rem; }
.lap p { color: var(--ink-2); }
.lap.in .lap-n { background: var(--acc-fill); color: #fff; border-color: var(--acc-fill); transition: background-color .4s, color .4s; }
@media (min-width: 900px) {
  .laps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .lap { padding: 3.6rem 0 0; }
  .lap::before { left: 2.9rem; right: -1.1rem; top: 1.15rem; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--line-2) 0 8px, transparent 8px 14px); }
}
.manifest { margin-top: clamp(3rem, 8vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, #15181D, #0F1114); position: relative; overflow: hidden; }
.manifest::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--nalot); }
.manifest-t { font-family: var(--f-d); font-weight: 700; font-stretch: 110%; line-height: 1.3; font-size: clamp(1.2rem, 3.4vw, 1.8rem); margin-top: .8rem; max-width: 52rem; }
.vals { display: grid; gap: 1rem; margin-top: 1.8rem; }
.vals li { color: var(--ink-2); padding-top: .8rem; border-top: 1px solid var(--line); }
.vals strong { display: block; margin-bottom: .2rem; }
@media (min-width: 760px) { .vals { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* koszyk */
.koszyk .cart { max-width: 44rem; }
.cart { display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { color: var(--ink-2); padding: 1rem; border: 1px dashed var(--line-2); border-radius: 12px; }
.cart-list { display: grid; gap: .6rem; }
.cart-list:empty { display: none; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 1rem; align-items: center; padding: .8rem .9rem; border-radius: 12px; background: var(--asphalt-2); border: 1px solid var(--line); }
.line b { display: block; font-weight: 700; }
.line .line-s { color: var(--ink-3); font-size: .85rem; }
.line-p { font-family: var(--f-d); font-weight: 800; font-stretch: 110%; line-height: 1; font-size: 1.05rem; white-space: nowrap; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: .3rem; }
.qty button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.qty button:hover { border-color: var(--acc); }
.qty output { min-width: 1.6rem; text-align: center; font-weight: 700; }
.line-x { justify-self: end; background: none; border: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 2.75rem; padding: 0 .3rem; font-size: .88rem; }
.line-x:hover { color: var(--ink); }
.fuel { padding: 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--asphalt-2); }
.fuel-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--ink-2); }
.fuel-v { font-weight: 700; color: var(--ink); }
.fuel-bar { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; font: 800 .75rem var(--f-d); color: var(--ink-3); }
.fuel-track { flex: 1; height: .65rem; border-radius: 999px; background: repeating-linear-gradient(90deg, #1E2228 0 calc(12.5% - 2px), #0B0C0E calc(12.5% - 2px) 12.5%); overflow: hidden; }
.fuel-fill { display: block; height: 100%; width: 0; background: var(--nalot); border-radius: 999px; transition: width .7s var(--ease); }
.fuel-n { font-size: .8rem; color: var(--ink-3); margin-top: .6rem; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .4rem; color: var(--ink-2); }
.cart-sum strong { font-family: var(--f-d); font-weight: 850; font-stretch: 115%; line-height: 1; font-size: 1.6rem; color: var(--ink); }
.cart-status { color: var(--acc-2); font-size: .92rem; min-height: 1.4em; }

/* szuflada */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(5, 6, 8, .7); animation: fade .3s both; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(26rem, 100%); background: var(--asphalt-2); border-left: 1px solid var(--line); padding: 1rem var(--pad) 1.5rem; overflow-y: auto; animation: inR .45s var(--ease) both; overscroll-behavior: contain; }
.drawer-panel:focus { outline: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer.closing .drawer-panel { animation: outR .3s ease-in both; }
.drawer.closing .drawer-bg { animation: fade .3s reverse both; }
@keyframes fade { from { opacity: 0; } }
@keyframes inR { from { transform: translateX(100%); } }
@keyframes outR { to { transform: translateX(100%); } }
body.locked { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 160%); max-width: calc(100% - 2rem); padding: .7rem 1.1rem; border-radius: 999px; background: var(--graphite-2); border: 1px solid var(--acc); font-size: .92rem; font-weight: 600; transition: transform .4s var(--ease); pointer-events: none; }
.toast.on { transform: translate(-50%, 0); }

/* kontakt */
.form { display: grid; gap: 1.1rem; max-width: 46rem; }
textarea { min-height: 8rem; resize: vertical; }
.err { color: #FFB4A8; font-size: .86rem; min-height: 0; }
.err:empty { display: none; }
[aria-invalid="true"] { border-color: #FF8A78; }
.chips { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .5rem; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.chips input:checked + span { background: rgba(75, 85, 240, .18); border-color: var(--acc); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--acc-2); outline-offset: 3px; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { color: var(--acc-2); }
@media (min-width: 720px) { .form { grid-template-columns: 1fr 1fr; } .chips, .field-wide, .form-end { grid-column: 1 / -1; } .field:nth-child(3) { grid-column: 1 / -1; } }

/* stopka */
.ftr { border-top: 1px solid var(--line); padding: 3rem 0 calc(2.5rem + env(safe-area-inset-bottom)); background: #08090B; }
.ftr-in { display: grid; gap: 1rem; }
.ftr-brand { font-weight: 900; font-stretch: 150%; font-size: clamp(2.4rem, 13vw, 11rem); line-height: .9; background: var(--nalot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftr-note, .ftr-tech { color: var(--ink-2); max-width: 46rem; font-size: .92rem; }
.ftr-made { font-weight: 600; }
.ftr-top { justify-self: start; color: var(--ink-2); padding: .5rem 0; }

/* ---------- ograniczony ruch ---------- */
/* układ dwukolumnowy na szerokich ekranach */
@media (min-width: 1000px) {
  .split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .split > .sec-head { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: calc(var(--top-h) + 2rem); margin: 0; }
  .split > :not(.sec-head) { grid-column: 2; }
  .split .fit-out { margin-top: 1.5rem; }
  .split .fit-row { grid-template-columns: 1fr 1fr; }
  .split .fit-row .field:last-child { grid-column: 1 / -1; }
  .koszyk .split .cart { max-width: none; }
  .split .form { max-width: none; }
  .ftr-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; }
  .ftr-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
  .ftr-note { grid-row: 2 / span 3; align-self: start; }
  .ftr-made, .ftr-tech, .ftr-top { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scroll-cue span::after { display: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
