/* karolinaspecht.pl, arkusz główny. Mobile first: style bazowe dla telefonu, szersze ekrany w @media (min-width). */

/* Kroje: pliki na własnym serwerze, przycięte do alfabetu łacińskiego z polskimi znakami. Licencja SIL OFL (fonts/OFL-*.txt). */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --text: #1B2E25;
  --text-2: #4A5750;
  --text-3: #34473C;
  --line: #E3E6E0;
  --border: #D5DAD3;
  --sage: #EAEFEA;
  --green: #1F3A2E;
  --green-line: #34523F;
  --on-green: #F4F1EA;
  --on-green-2: #C9D3CB;
  --on-green-accent: #E0B06A;
  --terra: #A94F33;
  --terra-hover: #8A3E27;
  --ochre: #C8923E;
  /* #9A6B22 z briefu ma na tle strony 4,47:1, minimalnie poniżej WCAG AA; ten odcień ma 4,68:1. */
  --label: #966820;
  --footer: #F3F1EC;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: 20px;
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

a { color: var(--terra); }
a:hover { color: var(--terra-hover); }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typografia ---------- */

h1, .h2, .h2-lg, .panel__title, .contact__name, .brand__name, .quote blockquote, .tab__name, .price__value {
  font-family: var(--serif);
}
h1 {
  font-weight: 600;
  font-size: clamp(40px, 9vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 { font-weight: 600; font-size: clamp(28px, 5vw, 36px); line-height: 1.15; }
.h2-lg { font-weight: 600; font-size: clamp(32px, 6vw, 42px); line-height: 1.1; }

.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
}
.text-lg { font-size: 18px; line-height: 1.6; color: var(--text-2); }

.link-strong { font-weight: 600; font-size: 17px; }
.link-sm { font-size: 15px; }

/* ---------- Układ ---------- */

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--xs { gap: 10px; }
.stack--sm { gap: 12px; }
.stack--tight { gap: 14px; }
.stack--lg { gap: 28px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }

.row-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}

