/* =============================================================================
   Story of Hair: style strony.
   TOKENY (kolory, fonty) sa tylko tutaj, w :root. Zmiana koloru = zmiana jednej
   wartosci. Paleta wzieta ze zdjec salonu: ciepla biel scian, bez tynku lukow,
   dab blatu, mosiadz lamp i logo, ciepla czern napisu.
   ========================================================================== */

/* ---------------------------------------------------------------- fonty -- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-400-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext-400-normal.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: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-400-italic.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: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext-400-italic.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: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-500-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-garamond-latin-ext-500-normal.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: "Jost"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/jost-latin-300-normal.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: "Jost"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/jost-latin-ext-300-normal.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: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/jost-latin-400-normal.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: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/jost-latin-ext-400-normal.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: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/jost-latin-500-normal.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: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/jost-latin-ext-500-normal.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; }

/* --------------------------------------------------------------- TOKENY -- */
/* Kolory nazwane wg ROLI. Motyw jasny w :root, ciemny w [data-theme="dark"] nizej.
   Paleta ze zdjec salonu: ciepla biel scian, bez tynku lukow, mosiadz lamp, ciepla czern. */
:root {
  --bg:           #F7F2EC;  /* tlo strony: ciepla biel scian                  */
  --bg-rgb:       247 242 236; /* to samo tlo jako RGB (do przezroczystosci)  */
  --bg-alt:       #EEE5DA;  /* tlo sekcji i stopki: bez tynku lukow           */
  --line:         #DCCBB6;  /* linie, obramowania                             */
  --gold:         #C3A06A;  /* mosiadz: linie lukow, dekoracje                */
  --accent:       #8A6837;  /* przyciski i akcenty tekstu (kontrast)          */
  --accent-hover: #765829;
  --on-accent:    #FBF7F2;  /* tekst na przycisku                             */
  --ink:          #2B2420;  /* tekst glowny                                   */
  --ink-soft:     #6B5D52;  /* tekst drugorzedny                              */
  --band:         #2B2420;  /* ciemny pas (rezerwacja), komunikaty            */
  --light:        #FBF7F2;  /* tekst na ciemnym pasie i na wideo (stale jasny) */
  --dark:         #2B2420;  /* tekst na zlotym przycisku (stale ciemny)        */
  --field:        #FFFDF9;  /* pola formularza, karty wyboru                  */
  --field-line:   #CDBBA5;
  --notice:       #F3E6CF;  /* tlo komunikatow (np. wersja testowa)           */
  --error:        #A4462F;
  color-scheme: light;

  /* Fonty */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-text:    "Jost", "Futura", system-ui, sans-serif;

  /* Mapowanie na tokeny silnika scroll-craft */
  --sc-canvas: var(--bg);
  --sc-surface: var(--bg-alt);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--accent);
  --sc-accent-ink: var(--on-accent);
  --sc-font-display: var(--font-display);
  --sc-font-text: var(--font-text);
  --sc-shadow-color: 28 30% 18%;

  --bar-h: 4.25rem;
  --radius: 4px;              /* jedna skala zaokraglen: przyciski i karty */
  --arch: 999px 999px 0 0;    /* luk */
}

/* Motyw ciemny: wieczorny salon, ciepla czern i mosiadz. */
:root[data-theme="dark"] {
  --bg:           #1C1715;
  --bg-rgb:       28 23 21;
  --bg-alt:       #26201C;
  --line:         #4A3E35;
  --gold:         #C9A56D;
  --accent:       #D2B07A;
  --accent-hover: #E0C391;
  --on-accent:    #1C1715;
  --ink:          #F2EAE0;
  --ink-soft:     #BDAC9B;
  --band:         #120E0C;
  --field:        #231D19;
  --field-line:   #5A4C41;
  --notice:       #3A2E21;
  --error:        #EC9A82;
  --sc-shadow-color: 20 30% 4%;
  color-scheme: dark;
}
html { transition: background-color 300ms var(--sc-ease-out, ease-out); }

/* --------------------------------------------------------------- baza -- */
body { font-weight: 400; background: var(--bg); font-variant-numeric: lining-nums; }
::selection { background: var(--gold); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--band); color: var(--light);
  padding: .6rem 1rem; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[id] { scroll-margin-top: calc(var(--bar-h) + 1rem); }

.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.3rem, 1.7rem + 2.8vw, 4rem);
  line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; margin: 0;
}
.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; margin: 0; }

