/* ==========================================================================
   Kancelaria Zamówień Publicznych Aleksandra Kobylińska - v2 (ciepła)
   ========================================================================== */

/* Fonty hostowane lokalnie (bez Google Fonts), licencja SIL OFL 1.1 - pliki OFL-*.txt w fonts/.
   Fonty zmienne: jeden plik obejmuje zakres grubości. latin-ext zawiera polskie znaki. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #FAF8F4;
  --bg-alt: #EFEBE4;
  --ink: #121110;
  --text: #2A2825;
  --text-2: #3A3732;
  --muted: #4F4A44;
  --muted-2: #4A4640;
  --on-dark: #CFCAC1;
  --on-dark-2: #A9A49B;
  --line: #D6D1C8;
  --line-2: #E4E0D9;
  --line-dark: #2E2C29;
  --num: #8A857D;
  --inactive: #9A958C;
  --form-line: #4A4743;

  --serif: 'Cormorant Garamond', serif;
  --sans: 'Hanken Grotesk', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --px: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, 0, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; opacity: .7; }
::selection { background: var(--ink); color: var(--bg); }
input, textarea { font: inherit; }
input::placeholder, textarea::placeholder { color: #77726a; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { font-weight: inherit; }

.container { max-width: 1440px; margin: 0 auto; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: 12px 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nowrap { white-space: nowrap; }

@keyframes kzpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bar--below { padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.bar--above { padding-top: 18px; border-top: 1px solid var(--ink); }
.bar--dark { color: var(--on-dark-2); }
.bar--dark.bar--below { border-bottom-color: var(--line-dark); }
.bar--dark-line { border-top-color: var(--bg); color: var(--on-dark-2); }

.h2-xl {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 92px);
  line-height: .92;
  letter-spacing: -.035em;
}
.lede {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */
.ctas { display: flex; gap: 16px 28px; align-items: center; flex-wrap: wrap; }
.btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { opacity: 1; background: #FFFFFF; color: var(--ink); }
.btn--sm { gap: 18px; padding: 18px 26px; }
.btn__arrow { font-size: 15px; letter-spacing: 0; }

.link-line {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}
.link-arrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.link-arrow--wide { letter-spacing: .26em; }
.link-arrow__a { letter-spacing: 0; }

.round-btn {
  all: unset;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 16px;
  transition: background .3s ease, color .3s ease;
}
.round-btn:hover { background: var(--ink); color: var(--bg); }
.round-btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  mix-blend-mode: difference;
  color: var(--bg);
  padding: 28px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 40px; width: auto; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
}
.brand__person {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 40px);
  font-size: 11px;
  letter-spacing: clamp(.12em, .2vw, .26em);
  text-transform: uppercase;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.site-nav__link { white-space: nowrap; display: none; }
