@import url("../fonts/czcionki.css");

/* ==========================================================================
   SMOLTECH UA — design system
   ========================================================================== */

:root {
  /* brand — z logo SMOLTECH */
  --brand: #d10a11;
  --brand-600: #b40a10;
  --brand-300: #e2242b;
  --heat-1: #d10a11;
  --heat-2: #f2a0a3;

  /* surfaces — biel + popiel (jasna strona) */
  --ink: #f4f4f5;
  --ink-2: #ffffff;
  --ink-3: #ebebec;
  --ink-4: #e0e1e3;
  --graphite: #575656;
  --paper: #ffffff;
  --paper-2: #f4f4f5;
  --paper-3: #e8e9eb;

  /* text — czerń tylko jako kontrast */
  --tx-hi: #161616;
  --tx: #3d3e40;
  --tx-dim: #6a6b6d;
  --tx-ink: #161616;
  --tx-ink-2: #5a5b5d;

  /* lines — popiel */
  --line-d: rgba(87, 86, 86, .14);
  --line-d-2: rgba(87, 86, 86, .24);
  --line-l: rgba(87, 86, 86, .12);
  --line-l-2: rgba(87, 86, 86, .2);

  /* type — 4 role: nagłówek / podnagłówek / treść / treść mała
     (--t-stat = liczby w pasku, nie szablon redakcyjny) */
  --f-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --t-head: clamp(1.7rem, 1.05rem + 1.9vw, 2.35rem);
  --t-sub: clamp(1.08rem, .7rem + .65vw, 1.28rem);
  --t-body: clamp(1rem, .78rem + .42vw, 1.125rem);
  --t-small: clamp(.75rem, .68rem + .16vw, .8125rem);
  --t-stat: clamp(1.45rem, 1.15rem + 1.5vw, 2.25rem);
  --t-hero: var(--t-head);
  --t-lede: var(--t-body);
  --t-kicker: var(--t-small);
  --t-eyebrow: var(--t-small);
  --t-ui: var(--t-small);

  /* metrics */
  --wrap: 1280px;
  --wrap-tight: 940px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --hdr: 96px;
  --topbar: 44px;
  --tap: 44px;
  --mbar-h: 0px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  /* effects */
  --sh-1: 0 1px 2px rgba(22, 22, 22, .04), 0 10px 28px -14px rgba(22, 22, 22, .12);
  --sh-2: 0 22px 50px -28px rgba(22, 22, 22, .18);
  --sh-red: 0 16px 36px -16px rgba(209, 10, 17, .42);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  scroll-behavior: smooth;
}
a, button, summary, label, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx-ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1, "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
body.is-locked { overflow: hidden; }

img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.12; letter-spacing: -.022em; }
h1, h2 { font-size: var(--t-head); }
h3, h4, h5 { font-size: var(--t-sub); }
p { margin: 0; font-size: var(--t-body); }
hr { border: 0; border-top: 1px solid var(--line-l); margin: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--brand); color: #fff; }

