/* ==========================================================================
   ładne ładne — Natalia Knycz, fotografia
   --------------------------------------------------------------------------
   Kolor:  białe tło, czarny tekst, szarość tylko dla dopisków.
   Pismo:  jeden krój geometryczny, TeX Gyre Adventor (GUST, pliki w /fonts),
           ten sam co w logo; tytuły duże i ciasno składane.
   Styl:   prosto i nowocześnie, jak pierwsza sekcja: zdjęcia, napis, dużo bieli.
   Zasada: zdjęcia pokazywane w całości, parami; nic poza hero nie jest kadrowane.
   ========================================================================== */

@font-face { font-family: "Adventor";         src: url("fonts/texgyreadventor-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --papier: #ffffff;
  --mgla:   #f2f2f0;              /* tło pod ładującym się zdjęciem */
  --blekit: #000000;              /* tekst i pełne tła (nazwa zmiennej zostaje z wcześniejszej wersji) */
  --cyjan:  #000000;              /* fokus */
  --szary:  #6f6f6f;              /* dopiski, najechanie */
  --piana:  rgba(0, 0, 0, .22);   /* obramowania przycisków */
  --blekit-miekki: #6f6f6f;
  --linia:  rgba(0, 0, 0, .12);

  --sans:    "Adventor", "Century Gothic", "URW Gothic", "Avant Garde", system-ui, sans-serif;
  --display: var(--sans);
  --serif:   var(--sans);

  --gutter:  clamp(18px, 3.4vw, 56px);   /* margines strony */
  --g:       clamp(10px, 1.4vw, 22px);    /* odstęp między zdjęciami i kolumnami (jak w pierwszej sekcji) */
  --gap:     var(--g);
  --max:     1840px;
  /* szerokość treści: taka sama w każdej sekcji jak rząd zdjęć na górze (który mieści się na pierwszym ekranie) */
  --content: min(100vw - 2 * var(--gutter), (100svh - var(--header-h) - 100px) * 1.99, var(--max) - 2 * var(--gutter));
  --space:   clamp(72px, 9vw, 140px);     /* oddech między sekcjami */
  --header-h: 68px;
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--papier);
  color: var(--blekit);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--blekit); color: #fff; }

:focus-visible { outline: 2px solid var(--cyjan); outline-offset: 3px; }
.menu :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- typografia ---------- */
.title {
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1;
  letter-spacing: -.045em;
  word-spacing: .02em;
}
.lead { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; letter-spacing: -.01em; max-width: 34em; margin: 0; color: var(--szary); text-wrap: pretty; }

/* nagłówek sekcji: tytuł na dwie kolumny siatki, opis w trzeciej, wyrównane do dołu */
.sec-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); align-items: end; margin-bottom: clamp(28px, 3.4vw, 52px); }
.sec-head .title { grid-column: 1 / 3; }
.sec-head .lead { grid-column: 3; padding-bottom: .2em; }
.note { font-size: 14.5px; color: var(--blekit-miekki); }

.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: color .2s;
}
.link:hover { text-decoration-thickness: 2px; }

.btn {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0;
  border: 0; border-radius: 0; background: none; color: inherit;
  font-size: 17px; line-height: 1; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em;
}
.btn:hover { text-decoration-thickness: 2px; }

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: max(var(--gutter), (100% - var(--content)) / 2);
  color: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(255, 255, 255, .97); color: var(--blekit); box-shadow: 0 1px 0 var(--linia); }