.site-nav__tel {
  display: none;
  white-space: nowrap;
  border: 1px solid var(--bg);
  padding: 10px 14px;
  letter-spacing: .12em;
}
.menu-btn {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.menu-btn__icon { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-btn__icon span { height: 1px; background: currentColor; }

@media (min-width: 760px) {
  .site-nav__tel { display: inline-block; }
}
@media (min-width: 1040px) {
  .site-nav__link { display: inline; }
  .menu-btn { display: none; }
}

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 28px var(--px) 40px;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__top { display: flex; justify-content: flex-end; align-items: center; min-height: 40px; }
.menu__close {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.menu__x { font-size: 18px; letter-spacing: 0; }
.menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1.6vh, 16px);
  padding: 32px 0;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.menu__num { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .55; }
.menu__tel {
  align-self: flex-start;
  border: 1px solid var(--bg);
  padding: 14px 18px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero (full-bleed)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.14) brightness(.9);
  transition: opacity 1.8s ease, transform 6s var(--ease);
}
.hero__bg {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  height: 100%;
  min-width: 100%;
  aspect-ratio: 1150 / 760;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero__tone {
  position: absolute;
  inset: 0;
  background: #3A3732;
  mix-blend-mode: soft-light;
  opacity: .55;
  pointer-events: none;
}
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__shade--x {
  background: linear-gradient(90deg, rgba(18,17,16,.92) 0%, rgba(18,17,16,.78) 34%, rgba(18,17,16,.25) 62%, rgba(18,17,16,.1) 100%);
}
.hero__shade--y {
  background: linear-gradient(180deg, rgba(18,17,16,.55) 0%, rgba(18,17,16,0) 24%, rgba(18,17,16,0) 62%, rgba(18,17,16,.85) 100%);
}
.hero__inner {
  position: relative;
  flex: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(112px, 15vh, 136px) var(--px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(250,248,244,.22);
}
.hero__top span { white-space: nowrap; }
.hero__main { display: flex; flex-direction: column; gap: clamp(24px, 4vh, 40px); max-width: 820px; }
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, min(7.6vw, 13vh), 148px);
  line-height: .88;
  letter-spacing: -.04em;
}
.hero__title .line { overflow: hidden; display: block; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .line > span { display: block; transition: transform 1.4s var(--ease) 0s; }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title .line:nth-child(3) > span { transition-delay: .24s; font-style: italic; }
.hero__body { display: flex; flex-direction: column; gap: 32px; }
.hero__body p {
  margin: 0;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: #E4E0D8;
  text-wrap: pretty;
}
.hero__bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(250,248,244,.35);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.hero__bottom a { color: var(--bg); white-space: nowrap; }

/* Reveal (tylko gdy JS działa) */
.fade--eyebrow { transition: opacity 1s ease .2s; }
.fade--body { transition: opacity 1.2s ease .6s; }
.fade--bottom { transition: opacity 1.2s ease .8s; }
.js .hero__media { opacity: 0; transform: scale(1.08); }
.js .hero__title .line > span { transform: translateY(105%); }
.js .fade { opacity: 0; }
.js.is-loaded .hero__media { opacity: 1; transform: scale(1); }
.js.is-loaded .hero__title .line > span { transform: translateY(0); }
.js.is-loaded .fade { opacity: 1; }

/* ==========================================================================
   (01) Kancelaria
   ========================================================================== */
.kanc { background: var(--bg); padding: clamp(96px, 11vw, 160px) var(--px); }
.kanc__wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.kanc__title {
  margin: 0;
  max-width: 1100px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.kanc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 7vw, 120px);
  align-items: stretch;
}
.kanc__photo {
  margin: 0;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  filter: grayscale(1) contrast(1.04);
}
.kanc__photo-inner {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  aspect-ratio: 1400 / 2100;
  transform: translateY(-60%);
}
.kanc__photo img { width: 100%; height: 100%; object-fit: cover; }
.kanc__text {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
  max-width: 560px;
  padding: 8px 0;
}
.kanc__lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.kanc__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text);
}
.kanc__body p { margin: 0; text-wrap: pretty; }
.kanc__sign {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.kanc__name {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

/* ==========================================================================
   (02) Dla kogo
   ========================================================================== */
.clients { background: var(--bg-alt); padding: clamp(96px, 12vw, 160px) var(--px); }
.clients__wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.clients__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
}
.clients__intro { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.carousel-ctrl { display: flex; gap: 8px; align-items: center; }
.pause-btn {
  all: unset;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px;
}
.pause-btn:hover { color: var(--ink); }

.clients__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.clients__track::-webkit-scrollbar { display: none; }
.ccard {
  flex: 0 0 max(260px, calc((100% - 48px) / 4));
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 2.4vw, 36px);
  min-height: 340px;
  transition: background .4s ease, color .4s ease;
}
.ccard:hover { background: var(--ink); color: var(--bg); }
.ccard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ccard__n {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: .8;
}
.ccard__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
  text-align: right;
}
.ccard__body { display: flex; flex-direction: column; gap: 16px; }
.ccard__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.ccard__who { font-size: 13px; line-height: 1.6; font-weight: 300; opacity: .65; }
.ccard__how { margin: 0; font-size: 15px; line-height: 1.65; font-weight: 300; text-wrap: pretty; }
.ccard__needs {
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid currentColor;
}
.ccard__needs li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 6px 9px;
  opacity: .8;
}

.progress { height: 1px; background: var(--line); position: relative; }
.progress__bar {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  width: 16.67%;
  background: var(--ink);
  transition: width .3s ease;
}

