/* ==========================================================================
   NAZWA — Boutique Pilates Studio
   Paleta: głęboka śliwka + antyczne złoto na ciepłym kremie.
   Typografia: Archivo (variable: szerokość 62–125%) + Unbounded (akcenty i liczby).
   ========================================================================== */

/* ---------- Fonty (lokalne) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  color-scheme: light;

  /* Paleta bazowa */
  --bone: #F5EFE6;
  --bone-2: #EDE4D6;
  --paper: #FBF8F3;
  --ink: #221424;
  --ink-soft: #6B5A6C;

  --plum-950: #1A0C1D;
  --plum-900: #2B1530;
  --plum-850: #331A39;
  --plum-800: #3A1E40;
  --plum-700: #4F2A57;
  --plum-600: #6B3F74;
  --lilac-100: #EFE6EF;

  --gold-200: #EFE2C8;
  --gold-300: #E3CDA3;
  --gold-400: #D8BD8E;
  --gold-500: #B8935A;
  --gold-ink: #7D5E2C;

  --danger: #A33A3A;

  /* Typy zajęć (tekst ≥ 4.5:1 na papierze) */
  --t-reformer: #5B2E63;
  --t-mat: #7D5E2C;
  --t-tower: #8E4F6E;
  --t-prenatal: #9A5A4F;
  --t-recovery: #4F6B62;

  /* Semantyka (jasne sekcje) */
  --bg: var(--bone);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --line: rgba(34, 20, 36, .12);
  --line-strong: rgba(34, 20, 36, .24);
  --accent: var(--gold-500);
  --accent-ink: var(--gold-ink);
  --em: var(--plum-600);
  --focus: var(--plum-600);

  /* Typografia */
  --font-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-accent: 'Unbounded', 'Archivo', ui-sans-serif, system-ui, sans-serif;

  /* Układ */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(88px, 5rem + 6vw, 176px);
  --nav-h: 72px;
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));

  /* Promienie */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --r-arch: 999px 999px 0 0;

  /* Ruch */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --dur-1: 160ms;
  --dur-2: 280ms;
  --dur-3: 520ms;
  --dur-4: 900ms;
  --dur-5: 1300ms;

  /* Warstwy */
  --z-base: 1;
  --z-sticky: 20;
  --z-menu: 39;
  --z-nav: 40;
  --z-loader: 1000;

  /* Cienie */
  --shadow-1: 0 1px 2px rgba(34, 20, 36, .05), 0 4px 14px -4px rgba(34, 20, 36, .08);
  --shadow-2: 0 2px 6px rgba(34, 20, 36, .05), 0 18px 40px -14px rgba(34, 20, 36, .22);
  --shadow-3: 0 30px 80px -24px rgba(43, 21, 48, .45);
}

@media (min-width: 1024px) {
  :root { --nav-h: 84px; }
}

.theme-dark {
  --bg: var(--plum-900);
  --fg: var(--bone);
  --muted: rgba(245, 239, 230, .72);
  --line: rgba(245, 239, 230, .14);
  --line-strong: rgba(245, 239, 230, .3);
  --accent: var(--gold-400);
  --accent-ink: var(--gold-400);
  --em: var(--gold-400);
  --focus: var(--gold-400);
  background-color: var(--bg);
  color: var(--fg);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }

/* Delikatne ziarno papieru */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.13 0 0 0 0 0.08 0 0 0 0 0.14 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--plum-700); color: var(--gold-300); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 3000;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--plum-900);
  color: var(--bone);
  font-size: .875rem;
  font-weight: 500;
  translate: 0 -200%;
  transition: translate var(--dur-2) var(--ease-out);
}
.skip-link:focus { translate: 0 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }

.u-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--dur-2);
}
.u-link:hover { text-decoration-color: currentColor; }

/* ---------- Typografia ---------- */
/* Akcent: Unbounded — szeroki, zaokrąglony, z mocną grubością (łuki jak w studiu) */
em {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-size: .88em;
  letter-spacing: -.035em;
}

h1 em, h2 em, h3 em, .h2 em, .hero__title em { color: var(--em); }

.h2 {
  font-size: clamp(2.1rem, 1.45rem + 2.4vw, 3.4rem);
  font-weight: 370;
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.label__num { font-variant-numeric: tabular-nums; }
.label__line {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow__line {
  width: 40px;
  height: 1px;
  background: var(--gold-500);
}

.section-head {
  display: grid;
  gap: 20px 64px;
  margin-bottom: clamp(44px, 5vw, 80px);
}
.section-head .h2 { margin-top: 18px; }
@media (min-width: 1024px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
  }
}
.section-intro {
  max-width: 46ch;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Przyciski ---------- */
.btn {
  --btn-bg: var(--plum-700);
  --btn-fg: var(--bone);
  --btn-icon-bg: var(--gold-400);
  --btn-icon-fg: var(--plum-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 8px 6px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9375rem;
  font-weight: 500;
  font-stretch: 108%;
  letter-spacing: .005em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    translate var(--dur-3) var(--ease-out),
    scale var(--dur-1) var(--ease-out);
}
.btn:not(:has(.btn__icon)) { padding-right: 24px; }
.btn:active { scale: .975; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--btn-icon-bg);
  color: var(--btn-icon-fg);
  overflow: hidden;
  transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-out);
}
.btn__icon .i { width: 18px; height: 18px; transition: transform var(--dur-3) var(--ease-out); }
.btn:hover .btn__icon .i { animation: arrowLoop .6s var(--ease-out); }
@keyframes arrowLoop {
  0% { transform: translateX(0); }
  45% { transform: translateX(130%); }
  46% { transform: translateX(-130%); }
  100% { transform: translateX(0); }
}

.btn--primary:hover { --btn-bg: var(--plum-800); box-shadow: 0 14px 30px -12px rgba(79, 42, 87, .6); }
.btn--sm { min-height: 44px; padding: 6px 20px; font-size: .875rem; }
.btn--lg { min-height: 58px; padding-left: 28px; font-size: 1rem; }
.btn--lg .btn__icon { width: 44px; height: 44px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-icon-bg: var(--plum-700);
  --btn-icon-fg: var(--bone);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: color-mix(in srgb, var(--fg) 6%, transparent); border-color: var(--fg); }

.btn--gold {
  --btn-bg: var(--gold-400);
  --btn-fg: var(--plum-950);
  --btn-icon-bg: var(--plum-900);
  --btn-icon-fg: var(--gold-300);
}
.btn--gold:hover { --btn-bg: var(--gold-300); box-shadow: 0 14px 30px -12px rgba(216, 189, 142, .5); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* Spinner (ładowanie) */
.btn__spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  pointer-events: none;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label, .btn.is-loading .btn__icon { opacity: 0; }
.btn.is-loading .btn__spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--fg);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 100% 1px no-repeat;
  transition: background-size var(--dur-3) var(--ease-out);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% calc(100% - 6px); }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--dur-3) var(--ease-out); }
.link-arrow:hover .i { transform: translate(2px, -2px); }
.link-arrow--light { color: var(--gold-300); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2), opacity var(--dur-2);
}
.icon-btn:hover:not(:disabled) { background: var(--plum-700); border-color: var(--plum-700); color: var(--bone); }
.icon-btn:disabled { opacity: .3; cursor: not-allowed; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader { display: none; }
.has-loader .loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--plum-900);
  color: var(--gold-400);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
  animation: loaderFailsafe 0s 4s forwards;
}
.loader-out .loader { clip-path: inset(0 0 100% 0); }
@keyframes loaderFailsafe { to { visibility: hidden; } }

