/* ════════════════════════════════════════════════════════════
   AURORA MESURE — style.css
   Atelier brwi i makijażu permanentnego. Motyw: pomiar —
   arkusz techniczny (linijki, celownik, znaczniki cięcia,
   wymiarowanie), papier + grafit + zgaszony eukaliptus.
   Fonty: Libre Caslon Display (nagłówki) + Space Grotesk
   (tekst) + Space Mono (odczyty). Siódmy immersive; drugi PMU
   po Encre — tam pigment/organika, tu geometria/precyzja.
   ════════════════════════════════════════════════════════════ */

:root {
  --paper:    #F8F6F1;
  --paper-2:  #F1EEE6;
  --paper-3:  #E9E5DA;
  --ink:      #26282B;
  --ink-mid:  #6B6E72;
  --ink-lt:   #9DA0A4;
  --teal:     #55736D;
  --teal-deep:#3F5A54;
  --teal-pale:#E8EFEC;
  --border:   #E6E2D7;
  --line:     #D8D3C6;

  --serif: 'Libre Caslon Display', 'Playfair Display', Georgia, serif;
  --sans:  'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono:  'Space Mono', 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 72px);
  --r: 3px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* globalny [hidden] — lekcja z Soie */
[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--teal); color: var(--paper); }

/* ─── TYPO WSPÓLNE ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
}
.section-head { max-width: 880px; margin: 0 auto clamp(36px, 6vw, 72px); text-align: center; padding: 0 var(--pad); }
.section-head__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.12; margin-top: 14px;
}
.section-head__title em { font-style: italic; color: var(--teal); }
.section-head__sub { margin-top: 14px; color: var(--ink-mid); font-size: 15px; max-width: 580px; margin-inline: auto; }

/* ─── REVEALS ──────────────────────────────────────────────── */
[data-fade], [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-fade].is-in, [data-reveal].is-in { opacity: 1; transform: none; }