.logos {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.marquee__track {
  display: flex;
  width: max-content;
  padding: 12px 0;
  animation: kzpMarquee 52s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__set {
  display: flex;
  align-items: center;
  gap: clamp(64px, 8vw, 128px);
  padding-right: clamp(64px, 8vw, 128px);
  flex-shrink: 0;
}
/* Logo: szara wersja, po najechaniu przenika w kolorową */
.mlogo { position: relative; display: block; flex-shrink: 0; }
.mlogo img { display: block; height: 100%; width: auto; max-width: none; transition: opacity .4s ease; }
.mlogo__mono { opacity: .5; }
.mlogo__color { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; }
.mlogo:hover .mlogo__mono { opacity: 0; }
.mlogo:hover .mlogo__color { opacity: 1; }

/* ==========================================================================
   (03) Oferta
   ========================================================================== */
.offer { background: var(--bg); padding: clamp(120px, 14vw, 200px) var(--px); }
.offer__wrap { width: 100%; display: flex; flex-direction: column; gap: clamp(72px, 9vw, 128px); }
.offer__intro { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.offer__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.offer__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 104px);
  line-height: .9;
  letter-spacing: -.035em;
}
.offer__lede {
  margin: 0;
  max-width: 400px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-2);
  text-wrap: pretty;
}
.offer__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 56px clamp(56px, 8vw, 160px);
  align-items: stretch;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink);
}
.phase-list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.phase {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: clamp(22px, 3vh, 32px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--inactive);
  transition: color .4s ease;
}
.phase:hover, .phase.is-active { color: var(--ink); }
.phase__code { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.phase__label { display: flex; flex-direction: column; gap: 10px; }
.phase__title {
  font-family: var(--serif);
  font-size: clamp(26px, min(2.4vw, 4.2vh), 38px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.015em;
}
.phase__line {
  display: block;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width .7s var(--ease);
}
.phase.is-active .phase__line { width: 56px; }
.phase__mark { display: none; }

.phase-panels { flex: 1.6 1 440px; min-width: 0; display: grid; }
.panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 44px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .6s var(--ease), visibility .5s;
}
.panel.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.panel[hidden] { display: none; }
.panel__lead {
  margin: 0;
  max-width: 620px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, min(2.2vw, 4vh), 34px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.panel__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.panel__list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: clamp(14px, 2vh, 18px) 0;
  border-top: 1px solid var(--line);
}
.panel__n { font-family: var(--mono); font-size: 11px; color: var(--num); }
.panel__t { font-size: 14px; line-height: 1.6; font-weight: 300; color: var(--text); text-wrap: pretty; }
.panel .link-arrow { margin-top: auto; align-self: flex-start; }

.offer__cards { display: flex; flex-wrap: wrap; gap: 24px; }
.ocard {
  flex: 1 1 360px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(22px, 3vh, 32px) clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--ink);
  background: var(--bg);
  transition: background .4s ease, color .4s ease;
}
.ocard:hover { opacity: 1; background: var(--ink); color: var(--bg); }
.ocard__body { display: flex; flex-direction: column; gap: 10px; }
.ocard__kind { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.ocard__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}
.ocard__desc { font-size: 14px; line-height: 1.6; font-weight: 300; opacity: .8; max-width: 460px; text-wrap: pretty; }
.ocard__arrow { font-size: 20px; font-weight: 300; align-self: flex-end; }

/* ==========================================================================
   (04) O mnie
   ========================================================================== */
.about {
  background: var(--ink);
  color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}
.about__photo {
  margin: 0;
  flex: 1 0 42%;
  min-width: min(100%, 320px);
  max-width: 100%;
  position: relative;
  min-height: min(100vh, 900px);
  filter: grayscale(1) contrast(1.06);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__cap {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  right: clamp(20px, 3vw, 40px);
  top: clamp(96px, 12vh, 120px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg);
  mix-blend-mode: difference;
  pointer-events: none;
}
.about__text {
  flex: 1 1 440px;
  min-width: 0;
  padding: clamp(96px, 12vh, 120px) clamp(20px, 5vw, 88px) clamp(40px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 5vh, 56px);
}
.about__main { display: flex; flex-direction: column; gap: clamp(20px, 3.4vh, 40px); }
.about__h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, min(5.6vw, 10.5vh), 108px);
  line-height: .88;
  letter-spacing: -.04em;
}
.about__h em { font-weight: 300; }
.about__bio {
  margin: 0;
  max-width: 460px;
  font-family: var(--serif);
  font-size: clamp(19px, min(1.45vw, 2.6vh), 22px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--on-dark);
  text-wrap: pretty;
}
.about__foot { display: flex; flex-direction: column; gap: clamp(24px, 4vh, 40px); }
.stats {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  padding-top: clamp(18px, 3vh, 28px);
  border-top: 1px solid var(--bg);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 clamp(16px, 2vw, 32px) 0 0;
  border-right: 1px solid var(--line-dark);
  flex: 1 1 0;
  min-width: 0;
}
.stat:last-child { padding: 0; border-right: 0; }
.stat__v {
  font-family: var(--serif);
  font-size: clamp(28px, min(2.6vw, 4.6vh), 40px);
  font-weight: 300;
  line-height: 1;
}
.stat__l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.ctas--about { gap: 16px 32px; }

/* ==========================================================================
   (05) Doświadczenie
   ========================================================================== */
