/* ════════════════════════════════════════════════════════════
   AURORA SOUFFLE — style.css
   Salon, który oddycha: len + terakota, Fraunces + Instrument Sans.
   Cała strona żyje w rytmie --breath (0..1, ustawiane w souffle.js):
   aura hero, pacer, halo zespołu, pierścień opinii.
   Lekcje rodziny: [hidden]!important · menu z-index POD nav ·
   reveal galerii opacity-only (transform należy do JS-driftu).
   ════════════════════════════════════════════════════════════ */

:root {
  --paper:  #F8F5F0;
  --paper2: #F1EBE2;
  --paper3: #E7DED1;
  --ink:     #262019;
  --ink-mid: #6C6156;
  --ink-lt:  #9C9086;
  --clay:       #B4694C;
  --clay-hover: #96513A;
  --clay-pale:  #F5E7DD;
  --clay-soft:  #E8CFC0;
  --gold:  #DDAF7E;
  --peach: #F6D9BF;
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;
  --ease:  cubic-bezier(.19, 1, .22, 1);
  --section-py: clamp(88px, 12vw, 140px);
  --gutter: clamp(20px, 5vw, 72px);
  --breath: .5; /* 0 = pełny wydech, 1 = pełny wdech (souffle.js) */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
::selection { background: var(--clay-soft); color: var(--ink); }

/* ─── TYPO POMOCNICZE ─── */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
}
.section-head { text-align: center; padding: 0 var(--gutter); margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  letter-spacing: -.01em;
  margin-top: 14px;
  line-height: 1.08;
}
.section-head__title em { font-style: italic; color: var(--clay); }
.section-head__sub { margin-top: 12px; color: var(--ink-mid); font-size: .95rem; }

/* ─── PRZYCISKI — wypełniają się od dołu jak wdech ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 14px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn i { transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--clay); color: #FDF9F4; }
.btn--primary::before { background: var(--clay-hover); }
.btn--ghost { border: 1px solid var(--paper3); color: var(--ink); background: transparent; }
.btn--ghost::before { background: var(--clay-pale); }
.btn--ghost:hover { border-color: var(--clay-soft); }
.btn--small { padding: 11px 20px; font-size: .84rem; }
.btn--block { width: 100%; justify-content: center; }

/* ─── PRELOADER — wdech / wydech ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__stage { text-align: center; display: grid; justify-items: center; gap: 22px; }
.loader__ring {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid var(--clay-soft);
  display: grid;
  place-items: center;
}
.loader__core {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--peach) 0%, var(--clay) 100%);
  transform: scale(var(--loader-breath, .4));
  transition: transform .2s linear;
  filter: blur(.5px);
}
.loader__word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: .02em;
}
.loader__word em { font-style: italic; color: var(--clay); }
.loader__phase {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-lt);
}
.loader__pct {
  position: absolute;
  right: clamp(20px, 5vw, 56px);
  bottom: clamp(18px, 4vw, 44px);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--clay);
}

/* ─── KURSOR-PODMUCH + GRAIN + PROGRESS ─── */
.cursor, .cursor-halo {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 380;
  border-radius: 50%;
  opacity: 0;
}
body.has-cursor .cursor, body.has-cursor .cursor-halo { opacity: 1; }
.cursor {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--clay);
  transition: width .25s, height .25s, margin .25s, opacity .3s;
}
.cursor-halo {
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  background: radial-gradient(circle, rgba(180,105,76,.16) 0%, rgba(180,105,76,0) 70%);
  transition: transform .2s, opacity .3s;
}
.cursor.is-hover { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--clay-hover); }
.cursor.is-down  { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.cursor.is-out, .cursor-halo.is-out { opacity: 0; }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 370;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 350;
  background: transparent;
}
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--clay), var(--gold)); }