.hero__line { display: block; overflow: hidden; }
.hero__line i {
  display: inline-block; font-style: inherit;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
body.is-loaded .hero__line i { transform: none; }
.hero__line--em i { transition-delay: .12s; }

[data-lines] {
  display: block; opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-lines].is-in { opacity: 1; transform: none; }

/* ─── PRELOADER — KALIBRACJA ───────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.loader__sheet {
  position: absolute; inset: 0; background: var(--paper);
  transition: transform .9s var(--ease) .1s;
}
.loader__stage {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; transition: opacity .45s ease;
}
.loader__cross { position: relative; width: 74px; height: 74px; }
.loader__cross i { position: absolute; background: var(--teal); }
.loader__cross i:first-child { left: 50%; top: 0; bottom: 0; width: 1px; }
.loader__cross i:nth-child(2) { top: 50%; left: 0; right: 0; height: 1px; }
.loader__cross b {
  position: absolute; inset: 12px; border: 1px dashed var(--teal);
  border-radius: 50%;
  animation: cal-spin 2.2s linear infinite;
}
@keyframes cal-spin { to { transform: rotate(360deg); } }
.loader__word { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); }
.loader__word em { font-style: italic; color: var(--teal); }
.loader__cal { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-mid); text-transform: uppercase; }
.loader__cal b { color: var(--teal); }
.loader.is-done .loader__stage { opacity: 0; }
.loader.is-done .loader__sheet { transform: translateY(-101%); }

/* ─── ARKUSZ: LINIJKI + NAROŻNE ZNACZNIKI ──────────────────── */
.sheet { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.sheet__ruler--top {
  position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-lt) 0 1px, transparent 1px 50px) left bottom / 100% 9px no-repeat;
  opacity: .8;
}
.sheet__ruler--left {
  position: absolute; top: 0; bottom: 0; left: 0; width: 14px;
  background:
    repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 10px) right top / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--ink-lt) 0 1px, transparent 1px 50px) right top / 9px 100% no-repeat;
  opacity: .8;
}
.sheet__corner {
  position: absolute; width: 18px; height: 18px;
  border: 0 solid var(--teal); opacity: .7;
}
.sheet__corner--tl { top: 22px; left: 22px; border-top-width: 1.5px; border-left-width: 1.5px; }
.sheet__corner--tr { top: 22px; right: 22px; border-top-width: 1.5px; border-right-width: 1.5px; }
.sheet__corner--bl { bottom: 22px; left: 22px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.sheet__corner--br { bottom: 22px; right: 22px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
@media (max-width: 900px) { .sheet { display: none; } }

/* ─── CELOWNIK KURSORA ─────────────────────────────────────── */
.xhair { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.xhair__v, .xhair__h { position: absolute; background: var(--teal); opacity: .22; }
.xhair__v { top: 0; bottom: 0; width: 1px; left: -10px; }
.xhair__h { left: 0; right: 0; height: 1px; top: -10px; }
.xhair__read {
  position: absolute; transform: translate(14px, 14px);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  color: var(--teal); opacity: .75; white-space: nowrap;
}
@media (hover: none), (pointer: coarse), (max-width: 900px) { .xhair { display: none; } }

.grain {
  position: fixed; inset: -50%; z-index: 370; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 360; }
.progress i { display: block; height: 100%; width: 0; background: var(--teal); }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--pad) + 40px) var(--pad) 110px;
  overflow: hidden;
}
.hero__pts { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__phi {
  position: absolute; right: clamp(-80px, -2vw, 0px); top: 50%;
  transform: translateY(-50%);
  width: min(560px, 46vw); color: var(--teal);
  opacity: .35; pointer-events: none;
}
.hero__phi svg { width: 100%; height: auto; }
.hero__phi-label { font-family: var(--mono); font-size: 15px; fill: currentColor; }
[data-phi-spiral] { stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 3s var(--ease) .8s; }
body.is-loaded [data-phi-spiral] { stroke-dashoffset: 0; }
@media (max-width: 760px) { .hero__phi { display: none; } }

.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 9.4vw, 116px);
  line-height: 1.02; letter-spacing: -.01em;
}
.hero__title em { font-style: italic; color: var(--teal); }
.hero__dim {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 20px; max-width: 100%;
}
.hero__dim i { flex: 1; min-width: 34px; height: 1px; background: var(--teal); position: relative; }
.hero__dim i::before, .hero__dim i::after {
  content: ''; position: absolute; top: -3.5px; width: 1px; height: 8px; background: var(--teal);
}
.hero__dim i:first-child::before { left: 0; }
.hero__dim i:last-child::after { right: 0; }
.hero__dim s {
  text-decoration: none; font-family: var(--mono);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); white-space: nowrap;
}
@media (max-width: 560px) { .hero__dim s { white-space: normal; } }
.hero__lede { margin-top: 26px; max-width: 470px; color: var(--ink-mid); font-size: clamp(15px, 1.6vw, 16.5px); }
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 12px; color: var(--ink-mid);
}
.hero__badge { display: inline-flex; align-items: center; gap: 10px; }
.hero__badge-stars { color: var(--teal); letter-spacing: .18em; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; font-size: 9.5px; }
.hero__scroll i {
  width: 42px; height: 1px; background: var(--teal);
  display: inline-block; transform-origin: left;
  animation: scrollline 2.4s var(--ease) infinite;
}
@keyframes scrollline { 0% { transform: scaleX(0) } 55% { transform: scaleX(1) } 100% { transform: scaleX(0); transform-origin: right } }
.hero__est { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: 9.5px; }
@media (max-width: 700px) { .hero__est { display: none; } }

/* ─── PRZYCISKI — ostre, techniczne ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .3s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.btn i { transition: transform .3s var(--ease); font-style: normal; }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { border-color: var(--ink-lt); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--small { padding: 10px 18px; font-size: 11.5px; }
.btn--block { width: 100%; justify-content: center; }

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--pad);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding-block: 10px;
}
.nav__logo { font-family: var(--serif); font-size: 20px; text-decoration: none; }
.nav__logo em { font-style: italic; color: var(--teal); }
.nav__meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-mid); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) { .nav__meta { display: none; } }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__menu {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: none; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.nav__menu-ico { display: inline-flex; flex-direction: column; gap: 5px; width: 24px; }
.nav__menu-ico i { height: 1.5px; background: currentColor; transition: transform .35s var(--ease), width .35s var(--ease); }
.nav__menu-ico i:last-child { width: 65%; align-self: flex-end; }
.nav__menu[aria-expanded="true"] .nav__menu-ico i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-ico i:last-child  { width: 100%; transform: translateY(-3.25px) rotate(-45deg); }

/* ─── MENU — arkusz z góry (z-index 110 POD nav) ───────────── */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink); color: var(--paper);
  transform: translateY(-102%);
  transition: transform .7s var(--ease), visibility .7s;
  visibility: hidden;
}
.menu.is-open { transform: none; visibility: visible; }
.menu::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--paper) 35%, transparent) 0 1px, transparent 1px 10px);
  opacity: .5;
}
.menu__inner {
  height: 100%; overflow-y: auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px;
  padding: calc(var(--pad) + 70px) var(--pad) var(--pad);
  max-width: 1200px; margin: 0 auto;
}
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 52px);
  text-decoration: none; padding: 6px 0;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s var(--ease), color .3s ease;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .22s }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .29s }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .36s }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .43s }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .5s }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .57s }