.brand { position: relative; display: inline-flex; align-items: center; height: 100%; min-width: 150px; text-decoration: none; }
.brand-name { font-size: 15px; transition: opacity .3s; }
.brand-mark { position: absolute; left: 0; top: 50%; width: 138px; height: auto; transform: translateY(-50%); opacity: 0; transition: opacity .3s; }
.is-solid .brand-name { opacity: 0; }
.is-solid .brand-mark { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.nav a:hover, .nav a[aria-current="true"] { background-size: 100% 1px; }

.menu-btn { display: none; min-height: 44px; padding: 0 0 0 16px; border: 0; background: none; font-size: 15px; }

/* menu na telefonie */
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 28px) var(--gutter) 32px; background: var(--blekit); color: #fff; overflow-y: auto; }
.menu ul { display: grid; gap: 4px; }
.menu li a { display: block; padding: 6px 0; font-family: var(--display); font-size: clamp(32px, 9vw, 48px); line-height: 1.12; letter-spacing: -.035em; text-decoration: none; }
.menu-foot { display: grid; gap: 6px; margin-top: 40px; font-size: 15px; }
.menu-foot a { text-decoration: none; }
.menu-open, .lb-open { overflow: hidden; }
.menu-open .site-header { background: none; color: #fff; box-shadow: none; }
.menu-open .brand-name { opacity: 1; }
.menu-open .brand-mark { opacity: 0; }

.nav .nav-cta { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.nav .nav-cta:hover { text-decoration-thickness: 2px; }

/* ---------- co fotografuję: sześć kafli, każdy ze swoim zdjęciem ---------- */
.sessions { padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--linia); }
.sessions-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 64px) var(--g); }
.session a { display: block; text-decoration: none; }
.session-media { display: block; aspect-ratio: 4 / 5; margin-bottom: 16px; overflow: hidden; background: var(--mgla); }
.session-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .6s ease; }
.session a:hover .session-media img { transform: scale(1.025); }
.session-soon { display: grid; align-content: end; height: 100%; padding: clamp(18px, 2vw, 28px); background: var(--blekit); color: #fff; font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.12; word-spacing: -.04em; }
.session h3 { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 6px; }
.session p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; max-width: 38ch; color: var(--szary); }
.session .go { font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; transition: color .2s; }
.session a:hover .go { text-decoration-thickness: 2px; }

/* wiersze o równej wysokości: każda klatka w całości, bez przycinania */
.rows { --row-h: clamp(165px, 23vw, 370px); display: flex; flex-wrap: wrap; gap: var(--gap); }
.rows::after { content: ""; flex: 1000 1 0; }
.rows > a { flex: var(--ar) 1 calc(var(--ar) * var(--row-h)); min-width: 0; background: var(--mgla); }
.rows > a > img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; }

/* ---------- zdanie + czarno-biały pasek ---------- */
.credo { margin-top: var(--space); padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--linia); }
.credo-line { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.credo-rows { --row-h: clamp(140px, 17vw, 290px); }
.credo-rows::after { display: none; }

/* ---------- historie ---------- */
.stories { padding-top: clamp(56px, 6vw, 96px); }
.stories > .story:first-child { margin-top: 0; }
.stories > .wrap + .story { margin-top: 0; }
.story { margin-top: clamp(48px, 5.2vw, 84px); }
.story-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--g); align-items: end; margin-bottom: 16px; }
.story-head h3 { font-size: clamp(20px, 1.55vw, 25px); line-height: 1.15; letter-spacing: -.03em; }
.story-meta { margin: 8px 0 0; font-size: 14.5px; color: var(--blekit-miekki); }
.story-text { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.58; }
.strip-nav { display: flex; gap: 6px; }
.strip-nav button { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 1px solid var(--piana); border-radius: 50%; background: none; transition: background-color .2s, border-color .2s, color .2s, opacity .2s; }
.strip-nav button:hover:not(:disabled) { background: var(--blekit); border-color: var(--blekit); color: #fff; }
.strip-nav button:disabled { opacity: .35; cursor: default; }
.strip-nav svg { width: 14px; height: 14px; }

.strip { display: flex; gap: var(--gap); height: clamp(230px, 38vw, 520px); padding-inline: max(var(--gutter), (100% - var(--content)) / 2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gutter), (100% - var(--content)) / 2); scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.strip.is-drifting { scroll-snap-type: none; }
.strip > a { flex: none; height: 100%; aspect-ratio: var(--ar); scroll-snap-align: start; background: var(--mgla); }
.strip img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }

.fashion { margin-top: var(--space); padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--linia); }