.career { background: var(--bg); color: var(--ink); padding: clamp(56px, 6vw, 88px) var(--px); }
.career__wrap { display: flex; flex-direction: column; gap: clamp(56px, 6vw, 96px); }
.quals { display: flex; flex-direction: column; gap: 20px; }
.quals__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--ink);
}
.qual {
  background: var(--bg);
  flex: 1 1 260px;
  padding: clamp(24px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 220px;
}
.qual--dark { background: var(--ink); color: var(--bg); }
.qual__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.qual__code { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qual--dark .qual__code { color: var(--on-dark-2); }
.qual__sym { font-family: var(--serif); font-size: 40px; line-height: .7; font-weight: 400; }
.qual__body { display: flex; flex-direction: column; gap: 10px; }
.qual__title { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; font-weight: 400; }
.qual__sub { font-size: 13px; line-height: 1.6; font-weight: 300; color: var(--muted-2); }
.qual--dark .qual__sub { font-weight: 400; color: var(--on-dark); }

.cv { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 4vw, 96px); align-items: stretch; }
.cv__side {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-top: 4px;
}
.cv__intro { display: flex; flex-direction: column; gap: 24px; }
.cv__h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 84px);
  line-height: .92;
  letter-spacing: -.025em;
}
.cv__p {
  margin: 0;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text-2);
  text-wrap: pretty;
}
.cv__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.cv-tab {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--num);
}
.cv-tab:hover, .cv-tab[aria-selected="true"] { color: var(--ink); }
.cv-tab__l { display: flex; align-items: baseline; gap: 14px; }
.cv-tab__count { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.cv-tab__label { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); font-weight: 400; line-height: 1; }
.cv-tab__mark { font-size: 18px; font-weight: 300; }

.cv__main { flex: 1.8 1 380px; min-width: 0; display: flex; flex-direction: column; }
.bar--cv { gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); flex-wrap: nowrap; }
.cv__list { display: flex; flex-direction: column; min-height: min(520px, 62vh); }
.cv__list[hidden] { display: none; }
.cv-item {
  display: grid;
  grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.cv-item__meta { display: flex; align-items: baseline; gap: 10px; }
.cv-item__n { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--num); min-width: 24px; }
.cv-item__k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cv-item__body { display: flex; flex-direction: column; gap: 5px; }
.cv-item__t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -.005em;
}
.cv-item__o { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--muted-2); }
.cv-item__d {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--muted);
  margin-top: 4px;
  max-width: 560px;
  text-wrap: pretty;
}

/* ==========================================================================
   (06) Wystąpienia i szkolenia
   ========================================================================== */
.talks { background: var(--bg-alt); padding: clamp(96px, 12vw, 160px) var(--px); }
.talks__wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.talks__row { display: flex; flex-wrap: wrap; gap: 56px clamp(40px, 6vw, 120px); align-items: center; }
.talks__text { flex: 1.2 1 380px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.talks__h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 92px);
  line-height: .95;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.talks__lead {
  margin: 0;
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  font-weight: 400;
  color: var(--text);
  text-wrap: pretty;
}
.facts { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); max-width: 560px; }
.fact {
  display: grid;
  grid-template-columns: minmax(90px, 120px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.fact dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; font-size: 14px; line-height: 1.6; font-weight: 300; color: var(--text); }

.gallery { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gallery__frames { display: flex; gap: 8px; height: clamp(380px, 60vh, 580px); }
.frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  transition: flex .8s var(--ease);
  background: var(--ink);
  cursor: pointer;
}
.frame.is-active { flex: 3.2 1 0; }
.frame--2.is-active { max-width: calc(62vh * .85); }
.frame:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.frame__img {
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.3) brightness(.92);
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}
.frame.is-active .frame__img { transform: scale(1); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.frame__img-wide { position: absolute; top: 0; bottom: 0; left: -22%; right: -22%; }
.frame__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,16,.6) 0%, rgba(18,17,16,0) 26%, rgba(18,17,16,0) 50%, rgba(18,17,16,.8) 100%);
  pointer-events: none;
}
.frame__lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(250,248,244,.035) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.frame__cap {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--bg);
  pointer-events: none;
}
.frame__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.frame__tag { opacity: 0; transition: opacity .5s ease; }
.frame__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .8s var(--ease);
}
.frame.is-active .frame__tag { opacity: 1; }
.frame.is-active .frame__bottom { opacity: 1; transform: translateY(0); }
.frame__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-style: italic;
  line-height: 1.1;
  white-space: nowrap;
}
.gallery__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hint-touch { display: none; }
@media (hover: none) {
  .hint-hover { display: none; }
  .hint-touch { display: inline; }
}
.dots { display: flex; gap: 6px; align-items: center; }
.dots span { width: 8px; height: 2px; background: var(--ink); transition: width .6s ease; }
.dots span.is-active { width: 28px; }