.loader__inner { display: grid; justify-items: center; gap: 22px; transition: translate 1s var(--ease-in-out), opacity .6s; }
.loader-out .loader__inner { translate: 0 -60px; opacity: 0; }
.loader__arch { width: 74px; height: auto; }
.loader__arch path {
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease-in-out) .05s forwards;
}
.loader__arch path:nth-child(2) { stroke-opacity: .5; animation-delay: .2s; }
.loader__arch circle { fill: currentColor; opacity: 0; transform-origin: 60px 100px; animation: popIn .6s var(--ease-out) .7s forwards; }
.loader__word { display: flex; gap: .32em; overflow: hidden; padding-block: 4px; color: var(--bone); font-size: 1.25rem; font-weight: 500; font-stretch: 125%; letter-spacing: .1em; }
.loader__word span { display: inline-block; translate: 0 110%; animation: rise .9s var(--ease-out) forwards; animation-delay: calc(.3s + var(--i) * 55ms); }
.loader__sub { font-family: var(--font-accent); font-weight: 300; font-size: .875rem; letter-spacing: .01em; color: var(--gold-400); opacity: 0; animation: fadeIn .8s ease .75s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
/* Rysowanie, które nigdy nie zostawia elementu niewidocznym: po animacji (albo gdy się nie odtworzy) kreska jest pełna */
@keyframes drawIn { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes rise { to { translate: 0 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

/* ==========================================================================
   KRĘGOSŁUP — wskaźnik przewijania
   ========================================================================== */
.spine {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: var(--z-sticky);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  translate: 0 -50%;
  pointer-events: none;
}
@media (min-width: 1360px) { .spine { display: flex; } }
.spine { transition: opacity .5s; }
.spine.is-muted { opacity: 0; }
.spine i {
  display: block;
  width: var(--w, 12px);
  height: 4px;
  border-radius: 2px;
  background: rgba(184, 147, 90, .28);
  transition: background-color .4s, scale .5s var(--ease-out);
}
.spine i.is-lit { background: var(--gold-500); scale: 1.12 1; }

/* ==========================================================================
   NAWIGACJA
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  height: var(--nav-h);
  color: var(--ink);
  transition: color .4s;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 239, 230, .82);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .4s, background-color .45s, border-color .45s;
}
.nav.is-scrolled::before { opacity: 1; }

/* Nad ciemnymi sekcjami pasek przechodzi w ciemny wariant */
.nav.is-dark { color: var(--bone); }
.nav.is-dark::before { background: rgba(26, 12, 29, .74); border-bottom-color: rgba(245, 239, 230, .1); }
.nav.is-dark .nav__link.is-active { color: var(--gold-300); }
.nav.is-dark .nav__phone .i { color: var(--gold-400); }
.nav.is-dark .brand__mark circle { fill: var(--gold-400); }
.nav.is-dark .nav__toggle { border-color: rgba(245, 239, 230, .3); }
.nav.is-dark .nav__cta { --btn-bg: var(--gold-400); --btn-fg: var(--plum-950); }
.nav.is-dark .nav__cta:hover { --btn-bg: var(--gold-300); box-shadow: 0 14px 30px -12px rgba(216, 189, 142, .45); }

.menu-open .nav { color: var(--bone); }
.menu-open .nav::before { opacity: 0; }

.nav__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Desktop: trzy kolumny o równych bokach — linki są na środku strony,
   niezależnie od tego, że logo jest węższe niż prawa grupa (telefon + CTA) */
@media (min-width: 1024px) {
  .nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav__inner > .brand { justify-self: start; }
  .nav__inner > .nav__actions { justify-self: end; }
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand__mark { width: 26px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand__mark .brand__inner { stroke-opacity: .45; }
.brand__mark circle { fill: var(--gold-500); stroke: none; }
.brand__text { display: grid; line-height: 1; gap: 5px; }
.brand__name { font-size: 1rem; font-weight: 600; font-stretch: 125%; letter-spacing: .24em; }
.brand__sub { font-family: var(--font-accent); font-weight: 300; font-size: .6875rem; letter-spacing: .01em; opacity: .75; }

.nav__links { display: none; }
@media (min-width: 1024px) {
  .nav__links { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); }
}
.nav__link {
  position: relative;
  padding-block: 10px;
  font-size: .875rem;
  font-weight: 500;
  font-stretch: 106%;
  letter-spacing: .01em;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-3) var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--plum-700); }
.nav__link.is-active::before {
  content: "";
  position: absolute;
  left: 50%; top: -2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-500);
  translate: -50% 0;
}

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__phone {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-size: .875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.nav__phone .i { width: 16px; height: 16px; color: var(--gold-ink); }
@media (min-width: 1240px) { .nav__phone { display: inline-flex; } }
.nav__cta { display: none; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
.menu-open .nav__cta { opacity: 0; pointer-events: none; }

.nav__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: border-color var(--dur-2);
}
.menu-open .nav__toggle { border-color: rgba(245, 239, 230, .35); }
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: translate var(--dur-3) var(--ease-out), rotate var(--dur-3) var(--ease-out);
}
.nav__toggle span:first-child { translate: 0 -3.5px; top: 50%; }
.nav__toggle span:last-child { translate: 0 3.5px; top: 50%; }
.menu-open .nav__toggle span:first-child { translate: 0 0; rotate: 45deg; }
.menu-open .nav__toggle span:last-child { translate: 0 0; rotate: -45deg; }
@media (min-width: 1024px) { .nav__toggle { display: none; } }

.nav__progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0;
  transition: opacity .3s;
}
.nav.is-scrolled .nav__progress { opacity: 1; }
@media (min-width: 1360px) { .nav__progress { display: none; } }

/* Menu mobilne */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--plum-900);
  color: var(--bone);
  clip-path: circle(0 at calc(100% - var(--gutter) - 22px) calc(var(--nav-h) / 2));
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-open .menu {
  clip-path: circle(150% at calc(100% - var(--gutter) - 22px) calc(var(--nav-h) / 2));
  visibility: visible;
  transition: clip-path .9s var(--ease-in-out), visibility 0s;
}
/* Łuk w tle wychodzi poza krawędź, ale jest przycinany we własnym kontenerze —
   dzięki temu menu nigdy nie jest szersze niż ekran */
.menu__arch {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.menu__arch::before {
  content: "";
  position: absolute;
  right: -20vw;
  bottom: -10vh;
  width: 80vw;
  height: 70vh;
  border: 1px solid rgba(216, 189, 142, .2);
  border-bottom: 0;
  border-radius: var(--r-arch);
}
.menu__nav { position: relative; display: grid; gap: 4px; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 8px;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 330;
  font-stretch: 115%;
  letter-spacing: -.02em;
  line-height: 1.15;
  opacity: 0;
  translate: 0 30px;
  transition: opacity .5s, translate .7s var(--ease-out), color var(--dur-2);
}
.menu-open .menu__link { opacity: 1; translate: 0 0; transition-delay: calc(.25s + var(--i) * 60ms); }
.menu__link:hover { color: var(--gold-300); }
.menu__num { font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-400); font-stretch: 125%; }
.menu__foot { position: relative; display: grid; gap: 6px; margin-top: 40px; font-size: .9375rem; color: rgba(245, 239, 230, .75); opacity: 0; transition: opacity .6s .5s; }
.menu__foot a { padding-block: 6px; }
.menu-open .menu__foot { opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(680px, 100vh);
  min-height: max(680px, 100svh);
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) 0 clamp(48px, 7vh, 88px);
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero__lines {
  position: absolute;
  right: -6vw;
  bottom: -2vh;
  width: min(62vw, 900px);
  height: auto;
  pointer-events: none;
  opacity: .9;
}
.hero__lines path {
  stroke: rgba(184, 147, 90, .22);
  stroke-width: 1;
}
.js:not(.is-ready) .hero__lines path { opacity: 0; }
.is-ready .hero__lines path { animation: drawIn 2.4s var(--ease-in-out) backwards; }
.is-ready .hero__lines path:nth-child(2) { animation-delay: .15s; }
.is-ready .hero__lines path:nth-child(3) { animation-delay: .3s; }
@media (max-width: 1023px) { .hero__lines { width: 140vw; right: -30vw; bottom: 0; opacity: .6; } }

