/* ==========================================================================
   DD Volt — style.css
   Jeden krój: Sofia Sans (rodowód DIN, pełne polskie znaki), hostowany lokalnie.
   Paleta: czerń, biel, szarość i pomarańcz marki. Bez zewnętrznych zasobów.
   Spis: 1 fonty · 2 tokeny · 3 baza · 4 typografia · 5 układ · 6 kontrolki
         7 nagłówek i menu · 8 hero · 9 sekcje · 10 mapa · 11 formularz
         12 stopka i dock · 13 ruch · 14 motyw ciemny · 15 druk
   ========================================================================== */

/* 1. Fonty ---------------------------------------------------------------- */
@font-face {
  font-family: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(../assets/fonts/sofia-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(../assets/fonts/sofia-sans-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 zapasowy o tych samych proporcjach: tekst nie przeskakuje, gdy doczyta się Sofia Sans. */
@font-face {
  font-family: "Sofia Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Roboto");
  size-adjust: 97.5%; ascent-override: 92.3%; descent-override: 30.8%; line-gap-override: 0%;
}

/* 2. Tokeny --------------------------------------------------------------- */
:root {
  --font: "Sofia Sans", "Sofia Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --volt: #f25500;            /* pomarańcz marki */
  --volt-up: #ff6a1a;         /* hover */
  --volt-deep: #b23a00;       /* pomarańcz jako mały tekst na jasnym tle */
  --volt-glow: #ffb15c;

  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --card: #f5f5f7;
  --card-on-soft: #ffffff;
  --card-hover: #ececef;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --line-strong: #86868b;
  --field: #ffffff;
  --danger: #c4221a;
  --tag-volt-bg: #ffe6d6;
  --tag-volt-fg: #9c3200;

  --night: #000000;
  --night-card: #161617;
  --night-card-2: #1d1d1f;
  --night-line: rgba(255, 255, 255, .13);
  --night-line-strong: rgba(255, 255, 255, .34);
  --on-night: #f5f5f7;
  --on-night-2: #a1a1a6;
  --on-night-3: #86868b;

  --bar-h: 56px;
  --gutter: clamp(20px, 5vw, 48px);
  --container: 1200px;
  --r-card: clamp(22px, 2.4vw, 30px);
  --r-field: 14px;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);

  color-scheme: light;
}

/* Tony sekcji: każdy komponent czyta kolory z --s-*, więc sam dopasowuje się do tła. */
:root, .tone-light, .tone-soft {
  --s-bg: var(--bg); --s-fg: var(--ink); --s-fg2: var(--ink-2);
  --s-card: var(--card); --s-card-hover: var(--card-hover);
  --s-line: var(--line); --s-line-strong: var(--line-strong);
  --s-accent: var(--volt-deep); --s-focus: var(--ink);
  --s-tag: rgba(0, 0, 0, .06); --s-tag-volt-bg: var(--tag-volt-bg); --s-tag-volt-fg: var(--tag-volt-fg);
  --s-art-line: #1d1d1f; --s-art-soft: #c7c7cc; --s-art-dim: #e2e2e7; --s-art-panel: #ffffff;
}
.tone-soft { --s-bg: var(--bg-soft); --s-card: var(--card-on-soft); --s-card-hover: var(--card-on-soft); --s-art-panel: #f5f5f7; }
.tone-night {
  --s-bg: var(--night); --s-fg: var(--on-night); --s-fg2: var(--on-night-2);
  --s-card: var(--night-card); --s-card-hover: var(--night-card-2);
  --s-line: var(--night-line); --s-line-strong: var(--night-line-strong);
  --s-accent: #ff7a33; --s-focus: #ffffff;
  --s-tag: rgba(255, 255, 255, .1); --s-tag-volt-bg: rgba(242, 85, 0, .2); --s-tag-volt-fg: #ff9a5c;
  --s-art-line: #f5f5f7; --s-art-soft: #48484a; --s-art-dim: #2c2c2e; --s-art-panel: #1d1d1f;
}
.tone-light, .tone-soft, .tone-night { background: var(--s-bg); color: var(--s-fg); }

/* 3. Baza ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 20px);
  background: var(--night);
}
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; font-weight: 400;
  color: var(--s-fg); background: var(--s-bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-variant-numeric: lining-nums;
  overflow-x: clip; -webkit-tap-highlight-color: transparent;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--s-focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--volt); color: #000; }
[hidden] { display: none !important; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-call { overflow: visible; }
.i-call .hs { transform-box: view-box; transform-origin: 12px 13px; animation: ring 4.6s var(--ease) infinite; animation-delay: var(--ring, 0s); }
.i-call .zap { stroke: var(--volt); stroke-width: 2.1; opacity: 0; animation: zap 4.6s linear infinite; animation-delay: var(--ring, 0s); }
.i-call .zap + .zap { animation-name: zap-2; }
@keyframes ring { 0%, 21%, 100% { transform: none; } 2.5% { transform: rotate(-16deg); } 5.5% { transform: rotate(13deg); } 8.5% { transform: rotate(-11deg); } 11.5% { transform: rotate(9deg); } 14.5% { transform: rotate(-6deg); } 18% { transform: rotate(3deg); } }
@keyframes zap { 0%, 1.5%, 20%, 100% { opacity: 0; } 3%, 5% { opacity: 1; } 6.5% { opacity: .15; } 9%, 11% { opacity: 1; } 13% { opacity: .2; } 15%, 17% { opacity: 1; } }
@keyframes zap-2 { 0%, 3.5%, 21%, 100% { opacity: 0; } 5%, 7% { opacity: 1; } 8.5% { opacity: .15; } 11%, 13% { opacity: 1; } 15% { opacity: .2; } 17%, 19% { opacity: 1; } }
/* kilka przycisków na ekranie nie dzwoni jednocześnie */
.dock .i-call { --ring: 1.2s; }
.cta .i-call { --ring: .6s; }
.job:nth-child(2) .i-call { --ring: 1.1s; } .job:nth-child(3) .i-call { --ring: 2.2s; } .job:nth-child(4) .i-call { --ring: 3.3s; }
.bar-phone .i-call { --ring: 2.6s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.nb { white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 300; padding: 10px 18px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 600; transform: translateY(-200%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* treści zależne od ścieżki: chowamy tę, która nie pasuje */
html[data-audience="firmy"] [data-for="fachowcy"],
html[data-audience="fachowcy"] [data-for="firmy"] { display: none !important; }

/* 4. Typografia ----------------------------------------------------------- */
.h-hero, .h-page, .h-display, .h-section, .h-card, .h-step, .h-feat { font-weight: 700; text-wrap: balance; }
.h-hero { font-size: clamp(2.625rem, 1.2rem + 6.4vw, 6rem); line-height: .98; letter-spacing: -.026em; }
.h-page { font-size: clamp(2.375rem, 1.3rem + 4.6vw, 4.75rem); line-height: 1; letter-spacing: -.024em; }
.h-display { font-size: clamp(2rem, 1.15rem + 3.5vw, 4rem); line-height: 1.04; letter-spacing: -.022em; }
.h-section { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem); line-height: 1.06; letter-spacing: -.02em; }
.h-card { font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); line-height: 1.14; letter-spacing: -.012em; font-weight: 650; }
.h-step, .h-feat { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.008em; font-weight: 650; }
.lead { font-size: clamp(1.125rem, 1rem + .55vw, 1.4375rem); line-height: 1.42; color: var(--s-fg2); text-wrap: pretty; }
.label { font-size: .875rem; line-height: 1.3; font-weight: 600; color: var(--s-fg2); }

/* 5. Układ ---------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--flush { padding-top: 0; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
/* tablet: nieparzysta ostatnia karta zajmuje cały rząd zamiast wisieć samotnie */
@media (min-width: 700px) and (max-width: 1023px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-3 > .svc:last-child:nth-child(odd) { flex-direction: row; align-items: center; }
  .grid-3 > .svc:last-child:nth-child(odd) .svc-art { flex: 0 0 44%; padding: clamp(1.25rem, 3vw, 2rem); }
  .grid-3 > .svc:last-child:nth-child(odd) .svc-body { padding-left: 0; }
}

.intro { text-align: center; max-width: 48rem; margin: 0 auto clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); }
.intro .lead { margin-top: 1.1rem; }
.intro .more { margin-top: 1.4rem; }

.card { background: var(--s-card); border-radius: var(--r-card); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); position: relative; }
.tone-night .card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* 6. Kontrolki ------------------------------------------------------------ */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--h); padding: 0 1.35em; border-radius: 999px;
  font-weight: 600; font-size: 1.0625rem; line-height: 1; white-space: nowrap; user-select: none;
  transition: transform .25s var(--ease-out), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
  will-change: transform;
}
.btn:active { transform: scale(.965); }
.btn--sm { --h: 36px; font-size: .9375rem; padding: 0 1.05em; }
.btn--lg { --h: 54px; font-size: 1.125rem; padding: 0 1.55em; }
.btn--primary { background: var(--volt); color: #000; }
.btn--light { background: var(--s-fg); color: var(--s-bg); }
.btn--ghost { color: var(--s-fg); box-shadow: inset 0 0 0 1px var(--s-line-strong); }
.btn[disabled] { opacity: .5; cursor: progress; }
@media (hover: hover) {
  .btn--primary:hover { background: var(--volt-up); }
  .btn--light:hover { opacity: .86; }
  .btn--ghost:hover { background: var(--s-fg); color: var(--s-bg); box-shadow: inset 0 0 0 1px var(--s-fg); }
}
.btn--primary:focus-visible { outline-offset: 3px; }

.more { display: inline-flex; align-items: center; gap: .2em; font-weight: 600; color: var(--s-accent); }
.more .i { width: 1em; height: 1em; stroke-width: 2.2; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .more:hover .i, a:hover > .more .i, a:hover .svc-body > .more .i { transform: translateX(4px); } }

.tag {
  display: inline-flex; align-items: center; gap: .45em; padding: .28em .75em; border-radius: 999px;
  font-size: .8125rem; line-height: 1.35; font-weight: 600; background: var(--s-tag); color: var(--s-fg); white-space: nowrap;
}
.tag--volt, .tag--live { background: var(--s-tag-volt-bg); color: var(--s-tag-volt-fg); }
.tags, .facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: .28em .75em; border-radius: 999px; font-size: .8125rem; line-height: 1.35; font-weight: 600; background: var(--s-tag); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

.ticks { display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.38; }
.ticks .i { color: var(--s-accent); width: 1.15rem; height: 1.15rem; margin-top: .12em; stroke-width: 2.2; }

.chip {
  padding: .5em 1em; min-height: 36px; border-radius: 999px; font-size: .9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--s-fg2); box-shadow: inset 0 0 0 1px var(--s-line);
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--s-fg); color: var(--s-bg); box-shadow: none; }
@media (hover: hover) { .chip:not([aria-pressed="true"]):hover { color: var(--s-fg); box-shadow: inset 0 0 0 1px var(--s-line-strong); } }