.topics { display: flex; flex-direction: column; gap: 24px; }
.topics__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.topics__h { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; }
.topics__grid { display: flex; flex-wrap: wrap; gap: 0 24px; }
.topic {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 26px 0;
  border-top: 1px solid var(--ink);
}
.topic__t { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; }

/* ==========================================================================
   (07) Blog
   ========================================================================== */
.blog { background: var(--bg); padding: clamp(96px, 12vw, 180px) var(--px); }
.blog__wrap { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.blog__intro { display: flex; flex-direction: column; gap: 20px; }
.blog__ctrl { display: flex; align-items: center; gap: 20px; }
.blog__btns { display: flex; gap: 8px; }
.blog__track {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.blog__track::-webkit-scrollbar { display: none; }
.post {
  flex: 0 0 min(86%, 520px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.post:hover { opacity: 1; }
.post__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.post__title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
  min-height: 2.16em;
}
.post__excerpt { font-size: 14px; line-height: 1.7; font-weight: 300; color: var(--muted-2); text-wrap: pretty; max-width: 460px; }
.post__more {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-top: 8px;
}
.post__more-l { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.post:hover .post__more { opacity: .7; }

/* ==========================================================================
   (08) FAQ
   ========================================================================== */
.faq { background: var(--bg-alt); padding: clamp(96px, 12vw, 160px) var(--px); }
.faq__wrap {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.faq__intro { display: flex; flex-direction: column; gap: 24px; }
.faq__h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -.015em;
}
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__qh { margin: 0; font: inherit; }
.faq__q {
  all: unset;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
}
.faq__mark { font-family: var(--sans); font-weight: 300; font-size: 22px; }
.faq__a {
  margin: 0;
  padding: 0 48px 32px 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ==========================================================================
   (09) Kontakt + stopka
   ========================================================================== */
.contact { background: var(--ink); color: var(--bg); padding: clamp(96px, 11vw, 160px) var(--px) 0; }
.contact__wrap { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.contact__intro { display: flex; flex-direction: column; gap: 28px; }
.contact__h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 7.4vw, 124px);
  line-height: .9;
  letter-spacing: -.03em;
}
.contact__row { display: flex; flex-wrap: wrap; gap: clamp(48px, 6vw, 96px); align-items: stretch; }
.contact__photo {
  margin: 0;
  flex: 1 1 340px;
  max-width: min(100%, 560px);
  position: relative;
  min-height: clamp(480px, 62vh, 720px);
  overflow: hidden;
  filter: grayscale(1) contrast(1.06);
}
.contact__photo-inner {
  position: absolute;
  left: 0; right: 0; top: 0;
  min-height: 100%;
  aspect-ratio: 1400 / 2100;
}
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,16,0) 55%, rgba(18,17,16,.85) 100%);
  pointer-events: none;
}
.contact__cap {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__name { font-family: var(--serif); font-size: 26px; font-style: italic; line-height: 1.1; }
.contact__role { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }

.contact__main {
  flex: 1.5 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 56px);
}
.clist { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.crow {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding .4s var(--ease);
}
a.crow:hover { padding-left: 8px; }
.crow__k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.crow__v { font-size: 16px; line-height: 1.5; font-weight: 300; letter-spacing: .01em; color: var(--bg); word-break: break-word; }
.crow__i { font-size: 13px; color: var(--num); text-align: right; }

.cform-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--bg);
}
.cform__lead {
  margin: 0;
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--bg);
  text-wrap: balance;
}
.cform { display: flex; flex-direction: column; gap: 8px; }
.cform[hidden] { display: none; }
.cform__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--form-line);
  transition: border-color .3s ease;
}
.field:focus-within { border-bottom-color: var(--on-dark-2); }
.field.is-invalid { border-bottom-color: #C98B7E; }
.field__l { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.field input, .field textarea {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--bg);
  font-size: 18px;
  padding: 6px 0;
  border-radius: 0;
}
.field textarea { resize: vertical; }
.cform__error { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: #E3B3A8; }
.cform__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cform__note { font-size: 12px; line-height: 1.6; color: var(--on-dark-2); max-width: 320px; }
.cform__note a { text-decoration: underline; text-underline-offset: 3px; }
.cform__submit {
  all: unset;
  cursor: pointer;
  background: var(--bg);
  color: var(--ink);
  padding: 20px 40px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  transition: background .3s ease;
}
.cform__submit:hover { background: #FFFFFF; }
.cform__submit:focus-visible { outline: 1px solid var(--bg); outline-offset: 4px; }
.cform__submit[disabled] { opacity: .6; cursor: progress; }
.cform-ok {
  border: 1px solid var(--line-dark);
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.cform-ok[hidden] { display: none; }
.cform-ok__h { font-family: var(--serif); font-size: 48px; font-weight: 300; font-style: italic; }
.cform-ok p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 300; color: var(--on-dark); }

.footer {
  display: flex;
  flex-direction: column;
  gap: 48px;
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-dark-2);
}
.footer__brand { display: flex; align-items: flex-start; gap: 14px; color: var(--bg); }
.footer__brand img { height: 52px; width: auto; flex-shrink: 0; }
.footer__name { font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8F8A81;
}
.footer__credit { letter-spacing: .12em; text-transform: none; }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { display: flex; gap: 24px; }

/* ==========================================================================
   Podstrona: Polityka prywatności i RODO
   ========================================================================== */
.doc { background: var(--bg); padding: clamp(128px, 17vh, 184px) var(--px) clamp(96px, 11vw, 160px); }
.doc__wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.doc__head { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.doc__back { white-space: nowrap; }
.doc__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 104px);
  line-height: .9;
  letter-spacing: -.035em;
}
.doc__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 48px;
}
.doc__meta p { margin: 0; }
.doc__org {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--ink);
}
.doc__layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink);
}