.hero__grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(48px, 6vw, 112px);
  }
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.6rem, 1.55rem + 3.5vw, 4.6rem);
  font-weight: 360;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
  max-width: 13ch;
}

.hero__lead {
  margin-top: 28px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  color: var(--muted);
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 40px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: clamp(40px, 7vh, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 520px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--muted);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before {
  content: "";
  width: 8px;
  height: 10px;
  border: 1px solid var(--gold-500);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.hero__visual {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 560px);
}
@media (min-width: 1024px) {
  .hero__visual { justify-self: end; width: min(100%, 560px, calc(74svh * .8)); }
}
.hero__glow {
  position: absolute;
  inset: 4% -14% 6% -14%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 46%, rgba(216, 189, 142, .55), rgba(216, 189, 142, 0) 72%);
  filter: blur(18px);
}
.hero__frame {
  position: absolute;
  inset: -10px -10px 0 -10px;
  z-index: -1;
  border: 1px solid rgba(184, 147, 90, .6);
  border-bottom: 0;
  border-radius: var(--r-arch);
}
@media (min-width: 1024px) { .hero__frame { inset: -16px -16px 0 -16px; } }
.hero__arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
  overflow: hidden;
  background: var(--bone-2);
  box-shadow: 0 40px 80px -40px rgba(79, 42, 87, .45);
}
.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  scale: 1.1;
}
.hero__floor {
  position: absolute;
  left: -48px; right: -48px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-500) 80%, transparent);
}

/* Najbliższe zajęcia */
.next-class {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--r-lg);
  background: rgba(251, 248, 243, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-3);
  text-align: left;
  color: var(--ink);
  transition: translate var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.next-class[hidden] { display: none; }
@media (min-width: 640px) { .next-class { left: -36px; right: auto; bottom: 44px; width: 300px; } }
.next-class:hover { translate: 0 -4px; }
.next-class__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: .6875rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.next-class__when { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.next-class__name { font-size: 1.125rem; font-weight: 500; font-stretch: 108%; letter-spacing: -.01em; }
.next-class__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--plum-700);
}
.next-class__foot .i { width: 18px; height: 18px; transition: translate var(--dur-3) var(--ease-out); }
.next-class:hover .next-class__foot .i { translate: 4px 0; }

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold-500);
  animation: ping 2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* Oddech */
.breath {
  position: absolute;
  top: 26%;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: var(--r-pill);
  background: rgba(43, 21, 48, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--bone);
}
@media (min-width: 1024px) { .breath { top: 46%; right: -40px; } }
.breath__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(216, 189, 142, .5);
}
.breath__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-300), var(--gold-500));
  animation: breathe 8s var(--ease-in-out) infinite;
}
.breath__words { position: relative; display: grid; font-size: .8125rem; font-weight: 500; font-stretch: 112%; letter-spacing: .06em; }
.breath__words span { grid-area: 1 / 1; animation: breathWord 8s infinite; }
.breath__words span:last-child { animation-delay: -4s; }
@keyframes breathe { 0%, 100% { transform: scale(.35); } 50% { transform: scale(1); } }
@keyframes breathWord { 0%, 46% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }

/* Hero — sekwencja wejścia */
.js [data-hero] { opacity: 0; translate: 0 22px; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.js.is-ready [data-hero] { opacity: 1; translate: 0 0; }
.js .hero__arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out) .1s; }
.js.is-ready .hero__arch { clip-path: inset(0 0 0 0); }
.js .hero__arch img { scale: 1.35; transition: scale 2.4s var(--ease-out) .1s; }
.js.is-ready .hero__arch img { scale: 1.1; }
.js .hero__frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out) .45s; }
.js.is-ready .hero__frame { clip-path: inset(0 0 0 0); }
.js .hero__glow { opacity: 0; transition: opacity 2s ease .6s; }
.js.is-ready .hero__glow { opacity: 1; }
.js .hero__floor { transform: scaleX(0); transition: transform 1.4s var(--ease-in-out) .3s; }
.js.is-ready .hero__floor { transform: scaleX(1); }
.js .next-class { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease-out) 1.1s, translate 1s var(--ease-out) 1.1s, box-shadow var(--dur-3); }
.js.is-ready .next-class { opacity: 1; translate: 0 0; }
.js.is-ready .next-class:hover { translate: 0 -4px; transition-delay: 0s; }
.js .breath { opacity: 0; scale: .8; transition: opacity .8s ease 1.35s, scale .9s var(--ease-out) 1.35s; }
.js.is-ready .breath { opacity: 1; scale: 1; }

/* ==========================================================================
   Animacje tekstu (dzielenie na słowa)
   ========================================================================== */
/* clip-path zamiast overflow — zachowuje linię bazową słów */
.w { display: inline-block; clip-path: inset(-.35em -.25em -.22em -.25em); }
.w__i { display: inline-block; }
.js [data-split]:not(.is-split) { visibility: hidden; animation: failsafeShow 0s 2.5s forwards; }
@keyframes failsafeShow { to { visibility: visible; } }
.js [data-split] .w__i {
  transform: translateY(135%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--wi) * 55ms + var(--split-delay, 0ms));
}
.js [data-split].is-in .w__i { transform: translateY(0); }
.js .hero__title { --split-delay: 250ms; }