/* ---------- utility ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gut), var(--safe-l));
  padding-right: max(var(--gut), var(--safe-r));
}
.wrap-tight { max-width: var(--wrap-tight); }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--brand); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700; transition: top .18s var(--ease);
}
.skip:focus { top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--f-body); font-size: var(--t-eyebrow); font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--brand);
  line-height: 1.3;
}
.eyebrow::before { content: ""; width: 28px; height: 2.5px; background: currentColor; }
.on-dark .eyebrow, .sec-dark .eyebrow, .sec-dark-2 .eyebrow, .hero .eyebrow { color: var(--brand); }
.hero .eyebrow::before,
main > section:first-of-type .eyebrow::before { width: 36px; height: 3px; }
.hero .eyebrow {
  padding: .32em .72em .32em .62em;
  margin-inline-start: -.35em;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: 0 10px 28px -18px rgba(22, 22, 22, .55);
}

.h-xl, .h-lg, .h-md, .h-sm { font-size: var(--t-head); }

.lead { font-size: var(--t-body); color: var(--tx-ink-2); }
.sec-dark .lead, .sec-dark-2 .lead, .on-dark .lead { color: var(--tx); }
.muted { color: var(--tx-ink-2); }
.sec-dark .muted, .sec-dark-2 .muted { color: var(--tx-dim); }

.t-head, [data-st-type="head"] {
  font-size: var(--t-head) !important;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.022em;
}
.t-sub, [data-st-type="sub"] {
  font-size: var(--t-sub) !important;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.t-body, [data-st-type="body"] {
  font-size: var(--t-body) !important;
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0;
}
.t-small, [data-st-type="small"] {
  font-size: var(--t-small) !important;
  font-family: var(--f-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.hi { color: var(--brand); }
.grad-text {
  background: linear-gradient(96deg, var(--brand-600), var(--brand) 48%, var(--brand-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(2rem, 3.6vw, 3.2rem); position: relative; }
.sec-tight { padding-block: clamp(1.5rem, 2.8vw, 2.4rem); }
.sec + .sec { padding-top: clamp(1.15rem, 2.2vw, 1.75rem); }
.hero + .sec { padding-top: clamp(1.35rem, 2.5vw, 2rem); }
.sec-paper { background: var(--paper); }
.sec-paper-2 { background: var(--paper-2); }
.sec-dark { background: var(--paper-2); color: var(--tx); }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: var(--tx-hi); }
.sec-dark-2 { background: var(--paper-3); color: var(--tx); }
.sec-dark-2 h1, .sec-dark-2 h2, .sec-dark-2 h3, .sec-dark-2 h4 { color: var(--tx-hi); }

.sec-head { max-width: 62ch; margin-bottom: clamp(1.15rem, 2.2vw, 1.85rem); }
.sec-head > * + * { margin-top: 1rem; }
.sec-head-wide { max-width: 78ch; }
.sec-head--follow { margin-top: clamp(1.35rem, 2.6vw, 2rem); }
main > section:first-of-type:not(.hero) .sec-head > * + * { margin-top: .55rem; }
main > section:first-of-type:not(.hero) .sec-head h1 {
  font-size: var(--t-hero);
  line-height: 1.18;
  letter-spacing: -.02em;
}
main > section:first-of-type:not(.hero) .sec-head .lead { font-size: var(--t-lede); }
main > section:first-of-type:not(.hero) .prose > h1 {
  font-size: var(--t-hero);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, var(--line-d) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-d) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.55rem; border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-size: var(--t-small); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-red); background: var(--brand-600); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--tx-ink); border-color: var(--line-d-2); }
.btn-ghost:hover { background: rgba(87, 86, 86, .06); border-color: var(--graphite); box-shadow: none; }
.hero .btn-ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .42); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .62); box-shadow: none; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--tx-ink); border-color: var(--line-l-2); }
.btn-outline:hover { background: var(--tx-ink); color: #fff; border-color: var(--tx-ink); box-shadow: var(--sh-1); }
.btn-sm { padding: .68rem 1.15rem; font-size: .78rem; }
.btn-lg { padding: 1.08rem 1.9rem; font-size: .92rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .84rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand);
}
.arrow-link svg { width: 1.15em; height: 1.15em; transition: transform .22s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.sec-dark .arrow-link, .sec-dark-2 .arrow-link { color: var(--brand); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--ink-2); color: var(--tx-dim);
  font-size: var(--t-small); border-bottom: 1px solid var(--line-d);
  line-height: 1.25;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: .85rem; min-height: 44px; min-width: 0; flex-wrap: nowrap;
}
.topbar__list {
  display: flex; align-items: center; gap: 1rem; list-style: none;
  flex: 1 1 auto; min-width: 0; flex-wrap: nowrap;
}
.topbar__list li,
.topbar__list a {
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
}
.topbar__list a { display: inline-flex; align-items: center; gap: .45rem; transition: color .18s var(--ease); }
.topbar__list a:hover { color: var(--tx-hi); }
.topbar svg { width: 15px; height: 15px; flex: none; color: var(--brand); }
.topbar__end { display: flex; align-items: center; gap: .75rem; flex: none; margin-left: auto; }
@media (max-width: 1240px) { .topbar__addr { display: none; } }
.topbar__social { display: flex; align-items: center; gap: .45rem; }
.topbar__social a {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  transition: transform .18s var(--ease), filter .18s var(--ease), opacity .18s var(--ease);
}
.topbar__social a:hover { transform: scale(1.08); filter: brightness(1.08); }
.topbar .topbar__social svg { width: 21px; height: 21px; color: inherit; }
.topbar__social-yt { color: #fff; background: #ff0000; }
.topbar__social-ig {
  color: #fff;
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 8%, #fd5949 42%, #d6249f 62%, #285aeb 90%);
}
@media (max-width: 900px) { .topbar { display: none; } }

.lang {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .2rem .28rem; flex: none;
  background: var(--paper-2);
  border: 1px solid var(--line-d);
  border-radius: 999px;
}
.lang__btn {
  width: 22px; height: 22px; padding: 0; cursor: pointer;
  border-radius: 50%; overflow: hidden;
  border: 0;
  background: transparent;
  display: grid; place-items: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.lang__btn svg {
  width: 100%; height: 100%; display: block; pointer-events: none;
  object-fit: cover;
}
.lang__btn:hover, .lang__btn:focus-visible { transform: scale(1.07); }
.lang__btn.is-active {
  box-shadow: 0 0 0 1.5px var(--brand), 0 0 0 3px rgba(209, 10, 17, .28);
}
.lang--hdr { margin-right: .1rem; }
.lang--drawer .lang__btn { width: 32px; height: 32px; }
@media (min-width: 901px) { .lang--hdr { display: none; } }
@media (max-width: 900px) {
  .lang { gap: .4rem; padding: .2rem .24rem; }
  .lang__btn { width: 28px; height: 28px; }
  .lang__btn.is-active {
    box-shadow: 0 0 0 1.5px var(--brand), 0 0 0 3.5px rgba(209, 10, 17, .28);
  }
}
@media (max-width: 420px) {
  .lang__btn { width: 26px; height: 26px; }
  .hdr__in { gap: .5rem; }
}

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 3px solid var(--brand);
  overflow: visible;
  padding-top: var(--safe-t);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.hdr.is-stuck {
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 12px 30px -18px rgba(22, 22, 22, .2);
}
.hdr__in {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--hdr); min-width: 0;
  position: relative;
}

.brand {
  display: flex; align-items: center;
  flex: none;
  padding: .2rem 0;
  position: relative;
  z-index: 2;
}
.brand__logo {
  display: block;
  height: 68px;
  width: auto;
  max-width: min(148px, 42vw);
  flex: none;
  object-fit: contain;
  object-position: left center;
}
.hdr .brand__logo,
.drawer .brand__logo {
  height: 80px;
  max-width: min(176px, 48vw);
}
@media (max-width: 560px) {
  .hdr .brand__logo,
  .drawer .brand__logo { height: 64px; max-width: min(142px, 52vw); }
}

.nav {
  display: flex;
  align-items: center;
  min-width: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.nav__list { display: flex; align-items: center; gap: .05rem; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .32rem;
  padding: .7rem .5rem; border-radius: var(--r-sm);
  color: var(--tx); font-size: .76rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item.is-open > .nav__link { color: var(--tx-ink); background: rgba(209, 10, 17, .06); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--tx-ink); }
.nav__item.is-active > .nav__link::after {
  content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .34rem; height: 2px; background: var(--brand);
}
.nav__item { position: relative; }
.nav__caret { width: 11px; height: 11px; transition: transform .2s var(--ease); opacity: .65; }
.nav__item:hover .nav__caret, .nav__item.is-open .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 90;
  min-width: min(380px, calc(100vw - 2 * var(--gut))); padding: .55rem;
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r);
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  list-style: none;
}
.mega--wide { min-width: min(460px, calc(100vw - 2 * var(--gut))); }
.mega__fly { position: relative; }
.mega__fly > a { align-items: center; }
.mega__fly > a > span:not(.mega__ico) { flex: 1; min-width: 0; }
.mega__chev--side {
  flex: none; width: 14px; height: 14px; margin-left: auto; opacity: .55;
  align-self: center;
}
.mega--flyout {
  top: 0;
  left: calc(100% + 4px);
  min-width: min(340px, calc(100vw - 2 * var(--gut)));
  transform: translateX(-8px);
  z-index: 91;
}
.mega--flyout::before {
  content: "";
  position: absolute;
  left: -12px; top: 0; bottom: 0; width: 12px;
}
.mega__fly:hover > .mega--flyout,
.mega__fly:focus-within > .mega--flyout,
.mega__fly.is-open > .mega--flyout {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.mega--flyout a {
  align-items: flex-start;
  gap: .7rem;
  padding: .55rem .8rem;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tx-ink);
}
.mega--flyout a::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: .48em;
  border-radius: 50%;
  background: var(--brand);
}
.mega__nest {
  list-style: none; margin: 0 0 .2rem .7rem; padding: 0 0 0 .55rem;
  border-left: 1px solid var(--line-d);
}
.mega__nest a {
  padding: .28rem .5rem; font-size: .76rem; color: var(--tx-dim);
}
.mega__nest a:hover { color: var(--brand); }
.nav__item:hover > .mega, .nav__item:focus-within > .mega, .nav__item.is-open > .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega a {
  display: flex; gap: .85rem; padding: .8rem .9rem; border-radius: var(--r-sm);
  transition: background .16s var(--ease);
}
.mega a:hover { background: rgba(209, 10, 17, .05); }
.mega__ico {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(150deg, rgba(209, 10, 17, .12), rgba(87, 86, 86, .06));
  border: 1px solid var(--line-d); color: var(--brand);
}
.mega__ico svg { width: 17px; height: 17px; }
.mega__ico--mark {
  background: #fff;
  border-color: rgba(10, 12, 16, .08);
  overflow: hidden;
  padding: 3px;
}
.mega__ico--mark img {
  display: block; width: 100%; height: 100%;
  object-fit: contain;
}
.mega__tt { display: block; color: var(--tx-hi); font-weight: 700; font-size: .93rem; line-height: 1.35; }
.mega__ds { display: block; color: var(--tx-dim); font-size: .795rem; line-height: 1.45; margin-top: .18rem; }

.hdr__cta { display: flex; align-items: center; gap: .6rem; flex: none; margin-left: auto; position: relative; z-index: 2; }

.burger {
  display: none; width: var(--tap); height: var(--tap); flex: none; align-items: center; justify-content: center;
  gap: 5px; flex-direction: column; background: transparent;
  border: 1px solid var(--line-d-2); border-radius: var(--r-sm); cursor: pointer;
  touch-action: manipulation;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--tx-hi); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1440px) {
  .hdr__in { gap: 1.4rem; }
  .nav__link { padding: .72rem .72rem; font-size: .8rem; letter-spacing: .06em; }
  .nav__item.is-active > .nav__link::after { left: .72rem; right: .72rem; }
}

/* Long UA labels overflow the wrap below ~1280px — collapse before they clip. */
@media (max-width: 1279px) {
  .nav { display: none; }
  .hdr__cta .btn { display: none; }
  .burger { display: flex; }
  .hdr { overflow-x: clip; }
}

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink); color: var(--tx);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s var(--ease);
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gut); border-bottom: 1px solid var(--line-d); min-height: var(--hdr);
}
.drawer__tools { display: flex; align-items: center; gap: .55rem; flex: none; }
.drawer__close {
  width: 42px; height: 42px; display: grid; place-items: center; background: transparent;
  border: 1px solid var(--line-d-2); border-radius: var(--r-sm); cursor: pointer;
}
.drawer__close svg { width: 18px; height: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem var(--gut) 2rem; -webkit-overflow-scrolling: touch; }
.drawer__list { list-style: none; }
.drawer__list > li { border-bottom: 1px solid var(--line-d); }
.drawer__link, .drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
  padding: 1.05rem 0; background: transparent; border: 0; text-align: left; cursor: pointer;
  font-family: var(--f-display); font-size: 1.06rem; font-weight: 800; color: var(--tx-hi);
  letter-spacing: -.01em;
}
.drawer__toggle svg { width: 16px; height: 16px; flex: none; color: var(--brand); transition: transform .22s var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.drawer__sub { list-style: none; overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.drawer__sub.is-open { max-height: 1200px; }
.drawer__sub a {
  display: block; padding: .68rem 0 .68rem 1rem; color: var(--tx);
  font-size: .95rem; border-left: 2px solid var(--line-d-2);
}
.drawer__sub li:last-child a { margin-bottom: .8rem; }
.drawer__sub a:hover { color: var(--brand); border-color: var(--brand); }
.drawer__sub a.drawer__deep {
  padding-left: 1.85rem; font-size: .86rem; color: var(--tx-dim);
}
.drawer__toggle--nested {
  padding: .72rem 0 .72rem 1rem; font-size: .95rem; font-weight: 700;
  border-left: 2px solid var(--line-d-2); color: var(--tx);
}
.drawer__sub--nested { margin-left: .35rem; }
.drawer__sub--nested a { padding-left: 1.55rem; font-size: .9rem; }
.drawer__foot { display: grid; gap: .7rem; margin-top: 1.8rem; }
.drawer__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; font-size: .85rem; color: var(--tx-dim); }
.drawer__meta a { display: inline-flex; align-items: center; gap: .5rem; }
.drawer__meta svg { width: 15px; height: 15px; color: var(--brand); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: #0a0c10; color: rgba(255, 255, 255, .88); isolation: isolate; }
/* Homepage: first screen is always one viewport on desktop/laptop, so the spark
   sits on the bottom edge in both UK and EN regardless of copy length. */
.hero:not(.hero--page) {
  --hero-h: calc(100vh - var(--hdr) - 1px);
  --hero-h: calc(100svh - var(--hdr) - 1px);
  display: flex;
  flex-direction: column;
  min-height: var(--hero-h);
}
@media (min-width: 901px) {
  .hero:not(.hero--page) {
    --hero-h: calc(100vh - var(--topbar) - var(--hdr) - 1px);
    --hero-h: calc(100svh - var(--topbar) - var(--hdr) - 1px);
    height: var(--hero-h);
    min-height: var(--hero-h);
    max-height: var(--hero-h);
  }
  .hero:not(.hero--page) .hero__in {
    flex: 1 1 auto;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
  .hero:not(.hero--page) .hero__max {
    max-width: min(46rem, 100%);
    margin: 0;
    grid-row: 2;
  }
  .hero:not(.hero--page) .hero__below {
    grid-row: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
    padding-bottom: .15rem;
  }
  .hero:not(.hero--page) h1 {
    margin-block: .45rem .55rem;
    font-size: var(--t-hero);
  }
  .hero:not(.hero--page) .hero__sub {
    font-size: var(--t-lede);
  }
  .hero:not(.hero--page) .hero__btns { margin-top: 1.35rem; }
  .hero:not(.hero--page) .stats { margin: 0; flex-shrink: 0; }
}
@media (min-width: 901px) and (max-height: 860px) {
  .hero:not(.hero--page) .hero__in { padding-top: .35rem; padding-bottom: .35rem; }
  .hero:not(.hero--page) h1 {
    font-size: var(--t-hero);
    margin-block: .35rem .45rem;
  }
  .hero:not(.hero--page) .hero__sub { font-size: var(--t-lede); }
  .hero:not(.hero--page) .hero__btns { margin-top: .75rem; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero:not(.hero--page) {
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .hero:not(.hero--page) .hero__in {
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    padding-block: clamp(.8rem, 2.2vh, 1.4rem) clamp(1rem, 2.6vh, 1.6rem);
  }
  .hero:not(.hero--page) .hero__max,
  .hero:not(.hero--page) .hero__below { grid-row: auto; }
  .hero:not(.hero--page) .hero__below { margin-top: 1.15rem; }
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
img[data-st-crop] {
  object-fit: cover !important;
  object-position: var(--st-x, 50%) var(--st-y, 50%) !important;
  transform: scale(calc(var(--st-z, 1) * var(--st-hover, 1))) !important;
  transform-origin: var(--st-x, 50%) var(--st-y, 50%) !important;
}
picture:has(> img[data-st-crop]),
.logos__item:has(img[data-st-crop]),
.client-wall li:has(img[data-st-crop]),
.proof__media:has(img[data-st-crop]),
.about-intro__media:has(img[data-st-crop]),
.stud-partner__media:has(img[data-st-crop]) {
  overflow: hidden;
}
.hero__bg picture {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.hero__bg img {
  display: block;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}
.hero__video {
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
/* Darken video: opacity + dark plate (GPU-safe). Poster img only for reduced-motion. */
.hero--video .hero__bg {
  z-index: 0;
  background: #06070a;
  overflow: hidden;
}
.hero--video .hero__poster {
  display: none;
}
.hero--video.hero--still .hero__video { display: none; }
.hero--video.hero--still .hero__poster {
  display: block;
  z-index: 1;
  opacity: .92;
}
.hero--video.hero--still .hero__poster,
.hero--video.hero--still .hero__poster picture,
.hero--video.hero--still .hero__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero--video .hero__video {
  z-index: 1;
  opacity: .8;
  filter: none;
  -webkit-filter: none;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: none;
}
.hero--video .hero__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 85% 8%, rgba(209, 10, 17, .24), transparent 58%),
    radial-gradient(90% 70% at 8% 100%, rgba(255, 138, 0, .08), transparent 60%),
    linear-gradient(105deg, rgba(6, 7, 10, .35) 0%, rgba(6, 7, 10, .18) 45%, rgba(6, 7, 10, .11) 100%);
}
.hero--video::before { display: none; }
.hero--video .grid-lines { z-index: 1; opacity: .45; }
.hero--video .hero__in,
.hero--video .spark { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero--video .hero__video { display: none; }
  .hero--video .hero__poster {
    display: block;
    z-index: 1;
    opacity: .62;
  }
}
/* Phone: smaller title on the film, subcopy + buttons below. */
@media (max-width: 900px) {
  .hero--video {
    --film-h: min(22rem, 44svh);
    display: flex;
    flex-direction: column;
  }
  .hero.hero--video .hero__bg {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    max-width: 100%;
    height: var(--film-h);
    min-height: 14rem;
    overflow: hidden;
  }
  .hero--video .hero__video,
  .hero--video .hero__poster,
  .hero--video .hero__poster img,
  .hero--video .hero__dim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
  .hero--video .hero__video {
    object-fit: cover;
    object-position: 50% 38%;
    opacity: 1;
    min-width: 0;
    min-height: 0;
  }
  .hero--video .hero__dim {
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(6, 7, 10, .1) 0%, rgba(6, 7, 10, .18) 42%, rgba(6, 7, 10, .82) 100%);
  }
  .hero--video .grid-lines {
    display: none;
  }
  .hero.hero--video .hero__in {
    position: static;
    z-index: 2;
    margin-top: 0;
    padding-top: 1.15rem;
    padding-bottom: clamp(1.2rem, 4vw, 1.8rem);
    background: #0a0c10;
  }
  .hero.hero--video .hero__onfilm {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--film-h);
    z-index: 3;
    box-sizing: border-box;
    padding: .85rem max(var(--gut), var(--safe-l)) 1.15rem max(var(--gut), var(--safe-r));
    max-width: none;
  }
  .hero.hero--video .hero__onfilm .eyebrow {
    max-width: 100%;
    font-size: .68rem;
    letter-spacing: .08em;
    padding: .22em .58em .22em .5em;
  }
  .hero.hero--video .hero__onfilm h1 {
    font-size: clamp(1.02rem, .84rem + 1.9vw, 1.22rem);
    line-height: 1.22;
    letter-spacing: -.018em;
    margin-block: .22rem 0;
    font-weight: 800;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
  }
  .hero--video .hero__sub {
    margin-top: 0;
  }
  .hero--video .hero__btns {
    margin-top: .95rem;
  }
  .hero--video .hero__below .stats {
    margin-top: 1.15rem;
  }
  .hero--video .spark {
    flex: none;
  }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero--video {
    --film-h: min(12rem, 52vh);
  }
  .hero.hero--video .hero__in {
    margin-top: 0;
    padding-top: .85rem;
  }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 85% 8%, rgba(209, 10, 17, .28), transparent 58%),
    radial-gradient(90% 70% at 8% 100%, rgba(255, 138, 0, .10), transparent 60%),
    linear-gradient(100deg, rgba(10, 12, 16, .78) 0%, rgba(10, 12, 16, .45) 48%, rgba(10, 12, 16, .22) 100%);
}
.hero--page::before {
  background:
    radial-gradient(120% 80% at 88% 10%, rgba(209, 10, 17, .20), transparent 55%),
    linear-gradient(100deg, rgba(10, 12, 16, .70) 0%, rgba(10, 12, 16, .32) 50%, rgba(10, 12, 16, .12) 100%);
}
.hero__in { position: relative; padding-block: clamp(3.6rem, 9vw, 8rem); }
.hero--page .hero__in { padding-block: clamp(2.8rem, 6vw, 5.2rem); }
.hero--short .hero__in { padding-block: clamp(2.4rem, 4.6vw, 4rem); }
.hero__onfilm { display: contents; }
.hero__max { max-width: 60ch; }
.hero__max--center { max-width: 42rem; margin-inline: auto; text-align: center; }
.hero__max--center .hero__sub { margin-inline: auto; }
.hero--about::before {
  background:
    radial-gradient(90% 70% at 12% 18%, rgba(209, 10, 17, .22), transparent 55%),
    linear-gradient(100deg, rgba(10, 12, 16, .72) 0%, rgba(10, 12, 16, .38) 48%, rgba(10, 12, 16, .16) 100%);
}
.hero--about .hero__in { padding-block: clamp(4.2rem, 9vw, 7.2rem); }
.hero--about h1 { margin-block: .5rem .65rem; }
.hero--about .hero__bg img {
  object-position: 58% 36%;
}

/* Product / machine heroes: steel atmosphere + natural-size machine shot */
.hero--mach {
  min-height: clamp(22rem, 46vw, 30rem);
  background:
    radial-gradient(ellipse 78% 68% at 90% 12%, rgba(209, 10, 17, .36), transparent 56%),
    radial-gradient(ellipse 52% 48% at 6% 94%, rgba(255, 120, 20, .12), transparent 58%),
    radial-gradient(ellipse 42% 38% at 72% 62%, rgba(255, 255, 255, .04), transparent 62%),
    linear-gradient(148deg, #0a0d13 0%, #141a24 46%, #090b10 100%);
}
.hero--mach::before {
  background:
    linear-gradient(108deg, rgba(7, 9, 12, .35) 0%, transparent 58%);
}
.hero--mach .hero__in { z-index: 2; }
/* No stretched hall photo behind product heroes — atmosphere is CSS only */
.hero--mach .hero__bg {
  display: none;
}
.hero--mach .grid-lines {
  z-index: 0;
  opacity: .4;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 72% 68% at 72% 48%, #000 8%, transparent 74%);
}
.hero__in--mach {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: start;
}
@media (min-width: 860px) {
  .hero__in--mach {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
  .hero--mach .hero__max { max-width: 52ch; }
  .hero--mach.hero--short .hero__in,
  .hero--mach .hero__in { padding-block: clamp(2.6rem, 5.2vw, 4.6rem); }
  .hero__shot {
    justify-self: end;
    margin-top: clamp(.35rem, 1.2vw, 1.1rem);
  }
}
.hero__shot {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 28rem;
  justify-self: center;
}
.hero__shot::before {
  content: "";
  position: absolute;
  inset: 10% 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .20), rgba(209, 10, 17, .08) 42%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero__shot picture {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  inset: auto;
}
.hero__shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 28rem);
  max-height: clamp(210px, 40vh, 380px);
  object-fit: contain !important;
  object-position: center;
  filter:
    drop-shadow(0 26px 36px rgba(0, 0, 0, .55))
    drop-shadow(0 2px 0 rgba(255, 255, 255, .08));
}
/* Catalog studio shots: soft light disc + multiply removes white JPG plate */
.hero__shot--studio {
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: #141820;
  border-radius: calc(var(--r-lg) + 2px);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 28px 48px -18px rgba(0, 0, 0, .55);
}
.hero__shot--studio::before { display: none; }
.hero__shot--studio picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  mix-blend-mode: normal;
  filter: none;
}
.hero__shot--studio img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover !important;
  object-position: center;
  mix-blend-mode: normal;
  filter: none;
}
.hero__shot--photo img {
  border-radius: .35rem;
  box-shadow:
    0 28px 48px -18px rgba(0, 0, 0, .65),
    0 0 0 1px rgba(255, 255, 255, .08);
  filter: none;
}
@media (max-width: 859px) {
  .hero__shot { order: -1; max-width: 18rem; }
  .hero__shot img { max-height: 200px; }
  .hero__shot--studio img { max-height: none; }
  .hero--mach .hero__in { padding-block: clamp(2rem, 5vw, 3.2rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero--mach .hero__shot {
    animation: hero-shot-in .9s var(--ease) both;
  }
}
@keyframes hero-shot-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}

/* Large workshop photo — subtly dissolving into black–red ground */
.hero--emerge {
  min-height: clamp(34rem, 64vw, 48rem);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(255, 55, 30, .42), transparent 55%),
    radial-gradient(50% 70% at 0% 100%, rgba(209, 10, 17, .3), transparent 55%),
    linear-gradient(115deg, #0c0103 0%, #2a050a 28%, #9a0c16 60%, #e01420 100%);
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
}
.hero--emerge::before {
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(8, 1, 3, .9) 0%,
    rgba(8, 1, 3, .55) 26%,
    rgba(8, 1, 3, .12) 44%,
    transparent 58%);
}
.hero__emerge {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.18) 14%,
    rgba(0,0,0,.6) 28%,
    #000 44%,
    #000 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.18) 14%,
    rgba(0,0,0,.6) 28%,
    #000 44%,
    #000 100%);
}
.hero__emerge picture,
.hero__emerge img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__emerge img {
  max-width: none !important;
  object-fit: cover;
  object-position: 42% 48%;
  transform: scale(1.12);
  transform-origin: 58% 48%;
  opacity: 1;
  filter: brightness(.95) contrast(1.08) saturate(.9);
}
.hero__emerge::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 1, 3, .5) 0%, rgba(12, 1, 3, .12) 26%, transparent 46%),
    linear-gradient(0deg, rgba(12, 1, 3, .3) 0%, transparent 16%),
    linear-gradient(180deg, rgba(160, 12, 20, .18) 0%, transparent 14%),
    linear-gradient(115deg, transparent 62%, rgba(224, 20, 32, .2) 100%);
}
.hero--emerge .hero__in {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 9vw, 7.8rem);
}
.hero--emerge .hero__max { max-width: min(68ch, 100%); }
.hero--emerge h1 {
  line-height: 1.18;
}
.hero--emerge .hero__sub { max-width: 58ch; }
@media (max-width: 859px) {
  .hero--emerge { min-height: 0; }
  .hero__emerge {
    inset: auto 0 0 0;
    height: 60%;
    -webkit-mask-image: linear-gradient(180deg,
      transparent 0%,
      rgba(0,0,0,.25) 12%,
      #000 36%,
      #000 100%);
    mask-image: linear-gradient(180deg,
      transparent 0%,
      rgba(0,0,0,.25) 12%,
      #000 36%,
      #000 100%);
  }
  .hero__emerge img {
    transform: scale(1.18);
    transform-origin: 45% 42%;
  }
  .hero--emerge::before {
    background: linear-gradient(180deg,
      rgba(8, 1, 3, .92) 0%,
      rgba(8, 1, 3, .75) 38%,
      rgba(8, 1, 3, .2) 66%,
      transparent 100%);
  }
  .hero--emerge .hero__in {
    padding-block: clamp(2.2rem, 7vw, 3.2rem) clamp(13rem, 52vw, 19rem);
  }
}
/* Studio cutouts (white bg) — white dissolves into black–red ground */
.hero--emerge-cut .hero__emerge {
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.12) 18%,
    rgba(0,0,0,.55) 32%,
    #000 48%,
    #000 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.12) 18%,
    rgba(0,0,0,.55) 32%,
    #000 48%,
    #000 100%);
}
.hero--emerge-cut .hero__emerge img {
  object-fit: contain;
  object-position: 78% 55%;
  transform: scale(1.22);
  transform-origin: 78% 52%;
  mix-blend-mode: multiply;
  filter: brightness(1.08) contrast(1.16) saturate(.95);
}
.hero--emerge-cut .hero__emerge::after {
  background:
    linear-gradient(90deg, rgba(12, 1, 3, .4) 0%, transparent 42%),
    linear-gradient(115deg, transparent 55%, rgba(224, 20, 32, .25) 100%);
}
/* Stationary landscape emerge — same cover treatment as Suspended */
.hero--emerge-stationary .hero__emerge {
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.22) 10%,
    rgba(0,0,0,.65) 22%,
    #000 38%,
    #000 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.22) 10%,
    rgba(0,0,0,.65) 22%,
    #000 38%,
    #000 100%);
}
.hero--emerge-stationary .hero__emerge img {
  object-position: 55% 46%;
  transform: scale(1.08);
  transform-origin: 60% 48%;
  filter: brightness(1.05) contrast(1.08) saturate(.92);
}
.hero--emerge-stationary::before {
  background: linear-gradient(100deg,
    rgba(8, 1, 3, .88) 0%,
    rgba(8, 1, 3, .48) 24%,
    rgba(8, 1, 3, .1) 42%,
    transparent 56%);
}
@media (max-width: 859px) {
  .hero--emerge {
    min-height: 0;
  }
  .hero--emerge::before {
    background: linear-gradient(180deg,
      rgba(8, 1, 3, .82) 0%,
      rgba(8, 1, 3, .58) 42%,
      rgba(8, 1, 3, .28) 72%,
      rgba(8, 1, 3, .18) 100%);
  }
  .hero--emerge-stationary::before {
    background: linear-gradient(180deg,
      rgba(8, 1, 3, .84) 0%,
      rgba(8, 1, 3, .55) 46%,
      rgba(8, 1, 3, .22) 100%);
  }
  .hero__emerge {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, #000 38%, #000 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, #000 38%, #000 100%);
  }
  .hero--emerge-stationary .hero__emerge img {
    object-position: 52% 40%;
    transform: scale(1.12);
    transform-origin: 50% 36%;
  }
}
@media (max-width: 859px) {
  .hero--emerge-cut .hero__emerge img {
    object-position: 50% 40%;
    transform: scale(1.08);
    transform-origin: 50% 40%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__emerge { animation: hero-emerge-in 1s var(--ease) both; }
}
@keyframes hero-emerge-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero h1 {
  color: #fff;
  font-size: var(--t-hero);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-block: .5rem .65rem;
  text-wrap: balance;
}
.hero h1 [style*="color"],
.hero .eyebrow [style*="color"],
.hero .hero__sub [style*="color"],
.hero .stats [style*="color"],
.hero h1[style*="color"],
.hero .eyebrow[style*="color"],
.hero .hero__sub[style*="color"] {
  -webkit-text-fill-color: currentColor;
}
.hero.hero--emerge h1 {
  text-wrap: unset;
  text-wrap: pretty;
}
.hero__sub {
  font-size: var(--t-lede);
  line-height: 1.45;
  color: rgba(255, 255, 255, .84);
  max-width: 52ch;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

.spark {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--brand) 18%, var(--heat-1) 50%, var(--brand) 82%, transparent);
  opacity: .85;
}
.spark::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 22%; height: 4px;
  background: linear-gradient(90deg, transparent, #fff9e8, transparent);
  filter: blur(1px); animation: weld 5.5s var(--ease) infinite;
}
@keyframes weld { 0% { left: -25%; } 100% { left: 105%; } }
@media (prefers-reduced-motion: reduce) { .spark::after { animation: none; opacity: 0; } }

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.hero__below { width: 100%; }
.hero__below .stats { margin: 0; width: 100%; }
@media (max-width: 900px) {
  .hero__below .stats { margin: clamp(2.4rem, 5vw, 3.6rem) 0 0; }
}
.stats__i {
  background: var(--paper);
  padding: 1.45rem 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.stats__l {
  margin: 0;
  font-size: var(--t-small);
  color: var(--tx-dim);
  line-height: 1.35;
  min-height: 4.05em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-wrap: balance;
  max-width: 22ch;
}
.stats__n {
  margin: .85rem 0 0;
  font-family: var(--f-display);
  font-size: var(--t-stat);
  font-weight: 800;
  color: var(--tx-ink);
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stats__n span:not([style*="color"]) { color: var(--brand); }
.stats__n .stats__v:not([style*="color"]) { color: var(--tx-ink); }
.stats__n span[style*="color"],
.stats__n .stats__v[style*="color"] {
  -webkit-text-fill-color: currentColor;
}
.stats__n [style*="color"] span:not([style*="color"]),
.stats__n [style*="color"] .stats__v:not([style*="color"]),
.stats__n[style*="color"] span:not([style*="color"]),
.stats__n[style*="color"] .stats__v:not([style*="color"]) {
  color: inherit;
}
.has-stats .stats:not(.is-in) .stats__n {
  opacity: 0;
  transform: translateY(.55rem);
}
.has-stats .stats.is-in .stats__n {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.has-stats .stats.is-in .stats__i:nth-child(2) .stats__n { transition-delay: .08s; }
.has-stats .stats.is-in .stats__i:nth-child(3) .stats__n { transition-delay: .16s; }
.has-stats .stats.is-in .stats__i:nth-child(4) .stats__n { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .has-stats .stats .stats__n {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 981px) {
  .stats__i {
    justify-content: center;
    padding: 1.1rem 1.1rem 1.25rem;
  }
  .stats__l {
    min-height: 2.75em;
    align-items: center;
  }
  .stats__n { margin-top: .65rem; }
}

@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__i { padding: 1.35rem 1.2rem 1.25rem; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__l { min-height: 4.2em; font-size: .76rem; max-width: none; }
  .stats__n { font-size: 1.55rem; }
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--line-d); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; padding-block: .8rem; font-size: .8rem; color: var(--tx-dim); }
.crumbs a { color: var(--tx-dim); transition: color .16s var(--ease); }
.crumbs a:hover { color: var(--tx-hi); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .45; }
.crumbs [aria-current] { color: var(--tx); }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.7rem); }
.g-1 { grid-template-columns: minmax(0, 1fr); }
.g-1 > .tile { max-width: 26rem; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .g-3 { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .g-2, .g-4 { grid-template-columns: 1fr; }
}

/* area card — the 3 core business areas */
.area {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--ink-2); color: var(--tx);
  border: 1px solid var(--line-d); isolation: isolate;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.area:hover { transform: translateY(-6px); border-color: rgba(209, 10, 17, .28); box-shadow: var(--sh-2); }
.area__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.area__media picture,
.area__media > img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.area__media img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  transition: transform .6s var(--ease);
}
.area:hover .area__media img { --st-hover: 1.07; transform: scale(calc(var(--st-z, 1) * 1.07)); }
.area__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(255, 255, 255, .08) 70%, var(--paper) 100%); }
.area__no {
  position: absolute; top: 1rem; left: 1.15rem; z-index: 2;
  font-family: var(--f-display); font-size: .82rem; font-weight: 800; letter-spacing: .14em;
  color: #fff; background: var(--brand); padding: .3rem .6rem; border-radius: 4px;
}
.area__body { display: flex; flex-direction: column; gap: .85rem; padding: 1.5rem clamp(1.25rem, 2vw, 1.75rem) 1.75rem; flex: 1; background: var(--paper); }
.area__body h3 { color: var(--tx-ink); font-size: clamp(1.12rem, 1.6vw, 1.36rem); text-wrap: balance; }
.area__body p { color: var(--tx-dim); font-size: .93rem; }
.area__body .arrow-link { margin-top: auto; padding-top: .5rem; }
.area__pick { margin-top: auto; padding-top: .5rem; position: relative; }
.area__pick-btn {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: .45rem;
  width: fit-content; max-width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .84rem; letter-spacing: .07em;
  text-transform: uppercase; text-align: left; color: var(--brand);
}
.area__pick-btn svg { width: 1.15em; height: 1.15em; transition: transform .22s var(--ease); }
.area__pick-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.area__menu {
  list-style: none; margin: .7rem 0 0; padding: .35rem;
  border: 1px solid var(--line-l); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--sh-1);
}
.area__menu[hidden] { display: none !important; }
.area__menu a {
  display: block; padding: .55rem .7rem; border-radius: 6px;
  color: var(--tx); font-size: .9rem; line-height: 1.35;
}
.area__menu a:hover { background: rgba(209, 10, 17, .06); color: var(--tx-ink); }