/* -------------------------------------------------------------- przyciski -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3rem; padding: .7rem 1.5rem;
  font: 500 .82rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out),
              border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.1rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-hover); }
  .btn--ghost:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
}
.link-arrow {
  font: 500 .82rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; display: inline-flex; gap: .6em; align-items: center;
  padding-block: .6rem; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform 160ms var(--sc-ease-out); }
@media (hover: hover) { .link-arrow:hover::after { transform: translateX(4px); } }

/* ------------------------------------------------------------------ logo -- */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; color: inherit; }
.brand__logo { width: clamp(8.5rem, 7rem + 4vw, 9.5rem); height: auto; }
.brand__logo--dark { display: none; }
.bar.is-solid .brand__logo--light, .bar.is-open .brand__logo--light,
.page-simple .brand__logo--light { display: none; }
.bar.is-solid .brand__logo--dark, .bar.is-open .brand__logo--dark,
.page-simple .brand__logo--dark { display: block; }
@media (min-width: 960px) {
  .brand__logo--light { display: none; }
  .brand__logo--dark { display: block; }
}
/* W ciemnym motywie logo zawsze jasne. */
:root[data-theme="dark"] .brand__logo--dark { display: none !important; }
:root[data-theme="dark"] .brand__logo--light { display: block !important; }

/* Przelacznik motywu jasny / ciemny */
.theme-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: 50%;
  transition: background-color 160ms var(--sc-ease-out);
}
.theme-btn .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.theme-btn .icon--sun, :root[data-theme="dark"] .theme-btn .icon--moon { display: none; }
:root[data-theme="dark"] .theme-btn .icon--sun { display: block; }
@media (hover: hover) { .theme-btn:hover { background: color-mix(in oklab, currentColor 10%, transparent); } }
@media (min-width: 960px) { .bar .theme-btn { order: 3; margin-left: .5rem; } }
.brand__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: .01em; }
.brand__name i { font-style: italic; color: var(--gold); font-size: .82em; padding-inline: .05em; }
.brand__sub { font: 400 .52rem/1 var(--font-text); letter-spacing: .32em; text-transform: uppercase; margin-top: .35rem; padding-left: .32em; }