.menu__links a s { text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: color-mix(in srgb, var(--paper) 55%, var(--teal)); }
.menu__links a:hover span { color: color-mix(in srgb, var(--paper) 60%, var(--teal)); font-style: italic; }
.menu__info { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.menu__label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 55%, var(--teal)); margin-bottom: 6px; }
.menu__block p { font-size: 15px; opacity: .85; }
.menu__block a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); }
.menu__info .btn--primary { align-self: flex-start; background: var(--teal); color: var(--paper); }
.menu__info .btn--primary:hover { background: var(--teal-deep); }
@media (max-width: 860px) {
  .menu__inner { grid-template-columns: 1fr; gap: 26px; }
  .menu__info { justify-content: flex-start; }
}

/* ─── MANIFEST ─────────────────────────────────────────────── */
.manifest {
  padding: clamp(90px, 14vw, 170px) var(--pad);
  max-width: 1080px; margin: 0 auto; text-align: center;
}
.manifest__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4.4vw, 52px); line-height: 1.22; margin-top: 22px;
}
.manifest__title em { font-style: italic; color: var(--teal); }
.manifest__stats {
  margin-top: clamp(44px, 6vw, 70px);
  display: flex; justify-content: center; gap: clamp(28px, 7vw, 90px); flex-wrap: wrap;
}
.stat strong { display: block; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); color: var(--teal); }
.stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mid); }

/* ─── MARQUEE ──────────────────────────────────────────────── */
.marq { overflow: hidden; border-block: 1px solid var(--border); padding: 14px 0; background: var(--paper-2); }
.marq__track {
  display: flex; gap: 34px; width: max-content; align-items: center;
  font-family: var(--mono); font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mid); white-space: nowrap;
  animation: marq 26s linear infinite;
}
.marq__track i { color: var(--teal); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq__track { animation: none; } }

/* ─── SPECYFIKACJE — KARTY ZE ZNACZNIKAMI CIĘCIA ───────────── */
.services { padding: clamp(90px, 12vw, 150px) 0; }
.specs {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 28px);
}
@media (max-width: 1020px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .specs { grid-template-columns: 1fr; } }
.spec {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r);
  padding: 24px;
  transition: border-color .35s ease, transform .35s var(--ease);
}
.spec:hover { border-color: var(--teal); transform: translateY(-4px); }
.spec__marks i, .tcard__marks i, .proto__marks i {
  position: absolute; width: 12px; height: 12px;
  border: 0 solid var(--teal); opacity: 0; transition: opacity .35s ease;
}
.spec__marks i:nth-child(1), .tcard__marks i:nth-child(1), .proto__marks i:nth-child(1) { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.spec__marks i:nth-child(2), .tcard__marks i:nth-child(2), .proto__marks i:nth-child(2) { top: -1px; right: -1px; border-top-width: 1.5px; border-right-width: 1.5px; }
.spec__marks i:nth-child(3), .tcard__marks i:nth-child(3), .proto__marks i:nth-child(3) { bottom: -1px; left: -1px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.spec__marks i:nth-child(4), .tcard__marks i:nth-child(4), .proto__marks i:nth-child(4) { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.spec:hover .spec__marks i, .tcard:hover .tcard__marks i, .proto__marks i { opacity: 1; }
.spec__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.spec__no { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--ink-lt); }
.spec__dim { display: inline-flex; align-items: center; gap: 8px; }
.spec__dim i { width: 22px; height: 1px; background: var(--teal); position: relative; }
.spec__dim i::before { content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--teal); }
.spec__dim i:first-child::before { left: 0; }
.spec__dim i:last-child::before { right: 0; }
.spec__dim s { text-decoration: none; font-family: var(--mono); font-size: 10px; color: var(--teal); }
.spec__name { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; min-height: 2.4em; }
.spec__desc { margin-top: 12px; font-size: 13.5px; color: var(--ink-mid); flex: 1; }
.spec__rows { list-style: none; margin-top: 16px; border-top: 1px dashed var(--line); }
.spec__rows li {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--ink-mid);
  padding: 7px 0 7px 16px; border-bottom: 1px dashed var(--line);
  position: relative;
}
.spec__rows li::before { content: '+'; position: absolute; left: 0; color: var(--teal); }
.spec__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.spec__price { font-family: var(--serif); font-size: 19px; }
.spec__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s ease;
}
.spec__btn:hover { border-color: var(--teal); }