/* przełącznik „Dla firm / Dla fachowców” */
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.seg button {
  position: relative; z-index: 1; min-height: 36px; padding: 0 1.1em; border-radius: 999px; text-align: center;
  font-size: .9375rem; font-weight: 600; white-space: nowrap; color: var(--on-night-2); transition: color .3s var(--ease);
}
.seg button[aria-pressed="true"] { color: #000; }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #f5f5f7;
  transition: transform .5s var(--ease-out);
}
html[data-audience="fachowcy"] .seg-thumb { transform: translateX(100%); }
.seg--light { background: rgba(0, 0, 0, .06); box-shadow: none; }
.seg--light button { color: #515154; min-height: 44px; }
.seg--light button[aria-pressed="true"] { color: #fff; }
.seg--light .seg-thumb { background: var(--ink); }
.seg--wide { display: grid; width: 100%; }
html[data-audience-lock] .hero .seg, html[data-audience-lock] .menu .seg { display: none; }

/* 7. Nagłówek i menu ------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--bar-h); color: var(--on-night);
  background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .3s var(--ease);
  --s-fg: var(--on-night); --s-bg: #000; --s-line-strong: var(--night-line-strong); --s-focus: #fff;
  view-transition-name: site-header;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(255, 255, 255, .1); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled::after { opacity: 1; }
.menu-open .site-header { background: #000; }
.bar { height: 100%; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3125rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand-mark { width: 10px; height: 10px; border-radius: 3px; background: var(--volt); }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { position: relative; padding: 8px 0; font-size: .9375rem; font-weight: 500; color: rgba(245, 245, 247, .72); transition: color .2s var(--ease); }
.nav a[aria-current="page"] { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover { color: #fff; } }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bar-phone { display: inline-flex; align-items: center; gap: .45em; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; padding: 8px 6px; white-space: nowrap; }
.bar-phone .i { color: var(--volt); }
.bar-lang { display: grid; place-items: center; min-width: 40px; height: 36px; padding: 0 8px; border-radius: 999px; font-size: .875rem; font-weight: 700; letter-spacing: .02em; color: rgba(245, 245, 247, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background-color .2s, color .2s; }
@media (hover: hover) { .bar-lang:hover { background: #f5f5f7; color: #000; } .bar-phone:hover span { text-decoration: underline; text-underline-offset: 4px; } }
.theme-switch { position: relative; flex: none; display: inline-grid; grid-template-columns: 1fr 1fr; place-items: center; width: 60px; height: 32px; padding: 0 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: rgba(245, 245, 247, .62); transition: background-color .2s var(--ease); }
.theme-switch::before { content: ""; position: absolute; inset: -6px -2px; }  /* większe pole dotyku */
.theme-switch .i { position: relative; z-index: 1; width: 15px; height: 15px; stroke-width: 2; transition: color .3s var(--ease), transform .5s var(--ease-out); }
.theme-thumb { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #f5f5f7; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); transition: transform .5s var(--ease-out); }
.theme-switch .i:first-of-type { color: #000; }
[data-theme="dark"] .theme-switch .i:first-of-type { color: rgba(245, 245, 247, .62); transform: rotate(-40deg); }
[data-theme="dark"] .theme-switch .i:last-of-type { color: #000; }
[data-theme="dark"] .theme-thumb { transform: translateX(28px); }
@media (hover: hover) { .theme-switch:hover { background: rgba(255, 255, 255, .17); } }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border-radius: 50%; }
.menu-btn span { position: absolute; left: 12px; right: 12px; top: 50%; height: 1.75px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-btn span:first-child { transform: translateY(-4.5px); }
.menu-btn span:last-child { transform: translateY(4.5px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.progress { position: absolute; inset: auto 0 0 0; height: 2px; background: var(--volt); transform: scaleX(var(--scroll, 0)); transform-origin: left; z-index: 1; }

@media (max-width: 1179px) { .bar-phone { display: none; } }
@media (max-width: 1023px) {
  .nav, .bar-lang, .bar-actions .theme-switch { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 359px) { .bar-actions .btn { display: none; } }
@media (max-width: 767px) {
  .bar-actions .btn { transition: opacity .35s var(--ease), transform .5s var(--ease-out), visibility 0s; }
  .dock-on .bar-actions .btn { opacity: 0; transform: scale(.9); visibility: hidden; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .25s; }
}

.menu {
  position: fixed; inset: 0; z-index: 99; padding: calc(var(--bar-h) + 12px) var(--gutter) calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 20px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--on-night);
  --s-fg: var(--on-night); --s-bg: #000; --s-line-strong: var(--night-line-strong); --s-focus: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.menu-nav { display: grid; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: .5em 0; border-bottom: 1px solid var(--night-line);
  font-size: clamp(1.625rem, 6.4vw, 2.125rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.2;
  opacity: 0; transform: translateY(-14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.menu.is-open .menu-nav a { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) calc(60ms + var(--i) * 45ms), transform .7s var(--ease-out) calc(60ms + var(--i) * 45ms); }
.menu-nav a .i { width: .7em; height: .7em; color: var(--on-night-3); stroke-width: 2.4; }
.menu-nav a[aria-current="page"] { color: var(--volt); }
.menu-foot { margin-top: auto; display: grid; gap: 14px; opacity: 0; transition: opacity .3s; }
.menu.is-open .menu-foot { opacity: 1; transition: opacity .6s var(--ease-out) .35s; }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu-tools { display: inline-flex; align-items: center; gap: 14px; }
.menu-lang { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--on-night-2); }
.menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-cta .btn { width: 100%; padding-inline: .6em; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (min-width: 1024px) { .menu { display: none; } }

/* 8. Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: clip; text-align: center; padding: calc(var(--bar-h) + clamp(2rem, 7vh, 5.5rem)) 0 clamp(3rem, 2rem + 4vw, 5.5rem); isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1500px, 190vw); height: 78%; transform: translateX(-50%);
  background: radial-gradient(50% 46% at 50% 58%, rgba(242, 85, 0, .2), rgba(242, 85, 0, .05) 55%, transparent 74%);
  opacity: calc(var(--power, 1) * (1 - var(--hero-p, 0) * .7)); pointer-events: none;
}
.hero-top { display: grid; justify-items: center; }
.hero .seg { margin-bottom: clamp(1.75rem, 4vh, 2.75rem); }
.h-hero { max-width: 12.5em; }
.hero .lead { max-width: 46rem; margin-top: clamp(1.25rem, 3vh, 1.75rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(1.75rem, 4vh, 2.5rem); }

.wave { position: relative; height: clamp(150px, 24vh, 280px); margin-top: clamp(1rem, 3vh, 2.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-key { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 16px; font-size: .75rem; font-weight: 600; color: var(--on-night-3); letter-spacing: .02em; }
.wave-key span { display: inline-flex; align-items: center; gap: 6px; }
.wave-key span::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--volt); }
.wave-key span:nth-child(2)::before { background: #f5f5f7; }
.wave-key span:nth-child(3)::before { background: #6e6e73; }

.stats { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2.5rem); }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 60rem; margin-inline: auto; }
.hero .stats { margin-top: clamp(2rem, 5vh, 3.5rem); }
.stat { text-align: center; }
.stat-num { display: flex; align-items: baseline; justify-content: center; gap: .08em; font-size: clamp(2.75rem, 1.7rem + 4.4vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.stat-unit { font-size: .5em; font-weight: 700; letter-spacing: -.01em; color: var(--volt); }
.tone-light .stat-unit, .tone-soft .stat-unit { color: var(--volt-deep); }
.stat-label { margin: .7rem auto 0; max-width: 17rem; font-size: .9375rem; line-height: 1.35; color: var(--s-fg2); text-wrap: balance; }
@media (max-width: 899px) { .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .stats--3 { grid-template-columns: minmax(0, 1fr); } }

.odo { display: inline-flex; }
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 2s var(--ease-out) calc(var(--j) * 110ms); will-change: transform; }
.odo-strip span { display: block; height: 1em; line-height: 1; }
.odo-strip span::before { content: attr(data-d); }

.marquee { position: relative; overflow: hidden; padding-block: clamp(1.1rem, 2.4vw, 1.75rem); border-top: 1px solid var(--night-line); }
.marquee::before, .marquee::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: clamp(40px, 10vw, 160px); pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--night), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--night), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-set { display: flex; }
.marquee-item { display: inline-flex; align-items: baseline; gap: .4em; padding-inline: clamp(1.1rem, 2.4vw, 2.25rem); font-size: clamp(1.125rem, .95rem + .9vw, 1.625rem); color: var(--on-night-3); white-space: nowrap; position: relative; }
.marquee-item b { font-weight: 650; color: var(--on-night); letter-spacing: -.01em; }
.marquee-item::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--volt); }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* nagłówek podstrony */
.page-head { text-align: center; padding: calc(var(--bar-h) + clamp(3rem, 2rem + 6vw, 6.5rem)) 0 clamp(3rem, 2rem + 5vw, 6rem); position: relative; overflow: clip; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -45%; width: min(1200px, 160vw); height: 90%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(242, 85, 0, .17), transparent 70%); pointer-events: none; }
.page-head .container { display: grid; justify-items: center; }
.h-page { max-width: 13em; }
.page-head .lead { max-width: 44rem; margin-top: clamp(1.1rem, 2.4vw, 1.6rem); }
.page-head .tags, .page-head .seg { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.page-head .tags { justify-content: center; }

/* 9. Sekcje --------------------------------------------------------------- */
/* strona główna: ta sama treść, inna kolejność dla fachowców (oferty pracy zaraz pod hero) */
.home { display: flex; flex-direction: column; }
html[data-audience="fachowcy"] .home > [data-order="jobs"] { order: -1; }
html[data-audience="fachowcy"] .home > .hero { order: -3; }
html[data-audience="fachowcy"] .home > .marquee { order: -2; }
html[data-audience="fachowcy"] .home > [data-order="offer"] { order: 5; }
html[data-audience="fachowcy"] .home > #faq { order: 6; }
html[data-audience="fachowcy"] .home > .cta { order: 7; }

/* usługi */
.svc { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .5s var(--ease-out), background-color .3s var(--ease); }
.svc-art { padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.75rem) 0; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); padding-top: clamp(1rem, 1.6vw, 1.5rem); }
.svc-body > p:not(.label) { margin-top: .7rem; color: var(--s-fg2); }
.svc-body .label, .job .label, .feature-body .label { margin: 1.4rem 0 .8rem; }
.svc-body .more { margin-top: auto; padding-top: 1.5rem; }
@media (hover: hover) { .svc:hover { transform: translateY(-6px); background: var(--s-card-hover); } }

.art { width: 100%; height: auto; overflow: visible; }
.art-wires path { fill: none; stroke-width: 3; stroke-linecap: round; stroke: var(--s-art-soft); }
.art-wires path:nth-child(1) { stroke: var(--volt); }
.art-wires path:nth-child(2) { stroke: var(--s-art-line); }
.art-pulse path { fill: none; stroke: var(--volt-glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 200; stroke-dashoffset: 9; animation: wire-pulse 3.2s var(--ease) infinite; animation-delay: calc(var(--i) * .38s); }
.art-block { fill: var(--s-art-panel); stroke: var(--s-art-soft); stroke-width: 1.5; }
.art-leds circle { fill: var(--s-art-dim); animation: led 3.2s var(--ease) infinite; animation-delay: calc(var(--i) * .38s); }
@keyframes wire-pulse { 0% { stroke-dashoffset: 9; } 62%, 100% { stroke-dashoffset: -100; } }
@keyframes led { 0%, 52% { fill: var(--s-art-dim); } 62%, 88% { fill: var(--volt); } 100% { fill: var(--s-art-dim); } }

.art-floor { fill: none; stroke: var(--s-art-soft); stroke-width: 2; stroke-linecap: round; }
.art-solid { fill: var(--s-art-line); }
.art-limb { fill: none; stroke: var(--s-art-line); stroke-linecap: round; }
.art-joint { fill: var(--s-card); stroke: var(--s-art-line); stroke-width: 3; }
.art-part { fill: var(--s-art-panel); stroke: var(--s-art-soft); stroke-width: 1.5; }
.art-spark { fill: var(--volt); animation: spark 1.3s var(--ease) infinite alternate; transform-box: fill-box; transform-origin: center; }
.art-arm1 { transform-box: view-box; transform-origin: 120px 112px; animation: arm1 5.6s var(--ease) infinite alternate; }
.art-arm2 { transform-box: view-box; transform-origin: 168px 54px; animation: arm2 5.6s var(--ease) infinite alternate; }
@keyframes arm1 { from { transform: rotate(-9deg); } to { transform: rotate(7deg); } }
@keyframes arm2 { from { transform: rotate(17deg); } to { transform: rotate(-8deg); } }
@keyframes spark { from { transform: scale(.7); opacity: .55; } to { transform: scale(1.25); opacity: 1; } }

.art-frame { fill: none; stroke: var(--s-art-soft); stroke-width: 2; }
.art-windows rect { fill: var(--s-art-dim); animation: win 7s var(--ease) infinite; animation-delay: calc(var(--i) * .16s); }
@keyframes win { 0%, 4% { fill: var(--s-art-dim); } 12%, 72% { fill: var(--volt); } 84%, 100% { fill: var(--s-art-dim); } }
.art * { animation-play-state: paused; }
[data-art].is-live .art * { animation-play-state: running; }

/* oferta: wiersze usług */
.features { display: grid; gap: clamp(3.5rem, 2rem + 6vw, 7.5rem); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 5.5rem); align-items: center; scroll-margin-top: calc(var(--bar-h) + 32px); }
.feature:nth-child(even) .feature-art { order: 2; }
.feature-art { padding: clamp(1.5rem, 4vw, 3.5rem); display: grid; place-items: center; aspect-ratio: 4 / 3; }
.feature-body .lead { margin-top: 1rem; }
.feature-body .ticks { font-size: 1.125rem; gap: .7rem; }
@media (max-width: 799px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) .feature-art { order: 0; } .feature-art { aspect-ratio: 16 / 10; } }
ul.grid > .card p { margin-top: .7rem; color: var(--s-fg2); }

/* etapy pracy */
.steps-wrap { position: relative; --p: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.steps-wrap::before, .steps-fill { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; }
.steps-wrap::before { background: var(--s-line); }
.steps-fill { background: linear-gradient(90deg, var(--volt), var(--volt-up)); transform: scaleX(var(--p)); transform-origin: left; }
.step { position: relative; }
.step-node {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.25rem; border-radius: 50%; position: relative; z-index: 1;
  font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--s-fg2); background: var(--s-bg); box-shadow: inset 0 0 0 2px var(--s-line);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease-out);
}
.step p { margin-top: .55rem; color: var(--s-fg2); max-width: 30ch; }
.js .step .h-step { transition: color .6s var(--ease); }
.js .step:not(.is-on) .h-step { color: var(--s-fg2); }
.step.is-on .step-node { background: var(--volt); color: #000; box-shadow: inset 0 0 0 2px var(--volt), 0 0 0 7px rgba(242, 85, 0, .16); transform: scale(1.06); }
.no-js .steps-fill { display: none; }
.no-js .wave, .no-js .menu-btn { display: none; }
.no-js .dock { transform: none; }
@media (max-width: 799px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps-wrap::before, .steps-fill { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-fill { transform: scaleY(var(--p)); transform-origin: top; background: linear-gradient(180deg, var(--volt), var(--volt-up)); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 1.1rem; }
  .step-node { grid-row: span 2; margin-bottom: 0; }
  .step .h-step { align-self: end; padding-top: .55rem; }
  .step p { grid-column: 2; }
}

/* dlaczego my */
.why { text-align: center; max-width: 60rem; margin-inline: auto; display: grid; justify-items: center; }
.lit { margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.75rem, 3vw, 2.5rem); font-size: clamp(1.5rem, 1.05rem + 2vw, 2.625rem); line-height: 1.18; font-weight: 650; letter-spacing: -.018em; text-wrap: pretty; }
.js .lit .lw { color: #6e6e73; transition: color .5s var(--ease); }
.js .lit .lw.is-lit { color: var(--s-fg); }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.intro + .feats { margin-top: 0; }
.feat { overflow: hidden; }
.feat-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem; border-radius: 14px; background: rgba(242, 85, 0, .16); color: var(--s-accent); }
.feat-ico .i { width: 24px; height: 24px; }
.feat p { margin-top: .6rem; color: var(--s-fg2); }
.feat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 62%); }
@media (hover: hover) { .feat:hover::before { opacity: 1; } }
@media (max-width: 1099px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .feats { grid-template-columns: minmax(0, 1fr); } }

/* oferty pracy */
.job { display: flex; flex-direction: column; }
.job-status { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem; font-size: .875rem; font-weight: 600; color: var(--s-accent); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .9rem; }
.job-meta li { display: inline-flex; align-items: center; gap: .35em; padding: .28em .75em; border-radius: 999px; font-size: .8125rem; line-height: 1.35; font-weight: 600; background: var(--s-tag); }
.tone-light .job-meta li, .tone-light .proj .tag:not(.tag--volt), .tone-light .proj .facts li { background: #fff; }
.job-meta .i { width: 1em; height: 1em; }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 1.75rem; }

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq + .center, .faq + .faq + .center { margin-top: 2.25rem; }
.qa { border-bottom: 1px solid var(--s-line); }
.qa:first-child { border-top: 1px solid var(--s-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 650; line-height: 1.25; letter-spacing: -.008em; text-wrap: balance; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ico { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--s-line-strong); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .5s var(--ease-out); }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out); }
.qa-ico::after { transform: rotate(90deg); }
.qa[open] .qa-ico { background: var(--volt); color: #000; box-shadow: none; transform: rotate(180deg); }
.qa[open] .qa-ico::after { transform: rotate(0deg); }
.qa.is-closing .qa-ico { background: none; color: inherit; box-shadow: inset 0 0 0 1px var(--s-line-strong); transform: none; }
.qa.is-closing .qa-ico::after { transform: rotate(90deg); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 3.5rem 1.6rem 0; max-width: 44rem; color: var(--s-fg2); font-size: 1.0625rem; }
@media (hover: hover) { .qa summary:hover .qa-ico { box-shadow: inset 0 0 0 1px var(--s-fg); } .qa[open] summary:hover .qa-ico { box-shadow: none; } }

/* realizacje: karty */
.proj { padding: 0; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--bar-h) + 24px); }
.proj-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proj-body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.proj-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.1rem; }
.proj-scope { margin-top: .3rem; font-weight: 600; }
.proj-place { display: flex; align-items: center; gap: .35em; margin-top: .5rem; font-size: .9375rem; color: var(--s-fg2); }
.proj-place .i { width: 1.05em; height: 1.05em; }
.proj-text { margin: 1rem 0 1.4rem; color: var(--s-fg2); }
.proj .facts { margin-top: auto; }

/* o nas */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-text p { margin-top: 1.1rem; color: var(--s-fg2); font-size: 1.125rem; max-width: 38rem; }
.story-text .h-display + p { margin-top: 1.75rem; }
.story-text .btn { margin-top: 2rem; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 3vw, 2.75rem) 1rem; padding-block: clamp(2rem, 4vw, 3.5rem); }
.story-stats .stat-num { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem); }
@media (max-width: 899px) { .story { grid-template-columns: minmax(0, 1fr); } }