/* category tiles — hub pages (metal / stud groups) */
.tile {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none; color: inherit;
  background: var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  isolation: isolate;
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}
.tile::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
  z-index: 3;
}
.tile:hover {
  transform: translateY(-7px);
  border-color: rgba(209, 10, 17, .28);
  box-shadow: var(--sh-2);
}
.tile:hover::before { transform: scaleY(1); }
.tile__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #141820;
}
.tile__media picture,
.tile__media > img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.tile__media img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  padding: 0;
  transition: transform .55s var(--ease);
}
.tile:hover .tile__media img { --st-hover: 1.05; transform: scale(calc(var(--st-z, 1) * 1.05)); }
.tile__media--cover img {
  object-fit: cover; padding: 0;
}
.tile__media--cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 22, 22, .28) 100%);
  pointer-events: none;
}
.tile__no {
  position: absolute; top: .95rem; left: .95rem; z-index: 2;
  font-family: var(--f-display); font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  color: #fff; background: var(--brand); padding: .28rem .55rem; border-radius: 4px;
}
.tile__body {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.25rem 1.35rem 1.45rem;
  flex: 1;
}
.tile__body .tag { margin-bottom: .1rem; }
.tile__body h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.28; text-wrap: balance; color: var(--tx-ink);
}
.tile__body p { margin: 0; font-size: .9rem; color: var(--tx-ink-2); line-height: 1.55; }
.tile__body .arrow-link { margin-top: auto; padding-top: .45rem; }
.tile:hover .arrow-link svg { transform: translateX(4px); }

/* hub showcase — large photo + copy side by side */
.tile--row {
  display: grid;
  grid-template-columns: minmax(min(260px, 100%), .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 300px;
}
.tile--row .tile__media {
  aspect-ratio: auto;
  min-height: 280px;
  align-self: stretch;
}
.tile--row .tile__body {
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem);
  gap: .85rem;
}
.tile--row .tile__body h3 {
  font-size: clamp(1.2rem, 2vw, 1.48rem);
}
.tile--row .tile__media img {
  padding: 0;
}
.tile-list { display: grid; gap: clamp(1.1rem, 2.2vw, 1.5rem); }
.tile-list .tile--row:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(min(260px, 100%), .92fr);
}
.tile-list .tile--row:nth-child(even) .tile__media { order: 2; }
@media (max-width: 820px) {
  .tile--row,
  .tile-list .tile--row:nth-child(even) { grid-template-columns: 1fr; }
  .tile-list .tile--row:nth-child(even) .tile__media { order: 0; }
  .tile--row .tile__media { min-height: 0; aspect-ratio: 5 / 4; }
}