/* ─── MAPOWANIE ────────────────────────────────────────────── */
.mapping { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); border-block: 1px solid var(--border); }
.map {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 960px) { .map { grid-template-columns: 1fr; } }
.map__stage {
  position: relative;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r);
  padding: clamp(14px, 2vw, 26px);
}
.map__face { width: 100%; height: auto; display: block; }
.map__base path { stroke: var(--ink-lt); stroke-width: 1.4; fill: none; stroke-linecap: round; }

.map__axis line, .map__rays line { stroke: var(--teal); stroke-width: 1; }
.map__axis .map__guide { stroke: color-mix(in srgb, var(--teal) 55%, transparent); }
.map__axis text { font-family: var(--mono); font-size: 10px; fill: var(--teal); }
.map__pts .map__pt line { stroke: var(--teal); stroke-width: 1.4; }
.map__pts .map__pt circle { stroke: var(--teal); stroke-width: 1; fill: none; }
.map__pts .map__lbl { font-family: var(--mono); font-size: 11px; fill: var(--teal); }
.map__outline .map__brow { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-dasharray: 260; stroke-dashoffset: 260; }
.map__fill path { opacity: 0; }

/* warstwy per etap (kumulatywnie) */
.map__axis, .map__rays, .map__pts { opacity: 0; transition: opacity .7s ease; }
.map.is-s1 .map__axis,
.map.is-s2 .map__axis, .map.is-s2 .map__rays, .map.is-s2 .map__pts,
.map.is-s3 .map__axis, .map.is-s3 .map__pts,
.map.is-s4 .map__axis { opacity: 1; }
.map.is-s3 .map__rays, .map.is-s4 .map__rays { opacity: .25; }
.map.is-s4 .map__pts { opacity: .3; }
.map.is-s3 .map__outline .map__brow, .map.is-s4 .map__outline .map__brow {
  stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .15s;
}
.map.is-s4 .map__fill path { opacity: .8; transition: opacity 1s ease .5s; }
.map__pt { opacity: 0; transition: opacity .4s ease calc(var(--k) * .12s); }
.map.is-s2 .map__pt, .map.is-s3 .map__pt, .map.is-s4 .map__pt { opacity: 1; }

.map__read {
  margin-top: 12px; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.map__steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.map__step {
  display: flex; gap: 16px; width: 100%; text-align: left;
  background: none; border: 1px solid transparent; border-radius: var(--r);
  padding: 14px 16px; color: inherit;
  transition: background .3s ease, border-color .3s ease;
}
.map__step:hover { border-color: var(--line); }
.map__step.is-on { background: var(--paper); border-color: var(--teal); }
.map__step-no { font-family: var(--mono); font-size: 11px; color: var(--teal); padding-top: 4px; }
.map__step-name { display: block; font-family: var(--serif); font-size: 19px; }
.map__step-note {
  display: block; font-size: 13px; color: var(--ink-mid); margin-top: 4px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s var(--ease), opacity .5s ease;
}
.map__step.is-on .map__step-note { max-height: 130px; opacity: 1; }
.map__ctrl { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.map__bar { flex: 1; min-width: 90px; height: 1.5px; background: var(--line); overflow: hidden; }
.map__bar i { display: block; height: 100%; width: 25%; background: var(--teal); transition: width .5s var(--ease); }

/* ─── PRACOWNIA — ZESPÓŁ ───────────────────────────────────── */
.atelier { padding: clamp(90px, 12vw, 150px) 0; }
.team {
  max-width: 1140px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 3vw, 30px);
}
.tcard {
  position: relative;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 26px; text-align: center;
  transition: border-color .35s ease;
}
.tcard:hover { border-color: var(--teal); }
.tcard__scope { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; color: var(--tone); }
.tcard__ring { transform-box: fill-box; transform-origin: center; }
.tcard:hover .tcard__ring { animation: cal-spin 6s linear infinite; }
.tcard__init {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 26px; color: var(--ink);
}
.tcard__name { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.tcard__role { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mid); margin: 8px 0 18px; }
.tcard__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s ease;
}
.tcard__btn:hover { border-color: var(--teal); }