/* Reveal ogólny */
.js [data-reveal] {
  opacity: 0;
  translate: 0 30px;
  transition: opacity 1s var(--ease-out), translate 1.15s var(--ease-out);
  transition-delay: calc(var(--rd, 0) * 1ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  padding-block: clamp(22px, 3vw, 36px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: inline-flex; align-items: center; gap: clamp(26px, 3.4vw, 52px); will-change: transform; }
.marquee__item {
  font-family: var(--font-accent);
  font-weight: 300;
  font-size: clamp(1.25rem, .95rem + 1.2vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--plum-700);
}
.marquee__item--sans {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: clamp(.8125rem, .75rem + .3vw, 1rem);
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee__sep {
  width: 10px;
  height: 13px;
  flex: none;
  border: 1px solid var(--gold-500);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

/* ==========================================================================
   STUDIO — o nas (zdjęcie + tekst + fakty), zasady
   ========================================================================== */
.about { display: grid; gap: clamp(64px, 9vw, 96px); align-items: center; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(72px, 8vw, 136px); }
}

.about__media {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100% - 24px, 500px);
  margin-right: 24px;
}
@media (min-width: 1024px) { .about__media { justify-self: start; width: 100%; max-width: 500px; margin: 0 0 0 44px; } }
.about__frame {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(184, 147, 90, .6);
  border-radius: var(--r-arch);
  translate: 22px -22px;
}
.about__arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
  overflow: hidden;
  background: var(--bone-2);
  box-shadow: 0 40px 80px -40px rgba(79, 42, 87, .4);
}
.about__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; scale: 1.12; }
.about__circle {
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--bone);
  background: var(--bone-2);
  box-shadow: var(--shadow-2);
}
@media (min-width: 1024px) { .about__circle { right: -12%; bottom: -8%; } }
.about__circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.about__tag {
  position: absolute;
  left: -44px;
  bottom: 0;
  display: none;
  writing-mode: vertical-rl;
  rotate: 180deg;
  font-size: .6875rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.about__tag::after { content: ""; display: inline-block; width: 1px; height: 48px; margin-top: 14px; background: var(--gold-500); vertical-align: middle; }
@media (min-width: 1024px) { .about__tag { display: block; } }

/* Wejście zdjęcia: łuk wyrasta od dołu, potem rama i koło */
.js .about__media[data-reveal] { opacity: 1; translate: none; }
.js .about__media .about__arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js .about__media.is-in .about__arch { clip-path: inset(0 0 0 0); }
.js .about__media .about__frame { opacity: 0; translate: 0 0; transition: opacity 1s ease .5s, translate 1.4s var(--ease-out) .5s; }
.js .about__media.is-in .about__frame { opacity: 1; translate: 22px -22px; }
.js .about__media .about__circle { opacity: 0; scale: .7; transition: opacity .8s ease .9s, scale 1.1s var(--ease-out) .9s; }
.js .about__media.is-in .about__circle { opacity: 1; scale: 1; }

.about__body .h2 { margin-top: 18px; max-width: 14ch; }
.about__lead {
  margin-top: 28px;
  max-width: 36ch;
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  font-weight: 360;
  font-stretch: 104%;
  line-height: 1.45;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.about__text { margin-top: 16px; max-width: 50ch; color: var(--muted); text-wrap: pretty; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.fact {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px 12px 20px 0;
  border-bottom: 1px solid var(--line);
}
.fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
@media (min-width: 640px) {
  .fact { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding-block: 24px; }
  .fact:nth-child(even) { padding-left: 28px; }
}
.fact__num {
  order: -1;
  font-family: var(--font-accent);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--plum-700);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fact__label { font-size: .875rem; line-height: 1.4; color: var(--muted); }
.about__cta { margin-top: 28px; }

.principles { margin-top: var(--section-y); }
.principles__head { display: grid; gap: 28px; margin-bottom: clamp(44px, 5vw, 72px); }
@media (min-width: 1024px) { .principles__head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 64px; } }
.principles__intro p { max-width: 42ch; color: var(--muted); }
.spring { width: 220px; height: 22px; margin-top: 24px; stroke: var(--gold-500); stroke-width: 1.2; stroke-linecap: round; }
.spring circle { fill: var(--gold-500); stroke: none; }
.spring__coil { transform-origin: 120px 12px; animation: springBreath 6s var(--ease-in-out) infinite; }
@keyframes springBreath { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.72); } }

.principles__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .principles__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .principles__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principle {
  position: relative;
  isolation: isolate;
  padding: 36px 24px 40px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .principle:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .principle { padding: 40px 32px 48px 0; }
  .principle:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
}
.principle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(237, 228, 214, 0), var(--bone-2));
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.principle:hover::before { opacity: 1; }
.principle__icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.principle__icon .pi-fill { fill: var(--gold-500); stroke: none; }
/* uwaga: bez selektora [pathLength] — Chromium gubi przez niego przeliczenie stylów po zmianie klasy */
.js .principle.is-in .principle__icon :is(path, circle:not(.pi-fill)) {
  animation: drawIn 1.6s var(--ease-in-out) backwards;
  animation-delay: calc(var(--rd, 0) * 1ms + 300ms);
}
/* Ruch po najechaniu — na osobnych warstwach <g>, żeby nie kolidował z rysowaniem */
.principle__icon g, .principle__icon .pi-pulse { transform-origin: 24px 24px; transition: rotate .7s var(--ease-out), scale .5s var(--ease-out); }
.principle:hover .pi-breath { animation: breatheRing 2.6s var(--ease-in-out) infinite; }
.principle:hover .pi-breath--2 { animation-delay: .25s; }
.principle:hover .pi-spin { rotate: 90deg; }
.principle:hover .pi-pulse { animation: dotPulse 1.6s var(--ease-in-out) infinite; }
.principle:hover .pi-in-l { animation: nudgeR 1.5s var(--ease-in-out) infinite; }
.principle:hover .pi-in-r { animation: nudgeL 1.5s var(--ease-in-out) infinite; }
.principle:hover .pi-spring { animation: springPress 1.8s var(--ease-in-out) infinite; }
.principle:hover .pi-marker { animation: markerSlide 1.4s var(--ease-in-out) infinite alternate; }
.principle:hover .pi-wave { animation: waveShift 1.3s var(--ease-in-out) infinite alternate; }
.principle:hover .pi-wave--2 { animation-direction: alternate-reverse; }
@keyframes breatheRing { 0%, 100% { scale: 1; } 50% { scale: .8; } }
@keyframes dotPulse { 0%, 100% { scale: 1; } 50% { scale: 1.5; } }
@keyframes nudgeR { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@keyframes nudgeL { 0%, 100% { translate: 0 0; } 50% { translate: -4px 0; } }
@keyframes springPress { 0%, 100% { scale: 1 1; } 50% { scale: .74 1; } }
@keyframes markerSlide { from { translate: -9px 0; } to { translate: 9px 0; } }
@keyframes waveShift { from { translate: -3px 0; } to { translate: 3px 0; } }
.principle__num {
  position: absolute;
  top: 40px;
  right: 24px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .14em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) { .principle__num { right: 32px; top: 44px; } }
.principle h3 {
  margin: 28px 0 10px;
  font-size: 1.3125rem;
  font-weight: 450;
  font-stretch: 116%;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.principle p { max-width: 34ch; font-size: .9375rem; color: var(--muted); }

/* ==========================================================================
   ZAJĘCIA (lista)
   ========================================================================== */
.classes { overflow-x: clip; }
.class-list { border-top: 1px solid var(--line); }
.class-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 44px;
  gap: 10px 16px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  transition: opacity var(--dur-3) var(--ease-out);
}
.class-row::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.class-row:hover::after, .class-row:focus-visible::after { transform: scaleX(1); }
.class-row__num {
  align-self: start;
  padding-top: .8em;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .14em;
  color: var(--gold-400);
}
.class-row__name {
  font-size: clamp(1.55rem, 1.05rem + 1.6vw, 2.4rem);
  font-weight: 320;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -.025em;
  transition: translate .7s var(--ease-out);
}
.class-row__name em { color: var(--gold-400); }
.class-row__desc { grid-column: 2 / 3; max-width: 48ch; font-size: .9375rem; color: var(--muted); }
.class-row__meta { grid-column: 2 / 3; display: flex; flex-wrap: wrap; gap: 8px; }
.class-row__arrow {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color var(--dur-3), color var(--dur-3), border-color var(--dur-3), rotate var(--dur-3) var(--ease-out);
}
.class-row__arrow .i { width: 18px; height: 18px; }
.class-row:hover .class-row__arrow, .class-row:focus-visible .class-row__arrow {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--plum-950);
  rotate: 45deg;
}
.class-row:hover .class-row__name { translate: 10px 0; }
@media (hover: hover) {
  .class-list:hover .class-row:not(:hover) { opacity: .5; }
}
@media (min-width: 1024px) {
  .class-row {
    grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 150px 48px;
    gap: 32px;
    padding-block: 30px;
  }
  .class-row__desc, .class-row__meta { grid-column: auto; }
  .class-row__meta { flex-direction: column; align-items: flex-start; }
  .class-row__arrow { grid-column: auto; grid-row: auto; justify-self: end; }
  .class-row__num { padding-top: 0; align-self: center; }
}