/* ---------- o mnie ---------- */
.about { margin-top: var(--space); padding-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--linia); }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.about-body { grid-column: 2 / 4; max-width: 44em; }
.about-credo { position: sticky; top: calc(var(--header-h) + 36px); margin: 0; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.about-body h2 { font-size: clamp(20px, 1.55vw, 25px); line-height: 1.15; letter-spacing: -.03em; margin-bottom: clamp(14px, 1.4vw, 20px); }
.about-body .lead { margin-bottom: 1em; }
.about-body > p:not(.lead) { max-width: 38em; font-size: 15px; line-height: 1.65; }
.about-lists { display: grid; grid-template-columns: minmax(0, 34em); margin-top: clamp(32px, 3.6vw, 56px); }
.about-lists h3 { font-size: 15px; font-weight: 400; color: var(--szary); padding-bottom: 12px; border-bottom: 1px solid var(--blekit); }
.cv li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); column-gap: 12px; padding: 11px 0 12px; border-bottom: 1px solid var(--linia); font-size: 14.5px; line-height: 1.45; }
.cv .rok { font-size: 14.5px; line-height: 1.45; color: var(--szary); }
.cv .co small { display: block; font-size: 13.5px; color: var(--blekit-miekki); }

/* ---------- jak pracuję ---------- */
.process { margin-top: var(--space); padding-block: clamp(56px, 7vw, 112px); background: var(--mgla); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; counter-reset: krok; }
.steps li { counter-increment: krok; padding: 16px clamp(0px, 1vw, 16px) 0 0; border-top: 1px solid var(--blekit); }
.steps li::before { content: counter(krok); display: block; margin-bottom: clamp(20px, 2.6vw, 40px); font-size: 14px; line-height: 1; color: var(--szary); }
.steps h3 { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 32ch; color: var(--szary); }