/* ─── GALERIA ──────────────────────────────────────────────── */
.gallery { padding: clamp(90px, 12vw, 150px) 0; background: var(--paper-2); border-block: 1px solid var(--border); }
.gallery__grid {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 1020px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .gallery__grid { grid-template-columns: 1fr; } }
.gallery__loading { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; padding: 40px 0; }
.gallery__loading span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: loaddot 1s ease-in-out infinite;
}
.gallery__loading span:nth-child(2) { animation-delay: .12s }
.gallery__loading span:nth-child(3) { animation-delay: .24s }
.gallery__loading span:nth-child(4) { animation-delay: .36s }
@keyframes loaddot { 50% { transform: translateY(-8px); opacity: .4; } }

.gphoto {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r); cursor: pointer;
  border: 1px solid var(--border); background: var(--paper);
  transition: border-color .35s ease;
}
.gphoto:hover { border-color: var(--teal); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gphoto:hover img { transform: scale(1.05); }
.gphoto__num {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--ink-mid);
}
.gphoto__dot {
  position: absolute; right: 16px; top: 16px;
  width: 16px; height: 16px; border: 1.5px solid var(--teal); border-radius: 50%;
  opacity: .8;
}
.gphoto__dot::before { content: ''; position: absolute; inset: 4.5px; background: var(--teal); border-radius: 50%; }
.gphoto__year {
  position: absolute; right: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--ink-mid);
}
.gphoto__cap {
  position: absolute; left: 14px; bottom: 12px; right: 44px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-mid);
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: color-mix(in srgb, var(--ink) 93%, transparent);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(920px, 88vw); max-height: 84vh; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--r); }
.lightbox figcaption { text-align: center; color: var(--paper); margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .8; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent);
  color: var(--paper); border-radius: var(--r); width: 46px; height: 46px;
  font-size: 20px; display: grid; place-items: center;
  transition: background .3s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: color-mix(in srgb, var(--paper) 15%, transparent); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ─── PROTOKOŁY — OPINIE ───────────────────────────────────── */
.voices { padding: clamp(90px, 12vw, 150px) var(--pad); }
.proto {
  position: relative; max-width: 780px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--r);
  padding: clamp(26px, 5vw, 54px);
  background: var(--paper);
}
.quotes { position: relative; min-height: 260px; }
.quote {
  position: absolute; inset: 0; text-align: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .6s ease, transform .6s var(--ease);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote__no { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.quote__text { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 25px); line-height: 1.45; font-style: italic; }
.quote__by { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-mid); }
.quote__stars { color: var(--teal); letter-spacing: .2em; }
.quotes__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.quotes__arrow {
  background: none; border: 1px solid var(--border); color: var(--ink);
  width: 44px; height: 44px; border-radius: var(--r);
  transition: border-color .3s ease, color .3s ease;
}
.quotes__arrow:hover { border-color: var(--teal); color: var(--teal); }
.quotes__count { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-mid); }
.quotes__count b { color: var(--teal); font-weight: 700; }
.voices__google { text-align: center; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-mid); display: flex; gap: 10px; justify-content: center; }