/* ─── PACER ODDECHU — metronom strony ─── */
.pacer {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
body.is-loaded .pacer { opacity: 1; }
.pacer__dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--clay-soft);
  position: relative;
}
.pacer__dot::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--peach), var(--clay));
  transform: scale(calc(.35 + var(--breath) * .65));
}
.pacer__label {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-lt);
  min-width: 62px;
}
@media (max-width: 760px) { .pacer { display: none; } }

/* ─── HERO — pole powietrza ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(90px, 12vw, 130px) var(--gutter) 30px;
  overflow: hidden;
}
.hero__air { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__aura {
  position: absolute;
  left: 50%; top: 44%;
  width: min(62vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,217,191,.55) 0%, rgba(221,175,126,.18) 45%, rgba(248,245,240,0) 72%);
  transform: translate(-50%, -50%) scale(calc(.92 + var(--breath) * .16));
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 7rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__line--em em { font-style: italic; color: var(--clay); }
[data-lift] {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
}
body.is-loaded [data-lift] { transform: translateY(0); }
.hero__line:nth-child(2) [data-lift] { transition-delay: .12s; }
.hero__lede {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--ink-mid);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__foot {
  position: relative;
  margin-top: auto;
  padding-top: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  font-size: .8rem;
  color: var(--ink-mid);
}
.hero__badge { display: inline-flex; align-items: center; gap: 10px; }
.hero__badge-stars { color: var(--gold); letter-spacing: .12em; }
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .66rem;
}
.hero__scroll i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clay);
  transform: scale(calc(.5 + var(--breath) * .8));
  opacity: calc(.4 + var(--breath) * .6);
}
.hero__est { font-family: var(--serif); font-style: italic; color: var(--ink-lt); }
@media (max-width: 760px) {
  .hero__foot { flex-direction: column; align-items: center; gap: 10px; }
  .hero__est { display: none; }
}

/* wejściowe fade (hero children + sekcje) */
[data-fade] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-fade].is-in { opacity: 1; transform: none; }
.hero [data-fade] { transition-delay: .35s; }
body.is-loaded .hero [data-fade] { opacity: 1; transform: none; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  transition: background .45s, box-shadow .45s, padding .45s;
}
.nav.is-scrolled {
  background: rgba(248, 245, 240, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--paper3);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__logo { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; }
.nav__logo em { font-style: italic; color: var(--clay); }
.nav__meta {
  display: inline-flex;
  gap: 10px;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-lt);
}
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__menu { display: inline-flex; align-items: center; gap: 10px; padding: 8px 4px; }
.nav__menu-txt { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav__menu-ico { display: grid; gap: 5px; width: 22px; }
.nav__menu-ico i { height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), width .4s var(--ease); }
.nav__menu-ico i:last-child { width: 70%; justify-self: end; }
.nav__menu.is-open .nav__menu-ico i:first-child { transform: translateY(3.2px) rotate(45deg); }
.nav__menu.is-open .nav__menu-ico i:last-child  { width: 100%; transform: translateY(-3.2px) rotate(-45deg); }
@media (max-width: 900px) { .nav__meta { display: none; } }
@media (max-width: 560px) { .nav__cta { display: none; } }

/* ─── MENU — zasłona powietrza (z-index POD nav!) ─── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--paper2) 0%, var(--paper) 70%, var(--clay-pale) 130%);
  transform: translateY(-102%);
  transition: transform .8s var(--ease);
}
.menu.is-open .menu__veil { transform: none; }
.menu__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 120px var(--gutter) 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.25;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), color .3s;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .22s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .38s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .46s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .54s; }
.menu__links a:hover { color: var(--clay); }
.menu__links s {
  text-decoration: none;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--ink-lt);
}
.menu__info {
  display: grid;
  gap: 22px;
  align-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s;
}
.menu.is-open .menu__info { opacity: 1; transform: none; }
.menu__label {
  display: block;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 4px;
}
.menu__block p { color: var(--ink-mid); font-size: .95rem; }
.menu__block a:hover { color: var(--clay); }
@media (max-width: 860px) {
  .menu__inner { grid-template-columns: 1fr; gap: 30px; align-content: start; overflow-y: auto; }
  .menu__info { padding-bottom: 40px; }
}

/* ─── MANIFEST ─── */
.manifest {
  padding: var(--section-py) var(--gutter);
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}
.manifest__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.8vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -.01em;
}
.manifest__title em { font-style: italic; color: var(--clay); }
[data-lines] {
  display: block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-lines].is-in { opacity: 1; transform: none; }