/* ------------------------------------------------------------- nawigacja -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--light);
  transition: background-color 240ms var(--sc-ease-out), color 240ms var(--sc-ease-out), box-shadow 240ms var(--sc-ease-out);
}
.bar__inner {
  height: var(--bar-h); display: flex; align-items: center; gap: 1rem;
  padding-inline: max(var(--sc-gutter), env(safe-area-inset-left));
  max-width: 96rem; margin-inline: auto;
}
.bar .brand { margin-right: auto; }
.bar.is-solid, .bar.is-open {
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  color: var(--ink);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 10%, transparent);
}
.bar__cta { display: none; }
.burger {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: var(--radius);
}
.burger .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.4; }
.burger .icon--close, .burger[aria-expanded="true"] .icon--menu { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

.nav { display: none; }
.bar.is-open .nav {
  display: flex; flex-direction: column; justify-content: space-between;
  position: fixed; inset: var(--bar-h) 0 0 0; background: var(--bg); color: var(--ink);
  padding: 2rem var(--sc-gutter) max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto; animation: menu-in 260ms var(--sc-ease-out);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: .7rem 0; text-decoration: none;
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.nav__mobile-extra { display: grid; gap: .75rem; margin-top: 2rem; }

@media (min-width: 960px) {
  .burger, .nav__mobile-extra { display: none; }
  .bar { color: var(--ink); }
  .nav { display: block; }
  .nav__list { display: flex; gap: 2.2rem; }
  .nav__list a {
    font: 400 .8rem/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase;
    padding: .5rem 0; border: 0; position: relative;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--sc-ease-out);
  }
  .nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }
  .bar__cta { display: inline-flex; margin-left: 1.5rem; }
}

/* ================================================================== HERO == */
/* Telefon (domyslnie): wideo na caly ekran, tekst na dole na ciemnym gradiencie. */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 34rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--light); overflow: clip; isolation: isolate; background: #3a322c;
}
.hero__ambient { display: none; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__arch { position: absolute; inset: 0; overflow: hidden; }
.hero__arch picture, .hero__poster, .hero__arch .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 600ms var(--sc-ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__arch-line { display: none; }

/* Scrim tylko tam, gdzie jest tekst: gora pod menu, dol pod tytulem. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(30 24 20 / .55) 0, rgb(30 24 20 / 0) 22%),
    linear-gradient(to top, rgb(30 24 20 / .88) 0, rgb(30 24 20 / .62) 34%, rgb(30 24 20 / 0) 64%);
}
.hero__copy {
  padding: 0 var(--sc-gutter) max(2.5rem, calc(env(safe-area-inset-bottom) + 1.5rem));
  max-width: 40rem;
}
.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.7rem, 1.9rem + 4.2vw, 5.4rem); line-height: 1; letter-spacing: -0.012em;
}
/* Kazda fraza w jednej linii: "Twoje wlosy," / "Twoja historia". */
.hero__line { display: block; white-space: nowrap; }
.hero__title em { font-style: italic; font-weight: 400; }
/* Hover na naglowku: litery blisko kursora unosza sie i zloca (--f z site.js),
   pod "Twoja historia" rysuje sie cienka zlota linia. Tylko mysz. */
.hero__word { display: inline-block; white-space: nowrap; }
.hero__char {
  display: inline-block;
  transform: translate3d(0, calc(var(--f, 0) * -0.09em), 0);
  color: color-mix(in oklab, currentColor calc(100% - var(--f, 0) * 70%), var(--gold));
  transition: transform 420ms var(--sc-ease-out), color 420ms var(--sc-ease-out);
}
.hero__title em.hero__line { position: relative; width: max-content; }
.hero__title em.hero__line::after {
  content: ""; position: absolute; left: .04em; right: .1em; bottom: -.04em; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero__title:hover em.hero__line::after { transform: scaleX(1); }
}
.hero__lede { margin: 1.1rem 0 0; max-width: 34ch; font-size: 1.05rem; line-height: 1.55; color: color-mix(in oklab, var(--light) 90%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__actions .btn { flex: 1 1 10rem; }

.hero__pause {
  position: absolute; right: var(--sc-gutter); top: calc(var(--bar-h) + .75rem); z-index: 5;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid color-mix(in oklab, var(--light) 55%, transparent);
  background: rgb(30 24 20 / .3); color: var(--light);
}
.hero__pause .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.hero__pause .icon--play { display: none; fill: currentColor; }
.hero__pause[aria-pressed="true"] .icon--play { display: block; }
.hero__pause[aria-pressed="true"] .icon--pause { display: none; }

/* Wejscie tresci hero po zaladowaniu (tylko opacity + lekki ruch). */
.hero__line, .hero__lede, .hero__actions { animation: rise 900ms var(--sc-ease-out) both; }
.hero__line + .hero__line { animation-delay: 90ms; }
.hero__lede { animation-delay: 180ms; }
.hero__actions { animation-delay: 260ms; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Telefon i tablet: nagłówek u gory pod menu, przyciski na samym dole.
   Napis z rolki (dolna czesc kadru) zostaje widoczny miedzy nimi, nic na niego nie nachodzi. */
@media (max-width: 959px) {
  .hero__copy {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding-top: calc(var(--bar-h) + 1.1rem); max-width: none;
  }
  .hero__title {
    font-size: clamp(2.05rem, 1.55rem + 2.4vw, 3.1rem); line-height: 1.04;
    text-shadow: 0 1px 22px rgb(30 24 20 / .35);
  }
  .hero__actions { margin-top: 0; }
  /* Przyciski zawsze w jednym rzedzie i nisko: napis z rolki konczy sie na ok. 88% wysokosci ekranu. */
  .hero__copy { padding-bottom: max(1.1rem, calc(env(safe-area-inset-bottom) + .6rem)); }
  .hero__actions { flex-wrap: nowrap; gap: .6rem; }
  .hero__actions .btn { flex: 1 1 0; min-height: 2.9rem; padding-inline: .5rem; letter-spacing: .1em; font-size: .76rem; }
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgb(30 24 20 / .62) 0, rgb(30 24 20 / .34) 20%, rgb(30 24 20 / 0) 38%),
      linear-gradient(to top, rgb(30 24 20 / .7) 0, rgb(30 24 20 / .3) 12%, rgb(30 24 20 / 0) 22%);
  }
  /* Ekrany szersze niz kadr (tablety): wideo zakotwiczone do dolu, napis z rolki ladnie nad przyciskami. */
  @media (min-aspect-ratio: 5/8) {
    .hero__arch picture img, .hero__poster, .hero__arch .hero__video { object-position: 50% 100%; }
  }
  /* Telefony (wezsze niz kadr): kadr lekko w lewo, zeby napis z rolki zaczynal sie przy lewym marginesie. */
  @media (max-aspect-ratio: 5/8) {
    .hero__arch picture img, .hero__poster, .hero__arch .hero__video { object-position: 30% 50%; }
  }
}

/* Komputer: tekst po lewej na jasnym, rozmytym swietle; wideo w oknie-luku po prawej. */
@media (min-width: 960px) {
  .hero {
    color: var(--ink); background: var(--bg-alt);
    /* Tekst i luk jako jedna, wysrodkowana para: wieksze marginesy po bokach, wideo blisko opisu. */
    display: grid; grid-template-columns: minmax(0, 34rem) auto; justify-content: center; align-items: center;
    column-gap: clamp(5rem, 7vw, 8rem);
    padding: calc(var(--bar-h) + 2rem) clamp(3rem, 9vw, 11rem) 3rem;
    max-width: none;
  }
  .hero__ambient { display: block; position: absolute; inset: 0; z-index: -3; overflow: hidden; }
  .hero__ambient img, .hero__ambient video {
    position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; filter: saturate(.9);
  }
  .hero__ambient::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgb(var(--bg-rgb) / .9) 0%, rgb(var(--bg-rgb) / .78) 45%, rgb(var(--bg-rgb) / .45) 100%),
      linear-gradient(to bottom, rgb(var(--bg-rgb) / .5), rgb(var(--bg-rgb) / 0) 30%);
  }
  .hero__scrim { display: none; }
  .hero__copy { grid-column: 1; grid-row: 1; padding: 0; max-width: 34rem; }
  .hero__lede { color: var(--ink-soft); }
  /* Blok tekstu ma dokladnie szerokosc napisu; przyciski (rownej szerokosci) wypelniaja ja symetrycznie.
     width:0 + min-width:100% sprawia, ze przyciski nie poszerzaja bloku. */
  .hero { grid-template-columns: auto auto; }
  .hero__copy { width: max-content; max-width: 34rem; }
  .hero__actions { width: 0; min-width: 100%; flex-wrap: nowrap; gap: 1rem; }
  .hero__actions .btn { flex: 1 1 0; padding-inline: .8rem; }

  .hero__media {
    position: relative; inset: auto; z-index: 1; grid-column: 2; grid-row: 1;
    justify-self: center; height: auto;
    width: min(34vw, calc((100svh - var(--bar-h) - 4rem) * 0.625), 36rem);
    aspect-ratio: 900 / 1440;
  }
  .hero__title { font-size: clamp(3rem, 1rem + 4.5vw, 5.4rem); }
  .hero__arch {
    border-radius: var(--arch); background: var(--line);
    box-shadow: 0 30px 60px -30px hsl(var(--sc-shadow-color) / .45), 0 12px 24px -16px hsl(var(--sc-shadow-color) / .3);
  }
  .hero__arch-line {
    display: block; position: absolute; inset: -14px -14px 2.5rem; border: 1px solid var(--gold);
    border-bottom: 0; border-radius: var(--arch); pointer-events: none;
  }

  .hero__pause {
    top: auto; bottom: 1.5rem; right: var(--sc-gutter);
    border-color: color-mix(in oklab, var(--ink) 35%, transparent); background: rgb(var(--bg-rgb) / .7); color: var(--ink);
  }
}


/* Paralaksa hero na CSS scroll-timeline: dziala na watku kompozytora, zero JS.
   Przegladarki bez wsparcia po prostu jej nie pokaza. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
    .hero__media { animation: hero-media linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    .hero__copy { animation: hero-copy linear both; animation-timeline: scroll(root); animation-range: 0 90svh; }
    @keyframes hero-media { to { transform: translateY(-9svh); } }
    @keyframes hero-copy { to { transform: translateY(6svh); opacity: .15; } }
  }
  @media (prefers-reduced-motion: no-preference) {
    /* Kadr wideo powoli sie oddala, gdy zjezdzasz z hero (telefon i komputer). */
    .hero__arch picture, .hero__arch .hero__video { animation: hero-zoom linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes hero-zoom { from { scale: 1.06; } to { scale: 1; } }
  }
  @media (prefers-reduced-motion: no-preference) and (max-width: 959px) {
    /* Telefon: tekst w hero lekko odplywa i wygasa przy przewijaniu. */
    .hero__copy { animation: hero-copy-m linear both; animation-timeline: scroll(root); animation-range: 0 80svh; }
    @keyframes hero-copy-m { to { transform: translateY(-8svh); opacity: 0; } }
  }
}