/* ─── KONTAKT ──────────────────────────────────────────────── */
.contact { padding: clamp(90px, 12vw, 150px) var(--pad); background: var(--paper-2); border-top: 1px solid var(--border); }
.contact__grid {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 80px);
}
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__rows div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact__rows dt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-lt); padding-top: 4px; }
.contact__rows dd { font-size: 15.5px; }
.contact__rows a { text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color .3s; }
.contact__rows a:hover { border-color: var(--teal); }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.contact__hours-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.contact__hours table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.contact__hours td { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.contact__hours td:last-child { text-align: right; color: var(--ink-mid); font-family: var(--mono); font-size: 13px; }
.contact__hours tr.is-today td { color: var(--teal); font-weight: 600; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 9vw, 110px) var(--pad) 30px; }
.footer__word {
  position: relative; text-align: center;
  font-family: var(--serif); font-size: clamp(74px, 17vw, 230px);
  line-height: 1; color: color-mix(in srgb, var(--paper) 12%, transparent);
  margin-bottom: clamp(40px, 7vw, 80px); user-select: none;
}
.footer__dim {
  display: flex; align-items: center; gap: 14px;
  max-width: 640px; margin: 0 auto;
}
.footer__dim i { flex: 1; height: 1px; background: color-mix(in srgb, var(--paper) 40%, var(--teal)); position: relative; }
.footer__dim i::before, .footer__dim i::after {
  content: ''; position: absolute; top: -3.5px; width: 1px; height: 8px;
  background: color-mix(in srgb, var(--paper) 40%, var(--teal));
}
.footer__dim i:first-child::before { left: 0; }
.footer__dim i:last-child::after { right: 0; }
.footer__dim s {
  text-decoration: none; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 55%, var(--teal)); white-space: nowrap;
}
.footer__dim--top { margin-bottom: 18px; }
.footer__dim--bot { margin-top: 18px; }
@media (max-width: 640px) { .footer__dim s { white-space: normal; font-size: 8.5px; } }
.footer__main {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(30px, 6vw, 80px);
}
@media (max-width: 860px) { .footer__main { grid-template-columns: 1fr; } }
.footer__logo { font-family: var(--serif); font-size: 22px; }
.footer__logo em { font-style: italic; color: color-mix(in srgb, var(--paper) 55%, var(--teal)); }
.footer__brand p { margin-top: 12px; font-size: 14px; opacity: .65; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__col-label { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 55%, var(--teal)); margin-bottom: 14px; }
.footer__cols ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer__cols a { text-decoration: none; font-size: 14px; opacity: .75; transition: opacity .3s; }
.footer__cols a:hover { opacity: 1; }
.footer__bottom {
  max-width: 1140px; margin: clamp(40px, 6vw, 70px) auto 0;
  padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; opacity: .6;
}
.footer__bottom a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* ─── FLOATING CTA ─────────────────────────────────────────── */
.float-cta {
  position: fixed; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 30px); z-index: 130;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--paper);
  border: none; border-radius: var(--r); padding: 15px 24px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--teal) 40%, transparent);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s ease, transform .4s var(--ease), background .3s ease;
}
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open .float-cta { opacity: 0; pointer-events: none; }
.float-cta:hover { background: var(--teal-deep); }

/* ─── DRAWER — KARTA POMIARU (zsuwa się z góry) ────────────── */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  opacity: 0; transition: opacity .5s ease;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; left: 50%; bottom: auto;
  width: min(660px, 100vw); max-height: 100svh;
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translate(-50%, -102%);
  transition: transform .65s var(--ease);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--ink) 18%, transparent);
}
.drawer.is-open .drawer__panel { transform: translate(-50%, 0); }
.drawer__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 26px 28px 0;
}
.drawer__eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.drawer__title { font-family: var(--serif); font-weight: 400; font-size: 27px; margin-top: 6px; }
.drawer__title em { font-style: italic; color: var(--teal); }
.drawer__close { position: relative; width: 40px; height: 40px; background: none; border: 1px solid var(--border); border-radius: var(--r); flex-shrink: 0; }
.drawer__close span { position: absolute; top: 50%; left: 50%; width: 16px; height: 1.5px; background: var(--ink); }
.drawer__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__close span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer__arc { position: relative; padding: 10px 28px 0; color: var(--ink-lt); }
.drawer__arc svg { width: 100%; height: 22px; }
.drawer__steps { display: flex; justify-content: space-between; margin-top: -4px; }
.drawer__steps span {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-lt);
}
.drawer__steps span i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: background .3s, transform .3s; }
.drawer__steps span.is-active { color: var(--teal); }
.drawer__steps span.is-active i { background: var(--teal); transform: scale(1.3); }
.drawer__steps span.is-done i { background: var(--ink-mid); }
.drawer__body { flex: 1; overflow-y: auto; padding: 22px 28px; }
.step { display: none; }
.step.is-active { display: block; animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateY(-12px); } }
.step__sub { font-size: 14px; color: var(--ink-mid); margin-bottom: 18px; }