.manifest__title span:nth-child(2) { transition-delay: .08s; }
.manifest__title span:nth-child(3) { transition-delay: .16s; }
.manifest__title span:nth-child(4) { transition-delay: .24s; }
.manifest__stats {
  margin-top: clamp(44px, 6vw, 70px);
  display: flex;
  justify-content: center;
  gap: clamp(30px, 7vw, 90px);
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--clay);
  line-height: 1;
}
.stat span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mid); }

/* ─── MARQUEE ─── */
.marq {
  overflow: hidden;
  border-top: 1px solid var(--paper3);
  border-bottom: 1px solid var(--paper3);
  padding: 18px 0;
  background: var(--paper2);
}
.marq__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marq 30s linear infinite;
}
.marq__track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--ink-mid);
  white-space: nowrap;
}
.marq__track i { color: var(--clay); font-style: normal; font-size: .8rem; }
.marq:hover .marq__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ─── SERVICES — wiersze, które oddychają ─── */
.services { padding: var(--section-py) 0; }
.rows { max-width: 1060px; margin: 0 auto; border-top: 1px solid var(--paper3); }
.row { position: relative; border-bottom: 1px solid var(--paper3); }
.row__head {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr auto 30px;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: clamp(22px, 3.4vw, 34px) var(--gutter);
  transition: background .5s var(--ease);
}
.row__no {
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--ink-lt);
  transition: color .4s;
}
.row__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  letter-spacing: -.01em;
  transition: transform .5s var(--ease), color .4s;
}
.row__meta { font-size: .85rem; color: var(--ink-mid); white-space: nowrap; }
.row__sign { position: relative; width: 16px; height: 16px; justify-self: end; }
.row__sign i {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: var(--clay);
  transition: transform .5s var(--ease);
}
.row__sign i:last-child { transform: rotate(90deg); }
.row.is-open .row__sign i:last-child { transform: rotate(0deg); }
.row.is-open .row__head, .row__head:hover { background: var(--paper2); }
.row.is-open .row__no, .row__head:hover .row__no { color: var(--clay); }
.row.is-open .row__name { transform: translateX(8px); color: var(--clay-hover); }
.row__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .65s var(--ease);
}
.row.is-open .row__body { grid-template-rows: 1fr; }
.row__body-in {
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding: 0 var(--gutter);
}
.row.is-open .row__body-in { padding-bottom: clamp(24px, 3.4vw, 36px); }
.row__desc {
  max-width: 560px;
  color: var(--ink-mid);
  font-size: .96rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease) .15s, transform .5s var(--ease) .15s;
}
.row.is-open .row__desc { opacity: 1; transform: none; }
.row__wave {
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 20px;
  width: 100%;
  color: var(--clay-soft);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.row.is-open .row__wave { opacity: 1; }
.row__wave path { stroke-dasharray: 6 8; animation: waveflow 3s linear infinite; }
@keyframes waveflow { to { stroke-dashoffset: -56; } }
@media (max-width: 720px) {
  .row__head { grid-template-columns: 1fr 24px; grid-template-areas: "no sign" "name sign" "meta sign"; row-gap: 4px; }
  .row__no { grid-area: no; }
  .row__name { grid-area: name; }
  .row__meta { grid-area: meta; }
  .row__sign { grid-area: sign; }
  .row__body-in { flex-direction: column; }
}

/* ─── ZESPÓŁ — aury ─── */
.atelier { padding: var(--section-py) var(--gutter); background: var(--paper2); }
.auras {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}
.acard {
  text-align: center;
  padding: clamp(26px, 3vw, 40px) 18px;
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid transparent;
  transition: transform .55s var(--ease), border-color .55s, box-shadow .55s;
}
.acard:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tone) 34%, transparent);
  box-shadow: 0 26px 60px -34px color-mix(in srgb, var(--tone) 44%, transparent);
}
.acard__halo {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}
.acard__breath {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--tone) 42%, #fff) 0%,
    color-mix(in srgb, var(--tone) 16%, var(--paper)) 55%,
    transparent 74%);
  animation: aurabreath 7.4s ease-in-out infinite;
  animation-delay: calc(var(--ph, 0) * -1.85s);
}
.acard:hover .acard__breath { animation-duration: 3.4s; }
@keyframes aurabreath {
  0%, 100% { transform: scale(.82); opacity: .7; }
  50%       { transform: scale(1.12); opacity: 1; }
}
.acard__init {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.5rem;
  color: color-mix(in srgb, var(--tone) 72%, var(--ink));
}
.acard__name { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.acard__role { display: block; margin-top: 4px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-lt); }
.acard__note { margin-top: 14px; font-size: .88rem; color: var(--ink-mid); min-height: 3.4em; }
.acard__btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .86rem;
  color: color-mix(in srgb, var(--tone) 76%, var(--ink));
  border-bottom: 1px solid color-mix(in srgb, var(--tone) 40%, transparent);
  padding-bottom: 3px;
  transition: gap .3s var(--ease);
}
.acard__btn:hover { gap: 13px; }
@media (max-width: 1020px) { .auras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .auras { grid-template-columns: 1fr; } }

