/* ==========================================================================
   Julia Ostrowska · wizerunek i marka osobista
   Układ: „przymierzalnia” – asymetryczna siatka redakcyjna, próbniki tkanin
   jako system obrazów, metki (krój mono) jako etykiety.
   ========================================================================== */

:root {
  /* Kolor: paleta kapsułowa – granat, bordo i kamel na kości słoniowej.
     Proporcje 60/30/10: jasne tła / granat / bordo i mosiądz. */
  --paper: #F6F3EE;          /* kość słoniowa: tło */
  --surface: #FDFCF9;        /* jedwab: karty, formularze */
  --surface-2: #EDE7DE;      /* piasek: sekcje wyróżnione */
  --ink: #151C2E;            /* granat atramentowy: tekst */
  --muted: #555C6E;          /* tekst drugoplanowy */
  --line: #DDD6CB;           /* linie i obrysy */
  --accent: #7A1E2E;         /* bordo: przyciski i wyróżnienia */
  --accent-strong: #5E1522;
  --accent-soft: #F1E8E7;
  --on-accent: #FBF8F3;
  --deep: #1B2742;           /* granat: ciemne pasy */
  --on-deep: #F3EEE6;
  --on-deep-accent: #CFB083;
  --brass: #7D5B3A;          /* mosiądz: etykiety */
  --brass-soft: #B8956A;     /* kamel: detale i linie */
  --frame-top: #FDFCF9;      /* tło przymierzalni */
  --frame-bottom: #E9E2D6;
  --rod: #6B4F31;
  --ok: #1E6B48;
  --err: #B3261E;
  --shadow: 0 1px 2px rgb(21 28 46 / .06), 0 18px 40px -18px rgb(21 28 46 / .28);
  --sun: none;
  --moon: block;

  /* Krój */
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-xs: .78rem;
  --fs-sm: .92rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.2rem;
  --fs-lg: clamp(1.35rem, 1.1rem + .9vw, 1.7rem);
  --fs-xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.55rem);
  --fs-2xl: clamp(2.25rem, 1.5rem + 3.3vw, 4rem);
  --fs-3xl: clamp(2.7rem, 1.6rem + 5vw, 5.8rem);

  /* Rytm */
  --wrap: 1240px;
  --section: clamp(4.5rem, 3rem + 5vw, 8.5rem);
  --radius: 4px;
  --header-h: 74px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* Wersja wieczorowa: granat nocny, szampan i wino */
    --paper: #0E1424;
    --surface: #151D31;
    --surface-2: #1A2339;
    --ink: #EFEAE2;
    --muted: #A9AEBC;
    --line: #283350;
    --accent: #D9BC8C;
    --accent-strong: #E9D3AE;
    --accent-soft: #2B2D3A;
    --on-accent: #121829;
    --deep: #4A1424;
    --on-deep: #F3EEE6;
    --on-deep-accent: #E2C796;
    --brass: #B59A6E;
    --brass-soft: #8C7552;
    --frame-top: #E6DFD3;
    --frame-bottom: #C9BFAF;
    --rod: #6B4F31;
    --ok: #6FD3A1;
    --err: #FF8A80;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -18px rgb(0 0 0 / .7);
    --sun: block;
    --moon: none;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0E1424;
  --surface: #151D31;
  --surface-2: #1A2339;
  --ink: #EFEAE2;
  --muted: #A9AEBC;
  --line: #283350;
  --accent: #D9BC8C;
  --accent-strong: #E9D3AE;
  --accent-soft: #2B2D3A;
  --on-accent: #121829;
  --deep: #4A1424;
  --on-deep: #F3EEE6;
  --on-deep-accent: #E2C796;
  --brass: #B59A6E;
  --brass-soft: #8C7552;
  --frame-top: #E6DFD3;
  --frame-bottom: #C9BFAF;
  --rod: #6B4F31;
  --ok: #6FD3A1;
  --err: #FF8A80;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -18px rgb(0 0 0 / .7);
  --sun: block;
  --moon: none;
  color-scheme: dark;
}

@property --drape {
  syntax: "<color>";
  inherits: true;
  initial-value: #1F2A4D;
}