.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px 16px; color: inherit;
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.opt:hover { border-color: var(--teal); transform: translateX(4px); }
.opt.is-picked { border-color: var(--teal); background: var(--teal-pale); }
.opt__hour { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--teal); min-width: 40px; }
.opt__body { flex: 1; }
.opt__title { display: block; font-size: 15px; font-weight: 600; }
.opt__meta { font-family: var(--mono); font-size: 11px; color: var(--ink-mid); }
.opt__arrow { color: var(--teal); opacity: 0; transition: opacity .3s; }
.opt:hover .opt__arrow, .opt.is-picked .opt__arrow { opacity: 1; }

.datebar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 16px; scrollbar-width: thin; }
.datebar__d {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 62px; padding: 10px 8px;
  background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .3s, background .3s;
}
.datebar__d:hover { border-color: var(--teal); }
.datebar__d.is-picked { border-color: var(--teal); background: var(--teal-pale); }
.datebar__dow { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-lt); }
.datebar__day { font-family: var(--serif); font-size: 20px; }
.datebar__mon { font-family: var(--mono); font-size: 9.5px; color: var(--ink-mid); }

.slots__hint, .slots__empty { font-size: 13.5px; color: var(--ink-mid); padding: 14px 0; }
.slots__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot {
  padding: 11px 6px; background: var(--paper-2);
  border: 1px solid var(--border); border-radius: var(--r);
  font-family: var(--mono); font-size: 12.5px; transition: border-color .3s, background .3s;
}
.slot:hover:not(.is-taken) { border-color: var(--teal); }
.slot.is-picked { border-color: var(--teal); background: var(--teal-pale); font-weight: 700; }
.slot.is-taken { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form label span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 6px; }
.form input {
  width: 100%; padding: 13px 14px;
  background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--r);
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color .3s;
}
.form input:focus { outline: none; border-color: var(--teal); }
.form__summary {
  background: var(--teal-pale); border: 1px dashed color-mix(in srgb, var(--teal) 45%, transparent);
  border-radius: var(--r); padding: 14px 16px; font-size: 13.5px;
  display: flex; flex-direction: column; gap: 4px;
}
.form__error { color: #a33; font-size: 13px; }
.form__legal { font-size: 11.5px; color: var(--ink-lt); }
.form__legal a { color: var(--ink-mid); }

.verify { text-align: center; padding: 18px 0; }
.verify__title { font-family: var(--serif); font-weight: 400; font-size: 23px; }
.verify__intro { font-size: 13.5px; color: var(--ink-mid); margin: 10px 0 20px; }
.verify__inputs { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.verify__inputs input {
  width: 54px; height: 62px; text-align: center;
  font-family: var(--mono); font-size: 24px;
  background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--r);
}
.verify__inputs input:focus { outline: none; border-color: var(--teal); }

.success { text-align: center; padding: 30px 0; }
.success__mark {
  display: inline-grid; place-items: center;
  width: 62px; height: 62px; border-radius: var(--r);
  background: var(--teal); color: var(--paper); font-size: 26px;
  margin-bottom: 18px;
}
.success h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.success h3 em { font-style: italic; color: var(--teal); }
.success p { font-size: 14px; color: var(--ink-mid); margin: 12px 0 22px; }

.drawer__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; border-top: 1px solid var(--border);
}
.drawer__back {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-mid);
}
.drawer__back:hover { color: var(--teal); }
.drawer__next:disabled { opacity: .35; cursor: not-allowed; }

/* ─── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-fade], [data-reveal], [data-lines], .hero__line i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .grain, .hero__scroll i, .loader__cross b, .tcard__ring { animation: none !important; }
  .loader { display: none; }
  [data-phi-spiral], .map__outline .map__brow { stroke-dashoffset: 0 !important; }
  .map__axis, .map__rays, .map__pts, .map__pt { transition: none; }
}