/* Pasek postepu przewijania pod menu (silnik scroll-craft, cienki i zloty). */
.scroll-progress[data-sc-progress] { top: 0; height: 2px; background: var(--gold); z-index: 61; opacity: .9; }

/* ================================================================ ZESPOL == */
.team { padding-block: var(--sc-section); }
.team__head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.team__grid { display: grid; gap: clamp(3.5rem, 9vw, 5rem); }

.member { display: grid; gap: 1.6rem; }
.member__frame {
  position: relative; margin: 0; aspect-ratio: 4 / 5.4;
  width: min(100%, 26rem); justify-self: center;
}
.member__frame picture {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--arch); background: var(--bg-alt);
}
.member__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  /* przewijanie (--sc-p) + kursor (--mx/--my, warstwa "z tylu") */
  transform: translate3d(calc(var(--mx, 0) * -12px), calc((var(--sc-p, .5) - .5) * -5% + var(--my, 0) * -12px), 0) scale(1.1);
  will-change: transform;
}

/* ------------------------------------------------ ruch zdjec: zespol, rezerwacja --
   1) Ken Burns: bardzo powolne "oddychanie" kadru (wszedzie).
   2) Glebia za kursorem: ramka sie przechyla, zdjecie i zlota linia ida w przeciwne strony.
   3) Dotyk: lekkie unoszenie ramki. Wszystko wylaczone przy ograniczonym ruchu. */