.sec-head--center {
  text-align: center;
  margin-inline: auto;
}
.sec-head--center .lead { margin-inline: auto; }
.prose--center {
  text-align: center;
  margin-inline: auto;
}
.prose--center h2,
.prose--center h3 { text-wrap: balance; }
.ticks--center {
  margin-inline: auto;
  max-width: 72ch;
  text-align: left;
}
.tech-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-l);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.tech-strip > div {
  background: var(--paper);
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  text-align: center;
}
.tech-strip h3 {
  font-size: 1.05rem;
  margin-bottom: .55rem;
}
.tech-strip p {
  margin: 0;
  font-size: .9rem;
  color: var(--tx-ink-2);
  line-height: 1.55;
}
.tech-strip strong {
  display: block;
  font-family: var(--f-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .35rem;
}
@media (max-width: 780px) {
  .tech-strip { grid-template-columns: 1fr; }
}

/* plain product card */
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -24px rgba(10, 12, 16, .34); border-color: var(--line-l-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: #141820; overflow: hidden; }
.card__media picture,
.card__media > img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.card__media img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  padding: 0;
  background: transparent;
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { --st-hover: 1.03; transform: scale(calc(var(--st-z, 1) * 1.03)); }
.card__media--cover img {
  object-fit: cover;
  padding: 0;
  background: transparent;
}
.card:hover .card__media--cover img { --st-hover: 1.05; transform: scale(calc(var(--st-z, 1) * 1.05)); }
.card__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.25rem 1.35rem 1.5rem; flex: 1; }
.card__body h3 { font-size: 1.03rem; line-height: 1.32; text-wrap: balance; }
.card__body p { font-size: .895rem; color: var(--tx-ink-2); }
.card__body .arrow-link { margin-top: auto; padding-top: .35rem; }
.tag {
  display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start;
  padding: .26rem .6rem; border-radius: 999px; background: rgba(209, 10, 17, .09);
  color: var(--brand-600); font-size: .715rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.sec-dark .tag, .sec-dark-2 .tag { background: rgba(209, 10, 17, .1); color: var(--brand-600); }

/* spec card — machine group with parameters */
.spec {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center;
  padding: clamp(1.3rem, 2.6vw, 2.1rem);
  background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.spec + .spec { margin-top: clamp(1.1rem, 2vw, 1.6rem); }
.spec:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.spec:nth-of-type(even) .spec__media { order: 2; }
.spec__media { position: relative; border-radius: var(--r); overflow: hidden; background: #141820; aspect-ratio: 4 / 3; }
.spec__media picture,
.spec__media > img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.spec__media img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  padding: 0;
  background: transparent;
}
.spec__body > * + * { margin-top: .9rem; }
.spec__body h3 { font-size: clamp(1.14rem, 1.9vw, 1.42rem); text-wrap: balance; }
@media (max-width: 780px) {
  .spec, .spec:nth-of-type(even) { grid-template-columns: 1fr; }
  .spec:nth-of-type(even) .spec__media { order: 0; }
}

/* feature list — SMOLTECH mark instead of red checkmarks */
.ticks { list-style: none; display: grid; gap: .72rem; padding-left: 0; align-content: start; }
.ticks li:empty,
.ticks li[hidden] { display: none !important; }
/* Block, not flex: bold, colour and links inside a point stay in one text flow.
   Flex made <strong>/<b>/<span style> into extra columns, so a heading wrapped
   into "Industry- / proven / experience" after a save. */
.ticks li,
.prose .ticks li {
  display: block;
  position: relative;
  padding-left: 2.1rem;
  font-size: .935rem;
  line-height: 1.55;
}
.ticks li b,
.ticks li strong,
.ticks li em,
.ticks li i,
.ticks li u,
.ticks li a,
.ticks li span {
  display: inline;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .08em;
  width: 1.35rem;
  height: 1.35rem;
  background: url("/assets/img/mark-bullet.png?v=20260903tm") center / contain no-repeat;
  border: 0;
  transform: none;
}
.sec-dark .ticks li::before,
.sec-dark-2 .ticks li::before {
  border: 0;
  filter: none;
}
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 2rem; row-gap: .85rem; }
.ticks--center { justify-items: start; }

/* compact choice cards on machine pages */
.choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}
.choice__card {
  position: relative;
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.choice__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-300));
  opacity: .85;
}
.choice__card:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 10, 17, .22);
  box-shadow: 0 18px 40px -24px rgba(10, 12, 16, .28);
}
.choice__card h3 { margin: 0 0 .7rem; }
.choice__card p { margin: 0; font-size: .92rem; color: var(--tx-ink-2); line-height: 1.62; }
.choice__card .tag { margin-bottom: .85rem; }
a.choice__card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
a.choice__card--link .arrow-link { margin-top: 1.1rem; }
@media (max-width: 760px) {
  .choice { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STUD WELDING — Taylor partner + service
   ========================================================================== */
.stud-partner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.6rem, 8vw, 7.2rem);
  background:
    radial-gradient(55% 70% at 12% 40%, rgba(209, 10, 17, .22), transparent 58%),
    radial-gradient(40% 50% at 88% 10%, rgba(242, 160, 163, .08), transparent 55%),
    linear-gradient(155deg, #141416 0%, #0c0c0e 48%, #161214 100%);
  color: rgba(255, 255, 255, .72);
}
.stud-partner__glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 55%;
  background: radial-gradient(closest-side, rgba(209, 10, 17, .18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.stud-partner__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.8rem, 4.5vw, 4.2rem);
  align-items: center;
}
.stud-partner__media {
  margin: 0;
  position: relative;
  border-radius: calc(var(--r-lg) + 4px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  background: #1a1214;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 32px 64px -28px rgba(0, 0, 0, .65);
}
.stud-partner__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(8, 6, 7, .72) 100%),
    linear-gradient(90deg, rgba(209, 10, 17, .12), transparent 40%);
  pointer-events: none;
}
.stud-partner__media picture,
.stud-partner__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.1s var(--ease);
}
.stud-partner__media:hover img { transform: scale(1.045); }
.stud-partner__cap {
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: 1rem;
  z-index: 1;
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.stud-partner__copy {
  display: grid;
  gap: 1.05rem;
  align-content: start;
}
.stud-partner__badge {
  width: fit-content;
  padding: .55rem .7rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .55);
}
.stud-partner__badge img {
  width: min(168px, 52vw);
  height: auto;
}
.stud-partner__copy .eyebrow { color: #f2a0a3; }
.stud-partner__copy h2 {
  margin: 0;
  color: #fff;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.stud-partner__copy .lead {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, .7);
}
.stud-partner__proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: .55rem 0 .15rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  overflow: hidden;
}
.stud-partner__proof li {
  display: grid;
  gap: .35rem;
  padding: 1rem .95rem 1.1rem;
  background: rgba(255, 255, 255, .03);
}
.stud-partner__proof strong {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
}
.stud-partner__proof span {
  font-size: .78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .55);
}
.stud-partner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: .35rem;
}
.stud-partner__actions .arrow-link { color: #f2a0a3; }
.stud-partner__actions .arrow-link:hover { color: #fff; }

.stud-svc {
  position: relative;
  padding-block: clamp(3.4rem, 7.5vw, 6.8rem);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(209, 10, 17, .07), transparent 55%),
    #e4e5e8;
}
.stud-svc__in {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(1.8rem, 4.2vw, 3.8rem);
  align-items: center;
}
.stud-svc__copy {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.stud-svc__copy h2 { margin: 0; text-wrap: balance; }
.stud-svc__copy .lead { margin: 0; max-width: 42ch; }
.stud-svc__copy .ticks { margin-top: .2rem; }
.stud-svc__gallery {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
  gap: .85rem;
  min-height: 0;
  align-items: stretch;
}
.stud-svc__shot {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-l);
  box-shadow: var(--sh-1);
  aspect-ratio: 4 / 3;
  min-height: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stud-svc__shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -24px rgba(22, 22, 22, .28);
}
.stud-svc__shot--tall {
  grid-row: 1 / -1;
  aspect-ratio: auto;
  height: auto;
  align-self: stretch;
  background: #1a1214;
}
.stud-svc__shot picture,
.stud-svc__shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.stud-svc__shot--tall img {
  object-fit: cover;
  object-position: center 32%;
}
.stud-svc__shot:not(.stud-svc__shot--tall) img {
  object-fit: cover;
  padding: 0;
  background: transparent;
}
.stud-svc__shot img.is-slot {
  object-fit: contain;
}
.stud-svc__shot figcaption {
  position: absolute;
  left: .85rem; bottom: .75rem;
  padding: .28rem .55rem;
  border-radius: 4px;
  background: rgba(22, 22, 22, .72);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
@media (max-width: 980px) {
  .stud-partner__in,
  .stud-svc__in { grid-template-columns: 1fr; }
  .stud-partner__media {
    aspect-ratio: 16 / 11;
    max-height: 420px;
  }
  .stud-partner__proof { grid-template-columns: 1fr; }
  .stud-svc__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .stud-svc__shot--tall {
    grid-row: auto;
    aspect-ratio: 16 / 11;
  }
  .stud-svc__shot:not(.stud-svc__shot--tall) {
    aspect-ratio: 2.35 / 1;
  }
}

/* showcase intro — mesh / automation hubs */
.showcase-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 6.5vw, 5.6rem);
  background:
    radial-gradient(55% 70% at 88% 20%, rgba(209, 10, 17, .18), transparent 58%),
    linear-gradient(155deg, #141416 0%, #0c0c0e 52%, #161214 100%);
  color: rgba(255, 255, 255, .72);
}
.showcase-intro__in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
.showcase-intro__media {
  margin: 0;
  position: relative;
  border-radius: calc(var(--r-lg) + 2px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #1a1214;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 28px 56px -28px rgba(0, 0, 0, .6);
}
.showcase-intro__media picture,
.showcase-intro__media img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  transition: transform 1.1s var(--ease);
}
.showcase-intro__media--product {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #141820;
}
.showcase-intro__media--product picture,
.showcase-intro__media--product img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.showcase-intro__media--product:hover img { transform: scale(1.03); }

/* stud subpages — quieter, smaller media, copy first */
.showcase-intro--calm {
  padding-block: clamp(2.2rem, 4.5vw, 3.6rem);
  background:
    radial-gradient(50% 60% at 12% 30%, rgba(209, 10, 17, .1), transparent 55%),
    linear-gradient(155deg, #18181b 0%, #121214 55%, #171416 100%);
}
.showcase-intro--calm .showcase-intro__in {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .72fr);
  gap: clamp(1.4rem, 3.2vw, 2.6rem);
  align-items: center;
}
.showcase-intro--calm .showcase-intro__media {
  order: 2;
  max-width: min(100%, 340px);
  width: 100%;
  justify-self: end;
  aspect-ratio: 5 / 4;
  max-height: 280px;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 16px 36px -22px rgba(0, 0, 0, .55);
}
.showcase-intro--calm .showcase-intro__copy {
  order: 1;
  gap: .85rem;
}
.showcase-intro--calm .showcase-intro__copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}
.showcase-intro--calm .showcase-intro__copy .lead {
  max-width: 52ch;
  font-size: .95rem;
}
.showcase-intro--calm .showcase-intro__proof {
  max-width: 42rem;
}
.showcase-intro--calm .showcase-intro__proof li {
  padding: .75rem .7rem .85rem;
}
.showcase-intro--calm .showcase-intro__proof strong {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}
.showcase-intro--calm .showcase-intro__media--product {
  aspect-ratio: 1 / 1;
  max-height: 260px;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(255, 255, 255, .06), transparent 65%),
    #1c1819;
}
.showcase-intro--calm .showcase-intro__media--product picture,
.showcase-intro--calm .showcase-intro__media--product img {
  max-width: 58%;
  max-height: 62%;
}
.showcase-intro--calm .showcase-intro__media--soft {
  aspect-ratio: 4 / 3;
  max-height: 260px;
}
.showcase-intro--calm .showcase-intro__media--soft::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, .18), rgba(12, 12, 14, .42));
}
.showcase-intro--calm .showcase-intro__media--soft img {
  object-position: center 30%;
}
@media (max-width: 980px) {
  .showcase-intro--calm .showcase-intro__in {
    grid-template-columns: 1fr;
  }
  .showcase-intro--calm .showcase-intro__media {
    order: -1;
    justify-self: start;
    max-width: min(100%, 300px);
    max-height: 220px;
  }
}
.showcase-intro__copy { display: grid; gap: 1rem; align-content: start; }
.showcase-intro__copy .eyebrow { color: #f2a0a3; }
.showcase-intro__copy h2 { margin: 0; color: #fff; text-wrap: balance; }
.showcase-intro__copy .lead { margin: 0; max-width: 48ch; color: rgba(255, 255, 255, .7); }
.showcase-intro__proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: .35rem 0 0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  overflow: hidden;
}
.showcase-intro__proof li {
  display: grid; gap: .3rem;
  padding: .95rem .85rem 1.05rem;
  background: rgba(255, 255, 255, .03);
}
.showcase-intro__proof strong {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.showcase-intro__proof span {
  font-size: .76rem; line-height: 1.4; color: rgba(255, 255, 255, .55);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.45rem);
}
.cap-grid__i {
  padding: clamp(1.25rem, 2.4vw, 1.7rem);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(209, 10, 17, .07), transparent 55%),
    var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cap-grid__i:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 10, 17, .22);
  box-shadow: 0 18px 40px -24px rgba(10, 12, 16, .28);
}
.cap-grid__i strong {
  display: block;
  font-family: var(--f-display);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .55rem;
}
.cap-grid__i h3 {
  margin: 0 0 .55rem;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.3;
  text-wrap: balance;
}
.cap-grid__i p {
  margin: 0;
  font-size: .9rem;
  color: var(--tx-ink-2);
  line-height: 1.6;
}
@media (max-width: 980px) {
  .showcase-intro__in { grid-template-columns: 1fr; }
  .showcase-intro__proof { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* stud product stage — guns / process */
.stud-stage {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.stud-stage__copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.stud-stage__copy h2 { margin: 0; text-wrap: balance; }
.stud-stage__copy .lead { margin: 0; max-width: 44ch; }
.stud-stage__copy .ticks { margin-top: .15rem; }
.stud-stage__media {
  margin: 0;
  position: relative;
  border-radius: calc(var(--r-lg) + 2px);
  overflow: hidden;
  background: #141820;
  border: 1px solid var(--line-l);
  box-shadow: var(--sh-1);
  min-height: 220px;
  aspect-ratio: 4 / 3;
}
.stud-stage__media picture,
.stud-stage__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.stud-stage__media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: .35rem .7rem;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tx-ink);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(10, 12, 16, .08);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* model strip + parameter matrix (stud catalogue pages) */
.model-strip {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin: 0 0 clamp(1.2rem, 2.4vw, 1.7rem);
  padding: 0; list-style: none;
}
.model-strip__btn {
  appearance: none; border: 1px solid var(--line-l);
  background: var(--paper); color: var(--tx-ink);
  font: inherit; font-weight: 700; font-size: .88rem;
  letter-spacing: .04em; padding: .62rem 1rem;
  border-radius: 8px; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.model-strip__btn:hover { border-color: rgba(209, 10, 17, .28); transform: translateY(-1px); }
.model-strip__btn.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 10px 24px -14px rgba(209, 10, 17, .7);
}
.model-strip--shots {
  display: grid;
  grid-template-columns: repeat(var(--ms-cols, 3), minmax(0, 1fr));
  gap: clamp(.7rem, 1.6vw, 1.1rem);
}
.model-strip--shots.model-strip--1 {
  --ms-cols: 1;
  grid-template-columns: minmax(0, 1fr);
  width: calc((100% - 2 * clamp(.7rem, 1.6vw, 1.1rem)) / 3);
}
.model-strip--shots.model-strip--2 { --ms-cols: 2; }
.model-strip--shots.model-strip--4 { --ms-cols: 4; }
.model-strip--shots.model-strip--5 { --ms-cols: 5; }
.model-strip--shots.model-strip--6 { --ms-cols: 6; }
.model-strip--shots.model-strip--7 { --ms-cols: 7; }
.model-strip--shots.model-strip--8 { --ms-cols: 8; }
.model-strip__shot--empty {
  display: grid; place-items: center;
  background: #141820; color: #8a93a3;
  font: 600 12px/1.3 Inter, "Segoe UI", system-ui, sans-serif;
}
.model-strip--shots > li { min-width: 0; }
.model-strip--shots .model-strip__btn {
  display: grid;
  gap: .7rem;
  width: 100%;
  padding: .7rem .7rem .85rem;
  text-align: left;
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,249,251,.98)),
    var(--paper);
}
.model-strip--shots .model-strip__btn.is-active {
  background:
    linear-gradient(180deg, rgba(209, 10, 17, .06), transparent 55%),
    var(--paper);
  color: var(--tx-ink);
  border-color: rgba(209, 10, 17, .45);
  box-shadow: 0 14px 32px -22px rgba(209, 10, 17, .55);
}
.model-strip__shot {
  display: block;
  aspect-ratio: 5 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: #141820;
  border: 1px solid rgba(10, 12, 16, .06);
}
.model-strip__shot picture,
.model-strip__shot img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.model-strip__name {
  display: block;
  font-family: var(--f-display);
  font-weight: 800; font-size: var(--t-sub);
  letter-spacing: .04em; color: var(--tx-ink);
  padding: 0 .15rem;
}
.model-strip--shots .model-strip__btn.is-active .model-strip__name { color: var(--brand); }
.film-rail {
  display: grid;
  grid-template-columns: repeat(var(--film-cols, 3), minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.35rem);
}
.film-rail--2 { --film-cols: 2; max-width: 52rem; }
.film-rail--1 { --film-cols: 1; max-width: 36rem; }
.film-rail--4 { --film-cols: 4; }
.film-rail--5 { --film-cols: 5; }
.film-rail--6 { --film-cols: 6; }
.film-rail__empty {
  width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r);
  background: #141820; border: 0;
  display: grid; place-items: center; color: #8a93a3;
  font: 600 13px/1.35 Inter, "Segoe UI", system-ui, sans-serif;
  text-align: center; padding: 1rem;
}
[data-st-builder] .film-rail__empty {
  border: 1px dashed rgba(255,255,255,.45);
  color: transparent;
}
[data-st-builder] .film-rail__empty::after {
  content: "Click to add a video";
  color: #d7dbe3;
  font: 600 13px/1.35 Inter, "Segoe UI", system-ui, sans-serif;
}
.film-rail__i { min-width: 0; }
.film-rail__i .yt {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
}
.film-rail__i h3 {
  margin: .85rem 0 0;
  font-size: .95rem; line-height: 1.35; color: var(--tx-ink);
  text-wrap: balance;
}
#specyfikatsiya { padding-bottom: clamp(1.1rem, 2.2vw, 1.8rem); }
#filmy {
  padding-top: clamp(1.1rem, 2.2vw, 1.8rem);
}
#filmy .sec-head { margin-bottom: clamp(1.1rem, 2.2vw, 1.7rem); }
.param-matrix {
  --pm-cols: 3;
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.param-matrix__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.param-matrix__table {
  display: grid;
  grid-template-columns: minmax(11rem, 1.15fr) repeat(var(--pm-cols), minmax(8.5rem, 1fr));
  min-width: min(100%, calc(12rem + var(--pm-cols) * 9rem));
  width: 100%;
}
.param-matrix--2 { --pm-cols: 2; }
.param-matrix--3 { --pm-cols: 3; }
.param-matrix--4 { --pm-cols: 4; }
.param-matrix--5 { --pm-cols: 5; }
.param-matrix--6 { --pm-cols: 6; }
.param-matrix--7 { --pm-cols: 7; }
.param-matrix--8 { --pm-cols: 8; }
.param-matrix--9 { --pm-cols: 9; }
.param-matrix--10 { --pm-cols: 10; }
.param-matrix--11 { --pm-cols: 11; }
.param-matrix--12 { --pm-cols: 12; }
.param-matrix--13 { --pm-cols: 13; }
.param-matrix--14 { --pm-cols: 14; }
.param-matrix--15 { --pm-cols: 15; }
.param-matrix--1 { --pm-cols: 1; }
.param-matrix--1 .param-matrix__table {
  grid-template-columns: minmax(11rem, .9fr) minmax(0, 1.4fr);
  min-width: 0;
}
.param-matrix--wide .param-matrix__table {
  grid-template-columns: minmax(9.2rem, .8fr) repeat(var(--pm-cols), minmax(5.5rem, 1fr));
  min-width: calc(10rem + var(--pm-cols) * 6.1rem);
}
.param-matrix__cell {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line-l);
  border-right: 1px solid rgba(10, 12, 16, .04);
  font-size: var(--t-body); line-height: 1.45; color: var(--tx);
}
.param-matrix__head {
  background:
    linear-gradient(180deg, rgba(209, 10, 17, .05), transparent 70%),
    var(--paper-2);
  font-family: var(--f-display);
  font-weight: 800; font-size: var(--t-sub);
  letter-spacing: .04em; color: var(--tx-ink);
  border-bottom-color: rgba(209, 10, 17, .16);
  position: sticky; top: 0; z-index: 2;
}
.param-matrix__label {
  position: sticky; left: 0; z-index: 1;
  background: var(--paper);
  font-weight: 700; font-size: var(--t-small);
  letter-spacing: .02em; color: var(--tx-ink-2);
}
.param-matrix__head.param-matrix__label {
  z-index: 3;
  background: var(--paper-2);
  color: var(--tx-dim);
  font-size: var(--t-small); letter-spacing: .12em; text-transform: uppercase;
}
.param-matrix__row:last-child .param-matrix__cell { border-bottom: 0; }
.param-matrix__val { color: var(--tx-ink); font-variant-numeric: tabular-nums; }
.param-matrix__val strong { color: var(--tx-ink); font-weight: 700; }
.param-matrix.is-hl-1 .param-matrix__cell[data-col="1"],
.param-matrix.is-hl-2 .param-matrix__cell[data-col="2"],
.param-matrix.is-hl-3 .param-matrix__cell[data-col="3"],
.param-matrix.is-hl-4 .param-matrix__cell[data-col="4"],
.param-matrix.is-hl-5 .param-matrix__cell[data-col="5"],
.param-matrix.is-hl-6 .param-matrix__cell[data-col="6"],
.param-matrix.is-hl-7 .param-matrix__cell[data-col="7"],
.param-matrix.is-hl-8 .param-matrix__cell[data-col="8"],
.param-matrix.is-hl-9 .param-matrix__cell[data-col="9"],
.param-matrix.is-hl-10 .param-matrix__cell[data-col="10"],
.param-matrix.is-hl-11 .param-matrix__cell[data-col="11"],
.param-matrix.is-hl-12 .param-matrix__cell[data-col="12"],
.param-matrix.is-hl-13 .param-matrix__cell[data-col="13"],
.param-matrix.is-hl-14 .param-matrix__cell[data-col="14"],
.param-matrix.is-hl-15 .param-matrix__cell[data-col="15"] {
  background: rgba(209, 10, 17, .045);
}
.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 1.8vw, 1.2rem);
  margin-top: clamp(1.4rem, 2.8vw, 2rem);
}
.feature-rail__i {
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(209, 10, 17, .06), transparent 55%),
    var(--paper);
}
.feature-rail__i h3 {
  margin: 0 0 .4rem;
  font-size: .92rem; line-height: 1.3; color: var(--tx-ink);
}
.feature-rail__i p {
  margin: 0; font-size: .86rem; color: var(--tx-ink-2); line-height: 1.55;
}
@media (max-width: 820px) {
  .feature-rail,
  .film-rail { grid-template-columns: 1fr 1fr; }
  .film-rail--2 { max-width: none; }
  .model-strip:not(.model-strip--shots) {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
    padding-right: calc(var(--gut) + 1.6rem);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.4rem), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.4rem), transparent 100%);
  }
  .model-strip:not(.model-strip--shots) .model-strip__btn {
    flex: none;
    min-height: 44px;
  }
  .model-strip--shots,
  .model-strip--shots.model-strip--2 { grid-template-columns: 1fr 1fr; }
  .model-strip--shots.model-strip--1 { width: calc((100% - clamp(.7rem, 1.6vw, 1.1rem)) / 2); }
}
@media (max-width: 560px) {
  .feature-rail,
  .film-rail,
  .film-rail--2,
  .film-rail--1,
  .model-strip--shots,
  .model-strip--shots.model-strip--2 { grid-template-columns: 1fr; }
  .model-strip--shots.model-strip--1 { width: 100%; }
  .param-matrix__label { min-width: 9.5rem; }
}

