/* ============================================================
   Marzena Węgrzynowska — Integracja Strukturalna, Gdynia
   System: „Linia ciężkości” — bałtycki modernizm redakcyjny.
   ============================================================ */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Gloock";
  src: url("../fonts/gloock-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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 {
  --paper: #f2eee4;
  --paper-2: #e9e3d6;
  --paper-3: #ddd4c2;
  --ink: #10201f;
  --ink-soft: #263a36;
  --muted: #51605a;
  --sea: #14383a;
  --sea-deep: #0b2022;
  --sea-mid: #1b4a4b;
  --glass: #9fbcb4;
  --accent: #9a885d;
  --accent-ink: #6f5f3a;
  --line: rgba(16, 32, 31, 0.16);
  --line-strong: rgba(16, 32, 31, 0.34);
  --line-light: rgba(242, 238, 228, 0.2);
  --max: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Gloock", "Times New Roman", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.02vw, 17.5px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

* { scrollbar-width: thin; scrollbar-color: var(--sea-mid) var(--paper-2); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--sea-mid); border: 3px solid var(--paper-2); }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

button { font: inherit; color: inherit; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

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

.section--dark :focus-visible,
.close :focus-visible,
.site-foot :focus-visible {
  outline-color: var(--glass);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.skip:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.dot { color: var(--accent); }

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

.display,
.display-1,
.display-2 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
  text-wrap: balance;
}

.display {
  font-size: clamp(58px, 8.4vw, 136px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.display-1 {
  font-size: clamp(46px, 6.7vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.display-2 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.lede {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.48;
  letter-spacing: -0.008em;
}

.section-note,
.foot-label,
.crumb,
.contact-card__label,
.timeline__year,
.process__label,
.account__note {
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.fineprint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding-inline: var(--pad);
  max-width: 1600px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: auto;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand__text span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }

.nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--accent-ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--accent-ink); }

.head-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
  text-decoration: none;
}
.head-cta span:first-child {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.head-cta__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}
.head-cta:hover .head-cta__num { color: var(--accent-ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 600;
}
.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars i { display: block; width: 16px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  height: calc(100svh - 76px);
  min-height: 520px;
  border-bottom: 1px solid var(--line);
}

.hero__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 48px) clamp(24px, 4vw, 64px) 0 var(--pad);
  background: var(--paper);
}

.hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__meta {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__body {
  position: relative;
  margin-top: auto;
  padding: clamp(40px, 8vh, 96px) 0 clamp(28px, 4vh, 48px);
}

.hero__plumb {
  position: absolute;
  left: 0;
  bottom: calc(100% - 8px);
  top: -34vh;
  width: 1px;
  background: var(--line-strong);
}
.hero__plumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--paper);
  transform: translateX(-50%);
}

.hero__title {
  margin: 0 0 clamp(22px, 3vw, 34px);
  padding-left: 2px;
  animation: rise 0.9s var(--ease) both;
}

.page-home .hero__title {
  animation: gravity-settle 4.4s linear both;
  will-change: transform, opacity;
}

.hero__sub {
  max-width: 43ch;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.58;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  flex-wrap: wrap;
  margin-top: clamp(26px, 3vw, 38px);
  animation: rise 0.9s 0.24s var(--ease) both;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  border-top: 1px solid var(--line);
  padding: 17px 0 19px;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__foot li { display: flex; align-items: center; gap: 10px; }
.hero__foot li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 2px;
}