/* --------------------------------------------------------------------------
   Podstawy
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
  font-optical-sizing: auto;
}

p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
p { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--on-accent); }

.sr-only {
  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: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: var(--paper); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.section { padding-block: var(--section); }
.section--line { border-top: 1px solid var(--line); }
.section--tint { background: var(--surface-2); }
.section--compact { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }

/* --------------------------------------------------------------------------
   Typografia
   -------------------------------------------------------------------------- */
.eyebrow, .tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.h1 { font-size: var(--fs-3xl); line-height: 1; letter-spacing: -.025em; }
.h2 { font-size: var(--fs-2xl); line-height: 1.04; letter-spacing: -.02em; }
.h3 { font-size: var(--fs-xl); }
.h4 { font-size: var(--fs-lg); }

h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
h1 em, h2 em { color: var(--accent); }
.eyebrow { color: var(--brass); }

.lead { font-size: var(--fs-md); line-height: 1.55; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.note { font-size: var(--fs-sm); color: var(--muted); }

.stack { display: grid; gap: 1.25rem; align-content: start; }
.stack-lg { display: grid; gap: 2rem; align-content: start; }

.section-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}
.section-head > div { display: grid; gap: 1rem; min-width: 0; }

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: end;
    gap: 4rem;
  }
}

/* --------------------------------------------------------------------------
   Przyciski i linki
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .9em 1.45em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 var(--fs-sm)/1.2 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-light { background: var(--on-deep); color: var(--deep); }
.btn-light:hover { background: color-mix(in srgb, var(--on-deep) 84%, var(--deep)); color: var(--deep); }

.link-arrow {
  display: inline-flex;
  gap: .4em;
  align-items: baseline;
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: .1em;
  white-space: nowrap;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* --------------------------------------------------------------------------
   Nagłówek i nawigacja
   -------------------------------------------------------------------------- */
.demo-note {
  background: var(--ink);
  color: var(--paper);
  font: var(--fs-xs)/1.45 var(--font-mono);
  letter-spacing: .03em;
  text-align: center;
  padding-block: .55rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled, .site-header.nav-open { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--brass-soft);
  border-radius: 50%;
  font: italic 500 1.05rem/1 var(--font-display);
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; overflow: hidden; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-role {
  font: .7rem/1.3 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { list-style: none; display: flex; gap: 1.7rem; }
.nav-list a {
  display: inline-block;
  padding-block: .35rem;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover { color: var(--ink); border-bottom-color: var(--line); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--ink); }

.header-tools { display: flex; gap: .4rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: var(--sun); }
.theme-toggle .i-moon { display: var(--moon); }

.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding-block: 1.25rem 2rem;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding-block: .85rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--line); font-style: italic; }
  .nav-cta { align-self: flex-start; }
}

@media (max-width: 420px) {
  .brand-role { display: none; }
  .brand-mark { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   Hero strony głównej
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--section); }

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.hero-copy { display: grid; gap: 1.75rem; min-width: 0; }
.hero-copy h1 { font-size: var(--fs-3xl); line-height: .98; letter-spacing: -.028em; }
.hero-copy h1 em { display: inline; }

.hero-fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  max-width: 36rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-fact strong {
  font: 400 clamp(2rem, 1.6rem + 1.4vw, 2.7rem)/1 var(--font-display);
  white-space: nowrap;
}
.hero-fact p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 520px) {
  .hero-fact { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
}

/* Przymierzalnia: tkanina zmienia kolor po wyborze próbnika */
.fitting {
  --drape: #1F2A4D;
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  transition: --drape .7s cubic-bezier(.3, .7, .2, 1);
  min-width: 0;
}

.fitting-stage { position: relative; width: 100%; max-width: 420px; }

.fitting-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(75% 55% at 50% 38%, color-mix(in srgb, var(--drape) 22%, var(--frame-top)) 0%, transparent 70%),
    linear-gradient(180deg, var(--frame-top) 0%, var(--frame-bottom) 100%);
}
.fitting-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.drape-fabric { fill: var(--drape); }
.drape-rod { stroke: var(--rod); stroke-width: 3; stroke-linecap: round; fill: none; }
.drape-ring { stroke: var(--rod); stroke-width: 1.5; fill: none; }