.mach__film-link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.mach__film-link picture,
.mach__film-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.mach__film-link:hover img { transform: scale(1.04); }
.mach__film-link span {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  padding: .35rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 12, 16, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
}
@media (max-width: 900px) {
  .stud-stage { grid-template-columns: 1fr; }
  .stud-stage__media { order: -1; }
}

/* machine group preview cards */
.group-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}
.group-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(209, 10, 17, .07), transparent 55%),
    var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.group-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 10, 17, .24);
  box-shadow: 0 22px 48px -26px rgba(10, 12, 16, .3);
}
.group-card h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.25;
  text-wrap: balance;
  margin: 0;
}
.group-card p {
  margin: 0;
  font-size: .93rem;
  color: var(--tx-ink-2);
  line-height: 1.62;
  flex: 1;
}
.group-card .arrow-link { margin-top: .35rem; }
@media (max-width: 820px) {
  .group-cards { grid-template-columns: 1fr; }
}

/* highlight band under product intros */
.band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(1.6rem, 3.2vw, 2.4rem);
  background: var(--line-l);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.band__i {
  background: var(--paper);
  padding: clamp(1.15rem, 2.2vw, 1.55rem) clamp(1.1rem, 2vw, 1.45rem);
}
.band__i strong {
  display: block;
  font-family: var(--f-display);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .45rem;
}
.band__i span {
  display: block;
  font-size: .92rem;
  color: var(--tx-ink);
  line-height: 1.45;
  font-weight: 600;
}
@media (max-width: 760px) {
  .band { grid-template-columns: 1fr; }
}

/* numbered value list */
.steps { list-style: none; counter-reset: s; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--f-display); font-size: .95rem; font-weight: 800; color: var(--brand);
  background: rgba(209, 10, 17, .08); border: 1px solid rgba(209, 10, 17, .22);
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
}
.steps h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.steps p { font-size: .92rem; }

/* process track — 5 stages on one row */
.proc {
  list-style: none;
  counter-reset: p;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.proc > li {
  counter-increment: p;
  background: var(--ink-2);
  padding: 1.4rem 1.15rem 1.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.proc > li::before {
  content: counter(p, decimal-leading-zero);
  display: grid; place-items: center;
  width: 2.05rem; height: 2.05rem; margin-bottom: .35rem;
  font-family: var(--f-display); font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--brand); border-radius: 4px;
}
.proc h3 { color: var(--tx-hi); font-size: .98rem; line-height: 1.28; text-wrap: balance; }
.proc p { color: var(--tx-dim); font-size: .86rem; line-height: 1.5; }
@media (max-width: 1100px) { .proc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .proc { grid-template-columns: 1fr; } }

.area .ticks { margin-top: .15rem; gap: .48rem; }
.area .ticks li { font-size: .86rem; color: var(--tx-dim); }

/* split media + text */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
.split--follow { margin-top: clamp(1.2rem, 2.4vw, 1.85rem); }
.split__cta { margin-top: 1.4rem; }
.split--top { align-items: start; }
.split__intro > * + *, .split__body > * + * { margin-top: .85rem; }
.split--media-mid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: min-content min-content;
  align-items: start;
  column-gap: clamp(1.6rem, 4vw, 3.6rem);
  row-gap: .85rem;
}
.split--media-mid .split__intro { grid-column: 1; grid-row: 1; align-self: start; }
.split--media-mid .split__body { grid-column: 1; grid-row: 2; align-self: start; }
.split--media-mid .frame-stack { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
@media (max-width: 860px) {
  .split--media-mid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: clamp(1.6rem, 4vw, 3.6rem);
  }
  .split--media-mid .split__intro,
  .split--media-mid .split__body,
  .split--media-mid .frame-stack { grid-column: auto; grid-row: auto; }
}
.frame { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: #fff; }
.frame picture { display: block; width: 100%; }
.frame img {
  width: 100%; max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .55s var(--ease);
  transform: scale(calc(var(--st-z, 1) * var(--st-hover, 1)));
}
.frame:hover img { --st-hover: 1.05; transform: scale(calc(var(--st-z, 1) * 1.05)); }
.frame--tall img { aspect-ratio: 3 / 4; }
.frame--wide img { aspect-ratio: 16 / 9; }
.frame--product img {
  object-fit: cover; object-position: center;
  padding: 0;
  background: transparent;
}
.frame-stack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 1.5vw, 1.1rem); }
.frame-stack .frame:first-child { grid-column: span 2; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.gal figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-d); }
.sec-paper .gal figure, .sec-paper-2 .gal figure { background: var(--paper); border-color: var(--line-l); }
.gal picture { display: block; width: 100%; }
.gal img {
  width: 100%; max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover; object-position: center;
}
.gal figcaption { padding: .8rem 1rem 1rem; font-size: .84rem; color: var(--tx-dim); line-height: 1.5; }
.gal--light figure { background: var(--paper); border-color: var(--line-l); box-shadow: var(--sh-1); }
.gal--light figcaption { color: var(--tx-ink-2); }

/* ========== machine showcase (sales / product pages) ========== */
.mach-jump {
  display: flex; flex-wrap: wrap; gap: .55rem .7rem;
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  padding: .75rem .85rem;
  list-style: none;
  background:
    radial-gradient(80% 120% at 0% 50%, rgba(209, 10, 17, .06), transparent 55%),
    var(--paper-2);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
}
.mach-jump a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--paper); color: var(--tx-ink-2);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(22, 22, 22, .04);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.mach-jump a:hover {
  border-color: rgba(209, 10, 17, .35); color: var(--brand-600);
  transform: translateY(-1px);
}
.mach-jump a span {
  font-family: var(--f-display); font-weight: 800; color: var(--brand); letter-spacing: .06em;
}

.mach-list { list-style: none; display: grid; gap: clamp(1.8rem, 3.6vw, 2.9rem); padding: 0; margin: 0; }
.mach {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.8vw, 2.4rem);
  align-items: stretch;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(209, 10, 17, .045), transparent 55%),
    var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  scroll-margin-top: calc(var(--hdr) + .9rem);
  overflow: hidden;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
.mach::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-300) 55%, transparent);
  opacity: .9;
}
.mach:hover {
  border-color: rgba(209, 10, 17, .24);
  box-shadow: 0 24px 50px -28px rgba(10, 12, 16, .32);
  transform: translateY(-3px);
}
.mach--clip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(1.4rem, 3.2vw, 2.8rem);
}
.mach--clip .mach__media {
  display: block;
  align-self: start;
}
.mach--clip .mach__film {
  width: 100%;
  aspect-ratio: 16 / 9;
}
/* product card: number + title above the video on the left, "ask" link under it, free text on the right */
.mach--prod {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.4rem, 3.4vw, 3rem);
  align-items: start;
}
.mach__side { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.mach__side .mach__idx { margin: 0; }
.mach__side h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.22; text-wrap: balance; color: var(--tx-ink);
}
.mach__side .mach__film { margin-top: .15rem; }
.mach__side .mach__links { margin-top: 0; padding-top: .15rem; }
.mach__film--img img,
.mach__pic {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; padding: 0;
}
.mach__film--empty {
  background: linear-gradient(135deg, #1a1f2a, #0f1218);
  border: 0;
  display: grid;
  place-items: center;
}
[data-st-builder] .mach__film--empty {
  border: 1px dashed rgba(255,255,255,.45);
}
[data-st-builder] .mach__film--empty::after {
  content: "Click to add a video";
  color: #d7dbe3;
  font: 600 13px/1.35 Inter, "Segoe UI", system-ui, sans-serif;
  text-align: center;
  padding: 1rem;
}
.mach__text {
  display: flex; flex-direction: column; gap: .8rem;
  min-width: 0; padding-block: .15rem;
  font-size: 1rem; line-height: 1.7; color: var(--tx);
  overflow-wrap: anywhere;
}
.mach__text p { margin: 0; }
.mach__text ul, .mach__text ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .4rem; }
.mach__text li::marker { color: var(--brand); }
.mach__text strong, .mach__text b { color: var(--tx-ink); font-weight: 700; }
.mach__text a { color: var(--brand); text-decoration: underline; text-underline-offset: .15em; }
.mach__text a:hover { color: var(--brand-300); }
.mach__media {
  display: grid;
  grid-template-rows: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: .75rem;
  min-width: 0;
}
.mach__shot {
  margin: 0; position: relative; overflow: hidden;
  border-radius: calc(var(--r) - 1px);
  background: #141820;
  border: 1px solid var(--line-l);
  aspect-ratio: 4 / 3;
}
.mach__shot picture,
.mach__shot > img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.mach__shot img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  padding: 0;
  background: transparent;
  transition: transform .55s var(--ease);
}
.mach:hover .mach__shot img { transform: scale(1.03); }
.mach__shot--cover img {
  object-fit: cover; padding: 0; background: var(--ink-3);
}
.mach__film {
  position: relative; margin: 0; overflow: hidden;
  border-radius: calc(var(--r) - 1px);
  background: #111;
  aspect-ratio: 16 / 9;
}
.mach__film .yt { width: 100%; height: 100%; }
.mach__body {
  display: flex; flex-direction: column; gap: .85rem;
  min-width: 0; padding-block: .15rem;
}
.mach__idx {
  margin: 0;
  font-family: var(--f-display); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; color: var(--brand);
}
.mach__body h3 {
  font-size: clamp(1.12rem, 1.85vw, 1.42rem);
  line-height: 1.22; text-wrap: balance; color: var(--tx-ink);
}
.mach__body p { margin: 0; font-size: .95rem; color: var(--tx); line-height: 1.65; }
.mach__body .ticks { margin-top: .15rem; }
.mach__body .ticks li { font-size: .9rem; color: var(--tx-ink-2); }
.mach__links {
  display: flex; flex-wrap: wrap; gap: .7rem 1.15rem;
  margin-top: auto; padding-top: .55rem;
}
.sec-paper-2 .mach { background: var(--paper); }
@media (max-width: 920px) {
  .mach,
  .mach--clip,
  .mach--prod { grid-template-columns: 1fr; }
  .mach__media { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .mach--clip .mach__media { display: block; }
  .mach__shot { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .mach__media { grid-template-columns: 1fr; }
  .mach__film { order: -1; }
}

/* numbered machine list on a dark section */
.specs-dark { list-style: none; counter-reset: sd; display: grid; gap: clamp(.7rem, 1.4vw, 1rem); }
.specs-dark > li {
  counter-increment: sd; position: relative;
  padding: clamp(1.25rem, 2.4vw, 1.8rem) clamp(1.25rem, 2.4vw, 1.9rem) clamp(1.25rem, 2.4vw, 1.8rem) clamp(3.4rem, 5vw, 4.4rem);
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.specs-dark > li:hover { border-color: rgba(209, 10, 17, .28); background: var(--paper); }
.specs-dark > li::before {
  content: counter(sd, decimal-leading-zero);
  position: absolute; left: clamp(1.25rem, 2.4vw, 1.9rem); top: clamp(1.3rem, 2.5vw, 1.9rem);
  font-family: var(--f-display); font-size: .84rem; font-weight: 800; letter-spacing: .06em; color: var(--brand);
}
.specs-dark h3 { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--tx-hi); text-wrap: balance; }
.specs-dark p { margin-top: .6rem; font-size: .93rem; color: var(--tx-dim); }
.specs-dark > li.specs-dark__job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
.specs-dark__links {
  display: flex; flex-wrap: wrap; gap: .75rem 1.15rem;
  margin-top: 1rem;
}
.specs-dark__media {
  position: relative; margin: 0;
  border-radius: calc(var(--r) - 2px); overflow: hidden;
  background: var(--ink-3);
  aspect-ratio: 16 / 9;
}
.specs-dark__media .yt { width: 100%; height: 100%; }
.specs-dark__shot {
  display: block; color: inherit;
}
.specs-dark__shot picture,
.specs-dark__shot img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
#galereya,
#st2-video,
#st3-video,
[id^="vid-"] { scroll-margin-top: calc(var(--hdr) + .8rem); }
@media (max-width: 780px) {
  .specs-dark > li.specs-dark__job { grid-template-columns: 1fr; }
  .specs-dark__media { order: -1; }
}
.sec-paper .gal figcaption, .sec-paper-2 .gal figcaption { color: var(--tx-ink-2); }

/* client logo marquee */
.logos {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
.logos__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.logos__item {
  flex: none;
  width: 240px;
  height: 148px;
  display: grid;
  place-items: center;
  padding: 1.05rem 1.45rem;
}
.logos img {
  width: auto;
  height: 4.5rem;
  max-width: 12.5rem;
  object-fit: contain;
  object-position: center;
}

.logos.is-marquee .logos__track {
  flex-wrap: nowrap;
  width: max-content;
  justify-content: flex-start;
  animation: logos-marquee var(--logos-dur, 36s) linear infinite;
  will-change: transform;
}

@keyframes logos-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 700px) {
  .logos {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }
  .logos__item { width: 196px; height: 120px; padding: .8rem 1.1rem; }
  .logos img { height: 3.4rem; max-width: 10rem; }
}

@media (prefers-reduced-motion: reduce) {
  .logos.is-marquee .logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; will-change: auto; }
}

/* ==========================================================================
   VIDEO
   ========================================================================== */
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.1rem, 2.2vw, 1.7rem); }
.vgrid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.3vw, 1rem);
}
@media (max-width: 1099px) {
  .vgrid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .vgrid--home { grid-template-columns: 1fr; }
}
.has-rv .vgrid--home .vcard:nth-child(4n+1) { transition-delay: 0s; }
.has-rv .vgrid--home .vcard:nth-child(4n+2) { transition-delay: .06s; }
.has-rv .vgrid--home .vcard:nth-child(4n+3) { transition-delay: .12s; }
.has-rv .vgrid--home .vcard:nth-child(4n+4) { transition-delay: .18s; }
@media (max-width: 1099px) {
  .has-rv .vgrid--home .vcard:nth-child(odd) { transition-delay: 0s; }
  .has-rv .vgrid--home .vcard:nth-child(even) { transition-delay: .08s; }
}
@media (max-width: 620px) {
  .has-rv .vgrid--home .vcard { transition-delay: 0s; }
}
.vgrid--home .vcard__body { padding: .7rem .8rem .9rem; }
.vgrid--home .vcard__kind { margin-bottom: .35rem; }
.vgrid--home .vcard__body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vgrid--home .yt__play span,
.vgrid--home .yt__play svg { width: 48px; height: 34px; }
.vgrid + p { margin-top: 1.15rem !important; }
.logos + .grid { margin-top: 1.35rem !important; }
.vcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line-d);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.vcard:hover { transform: translateY(-5px); border-color: rgba(209, 10, 17, .28); box-shadow: var(--sh-2); }
.yt {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0;
  background: #000; cursor: pointer; overflow: hidden; display: block;
}
.yt picture,
.yt > img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; max-width: none;
}
.yt img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  opacity: .84; transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.yt:hover img { opacity: 1; transform: scale(1.04); }
.yt__play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.yt__play span {
  display: block;
  width: 68px; height: 48px;
  color: var(--brand);
  line-height: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .5));
  transition: transform .25s var(--ease), color .25s var(--ease), filter .25s var(--ease);
}
.yt:hover .yt__play span {
  transform: scale(1.08);
  color: var(--brand-600);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55));
}
.yt__play svg {
  width: 68px; height: 48px;
  display: block;
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__body { padding: 1.1rem 1.25rem 1.35rem; }
.vcard__body h3 { color: var(--tx-hi); font-size: .97rem; line-height: 1.42; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.vcard__kind { display: block; font-size: .715rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.chip {
  padding: .58rem 1.05rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-d-2); color: var(--tx);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chip:hover { background: rgba(209, 10, 17, .07); color: var(--tx-ink); }
.chip[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip small { opacity: .7; margin-left: .3rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r);
  padding: 0 1.35rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--line-l-2); box-shadow: var(--sh-1); }
.sec-dark .faq details, .sec-dark-2 .faq details { background: var(--ink-2); border-color: var(--line-d); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 800; font-size: var(--t-sub); letter-spacing: -.01em;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
}
.faq summary:active,
.faq summary:focus {
  background: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-2px); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__a { padding-bottom: 1.3rem; color: var(--tx-ink-2); }
.sec-dark .faq__a, .sec-dark-2 .faq__a { color: var(--tx-dim); }
.faq__a > * + * { margin-top: .8rem; }

/* ==========================================================================
   CTA + FORM — czerwono-czarny pas (ten sam na każdej stronie)
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 120% at 92% 8%, rgba(255, 138, 0, .22), transparent 62%),
    radial-gradient(80% 70% at 8% 100%, rgba(209, 10, 17, .28), transparent 55%),
    linear-gradient(115deg, #16070a 0%, #2a0508 42%, var(--brand-600) 100%);
  color: #fff;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 120% at 92% 8%, rgba(255, 255, 255, .12), transparent 62%);
}
.cta::after {
  content: ""; position: absolute; inset: auto -10% -36% 48%; z-index: -1; pointer-events: none;
  height: 62%;
  background: radial-gradient(closest-side, rgba(209, 10, 17, .35), transparent 72%);
}
.cta__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .78); }
.cta .eyebrow { color: #ffb4b7; }
.cta .lead { color: rgba(255, 255, 255, .78); margin-top: 1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.cta .btn { --btn-bg: var(--brand); --btn-fg: #fff; }
.cta .btn:hover { --btn-bg: var(--brand-600); box-shadow: var(--sh-red); }
.cta .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .28); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.cta__phone { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--f-display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; color: #fff; letter-spacing: -.02em; transition: color .18s var(--ease); }
.cta__phone:hover { color: #ffb4b7; }
.cta__phone svg { width: 1.05em; height: 1.05em; color: var(--brand-300); }
.cta__aside { margin-top: 1rem; font-size: .92rem; color: rgba(255, 255, 255, .62); }
.cta__aside a { text-decoration: underline; text-underline-offset: 2px; color: rgba(255, 255, 255, .88); }
.cta__aside a:hover { color: #fff; }

.form { display: grid; gap: 1rem; }
.cta .form {
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  border-radius: var(--r-lg);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .04) 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 18px 40px -24px rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field > span { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tx-ink-2); }
.cta .field > span { color: rgba(255, 255, 255, .7); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; font: inherit; font-size: .95rem; color: var(--tx-ink);
  background: #fff; border: 1px solid var(--line-l-2); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.cta .field input,
.cta .field select,
.cta .field textarea {
  color: #161616;
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .22);
}
.cta .field input::placeholder,
.cta .field textarea::placeholder { color: #8a8a8e; }
.cta .field select {
  color-scheme: light;
  background-image: linear-gradient(45deg, transparent 50%, #575656 50%),
    linear-gradient(135deg, #575656 50%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .94));
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px), 0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
}
.cta .field select option { color: #161616; background: #fff; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(209, 10, 17, .18);
}
.cta .field input:focus,
.cta .field select:focus,
.cta .field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(209, 10, 17, .22);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d92d20; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: .15rem;
}
.form-privacy__i {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: .05rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .85;
  transition: opacity .16s var(--ease), transform .16s var(--ease), background .16s var(--ease);
}
.form-privacy__i svg { width: 1.2rem; height: 1.2rem; display: block; }
.form-privacy__i:hover,
.form-privacy__i:focus-visible {
  opacity: 1;
  background: rgba(209, 10, 17, .12);
  outline: 0;
}
.cta .form-privacy__i:hover,
.cta .form-privacy__i:focus-visible { background: rgba(255, 255, 255, .14); }
.form-privacy__text {
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--tx-ink-2);
}
.cta .form-privacy__text { color: rgba(255, 255, 255, .62); }
.form-privacy__text a { text-decoration: underline; text-underline-offset: 2px; }
.cta .form-privacy__text a { color: #fff; }
.cta .form-privacy__i { color: rgba(255, 255, 255, .9); }
.form-privacy__dlg {
  width: min(36rem, calc(100vw - 2rem));
  max-height: min(70vh, 28rem);
  margin: auto;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 0;
  border-radius: var(--r);
  background: #fff;
  color: #161616;
  box-shadow: 0 24px 64px -28px rgba(0, 0, 0, .55);
  position: relative;
}
.form-privacy__dlg::backdrop { background: rgba(12, 12, 14, .48); }
.form-privacy__dlg p { margin: 0; padding-right: 1.6rem; font-size: .92rem; line-height: 1.55; }
.form-privacy__dlg a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy__x {
  position: absolute;
  top: .45rem;
  right: .5rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #575656;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.form-privacy__x:hover { color: #161616; }
.form__note { font-size: .76rem; color: var(--tx-ink-2); }
.cta .form__note { color: rgba(255, 255, 255, .5); }
.form__msg { padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .9rem; display: none; }
.form__msg.is-ok { display: block; background: rgba(22, 163, 74, .1); border: 1px solid rgba(22, 163, 74, .35); color: #166534; }
.form__msg.is-err { display: block; background: rgba(217, 45, 32, .1); border: 1px solid rgba(217, 45, 32, .35); color: #991b1b; }
.cta .form__msg.is-ok { background: rgba(22, 163, 74, .18); border-color: rgba(22, 163, 74, .45); color: #bbf7d0; }
.cta .form__msg.is-err { background: rgba(217, 45, 32, .18); border-color: rgba(217, 45, 32, .45); color: #fecaca; }
.hp { position: absolute; left: -9999px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.info { display: grid; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); container-type: inline-size; }
.info:has(> .info__i:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info:has(> .info__i:nth-child(3):last-child) { grid-template-columns: 1fr; }
.info:has(> .info__i:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info:has(> .info__i:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@container (min-width: 720px) {
  .info:has(> .info__i:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .info:has(> .info__i:nth-child(2):last-child),
  .info:has(> .info__i:nth-child(4):last-child),
  .info:has(> .info__i:nth-child(6):last-child) { grid-template-columns: 1fr; }
}
.info__i { background: var(--paper); padding: 1.5rem 1.6rem; }
.info__i h3 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .8rem; }
.info__i p, .info__i a { font-size: .97rem; color: var(--tx); line-height: 1.6; }
.info__i a { display: block; transition: color .16s var(--ease); }
.info__i a:hover { color: var(--brand); }
.info__i strong { color: var(--tx-hi); }

.info--light { background: var(--line-l); border-color: var(--line-l); }
.info--light .info__i { background: var(--paper); }
.info--light .info__i h3 { color: var(--brand-600); }
.info--light .info__i p, .info--light .info__i a { color: var(--tx-ink-2); }
.info--light .info__i a:hover { color: var(--brand-600); }
.info--light .info__i strong { color: var(--tx-ink); }

/* contact page */
.contact-list { list-style: none; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 19px; height: 19px; flex: none; margin-top: .22rem; color: var(--brand); }
.contact-list a { display: block; font-size: 1.02rem; line-height: 1.5; color: var(--tx-ink); transition: color .16s var(--ease); }
.contact-list a:hover { color: var(--brand-600); }
.contact-list span > a + a { margin-top: .2rem; }
.contact-people--top {
  padding-top: clamp(2.2rem, 4.5vw, 3.4rem);
  padding-bottom: clamp(2.2rem, 4.5vw, 3.4rem);
}
.contact-people { padding-block: clamp(2.2rem, 4.2vw, 3.2rem); }
.contact-cards .pcard--contact {
  background:
    linear-gradient(165deg, rgba(209, 10, 17, .05), transparent 42%),
    var(--paper);
  border-color: var(--line-l);
  color: var(--tx);
  min-height: 100%;
}
.contact-cards .pcard--contact h3 { color: var(--tx-ink); }
.contact-cards .pcard--contact a { color: var(--tx-ink-2); }
.contact-cards .pcard--contact a:hover { color: var(--brand); }
.contact-place__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 3.5vw, 2.8rem);
  align-items: start;
}
.contact-place__copy .contact-list { margin-top: 1.35rem; }
.reg-box {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  background: var(--paper);
}
.reg-box .eyebrow { margin-bottom: .55rem; }
.reg-lines {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--tx-ink-2);
  font-variant-numeric: tabular-nums;
}
.contact-place__note { margin-top: .7rem; font-size: .85rem; }
.map--tall iframe { height: clamp(340px, 48vw, 520px); }
@media (max-width: 900px) {
  .contact-place__grid { grid-template-columns: 1fr; }
}