.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--sea-mid);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: imgIn 1.35s var(--ease) both;
}
.hero__media figcaption {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 16px;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 12px;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  max-width: 72%;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gravity-settle {
  0% { opacity: 0.14; transform: translateY(-58vh); }
  12% { opacity: 0.28; }
  50% { opacity: 0.78; transform: translateY(-20vh); }
  72% { opacity: 1; transform: translateY(7px); }
  86% { transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes gravity-settle-mobile {
  0% { opacity: 0.12; transform: translateY(-42vh); }
  22% { opacity: 0.3; transform: translateY(-28vh); }
  48% { opacity: 0.62; transform: translateY(-10vh); }
  72% { opacity: 1; transform: translateY(6px); }
  86% { transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes imgIn {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.04); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}

/* ---------- Przyciski i linki ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 17px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: scaleX(1); }
.btn__arrow { font-size: 14px; line-height: 1; transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--sea-deep); }

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.link-arrow:hover span { transform: translate(3px, -2px); }

/* ---------- Sekcje ---------- */

.section {
  padding-block: clamp(76px, 9.5vw, 136px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(42px, 6vw, 76px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.section-head .display-2 { max-width: 18ch; }
.section-note { padding-bottom: 0.4em; text-align: right; }
.section-head--stack { grid-template-columns: 1fr; gap: 8px; }
.section-head--stack .section-note { text-align: left; }

/* Manifest */

.manifest {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.manifest__lede {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 43px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.manifest__copy { display: grid; gap: 20px; max-width: 56ch; }
.manifest__copy p { color: var(--ink-soft); }

/* Dla kogo */

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 96px);
}
.audience li {
  border-top: 1px solid var(--line);
  padding: 26px 0 clamp(36px, 5vw, 56px);
}
.audience h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.audience p { color: var(--ink-soft); max-width: 42ch; }

/* Proces */

.process {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}
.process__intro { position: sticky; top: 108px; }
.process__intro p { margin-top: 24px; max-width: 42ch; color: var(--ink-soft); }
.process__intro .link-arrow { margin-top: 30px; }

.process__list li {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0 clamp(28px, 4vw, 44px);
}
.process__list li:last-child { border-bottom: 1px solid var(--line); }
.process__label { color: var(--accent-ink); padding-top: 4px; }
.process__list p { color: var(--ink-soft); max-width: 48ch; }

/* Profil */

.profile {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.profile__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.92);
}
.profile__media figcaption {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile__copy .lede { margin-top: 24px; color: var(--ink-soft); }
.profile__copy > p + p { margin-top: 16px; color: var(--ink-soft); max-width: 58ch; }

.creds { margin: clamp(28px, 4vw, 44px) 0 30px; }
.creds li {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.creds li:last-child { border-bottom: 1px solid var(--line); }
.creds span {
  width: 130px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-ink);
  padding-top: 3px;
}

/* Galeria */

.plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.plate {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sea-mid);
  text-decoration: none;
}
.plate img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.plate:hover img { transform: scale(1.035); filter: contrast(1.03); }
.plate__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section--gallery .fineprint { margin-top: 26px; }
.section--gallery .link-arrow { margin-top: 24px; }

/* Zakończenie / kontakt CTA */

.close {
  position: relative;
  background: var(--sea-deep);
  color: var(--paper);
  padding-block: clamp(80px, 10vw, 140px);
}
.close::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line-light);
}
.close__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}
.close__copy p {
  margin-top: 26px;
  max-width: 42ch;
  color: rgba(242, 238, 228, 0.78);
}
.close__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.close__phone {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.close__phone:hover { color: var(--glass); }
.close__mail {
  font-size: 16px;
  text-decoration-color: rgba(242, 238, 228, 0.4);
}
.close__mail:hover { color: var(--glass); }
.close address,
.close__hours {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(242, 238, 228, 0.72);
}
.close .btn { margin-top: 22px; }
.close--short { padding-block: clamp(64px, 8vw, 112px); }
.close--short .close__copy h2 { max-width: 14ch; }

/* ---------- Podstrony ---------- */

.page-head {
  padding-top: clamp(64px, 9vw, 128px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--muted);
}
.crumb a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.page-head__lede {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 58ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.page-head--wide .display-1 { max-width: 20ch; }
.page-head--narrow .display-1 { max-width: 16ch; }

/* O mnie */

.about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9);
}
.about__media figcaption {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__copy { max-width: 62ch; }
.about__copy .lede { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -0.015em; }
.about__copy p + p { margin-top: 18px; color: var(--ink-soft); }

.timeline li {
  display: grid;
  grid-template-columns: clamp(110px, 16vw, 190px) 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0 clamp(28px, 4vw, 42px);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { color: var(--accent-ink); padding-top: 6px; }
.timeline h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.timeline p { color: var(--ink-soft); max-width: 56ch; }

.certificate { max-width: 1080px; }
.certificate img { width: 100%; border: 1px solid var(--line); }
.certificate figcaption {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Metoda */

.band { background: var(--sea); color: var(--paper); }
.band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 1600px;
  padding-inline: 0;
}
.band__media { position: relative; min-height: 520px; overflow: hidden; }
.band__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(0.98); }
.band__media figcaption {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: 18px;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242, 238, 228, 0.85);
}
.band__copy {
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.pullquote {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.band__copy > p:last-child { color: rgba(242, 238, 228, 0.78); max-width: 50ch; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.principles article { border-top: 1px solid var(--line); padding-top: 22px; }
.principles h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.principles p { color: var(--ink-soft); font-size: 15.5px; max-width: 36ch; }

.source-list li { border-top: 1px solid var(--line); }
.source-list li:last-child { border-bottom: 1px solid var(--line); }
.source-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.6vw, 30px) 0;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.source-list__name {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  letter-spacing: -0.02em;
}
.source-list__arrow { font-size: 18px; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.source-list a:hover { color: var(--accent-ink); }
.source-list a:hover .source-list__arrow { transform: translate(3px, -3px); color: var(--accent-ink); }

/* Sesje */

.session-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.session-intro__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.88);
}
.session-intro__media figcaption {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.session-intro__copy .lede { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.24; letter-spacing: -0.015em; }
.session-intro__copy p + p { margin-top: 18px; color: var(--ink-soft); max-width: 52ch; }

.ten {
  display: flex;
  margin: clamp(30px, 4vw, 44px) 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ten li {
  flex: 1;
  padding: 11px 4px 13px;
  border-left: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ten li:first-child { border-left: 0; }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 88px);
}
.steps li {
  border-top: 1px solid var(--line);
  padding: 26px 0 clamp(34px, 4vw, 48px);
}
.steps h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.steps p { color: var(--ink-soft); max-width: 44ch; }

.practical {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.practical__copy p { margin-top: 20px; color: var(--ink-soft); max-width: 40ch; }
.facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { font-size: 15.5px; color: var(--ink-soft); }

.section--payment { background: var(--paper-2); }
.payment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}
.payment__copy p { margin-top: 20px; color: var(--ink-soft); max-width: 42ch; }
.account {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 24px 0;
}
.account__name { font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.account__number {
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 35px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 10px 0 8px;
  word-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.account__note { letter-spacing: 0.14em; }

/* Galeria */

.studies {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: clamp(20px, 3vw, 44px);
  row-gap: clamp(36px, 5vw, 72px);
}
.study { grid-column: span 2; }
.study:nth-child(4),
.study:nth-child(5) { grid-column: span 3; }
.study__link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sea-mid);
  cursor: zoom-in;
}
.study__link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.study__link:hover img { transform: scale(1.025); filter: contrast(1.04); }
.study__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.study__link:hover .study__zoom,
.study__link:focus-visible .study__zoom { opacity: 1; transform: translateY(0); }
@media (hover: none) { .study__zoom { opacity: 1; transform: none; } }
.study figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.study figcaption span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.fineprint--wide { margin-top: clamp(38px, 5vw, 56px); max-width: 78ch; }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}
.lightbox::backdrop { background: rgba(11, 32, 34, 0.985); }
.lightbox__inner {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
}
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin-top: 14px;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lightbox__btns { display: flex; gap: 8px; }
.lightbox__btn {
  background: none;
  border: 1px solid var(--line-light);
  color: var(--paper);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lightbox__btn:hover { border-color: var(--paper); }

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.contact-actions { border-top: 1px solid var(--line); }
.contact-card {
  display: grid;
  gap: 4px;
  padding: clamp(20px, 2.6vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.contact-card__value {
  font-family: var(--serif);
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-card__hint { font-size: 12px; color: var(--muted); }
.contact-card:hover { color: var(--accent-ink); }

.contact-place .section-head { margin-bottom: 24px; }
.contact-address {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: grid;
  margin-bottom: 22px;
}
.contact-note { margin-top: 26px; color: var(--ink-soft); max-width: 42ch; }

.hours-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 96px);
}
.hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.hours-list dt { font-size: 14px; }
.hours-list dd { font-size: 14px; color: var(--muted); text-align: right; }
.section--hours .fineprint { margin-top: 30px; }

/* Prywatność */

.prose { max-width: 68ch; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--accent-ink); }

/* ---------- Stopka ---------- */

.site-foot {
  background: var(--sea-deep);
  color: var(--paper);
  padding: clamp(60px, 8vw, 104px) 0 28px;
}
.site-foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.site-foot__word {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.site-foot__note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(242, 238, 228, 0.6);
}
.site-foot .foot-label { color: rgba(242, 238, 228, 0.5); margin-bottom: 14px; }
.site-foot__nav ul { display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot__nav a,
.site-foot__contact a,
.site-foot__contact p {
  font-size: 13.5px;
  color: rgba(242, 238, 228, 0.82);
}
.site-foot__nav a:hover,
.site-foot__contact a:hover { color: var(--glass); }
.site-foot__contact p + p { margin-top: 6px; }
.site-foot__addr { font-size: 12.5px; line-height: 1.6; color: rgba(242, 238, 228, 0.55); margin-top: 14px; }
.foot-social { border-bottom: 1px solid var(--line-light); padding-bottom: 3px; }
.site-foot__hours p { font-size: 12.5px; line-height: 1.65; color: rgba(242, 238, 228, 0.62); }
.site-foot__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.site-foot__legal p { font-size: 10.5px; letter-spacing: 0.06em; color: rgba(242, 238, 228, 0.45); }
.site-foot__legal a { border-bottom: 1px solid rgba(242, 238, 228, 0.3); }
.site-foot__legal a:hover { color: var(--glass); }

/* ---------- Ruch / wejścia ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsywność ---------- */

@media (max-width: 1180px) {
  .hero__title { font-size: clamp(54px, 8.8vw, 108px); }
  .site-head__inner { height: 70px; }
  .process__intro { position: static; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero__panel {
    order: 1;
    min-height: calc(100svh - 71px);
    padding-bottom: 0;
    justify-content: space-between;
  }
  .hero__body {
    margin-top: 0;
    padding: clamp(24px, 4vh, 48px) 0 24px;
  }
  .hero__media { order: 2; min-height: 0; height: 64svh; }
  .hero__media img { height: 100%; }
  .page-home .hero__title {
    animation-name: gravity-settle-mobile;
    animation-duration: 3.8s;
  }

  .section-head { grid-template-columns: 1fr; align-items: start; gap: 10px; }
  .section-note { text-align: left; padding-bottom: 0; }

  .manifest,
  .process,
  .profile,
  .about,
  .session-intro,
  .practical,
  .payment,
  .contact-grid,
  .close__inner,
  .band__inner { grid-template-columns: 1fr; }

  .band__media { min-height: 52svh; }
  .band__copy { padding: 48px var(--pad) 64px; }
  .band__inner { padding-inline: 0; }

  .principles { grid-template-columns: 1fr; gap: 30px; }

  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__brand,
  .site-foot__hours { grid-column: 1 / -1; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 70px 0 0 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: clamp(28px, 6vw, 56px) var(--pad) 40px;
    background: var(--sea-deep);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--line-light); }
  .nav__link {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-family: var(--serif);
    font-size: clamp(26px, 6vw, 40px);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--paper);
  }
  .nav__link::after { display: none; }
  .nav__link:hover,
  .head-cta:hover .head-cta__num { color: var(--accent); }
  .nav__link.is-active { color: var(--glass); }
  html.js .nav :focus-visible { outline-color: var(--glass); }
  .head-cta {
    align-items: flex-start;
    border-left: 0;
    padding-left: 0;
    margin-top: 32px;
  }
  .head-cta span:first-child { color: rgba(242, 238, 228, 0.55); }
  .head-cta__num { color: var(--paper); font-size: 22px; }

  /* Bez JavaScriptu nawigacja pozostaje dostępna pod nagłówkiem */
  html:not(.js) .site-head__inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
    gap: 8px 16px;
  }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
    width: 100%;
    padding: 8px 0 0;
    background: transparent;
    color: var(--ink);
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }
  html:not(.js) .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    width: auto;
  }
  html:not(.js) .nav__list li { width: auto; border-bottom: 0; }
  html:not(.js) .nav__link {
    width: auto;
    padding: 4px 0;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  html:not(.js) .nav__link.is-active { color: var(--accent-ink); }
  html:not(.js) .head-cta {
    margin-top: 0;
    border-left: 0;
    padding-left: 0;
  }
  html:not(.js) .head-cta span:first-child { display: none; }
  html:not(.js) .head-cta__num { color: var(--ink); font-size: 13px; }

  .process__list li,
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .process__label { padding-top: 0; }
  .creds li { flex-direction: column; gap: 4px; }
  .creds span { width: auto; padding-top: 0; }

  .steps { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .hours-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand { gap: 10px; }
  .brand__mark { height: 32px; }
  .plates { grid-template-columns: 1fr; gap: 14px; }
  .plates--teaser { grid-template-columns: 1fr 1fr; }
  .plates--teaser .plate:nth-child(3) { display: none; }
  .studies { grid-template-columns: 1fr; }
  .study,
  .study:nth-child(4),
  .study:nth-child(5) { grid-column: auto; }

  .audience { grid-template-columns: 1fr; }
  .audience li { padding-bottom: 26px; }

  .hero__foot { gap: 14px; font-size: 9.5px; }
  .hero__foot li + li::before { display: none; }
  .hero__top { flex-direction: column; gap: 6px; }
  .hero__media { height: 56svh; }

  .display { font-size: clamp(48px, 15vw, 84px); }
  .display-1 { font-size: clamp(40px, 11.5vw, 72px); }

  .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .site-foot__brand,
  .site-foot__hours { grid-column: 1 / -1; }
  .site-foot__legal { flex-direction: column; gap: 8px; }

  .close__phone { font-size: clamp(27px, 8vw, 40px); }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn { width: auto; }
}

@media (max-width: 360px) {
  .site-head__inner { padding-inline: 16px; gap: 12px; }
  .brand { gap: 8px; }
  .brand__mark { height: 30px; }
  .brand__text strong { font-size: 10.5px; letter-spacing: 0.06em; }
  .brand__text span { font-size: 8.5px; letter-spacing: 0.08em; }
  .nav-toggle { padding: 9px 10px; gap: 7px; font-size: 9px; letter-spacing: 0.1em; }
  .nav-toggle__bars i { width: 14px; }
}

@media (min-width: 981px) and (max-height: 960px) {
  .hero__panel { padding-top: 28px; }
  .hero__body {
    padding-top: clamp(20px, 4vh, 42px);
    padding-bottom: 30px;
  }
  .hero__title {
    font-size: clamp(54px, 7.2vw, 104px);
    margin-bottom: 22px;
  }
  .hero__sub { font-size: 16px; line-height: 1.5; }
  .hero__actions { margin-top: 20px; }
  .hero__foot { padding: 12px 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-head, .site-foot, .hero__media, .btn, .link-arrow, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .close { padding-block: 24px; }
}

/* Deep links do sekcji */
section[id] { scroll-margin-top: 88px; }

/* Kontrast podpisu na zdjęciu w pasie metody */
.band__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 132px;
  background: linear-gradient(to top, rgba(11, 32, 34, 0.62), transparent);
  pointer-events: none;
}
.band__media figcaption { z-index: 1; }