/* ==========================================================================
   GRAFIK
   ========================================================================== */
.schedule { background: var(--bone); }
.sched__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.weeknav { display: flex; align-items: center; gap: 10px; }
.weeknav__label { display: grid; min-width: 200px; text-align: center; line-height: 1.3; }
.weeknav__kicker {
  font-size: .6875rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.weeknav__range { font-size: 1rem; font-weight: 500; font-stretch: 108%; font-variant-numeric: tabular-nums; }

.sched__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.chip:hover { border-color: var(--ink); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--gold-500)); }
.chip__count { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.chip[aria-pressed="true"] .chip__count { color: rgba(245, 239, 230, .7); }
.chip[aria-pressed="true"] .chip__dot { box-shadow: 0 0 0 2px var(--bone); }

.select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select .i { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--gold-ink); pointer-events: none; }
.select select {
  appearance: none;
  min-height: 42px;
  padding: 0 40px 0 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221424' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
}
.select select:hover { border-color: var(--ink); }

.sched__count { min-height: 1.6em; margin: 22px 4px 6px; font-size: .8125rem; color: var(--muted); }

@media (max-width: 639px) {
  .sched__toolbar { padding: 12px; gap: 12px; border-radius: 24px; }
  .weeknav { width: 100%; justify-content: space-between; }
  .weeknav__label { min-width: 0; flex: 1; }
  .sched__filters { width: 100%; }
  .chips { gap: 6px 5px; }
  .chip { min-height: 38px; padding: 0 10px; gap: 5px; font-size: .8125rem; }
  .select, .select select { width: 100%; }
}

/* Widok tygodnia (desktop) */
.sched__grid { display: none; }
@media (min-width: 1100px) {
  .sched__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: 10px;
  }
  .agenda { display: none; }
}
.sg-head {
  position: sticky;
  top: var(--nav-h);
  z-index: 3;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 6px 14px;
  background: var(--bone);
  border-bottom: 1px solid var(--line-strong);
  transition: top .55s var(--ease-out);
}
.sg-head__name { font-size: .75rem; font-weight: 600; font-stretch: 120%; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sg-head__num { font-size: 1.5rem; font-weight: 340; font-stretch: 104%; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sg-head__today {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--plum-700);
  color: var(--gold-300);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  align-self: center;
}
.sg-head.is-today .sg-head__name { color: var(--plum-700); }
.sg-head.is-today .sg-head__num { color: var(--plum-700); font-weight: 400; }
.sg-head.is-today::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px; bottom: -1px;
  height: 2px;
  background: var(--plum-700);
}

.sg-today {
  grid-row: 2 / -1;
  margin-inline: -5px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, rgba(79, 42, 87, .07), rgba(79, 42, 87, .03));
  pointer-events: none;
}
.sg-sep {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 2px 12px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.sg-sep .i { width: 16px; height: 16px; color: var(--gold-500); }
.sg-sep__range { color: var(--muted); font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sg-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sg-cell { position: relative; z-index: 1; min-width: 0; padding-bottom: 4px; }
.sg-list { display: grid; gap: 8px; }
.sg-empty {
  display: block;
  height: 100%;
  min-height: 56px;
  border-radius: 14px;
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(34, 20, 36, .035) 6px 7px);
}

/* Karta zajęć */
.cls {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 13px 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  background: color-mix(in srgb, var(--c) 4%, var(--paper));
  color: var(--ink);
  text-align: left;
  touch-action: manipulation;
  transition: translate var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-2), opacity var(--dur-2);
  animation: clsIn .7s var(--ease-out) backwards;
  animation-delay: calc(var(--k, 0) * 22ms);
}
.cls::before {
  content: "";
  position: absolute;
  left: 7px; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--c);
}
.cls:hover {
  translate: 0 -3px;
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: var(--shadow-2);
}
.cls:active { translate: 0 -1px; }
.cls__top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-variant-numeric: tabular-nums; }
.cls__time { font-size: 1rem; font-weight: 600; font-stretch: 88%; letter-spacing: .01em; }
.cls__dur { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.cls__name { font-size: .875rem; font-weight: 500; line-height: 1.3; font-stretch: 100%; text-wrap: balance; }
.cls__room { font-size: .75rem; color: var(--muted); }
.cls__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: .75rem; font-weight: 500; color: var(--c); }
.cls__badge {
  position: absolute;
  top: -9px;
  right: 10px;
}
.badge-next {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--gold-400);
  color: var(--plum-950);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.cls.is-past { opacity: .5; background: transparent; }
.cls.is-past .cls__foot { color: var(--muted); }
.cls.is-past::before { background: var(--line-strong); }
.cls.is-full .cls__foot { color: var(--muted); }
.cls.is-live { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.cls.is-live .cls__foot { color: var(--c); }
.cls.is-flash { animation: flash 1.6s var(--ease-out) 2; }
@keyframes clsIn { from { opacity: 0; translate: 0 10px; } }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(184, 147, 90, 0); } 30% { box-shadow: 0 0 0 6px rgba(184, 147, 90, .45); } }

.sched__view.is-swapping-next .cls { animation-name: clsInNext; }
.sched__view.is-swapping-prev .cls { animation-name: clsInPrev; }
@keyframes clsInNext { from { opacity: 0; translate: 18px 0; } }
@keyframes clsInPrev { from { opacity: 0; translate: -18px 0; } }

.dots { display: inline-flex; flex-wrap: wrap; gap: 3px; max-width: 100%; }
.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c, var(--plum-700));
}
.dots i.is-free { background: transparent; box-shadow: inset 0 0 0 1px currentColor; opacity: .7; }
.dots--legend { --c: var(--plum-700); color: var(--plum-700); }