.pcard {
  display: flex; flex-direction: column; gap: .55rem;
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.pcard:hover { border-color: rgba(209, 10, 17, .28); transform: translateY(-4px); }
.pcard__role { font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.pcard h3 { font-size: 1.1rem; color: var(--tx-hi); }
.pcard ul { list-style: none; display: grid; gap: .42rem; margin-top: .5rem; }
.pcard a { font-size: .93rem; color: var(--tx); word-break: break-word; transition: color .16s var(--ease); }
.pcard a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.pcard--alt { background: linear-gradient(150deg, rgba(209, 10, 17, .06), var(--paper) 62%); border-color: rgba(209, 10, 17, .22); }
.contact-cards > .pcard.pcard--contact {
  gap: .45rem;
  padding: 1rem 1.15rem 1.15rem;
}
.contact-cards > .pcard.pcard--contact .pcard__role {
  height: auto;
  display: block;
  line-height: 1.32;
  font-size: .88rem;
}
.contact-cards > .pcard.pcard--contact h3 {
  margin: 0;
  white-space: nowrap;
}
.contact-cards > .pcard.pcard--contact ul { margin-top: 0; }
@media (min-width: 901px) {
  .contact-cards {
    grid-template-rows: auto auto 1fr;
    align-items: stretch;
  }
  .contact-cards > .pcard.pcard--contact {
    display: grid !important;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-items: start;
  }
}
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .contact-cards > .pcard.pcard--contact {
      grid-template-rows: auto auto 1fr;
      grid-row: auto;
    }
    .contact-cards > .pcard.pcard--contact .pcard__role {
      min-height: 3.6rem;
    }
  }
}
@media (max-width: 900px) {
  .contact-cards > .pcard.pcard--contact {
    display: flex !important;
    grid-template-rows: none;
    grid-row: auto;
  }
  .contact-cards > .pcard.pcard--contact h3 { white-space: normal; }
}

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-l); box-shadow: var(--sh-1); }
.map iframe { width: 100%; height: clamp(300px, 45vw, 460px); border: 0; display: block; }

/* ==========================================================================
   TABLE
   ========================================================================== */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-l); border-radius: var(--r); background: var(--paper); }
.sec-dark .tbl-wrap, .sec-dark-2 .tbl-wrap { border-color: var(--line-d); background: var(--ink-2); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 460px; }
table.tbl th, table.tbl td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-l); }
.sec-dark table.tbl th, .sec-dark table.tbl td, .sec-dark-2 table.tbl th, .sec-dark-2 table.tbl td { border-color: var(--line-d); }
table.tbl thead th { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--tx-ink-2); background: var(--paper-2); }
.sec-dark table.tbl thead th, .sec-dark-2 table.tbl thead th { color: var(--tx-dim); background: rgba(255, 255, 255, .04); }
table.tbl tbody tr:last-child th, table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody th { font-weight: 600; }

/* ==========================================================================
   PROSE
   ========================================================================== */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-top: 2.6rem; }
.prose h3 { font-size: clamp(1.1rem, 1.7vw, 1.32rem); margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose ul.ticks, .prose ol.ticks { padding-left: 0; }
.prose li { padding-left: .2rem; }
a.st-link,
a[data-st-link] {
  color: var(--brand) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness .15s;
}
a.st-link:hover,
a[data-st-link]:hover { text-decoration-thickness: 2px; }
.prose a:not(.btn):not(.arrow-link) { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:not(.btn):not(.arrow-link):hover { text-decoration-thickness: 2px; }
.sec-dark .prose a:not(.btn):not(.arrow-link), .sec-dark-2 .prose a:not(.btn):not(.arrow-link) { color: var(--brand); }
.prose strong { font-weight: 700; color: var(--tx-ink); }
.sec-dark .prose strong, .sec-dark-2 .prose strong { color: var(--tx-hi); }

/* ==========================================================================
   ABOUT — intro / proof / caps / partners (Induset-inspired, SMOLTECH brand)
   ========================================================================== */
.about-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.4rem, 7.5vw, 6.2rem);
  background:
    radial-gradient(50% 40% at 100% 0%, rgba(209, 10, 17, .06), transparent 60%),
    linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
.about-intro::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(rgba(87, 86, 86, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 86, 86, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 20%, transparent 78%);
}
.about-intro > .wrap { position: relative; z-index: 1; }
.about-intro__in {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(1.8rem, 4.5vw, 4rem);
  align-items: center;
}
.about-intro__media {
  margin: 0;
  position: relative;
  border-radius: calc(var(--r-lg) + 6px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  max-height: 520px;
  min-width: 0;
  background: #1a1214;
  box-shadow:
    0 0 0 1px rgba(87, 86, 86, .08),
    0 28px 56px -30px rgba(22, 22, 22, .35);
}
.about-intro__media::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 9, .35));
  pointer-events: none;
  z-index: 1;
}
.about-intro__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.about-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 42% 48%;
  transition: transform 1s var(--ease);
  transform: scale(calc(var(--st-z, 1) * var(--st-hover, 1)));
}
.about-intro__media:hover img { --st-hover: 1.07; transform: scale(calc(var(--st-z, 1) * 1.07)); }
.about-intro__copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.about-intro__copy .eyebrow { margin: 0; }
.about-intro__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  letter-spacing: -.03em;
  color: var(--tx-ink);
}
.about-intro__copy p {
  margin: 0;
  font-size: clamp(1.01rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  color: var(--tx);
  max-width: 58ch;
}
.about-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .55rem;
}
@media (max-width: 900px) {
  .about-intro__in { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-intro__media {
    aspect-ratio: 16 / 11;
    max-height: 360px;
    order: -1;
  }
}

.proof {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 90% at 92% 12%, rgba(209, 10, 17, .22), transparent 58%),
    radial-gradient(55% 70% at 8% 88%, rgba(255, 138, 0, .08), transparent 55%),
    linear-gradient(165deg, #120608 0%, #0c0c0e 48%, #101012 100%);
  color: rgba(255, 255, 255, .86);
  padding-block: clamp(3.2rem, 7vw, 5.6rem);
  border-top: 3px solid var(--brand);
}
.proof::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 10%, transparent 72%);
}
.proof__in {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 3.8rem);
  align-items: center;
}
.proof__copy { display: grid; gap: 1.35rem; }
.proof__eyebrow { color: var(--brand-300) !important; }
.proof__lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
  max-width: 36ch;
}
.proof__stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.3rem) clamp(1.2rem, 2.6vw, 2rem);
  margin: .4rem 0 0;
  padding: 0;
}
.proof__i {
  display: grid;
  gap: .42rem;
  align-content: start;
  padding-top: .55rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .25s var(--ease);
}
.proof__i:hover { border-top-color: rgba(226, 36, 43, .9); }
.proof__ico {
  width: 2rem; height: 2rem;
  color: var(--brand-300);
  opacity: .95;
}
.proof__ico svg, .proof__ico img { width: 100%; height: 100%; display: block; object-fit: contain; }
.proof__ico:empty { display: none; }
.proof__n {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
  color: #fff;
}
.proof__n span:not([style*="color"]) { color: var(--brand-300); margin-left: .06em; }
.proof__n span[style*="color"] {
  -webkit-text-fill-color: currentColor;
}
.proof__n [style*="color"] span:not([style*="color"]),
.proof__n[style*="color"] span:not([style*="color"]) { color: inherit; }
.proof__l {
  font-size: .88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .58);
  max-width: 16ch;
}
.proof__media {
  margin: 0;
  position: relative;
  border-radius: calc(var(--r-lg) + 6px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  max-height: 520px;
  min-width: 0;
  background: #1a0a0c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 32px 64px -28px rgba(0, 0, 0, .7);
}
.proof__media::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  z-index: 1;
  background: linear-gradient(145deg, rgba(209, 10, 17, .16), transparent 45%);
}
.proof__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.proof__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 38% 48%;
  transition: transform .8s var(--ease);
  transform: scale(calc(var(--st-z, 1) * var(--st-hover, 1)));
}
.proof__media:hover img { --st-hover: 1.07; transform: scale(calc(var(--st-z, 1) * 1.07)); }
@media (max-width: 900px) {
  .proof__in { grid-template-columns: 1fr; }
  .proof__media {
    order: -1;
    aspect-ratio: 16 / 11;
    max-height: 320px;
  }
  .proof__lead { max-width: none; }
  .proof__l { max-width: none; }
}