section { padding: 56px 0; }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--terra); color: #fff; border: 0; }
.btn--primary:hover { background: var(--terra-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--block { display: flex; width: 100%; min-height: 54px; font-size: 17px; }

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo zbudowane w jednostkach em: nagłówek i animacja wejścia to ta sama proporcja (znak 42, odstęp 14, napis 24). */
.brand {
  --brand-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: .5833em;
  font-size: var(--brand-size);
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand__sign { width: 1.75em; height: 1.75em; flex-shrink: 0; overflow: visible; }
/* Stały rozmiar optyczny Fraunces: napis w logo ma ten sam kształt w każdej wielkości (także w animacji). */
.brand__name { font-weight: 500; font-size: 1em; line-height: 1; white-space: nowrap; font-variation-settings: "opsz" 24; }

.site-header__cta { min-height: 42px; padding: 0 14px; font-size: 15px; }

.menu-toggle {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-nav ul { list-style: none; }
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.site-nav a:hover { color: var(--terra); }

/* Menu na telefonie: bez JS lista jest zawsze widoczna pod nagłówkiem, z JS rozwijana przyciskiem. */
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(27, 46, 37, .08);
}
.site-nav ul { padding: 8px var(--gutter) 16px; }
.site-nav li + li { border-top: 1px solid var(--line); }
.site-nav a { display: block; padding: 14px 0; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-nav { position: static; box-shadow: none; }

.site-header__cta { white-space: nowrap; }
.site-nav__cta a { color: var(--terra); }

/* Najwęższe telefony: przycisk „Umów sesję” przechodzi z nagłówka do menu. */
.site-nav__cta { display: none; }
@media (max-width: 409px) {
  .brand { --brand-size: 17px; }
  .site-header__cta { padding: 0 12px; }
}
@media (max-width: 373px) {
  .site-header__cta { display: none; }
  .site-nav__cta { display: block; }
}

@media (min-width: 960px) {
  :root { --header-h: 96px; --gutter: 48px; }
  .brand { --brand-size: 24px; }
  .menu-toggle { display: none; }
  .js .site-nav, .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 28px; padding: 0; }
  .site-nav li + li { border: 0; }
  .site-nav a { display: inline; padding: 0; }
  .site-nav__cta { display: none !important; }
  .site-header__inner { gap: 28px; }
  .site-header__cta { min-height: 46px; padding: 0 20px; font-size: 16px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 96px; }
}

/* ---------- Z czym przychodzisz? ---------- */

.hero { padding: 36px 0 48px; }
/* Rytm sekcji: grafika, nagłówek i zdanie tworzą jedną grupę; kafelki i informacja pod nimi drugą. */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__art { width: min(100%, 540px); height: auto; overflow: visible; margin: 28px 0 22px; }
/* Wprowadzenie nad pytaniem: spokojny, osobisty ton, węższa kolumna. */
.hero__intro {
  max-width: 600px;
  margin-bottom: 26px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
}
.hero__lead { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 620px; }
.needs { margin-top: 30px; }
.hero__info {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-2);
}
.hero__info span { white-space: nowrap; }

.needs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1040px;
}
.need {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.need:hover, .need.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.path-dashed { fill: none; stroke: var(--ochre); stroke-width: 2; stroke-dasharray: 4 7; }

/* Grafika nad „Z czym przychodzisz?”: ścieżka się rysuje, figurki kolejno się na nią wznoszą;
   przy kafelku unosi się figurka odpowiadającej sesji. */
.hero-fig, .hero-lift, .hero-clip { transform-box: fill-box; }
.hero-lift { transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), opacity .3s ease; }
.hero-clip { transform-origin: 0 50%; }
.hero__art[data-active] .hero-lift { opacity: .45; }
.hero__art[data-active="1"] [data-fig="1"] .hero-lift,
.hero__art[data-active="2"] [data-fig="2"] .hero-lift,
.hero__art[data-active="3"] [data-fig="3"] .hero-lift,
.hero__art[data-active="4"] [data-fig="4"] .hero-lift,
.hero__art[data-active="5"] [data-fig="5"] .hero-lift,
.hero__art[data-active="6"] [data-fig="6"] .hero-lift { opacity: 1; transform: translateY(-7px); }

@keyframes hero-clip { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__art .hero-clip { animation: hero-clip 1.5s cubic-bezier(.45, 0, .55, 1) both; }
  .js .hero__art .hero-fig { animation: hero-rise .6s cubic-bezier(.2, .7, .2, 1) calc(.25s + var(--i) * .18s) both; }
  .js .hero__art:not(.is-in) .hero-clip,
  .js .hero__art:not(.is-in) .hero-fig { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lift { transition: opacity .2s ease; }
  .hero__art[data-active] [data-s] .hero-lift { transform: none; }
}

@media (max-width: 559px) {
  .needs { flex-direction: column; align-items: stretch; width: 100%; }
  .need { justify-content: center; width: 100%; }
}
/* Od tabletu: równa siatka (2 kolumny, od 900 px 3 kolumny, czyli dwa rzędy po trzy). */
@media (min-width: 560px) {
  .needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 640px; }
  .need { justify-content: center; width: 100%; height: 100%; text-align: center; }
}
@media (min-width: 900px) {
  .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero__art { margin: 20px 0 26px; }
  .hero__lead { margin-top: 16px; font-size: 20px; }
  .hero__intro { font-size: 21px; margin-bottom: 30px; }
  .needs { margin-top: 36px; }
  .hero__info { margin-top: 30px; }
}

/* ---------- Pierwsza sekcja (O mnie) i wybór sesji obok przebiegu (układ C, 27.09.2026) ---------- */
.first { padding: 48px 0 120px; }
.first__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; align-items: center; }
.first__title { font-size: clamp(36px, 7vw, 56px); line-height: 1.06; letter-spacing: -.02em; }
.first__intro { font-size: 20px; line-height: 1.6; color: var(--text); }
/* Zdjęcie z figurkami: ścieżka wychodzi spod zdjęcia, głowy i górna część figurek nachodzą na jego dół. */
.first__photo { position: relative; margin: 0 0 56px; max-width: 380px; width: 100%; justify-self: center; }
.first__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
/* Grafika „Ustawienie”: figurki stawiane z dala od siebie, potem przestawiane w nowy układ. */
.set-fig { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes set-move {
  0% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) - 18px)); }
  10% { opacity: 1; transform: translate(var(--dx), var(--dy)); animation-timing-function: linear; }
  46% { transform: translate(var(--dx), var(--dy)); animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
  56% { transform: translate(var(--dx), calc(var(--dy) - 16px)); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  86% { transform: translate(0, -16px); animation-timing-function: cubic-bezier(.4, 0, .3, 1); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .first__set .set-fig { animation: set-move 4.2s var(--d) both; }
}
.first__board { position: absolute; left: -12px; bottom: -64px; width: 250px; height: auto; overflow: visible; pointer-events: none; }

@media (min-width: 960px) {
  .first__grid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 80px; }
  .first__photo { justify-self: end; }
  .first__board { left: -170px; bottom: -78px; width: 360px; }
}
.pick { text-align: left; }
.pick .hero__lead { margin-top: 0; font-size: 18px; }
.pick .needs { margin-top: 12px; display: flex; flex-direction: column; align-items: stretch; max-width: none; width: 100%; gap: 16px; }
.pick .need { justify-content: flex-start; text-align: left; width: 100%; min-height: 62px; padding: 14px 24px; font-size: 17px; }
/* Na komputerze kolumna wyboru przesuwa się razem z przewijaniem obok kroków przebiegu. */
@media (min-width: 960px) {
  .pick { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
/* Rozdroże pod kafelkami: od figurki rozchodzą się drogi do czterech sesji; kafelek podświetla swoją drogę. */
.pick__fork { width: 100%; max-width: 460px; height: auto; margin: 10px 0 8px; overflow: visible; }
.fork-line { fill: none; stroke: #C9D1C9; stroke-width: 2; stroke-linecap: round; transition: stroke .3s ease, stroke-width .3s ease, opacity .3s ease; }
.fork-dot { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .3s ease, opacity .3s ease; }
.fork-label { font: 600 15px var(--sans); fill: var(--text-2); transition: fill .3s ease, opacity .3s ease; }
.fork-fig { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.pick__fork[data-active] .fork-branch { opacity: .4; }
.pick__fork[data-active] .fork-branch { transition: opacity .3s ease; }
.pick__fork[data-active="hol"] [data-s="hol"],
.pick__fork[data-active="ust"] [data-s="ust"],
.pick__fork[data-active="rei"] [data-s="rei"],
.pick__fork[data-active="biz"] [data-s="biz"] { opacity: 1; }
.pick__fork[data-active] .fork-branch[data-s] .fork-line { stroke: var(--ochre); }
.pick__fork[data-active="hol"] [data-s="hol"] .fork-line,
.pick__fork[data-active="ust"] [data-s="ust"] .fork-line,
.pick__fork[data-active="rei"] [data-s="rei"] .fork-line,
.pick__fork[data-active="biz"] [data-s="biz"] .fork-line { stroke-width: 3; }
.pick__fork[data-active="hol"] [data-s="hol"] .fork-dot,
.pick__fork[data-active="ust"] [data-s="ust"] .fork-dot,
.pick__fork[data-active="rei"] [data-s="rei"] .fork-dot,
.pick__fork[data-active="biz"] [data-s="biz"] .fork-dot { transform: scale(1.3); }
.pick__fork[data-active="hol"] .fork-fig { transform: rotate(7deg) translateY(-2px); }
.pick__fork[data-active="ust"] .fork-fig { transform: rotate(3deg); }
.pick__fork[data-active="rei"] .fork-fig { transform: rotate(-2deg); }
.pick__fork[data-active="biz"] .fork-fig { transform: rotate(-6deg); }
@keyframes fork-dot { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .js .pick__fork .fork-line { stroke-dasharray: 1; animation: ks-draw .8s cubic-bezier(.45, 0, .55, 1) calc(.2s + var(--i) * .22s) both; }
  .js .pick__fork .fork-dot { animation: fork-dot .5s cubic-bezier(.3, 1.4, .5, 1) calc(.8s + var(--i) * .22s) both; }
  .js .pick__fork .fork-label { animation: ks-fade-in .5s ease calc(.9s + var(--i) * .22s) both; }
  .js .pick__fork .fork-fig { animation: hero-rise .6s cubic-bezier(.2, .7, .2, 1) .05s both; }
}
@media (prefers-reduced-motion: reduce) {
  .fork-fig, .fork-dot { transition: none; }
  .pick__fork[data-active] .fork-fig, .pick__fork[data-active] [data-s] .fork-dot { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
}

/* ---------- Czym się zajmuję / Przebieg ---------- */

.about { background: var(--surface); border-top: 1px solid var(--line); }
.about__art { width: 150px; height: auto; overflow: visible; margin-top: 40px; }
/* Zdjęcie: portret 4:5. */
.about__photo-wrap { width: 100%; max-width: 320px; margin: 12px 0 0; }
.about__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #E2E6DF;
}

.eyebrow--as-heading { margin: 0; }
.process__art { width: 100%; max-width: 520px; height: auto; overflow: visible; margin-top: 44px; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step__num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--terra);
  color: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
/* Kolor kroku = kolor jego figurki na ścieżce (1, 2 szare, 3 ochra, 4 zieleń, 5 terakota).
   Kolorowy jest tylko okrąg i cyfra, środek zostaje biały.
   --c okrąg, --o cyfra (odcień z kontrastem WCAG na białym). */
.step[data-step="1"], .step[data-step="2"] { --c: #66766C; --o: #66766C; }
.step[data-step="3"] { --c: #C8923E; --o: #966820; }
.step[data-step="4"] { --c: #2E4A3B; --o: #2E4A3B; }
.step[data-step="5"] { --c: #A94F33; --o: #A94F33; }
.step__num { background: var(--surface); border-color: var(--c, var(--terra)); color: var(--o, var(--terra)); }
.step { cursor: default; }

.proc-fig, .proc-lift { transform-box: fill-box; transform-origin: 50% 100%; }
.proc-lift { transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), opacity .3s ease; }
.process__art[data-active] .proc-lift { opacity: .45; }
.process__art[data-active="1"] [data-step="1"] .proc-lift,
.process__art[data-active="2"] [data-step="2"] .proc-lift,
.process__art[data-active="3"] [data-step="3"] .proc-lift,
.process__art[data-active="4"] [data-step="4"] .proc-lift,
.process__art[data-active="5"] [data-step="5"] .proc-lift { opacity: 1; transform: translateY(-7px); }

/* Kontakt: rysuje się ścieżka, figurki idą nią na swoje miejsca (ruch liczy JS). */
.c-clip, .c-body { transform-box: fill-box; }
.c-clip { transform-origin: 0 50%; }
.c-body { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .contact__art .c-clip { animation: hero-clip 1.2s cubic-bezier(.45, 0, .55, 1) both; }
  .js .contact__art:not(.is-walking):not(.is-done) .c-walk { opacity: 0; }
}

@keyframes step-fill {
  0% { border-color: var(--border); color: #8A958E; transform: scale(1); }
  45% { transform: scale(1.12); }
  100% { border-color: var(--c); color: var(--o); transform: scale(1); }
}
@keyframes proc-hop {
  0% { transform: translateY(0); }
  40% { transform: translateY(-9px); animation-timing-function: cubic-bezier(.5, 0, .75, 0); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .js #przebieg .step__num { animation: step-fill .5s ease calc(.3s + var(--i) * .45s) both; }
}
@media (prefers-reduced-motion: reduce) {
  .proc-lift { transition: opacity .2s ease; }
  .process__art[data-active] [data-step] .proc-lift { transform: none; }
}
.step div { display: flex; flex-direction: column; gap: 2px; }
.step strong { font-size: 18px; font-weight: 700; }
.step span { font-size: 16px; color: var(--text-2); }

@media (min-width: 960px) {
  section { padding: 72px 0; }
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .two-col--wide { gap: 96px; }
  /* Zdjęcie mniejsze, żeby obie kolumny sekcji miały podobną wysokość. */
  .about__photo-wrap { max-width: 270px; }
}

/* ---------- Opinie / Pytania ---------- */

.sage { background: var(--sage); }
.quote {
  margin: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote blockquote { font-size: 20px; line-height: 1.45; }
.quote figcaption { font-size: 14px; color: var(--text-2); }
/* Karuzela opinii: zawsze widoczne trzy, co kilka sekund przesuwają się o jedną.
   Bez JS: zwykła lista wszystkich opinii w pełnej treści. */
.reviews__track { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.reviews .quote blockquote { font-size: 18px; white-space: pre-line; }
.quote__meta { font-size: 14px; color: var(--text-2); }
.quote__more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: 600 15px/1.4 var(--sans);
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.quote__more:hover { color: var(--terra-hover); }

/* Jedna opinia naraz; wysokość karty liczy JS tak, by kolumna opinii była równa kolumnie pytań. */
.reviews.is-enhanced { --card-h: 340px; }
.reviews.is-enhanced .reviews__viewport {
  height: var(--card-h);
  overflow: hidden;
  border-radius: var(--radius);
}
.reviews.is-enhanced .reviews__track { gap: 24px; }
.reviews.is-enhanced .quote { height: var(--card-h); overflow: hidden; }
.reviews.is-enhanced .quote blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines, 8);
  line-clamp: var(--lines, 8);
  overflow: hidden;
}
.reviews.is-enhanced .quote__meta { margin-top: auto; }

.reviews__controls { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.reviews__btn, .reviews__pause {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
}
.reviews__btn { font-size: 18px; padding: 0; }
.reviews__btn:hover, .reviews__pause:hover { border-color: var(--green); }
.reviews__all { margin-left: auto; }

.review-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(27, 46, 37, .25);
}
.review-dialog::backdrop { background: rgba(27, 46, 37, .45); }
.review-dialog__body { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.review-dialog blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; white-space: pre-line; }


.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 16px; color: var(--text-2); }
.rating a { color: var(--text); text-decoration-color: var(--border); text-underline-offset: 3px; }
.rating a:hover { color: var(--terra); }
.rating strong { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--terra); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.faq { background: var(--surface); border-radius: var(--radius); padding: 4px 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
/* Znak „+” obraca się w „×” przy otwartej odpowiedzi. */
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--terra);
  transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details.is-closing summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--terra); }
.faq__a { overflow: hidden; }
.faq p { padding: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* Wiersz pod kartą pytań: ta sama wysokość i układ co wiersz pod opiniami. */
.faq__more { display: flex; justify-content: flex-end; align-items: center; min-height: 44px; margin-top: 0; }
.js .reviews__controls { margin-top: 14px; }

@media (min-width: 960px) {
  .quote { padding: 26px 28px; }
  .faq { padding: 4px 24px; }
}

/* ---------- Sesje i ceny ---------- */

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
/* Bez JS kafelki są ukryte (atrybut hidden), a wszystkie opisy sesji widoczne jeden pod drugim. */
.tabs[hidden] { display: none; }

.tab {
  min-height: 120px;
  padding: 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: background-color .15s ease, border-color .15s ease;
}
.tab:hover { border-color: var(--green); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab svg { width: 64px; height: 44px; overflow: visible; margin-top: 8px; }
.tab__name { font-size: 19px; font-weight: 600; line-height: 1.2; }
.tab__time { font-size: 15px; font-weight: 600; opacity: .88; }

.panels { display: flex; flex-direction: column; gap: 16px; }
.panel {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.panel:focus { outline: none; }
.panel:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.js .panel:not(.is-active) { display: none; }

.panel__main { display: flex; flex-direction: column; gap: 14px; }
.panel__main > p { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.panel__title { font-size: clamp(28px, 5vw, 34px); font-weight: 600; line-height: 1.15; }
.panel .panel__place { font-size: 16px; color: var(--text-2); }

.note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--sage);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-3);
}
.note__title { font-weight: 700; color: var(--text); }
.note__small { font-size: 15px; line-height: 1.5; }

.panel__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price__value { font-size: 40px; font-weight: 600; line-height: 1.1; }
.price__time { font-size: 17px; color: var(--text-2); }
.panel__side .eyebrow { padding-top: 6px; letter-spacing: .1em; }
.book-note { margin-top: -6px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.next-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-3);
}
.next-steps li { counter-increment: step; }
.next-steps li::before { content: counter(step) ". "; }

@media (min-width: 900px) {
  .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tab { min-height: 140px; padding: 18px 20px; }
  .tab__name { font-size: 22px; }
  .panel { grid-template-columns: 1.5fr 1fr; gap: 56px; padding: 36px 40px; }
  .panel__side { padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- Kontakt ---------- */

.contact { background: var(--green); color: var(--on-green); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.contact__grid > * { padding: 32px 0; }
.contact__grid > * + * { border-top: 1px solid var(--green-line); }
.contact__grid > :first-child { padding-top: 0; }
.contact__grid > :last-child { padding-bottom: 0; }

.contact__place { font-size: 16px; color: var(--on-green-2); margin: -4px 0 12px; }

.contact__info .h2 { color: var(--on-green); margin-bottom: 10px; }
.contact__list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--green-line);
}
.contact__list dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--on-green-accent);
  padding-top: 3px;
}
.contact__list dd { font-size: 17px; line-height: 1.45; color: var(--on-green); overflow-wrap: anywhere; }
.contact__list a { color: var(--on-green); text-underline-offset: 3px; }
.contact__list a:hover { color: var(--on-green-accent); }

.contact__art { display: flex; justify-content: center; align-items: center; }
.contact__art svg { width: min(100%, 300px); height: auto; overflow: visible; margin-top: 56px; }

@media (min-width: 1000px) {
  .contact { padding: 72px 0; }
  /* Na komputerze: figurki po lewej, dane po prawej (na telefonie dane są pierwsze). */
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; }
  .contact__grid > * { padding: 0; }
  .contact__grid > * + * { border-top: 0; }
  .contact__art { order: -1; padding-right: 56px !important; }
  .contact__info { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 0 0 64px !important; border-left: 1px solid var(--green-line); }
  .contact__list div { grid-template-columns: 120px minmax(0, 1fr); }
  .contact__art svg { width: min(100%, 400px); margin-top: 60px; }
}

/* ---------- Jasny pas na dole ---------- */

.site-footer {
  padding: 40px 0 36px;
  background: var(--footer);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}
.site-footer .stack { gap: 22px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.site-footer__bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #E2DFD7;
}
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (min-width: 760px) {
  .site-footer { padding: 52px 0 44px; }
  .site-footer__bar { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; }
  .site-footer__links { gap: 4px 0; }
  .site-footer__links li + li::before { content: "·"; padding: 0 .5em; }
}

/* ---------- Podstrona O mnie ---------- */

.profile { padding-top: 40px; }
.profile__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.profile__photo { margin: 0; }
.profile__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #E2E6DF;
}
.profile__text p { color: var(--text-2); }
.profile__h { padding-top: 14px; }
.profile__text .h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; padding-top: 18px; color: var(--text); }
.profile__text strong { color: var(--text); }
.profile__list { padding-left: 1.2em; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.profile__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 12px; }

@media (min-width: 960px) {
  .profile { padding-top: 64px; }
  .profile__grid { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; }
  .profile__photo { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Podstrony z tekstem (np. Jak weryfikuję opinie) ---------- */

.legal { padding-top: 40px; }
.legal__inner { max-width: 760px; }
.legal .h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; padding-top: 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); }
.legal__date { font-size: 15px; }
.reviews-all { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 16px !important; }
.reviews-all .quote { background: var(--sage); }
.legal .faq { background: var(--sage); }
.legal .faq p { color: var(--text-2); }
.reviews-all blockquote { font-size: 18px; white-space: pre-line; color: var(--text); }

@media (min-width: 960px) { .legal { padding-top: 64px; } }

/* ---------- Animacje figurek w treści (znaki sesji na podstronie O mnie) ----------
   Ten sam język co animacja wejścia: nieład, podniesienie, postawienie.
   Stan domyślny (bez JS, przy „Ogranicz ruch”) to stan końcowy: wszystko uporządkowane.
   Animacja startuje, gdy element pojawi się na ekranie (klasa .is-in z JS). */

.back-link { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.back-link a { color: var(--terra); text-decoration: none; }
.back-link--top { margin-bottom: 20px; }
.back-link--bottom { padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); }
.back-link a:hover { color: var(--terra); text-decoration: underline; }

.anim svg { display: block; overflow: visible; }

.an-i3-line, .an-i4-arc { fill: none; stroke: var(--ochre); stroke-linecap: round; stroke-linejoin: round; }
.an-i3-line, .an-i4-arc { stroke-width: 2; }

.method { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.an-icon { width: 64px; height: 56px; margin-top: 2px; }

.an-i1, .an-i2, .an-i3 { transform-box: fill-box; transform-origin: 50% 100%; }

@keyframes an-stand {
  0% { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  65% { transform: translate(0, -4px) rotate(0deg); animation-timing-function: cubic-bezier(.4, 0, .3, 1); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes an-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Znak przy nagłówku Pytania oraz linia przy rozwiniętej odpowiedzi. */
.h-icon { display: flex; align-items: flex-end; gap: 12px; }
.sec-icon { width: 52px; height: 39px; flex-shrink: 0; overflow: visible; margin-bottom: 4px; }
.an-s { transform-box: fill-box; transform-origin: 50% 100%; }
.an-q-path { fill: none; stroke: var(--ochre); stroke-width: 2; stroke-linecap: round; }
.faq__a { position: relative; padding-left: 16px; }
.faq__a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 19px;
  width: 2px;
  border-radius: 1px;
  background: var(--ochre);
  opacity: .7;
  transform-origin: 50% 0;
}
@keyframes an-grow-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: no-preference) {
  /* Skrót „animation” poniżej ustawia stan „running”, dlatego wstrzymanie ma !important. */
  .js .anim:not(.is-in) * { animation-play-state: paused !important; }

  /* Znak przy nagłówku Pytania: rysuje się ścieżka, figurka staje prosto. */
  .js .sec-icon--faq .an-q-path { stroke-dasharray: 1; animation: ks-draw .8s cubic-bezier(.45, 0, .55, 1) .1s both; }
  .js .sec-icon--faq .an-q { --r: -38deg; --dx: -4px; animation: an-stand 1s .6s both; }
  .faq details[open] .faq__a::before { animation: an-grow-down .55s cubic-bezier(.65, 0, .35, 1) .08s both; }

  /* Ożywione znaki sesji: każdy porządkuje się na swój sposób. */
  .js .an-icon--hol .an-i1 { --r: -72deg; --dx: 8px; animation: an-stand 1.1s .2s both; }
  .js .an-icon--ust .an-i2--t { --r: 28deg; --dy: 10px; animation: an-stand 1s .15s both; }
  .js .an-icon--ust .an-i2--g { --r: -38deg; --dx: 14px; --dy: -6px; animation: an-stand 1s .3s both; }
  .js .an-icon--ust .an-i2--o { --r: 44deg; --dx: -14px; --dy: -4px; animation: an-stand 1s .45s both; }
  .js .an-icon--biz .an-i3-line { stroke-dasharray: 1; animation: ks-draw .7s cubic-bezier(.45, 0, .55, 1) .1s both; }
  .js .an-icon--biz .an-i3--t { --dx: -20px; --r: -24deg; animation: an-stand 1s .5s both; }
  .js .an-icon--biz .an-i3--g { --dx: 20px; --r: 24deg; animation: an-stand 1s .65s both; }
  .js .an-icon--rei .an-i4-arc { stroke-dasharray: 1; animation: ks-draw 1.2s cubic-bezier(.45, 0, .55, 1) .2s both, an-breathe 2.4s ease-in-out 1.5s 2; }

}

/* ---------- Animacja wejścia ----------
   Sens ustawień: to, co splątane, zostaje uporządkowane. Oś czasu (około 5 s):
   0,0 do 1,2 s   nieład: figurki pojawiają się porozrzucane i chwieją się, rysuje się splątana nić
   0,9 do 2,7 s   porządkowanie: nić znika, rysuje się ścieżka, figurki są kolejno podnoszone i stawiane
   2,75 do 3,5 s  ciała figurek zapadają się, głowy trzech głównych stają się kropkami logo
   3,2 do 3,9 s   pojawia się napis
   4,0 do 5,0 s   logo przesuwa się do nagłówka, tło znika, treść wsuwa się na miejsce
   Warstwa istnieje w HTML zawsze, ale jest widoczna tylko przy klasie .intro-on na <html> (ustawianej w <head>). */

.intro { display: none; }

html.intro-on { overflow: hidden; }
html.intro-on .site-header .brand { visibility: hidden; }

html.intro-on .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
}
.intro__bg { position: absolute; inset: 0; background: var(--bg); }

/* Scena ma stały układ 1040 × 500 i jest skalowana w JS, żeby zawsze mieściła się w oknie. */
.intro__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1040px;
  height: 500px;
  transform: translate(-50%, -50%) scale(var(--k, 1));
}
.intro__scene { position: absolute; inset: 0; width: 1040px; height: 500px; overflow: visible; }

.intro__tangle, .intro__line {
  fill: none;
  stroke: var(--ochre);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.intro__tangle { stroke-width: 1.6; opacity: .7; }
.intro__line { stroke-width: 3; }

.intro__lockup {
  --brand-size: 72px;
  position: absolute;
  left: 266px;
  top: 150px;
  margin: 0;
  transform-origin: 0 0;
}
.intro__lockup .brand__sign { overflow: visible; }

/* Figurka: .fx (pojawienie) > .fx__place (przeniesienie) > .fx__sway (chwianie) > kształt. */
.fx { opacity: 0; }
.fx__place, .fx__sway, .fx__body, .intro__dot { transform-box: fill-box; }
.fx__place, .fx__sway, .fx__body { transform-origin: 50% 100%; }
.intro__dot { transform-origin: 50% 50%; }
.fx__shadow { fill: #1B2E25; opacity: 0; }
.intro__dot, .intro__name { opacity: 0; }

.intro.is-playing .intro__tangle {
  animation: ks-draw 1s cubic-bezier(.45, 0, .55, 1) .1s both, ks-fade-out .7s ease 1s forwards;
}

.intro.is-playing .fx { animation: ks-fade-in .6s ease calc(var(--i) * .05s) forwards; }
.intro.is-playing .fx__sway { animation: ks-sway var(--d) ease-in-out both; }
.intro.is-playing .fx__place { animation: ks-place 1s var(--d) both; }

/* Etap 3: ciała znikają w podłożu, głowy głównych figurek stają się płaskimi kropkami logo. */
.intro.is-playing .fx__body { animation: ks-sink .7s cubic-bezier(.5, 0, .75, 0) 2.85s forwards; }
.intro.is-playing .intro__scene .fx__head { animation: ks-fade-out .6s ease 2.8s forwards; }
.intro.is-playing .fx__shadow {
  animation: ks-shadow .45s ease calc(var(--d) + .7s) forwards, ks-fade-out .5s ease 2.8s forwards;
}
.intro.is-playing .intro__line { animation: ks-draw 1.1s cubic-bezier(.45, 0, .55, 1) 1s both, ks-fade-out .7s ease 2.8s forwards; }
.intro.is-playing .intro__dot { animation: ks-fade-in .6s ease 2.75s forwards; }
.intro.is-playing .intro__lockup .fx__head { animation: ks-fade-out .2s linear 3.4s forwards; }
.intro.is-playing .intro__name { animation: ks-name .8s cubic-bezier(.2, .7, .2, 1) 3.2s forwards; }

/* Etap 4: przejście do nagłówka. */
.intro.is-moving .intro__lockup { animation: ks-move 1s cubic-bezier(.65, 0, .35, 1) both; }
.intro.is-moving .intro__bg { animation: ks-fade-out .85s cubic-bezier(.4, 0, .2, 1) .1s both; }
.intro.is-moving .intro__skip { animation: ks-fade-out .3s ease both; }
html.intro-reveal main,
html.intro-reveal .site-footer { animation: ks-rise .8s cubic-bezier(.2, .7, .2, 1) .1s both; }

.intro__skip { position: absolute; top: 14px; right: var(--gutter); z-index: 2; background: var(--bg); }

@keyframes ks-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ks-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ks-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ks-sway {
  0% { transform: rotate(0deg); }
  35% { transform: rotate(var(--sw)); }
  75% { transform: rotate(calc(var(--sw) * -.6)); }
  100% { transform: rotate(0deg); }
}
/* Przeniesienie jak w ustawieniu: figurka zostaje podniesiona, prostuje się w powietrzu i jest delikatnie stawiana. */
@keyframes ks-place {
  0% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  70% { transform: translate(0, -16px) rotate(0deg); animation-timing-function: cubic-bezier(.4, 0, .3, 1); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes ks-shadow { from { opacity: 0; } to { opacity: .12; } }
@keyframes ks-sink { from { transform: scaleY(1); opacity: 1; } to { transform: scaleY(0); opacity: 0; } }
@keyframes ks-name { from { opacity: 0; transform: translateX(-.25em); } to { opacity: 1; transform: translateX(0); } }
@keyframes ks-move {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(var(--tx), var(--ty)) scale(var(--ts)); }
}
@keyframes ks-rise { from { transform: translateY(14px); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html.intro-on { overflow: auto; }
  html.intro-on .intro { display: none; }
  html.intro-on .site-header .brand { visibility: visible; }
}