/* Agenda (mobile / tablet) */
.agenda__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}
.day-tab {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-height: 66px;
  padding: 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.day-tab:hover { border-color: var(--line-strong); }
.day-tab__name { font-size: .75rem; font-weight: 600; font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.day-tab__num { font-size: 1.25rem; font-weight: 400; font-stretch: 100%; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.day-tab__count { font-size: .6875rem; color: var(--muted); }
.day-tab.is-today::after {
  content: "";
  position: absolute;
  top: 7px; right: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
.day-tab[aria-selected="true"] { background: var(--plum-700); border-color: var(--plum-700); color: var(--bone); }
.day-tab[aria-selected="true"] .day-tab__name, .day-tab[aria-selected="true"] .day-tab__count { color: rgba(245, 239, 230, .78); }
.day-tab.is-empty .day-tab__num { opacity: .45; }

.agenda__panel { margin-top: 24px; }
.agenda__dayname { margin-bottom: 4px; font-size: 1.25rem; font-weight: 400; font-stretch: 110%; letter-spacing: -.01em; }
.agenda__group + .agenda__group { margin-top: 8px; }
.agenda__band {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 2px 10px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.agenda__band .i { width: 16px; height: 16px; color: var(--gold-500); }
.agenda__band span:last-child { color: var(--muted); font-weight: 500; letter-spacing: .06em; }
.agenda__list { display: grid; gap: 10px; }
@media (min-width: 680px) { .agenda__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cls--row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  padding: 16px 16px 16px 20px;
}
.cls--row::before { top: 14px; bottom: 14px; }
.cls--row .cls__when { display: grid; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cls--row .cls__time { font-size: 1.125rem; }
.cls--row .cls__body { display: grid; gap: 3px; min-width: 0; }
.cls--row .cls__name { font-size: .9375rem; }
.cls--row .cls__go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.cls--row .cls__go .i { width: 16px; height: 16px; }
.cls--row .cls__badge { right: 14px; }

.agenda__empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--muted);
}

/* Legenda */
.sched__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--muted);
}
.legend-item { display: inline-flex; align-items: center; gap: 10px; }
.legend-past { width: 22px; height: 14px; border-radius: 4px; border: 1px solid var(--line-strong); opacity: .6; }
.legend-note { margin-left: auto; font-style: normal; }
@media (max-width: 899px) { .legend-note { margin-left: 0; width: 100%; } }

/* ==========================================================================
   PRZESTRZEŃ — rozszerzający się łuk
   ========================================================================== */
.space { background: var(--plum-950); }
.space-intro {
  --it: 30svh;
  --ix: 12vw;
  --ib: 8svh;
  position: relative;
  height: 240vh;
}
@media (min-width: 1024px) {
  .space-intro { --it: 13svh; --ix: 36vw; --ib: 9svh; height: 260vh; }
}
.space-intro__sticky {
  --pe: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.space-intro__media {
  position: absolute;
  top: calc(var(--it) * (1 - var(--pe)));
  bottom: calc(var(--ib) * (1 - var(--pe)));
  left: calc(var(--ix) * (1 - var(--pe)));
  right: calc(var(--ix) * (1 - var(--pe)));
  border-radius: calc(50vw * (1 - var(--pe))) calc(50vw * (1 - var(--pe))) 0 0;
  overflow: hidden;
}
.space-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  scale: calc(1.12 - .12 * var(--pe));
}
.space-intro__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 12, 29, .2) 0%, rgba(26, 12, 29, 0) 35%, rgba(26, 12, 29, .82) 100%);
  opacity: calc(var(--pe) * 1.4 - .3);
}
.space-intro__frame {
  position: absolute;
  top: calc(var(--it) - 16px);
  left: calc(var(--ix) - 16px);
  right: calc(var(--ix) - 16px);
  bottom: var(--ib);
  border: 1px solid rgba(216, 189, 142, .5);
  border-bottom: 0;
  border-radius: var(--r-arch);
  opacity: calc(1 - var(--pe) * 4);
  pointer-events: none;
}
.space-intro__frame::after {
  content: "";
  position: absolute;
  left: -40px; right: -40px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 142, .6) 25%, rgba(216, 189, 142, .6) 75%, transparent);
}
.space-intro__left, .space-intro__right {
  position: absolute;
  z-index: 2;
  will-change: opacity, translate;
}
.space-intro__left {
  top: calc(var(--nav-h) + 24px);
  left: var(--gutter);
  right: var(--gutter);
  opacity: calc(1 - var(--pe) * 2.4);
  translate: 0 calc(var(--pe) * -40px);
}
.space-intro__left .h2 { margin-top: 16px; max-width: 12ch; font-size: clamp(2rem, 1.2rem + 1.6vw, 2.75rem); }
.space-intro__right { display: none; }
@media (min-width: 1024px) {
  .space-intro__left {
    top: 50%;
    left: var(--edge);
    right: auto;
    width: calc(var(--ix) - var(--edge) - 56px);
    translate: calc(var(--pe) * -80px) -50%;
  }
  .space-intro__right {
    display: grid;
    gap: 28px;
    top: 50%;
    right: var(--edge);
    width: min(320px, calc(var(--ix) - var(--edge) - 56px));
    color: var(--muted);
    opacity: calc(1 - var(--pe) * 2.4);
    translate: calc(var(--pe) * 80px) -50%;
  }
}
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.scroll-hint__line { position: relative; width: 1px; height: 44px; background: rgba(216, 189, 142, .3); overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold-400); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { translate: 0 -100%; } 100% { translate: 0 260%; } }

.space-intro__caption {
  position: absolute;
  z-index: 2;
  left: var(--edge);
  right: var(--edge);
  bottom: clamp(40px, 9vh, 96px);
  opacity: calc((var(--pe) - .7) * 3.4);
  translate: 0 calc((1 - var(--pe)) * 60px);
  color: var(--bone);
}
.space-intro__big {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 4.25rem);
  font-weight: 330;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.space-intro__big em { color: var(--gold-300); }
.space-intro__small { margin-top: 14px; max-width: 46ch; color: rgba(245, 239, 230, .85); }

/* Galeria pozioma */
.hg { position: relative; }
.hg__sticky { padding-block: var(--section-y); }
.hg.is-pinned .hg__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--nav-h) 0;
  overflow: hidden;
}
.hg__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4.5vh, 52px); }
.hg__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 340; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.1; }
.hg__title em { color: var(--gold-400); }
.hg__progress { display: none; align-items: center; gap: 18px; font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.hg.is-pinned .hg__progress { display: flex; }
.hg__count span:first-child { color: var(--bone); }
.hg__bar { position: relative; width: 140px; height: 1px; background: var(--line-strong); overflow: hidden; }
.hg__bar span { position: absolute; inset: 0; background: var(--gold-400); transform: scaleX(var(--hp, 0)); transform-origin: left; }

.hg__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 16px;
  padding-inline: var(--gutter);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
}
@media (min-width: 768px) { .hg__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; } }
@media (min-width: 1100px) { .hg__track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hg-item:nth-child(even) { margin-top: 40px; }
.hg.is-pinned .hg__track {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  width: max-content;
  max-width: none;
  margin: 0;
  padding-inline: var(--edge) var(--edge);
  will-change: transform;
}
.hg.is-pinned .hg-item { width: clamp(240px, min(23vw, 40svh), 380px); flex: none; }
.hg.is-pinned .hg-item:nth-child(even) { margin-top: 7svh; }

.hg-item__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-arch);
  background: var(--plum-800);
  overflow: hidden;
  cursor: zoom-in;
}
.hg-item__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.hg-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out), filter .6s;
}
.hg-item__btn:hover img { scale: 1.07; }
.hg-item__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(216, 189, 142, .0);
  transition: box-shadow .5s;
  pointer-events: none;
}
.hg-item__btn { position: relative; }
.hg-item__btn:hover::after { box-shadow: inset 0 0 0 1px rgba(216, 189, 142, .5); }
.hg-item__cap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin-top: 18px; }
.hg-item__num { padding-top: .35em; font-size: .6875rem; font-weight: 600; font-stretch: 120%; letter-spacing: .14em; color: var(--gold-400); }
.hg-item__title { font-size: 1.0625rem; font-weight: 500; font-stretch: 112%; letter-spacing: -.005em; }
.hg-item__cap p { grid-column: 2; font-size: .875rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 599px) {
  .hg-item__cap { grid-template-columns: minmax(0, 1fr); }
  .hg-item__cap p { grid-column: 1; font-size: .8125rem; }
  .hg-item__num { padding-top: 0; }
}

/* ==========================================================================
   CENNIK
   ========================================================================== */