.about-caps {
  position: relative;
  padding-block: clamp(3.2rem, 7vw, 5.4rem);
  background:
    radial-gradient(45% 40% at 0% 100%, rgba(209, 10, 17, .05), transparent 55%),
    var(--paper);
}
.about-caps .sec-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.about-dirs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--sh-1);
}
.about-dir {
  position: relative;
  background: transparent;
  padding: clamp(1.5rem, 2.8vw, 2.1rem) clamp(1.15rem, 2vw, 1.55rem);
  display: grid;
  gap: .55rem;
  align-content: start;
  border-right: 1px solid var(--line-l);
  transition: background .25s var(--ease);
}
.about-dir:last-child { border-right: 0; }
.about-dir::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.about-dir:hover { background: #fffaf9; }
.about-dir:hover::before { transform: scaleX(1); }
.about-dir__ico {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(209, 10, 17, .08);
  color: var(--brand);
  margin-bottom: .15rem;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.about-dir__ico svg, .about-dir__ico img { width: 1.55rem; height: 1.55rem; display: block; object-fit: contain; }
.about-dir__ico:empty { display: none; }
.about-dir:hover .about-dir__ico {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.about-dir__n {
  font-family: var(--f-display);
  font-size: var(--t-kicker);
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--brand);
}
.about-dir h3 {
  font-size: var(--t-sub);
  font-weight: 800;
  line-height: 1.25;
  color: var(--tx-ink);
  letter-spacing: -.02em;
}
.about-dir p {
  font-size: var(--t-body);
  color: var(--tx);
  line-height: 1.55;
}
.about-dir .ticks {
  margin-top: .15rem;
  gap: .48rem;
}
.about-dir .ticks li {
  font-size: var(--t-body);
  color: var(--tx);
  line-height: 1.55;
}
.about-dir ol {
  margin: .2rem 0 0;
  padding-left: 1.25em;
  display: grid;
  gap: .48rem;
  font-size: var(--t-body);
  color: var(--tx);
  line-height: 1.55;
}
.about-dir .arrow-link { margin-top: .15rem; }
@media (max-width: 980px) {
  .about-dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-dir:nth-child(2n) { border-right: 0; }
  .about-dir:nth-child(-n+2) { border-bottom: 1px solid var(--line-l); }
}
@media (max-width: 560px) {
  .about-dirs { grid-template-columns: 1fr; }
  .about-dir { border-right: 0; border-bottom: 1px solid var(--line-l); }
  .about-dir:last-child { border-bottom: 0; }
}

.about-clients {
  padding-block: 0 clamp(2.4rem, 5vw, 3.6rem);
  background: var(--paper);
}
.about-clients .sec-head { margin-bottom: clamp(1.3rem, 2.8vw, 2rem); }
.client-wall {
  list-style: none;
  margin: 0;
  padding: clamp(.65rem, 1.4vw, 1rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .4rem .5rem;
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}
.client-wall li {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 4.5rem;
  padding: .2rem .12rem;
}
.client-wall img {
  display: block;
  width: auto;
  max-width: 88%;
  height: 3.45rem;
  object-fit: contain;
}
@media (max-width: 900px) {
  .client-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem .5rem; }
  .client-wall li { min-height: 4.2rem; }
  .client-wall img { height: 3.2rem; }
}
@media (max-width: 560px) {
  .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .4rem; }
  .client-wall li { min-height: 3.8rem; }
  .client-wall img { height: 2.9rem; }
}

.logos--about {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.about-partners {
  padding-block: 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.about-partners .sec-head { margin-bottom: clamp(1.4rem, 3vw, 2.1rem); }
.partners {
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: clamp(1.7rem, 3.4vw, 2.5rem) clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: var(--sh-1);
  text-align: center;
}
.partners__label {
  margin: 0 0 clamp(1.2rem, 2.6vw, 1.7rem);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tx-ink);
  font-family: var(--f-body);
}
.partners__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
  justify-items: center;
}
.partners__list li {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 5.2rem;
  padding: .7rem .85rem;
  border-radius: var(--r-sm);
  transition: background .22s var(--ease);
}
.partners__list li:hover { background: rgba(244, 244, 245, .9); }
.partners__list img {
  display: block;
  width: auto;
  max-width: min(100%, 11rem);
  max-height: 4.2rem;
  height: auto;
  object-fit: contain;
  filter: grayscale(.12) contrast(1.02);
  opacity: .9;
  transition: opacity .22s var(--ease), filter .22s var(--ease), transform .22s var(--ease);
}
.partners__list li:hover img {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}
.partners--rich {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.25rem);
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.partners__card {
  position: relative;
  display: grid;
  gap: .85rem;
  align-content: start;
  justify-items: center;
  text-align: center;
  min-height: 100%;
  padding: clamp(1.2rem, 2.4vw, 1.55rem);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-1);
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.partners__card:hover {
  border-color: rgba(209, 10, 17, .28);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.partners__badge { display: none; }
.partners__card picture,
.partners__card img {
  display: block;
  width: auto;
  max-width: min(100%, 10.5rem);
  max-height: 3.6rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: grayscale(.08);
  transition: filter .22s var(--ease);
}
.partners__card:hover img { filter: none; }
.partners__card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--tx-ink-2);
  max-width: 28ch;
}
img.is-slot { display: none; }
[data-st-builder] img.is-slot {
  display: block;
  object-fit: contain;
  background:
    repeating-linear-gradient(-45deg, rgba(141, 16, 24, .05) 0 8px, transparent 8px 16px),
    #f4f4f5;
  border: 2px dashed rgba(141, 16, 24, .55);
  box-sizing: border-box;
}
.hero--page .hero__bg:has(img.is-slot) { z-index: 0; }
.hero--page .hero__in { position: relative; z-index: 1; }
.hero--page .hero__bg img.is-slot {
  position: absolute;
  top: 10%;
  right: 4%;
  bottom: auto;
  left: auto;
  width: min(42%, 26rem);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  object-position: right center;
}
[data-st-builder] .hero--page .hero__bg img.is-slot {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .08);
}
@media (max-width: 980px) {
  .partners--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .partners__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 560px) {
  .partners--rich { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .partners__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   404
   ========================================================================== */
.nf { padding-block: clamp(3.4rem, 8vw, 7rem); }
.nf__code {
  font-family: var(--f-display); font-weight: 800; line-height: .82;
  font-size: clamp(5.5rem, 20vw, 13rem);
  background: linear-gradient(96deg, var(--heat-2), var(--heat-1) 42%, var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.1rem;
}
.nf__in h1 { margin-bottom: 1rem; }
.nf__in .lead { max-width: 56ch; }
.nf__links { display: grid; gap: .7rem; margin-top: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.nf__link {
  display: grid; gap: .3rem; padding: 1.05rem 1.2rem;
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r);
  border-left: 3px solid var(--brand);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nf__link:hover { background: rgba(209, 10, 17, .05); transform: translateX(4px); }
.nf__link span { font-weight: 700; color: var(--tx-hi); font-size: .98rem; }
.nf__link em { font-style: normal; font-size: .85rem; color: var(--tx-dim); line-height: 1.5; }
.nf__foot { margin-top: clamp(2rem, 4vw, 2.8rem); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { background: #0c0c0e; color: rgba(255, 255, 255, .55); border-top: none; }
.ftr__grid {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(min(220px, 100%), 1.35fr) minmax(min(170px, 100%), .95fr) minmax(min(150px, 100%), .8fr) minmax(min(210px, 100%), 1fr);
  padding-block: clamp(2.2rem, 5.5vw, 4.4rem);
  align-items: start;
}
.ftr__brand .brand { margin-bottom: 1.2rem; margin-right: 0; }
.ftr__brand .brand__logo,
.brand__logo--ftr {
  height: 80px;
  max-width: min(176px, 48vw);
  filter: none;
  object-position: left center;
}
@media (max-width: 560px) {
  .ftr__brand .brand__logo,
  .brand__logo--ftr { height: 64px; max-width: min(142px, 52vw); }
}
.ftr__brand p { font-size: .9rem; line-height: 1.65; max-width: 38ch; color: rgba(255, 255, 255, .58); }
.ftr h2, .ftr h3, .ftr .ftr__h { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-family: var(--f-body); }
.ftr ul { list-style: none; display: grid; gap: .55rem; font-size: .9rem; }
.ftr a { transition: color .16s var(--ease); color: rgba(255, 255, 255, .62); }
.ftr a:hover { color: var(--brand-300); }
.ftr__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.ftr__contact svg { width: 15px; height: 15px; flex: none; margin-top: .28rem; color: var(--brand-300); }
.ftr__contact span a { display: block; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: 1.4rem; font-size: .82rem; color: rgba(255, 255, 255, .4); }
.ftr__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.ftr__social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75);
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.ftr__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.ftr__social svg { width: 19px; height: 19px; }
.ftr > .wrap:has(.ftr__bar) {
  max-width: none;
  background: #08080a;
  color: rgba(255, 255, 255, .45);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.ftr__bar {
  max-width: var(--wrap);
  margin-inline: auto;
  border-top: none;
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}
.ftr__bar a { color: rgba(255, 255, 255, .55); }
.ftr__bar a:hover { color: var(--brand-300); }
.ftr__bar ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

@media (max-width: 1080px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand,
  .ftr__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .ftr { padding-bottom: .25rem; }
  .ftr__grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding-block: 1.8rem 1.25rem;
  }
  .ftr__brand,
  .ftr__col--contact,
  .ftr__col--prod,
  .ftr__col--comp {
    grid-column: auto;
    min-width: 0;
  }
  .ftr__brand { order: 1; }
  .ftr__col { padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
  .ftr__col--contact { order: 2; }
  .ftr__col--prod { order: 3; }
  .ftr__col--comp { order: 4; }
  .ftr__brand .brand { margin-bottom: .85rem; }
  .ftr__brand p { max-width: none; font-size: .88rem; }
  .ftr h2, .ftr .ftr__h { margin-bottom: .55rem; }
  .ftr ul { gap: 0; }
  .ftr nav a,
  .ftr__bar a {
    display: flex; align-items: center;
    min-height: 44px; padding: .2rem 0;
    font-size: .94rem; line-height: 1.35;
    overflow-wrap: break-word;
  }
  .ftr__contact li { align-items: flex-start; padding-block: .15rem; }
  .ftr__contact span { min-width: 0; }
  .ftr__contact span a { min-height: 44px; display: flex; align-items: center; font-size: 1.02rem; }
  .ftr__legal { margin-top: .95rem; gap: .25rem .85rem; }
  .ftr__bar {
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: .2rem; padding-block: 1rem 1.15rem;
  }
  .ftr__bar ul { flex-direction: column; gap: 0; width: 100%; }
  .ftr__bar p { line-height: 1.55; max-width: none; }
}

/* sticky mobile action bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-d);
  padding: .55rem calc(var(--gut) / 2) calc(.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  box-shadow: 0 -8px 24px -16px rgba(22, 22, 22, .18);
}
.mbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem .6rem; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--paper-2); color: var(--tx-ink); border: 1px solid var(--line-d);
}
.mbar a.is-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.mbar svg { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .mbar { display: grid; }
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
}

.totop {
  position: fixed; right: clamp(.9rem, 2vw, 1.6rem); bottom: clamp(.9rem, 2vw, 1.6rem); z-index: 94;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--brand); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: var(--sh-red); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .2s var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--brand-600); }
.totop svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .totop { bottom: 80px; } }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.has-rv .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.has-rv .rv.is-in { opacity: 1; transform: none; }
.has-rv .rv-d1 { transition-delay: .08s; }
.has-rv .rv-d2 { transition-delay: .16s; }
.has-rv .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .has-rv .rv { opacity: 1; transform: none; transition: none; }
  .area, .card, .tile, .vcard, .btn, .logos__track { transition: none; }
  .stud-partner__media img,
  .stud-svc__shot,
  .showcase-intro__media img,
  .mach { transition: none; }
  .stud-partner__media:hover img,
  .showcase-intro__media:hover img,
  .about-intro__media:hover img,
  .proof__media:hover img,
  .frame:hover img,
  .mach:hover { transform: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .hdr, .topbar, .mbar, .totop, .drawer, .cta, .yt, .crumbs { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .sec { padding-block: 1rem; }
  .sec-dark, .sec-dark-2 { background: #fff !important; color: #000 !important; }
  .logos { -webkit-mask-image: none; mask-image: none; }
  .logos.is-marquee .logos__track { animation: none; flex-wrap: wrap; width: auto; }
  .logos__item--clone { display: none; }
}

/* ==========================================================================
   TYPE SCALE — nagłówek / podnagłówek / treść / treść mała
   ========================================================================== */
h1, h2,
.h-xl, .h-lg, .h-md, .h-sm,
.hero h1,
.hero:not(.hero--page) h1,
main > section:first-of-type:not(.hero) .sec-head h1,
main > section:first-of-type:not(.hero) .prose > h1,
.prose h2,
.about-intro__copy h2,
.split__intro h2,
.showcase-intro__copy h2,
.stud-partner__copy h2,
.stud-svc__copy h2,
.stud-stage__copy h2 {
  font-size: var(--t-head);
}

h3, h4, h5,
.area__body h3,
.tile__body h3,
.card__body h3,
.spec__body h3,
.mach__body h3,
.vcard__body h3,
.steps h3,
.proc h3,
.prose h3,
.pcard h3,
.about-dir h3,
.faq summary,
.model-strip__name,
.param-matrix__head,
.specs-dark h3 {
  font-size: var(--t-sub);
}

p,
.lead,
.hero__sub,
.hero:not(.hero--page) .hero__sub,
main > section:first-of-type:not(.hero) .sec-head .lead,
.area__body p,
.tile__body p,
.card__body p,
.spec__body p,
.choice__card p,
.mach__body p,
.mach__body .ticks li,
.specs-dark p,
.steps p,
.proc p,
.area .ticks li,
.faq__a,
.cta__aside,
.info__i p,
.info__i a,
.contact-list a,
.pcard a,
.ftr__brand p,
.ftr__contact span a,
.proof__lead,
.about-intro__copy p,
.about-dir p,
.about-dir .ticks li,
.about-dir ol,
.split__body p,
.showcase-intro__copy .lead,
.stud-partner__copy .lead,
.stud-svc__copy .lead,
.stud-stage__copy .lead,
.nf__in .lead,
.nf__link span,
.param-matrix__cell,
.partners__card p {
  font-size: var(--t-body);
}

.eyebrow,
.hero .eyebrow,
main > section:first-of-type .eyebrow,
.tag,
.tile__no,
.area__no,
.vcard__kind,
.pcard__role,
.info__i h3,
.ftr h2, .ftr h3, .ftr .ftr__h,
.card__tag,
.field > span,
table.tbl thead th,
.about-dir__n,
.stats__l,
.proof__l,
.param-matrix__label,
.btn, .btn-sm, .btn-lg, .arrow-link, .area__pick-btn,
.topbar, .topbar li, .topbar a, .lang__btn,
.mega__ds,
.drawer__brand, .drawer a, .drawer__meta,
.crumbs ol, .crumbs li, .crumbs a,
.chip, .chips,
.gal figcaption,
.consent, .form__note, .form__msg,
.contact-place__note,
.ftr ul, .ftr li,
.ftr__legal,
.mbar, .mbar a, .skip,
.nf__link em {
  font-size: var(--t-small);
}

.stats__n,
.proof__n {
  font-size: var(--t-stat);
}
.cta__phone {
  font-size: var(--t-head);
}

input, select, textarea {
  font-size: var(--t-small);
}
table.tbl {
  font-size: var(--t-body);
}

/* ==========================================================================
   FLUID — phone, tablet, zoom > 100%, short viewports
   ========================================================================== */
img, video, iframe, embed, object { max-width: 100%; }
h1, h2, h3, h4, p, li, a, td, th, label, dt, dd {
  overflow-wrap: break-word;
}
.btn, .mbar a, .drawer__link, .drawer__toggle, .lang__btn, .burger, .totop {
  touch-action: manipulation;
}

@media (hover: none) {
  .btn:hover,
  .area:hover,
  .tile:hover,
  .card:hover,
  .vcard:hover,
  .group-card:hover,
  .pcard:hover,
  .mach:hover,
  .nf__link:hover,
  .choice__card:hover,
  .partners__card:hover { transform: none; box-shadow: none; }
  .tile:hover::before,
  .about-dir:hover::before { transform: none; }
  .btn-ghost:hover,
  .area__menu a:hover,
  .nf__link:hover,
  .chip:hover,
  .partners__list li:hover,
  .about-dir:hover { background: transparent; }
}

/* Zoomed desktop / burger layout: compact chrome */
@media (max-width: 1279px) {
  :root { --hdr: 72px; }
  .hdr .brand__logo,
  .drawer .brand__logo {
    height: 52px;
    max-width: min(124px, 42vw);
  }
  .lang {
    gap: 0;
    padding: 2px;
    background: var(--paper);
  }
  .lang__btn {
    width: 40px;
    height: 40px;
    padding: 6px;
  }
  .lang__btn svg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }
  .drawer__close {
    width: var(--tap);
    height: var(--tap);
  }
  .drawer {
    padding-top: var(--safe-t);
    padding-left: var(--safe-l);
    padding-right: var(--safe-r);
  }
  .drawer .drawer__link,
  .drawer .drawer__toggle {
    font-size: var(--t-body);
    min-height: var(--tap);
    padding-block: .85rem;
  }
  .drawer .drawer__sub a {
    font-size: var(--t-small);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .drawer .drawer__meta a {
    min-height: 44px;
    font-size: var(--t-small);
  }
  .drawer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }
  .drawer__meta a {
    min-height: 44px;
    font-size: var(--t-small);
  }
  .drawer__foot .btn {
    width: 100%;
    min-height: 48px;
    font-size: var(--t-small);
  }
  .drawer__body {
    padding-bottom: calc(1.6rem + var(--safe-b));
  }
}

@media (max-width: 900px) {
  :root {
    --hdr: 64px;
    --gut: clamp(.95rem, 4.4vw, 1.35rem);
    --t-head: clamp(1.38rem, 1.12rem + 2.6vw, 1.85rem);
    --t-sub: clamp(1.02rem, .95rem + .5vw, 1.16rem);
    --t-body: clamp(.95rem, .9rem + .35vw, 1.04rem);
    --t-small: .8125rem;
    --t-stat: clamp(1.28rem, 1.1rem + 1.2vw, 1.55rem);
  }
  html, body, main {
    max-width: 100%;
    overflow-x: clip;
  }
  .wrap {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .sec { padding-block: clamp(1.5rem, 4.2vw, 2.3rem); }
  .sec-tight { padding-block: clamp(1.2rem, 3.4vw, 1.9rem); }
  .sec + .sec, .hero + .sec { padding-top: clamp(1.05rem, 3vw, 1.55rem); }
  .sec-head { margin-bottom: 1.1rem; }
  .hero:not(.hero--page) {
    min-height: 0;
    height: auto;
  }
  .hero:not(.hero--page) .hero__in {
    padding-block: clamp(1.25rem, 4.2vw, 2.1rem) clamp(1.35rem, 4.5vw, 2.2rem);
  }
  .hero--page .hero__in,
  .hero--short .hero__in,
  .hero--about .hero__in {
    padding-block: clamp(1.5rem, 5vw, 2.6rem);
  }
  .hero h1,
  .hero.hero--emerge h1 {
    margin-block: .28rem .45rem;
    line-height: 1.2;
    text-wrap: wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .hero__sub,
  .hero--emerge .hero__sub {
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero__btns {
    gap: .65rem;
    margin-top: 1.15rem;
  }
  .hero__btns .btn {
    min-height: 48px;
    white-space: normal;
    text-align: center;
    font-size: .78rem;
    letter-spacing: .045em;
    padding-inline: 1.1rem;
  }
  .stats {
    margin-top: 1.25rem;
  }
  .stats__i { padding: 1rem .85rem .95rem; }
  .stats__l {
    min-height: 0;
    font-size: .75rem;
    max-width: none;
  }
  .stats__n {
    margin-top: .55rem;
    white-space: nowrap;
  }
  .cta__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    min-width: 0;
  }
  .cta, .cta .form {
    min-width: 0;
    max-width: 100%;
  }
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.2rem;
  }
  .cta__actions .btn,
  .cta .form .btn { width: 100%; min-height: 48px; }
  .cta__phone { word-break: break-word; }
  .field input,
  .field select,
  .field textarea,
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px;
    max-width: 100%;
  }
  .consent input { width: 22px; height: 22px; }
  .area__body,
  .tile__body,
  .card__body { padding: 1.2rem 1.1rem 1.35rem; }
  .pcard { padding: 1.15rem 1.1rem 1.25rem; }
  .hero.hero--video .hero__in {
    margin-top: 0;
    padding-top: 1.15rem;
    padding-bottom: clamp(1.2rem, 4vw, 1.8rem);
    background: #0a0c10;
  }
  .hero .eyebrow {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline-start: 0;
    flex-wrap: wrap;
    white-space: normal;
    box-sizing: border-box;
    row-gap: .15rem;
    overflow-wrap: anywhere;
  }
  .hero__max,
  .hero--emerge .hero__max,
  .hero h1,
  .hero__sub {
    min-width: 0;
    max-width: 100%;
  }
  .hero,
  .hero__in,
  .hero__max,
  .hero__below,
  .hero__btns,
  .hero__bg,
  .hero__emerge {
    max-width: 100%;
    min-width: 0;
  }
  .hero--video .hero__video {
    min-width: 0;
    min-height: 0;
  }
  .hero.hero--emerge {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
  .hero.hero--emerge .hero__emerge {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
    max-width: 100%;
    height: min(16rem, 32svh);
    min-height: 12rem;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero.hero--emerge .hero__emerge picture,
  .hero.hero--emerge .hero__emerge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 38%;
    transform: none;
  }
  .hero.hero--emerge .hero__in {
    padding-block: 1.35rem 1.55rem;
  }
  .hero.hero--emerge::before {
    display: none;
  }
  .hero.hero--emerge-cut .hero__emerge {
    background: #0c0103;
  }
  .hero.hero--emerge-cut .hero__emerge img {
    object-fit: contain;
    object-position: center 55%;
    mix-blend-mode: multiply;
  }
}

@media (max-width: 700px) {
  :root {
    --mbar-h: calc(4.55rem + var(--safe-b));
    --hdr: 60px;
  }
  .hero .stats,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mbar {
    display: grid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .5rem max(var(--gut), var(--safe-r)) calc(.5rem + var(--safe-b)) max(var(--gut), var(--safe-l));
    gap: .45rem;
  }
  .mbar a {
    min-width: 0;
    min-height: 48px;
    padding: .7rem .4rem;
    font-size: var(--t-small);
    letter-spacing: .03em;
    white-space: nowrap;
    overflow: hidden;
  }
  body { padding-bottom: var(--mbar-h); }
  .totop { display: none; }
  .hero:not(.hero--page) .hero__in {
    padding-bottom: 1.1rem;
  }
  .hero__btns {
    flex-direction: column;
    align-items: stretch;
    margin-top: .85rem;
    gap: .55rem;
  }
  .hero__btns .btn { width: 100%; min-height: 46px; padding-block: .78rem; }
  .hero:not(.hero--page) .hero__sub { font-size: var(--t-body); line-height: 1.45; }
  .stats__i { padding: .7rem .65rem .65rem; }
  .stats__n { margin-top: .4rem; }
}

@media (max-width: 560px) {
  :root { --hdr: 62px; }
  .hdr .brand__logo,
  .drawer .brand__logo,
  .ftr__brand .brand__logo,
  .brand__logo--ftr {
    height: 50px;
    max-width: min(122px, 48vw);
  }
  .hdr__in { gap: .45rem; }
  .lang__btn { width: 36px; height: 36px; padding: 5px; }
  .hdr .lang__btn svg,
  .drawer .lang__btn svg { width: 26px; height: 26px; }
  .stats__n { font-size: var(--t-stat); }
}

@media (max-width: 420px) {
  :root {
    --gut: .9rem;
    --t-head: clamp(1.28rem, 1.08rem + 3vw, 1.55rem);
  }
  .mbar a { font-size: var(--t-small); letter-spacing: .03em; padding-inline: .3rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  :root { --gut: .8rem; --hdr: 54px; }
  .hdr .brand__logo,
  .drawer .brand__logo { height: 40px; max-width: 96px; }
  .lang__btn { width: 36px; height: 36px; padding: 5px; }
  .hero__btns .btn { font-size: var(--t-small); padding: .85rem .8rem; }
  .hero--video { --film-h: min(19rem, 42svh); }
  .hero.hero--emerge .hero__emerge {
    height: min(14.5rem, 30svh);
  }
}

/* Short screens: zoomed laptop, landscape phone */
@media (max-height: 700px) {
  .topbar { display: none; }
  .lang--hdr { display: inline-flex !important; }
  :root { --hdr: 58px; }
  .hdr .brand__logo { height: 44px; max-width: min(118px, 38vw); }
  .hero:not(.hero--page) {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
  .hero:not(.hero--page) .hero__in {
    padding-block: .9rem 1.1rem;
  }
  .sec { padding-block: 2rem; }
}

@media (max-height: 430px) {
  .mbar { display: none !important; }
  body { padding-bottom: 0; }
  :root { --mbar-h: 0px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --hdr: 52px; }
  .hero__btns { flex-direction: row; flex-wrap: wrap; }
  .hero__btns .btn { width: auto; flex: 1 1 12rem; }
  .stats__l { min-height: 0; }
  .mbar a { min-height: 42px; padding-block: .55rem; }
}
@media (max-height: 500px) and (orientation: landscape) and (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 621px) and (max-width: 900px) {
  .vgrid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  :root { --mbar-h: 0px; }
}

/* When a photo is removed, the text column uses the full width. */
@media (min-width: 860px) {
  .hero__in--mach:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
}
.proof__in:not(:has(img)),
.about-intro__in:not(:has(img)),
.stud-stage:not(:has(img)),
.showcase-intro__in:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr);
}

/* Subpage heroes share one band. The homepage film (.hero--video) is left alone.
   Text and buttons stay in the content column, above the photograph. */
.hero.hero--page {
  --st-hero-h: clamp(22rem, 46vw, 30rem);
  min-height: var(--st-hero-h);
}
.hero.hero--page.hero--emerge {
  min-height: var(--st-hero-h);
}
.hero.hero--page .hero__max,
.hero.hero--page .hero__btns {
  position: relative;
  z-index: 3;
}
.hero.hero--page.hero--about .hero__in,
.hero.hero--page.hero--short .hero__in,
.hero.hero--page.hero--emerge .hero__in,
.hero.hero--page .hero__in {
  padding-block: clamp(2.4rem, 5vw, 4.2rem);
}
@media (min-width: 860px) {
  .hero.hero--page.hero--mach .hero__shot--studio {
    width: min(100%, 26rem);
    max-height: 22rem;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 900px) {
  .hero.hero--page {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero.hero--page .hero__bg,
  .hero.hero--page .hero__emerge {
    position: relative;
    inset: auto;
    order: -1;
    z-index: 0;
    width: 100%;
    height: clamp(12rem, 42vw, 16rem);
    min-height: 12rem;
    max-height: 16rem;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero.hero--page .hero__bg picture,
  .hero.hero--page .hero__bg img,
  .hero.hero--page .hero__emerge picture,
  .hero.hero--page .hero__emerge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: none;
  }
  .hero.hero--page .hero__in,
  .hero.hero--page.hero--about .hero__in,
  .hero.hero--page.hero--short .hero__in,
  .hero.hero--page.hero--emerge .hero__in {
    padding-block: clamp(1.5rem, 5vw, 2.4rem);
  }
  .hero.hero--page.hero--mach .hero__shot--studio {
    width: min(100%, 20rem);
    max-height: 15rem;
    aspect-ratio: 4 / 3;
  }
}

/* A list typed in the editor still shows markers even without the ticks class. */
.sec ul:not([class]),
.prose ul:not([class]) {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.sec ul:not([class]) > li,
.prose ul:not([class]) > li {
  display: block;
  position: relative;
  padding-left: 2.1rem;
  margin: .35rem 0;
}
.sec ul:not([class]) > li::before,
.prose ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .08em;
  width: 1.35rem;
  height: 1.35rem;
  background: url("/assets/img/mark-bullet.png?v=20260903tm") center / contain no-repeat;
}


/* Editor alignment on a card link or the spot-machine menu button.
   Left / Center / Right move that control only, the same way as normal text.
   A button's own default is centered, so Left has to set text-align, not clear it. */
.arrow-link[style*="text-align:left"], .arrow-link[style*="text-align: left"],
.area__pick-btn[style*="text-align:left"], .area__pick-btn[style*="text-align: left"] {
  display: flex; width: fit-content; max-width: 100%;
  margin-left: 0; margin-right: auto;
  justify-content: flex-start; text-align: left;
}
.arrow-link[style*="text-align:center"], .arrow-link[style*="text-align: center"],
.area__pick-btn[style*="text-align:center"], .area__pick-btn[style*="text-align: center"] {
  display: flex; width: fit-content; max-width: 100%;
  margin-left: auto; margin-right: auto;
  justify-content: center; text-align: center;
}
.arrow-link[style*="text-align:right"], .arrow-link[style*="text-align: right"],
.area__pick-btn[style*="text-align:right"], .area__pick-btn[style*="text-align: right"] {
  display: flex; width: fit-content; max-width: 100%;
  margin-left: auto; margin-right: 0;
  justify-content: flex-end; text-align: right;
}

/* A coloured letter stays inside the word on the public page (UK, EN and RU). */
p span[style*="color"], p span[style*="font-size"],
li span[style*="color"], li span[style*="font-size"],
h1 span[style*="color"], h1 span[style*="font-size"],
h2 span[style*="color"], h2 span[style*="font-size"],
h3 span[style*="color"], h3 span[style*="font-size"],
h4 span[style*="color"], h4 span[style*="font-size"],
h5 span[style*="color"], h5 span[style*="font-size"],
h6 span[style*="color"], h6 span[style*="font-size"],
td span[style*="color"], td span[style*="font-size"],
th span[style*="color"], th span[style*="font-size"],
dd span[style*="color"], dd span[style*="font-size"],
dt span[style*="color"], dt span[style*="font-size"],
figcaption span[style*="color"], figcaption span[style*="font-size"],
summary span[style*="color"], summary span[style*="font-size"],
blockquote span[style*="color"], blockquote span[style*="font-size"],
.lead span[style*="color"], .lead span[style*="font-size"],
.proof__n span[style*="color"], .proof__n span[style*="font-size"],
.proof__l span[style*="color"], .proof__l span[style*="font-size"],
.stats__n span[style*="color"], .stats__n span[style*="font-size"],
.stats__l span[style*="color"], .stats__l span[style*="font-size"] {
  display: inline;
  margin: 0;
  padding: 0;
  letter-spacing: inherit;
  word-spacing: inherit;
  white-space: inherit;
  vertical-align: baseline;
}
.stats__l { gap: 0; }
h1[style*="color"], h2[style*="color"], h3[style*="color"], h4[style*="color"],
h1 [style*="color"], h2 [style*="color"], h3 [style*="color"], h4 [style*="color"] {
  -webkit-text-fill-color: currentColor;
}
.grad-text:has([style*="color"]) {
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
}

/* Jednolite pola tekstowe: kazdy naglowek sekcji ma ta sama szerokosc pola,
 a nadtytuly (czerwone, wersalikami) ten sam rozmiar w calej witrynie. */
.sec-head, .sec-head-wide { max-width: 78ch; }
.about-intro__copy p.eyebrow, .split__body p.eyebrow {
  font-size: var(--t-eyebrow); line-height: 1.3; color: var(--brand); max-width: none;
}

/* "Prokladi marshrut" / Get directions: strzalka na koncu tej samej linii, nie pod tekstem. */
.contact-list a.arrow-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: .3rem; color: var(--brand); }
/* Pusta linia z <br> miedzy adresem a linkiem robila duza przerwe. */
.contact-list span > br:has(+ a.arrow-link) { display: none; }
.contact-list a.arrow-link svg { width: 1.15em; height: 1.15em; margin-top: 0; color: currentColor; }
.contact-list a.arrow-link:hover { color: var(--brand-600); }

/* Pokolorowany znak w liczbie (np. "+" w "35+") ma rozmiar i krój liczby, a nie malego podpisu pod nia. */
.stud-partner__proof strong span, .showcase-intro__proof strong span, .nf__link strong span {
  font: inherit; letter-spacing: inherit; line-height: inherit;
}

/* Justowanie: dzielenie wyrazow (wg jezyka strony) zamiast wielkich dziur miedzy slowami. */
[style*="text-align:justify"], [style*="text-align: justify"] {
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  text-justify: inter-word;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
/* Na telefonie linie sa za krotkie na ladne justowanie: tam tekst idzie od lewej. */
@media (max-width: 600px) {
  [style*="text-align:justify"], [style*="text-align: justify"] { text-align: left !important; }
}

/* Podpis nad liczba w pasku statystyk: zwykly blok tekstu (wysrodkowany, dosuniety do dolu).
   Flex rozbijal pokolorowane slowa na osobne kolumny. */
.stats__l { display: block; align-content: end; text-align: center; }

/* Text with a coloured word inside a flex box (eyebrow, button, arrow link, tag)
   is kept in one inline run, so the word does not become a separate column. */
.st-run { display: inline; margin: 0; padding: 0; }

/* "+" and "%" sit right after the number, like on the home page and like a coloured "+" (no extra gap). */
.proof__n span:not([style*="color"]) { margin-left: 0; }