@media (prefers-reduced-motion: no-preference) {
  .member__frame img, .book__photo img { animation: breathe 16s ease-in-out infinite alternate; }
  .member--mid .member__frame img { animation-delay: -5s; }
  .member--late .member__frame img { animation-delay: -10s; }
  @keyframes breathe { from { scale: 1; } to { scale: 1.06; } }

  [data-depth] {
    transform: perspective(1100px) rotateY(calc(var(--mx, 0) * 6deg)) rotateX(calc(var(--my, 0) * -5deg));
    transform-style: preserve-3d;
  }
  .member__line { transform: translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 10px), 40px); }

  /* Hover: zdjecie lekko sie powieksza (wlasciwosc "scale" sklada sie z przechyleniem). */
  @media (hover: hover) and (pointer: fine) {
    .member__frame { transition: scale 600ms var(--sc-ease-out); }
    .member__frame:hover { scale: 1.045; }
  }

  @media (hover: none), (pointer: coarse) {
    .member__frame, .book__photo { animation: float 7s ease-in-out infinite alternate; }
    .member--mid .member__frame { animation-delay: -2.5s; }
    .member--late .member__frame { animation-delay: -5s; }
    @keyframes float { from { translate: 0 0; rotate: -0.4deg; } to { translate: 0 -8px; rotate: 0.4deg; } }
  }
}
/* Efekt charakterystyczny: zlota linia luku (jak podswietlenie LED polek w salonie)
   rysuje sie od dolu do szczytu, napedzana postepem przewijania --sc-p. */
.member__line {
  position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 12px);
  overflow: visible; pointer-events: none;
}
.member__line path {
  /* Bez vector-effect: non-scaling-stroke, bo psuje kreskowanie z pathLength.
     viewBox (100x130) ma proporcje zblizone do ramki, wiec linia sie nie znieksztalca. */
  fill: none; stroke: var(--gold); stroke-width: .38;
  stroke-dasharray: 1 1;
  stroke-dashoffset: clamp(0, calc(1 - (var(--sc-p, 1) - .12) / .36), 1);
}
.member__text { display: grid; gap: .35rem; justify-items: center; text-align: center; max-width: 26rem; justify-self: center; }
.member__name { font: 500 clamp(2rem, 1.7rem + 1.2vw, 2.6rem)/1 var(--font-display); margin: 0; }
.member__role {
  margin: 0; font: 400 .74rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.member__bio { margin: .6rem 0 0; color: var(--ink-soft); line-height: 1.65; text-wrap: pretty; }

/* Trzy rowne zdjecia w jednym rzedzie (nikogo nie wyrozniamy). */
@media (min-width: 640px) {
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3.5vw, 4rem); align-items: start; }
  .member__frame { width: 100%; }
}
@media (min-width: 960px) {
  .team__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .member__text { justify-items: start; text-align: left; justify-self: start; }
}

/* ================================================================= MARKI == */
.brands { background: var(--bg-alt); padding-block: var(--sc-section); }
.brands__inner { display: grid; gap: 3rem; }
.brands__text { display: grid; gap: 1.25rem; align-content: center; }
.brands__list { list-style: none; margin: 1rem 0 .5rem; padding: 0; }
.brands__list li {
  font: 400 clamp(2.4rem, 1.8rem + 3vw, 4.4rem)/1.1 var(--font-display); letter-spacing: -0.01em;
  padding-block: .55rem; border-bottom: 1px solid var(--line);
}
.brands__list li:first-child { border-top: 1px solid var(--line); }
.brands__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.brands__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Polka: statyczne zdjecie. Pod kursorem cieple swiatlo podswietla butelki, reszta lekko przygasa.
   Wspolrzedne kursora (--sc-mx, --sc-my) podaje urzadzenie "spotlight" silnika scroll-craft;
   @property pozwala je plynnie animowac, wiec swiatlo podaza za myszka miekko. */