.hang-tag {
  position: absolute;
  right: .75rem;
  bottom: 12%;
  width: min(236px, 70%);
  display: grid;
  gap: .35rem;
  padding: 1.1rem 1rem .95rem 1.15rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  font: var(--fs-xs)/1.4 var(--font-mono);
}
.hang-tag::before {
  content: "";
  position: absolute;
  top: .6rem;
  right: .7rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: var(--paper);
}
.tag-index { letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.tag-name { font: italic 500 1.35rem/1.15 var(--font-display); }
.tag-row { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .5rem; }
.tag-row > span:first-child { color: var(--muted); }

@media (min-width: 1180px) {
  .hang-tag { right: -2.75rem; }
}

.swatches {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
}
.swatch-btn {
  display: grid;
  gap: .45rem;
  justify-items: center;
  padding: .3rem;
  background: none;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
}
.swatch-btn .chip {
  display: block;
  width: 42px;
  height: 54px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08);
  --s: 7px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--s) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--s) 100%;
  transition: transform .25s cubic-bezier(.3, .7, .2, 1);
}
.swatch-btn::after {
  content: "";
  width: 18px;
  height: 2px;
  background: transparent;
  transition: background-color .2s;
}
.swatch-btn:hover .chip { transform: translateY(-3px); }
.swatch-btn[aria-pressed="true"] .chip { transform: translateY(-7px); }
.swatch-btn[aria-pressed="true"]::after { background: var(--ink); }

.fitting-note { max-width: 26rem; text-align: center; font-size: var(--fs-sm); color: var(--muted); }