.doc-toc { position: sticky; top: 128px; }
.doc-toc summary { list-style: none; margin-bottom: 18px; pointer-events: none; }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc-toc li { border-bottom: 1px solid var(--line-2); }
.doc-toc a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--inactive);
  transition: color .3s ease;
}
.doc-toc a:hover { opacity: 1; color: var(--ink); }
.doc-toc a[aria-current="true"] { color: var(--ink); }
.doc-toc__n { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }

.doc__body { max-width: 760px; display: flex; flex-direction: column; gap: clamp(56px, 6vw, 80px); }
.doc-sec { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 112px; }
.doc-sec h2 {
  margin: 0 0 6px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.doc-sec h3 {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.25;
}
.doc-sec__n {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}
.doc-sec p, .doc-sec li, .doc-data dd {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text);
  text-wrap: pretty;
}
.doc-sec p { margin: 0; }
.doc-sec strong { font-weight: 500; color: var(--ink); }
.doc-sec a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-sec ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.doc-sec li {
  position: relative;
  padding: 10px 0 10px 40px;
  border-bottom: 1px solid var(--line-2);
}
.doc-sec li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(10px + .9em);
  width: 14px;
  height: 1px;
  background: var(--num);
}
.doc-data { margin: 0; border-top: 1px solid var(--line-2); }
.doc-data div {
  display: grid;
  grid-template-columns: minmax(96px, 160px) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.doc-data dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-data dd { margin: 0; font-weight: 400; color: var(--ink); }

.page-foot { background: var(--ink); color: var(--bg); padding: 0 var(--px); }
.page-foot .footer { border-top: 0; }

@media (max-width: 899px) {
  .doc__layout { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { position: static; }
  .doc-toc summary {
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 4px 0 16px;
  }
  .doc-toc summary::after { content: '+'; font-family: var(--sans); font-size: 18px; line-height: 1; }
  .doc-toc[open] summary::after { content: '−'; }
}
@media (max-width: 520px) {
  .doc-sec h2, .doc-sec h3 { grid-template-columns: 32px minmax(0, 1fr); }
  .doc-sec li { padding-left: 28px; }
  .doc-data div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ==========================================================================
   Podstrona: Baza wiedzy (listing artykułów)
   ========================================================================== */
.kb { background: var(--bg); padding: clamp(128px, 17vh, 184px) var(--px) clamp(96px, 11vw, 160px); }
.kb__wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.kb__head { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.kb__intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.kb__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 104px);
  line-height: .9;
  letter-spacing: -.035em;
}
.kb__lede {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text-2);
  text-wrap: pretty;
}
.kb__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink);
}
.ktile { display: flex; }
.ktile__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: clamp(300px, 26vw, 380px);
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid var(--ink);
  background: var(--bg);
  transition: background .4s ease, color .4s ease;
}
.ktile__link:hover { opacity: 1; background: var(--ink); color: var(--bg); }
.ktile__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
}
.ktile__title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.ktile__excerpt { margin: 0; font-size: 14px; line-height: 1.7; font-weight: 300; opacity: .8; text-wrap: pretty; }
.ktile__more {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.ktile__more-l { border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.kb-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--ink);
}
.kb-cta__text {
  margin: 0;
  max-width: 720px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { opacity: 1; background: #2A2825; color: var(--bg); }

.blog__all { align-self: flex-start; }

/* Długi tytuł: część po myślniku mniejszą kursywą (kafle, karuzela bloga) */
.title-sub {
  display: block;
  margin-top: .35em;
  font-size: .6em;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: 0;
}

/* ==========================================================================
   Artykuł (Baza wiedzy)
   ========================================================================== */
.art__title {
  margin: 0;
  max-width: 1120px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 76px);
  line-height: 1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.art__intro { display: flex; flex-direction: column; gap: 18px; }
.art__intro p { margin: 0; font-size: 15px; line-height: 1.8; font-weight: 300; color: var(--text); text-wrap: pretty; }
.art__intro .art__lead {
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
}
.doc-sec ol { margin: 0; padding: 0; list-style: none; counter-reset: kzp-li; border-top: 1px solid var(--line-2); }
.doc-sec ol > li { counter-increment: kzp-li; }
.doc-sec ol > li::before {
  content: counter(kzp-li, decimal-leading-zero);
  top: 10px;
  width: auto;
  height: auto;
  background: none;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 27px;
  color: var(--muted);
}
.art-example {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 2px solid var(--ink);
}
.art-note {
  margin: 8px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}
.art-note p { margin: 0; }
.art-note p + p { margin-top: 6px; }
/* Lista kontrolna: kwadratowe pola zamiast kresek */
.doc-sec .art-checklist li::before {
  top: calc(10px + .55em);
  width: 13px;
  height: 13px;
  background: none;
  border: 1px solid var(--ink);
}
.art-author {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink);
  color: var(--bg);
}
.art-author img { width: 96px; height: 96px; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.art-author__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.art-author__label { color: var(--on-dark-2); }
.art-author__name { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.1; }
.art-author__bio { margin: 0 0 12px; font-size: 14px; line-height: 1.7; font-weight: 300; color: var(--on-dark); text-wrap: pretty; }
.art-more { display: flex; flex-direction: column; gap: 24px; }
.kb__grid--plain { padding-top: 0; border-top: 0; }

@media (max-width: 520px) {
  .art-author { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .art-author img { width: 72px; height: 72px; }
  .art-example { padding: 18px 18px; }
}

/* ==========================================================================
   Baner zgód (cookies)
   ========================================================================== */
.consent {
  position: fixed;
  left: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 32px);
  z-index: 65;
  width: min(560px, calc(100% - 2 * clamp(12px, 3vw, 32px)));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(250,248,244,.18);
  padding: clamp(22px, 2.4vw, 32px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .6s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: none; }
.consent__view { display: flex; flex-direction: column; gap: 18px; }
.consent__view[hidden] { display: none; }
.consent__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.consent__eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.consent__text { margin: 0; font-size: 14px; line-height: 1.7; font-weight: 300; color: var(--on-dark); text-wrap: pretty; }
.consent a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.consent :focus-visible { outline: 1px solid var(--bg); outline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 6px; }
.consent__btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
  padding: 15px 20px;
  border: 1px solid var(--bg);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
  transition: background .3s ease, color .3s ease;
}
.consent__btn:hover { background: rgba(250,248,244,.1); }
.consent__btn--fill { background: var(--bg); color: var(--ink); }
.consent__btn--fill:hover { background: #FFFFFF; }
.consent__link, .consent__close {
  all: unset;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
}
.consent__link { margin-left: auto; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.consent__close { display: flex; align-items: center; gap: 10px; }
.consent__close span:last-child { font-size: 16px; letter-spacing: 0; }
.consent__link:hover, .consent__close:hover { opacity: .7; }
.consent__cats { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.consent__cat { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.consent__cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.consent__cat-name { font-family: var(--serif); font-size: 22px; line-height: 1.1; font-weight: 400; }
label.consent__cat-name { cursor: pointer; }
.consent__always { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.consent__cat p { margin: 0; font-size: 13px; line-height: 1.6; font-weight: 300; color: var(--on-dark-2); }
.consent__switch {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  position: relative;
  width: 44px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--on-dark-2);
  background: transparent;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}
.consent__switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  background: var(--on-dark-2);
  transition: transform .3s var(--ease), background .3s ease;
}
.consent__switch:checked { border-color: var(--bg); background: var(--bg); }
.consent__switch:checked::after { transform: translateX(22px); background: var(--ink); }

.footer__cookies { all: unset; cursor: pointer; }
.footer__cookies:hover { opacity: .7; }
.footer__cookies:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.doc-consent {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.doc-consent:hover { opacity: .7; }
.doc-consent:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

@media (max-width: 520px) {
  .consent { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .consent__actions { align-items: stretch; }
  .consent__actions .consent__btn {
    flex: 1 1 calc(50% - 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    letter-spacing: .12em;
  }
  .consent__link { margin: 8px auto 0; }
}

/* ---------- Pływający przycisk "Zadzwoń" (mobile) ---------- */
.fab {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(250,248,244,.16);
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgba(18,17,16,.6);
}
.fab:hover { opacity: 1; }

/* ==========================================================================
   Responsywność
   ========================================================================== */

/* Oferta: gdy lista i treść są jedno pod drugim - akordeon, treść od razu pod punktem */
@keyframes kzpPanelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) {
  .phase-panels { display: none; }
  .phase { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .phase.is-active { border-bottom-color: transparent; }
  .phase__mark {
    display: block;
    align-self: center;
    text-align: right;
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
  }
  .phase-list .panel {
    grid-area: auto;
    gap: 22px;
    padding: 4px 0 36px;
    border-bottom: 1px solid var(--line);
    animation: kzpPanelIn .5s var(--ease);
  }
  .phase-list .panel > .eyebrow { display: none; }
}

/* Kancelaria: gdy zdjęcie i tekst są jedno pod drugim */
@media (max-width: 847px) {
  .kanc__photo { width: 100%; aspect-ratio: 4 / 5; min-height: 420px; max-height: 640px; }
  .kanc__photo-inner { top: 0; bottom: 0; aspect-ratio: auto; transform: none; }
  .kanc__photo img { object-position: 50% 30%; }
}

@media (max-width: 759px) {
  /* Pływający "Zadzwoń": pojawia się, gdy przyciski z hero znikną z ekranu */
  .fab {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 24px));
    transition: opacity .4s ease, transform .5s var(--ease), visibility 0s linear .5s;
  }
  .fab.is-visible, html:not(.js) .fab { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .footer { padding-bottom: 112px; }

  /* Hero: cała treść na jednym ekranie telefonu, tekst u dołu, Temida u góry */
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero__inner {
    padding: 92px var(--px) calc(32px + env(safe-area-inset-bottom, 0px));
    gap: 24px;
  }
  .hero__top { flex-wrap: nowrap; gap: 12px; padding-bottom: 14px; font-size: 10px; letter-spacing: .06em; }
  .hero__main { margin-top: auto; gap: 20px; gap: clamp(14px, 2.8svh, 24px); }
  .hero__title {
    font-size: clamp(38px, min(13.5vw, 7.4vh), 64px);
    font-size: clamp(38px, min(13.5vw, 7.4svh), 64px);
  }
  .hero__body { gap: 24px; gap: clamp(18px, 3.2svh, 28px); }
  .hero__body p { font-size: 15px; line-height: 1.6; }
  .hero .ctas { gap: 14px 18px; }
  .hero .btn { gap: 12px; padding: 17px 18px; letter-spacing: .18em; }
  .hero .link-line { letter-spacing: .2em; }
  .hero__bottom { display: none; }
  .hero__shade--x {
    background: linear-gradient(90deg, rgba(18,17,16,.5) 0%, rgba(18,17,16,.15) 70%, rgba(18,17,16,.1) 100%);
  }
  .hero__shade--y {
    background: linear-gradient(180deg, rgba(18,17,16,.7) 0%, rgba(18,17,16,.1) 20%, rgba(18,17,16,.12) 34%, rgba(18,17,16,.8) 58%, rgba(18,17,16,.95) 100%);
  }

  .about__photo { min-height: min(82vh, 640px); }
  .about__photo img { object-position: 50% 22%; }
  .about__text { padding-top: 64px; }

  .contact__photo { min-height: clamp(420px, 120vw, 560px); }
  .cform-ok { padding: 36px 28px; }
}

/* Niskie ekrany telefonów (np. iPhone SE z paskami Safari) */
@media (max-width: 759px) and (max-height: 620px) {
  .hero__inner { padding-top: 84px; gap: 16px; }
  .hero__eyebrow { display: none; }
  .hero__body p { font-size: 14px; line-height: 1.55; }
}

@media (max-width: 359px) {
  .hero__top { flex-wrap: wrap; }
  .contact__h { font-size: 44px; }
}

@media (max-width: 520px) {
  .cv-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .crow { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 16px; }
  .crow__k { grid-column: 1 / -1; }
  .stats { gap: 12px; }
  .stat { padding-right: 12px; }
  .stat__l { font-size: 10px; letter-spacing: .06em; }
  .faq__a { padding-right: 0; }
  .cform__submit { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand img { height: 34px; }
  .brand__name { font-size: 10px; letter-spacing: .14em; }
  .brand__person { font-size: 9px; letter-spacing: .14em; }
  .menu-btn { gap: 10px; letter-spacing: .14em; }
  .site-header { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .phase-list .panel { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