@property --sc-mx { syntax: "<number>"; inherits: true; initial-value: .5; }
@property --sc-my { syntax: "<number>"; inherits: true; initial-value: .5; }
.shelf-light { position: relative; isolation: isolate; transition: --sc-mx 280ms var(--sc-ease-out), --sc-my 280ms var(--sc-ease-out); }
.shelf-light::before, .shelf-light[data-sc-spotlight]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity 450ms var(--sc-ease-out);
}
/* przygaszenie wszystkiego poza swiatlem */
.shelf-light[data-sc-spotlight]::after {
  z-index: 2;
  background: radial-gradient(circle 10rem at calc(var(--sc-mx) * 100%) calc(var(--sc-my) * 100%),
    rgb(28 22 18 / 0) 0%, rgb(28 22 18 / 0) 45%, rgb(28 22 18 / .34) 100%);
}
/* cieple swiatlo na butelkach pod kursorem */
.shelf-light::before {
  z-index: 1; mix-blend-mode: soft-light;
  background: radial-gradient(circle 7rem at calc(var(--sc-mx) * 100%) calc(var(--sc-my) * 100%),
    rgb(255 236 200 / .85) 0%, rgb(255 236 200 / .35) 45%, rgb(255 236 200 / 0) 100%);
}
@media (hover: hover) and (pointer: fine) {
  .shelf-light:hover::before, .shelf-light[data-sc-spotlight]:hover::after { opacity: 1; }
}
/* Subtelny zoom w strone podswietlonego produktu: punkt przyblizenia podaza za kursorem. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .shelf-light img {
    transform-origin: calc(var(--sc-mx) * 100%) calc(var(--sc-my) * 100%);
    transition: transform 900ms var(--sc-ease-out);
  }
  .shelf-light:hover img { transform: scale(1.09); }
}/* Gdy okno zwezi sie ponizej 960 px po zaladowaniu na komputerze (np. widok telefonu w przegladarce),
   przypieta scena wraca do zwyklego przeplywu: nic nie jest przycinane, nazwy marek sa widoczne. */
@media (max-width: 959px) {
  .brands--pinned { height: auto !important; }
  .brands--pinned .brands__inner { position: static !important; height: auto !important; overflow: visible !important; }
  .brands--pinned [data-sc-cue], .brands--pinned .sc-split__i { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
}
/* Komputer: akt "pin" silnika scroll-craft (atrybuty dodaje site.js). */
@media (min-width: 960px) {
  .brands--pinned { padding-block: 0; }
  .brands--pinned .brands__inner {
    grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-content: center;
    padding-top: calc(var(--bar-h) + 1.5rem); padding-bottom: 2rem;
  }
  .brands--pinned .brands__photo {
    height: min(calc(100svh - var(--bar-h) - 5rem), 46rem); width: auto; aspect-ratio: 3 / 4; justify-self: end;
  }
  .brands--pinned .brands__list li { will-change: opacity, transform; }
  /* Wygladzenie: silnik ustawia wartosci z przewijania, przejscie zmiekcza skoki kolka myszy. */
  .brands--pinned .brands__list .sc-split__i,
  .brands--pinned .brands__text [data-sc-cue] { transition: opacity 650ms var(--sc-ease-out), transform 900ms var(--sc-ease-out) !important; }
}
@media (min-width: 960px) {
  .brands__inner { grid-template-columns: 1fr minmax(0, .85fr); gap: clamp(3rem, 7vw, 7rem); }
  .brands__photo { aspect-ratio: 3 / 4; }
}

/* ============================================================ REZERWACJA == */
.book { background: var(--band); color: var(--light); padding-block: var(--sc-section); }
.book .lede { color: color-mix(in oklab, var(--light) 78%, var(--band)); }
.book__inner { display: grid; gap: 2.75rem; }
.book__photo { margin: 0; border-radius: var(--arch); overflow: hidden; aspect-ratio: 1 / 1.08; width: min(100%, 28rem); justify-self: center; }
.book__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px), 0) scale(1.08);
}
.book__text { display: grid; gap: 1.25rem; align-content: center; }
/* wiekszy odstep: przycisk "Umow wizyte" lekko podaza za kursorem i nie moze najezdzac na "Zadzwon" */
.book__actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: .5rem; }
.book__actions .btn { flex: 1 1 10rem; }
.book .btn--primary { background: var(--gold); color: var(--dark); }
@media (hover: hover) and (pointer: fine) { .book .btn--primary:hover { background: #d3b585; } }
.book :focus-visible { outline-color: var(--gold); }
@media (min-width: 960px) {
  .book__inner { grid-template-columns: minmax(0, .8fr) 1fr; gap: clamp(3rem, 8vw, 8rem); }
  .book__photo { width: 100%; }
  .book__actions .btn { flex: 0 0 auto; }
}

/* =============================================================== KONTAKT == */
.contact { padding-block: var(--sc-section); }
.contact__inner { display: grid; gap: 3rem; }
.contact__info { display: grid; gap: 1.75rem; align-content: start; }
.contact__nap { font-style: normal; line-height: 1.75; }
.contact__nap strong { font-weight: 500; }
.contact__nap a { text-decoration: none; border-bottom: 1px solid var(--line); }
.hours__title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem;
  font: 500 .78rem/1.4 var(--font-text); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .75rem;
}
.hours__now { font-size: .72rem; letter-spacing: .08em; text-transform: none; color: var(--accent); font-weight: 400; }
.hours__list { margin: 0; max-width: 24rem; }
.hours__list > div {
  display: flex; justify-content: space-between; padding: .5rem 0;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 9%, transparent);
  font-variant-numeric: tabular-nums;
}
.hours__list dt, .hours__list dd { margin: 0; }
.hours__list dd { color: var(--ink-soft); }
.hours__list > div.is-today { font-weight: 500; }
.hours__list > div.is-today dd { color: var(--ink); }
.hours__list > div.is-today dt::before {
  content: ""; display: inline-block; width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold);
  margin-right: .55rem; vertical-align: .15em;
}
/* rozlozone na szerokosc tabeli godzin i przycisku opinii: Instagram od lewej krawedzi, Booksy do prawej */
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; width: min(100%, 24rem); }
.social a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; text-decoration: none; }
@media (hover: hover) { .social a:hover { color: var(--accent); } }
/* tej samej szerokosci co tabela godzin, wiec jest wysrodkowany wzgledem tresci nad nim */
.btn--review { justify-self: start; width: min(100%, 24rem); color: var(--ink); }