/* Wejście hero: jedna, krótka sekwencja */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > *, .page-hero .wrap > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .fitting-frame { animation: unveil 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .hang-tag { animation: swing 1s cubic-bezier(.2, .7, .2, 1) .5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes swing { from { opacity: 0; transform: rotate(6deg) translateY(-10px); } to { opacity: 1; transform: rotate(-4deg); } }

/* --------------------------------------------------------------------------
   Nagłówek podstron
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2.75rem, 2rem + 3vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { display: grid; gap: 1.4rem; }
.page-hero h1 { font-size: var(--fs-3xl); line-height: 1; letter-spacing: -.028em; max-width: 20ch; }

.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { text-decoration: none; }

/* --------------------------------------------------------------------------
   Dla kogo
   -------------------------------------------------------------------------- */
.audience {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  border-top: 1px solid var(--ink);
}
.audience li {
  display: grid;
  gap: .75rem;
  align-content: start;
  padding: 1.75rem 1.75rem 1.9rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.audience h3 { font-size: var(--fs-lg); line-height: 1.15; }
.audience p { font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   Metoda 3W
   -------------------------------------------------------------------------- */
.method { display: grid; gap: 3rem; }
@media (min-width: 880px) {
  .method { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .method-item { padding-inline: 2.25rem; }
  .method-item:first-child { padding-left: 0; }
  .method-item:last-child { padding-right: 0; }
  .method-item + .method-item { border-left: 1px solid var(--line); }
}
.method-item { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.method-word { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.9rem); line-height: 1; letter-spacing: -.02em; }
.method-word span { font-style: italic; font-weight: 400; color: var(--accent); }
.method-sub { font-weight: 500; }

.ticks { list-style: none; display: grid; gap: .5rem; font-size: var(--fs-sm); color: var(--muted); }
.ticks li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.ticks li::before {
  content: "";
  width: 10px; height: 10px;
  border: 1px solid var(--brass);
  transform: translateY(1px) rotate(45deg);
}

/* --------------------------------------------------------------------------
   Cennik (lista pozycji jak u krawca)
   -------------------------------------------------------------------------- */
.pricelist { list-style: none; border-top: 1px solid var(--ink); }
.price-row {
  display: grid;
  gap: .6rem 2.5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.price-row > * { min-width: 0; }
@media (min-width: 880px) {
  .price-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) auto;
    align-items: baseline;
  }
}
.price-name { font-size: var(--fs-lg); line-height: 1.15; }
.price-desc { margin-top: .4rem; font-size: var(--fs-sm); color: var(--muted); max-width: 44ch; }
.price-meta {
  font: var(--fs-xs)/1.5 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-value {
  font: 500 var(--fs-md)/1.2 var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-value small { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }

/* --------------------------------------------------------------------------
   Etapy procesu
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  display: grid;
  gap: 2.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.step {
  display: grid;
  gap: .85rem;
  align-content: start;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  min-width: 0;
}
.step-no {
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
}
.step h3 { font-size: var(--fs-xl); font-style: italic; font-weight: 400; }
.step p { font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   Realizacje
   -------------------------------------------------------------------------- */
.cases {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}
.case {
  display: grid;
  gap: 1.2rem;
  align-content: start;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.case h3 { font-size: var(--fs-lg); line-height: 1.15; }
.case-label { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; }
.case dl { display: grid; gap: .8rem; font-size: var(--fs-sm); }
.case dt { font: var(--fs-xs)/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case dd { margin-top: .2rem; }

.palette {
  display: flex;
  height: 72px;
  --s: 12px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--s) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--s) 100%;
}
.palette span { flex: 1 1 0; background: var(--c); }
.palette span:nth-child(1) { flex-grow: 2.2; }
.palette-caption {
  margin-top: -.5rem;
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.metric strong {
  display: block;
  font: 500 var(--fs-xl)/1 var(--font-display);
  font-variant-numeric: lining-nums tabular-nums;
}
.metric span { display: block; margin-top: .35rem; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }

/* --------------------------------------------------------------------------
   Opinie
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.quote { display: grid; gap: 1.2rem; align-content: start; min-width: 0; }
.quote::before {
  content: "„";
  font: 400 4.5rem/.5 var(--font-display);
  color: var(--brass-soft);
  height: 1.6rem;
}
.quote blockquote { font: italic 400 var(--fs-md)/1.5 var(--font-display); }
.quote figcaption {
  font: var(--fs-xs)/1.5 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Test spójności marki
   -------------------------------------------------------------------------- */
.quiz-layout { display: grid; gap: 3rem; }
@media (min-width: 980px) {
  .quiz-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4.5rem; align-items: start; }
  .quiz-intro { position: sticky; top: calc(var(--header-h) + 2rem + env(safe-area-inset-top, 0px)); }
}
.quiz-intro { display: grid; gap: 1.25rem; min-width: 0; }

.quiz {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  min-width: 0;
}
.quiz-scale {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.q { border: 0; margin: 0; padding: 1.15rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.q legend { float: left; width: 100%; padding: 0; margin-bottom: .8rem; }
.q legend .tag { display: block; margin-bottom: .3rem; color: var(--brass); }
.q-text { font-weight: 500; line-height: 1.45; }
.choices { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block;
  padding: .45em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.choice span:hover { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.quiz-foot { display: grid; gap: 1rem; padding-top: 1.5rem; }
.progress { display: flex; align-items: center; gap: 1rem; font: var(--fs-xs)/1 var(--font-mono); color: var(--muted); }
.progress-bar { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.progress-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); transition: width .3s; }

.quiz-result {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--accent-soft);
}
.quiz-result h3 { font-size: var(--fs-xl); }
.quiz-result h3 em { color: var(--accent); }
.pillars { display: grid; gap: .65rem; }
.pillar { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 2.6rem; gap: .9rem; align-items: center; font-size: var(--fs-sm); }
.pillar-bar { height: 8px; background: color-mix(in srgb, var(--ink) 12%, transparent); position: relative; }
.pillar-bar span { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.pillar-score { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 3rem 1.35rem 0;
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .4rem;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 1.5rem; color: var(--muted); max-width: 66ch; display: grid; gap: .8rem; }

/* --------------------------------------------------------------------------
   Pas z wezwaniem do działania
   -------------------------------------------------------------------------- */
.cta-band { background: var(--deep); color: var(--on-deep); }
.cta-band .wrap {
  display: grid;
  gap: 2rem;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
}
@media (min-width: 900px) {
  .cta-band .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 4rem; }
}
.cta-band h2 { font-size: var(--fs-2xl); line-height: 1.04; letter-spacing: -.02em; }
.cta-band p { max-width: 34em; }
.cta-band .eyebrow { color: var(--on-deep-accent); }
.cta-band h2 em { color: var(--on-deep-accent); }
.cta-band a:not(.btn) { color: inherit; }
.cta-band a:not(.btn):hover { color: var(--on-deep-accent); }
.cta-band :focus-visible { outline-color: var(--on-deep); }
.cta-band ::selection { background: var(--on-deep); color: var(--deep); }

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 5rem) calc(2rem + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 26ch; }
.footer-title {
  margin-bottom: 1rem;
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
}
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.inline-form .input { flex: 1 1 170px; min-width: 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Formularze
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: 1 / -1; }
}
.field { display: grid; gap: .45rem; min-width: 0; }
.field > label, .field > .label { font-size: var(--fs-sm); font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8em .95em;
  transition: border-color .15s;
}
.textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 0;
  border-color: var(--accent);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .8; }

.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--err); }
.field-error { font-size: var(--fs-xs); color: var(--err); }

.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.fieldset-plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-plain legend { padding: 0; margin-bottom: .45rem; font-size: var(--fs-sm); font-weight: 500; }
.check {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.check input { width: 1.15rem; height: 1.15rem; margin: .2em 0 0; accent-color: var(--accent); }
.check.has-error { color: var(--err); }

.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--err); }
.inline-form .form-status, .inline-form .note, .inline-form .field-error { flex-basis: 100%; }

.text-btn {
  justify-self: start;
  padding: 0 0 .1em;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font: 500 var(--fs-sm)/1.3 var(--font-body);
  cursor: pointer;
}
.text-btn:hover { color: var(--accent); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status {
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  background: var(--surface-2);
}
.form-status.is-ok { background: color-mix(in srgb, var(--ok) 16%, var(--surface)); }
.form-status.is-err { background: color-mix(in srgb, var(--err) 14%, var(--surface)); }

/* --------------------------------------------------------------------------
   O mnie
   -------------------------------------------------------------------------- */
.about-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 940px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about-figure { position: sticky; top: calc(var(--header-h) + 2rem + env(safe-area-inset-top, 0px)); }
}
.arch {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.about-figure figcaption { margin-top: .9rem; font: var(--fs-xs)/1.5 var(--font-mono); letter-spacing: .06em; color: var(--muted); }

.prose { max-width: 66ch; font-size: 1.1rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; font-size: var(--fs-xl); line-height: 1.12; scroll-margin-top: calc(var(--header-h) + 1.5rem + env(safe-area-inset-top, 0px)); }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem + env(safe-area-inset-top, 0px)); }
.prose h3 { margin-top: 2em; font-size: var(--fs-lg); line-height: 1.2; }
.prose h2 + *, .prose h3 + * { margin-top: .75em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent); }
.prose blockquote {
  padding-block: .4em;
  font: italic 400 var(--fs-lg)/1.4 var(--font-display);
}
.prose .callout {
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1rem;
}
.prose .callout > * + * { margin-top: .6em; }