.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: end; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(68px, 7vw, 92px) clamp(24px, 2.6vw, 40px) clamp(28px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 50% 50% var(--r-lg) var(--r-lg) / 130px 130px var(--r-lg) var(--r-lg);
  background: var(--paper);
  transition: translate var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.plan:hover { translate: 0 -6px; box-shadow: var(--shadow-2); }
.plan__name {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.plan__price { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-top: 14px; }
.plan__amount {
  font-family: var(--font-accent);
  font-size: clamp(2.6rem, 2.2rem + 1.3vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.plan__cur { font-size: 1rem; font-weight: 500; font-stretch: 110%; }
.plan__per { margin-top: 8px; text-align: center; font-size: .875rem; color: var(--muted); }
.plan__list {
  display: grid;
  gap: 12px;
  margin: 32px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}
.plan__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.plan__list .i { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-500); }
.plan .btn { width: 100%; justify-content: space-between; margin-top: auto; }

.plan--featured {
  --fg: var(--bone);
  --muted: rgba(245, 239, 230, .72);
  --line: rgba(245, 239, 230, .14);
  --line-strong: rgba(245, 239, 230, .3);
  border-color: transparent;
  background: var(--plum-900);
  color: var(--bone);
  box-shadow: var(--shadow-3);
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(216, 189, 142, .35);
  border-radius: 50% 50% 18px 18px / 122px 122px 18px 18px;
  pointer-events: none;
}
.plan--featured .plan__name { color: var(--gold-400); }
.plan--featured .plan__list .i { color: var(--gold-400); }
@media (min-width: 960px) { .plan--featured { padding-top: clamp(92px, 8vw, 116px); } }
.plan__badge {
  position: absolute;
  top: 34px;
  left: 50%;
  translate: -50% 0;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--gold-400);
  color: var(--plum-950);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 959px) { .plan__badge { top: 26px; } .plan--featured { padding-top: 96px; } }

.extras {
  display: grid;
  gap: 8px 72px;
  margin-top: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) { .extras { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; } }
.extras__title { padding-top: 18px; font-size: 1.25rem; font-weight: 400; font-stretch: 110%; letter-spacing: -.01em; }
.extras__list { display: grid; gap: 0 48px; }
@media (min-width: 640px) { .extras__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.extra { display: flex; align-items: baseline; gap: 12px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.extra__name { font-size: .9375rem; }
.extra__leader { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--line-strong); translate: 0 -4px; }
.extra__price { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ==========================================================================
   PIERWSZA WIZYTA + FAQ
   ========================================================================== */
.first { background: var(--bone-2); }
.first .h2 { margin-top: 18px; }
.first .section-intro { margin-top: 20px; }
.first__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .first__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(64px, 8vw, 128px); } }

.steps { position: relative; display: grid; gap: 30px; margin-top: 44px; }
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: 21px; top: 22px; bottom: 22px;
  width: 1px;
  background: var(--line-strong);
}
.steps::after {
  background: var(--gold-500);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease-in-out) .3s;
}
.steps.is-in::after { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; }
.step__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bone-2);
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: .06em;
  transition: background-color .6s, color .6s, border-color .6s;
}
.steps.is-in .step__n { background: var(--plum-700); border-color: var(--plum-700); color: var(--gold-300); }
.steps.is-in .step:nth-child(1) .step__n { transition-delay: .3s; }
.steps.is-in .step:nth-child(2) .step__n { transition-delay: 1s; }
.steps.is-in .step:nth-child(3) .step__n { transition-delay: 1.7s; }
.step h3 { margin: 8px 0 6px; font-size: 1.125rem; font-weight: 500; font-stretch: 110%; letter-spacing: -.01em; }
.step p { font-size: .9375rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line-strong); align-self: start; }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__h { font: inherit; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  font-weight: 450;
  font-stretch: 106%;
  letter-spacing: -.01em;
  line-height: 1.35;
}
.faq__icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color var(--dur-3), border-color var(--dur-3), color var(--dur-3);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  margin: -.75px 0 0 -7px;
  border-radius: 2px;
  background: currentColor;
  transition: rotate var(--dur-3) var(--ease-out);
}
.faq__icon::after { rotate: 90deg; }
.faq__q:hover .faq__icon { border-color: var(--ink); }
.faq__item.is-open .faq__icon { background: var(--plum-700); border-color: var(--plum-700); color: var(--bone); }
.faq__item.is-open .faq__icon::after { rotate: 0deg; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { max-width: 62ch; padding: 0 64px 26px 0; color: var(--muted); }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 112px); align-items: start; } }
.contact .h2 { margin-top: 18px; }