.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 26rem; background: var(--bg-alt); display: grid; }
.map picture, .map__photo { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.map__panel {
  /* position + z-index: animowane zdjecie (transform) nie moze przykryc przyciskow */
  position: relative; z-index: 1;
  grid-area: 1 / 1; align-self: end; margin: 1rem; padding: 1.25rem; border-radius: var(--radius);
  background: color-mix(in oklab, var(--bg) 94%, transparent); box-shadow: 0 10px 30px -18px hsl(var(--sc-shadow-color) / .5);
  display: grid; gap: 1rem;
}
.map__note { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.map__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.map__actions .btn { flex: 1 1 9rem; }
.map iframe { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 26rem; border: 0; }
@media (min-width: 960px) {
  .contact__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 7rem); }
  .map { min-height: 36rem; }
}

/* ================================================================ STOPKA == */
/* Symetrycznie: logo na srodku, pod nim trzy rowne kolumny, na dole prawa autorskie. */
/* Nizsza stopka. Logo siedzi w zakladce-luku, ktora wystaje w gore na sekcje powyzej. */
.foot { background: var(--bg-alt); padding-block: 0 max(1.25rem, env(safe-area-inset-bottom)); font-size: .9rem; position: relative; }
.foot__inner { display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.foot__brand {
  display: block; margin-top: -4.25rem; padding: 1.6rem 2.4rem .6rem;
  background: var(--bg-alt); border-radius: 999px 999px 0 0;
  box-shadow: 0 -10px 24px -18px hsl(var(--sc-shadow-color) / .35);
}
.foot__brand img { width: 9.5rem; height: auto; }
.foot__brand .brand__logo--light { display: none; }
.foot__cols { display: grid; gap: 1.5rem; width: 100%; max-width: 58rem; }
.foot__col { display: grid; gap: .45rem; justify-items: center; align-content: start; }
.foot__title { margin: 0; font: 500 .74rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.foot__col p, .foot__col ul { margin: 0; line-height: 1.65; color: var(--ink-soft); }
.foot__col a { text-decoration: none; }
.foot__mail { overflow-wrap: anywhere; }
@media (hover: hover) { .foot__col a:hover { color: var(--accent); } }
.foot__links { list-style: none; padding: 0; display: grid; gap: .1rem; }
.foot__links a { display: inline-block; padding-block: .15rem; }
.foot__social { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: .75rem; }
.foot__social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
@media (hover: hover) { .foot__social a:hover { border-color: var(--gold); color: var(--accent); } }
.foot__copy { margin: 0; width: 100%; max-width: 58rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }
@media (min-width: 760px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ================================================================ NOZYCZKI == */
/* --p: 0..1 postep przewijania (pozycja nozyczek), --open: 0..1 rozwarcie ostrzy.
   Ustawiane w site.js. Bez JS / przy ograniczonym ruchu: statyczna ozdoba. */
.snip {
  --p: .5; --open: .55;
  position: relative; height: 4.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
  container-type: inline-size;
}
.snip__line, .snip__cut { position: absolute; left: 0; right: 0; top: 50%; height: 0; }
.snip__line {
  border-top: 1.5px dashed var(--gold);
  clip-path: inset(-2px 0 -2px calc(var(--p) * 100%));
}
.snip__cut { clip-path: inset(-6px calc((1 - var(--p)) * 100%) -6px 0); }
.snip__cut i { position: absolute; left: 0; right: 0; height: 1px; background: var(--gold); opacity: .75; }
.snip__cut i:first-child { top: -3px; }
.snip__cut i:last-child { top: 2px; }
.snip__scissors {
  position: absolute; left: 0; top: 50%; width: clamp(5.5rem, 4.2rem + 4vw, 8.5rem); height: auto; overflow: visible;
  transform: translate(calc(var(--p) * (100cqw - 100%)), -50%) translateX(-22%);
}
.snip__steel { fill: var(--gold); }
.snip__blade--b .snip__steel { fill: color-mix(in oklab, var(--gold) 80%, var(--ink)); }
.snip__arm, .snip__ring { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; }
.snip__pivot { fill: var(--bg); stroke: var(--accent); stroke-width: 1.4; }
.snip__blade { transform-origin: 62px 35px; }
.snip__blade--a { transform: rotate(calc(var(--open) * -15deg)); }
.snip__blade--b { transform: rotate(calc(var(--open) * 15deg)); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .snip:hover .snip__blade--a { animation: snip-a 360ms ease-in-out 2; }
  .snip:hover .snip__blade--b { animation: snip-b 360ms ease-in-out 2; }
  @keyframes snip-a { 50% { transform: rotate(-22deg); } }
  @keyframes snip-b { 50% { transform: rotate(22deg); } }
}

/* =========================================== przejscia miedzy sekcjami == */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Naglowki i wstepy: pojawiaja sie od dolu, wygasaja przy gornej krawedzi. */
    .fx-text { animation: fx-text linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes fx-text {
      0%   { opacity: 0; transform: translate3d(0, 56px, 0); }
      24%  { opacity: 1; transform: none; }
      80%  { opacity: 1; transform: none; }
      100% { opacity: 0; transform: translate3d(0, -40px, 0); }
    }
    /* Nazwy marek wjezdzaja z boku, kazda w swoim tempie. */
    .fx-list li { animation: fx-slide linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .fx-list li:nth-child(2) { animation-range: entry 10% cover 50%; }
    .fx-list li:nth-child(3) { animation-range: entry 20% cover 55%; }
    @keyframes fx-slide { from { opacity: 0; transform: translate3d(-12%, 0, 0); } to { opacity: 1; transform: none; } }

    /* --- Subtelny ruch przy przewijaniu (wszystko krotkie, male przesuniecia) --- */
    /* Opisy dziewczyn wchodza chwile po zdjeciu. */
    .member__text { animation: fx-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
    @keyframes fx-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
    /* Godziny otwarcia: kolejne dni pojawiaja sie po kolei. */
    .hours__list > div { animation: fx-row linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    @keyframes fx-row { from { opacity: 0; transform: translate3d(-14px, 0, 0); } to { opacity: 1; transform: none; } }
    /* Zdjecie recepcji: lekkie oddalanie kadru przy przewijaniu. */
    .map__photo { animation: fx-zoom linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes fx-zoom { from { transform: scale(1.12) translateY(-2%); } to { transform: scale(1.02) translateY(2%); } }
    /* Logo w stopce. */
    .foot__brand { animation: fx-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    /* Karty produktow w sklepie. */
    .product { animation: fx-card linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    @keyframes fx-card { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.98); } to { opacity: 1; transform: none; } }

    /* Sekcje Marki i Rezerwacja: rozwijaja sie z zaokraglonej "kurtyny". */
    .fx-section { animation: fx-section linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes fx-section {
      from { clip-path: inset(0 6% 0 6% round 3rem 3rem 0 0); }
      to   { clip-path: inset(0 0 0 0 round 0 0 0 0); }
    }
  }
}

/* ===================================================== podstrony proste == */
.page-simple .bar .link-arrow { margin-left: auto; }
.page-shop .bar .link-arrow { margin-left: auto; margin-right: .5rem; }
.simple { padding: calc(var(--bar-h) + var(--sc-section)) 0 var(--sc-section); min-height: 70svh; }
.simple__inner { display: grid; gap: 1.25rem; }

/* ======================================================= ograniczony ruch == */
@media (prefers-reduced-motion: reduce) {
  .hero__line, .hero__lede, .hero__actions { animation: fade 300ms ease-out both; }
  @keyframes fade { from { opacity: 0; } }
  .member__frame img { transform: none; }
  .member__line path { stroke-dashoffset: 0; }
  .bar.is-open .nav { animation: none; }
}