.figures {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  padding-block: 1.75rem;
  border-block: 1px solid var(--line);
}
.figures strong { display: block; font: 400 var(--fs-2xl)/1 var(--font-display); font-variant-numeric: lining-nums; }
.figures span { display: block; margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); }

.timeline { list-style: none; display: grid; gap: 1.9rem; padding-left: 1.75rem; border-left: 1px solid var(--line); }
.timeline li { position: relative; display: grid; gap: .35rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: .35em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.timeline time { font: var(--fs-xs)/1.4 var(--font-mono); letter-spacing: .12em; color: var(--brass); }
.timeline h3 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.timeline p { font-size: var(--fs-sm); color: var(--muted); }

.values {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.value { display: grid; gap: .6rem; align-content: start; padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.value h3 { font-size: var(--fs-lg); font-style: italic; font-weight: 400; }
.value p { font-size: var(--fs-sm); color: var(--muted); }

.two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.two-col > * { min-width: 0; }

.plain-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.plain-list li { padding-block: .9rem; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.plain-list li span { font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   Oferta
   -------------------------------------------------------------------------- */
.service {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem + env(safe-area-inset-top, 0px));
}
.service:first-child { border-top: 1px solid var(--ink); }
@media (min-width: 940px) {
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; }
}
.service > * { min-width: 0; }
.service-head { display: grid; gap: 1rem; align-content: start; }
.service-head h2 { font-size: var(--fs-xl); line-height: 1.08; }
.service-price {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  align-items: baseline;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.service-price strong { font: 500 var(--fs-lg)/1.1 var(--font-mono); font-variant-numeric: tabular-nums; }
.service-price span { font-size: var(--fs-sm); color: var(--muted); }
.service-specs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1.25rem; font-size: var(--fs-sm); }
.service-specs dt { font: var(--fs-xs)/1.7 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.service-body { display: grid; gap: 1.75rem; align-content: start; }
.service-body h3 {
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-body .ticks { color: var(--ink); font-size: var(--fs-base); gap: .7rem; }
.badge {
  display: inline-block;
  justify-self: start;
  padding: .3em .8em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: var(--fs-xs)/1.3 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.table { border-collapse: collapse; width: 100%; min-width: 700px; font-size: var(--fs-sm); }
.table th, .table td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th {
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}
.table tbody th { font-weight: 500; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .yes { color: var(--accent); font-weight: 600; }
.table .no { color: var(--muted); }

.addons {
  list-style: none;
  display: grid;
  gap: 0 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.addons li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .3rem 1.5rem;
  align-items: baseline;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.addons strong { font-weight: 500; }
.addons .price-value { font-size: var(--fs-base); }
.addons p { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--muted); }

/* --------------------------------------------------------------------------
   Filtry, blog, artykuł
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 2.25rem; }
.filter-btn {
  padding: .6em 1.15em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: var(--fs-xs)/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-status { margin-left: auto; font: var(--fs-xs)/1.2 var(--font-mono); color: var(--muted); }

.posts {
  display: grid;
  gap: 3rem 2.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.post-card { display: grid; gap: 1rem; align-content: start; text-decoration: none; min-width: 0; }
.post-card:hover { color: var(--ink); }
.post-card .palette { height: 150px; --s: 14px; }
.post-card h2 { font-size: var(--fs-lg); line-height: 1.18; }
a.post-card:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.post-card p { font-size: var(--fs-sm); color: var(--muted); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  font: var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-meta .cat { color: var(--accent); }
.post-card--soon .palette { opacity: .55; }
.post-card--soon h2, .post-card--soon h3 { color: var(--muted); }

.article-layout { display: grid; gap: 3rem; }
.article-layout > * { min-width: 0; }
@media (min-width: 1020px) {
  .article-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 5rem; align-items: start; }
  .article-aside { position: sticky; top: calc(var(--header-h) + 2rem + env(safe-area-inset-top, 0px)); }
}
.article-aside { display: grid; gap: 1.5rem; font-size: var(--fs-sm); min-width: 0; }
.toc { list-style: none; display: grid; gap: .5rem; counter-reset: toc; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--accent); }
.aside-box { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); display: grid; gap: .9rem; }
.aside-box h2 { font-size: var(--fs-md); line-height: 1.25; }

.article-hero .palette { height: 110px; margin-top: 1rem; --s: 16px; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.contact-grid > * { min-width: 0; }
.contact-card { display: grid; gap: 1.75rem; }
.contact-line { display: grid; gap: .3rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.contact-line .value { font: 400 var(--fs-lg)/1.2 var(--font-display); word-break: break-word; }
.copy-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.copy-btn {
  padding: .35em .8em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: var(--fs-xs)/1.2 var(--font-mono);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }

.form-card {
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem + env(safe-area-inset-top, 0px));
}
.form-card h2 { font-size: var(--fs-xl); margin-bottom: .5rem; }

.next-steps { list-style: none; display: grid; gap: 1.1rem; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; counter-increment: ns; font-size: var(--fs-sm); }
.next-steps li::before {
  content: counter(ns);
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: var(--fs-xs)/1 var(--font-mono);
}
.next-steps strong { display: block; font-weight: 600; }
.next-steps span { color: var(--muted); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { padding-block: clamp(4rem, 10vw, 9rem); }
.error-page .wrap { display: grid; gap: 1.6rem; justify-items: start; }
.error-code { font: italic 400 clamp(6rem, 4rem + 12vw, 14rem)/.85 var(--font-display); color: var(--accent); letter-spacing: -.04em; }

/* --------------------------------------------------------------------------
   Drobiazgi
   -------------------------------------------------------------------------- */
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.center-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
