/* AUTO-GENERATED by the hub from the Branding tab (branding → baza).
   Regenerowany przy każdym "Wygeneruj bazę (z brandingu)" — nie edytuj ręcznie. */
/* tokens-schema: v11 */
:root {
  /* — kolory z PLIKU logo (źródło prawdy) — */
  --logo-1: #c4442c;
  /* — paleta z zakładki Branding — */
  --palette-1: #c4442c;
  --palette-2: #9c3420;
  --palette-3: #f7f6f4;
  --palette-4: #efedea;
  --palette-5: #1a1a1a;
  --palette-6: #252321;
  --palette-7: #2b2826;
  --palette-8: #6b6560;
  --palette-9: #f6f4f1;
  --palette-10: #ded9d3;
  /* — semantyka bazowa (heurystyka; base.css może nadpisać na wierzchu) — */
  --brand: #c4442c;
  --brand-2: #9c3420;
  --black2: #1a1a1a;
  --white: #ffffff;
  --light2: #f7f6f4;
  --light3: #e8e5e1;
  /* — typografia (self-host w src/styles/fonts.css) — */
  --font-heading: "Archivo Black", sans-serif;
  --font-body: "Archivo", sans-serif;
  /* — layout — */
  --padding-horizontal: 24px;
  --section-pad-block: 96px;
  --border-radius: 0px;
}
@media (max-width: 1023px) {
  :root { --section-pad-block: 72px; }
}
@media (max-width: 767px) {
  :root { --section-pad-block: 56px; --padding-horizontal: 16px; }
}

/* System tokenów z brandingu — ŹRÓDŁO PRAWDY. base.css tylko je referuje */
/* (nie redefiniuje), więc zmiana radius/border/palety wchodzi natychmiast. */
:root {
  --accent: #c4442c;
  --accent-2: #9c3420;
  --accent-contrast: #ffffff;
  --accent-strong: #9c3420;
  --accent-soft: #edc7c0;
  --surface: #f7f6f4;
  --surface-2: #efedea;
  --surface-dark: #1a1a1a;
  --surface-dark-2: #252321;
  --ink: #2b2826;
  --ink-soft: #6b6560;
  --on-dark: #f6f4f1;
  --border: #ded9d3;
  --heading-accent: #c4442c;
  --heading-accent-on-dark: #e0664d;
  --heading-line-color: #c4442c;
  --heading-line-color-on-dark: #c4442c;
  --brand-el-watermark-color: #c4442c;
  --brand-el-watermark-color-on-dark: #c4442c;
  --brand-el-watermark-opacity: 0.08;
  --border-width: 1px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.13);
  --shadow-lg: 0 18px 46px rgba(0,0,0,0.16);
  /* — gradienty: brak — płaskie kolory. Kontrakt Picasso — ZAWSZE obecne; bez gradientów = płaski kolor, */
  /*   więc `background: var(--grad-accent)` jest zawsze poprawne. --grad-enabled mówi, czy aktywne. */
  --grad-enabled: 0;
  --grad-angle: 135deg;
  --grad-from: #c4442c;
  --grad-to: #c4442c;
  --grad-accent-contrast: #ffffff;
  --grad-accent: linear-gradient(var(--accent), var(--accent));
  --grad-accent-soft: linear-gradient(#edc7c0, #edc7c0);
  --grad-dark: linear-gradient(var(--surface-dark), var(--surface-dark));
}

/* Baza tekstu — jedyne miejsce, które konsumuje --ink i fonty marki.          */
/* :where() = specyficzność ZERO, więc base.css i sekcje nadpisują swobodnie   */
/* niezależnie od kolejności ładowania. Zmiana palety/fontów działa od razu.   */
:where(body) {
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
}
:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading, var(--font-body, system-ui, sans-serif));
}