/* ─── GALERIA — kadry w dryfie ─── */
.gallery { padding: var(--section-py) var(--gutter); }
.drift {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}
.gphoto {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  /* reveal WYŁĄCZNIE opacity — transform należy do JS-driftu */
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  will-change: transform;
}
.gphoto.is-in { opacity: 1; }
.gphoto:nth-child(3n+2) { aspect-ratio: 3 / 3.6; margin-top: clamp(18px, 3vw, 44px); }
.gphoto:nth-child(3n)   { aspect-ratio: 3 / 4.3; margin-top: clamp(8px, 1.6vw, 22px); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gphoto:hover img { transform: scale(1.045); }
.gphoto__num {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .2em;
  color: rgba(255, 252, 246, .9);
  mix-blend-mode: difference;
}
.gphoto__cap {
  position: absolute;
  left: 16px; right: 16px; bottom: 13px;
  z-index: 2;
  font-size: .8rem;
  color: #FDF9F4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  text-shadow: 0 1px 8px rgba(30, 20, 12, .5);
}
.gphoto:hover .gphoto__cap { opacity: 1; transform: none; }
.gphoto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(38, 32, 25, .38) 100%);
  opacity: 0;
  transition: opacity .5s;
}
.gphoto:hover::after { opacity: 1; }
.gphoto__dot {
  position: absolute;
  right: 16px; top: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(253, 249, 244, .85);
}
.gphoto__year {
  position: absolute;
  right: 16px; bottom: 13px;
  font-family: var(--serif);
  font-style: italic;
  font-size: .8rem;
  color: rgba(253, 249, 244, .85);
}
.gallery__loading { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: center; padding: 60px 0; }
.gallery__loading span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clay-soft);
  animation: loaddots 1.2s ease-in-out infinite;
}
.gallery__loading span:nth-child(2) { animation-delay: .15s; }
.gallery__loading span:nth-child(3) { animation-delay: .3s; }
.gallery__loading span:nth-child(4) { animation-delay: .45s; }
@keyframes loaddots { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1.1); opacity: 1; } }
@media (max-width: 760px) {
  .drift { grid-template-columns: repeat(2, 1fr); }
  .gphoto:nth-child(3n+2), .gphoto:nth-child(3n) { margin-top: 0; aspect-ratio: 3 / 4; }
  .gphoto:nth-child(2n) { margin-top: 22px; }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(28, 22, 16, .93);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(88vw, 1000px); max-height: 84vh; display: grid; gap: 14px; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { text-align: center; color: var(--clay-soft); font-size: .9rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  color: #F5EDE3;
  font-size: 2rem;
  line-height: 1;
  padding: 14px;
  transition: color .3s, transform .3s;
}
.lightbox__close { top: 18px; right: 22px; }
.lightbox__close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav:hover { color: var(--gold); }

/* ─── ECHA — opinie na jednym oddechu ─── */
.voices { padding: var(--section-py) var(--gutter); background: var(--paper2); }
.breaths {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
}
.breaths__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: min(58vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--clay-soft);
  transform: translate(-50%, -50%) scale(calc(.9 + var(--breath) * .14));
  opacity: calc(.35 + var(--breath) * .4);
  pointer-events: none;
}
.quote {
  grid-area: 1 / 1;
  padding: 30px clamp(10px, 4vw, 40px);
  opacity: 0;
  transform: scale(.97);
  filter: blur(7px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  pointer-events: none;
}
.quote.is-on { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
.quote__text {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote__by { margin-top: 22px; display: grid; gap: 3px; font-size: .86rem; color: var(--ink-mid); }
.quote__stars { color: var(--gold); letter-spacing: .16em; }
.quote__date { color: var(--ink-lt); font-size: .78rem; }
.breaths__ctrl {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.breaths__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--paper3);
  display: grid;
  place-items: center;
  transition: border-color .3s, background .3s, color .3s;
}
.breaths__arrow:hover { border-color: var(--clay); background: var(--clay); color: #FDF9F4; }
.breaths__index { font-size: .8rem; letter-spacing: .18em; color: var(--ink-lt); }
.breaths__index b { color: var(--clay); font-weight: 600; }
.voices__google {
  margin-top: 34px;
  text-align: center;
  font-size: .84rem;
  letter-spacing: .1em;
  color: var(--ink-mid);
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ─── KONTAKT ─── */
.contact { padding: var(--section-py) var(--gutter); }
.contact__grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}
.contact__rows { display: grid; gap: 18px; }
.contact__rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; }
.contact__rows dt {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
}
.contact__rows dd { font-size: 1.02rem; }
.contact__rows a { border-bottom: 1px solid var(--clay-soft); transition: color .3s, border-color .3s; }
.contact__rows a:hover { color: var(--clay); border-color: var(--clay); }
.contact__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.contact__hours {
  background: var(--paper2);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
}
.contact__hours-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}
.contact__hours table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.contact__hours td { padding: 9px 0; border-bottom: 1px solid var(--paper3); color: var(--ink-mid); }
.contact__hours td:last-child { text-align: right; }
.contact__hours tr:last-child td { border-bottom: 0; }
.contact__hours tr.is-today td { color: var(--ink); font-weight: 600; }
.contact__hours tr.is-today td:first-child::after {
  content: '·';
  color: var(--clay);
  margin-left: 7px;
  font-size: 1.3em;
  line-height: 0;
}
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ─── FOOTER ─── */
.footer { background: var(--ink); color: #CFC5B8; overflow: hidden; }
.footer__word {
  display: flex;
  justify-content: center;
  gap: .02em;
  padding: clamp(40px, 7vw, 90px) 20px 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(4.6rem, 17vw, 15rem);
  line-height: .9;
  color: rgba(248, 245, 240, .09);
  user-select: none;
}
.footer__word span { display: inline-block; animation: floatletter 6.5s ease-in-out infinite; }
.footer__word span:nth-child(2n)  { animation-delay: -1.4s; }
.footer__word span:nth-child(3n)  { animation-delay: -2.9s; }
.footer__word span:nth-child(4n)  { animation-delay: -4.3s; }
@keyframes floatletter {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-.075em); }
}
.footer__main {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 70px) var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(30px, 6vw, 80px);
}
.footer__logo { font-family: var(--serif); font-size: 1.4rem; color: #F5EDE3; }
.footer__logo em { font-style: italic; color: var(--gold); }
.footer__brand p { margin-top: 12px; font-size: .9rem; opacity: .75; max-width: 300px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer__cols ul { list-style: none; display: grid; gap: 9px; font-size: .92rem; }
.footer__cols a { opacity: .8; transition: opacity .3s, color .3s; }
.footer__cols a:hover { opacity: 1; color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(248, 245, 240, .12);
  padding: 20px var(--gutter);
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
  opacity: .65;
}
.footer__bottom a { border-bottom: 1px solid rgba(221, 175, 126, .5); }
@media (max-width: 760px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ─── FLOAT CTA ─── */
.float-cta {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--clay);
  color: #FDF9F4;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 18px 44px -16px rgba(150, 81, 58, .55);
  opacity: 0;
  transform: translateY(16px) scale(.94);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: var(--clay-hover); }

/* ─── BOOKING — pełnoekranowe atelier ─── */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 32, 25, .42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .55s;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset: clamp(0px, 2.4vw, 34px);
  background: var(--paper);
  border-radius: clamp(0px, 2vw, 26px);
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(4%) scale(.985);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.drawer.is-open .drawer__panel { opacity: 1; transform: none; }
.drawer__side {
  position: relative;
  background: linear-gradient(170deg, var(--clay-pale) 0%, var(--paper2) 68%);
  padding: clamp(30px, 4vw, 52px) clamp(24px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  overflow: hidden;
}
.drawer__side-breath {
  position: absolute;
  left: 50%; top: 26%;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 217, 191, .9) 0%, rgba(221, 175, 126, .25) 55%, transparent 75%);
  transform: translate(-50%, -50%) scale(calc(.85 + var(--breath) * .3));
  pointer-events: none;
}
.drawer__eyebrow {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
.drawer__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.05;
}
.drawer__title em { font-style: italic; color: var(--clay); }
.drawer__side-note { font-size: .88rem; color: var(--ink-mid); max-width: 250px; }
.drawer__main { display: flex; flex-direction: column; min-width: 0; }
.drawer__head { padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 44px) 0; }
.drawer__head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.drawer__steps { display: flex; gap: 8px; flex-wrap: wrap; }
.drawer__steps span {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--paper3);
  color: var(--ink-lt);
  transition: all .35s;
}
.drawer__steps span.is-active { border-color: var(--clay); color: var(--clay); background: var(--clay-pale); }
.drawer__steps span.is-done { border-color: var(--clay-soft); color: var(--clay); }
.drawer__close { position: relative; width: 40px; height: 40px; flex: 0 0 auto; }
.drawer__close span {
  position: absolute;
  top: 50%; left: 8px; right: 8px;
  height: 1.6px;
  background: var(--ink);
  transition: transform .4s var(--ease), background .3s;
}
.drawer__close span:first-child { transform: rotate(45deg); }
.drawer__close span:last-child  { transform: rotate(-45deg); }
.drawer__close:hover span { background: var(--clay); }
.drawer__close:hover span:first-child { transform: rotate(135deg); }
.drawer__close:hover span:last-child  { transform: rotate(45deg); }
.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(18px, 2.6vw, 28px) clamp(20px, 3.4vw, 44px) 20px;
}
.step { display: none; }
.step.is-active { display: block; animation: stepin .5s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateY(14px); } }
.step__sub { font-size: .92rem; color: var(--ink-mid); margin-bottom: 18px; }