/* ---------- kontakt ---------- */
/* kontakt stoi zaraz pod szarym pasem „Jak pracuję”, więc bez dodatkowej linii */
.contact { padding-block: clamp(64px, 7.5vw, 120px); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.contact-grid > .form { grid-column: 2 / 4; }
.contact h2 { font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -.045em; margin-bottom: clamp(18px, 2vw, 28px); text-wrap: balance; }
.contact-data { display: grid; gap: 0; margin: clamp(32px, 4vw, 56px) 0 0; border-top: 1px solid var(--linia); }
.contact-data div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--linia); }
.contact-data dt { font-size: 14.5px; color: var(--szary); }
.contact-data dd { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-data a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.contact-data a:hover { background-size: 100% 1px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--g); }
.field { display: grid; gap: 4px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; color: var(--szary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 8px 0 11px;
  border: 0; border-bottom: 1px solid rgba(0, 0, 0, .3); border-radius: 0;
  background: none; color: #000; font-size: 17px; line-height: 1.4;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 5.6em; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; }
.field select option { color: var(--blekit); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(0, 0, 0, .32); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: rgba(0, 0, 0, .7); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: #000; box-shadow: 0 1px 0 #000; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.form-foot p { margin: 0; flex: 1 1 16em; font-size: 14px; line-height: 1.5; color: var(--szary); }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 18px; line-height: 1.4; letter-spacing: -.01em; }
.form-status:empty { display: none; }
.form-status[data-stan="blad"] { color: #a3261b; }
.form button[disabled] { opacity: .5; cursor: progress; }
/* pułapka na boty: pole niewidoczne dla ludzi */
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }

/* ---------- stopka ---------- */
.footer { padding-block: clamp(48px, 5vw, 80px) 32px; background: #000; color: #fff; }
.footer ::selection { background: #fff; color: #000; }
.footer :focus-visible { outline-color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.footer-mark { width: clamp(160px, 17vw, 240px); height: auto; }
.footer-brand p { margin: 14px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14.5px; }
.footer nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.footer nav a:hover { background-size: 100% 1px; }
.footer-legal { flex-basis: 100%; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- powiększenie zdjęcia ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgba(255, 255, 255, .985); color: var(--blekit); touch-action: pan-y; }
.lb-stage { --lb-h: calc(100vh - 150px); position: relative; display: grid; place-items: center; padding: 62px clamp(12px, 6.5vw, 104px) 6px; min-height: 0; }
@supports (height: 100dvh) { .lb-stage { --lb-h: calc(100dvh - 150px); } }
.lb-img { width: min(100%, calc(var(--lb-h) * var(--ar, 1.5))); aspect-ratio: var(--ar, 1.5); object-fit: contain; background: var(--mgla); }
.lb-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 10px var(--gutter) 20px; font-size: 14.5px; }
.lb-count { font-size: 15px; white-space: nowrap; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border: 1px solid var(--piana); border-radius: 50%; background: rgba(255, 255, 255, .9); transition: background-color .2s, border-color .2s, color .2s; }
.lb-btn:hover { background: var(--blekit); border-color: var(--blekit); color: #fff; }
.lb-btn svg { width: 16px; height: 16px; }
.lb-close { top: 10px; right: clamp(10px, 2vw, 28px); }
.lb-prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Mniejsze ekrany
   ========================================================================== */

@media (max-width: 1100px) {
  .sessions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-lists { grid-template-columns: 1fr; row-gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; --content: 100vw; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }

  .sec-head, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .sec-head { row-gap: 14px; }
  .sec-head .title, .sec-head .lead, .about-body, .contact-grid > .form { grid-column: auto; }
  .story-head { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
  .about-grid { row-gap: 40px; }
  .about-credo { position: static; }
  .contact-grid { row-gap: 52px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .sessions-list { grid-template-columns: 1fr; }
  .session-media { aspect-ratio: 5 / 4; }
  .steps { grid-template-columns: 1fr; row-gap: 30px; }
  .steps li::before { margin-bottom: 14px; }
  .form { grid-template-columns: 1fr; }
  .strip-nav { display: none; }
  .lb-stage { --lb-h: calc(100vh - 170px); padding: 62px 0 6px; }
  .lb-prev, .lb-next { top: auto; bottom: -62px; transform: none; }
  .lb-prev { left: auto; right: 74px; }
  .lb-next { right: 16px; }
  .lb-bar { padding-right: 140px; min-height: 68px; align-items: center; }
  .footer-grid { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .strip-nav, .lb, .menu { display: none !important; }
}

/* informacja o danych pod formularzem i link w stopce */
.form-rodo { grid-column: 1 / -1; margin: 4px 0 0; max-width: 46em; font-size: 13px; line-height: 1.55; color: var(--szary); }
.form-rodo a, .footer-legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer-legal a { margin-left: .6em; }

/* >>> pierwsza sekcja: trzy zdjęcia w linii i napis ładne ładne */
/* ---- wariant: trzy zdjęcia w linii, pod nimi napis na całą szerokość ---- */
.r { --g: clamp(10px, 1.4vw, 22px); display: flex; flex-direction: column; align-items: center; gap: var(--g); padding: calc(var(--header-h) + clamp(14px, 2.4vh, 28px)) var(--gutter) clamp(36px, 6vh, 72px); background: var(--papier); color: var(--blekit); }
/* szerokość dobrana tak, żeby zdjęcia, napis i opis mieściły się na pierwszym ekranie */
.r > div { width: 100%; max-width: var(--content); }
.r-zdjecia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.r-foto { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mgla); }
.r-foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.r-foto:hover img { transform: scale(1.035); }
/* napis: dokładnie na szerokość rzędu zdjęć, litery wyrównane do krawędzi kadrów */
.r-napis { padding-block: clamp(30px, 5.5vh, 64px) clamp(14px, 2.5vh, 30px); }
/* napis na środku, mniejszy, z dużym oddechem wokół */
.r-znak { width: min(44%, 640px); margin-inline: auto; }
.r-znak { display: block; height: auto; overflow: visible; color: #000; }
/* podpis pod napisem: małe, rozstrzelone wersaliki */
.r-podpis { margin: clamp(12px, 1.8vh, 20px) 0 0; text-align: center; font-size: 12px; line-height: 1; letter-spacing: .48em; text-indent: .48em; text-transform: uppercase; color: #000; }
/* jedno wejście: zdjęcia pojawiają się po kolei, potem litery rysują się kreska po kresce */
@media (prefers-reduced-motion: no-preference) {
  .r-foto img { animation: r-in 1.2s cubic-bezier(.2,.7,.2,1) both; }
  .r-foto:nth-child(2) img { animation-delay: .1s; } .r-foto:nth-child(3) img { animation-delay: .2s; }
  .r-podpis { animation: r-fade 1s 1.1s ease both; }
  .r-znak path { transform-box: fill-box; animation: r-up 1s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(.35s + var(--i) * .055s); }
}
@keyframes r-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes r-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes r-up { from { opacity: 0; transform: translateY(35%); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .r { min-height: 0; }
  .r > div { max-width: none; }
  .r-zdjecia { gap: 6px; }
  .r-foto { aspect-ratio: 2 / 3; }
  .r-znak { width: 78%; }
  .r-napis { padding-block: 26px 10px; }
    }
/* <<< pierwsza sekcja */