/* CTA końcowe */
.cta { position: relative; overflow: clip; text-align: center; padding-block: clamp(5rem, 3rem + 9vw, 10rem); isolation: isolate; }
.cta-glow { position: absolute; z-index: -1; left: 50%; bottom: -55%; width: min(1300px, 180vw); aspect-ratio: 1.6; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(242, 85, 0, .3), rgba(242, 85, 0, .07) 55%, transparent 72%); animation: breathe 9s var(--ease) infinite alternate; pointer-events: none; }
@keyframes breathe { to { transform: translateX(-50%) scale(1.12); opacity: .75; } }
.cta .h-display { max-width: 15em; margin-inline: auto; }
.cta .lead { max-width: 38rem; margin: 1.25rem auto 0; }

/* teksty prawne */
.prose { max-width: 44rem; margin-inline: auto; display: grid; gap: 1rem; font-size: 1.0625rem; }
.prose h2 { margin-top: 1.5rem; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; font-weight: 650; }
.prose p, .prose li { color: var(--s-fg2); }
.prose ul { display: grid; gap: .5rem; padding-left: 1.2rem; list-style: disc; }
.prose ::marker { color: var(--volt); }
.prose a { color: var(--s-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font: 600 .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: .12em .4em; border-radius: 6px; background: var(--card); color: var(--s-fg); }

/* 10. Mapa realizacji ----------------------------------------------------- */
.mapbox { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); height: clamp(540px, 76vh, 700px); border-radius: var(--r-card); overflow: hidden; background: #0b0b0c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.map-stage { position: relative; min-height: 0; overflow: hidden; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; --k: 1; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.map-svg.is-dragging { cursor: grabbing; }
.map-svg.is-dragging .pin { pointer-events: none; }
.map-land path { fill: #18181a; stroke: #0b0b0c; stroke-width: calc(var(--k) * 1.2px); stroke-linejoin: round; transition: fill .6s var(--ease); }
.map-land path.is-on { fill: #2b2b2e; }
.map-cl text { font: 700 11px var(--font); letter-spacing: .14em; text-transform: uppercase; text-anchor: middle; fill: rgba(255, 255, 255, .3); pointer-events: none; }
.map-edge { fill: none; stroke: rgba(242, 85, 0, .55); stroke-width: calc(var(--k) * 1.4px); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mapbox.is-live .map-edge { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-out) calc(.25s + var(--depth, 0) * .16s); }
.map-flow { fill: none; stroke: var(--volt-glow); stroke-width: calc(var(--k) * 2.4px); stroke-linecap: round; stroke-dasharray: 0 calc(var(--k) * 22px); opacity: 0; animation: flow 1.8s linear infinite; }
.mapbox.is-live .map-flow { opacity: .9; transition: opacity 1s var(--ease) 1.6s; }
@keyframes flow { to { stroke-dashoffset: calc(var(--k) * -22px); } }
.pin { cursor: pointer; }
.pin-in { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.mapbox.is-live .pin-in { transform: none; opacity: 1; transition: transform .8s var(--ease-out) calc(.15s + var(--n, 0) * 70ms), opacity .4s calc(.15s + var(--n, 0) * 70ms); }
.pin-hit { fill: transparent; }
.pin-halo { fill: var(--volt); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin-dot { fill: var(--volt); stroke: #0b0b0c; stroke-width: 2.5; transition: r .3s var(--ease-out), fill .3s; }
.pin.is-approx .pin-dot { fill: #0b0b0c; stroke: var(--volt); stroke-width: 2; }
.pin.is-active .pin-dot { fill: #fff; stroke: var(--volt); stroke-width: 3; }
.pin.is-active .pin-halo { animation: halo 2s var(--ease-out) infinite; }
@keyframes halo { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
.pin-label { font: 600 13px var(--font); fill: #f5f5f7; paint-order: stroke; stroke: #0b0b0c; stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.pin.is-active .pin-label, .pin.is-hover .pin-label { opacity: 1; }
.pin.is-off, .map-edge.is-off { display: none; }
.map-reset { position: absolute; left: 14px; bottom: 14px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--on-night); background: rgba(40, 40, 42, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); animation: pop .4s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.map-zoom { position: absolute; right: 14px; bottom: 14px; display: grid; border-radius: 14px; overflow: hidden; background: rgba(40, 40, 42, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--on-night); }
.map-zoom button { display: grid; place-items: center; width: 40px; height: 40px; transition: background-color .2s var(--ease); }
.map-zoom button + button { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.map-zoom button:disabled { color: rgba(245, 245, 247, .3); cursor: default; }
.map-zoom .i { width: 18px; height: 18px; stroke-width: 2.2; }
.map-zoom button:focus-visible { outline-offset: -3px; }
@media (hover: hover) { .map-zoom button:not(:disabled):hover { background: rgba(255, 255, 255, .12); } }

.map-side { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--night-line); }
.map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.map-count { font-size: .875rem; font-weight: 600; color: var(--on-night-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.map-list { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 8px 8px; scrollbar-width: thin; scrollbar-color: #3a3a3c transparent; }
.map-item { border-radius: 18px; transition: background-color .35s var(--ease); }
.map-item + .map-item { margin-top: 2px; }
.map-item.is-off { display: none; }
.map-item-btn { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 18px; }
.map-item-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 650; font-size: 1.0625rem; line-height: 1.25; }
.map-item-place { font-size: .875rem; color: var(--on-night-3); text-align: right; flex: none; max-width: 48%; }
.map-item-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.map-item-body > div { overflow: hidden; min-height: 0; padding-inline: 14px; }
.map-item-body p { color: var(--on-night-2); font-size: .9375rem; line-height: 1.45; }
.map-item-body .map-item-scope { color: var(--on-night); font-weight: 600; margin-bottom: .3rem; }
.map-item-body .facts { margin: .9rem 0 1rem; }
.map-item-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: .9rem; }
.map-item.is-active { background: var(--night-card-2); }
.map-item.is-active .map-item-body, .no-js .map-item-body { grid-template-rows: 1fr; }
@media (hover: hover) { .map-item:not(.is-active) .map-item-btn:hover { background: rgba(255, 255, 255, .05); } }
.no-js .map-stage, .no-js .map-head { display: none; }
.no-js .mapbox { display: block; height: auto; }

@media (max-width: 899px) {
  .mapbox { display: block; height: auto; }
  .map-stage { aspect-ratio: 1 / 1; max-height: 64svh; width: 100%; }
  .map-side { border-left: 0; border-top: 1px solid var(--night-line); }
  .map-head { padding: 14px 14px 10px; flex-wrap: nowrap; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -4px -14px -4px -14px; padding: 4px 14px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .map-count { padding-left: 4px; }
  .map-list { display: flex; gap: 10px; overflow: auto hidden; scroll-snap-type: x mandatory; padding: 4px 14px 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .map-list::-webkit-scrollbar { display: none; }
  .map-item { flex: 0 0 min(86%, 340px); scroll-snap-align: center; background: var(--night-card); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: box-shadow .35s var(--ease), background-color .35s var(--ease); }
  .map-item + .map-item { margin-top: 0; }
  .map-item.is-active { box-shadow: inset 0 0 0 1.5px var(--volt); }
  .map-item-btn { flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 16px 8px; }
  .map-item-place { text-align: left; max-width: none; }
  .map-item-body { grid-template-rows: 1fr; }
  .map-item-body > div { padding-inline: 16px; }
}

/* 11. Formularz ----------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-side { display: grid; justify-items: start; gap: .35rem; position: sticky; top: calc(var(--bar-h) + 32px); }
.contact-big { margin-top: .75rem; font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-mail { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); font-weight: 600; color: var(--s-accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-note { margin: 1.5rem 0 .75rem; color: var(--s-fg2); max-width: 30rem; }
@media (hover: hover) { .contact-big:hover { color: var(--s-accent); } }
@media (max-width: 899px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact-side { position: static; } }

.form { padding: clamp(1.25rem, .8rem + 2vw, 2.5rem); }
.form-fields { display: grid; gap: 1.15rem; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1rem; }
@media (max-width: 599px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.form-topic legend, .field > label:not(.check), .field > legend { display: block; margin-bottom: .45rem; padding: 0; font-size: .9375rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--s-fg2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  display: block; width: 100%; min-height: 52px; padding: .8rem 1rem; border: 0; border-radius: var(--r-field); background: var(--field); color: var(--s-fg);
  font-size: 1.0625rem; line-height: 1.4; box-shadow: inset 0 0 0 1px var(--s-line); appearance: none; -webkit-appearance: none;
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field ::placeholder { color: #8e8e93; opacity: 1; }
@media (hover: hover) { .field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--s-line-strong); } }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--s-fg); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--danger); }
.field.is-valid input { box-shadow: inset 0 0 0 1px var(--s-line-strong); }
.hint { margin-top: .45rem; font-size: .875rem; color: var(--s-fg2); }
.error { display: flex; align-items: flex-start; gap: .4em; margin-top: .45rem; font-size: .875rem; font-weight: 600; color: var(--danger); animation: nudge .4s var(--ease-out); }
.error .i { margin-top: .1em; }
@keyframes nudge { from { opacity: 0; transform: translateY(-4px); } }
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em; border-radius: 999px; font-size: .9375rem; font-weight: 600; background: var(--field); box-shadow: inset 0 0 0 1px var(--s-line); transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .25s var(--ease-out); }
.pick input:checked + span { background: var(--s-fg); color: var(--s-bg); box-shadow: none; }
.pick input:active + span { transform: scale(.96); }
.pick input:focus-visible + span { outline: 2px solid var(--s-focus); outline-offset: 3px; }
@media (hover: hover) { .pick input:not(:checked):hover + span { box-shadow: inset 0 0 0 1px var(--s-line-strong); } }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .75rem; align-items: start; position: relative; cursor: pointer; font-size: .9375rem; line-height: 1.45; color: var(--s-fg2); }
.check input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.check-box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--field); box-shadow: inset 0 0 0 1.5px var(--s-line-strong); color: transparent; transition: background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s; }
.check-box .i { width: 16px; height: 16px; stroke-width: 2.6; }
.check input:checked + .check-box { background: var(--volt); box-shadow: none; color: #000; }
.check input:focus-visible + .check-box { outline: 2px solid var(--s-focus); outline-offset: 3px; }
.field.is-invalid .check-box { box-shadow: inset 0 0 0 2px var(--danger); }
.check a { color: var(--s-fg); text-decoration: underline; text-underline-offset: 3px; }
.field input:-webkit-autofill, .field input:-webkit-autofill:focus { -webkit-text-fill-color: var(--s-fg); caret-color: var(--s-fg); box-shadow: inset 0 0 0 1px var(--s-line-strong), inset 0 0 0 100px var(--field); }
.form-more-btn { display: none; }
.form-more-in { display: grid; gap: 1.15rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-draft { display: flex; flex-wrap: wrap; gap: .3em .8em; align-items: center; padding: .7rem 1rem; border-radius: var(--r-field); background: var(--tag-volt-bg); color: var(--tag-volt-fg); font-size: .9375rem; font-weight: 600; }
.form-draft button { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: .35rem; }
.form-status { flex: 1 1 14rem; font-size: .9375rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .25); border-top-color: #000; animation: spin .7s linear infinite; }
.btn.is-busy .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { display: grid; justify-items: center; text-align: center; gap: .6rem; padding: clamp(2rem, 6vw, 4rem) 0; outline: none; }
.form-done p { color: var(--s-fg2); }
.form-done .btn { margin-top: 1rem; }
.done-mark { width: 72px; height: 72px; margin-bottom: .75rem; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke: var(--volt); stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw .8s var(--ease-out) .1s forwards; transform: rotate(-90deg); transform-origin: center; }
.done-mark path { stroke: var(--s-fg); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 599px) {
  /* telefon: mniej przewijania. Pola opcjonalne chowają się pod jednym przyciskiem, odstępy i pola są niższe. */
  .form { padding: 1.15rem 1rem 1.25rem; }
  .form-fields, .form-more-in { gap: .9rem; }
  .form .row { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .form-topic legend, .field > label:not(.check), .field > legend { margin-bottom: .35rem; }
  .field input[type="text"], .field input[type="tel"], .field input[type="email"] { min-height: 48px; padding: .65rem .9rem; }
  .field textarea { min-height: 92px; padding: .7rem .9rem; }
  .pick span { min-height: 40px; padding: 0 .95em; }
  /* ujemny margines zjada odstęp po zwiniętym (pustym) wierszu pól dodatkowych */
  .form-more-btn:not([hidden]) { align-self: start; margin-bottom: -.9rem; display: inline-flex; align-items: center; justify-content: center; gap: .45em; width: 100%; min-height: 46px; padding: 0 1em; border-radius: var(--r-field); font-size: .9375rem; font-weight: 600; color: var(--s-fg); box-shadow: inset 0 0 0 1px var(--s-line); background: transparent; }
  .form-more-btn .i { color: var(--s-accent); stroke-width: 2.2; }
  .js .form-more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease-out); }
  .js .form-more > .form-more-in { min-height: 0; overflow: hidden; }
  .js .form-more.is-collapsed { grid-template-rows: 0fr; }
  .js .form-more.is-open > .form-more-in { overflow: visible; }
  .form-submit { flex-direction: column; align-items: stretch; gap: .75rem; text-align: center; margin-top: .15rem; }
  .form-submit .btn { width: 100%; }
  .form-status { flex: none; }
  .contact-note { margin-top: 1.1rem; }
}

/* 12. Stopka, dock, powiadomienie ----------------------------------------- */
.site-footer { padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem; border-top: 1px solid var(--night-line); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; color: var(--on-night-2); }
.footer-col h2 { margin-bottom: .9rem; font-size: .8125rem; font-weight: 600; color: var(--on-night-3); }
.footer-col ul { display: grid; gap: .1rem; }
.footer-col a { display: inline-block; padding: .3rem 0; color: var(--on-night); transition: color .2s; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--night-line); color: var(--on-night-3); font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.footer-bottom a { display: inline-flex; align-items: center; gap: .4em; padding: .35rem 0; color: var(--on-night-2); transition: color .2s; }
@media (hover: hover) { .footer-col a:hover, .footer-bottom a:hover { color: var(--volt); } }
@media (max-width: 899px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.dock {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; grid-template-columns: auto minmax(0, 1fr); gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(29, 29, 31, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 36px rgba(0, 0, 0, .34);
  transform: translateY(calc(100% + 28px + env(safe-area-inset-bottom))); transition: transform .6s var(--ease-out); color: var(--on-night); --s-focus: #fff;
}
.dock.is-on { transform: none; }
.dock-call { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px; padding: 0 1.2em; border-radius: 999px; font-weight: 600; background: rgba(255, 255, 255, .12); white-space: nowrap; }
.dock .btn { min-width: 0; }
@media (max-width: 767px) {
  .dock { display: grid; }
  body:has(.dock) .site-footer { padding-bottom: calc(2rem + 76px + env(safe-area-inset-bottom)); }
}
.menu-open .dock { transform: translateY(calc(100% + 28px + env(safe-area-inset-bottom))); }

.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); padding: .75rem 1.2rem; border-radius: 999px; background: #f5f5f7; color: #000; font-size: .9375rem; font-weight: 600; box-shadow: 0 10px 34px rgba(0, 0, 0, .3); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .3s var(--ease), transform .5s var(--ease-out); font-variant-numeric: tabular-nums; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .toast { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* 13. Ruch ---------------------------------------------------------------- */
/* ekran startowy: piorun rysuje się, zapala i odsłania stronę (tylko pierwsze wejście w sesji) */
.boot { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; align-content: center; gap: 22px; background: #000; color: #f5f5f7; }
.is-booting .boot { display: grid; animation: boot-failsafe .01s linear 4.2s forwards; }
.boot-bolt { width: clamp(54px, 9vw, 76px); height: auto; overflow: visible; }
.boot-bolt-line { fill: none; stroke: var(--volt); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: bolt-draw .78s var(--ease) .05s forwards; }
.boot-bolt-fill { fill: var(--volt); opacity: 0; animation: bolt-fill .5s var(--ease-out) .72s forwards; }
.boot-flash { position: absolute; inset: 0; background: radial-gradient(40% 36% at 50% 46%, rgba(255, 177, 92, .5), rgba(242, 85, 0, .16) 45%, transparent 72%); opacity: 0; animation: bolt-flash .9s var(--ease-out) .7s forwards; }
.boot-name { font-size: 1.3125rem; font-weight: 800; letter-spacing: -.02em; opacity: 0; transform: translateY(8px); animation: boot-name .6s var(--ease-out) .5s forwards; }
.boot.is-leaving { opacity: 0; transition: opacity .55s var(--ease); pointer-events: none; }
.boot.is-leaving .boot-bolt { transform: scale(1.5); opacity: 0; transition: transform .6s var(--ease), opacity .45s; }
@keyframes bolt-draw { to { stroke-dashoffset: 0; } }
@keyframes bolt-fill { 0% { opacity: 0; } 35% { opacity: 1; filter: drop-shadow(0 0 26px rgba(255, 150, 60, .95)) brightness(1.5); } 100% { opacity: 1; filter: drop-shadow(0 0 12px rgba(242, 85, 0, .55)); } }
@keyframes bolt-flash { 0% { opacity: 0; } 22% { opacity: 1; } 100% { opacity: .35; } }
@keyframes boot-name { to { opacity: 1; transform: none; } }
@keyframes boot-failsafe { to { visibility: hidden; } }
.is-booting body { overflow: hidden; }

/* wejścia: nagłówki słowo po słowie, bloki z dołu. Stan ukryty tylko gdy działa JS. */
span.split { display: block; }
.split .w { display: inline-block; overflow: clip; overflow-clip-margin: .02em; vertical-align: top; padding: .1em .04em .16em; margin: -.1em -.04em -.16em; }
.split .w > span { display: inline-block; will-change: transform; }
.js .split .w > span { transform: translateY(112%); }
.js .split.in .w > span { transform: none; transition: transform 1.1s var(--ease-out) calc(var(--i) * 55ms + 60ms); }
.js .rise, .js .reveal, .js .stagger > * { opacity: 0; transform: translate3d(0, 26px, 0); }
.js .rise.in, .js .reveal.in, .js .stagger.in > * { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) calc(var(--d, 0) * 90ms), transform 1.1s var(--ease-out) calc(var(--d, 0) * 90ms); }
.js .stagger.in > :nth-child(2) { --d: 1; } .js .stagger.in > :nth-child(3) { --d: 2; } .js .stagger.in > :nth-child(4) { --d: 3; }
.js .stagger.in > :nth-child(5) { --d: 1; } .js .stagger.in > :nth-child(6) { --d: 2; } .js .stagger.in > :nth-child(n+7) { --d: 1; }
.js .stagger.done > *, .js .reveal.done { transition: transform .5s var(--ease-out), background-color .3s var(--ease); }
.js .svc.card { will-change: auto; }
/* bezpiecznik: gdyby skrypt się nie wczytał, po chwili pokazujemy wszystko bez animacji */
.no-anim .split .w > span, .no-anim .rise, .no-anim .reveal, .no-anim .stagger > * { opacity: 1 !important; transform: none !important; }
.no-anim .lit .lw, .no-anim .step .h-step { color: var(--s-fg) !important; }
.no-anim .boot { display: none !important; }

/* przejścia między podstronami */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
::view-transition-group(site-header) { z-index: 10; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .js .split .w > span, .js .rise, .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js .lit .lw, .js .step:not(.is-on) .h-step { color: var(--s-fg); }
  .marquee-track { animation: none !important; }
  .art * { animation: none !important; }
  .cta-glow, .dot::after { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* 14. Motyw ciemny -------------------------------------------------------- */
:root[data-theme="dark"] {
  --bg: #0a0a0b; --bg-soft: #131314; --card: #1a1a1c; --card-on-soft: #1f1f21; --card-hover: #222224;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --line: #2e2e30; --line-strong: #6e6e73; --field: #232325;
  --volt-deep: #ff7a33; --danger: #ff8a7a; --tag-volt-bg: rgba(242, 85, 0, .2); --tag-volt-fg: #ff9a5c;
  color-scheme: dark;
}
:root[data-theme="dark"] .tone-light, :root[data-theme="dark"] .tone-soft {
  --s-tag: rgba(255, 255, 255, .1); --s-art-line: #f5f5f7; --s-art-soft: #48484a; --s-art-dim: #2c2c2e; --s-art-panel: #232325; --s-focus: #fff;
}
:root[data-theme="dark"] .tone-light .job-meta li, :root[data-theme="dark"] .tone-light .proj .tag:not(.tag--volt), :root[data-theme="dark"] .tone-light .proj .facts li { background: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .seg--light { background: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .seg--light button { color: var(--on-night-2); }
:root[data-theme="dark"] .seg--light button[aria-pressed="true"] { color: #000; }
:root[data-theme="dark"] .seg--light .seg-thumb { background: #f5f5f7; }
:root[data-theme="dark"] .field ::placeholder { color: #8e8e93; }

/* 15. Druk ---------------------------------------------------------------- */
@media print {
  .site-header, .menu, .dock, .boot, .toast, .wave, .marquee, .hero-glow, .cta-glow, .map-stage { display: none !important; }
  .js .split .w > span, .js .rise, .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; }
  .js .lit .lw { color: inherit !important; }
  .tone-night, .tone-soft, .tone-light { background: #fff !important; color: #000 !important; --s-fg: #000; --s-fg2: #333; }
  .hero, .page-head { padding-top: 1rem; }
}