.opt-list { display: grid; gap: 10px; }
.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  padding: 16px 20px;
  border: 1px solid var(--paper3);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.opt:hover { border-color: var(--clay-soft); background: var(--clay-pale); transform: translateX(4px); }
.opt.is-picked { border-color: var(--clay); background: var(--clay-pale); }
.opt__title { display: block; font-weight: 600; font-size: .98rem; }
.opt__meta { display: block; font-size: .8rem; color: var(--ink-mid); margin-top: 2px; }
.opt__arrow { color: var(--clay); transition: transform .3s var(--ease); }
.opt:hover .opt__arrow, .opt.is-picked .opt__arrow { transform: translateX(4px); }
.opt--any { border-style: dashed; }

.datebar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--clay-soft) transparent;
}
.datebar__d {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 64px;
  padding: 12px 10px;
  border: 1px solid var(--paper3);
  border-radius: 14px;
  transition: all .3s;
}
.datebar__d:hover { border-color: var(--clay-soft); background: var(--clay-pale); }
.datebar__d.is-picked { border-color: var(--clay); background: var(--clay); color: #FDF9F4; }
.datebar__dow { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.datebar__day { font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.datebar__mon { font-size: .68rem; opacity: .7; }

.slots { margin-top: 14px; }
.slots__hint, .slots__empty { font-size: .9rem; color: var(--ink-lt); padding: 14px 0; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  padding: 11px 6px;
  text-align: center;
  border: 1px solid var(--paper3);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  transition: all .25s;
}
.slot:hover { border-color: var(--clay); color: var(--clay); }
.slot.is-picked { background: var(--clay); border-color: var(--clay); color: #FDF9F4; }
.slot.is-taken { opacity: .32; text-decoration: line-through; pointer-events: none; }

.form { display: grid; gap: 14px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; }
.form input {
  font: inherit;
  font-weight: 400;
  padding: 13px 16px;
  border: 1px solid var(--paper3);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.form input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 14%, transparent);
}
.form__summary {
  background: var(--clay-pale);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: .9rem;
  display: grid;
  gap: 6px;
  color: var(--ink-mid);
}
.form__summary strong { color: var(--ink); }
.form__error { color: #A4432C; font-size: .88rem; }
.form__legal { font-size: .76rem; color: var(--ink-lt); }
.form__legal a { text-decoration: underline; }
/* pole bonu wstrzykiwane przez features.js dziedziczy .form label */
.ft-gift small { opacity: .55; font-weight: 400; }

.verify { max-width: 420px; display: grid; gap: 16px; }
.verify__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.verify__intro { font-size: .92rem; color: var(--ink-mid); }
.verify__inputs { display: flex; gap: 10px; }
.verify__inputs input {
  width: 60px; height: 68px;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.7rem;
  border: 1px solid var(--paper3);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color .3s, box-shadow .3s;
}
.verify__inputs input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 14%, transparent);
}

.success { max-width: 460px; display: grid; gap: 14px; justify-items: start; }
.success__mark {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--clay-pale);
  color: var(--clay);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  animation: successpop .7s var(--ease);
}
@keyframes successpop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } }
.success h3 { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; }
.success h3 em { font-style: italic; color: var(--clay); }
.success p { color: var(--ink-mid); font-size: .95rem; }
/* przycisk .ics od features.js */
.success .ft-ics { margin-top: 4px; }

.drawer__foot {
  border-top: 1px solid var(--paper3);
  padding: 14px clamp(20px, 3.4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.drawer__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color .3s, gap .3s var(--ease);
}
.drawer__back:hover { color: var(--clay); gap: 12px; }
.drawer__next:disabled { opacity: .35; pointer-events: none; }
@media (max-width: 880px) {
  .drawer__panel { grid-template-columns: 1fr; inset: 0; border-radius: 0; }
  .drawer__side { display: none; }
}
@media (max-width: 480px) {
  .verify__inputs input { width: 52px; height: 60px; }
}

/* ─── DOSTĘPNOŚĆ / REDUCED MOTION ─── */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-lift], [data-fade], [data-lines] { opacity: 1 !important; transform: none !important; }
  .gphoto { opacity: 1; }
  .quote { filter: none; }
}