/* Elementy brandingu — widoczność i umiejscowienie (LIVE z zakładki Branding). */
/* Sekcje owijają każdy ozdobnik w .brand-el.brand-el--<technika>; linia #7 jest  */
/* renderowana w OBU slotach (.heading-line--above/--below) i tu wybieramy jeden. */
:root {
  --brand-el-photo-frame: block;
  --brand-el-shape-divider: block;
  --brand-el-section-bg: block;
  --brand-el-corner-decor: block;
  --brand-el-text-accent: none;
  --brand-el-watermark: none;
  --brand-el-text-divider: block;
  --brand-el-bg-photo: block;
  --brand-el-marquee-slogan: block;
  --heading-line-above: block;
  --heading-line-below: none;
  --heading-accent-mask: block;
  --heading-accent-img: none;
  --heading-line-mask: none;
  --heading-line-img: block;
}
/* Wyłączone elementy/warianty — twardo ukryte (reszta bez zmian): */
.brand-el--text-accent { display: none !important; }
.brand-el--watermark { display: none !important; }
.brand-el--mascot-signet { display: none !important; }
.brand-el--seam-decor { display: none !important; }
.heading-line--below { display: none !important; }
.heading-mark--img { display: none !important; }
.heading-line-mask { display: none !important; }
/* #7: linia pod/nad nagłówkiem nigdy szersza niż kontener (bez poziomego scrolla na telefonie): */
.heading-line, .heading-line-mask, .heading-line-img { max-width: 100%; }
/* #5 akcent nagłówka POMINIĘTY — żaden znak graficzny przy nagłówku nie ma prawa się pokazać: */
.eyebrow-mark, .heading-mark, .heading-mark--mask, .heading-mark--img { display: none !important; }
/* #7 NAD nagłówkiem — tekstowy nadtytuł przy linii schowany (linia go zastępuje): */
.heading-eyebrow--with-line { display: none !important; }
/* #1 Ramka zdjęcia — WYBRANY styl z Brandingu (LIVE). Sekcje: .brand-frame > .brand-frame__photo + .brand-frame__mark */
:where(.brand-frame) { position: relative; display: block; }
:where(.brand-frame__photo) { display: block; width: 100%; height: 100%; object-fit: cover; }
:where(.brand-frame__mark) { position: absolute; line-height: 0; pointer-events: none; }
:where(.brand-frame__mark img) { display: block; width: 100%; height: auto; object-fit: contain; }
:where(.brand-frame) { position:relative; }
:where(.brand-frame .brand-frame__photo) { border-radius: 0; overflow:hidden; }
:where(.brand-frame .brand-frame__mark) { position:absolute; right:5%; bottom:5%; width:16%; max-width:96px; min-width:42px; line-height:0; transform:translate(32%,32%); filter:drop-shadow(0 0 3px rgba(255,255,255,.35)) drop-shadow(0 6px 18px rgba(0,0,0,.30)); }
:where(.brand-frame .brand-frame__mark svg), :where(.brand-frame .brand-frame__mark img) { width:100%; height:auto; display:block; }
:where(.brand-frame .brand-frame__mark img) { object-fit:contain; }
@media (max-width:640px) {
:where(.brand-frame .brand-frame__mark) { width:19%; min-width:34px; transform:translate(26%,26%); }
}
/* #4 Tło sekcji — CSS, LIVE z Brandingu. Sekcje: <div class="brand-el brand-el--section-bg brand-bg-layer" aria-hidden="true"> */
:root { --brand-bg-color: var(--accent); --brand-bg-opacity: 0.12; }
:where(.brand-bg-layer) { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.brand-bg-layer { opacity: var(--brand-bg-opacity); background-image: linear-gradient(var(--brand-bg-color, #c4442c) 1px, transparent 1px), linear-gradient(90deg, var(--brand-bg-color, #c4442c) 1px, transparent 1px); background-size: 120px 60px, 120px 60px; background-position: -1px -1px; }

/* ═══ STYL INTERAKCJI (Branding → „Styl interakcji”) — generowany przez hub, nie edytuj. ═══ */
/* ── Styl interakcji: przycisk „Spoina Systemowa" — kształt brand, wypełnienie solid, hover darken — hub (interaction-style). */
/*    NADRZĘDNY nad .btn z base.css: wygląd, hover, focus i strzałka są TYLKO tutaj. */
:root:root {
  --btn-height: 44px;
  --btn-height-sm: 36px;
  --btn-pad-inline: 22px;
  --btn-radius: var(--radius-md, 8px);
  --btn-corners: var(--radius-md, 8px);
  --btn-weight: 500;
  --btn-fill: var(--accent);
  --btn-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2016'%3E%3Cpath%20d%3D'M2%208h11M8.5%203.5%2013%208l-4.5%204.5'%20fill%3D'none'%20stroke%3D'%23000'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E");
  --btn-line: clamp(1px, var(--border-width, 1px), 1.5px);
  --btn-ink: var(--ink, #111); --btn-paper: var(--surface, #fff); --btn-neutral: var(--surface-2, #f2f2f2);
}
/* ciemny pas: tusz ↔ papier się odwracają (sekcje oznaczają go data-tone="dark" albo .on-dark) */
:root:root :is([data-tone="dark"], .on-dark) { --btn-ink: var(--on-dark, #fff); --btn-paper: var(--surface-dark, #111); --btn-neutral: color-mix(in srgb, var(--on-dark, #fff) 14%, transparent); }
:root:root .btn {
  position: relative; isolation: isolate; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  --btn-block: var(--btn-height); --btn-px: var(--btn-pad-inline); --btn-pad-s: 0px; --btn-pad-e: 0px;
  min-height: var(--btn-height); padding-block: 0;
  padding-inline: calc(var(--btn-px) + var(--btn-pad-s)) calc(var(--btn-px) + var(--btn-pad-e));
  border: 0; border-radius: var(--btn-corners);
  font-family: var(--font-body, inherit); font-size: 1rem; font-weight: var(--btn-weight); line-height: 1.1;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  --btn-focus: 0 0 #0000; --btn-overlay: 0 0 #0000; --btn-elev: 0 0 #0000;
  box-shadow: var(--btn-focus), var(--btn-overlay), var(--btn-elev);
  filter: none; clip-path: none; -webkit-mask: none; mask: none; transform: none;
  transition: background-color 180ms ease-out, background-size 220ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:root:root .btn::before, :root:root .btn::after { content: none; }
:root:root .btn:focus-visible { outline: 2px solid var(--btn-ring, var(--accent)); outline-offset: 3px; }
:root:root .btn:is(:disabled, [aria-disabled="true"]) { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
:root:root .btn--sm { --btn-block: var(--btn-height-sm); --btn-px: calc(var(--btn-pad-inline) * 0.7); min-height: var(--btn-height-sm); font-size: 0.9375rem; }
:root:root .lead-form-submit { border-radius: var(--form-btn-radius, var(--btn-corners)); padding: var(--form-btn-padding, 0.5em var(--btn-pad-inline)); white-space: normal; text-align: center; }
:root:root .btn-primary { background: var(--btn-bg, var(--btn-fill)); color: var(--btn-fg, var(--accent-contrast, #fff)); --btn-elev: 0 0 #0000; }
:root:root .btn-secondary { background: var(--btn-neutral); color: var(--btn-fg, var(--btn-ink)); border: 0; }
:root:root .btn-ghost { background: transparent; color: var(--btn-fg, var(--btn-ink)); --btn-px: calc(var(--btn-pad-inline) * 0.45); }
:root:root .btn-ghost .btn__label { background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat; padding-bottom: 2px; transition: background-size 220ms cubic-bezier(0.22, 1, 0.36, 1); }
/* strzałka CTA: ta sama maska wszędzie (Button.astro → .btn-arrow) + przesunięcie na hover */
:root:root .with-arrow .arrow { transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) {
  :root:root .with-arrow:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
  :root:root .btn-ghost:hover .btn__label { background-size: 100% 1.5px; }
  :root:root .btn-primary:hover { --btn-overlay: inset 0 0 0 100px color-mix(in srgb, var(--ink, #000) 11%, transparent); }
  :root:root .btn-secondary:hover { --btn-overlay: inset 0 0 0 100px color-mix(in srgb, var(--ink, #000) 11%, transparent); }
}
:root:root .btn:active { transform: translateY(0); }
:root:root .btn-primary:active { --btn-overlay: inset 0 0 0 100px color-mix(in srgb, var(--ink, #000) 18%, transparent); }

/* strzałka marki przy linkach tekstowych (karty bloga/usług): ta sama maska co CTA */
:root:root .brand-arrow { display: inline-block; flex: none; inline-size: var(--brand-arrow-size, 0.8em); block-size: var(--brand-arrow-size, 0.8em); vertical-align: -0.08em; overflow: hidden; text-indent: 200%; white-space: nowrap; background-color: currentColor; -webkit-mask: var(--btn-arrow) center / contain no-repeat; mask: var(--btn-arrow) center / contain no-repeat; }
:root:root .brand-arrow > * { display: none; }

/* ── Styl interakcji: hover menu „Tło od dołu" — linki .menu-link + trigger NavDropdown. */
:root:root :is(.menu-link, .nav-dropdown-trigger) { position: relative; text-decoration: none; transition: color 180ms ease-out, text-shadow 180ms ease-out; }
:root:root :is(.menu-link, .nav-dropdown-trigger)::after { content: none; }
:root:root :is(.menu-link, .nav-dropdown-trigger) { isolation: isolate; }
:root:root :is(.menu-link, .nav-dropdown-trigger)::before { content: ""; position: absolute; inset: auto; width: auto; height: auto; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; translate: none; -webkit-mask: none; mask: none; z-index: auto; pointer-events: none; z-index: -1; left: -0.6em; right: -0.6em; top: 50%; height: 1.9em; translate: 0 -50%; border-radius: var(--radius-sm, 4px); background: var(--nav-accent, var(--accent)); transform: scaleY(0); transform-origin: center bottom; transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1); }
:root:root :is(.menu-link, .nav-dropdown-trigger):focus-visible { outline: 2px solid var(--nav-accent, var(--accent)); outline-offset: 4px; }
@media (hover: hover) {
  :root:root :is(.menu-link, .nav-dropdown-trigger):is(:hover, :focus-visible)::before { transform: scaleY(1); }
  :root:root :is(.menu-link, .nav-dropdown-trigger):is(:hover, :focus-visible) { color: var(--accent-contrast, #fff); }
}
:root:root :is(.menu-link, .nav-dropdown-trigger):focus-visible::before { transform: scaleY(1); }
:root:root :is(.menu-link, .nav-dropdown-trigger):focus-visible { color: var(--accent-contrast, #fff); }
:root:root :is(.menu-link, .nav-dropdown-trigger):is([aria-current="page"], .is-active)::before { transform: scaleY(1); }
:root:root :is(.menu-link, .nav-dropdown-trigger):is([aria-current="page"], .is-active) { color: var(--accent-contrast, #fff); }

@media (prefers-reduced-motion: reduce) {
  :root:root :is(.btn, .menu-link, .nav-dropdown-trigger, .link-underline), :root:root :is(.btn, .menu-link, .nav-dropdown-trigger)::before, :root:root :is(.btn, .menu-link, .nav-dropdown-trigger)::after, :root:root .with-arrow .arrow { transition-duration: 0.01ms; }
}

/* UI signature — derived from the brand kit; every component honours these:
   1) "Ościeżnica" lintel on cards — .card carries an asymmetric border (3px top + 1px sides/bottom
      in var(--border)); the heavier top edge reads as the lintel of a drywall wall-opening (the roof lintel of the logo). On hover the lintel lights to var(--accent) — a hover-effect, so accent stays
      inside its budget. Flat, no shadow.
   2) Editorial section label — .eyebrow is ALWAYS left-aligned, var(--font-heading), uppercase 11px,
      tracking .15em, in var(--heading-accent). Purely typographic (no graphic mark — operator skipped
      heading marks #5). Headings/labels never centre.
   3) "Ściana po gładzi Q3" flat depth — no gradients, no texture, ZERO resting shadow anywhere.
      Surfaces separate with a 1px var(--border) hairline and var(--surface-2) steps. The only motion
      cue is a ≤4px lift on interactive cards/tiles; shadow is deliberately absent.
   4) One seam ties button + card + input — button and .card share var(--radius-md) (0 — square corners, like the red logo), .field steps
      down to var(--radius-sm), and all three share the 1px var(--border-width), so every control reads
      as one material / one system (the "spoina"). Button is flat solid var(--accent), darken ~10% on
      hover (hub-owned in tokens.css).
   5) I-beam seam underline on links — .link-underline grows a 2px var(--accent) rule from the left
      (echoes the logo's horizontal divider rules and the I-beam flange); the 2px brand rule is the
      one structural underline device, never a soft/decorative flourish. */

:root {
  /* Flat brand: no gradients, no resting shadows. Button geometry + hover are hub-owned
     (tokens.css → STYL INTERAKCJI, specificity :root:root). No --accent / --radius-* / --border /
     --surface* / --shadow-* here — tokens.css owns them. */
  --accent-2: var(--accent); /* flat CTA — no gradient end */
}

/* ── Base type: state colour + family explicitly, never inherit ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-family: var(--font-heading, sans-serif);
}

/* ── Eyebrow / section label (typographic — no graphic mark) ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, sans-serif);
  font-size: 11px;
  line-height: 1;
  color: var(--heading-accent);
  text-transform: var(--eyebrow-transform, uppercase);
  letter-spacing: var(--eyebrow-tracking, 0.15em);
  font-variant-caps: var(--eyebrow-caps, normal);
}
[data-tone="dark"] .eyebrow,
.on-dark .eyebrow { color: var(--heading-accent-on-dark); }

/* Empty shell — geometry/colour only, NO default motif. A section paints it via --mark:url(<file>). */
.eyebrow-mark {
  display: inline-block;
  flex: none;
  height: 25px;
  width: var(--mark-w, 25px);
  background-color: var(--heading-accent);
  -webkit-mask: var(--mark, none) center / contain no-repeat;
          mask: var(--mark, none) center / contain no-repeat;
}
img.eyebrow-mark {
  width: auto;
  object-fit: contain;
  background: none;
  -webkit-mask: none;
          mask: none;
}
[data-tone="dark"] .eyebrow-mark,
.on-dark .eyebrow-mark { background-color: var(--heading-accent-on-dark); }

/* ── Buttons — MINIMAL fallback only. The hub's STYL INTERAKCJI (tokens.css, :root:root) owns the
   real look/hover/focus/arrow and wins. No pseudo-elements, no signature decoration here. ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--btn-height, 44px);
  padding-block: 0;
  padding-inline: var(--btn-pad-inline, 22px);
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--radius-md, 8px);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: var(--btn-weight, 500);
  line-height: 1.1;
  text-transform: var(--btn-transform, none);
  letter-spacing: var(--btn-tracking, normal);
  font-variant-caps: var(--btn-caps, normal);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease,
              border-color 180ms ease, transform 180ms ease;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn--sm {
  min-height: var(--btn-height-sm, 36px);
  padding-inline: calc(var(--btn-pad-inline, 22px) * 0.7);
  font-size: 0.9375rem;
}

.btn-primary { background: var(--btn-bg, var(--accent)); color: var(--btn-fg, var(--accent-contrast)); }
.btn-secondary { background: var(--btn-neutral, var(--surface-2)); color: var(--btn-fg, var(--ink)); }
.btn-ghost {
  background: transparent;
  color: var(--btn-fg, var(--ink));
  padding-inline: 10px;
}
@media (hover: hover) {
  .btn-primary:hover { background: color-mix(in srgb, var(--accent) 90%, #000); }
  .btn-secondary:hover { background: color-mix(in srgb, var(--ink) 10%, var(--surface-2)); }
  .btn-ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
}
.btn:active { transform: translateY(1px); }

/* Icon button — square, brand radius (never a pill on this constructivist brand) */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--radius-md, 8px);
  background: var(--btn-bg, var(--accent));
  color: var(--btn-fg, var(--accent-contrast));
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}
@media (hover: hover) { .btn-icon:hover { background: color-mix(in srgb, var(--accent) 90%, #000); } }
.btn-icon:active { transform: translateY(1px); }
.btn-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-icon > svg,
.btn-icon > img { width: 42%; height: 42%; display: block; }

/* ── Inline link — I-beam seam underline (trait 5) ── */
.link-underline {
  text-decoration: none;
  color: var(--accent);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  padding-bottom: 2px;
  transition: background-size 220ms ease;
}
@media (hover: hover) { .link-underline:hover { background-size: 100% 2px; } }
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; }

/* ── Cards / tiles — the "Ościeżnica" lintel (trait 1) ── */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--ink);
  border: var(--border-width, 1px) solid var(--border);
  border-top-width: 3px; /* lintel reserved at rest (neutral); hover only swaps its colour — no reflow */
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), border-top-color 200ms ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-top-color: var(--accent); }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-body { padding: 24px var(--padding-horizontal, 24px); color: var(--ink); }

/* Image inside a fixed frame — zoom the image, clip the box (neighbours never shift) */
.media { overflow: hidden; border-radius: var(--radius-md, 8px); }
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
@media (hover: hover) { .media:hover img { transform: scale(1.06); } }

/* ── Form inputs ── */
.field {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 13px 16px;
  border: var(--border-width, 1px) solid var(--border);
  border-radius: var(--radius-sm, 5px);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field::placeholder { color: var(--ink-soft); }
.field:hover { border-color: var(--ink-soft); }
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field:user-invalid { border-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; background: var(--surface-2); }

/* ── Hover vocabulary (reusable utilities) ── */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

.hover-lift { transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) { .hover-lift:hover { transform: translateY(-4px); } }
.hover-lift:active { transform: translateY(0); }

.hover-fill { transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) {
  .hover-fill:hover { background-color: var(--accent); color: var(--accent-contrast); }
}

.with-arrow { display: inline-flex; align-items: center; gap: 8px; }
.with-arrow .arrow { transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) { .with-arrow:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); } }

/* ── Content icon (monochrome mask — steer paint ONLY via --icon-color) ── */
.svc-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--icon-color, var(--accent));
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: background-color 200ms ease;
}

/* ── Numbered process step — square badge, optically centred digit ── */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md, 8px);
  background: var(--accent);
  color: var(--accent-contrast);
}
.step-num {
  font-family: var(--font-heading, sans-serif);
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ── Heading divider (house + rule) ABOVE a heading — one spacing for every section ──
   Sections size it 400×46 with margin 0, so it sat glued to the title. :root:root beats the
   sections scoped rules; the hub still hides this slot (display:none !important) when the
   divider is switched to "below" in Branding. */
:root:root .heading-line.heading-line--above {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  line-height: 0;
}
:root:root .heading-line.heading-line--above .heading-line-img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  :root:root .heading-line.heading-line--above { margin-bottom: 14px; }
  :root:root .heading-line.heading-line--above .heading-line-img { width: 240px; }
}

/* ── Photo stamp (#1 photo frame mark): flush in the photo’s bottom-right corner ──
   The hub places it 5% in + translate(32%) out with a white halo, so it landed differently
   on every photo. Square stamp, square corner: no offset, no overhang, no halo. */
:root:root .brand-frame .brand-frame__mark {
  right: 0;
  bottom: 0;
  transform: none;
  filter: none;
}

/* ── Missing dashboard data — temporary placeholder (plain text, never inside <a>) ── */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* hub: straż poziomu — nic nie poszerza strony w bok (base-stylesheet.ts) */
html, body { overflow-x: clip; }