.info { margin-top: 40px; border-top: 1px solid var(--line); }
.info__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.info__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold-400); }
.info__icon .i { width: 18px; height: 18px; }
.info__k { font-size: .6875rem; font-weight: 600; font-stretch: 120%; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.info__v { margin-top: 4px; font-size: 1.0625rem; line-height: 1.5; }
.info__v a { transition: color var(--dur-2); }
.info__v a:hover { color: var(--gold-300); }
.hours { display: grid; gap: 4px; margin-top: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.hours dt { color: var(--muted); }
.hours dd { font-variant-numeric: tabular-nums; }

.map { margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; }
.map__bg { fill: #2F1734; }
.map__park { fill: #3A2240; }
.map__river { fill: none; stroke: #4A2A52; stroke-width: 22; stroke-linecap: round; }
.map__road { fill: none; stroke: rgba(245, 239, 230, .1); stroke-width: 5; stroke-linecap: round; }
.map__road--main { stroke: rgba(245, 239, 230, .18); stroke-width: 10; }
.map__marker { fill: var(--gold-400); }
.map__dot { fill: var(--plum-900); }
.map__pulse { fill: none; stroke: var(--gold-400); stroke-width: 1.5; transform-origin: 284px 128px; animation: mapPulse 2.8s var(--ease-out) infinite; }
.map__pulse--2 { animation-delay: 1.4s; }
@keyframes mapPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }
.map__label rect { fill: var(--bone); }
.map__label text { font-family: var(--font-sans); font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .14em; fill: var(--plum-900); }
.map__label .map__label-sub { font-size: 11px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; fill: var(--ink-soft); }
.map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 20px;
  background: var(--plum-850);
  font-size: .875rem;
  color: var(--muted);
}

/* Formularz */
.form-card {
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --line: rgba(34, 20, 36, .12);
  --line-strong: rgba(34, 20, 36, .24);
  --focus: var(--plum-600);
  position: relative;
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-3);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.form-card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 380; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.15; }
.form-card__title:focus { outline: none; }
.form-card__sub { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.req { color: var(--plum-600); }

.booking-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 8px 10px 16px;
  border-radius: var(--r-md);
  background: var(--lilac-100);
  font-size: .9375rem;
  animation: noteIn .6s var(--ease-out);
}
.booking-note[hidden] { display: none; }
.booking-note > .i { color: var(--plum-700); }
.booking-note__k { color: var(--muted); }
.booking-note__clear { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.booking-note__clear:hover { background: rgba(79, 42, 87, .1); color: var(--ink); }
@keyframes noteIn { from { opacity: 0; translate: 0 -8px; } }

.form { margin-top: 28px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field--full { grid-column: 1 / -1; }
.field > label:not(.check) { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 500; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.input::placeholder { color: #8E808F; }
.input:hover { border-color: rgba(34, 20, 36, .42); }
.input:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 4px rgba(107, 63, 116, .16); }
textarea.input { min-height: 128px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221424' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
  cursor: pointer;
}
.field.has-error .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(163, 58, 58, .1); }
.field__hint { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.field__error { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8125rem; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
.field__error .i { width: 16px; height: 16px; }

.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .875rem; color: var(--muted); cursor: pointer; }
.check input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: background-color var(--dur-2), border-color var(--dur-2);
}
.check input::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border: solid var(--bone);
  border-width: 0 2px 2px 0;
  rotate: 45deg;
  scale: 0;
  transition: scale var(--dur-2) var(--ease-out);
}
.check input:checked { background: var(--plum-700); border-color: var(--plum-700); }
.check input:checked::after { scale: 1; }
.check input:focus-visible { outline: 2px solid var(--plum-600); outline-offset: 3px; }
.field.has-error .check input { border-color: var(--danger); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot__note { font-size: .875rem; color: var(--muted); }

.form-success { display: grid; justify-items: center; gap: 12px; padding: 40px 8px; text-align: center; }
.form-success[hidden] { display: none; }
.form-success .form-card__sub { max-width: 40ch; margin-bottom: 18px; }
.form-success__icon { width: 72px; height: 72px; fill: none; stroke: var(--gold-500); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.form-success__icon path { animation: drawIn 1.2s var(--ease-in-out) backwards; }
.form-success__icon path:nth-child(2) { animation-delay: .3s; }
.form-success__icon path:nth-child(3) { stroke: var(--plum-700); stroke-width: 2; animation-delay: .7s; }

/* ==========================================================================
   STOPKA
   ========================================================================== */
.footer {
  background: var(--plum-950);
  color: rgba(245, 239, 230, .78);
  padding: clamp(64px, 8vw, 112px) 0 calc(32px + env(safe-area-inset-bottom));
  font-size: .9375rem;
}
.footer__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(245, 239, 230, .12); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 96px; } }
.brand--light { color: var(--bone); }
.brand--light .brand__mark circle { fill: var(--gold-400); }
.footer__tag { max-width: 34ch; margin-top: 24px; font-size: 1.0625rem; color: rgba(245, 239, 230, .78); }
.footer__tag em { color: var(--gold-400); }
.footer__cols { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__k { margin-bottom: 16px; font-size: .6875rem; font-weight: 600; font-stretch: 120%; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.footer__cols ul { display: grid; gap: 4px; }
.footer__cols li { padding-block: 3px; overflow-wrap: anywhere; }
.footer__cols a { display: inline-flex; align-items: center; gap: 10px; padding-block: 3px; transition: color var(--dur-2); }
.footer__cols a:hover { color: var(--gold-300); }
.footer__social .i { width: 18px; height: 18px; color: var(--gold-400); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  font-size: .8125rem;
  color: rgba(245, 239, 230, .62);
}
.footer__bottom p { margin-right: auto; }
.to-top { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; color: var(--gold-300); }
.to-top .i { width: 16px; height: 16px; transition: translate var(--dur-3) var(--ease-out); }
.to-top:hover .i { translate: 0 -3px; }
@media (max-width: 1023px) { .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   MOBILNY CTA
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: var(--z-sticky);
  translate: 0 calc(100% + 32px);
  visibility: hidden;
  transition: translate .6s var(--ease-out), visibility 0s .6s;
}
.mobile-cta.is-visible { translate: 0 0; visibility: visible; transition: translate .6s var(--ease-out), visibility 0s; }
.mobile-cta .btn { width: 100%; justify-content: space-between; box-shadow: 0 20px 40px -12px rgba(43, 21, 48, .55); }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ==========================================================================
   MODAL ZAJĘĆ
   ========================================================================== */
dialog { padding: 0; border: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
.modal { width: min(940px, calc(100vw - 48px)); margin: auto; overflow: visible; }
.modal::backdrop { background: rgba(26, 12, 29, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open]::backdrop { animation: fadeIn0 .4s ease both; }
.modal.is-closing::backdrop { animation: fadeOut .25s ease forwards; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn0 { from { opacity: 0; } }

.modal__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-xl);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
}
@media (min-width: 768px) { .modal__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.modal[open] .modal__inner { animation: modalIn .6s var(--ease-out) both; }
.modal.is-closing .modal__inner { animation: modalOut .24s ease-in forwards; }
@keyframes modalIn { from { opacity: 0; transform: scale(.9) translateY(14px); } }
@keyframes modalOut { to { opacity: 0; transform: scale(.96) translateY(8px); } }

.modal__media { position: relative; height: 200px; overflow: hidden; background: var(--bone-2); }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
@media (min-width: 768px) {
  .modal__media { height: auto; min-height: 460px; border-radius: var(--r-xl) 0 0 var(--r-xl); }
}
.modal__body { display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 44px); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251, 248, 243, .92);
  color: var(--ink);
  transition: background-color var(--dur-2), rotate var(--dur-3) var(--ease-out);
}
.modal__close:hover { background: var(--bone-2); rotate: 90deg; }
.modal__type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c, var(--plum-700));
}
.modal__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.modal__title { margin-top: 12px; padding-right: 40px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 360; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.08; }
.modal__desc { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.modal__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 26px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
}
.modal__facts div { min-width: 0; }
.modal__facts dt { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; color: var(--muted); }
.modal__facts dt .i { width: 14px; height: 14px; color: var(--gold-500); }
.modal__facts dd { margin-top: 3px; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.modal__spots { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; font-size: .875rem; }
.modal__spots .dots i { width: 8px; height: 8px; }
.modal__spots strong { font-weight: 600; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.modal__actions .btn--ghost { gap: 10px; }
.modal__actions .btn--ghost .i { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .modal { width: 100%; margin: auto 0 0; }
  .modal__inner { max-height: 92dvh; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .modal[open] .modal__inner { animation: sheetIn .55s var(--ease-out) both; }
  .modal.is-closing .modal__inner { animation: sheetOut .25s ease-in forwards; }
  .modal__actions .btn { flex: 1 1 auto; }
}
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { width: 100vw; height: 100dvh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 9, 22, .94); }
.lightbox[open]::backdrop { animation: fadeIn0 .35s ease both; }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 72px 16px 24px; }
@media (min-width: 768px) { .lightbox__inner { padding: 64px 112px 32px; } }
.lightbox__figure { display: grid; justify-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  transition: opacity .3s, scale .5s var(--ease-out);
}
.lightbox__figure img.is-swapping { opacity: 0; scale: .97; }
.lightbox__figure figcaption { display: grid; justify-items: center; gap: 2px; text-align: center; color: rgba(245, 239, 230, .78); font-size: .9375rem; max-width: 52ch; }
.lightbox__figure strong { color: var(--bone); font-size: 1.125rem; font-weight: 500; font-stretch: 110%; }
.lightbox__count { font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-400); font-variant-numeric: tabular-nums; }
.lightbox__btn, .lightbox__close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(245, 239, 230, .25);
  border-radius: 50%;
  background: rgba(43, 21, 48, .6);
  color: var(--bone);
  transition: background-color var(--dur-2), border-color var(--dur-2);
}
.lightbox__btn:hover, .lightbox__close:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--plum-950); }
.lightbox__btn--prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox--open-anim .lightbox__figure { animation: modalIn .55s var(--ease-out) both; }
@media (max-width: 767px) {
  .lightbox__btn { top: auto; bottom: 20px; translate: none; }
  .lightbox__btn--prev { left: calc(50% - 64px); }
  .lightbox__btn--next { right: calc(50% - 64px); }
  .lightbox__inner { padding-bottom: 92px; }
  .lightbox__figure img { max-height: calc(100dvh - 260px); }
}

/* ==========================================================================
   Ograniczony ruch
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-hero] { opacity: 1; translate: none; }
  .js [data-split] .w__i { transform: none; }
  .js .about__media .about__arch, .js .about__media .about__frame, .js .about__media .about__circle { clip-path: none; opacity: 1; scale: 1; }
  .breath__dot { transform: scale(.7); }
  .breath__words span:last-child { display: none; }
  .space-intro { height: auto; }
  .space-intro__sticky { --pe: 1; position: relative; height: 100svh; min-height: 560px; }
  .space-intro__left { top: calc(var(--nav-h) + 24px); left: var(--edge); right: var(--edge); width: auto; opacity: 1; translate: none; }
  .space-intro__right, .space-intro__frame { display: none; }
  .space-intro__caption { opacity: 1; translate: none; }
  .space-intro__shade { opacity: 1; background: linear-gradient(180deg, rgba(26, 12, 29, .78), rgba(26, 12, 29, .15) 45%, rgba(26, 12, 29, .85)); }
}
