/* ==========================================================================
   WYPSTRYKANY.PL — style.css
   Style bazowe (mobile-first). Breakpointy i reduced motion: responsive.css,
   panel administratora: admin.css.
   --------------------------------------------------------------------------
   1.  Tokeny: paleta, motyw jasny (domyślny) i ciemny
   2.  Reset i baza
   3.  Typografia i elementy wspólne
   4.  Przyciski, linki, przełącznik motywu
   5.  Nagłówek i nawigacja
   6.  Hero (tekst + pokaz slajdów 16:9)
   7.  Sekcje: wspólne
   8.  O mnie
   9.  Technikalia
   10. Portfolio
   11. Modal albumu publicznego
   12. Oferta
   13. Kontakt i formularze
   14. Stopka
   15. Panel klienta
   16. Prywatny album
   17. Lightbox
   18. Komunikaty, toast, reveal, helpery
   ========================================================================== */

/* ==========================================================================
   1. TOKENY
   ========================================================================== */
:root {
  /* Paleta marki */
  --ivory: #F7F1E8;
  --cream: #EFE4D5;
  --sand: #E4D3BE;
  --caramel: #B97850;
  --terracotta: #A9573F;
  --espresso: #342824;
  --gold: #C9A46A;
  --white: #FFFDFC;

  /* Motyw JASNY (domyślny) — tokeny semantyczne */
  --bg: var(--ivory);
  --bg-alt: var(--cream);
  --surface: var(--white);
  --surface-2: var(--sand);
  --text: var(--espresso);
  --text-muted: #6A564C;
  --line: rgba(52, 40, 36, 0.14);
  --line-strong: rgba(52, 40, 36, 0.28);
  --accent: var(--terracotta);
  --accent-ink: #8C4431;
  --on-accent: var(--white);
  --accent-soft: rgba(169, 87, 63, 0.2);
  --band: var(--espresso);
  --on-band: var(--ivory);
  --on-band-muted: rgba(247, 241, 232, 0.8);
  --band-line: rgba(247, 241, 232, 0.12);
  --header-bg: rgba(247, 241, 232, 0.97);
  --field-bg: var(--white);
  --error: #9E3B2A;
  --error-bg: #FBEDE8;
  --success: #4F6B45;
  --success-bg: rgba(79, 107, 69, 0.13);
  --warn-bg: rgba(201, 164, 106, 0.25);
  --warn-text: #6B4E1F;
  --shadow-rgb: 52, 40, 36;
  --image-bg: var(--sand);
  --lightbox-bg: #1A1412;
  --grain-opacity: 0.05;

  /* Typografia */
  --f-serif: 'Cormorant Garamond', 'Cormorant', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-h3: clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
  --fs-h2: clamp(2.3rem, 1.6rem + 3vw, 4.4rem);
  --fs-display: clamp(2.5rem, 1.6rem + 3.2vw, 4.9rem);

  /* Odstępy i kształt */
  --section-y: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --container: 1320px;
  --gutter: clamp(1.15rem, 0.7rem + 2.2vw, 2.75rem);
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px -26px rgba(var(--shadow-rgb), 0.38);
  --shadow-lift: 0 30px 60px -32px rgba(var(--shadow-rgb), 0.5);

  /* Ruch */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-cine: cubic-bezier(0.65, 0.05, 0.36, 1);
  --dur-fast: 0.2s;
  --dur: 0.45s;

  --header-h: 72px;
  --focus-ring: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
  color-scheme: light;
}

/* Motyw CIEMNY — wyłącznie po wyborze użytkownika (przełącznik w nagłówku) */
[data-theme='dark'] {
  --bg: #17120F;
  --bg-alt: #201915;
  --surface: #241C18;
  --surface-2: #2F2520;
  --text: #EFE4D5;
  --text-muted: #B5A291;
  --line: rgba(239, 228, 213, 0.13);
  --line-strong: rgba(239, 228, 213, 0.26);
  --accent: #D98B67;
  --accent-ink: #E39A78;
  --on-accent: #1A1310;
  --accent-soft: rgba(217, 139, 103, 0.22);
  --band: #0F0B09;
  --on-band: #EFE4D5;
  --on-band-muted: rgba(239, 228, 213, 0.78);
  --band-line: rgba(239, 228, 213, 0.1);
  --header-bg: rgba(23, 18, 15, 0.96);
  --field-bg: #1E1714;
  --error: #F08A70;
  --error-bg: rgba(240, 138, 112, 0.12);
  --success: #9DB58F;
  --success-bg: rgba(157, 181, 143, 0.14);
  --warn-bg: rgba(201, 164, 106, 0.2);
  --warn-text: #E2C48F;
  --shadow-rgb: 0, 0, 0;
  --image-bg: #2F2520;
  --lightbox-bg: #0B0807;
  --grain-opacity: 0.035;
  color-scheme: dark;
}

/* Płynna zmiana motywu (tylko w chwili przełączenia) */
.is-theme-switching *,
.is-theme-switching *::before,
.is-theme-switching *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease !important;
}

/* ==========================================================================
   2. RESET I BAZA
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
html.is-scroll-locked { overflow: hidden; padding-right: var(--scrollbar-comp, 0); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Subtelne ziarno fotograficzne */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-xs); }
main:focus { outline: none; }
::selection { background: var(--caramel); color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.inline-form { display: inline; margin: 0; }

/* ==========================================================================
   3. TYPOGRAFIA I ELEMENTY WSPÓLNE
   ========================================================================== */
.section-title, .hero__title, .album-modal__title, .offer__title, .client__title, .pa-hero__title {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.section-title { font-size: var(--fs-h2); }
.section-title em, .hero__title em, .client__title em { font-style: italic; font-weight: 400; color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 2.25rem; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--light { color: var(--gold); }

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: var(--bg-alt);
  border-radius: var(--radius-xs);
  word-break: break-all;
}

.icon { width: 20px; height: 20px; }
.icon--stroke { fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon--stroke .icon__dot { fill: currentColor; stroke: none; }
.icon--fill { fill: currentColor; }

/* ==========================================================================
   4. PRZYCISKI, LINKI, PRZEŁĄCZNIK MOTYWU
   ========================================================================== */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  --btn-bd: var(--btn-bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg, var(--accent));
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease-cine);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--btn-hover-fg, var(--on-accent)); border-color: var(--btn-hover-bg, var(--accent)); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn__arrow { display: inline-block; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-hover-bg: var(--text); --btn-hover-fg: var(--bg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong); --btn-hover-bg: var(--text); --btn-hover-fg: var(--bg); }
.btn--danger { --btn-bg: transparent; --btn-fg: var(--error); --btn-bd: var(--error); --btn-hover-bg: var(--error); --btn-hover-fg: var(--bg); }
.btn--client { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; --btn-hover-bg: var(--text); --btn-hover-fg: var(--bg); min-height: 42px; padding: 0.55rem 1.15rem; }
.btn--small { min-height: 42px; padding: 0.55rem 1.1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn:disabled::before { display: none; }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}
.link-underline:hover, .link-underline:focus-visible { background-size: 100% 1px; }
.link-button { font-size: inherit; color: inherit; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.icon-btn--light { color: #F7F1E8; border-color: rgba(247, 241, 232, 0.45); background: rgba(30, 22, 19, 0.3); }
.icon-btn--light:hover { background: #F7F1E8; color: #342824; border-color: #F7F1E8; }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 50%; }
.icon-btn--light:focus-visible { outline-color: var(--gold); }

/* Przełącznik motywu: księżyc w jasnym, słońce w ciemnym */
.theme-toggle {
  position: relative;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: inherit;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__sun { display: none; }
[data-theme='dark'] .theme-toggle__sun { display: block; }
[data-theme='dark'] .theme-toggle__moon { display: none; }
.theme-toggle:hover { background: var(--text); color: var(--bg); border-color: var(--text); transform: rotate(-12deg); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 50%; }

/* ==========================================================================
   5. NAGŁÓWEK I NAWIGACJA (mobile: panel boczny)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  color: var(--text);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  transition: height var(--dur) var(--ease-out);
}
.site-header__end { display: flex; align-items: center; gap: 0.5rem; }
/* bez backdrop-filter — tworzyłby blok zawierający dla panelu menu */
.site-header.is-scrolled { background-color: var(--header-bg); box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(var(--shadow-rgb), 0.5); }
.site-header.is-scrolled .site-header__inner { --header-h: 62px; }
.site-header--minimal { position: sticky; background: var(--header-bg); box-shadow: 0 1px 0 var(--line); }
.site-header__back { font-size: var(--fs-sm); font-weight: 500; }
.site-header__tools { display: flex; align-items: center; gap: 0.85rem; }

/* Logo tekstowe — WIELKIE LITERY */
.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.logo__tld { color: var(--caramel); font-style: italic; font-weight: 500; letter-spacing: 0.04em; transition: color var(--dur-fast); }
.logo:hover .logo__tld { color: var(--accent); }
.logo--large { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); }

.nav-toggle {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  padding: 0 11px;
  border-radius: 50%;
}
.nav-toggle__bar { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle__bar:nth-child(2) { width: 70%; margin-left: auto; }
.is-nav-open .nav-toggle, .is-nav-open .site-header .theme-toggle { color: var(--on-band); }
.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  width: min(88vw, 400px);
  padding: calc(var(--header-h) + 2rem) 2rem 2.5rem;
  overflow-y: auto;
  color: var(--on-band);
  background: var(--band);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease-cine), visibility 0s linear var(--dur);
}
.is-nav-open .site-nav { transform: translateX(0); visibility: visible; transition: transform var(--dur) var(--ease-cine), visibility 0s; }
.site-nav__list { display: grid; gap: 0.35rem; }
.site-nav__link { position: relative; display: inline-block; padding: 0.35rem 0; font-family: var(--f-serif); font-size: 2rem; font-weight: 500; line-height: 1.2; }
.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.2rem;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav__link:hover::after, .site-nav__link:focus-visible::after, .site-nav__link[aria-current='true']::after { transform: scaleX(1); transform-origin: left; }
.site-nav__link[aria-current='true'] { color: var(--gold); }
.site-nav__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.site-nav .btn--client { --btn-hover-bg: var(--gold); --btn-hover-fg: #342824; }
.social-links { display: flex; gap: 0.25rem; }
.icon-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: color var(--dur-fast), transform var(--dur-fast); }
.icon-link:hover { color: var(--caramel); transform: translateY(-2px); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(15, 11, 9, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur), visibility 0s linear var(--dur);
}
.is-nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity var(--dur), visibility 0s; }

/* ==========================================================================
   6. HERO — tekst + kadr ze zdjęciami w formacie 16:9
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(1.25rem, 0.5rem + 2.5vw, 3rem)) 0 clamp(3.5rem, 3rem + 3vw, 6rem);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  top: -18%; right: -12%;
  z-index: -2;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 106, 0.22), rgba(201, 164, 106, 0) 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  z-index: -2;
  width: 100%;
  height: 30%;
  background: var(--bg-alt);
}
.hero__grid { display: grid; gap: 2.25rem; align-items: center; }
.hero__content { position: relative; }
.hero__eyebrow { margin-bottom: 1.1rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-ink); }
.hero__title { max-width: 15ch; font-size: var(--fs-display); line-height: 0.98; text-wrap: balance; }
.hero__title em { display: block; }
.hero__lead { max-width: 30rem; margin-top: 1.4rem; font-size: var(--fs-lg); line-height: 1.55; color: var(--text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__handle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.hero__handle-line { width: 2.5rem; height: 1px; background: var(--gold); transition: width var(--dur) var(--ease-out); }
.hero__handle:hover { color: var(--accent); }
.hero__handle:hover .hero__handle-line { width: 3.5rem; }

.hero__visual { position: relative; }
.hero__visual::before {
  /* złota ramka przesunięta względem kadru, z delikatnym parallaxem */
  content: '';
  position: absolute;
  inset: 1.1rem -0.6rem 3.6rem 1.1rem;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: var(--radius-xs);
  transform: translate3d(0, var(--parallax-y, 0), 0);
  pointer-events: none;
}
/* Kadr ZAWSZE w proporcji 16:9 */
.hero__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--image-bg);
  box-shadow: var(--shadow-lift);
  touch-action: pan-y;
  isolation: isolate;
}
.hero__frame::after {
  content: '';
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(247, 241, 232, 0.35);
  pointer-events: none;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide.is-leaving { z-index: 0; }

.hero__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.hero__counter { margin-right: auto; font-family: var(--f-serif); font-size: 1.1rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.hero__dots { display: none; gap: 0.35rem; margin-right: 0.5rem; }
.hero__dot { position: relative; display: block; width: 34px; height: 24px; }
.hero__dot::before, .hero__dot-fill {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: var(--line-strong);
  border-radius: 2px;
}
.hero__dot-fill { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current='true'] .hero__dot-fill { transform: scaleX(1); }
.is-progressing ~ .hero__controls .hero__dot[aria-current='true'] .hero__dot-fill { animation: heroProgress 6.5s linear forwards; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause .hero__play-icon { display: none; }
.hero__pause.is-paused .hero__pause-icon { display: none; }
.hero__pause.is-paused .hero__play-icon { display: block; fill: currentColor; stroke: none; }

.hero__scroll {
  position: absolute;
  left: var(--gutter); bottom: 1.5rem;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll-line { position: relative; width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; }
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0; top: -50%;
  width: 1px; height: 50%;
  background: var(--accent);
  animation: scrollCue 2.2s var(--ease-cine) infinite;
}
@keyframes scrollCue { 0% { top: -50%; } 100% { top: 100%; } }

/* ==========================================================================
   7. SEKCJE — WSPÓLNE
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); max-width: 54rem; }
.section-head--split { display: grid; gap: 1.5rem; max-width: none; align-items: end; }
.section-head__lead { max-width: 30rem; color: var(--text-muted); font-size: var(--fs-md); }
.deco-word {
  position: absolute;
  top: 2.5rem; right: -1rem;
  z-index: 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(7rem, 4rem + 16vw, 20rem);
  line-height: 0.8;
  color: var(--bg-alt);
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

/* ==========================================================================
   8. O MNIE
   ========================================================================== */
.about { overflow: hidden; }
.about__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; }
.about__media { position: relative; }
.about__figure { position: relative; overflow: hidden; border-radius: var(--radius-xs); box-shadow: var(--shadow-lift); background: var(--image-bg); }
.about__figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__figure::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(247, 241, 232, 0.45); pointer-events: none; }
.about__stamp {
  position: absolute;
  right: -0.5rem; bottom: -1.5rem;
  display: grid;
  place-content: center;
  width: 128px; height: 128px;
  border-radius: 50%;
  font-family: var(--f-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  color: #342824;
  background: var(--gold);
  box-shadow: var(--shadow-soft);
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(-8deg);
}
.about__text { display: grid; gap: 1rem; margin-top: 1.75rem; color: var(--text-muted); font-size: var(--fs-md); max-width: 36rem; }
.about__quote {
  margin: 2.25rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  line-height: 1.3;
  max-width: 34rem;
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.5rem; padding-block: 1.5rem; border-block: 1px solid var(--line); }
.stats__item { display: flex; flex-direction: column-reverse; gap: 0.2rem; }
.stats__item dd { font-family: var(--f-serif); font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 500; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats__item dt { font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--text-muted); }

/* ==========================================================================
   9. TECHNIKALIA
   ========================================================================== */
.gear { background: var(--bg-alt); }
.gear__list { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.gear-card__inner { position: relative; display: grid; gap: 1.25rem; }
.gear-card__media { position: relative; overflow: hidden; border-radius: var(--radius-xs); background: var(--image-bg); }
.gear-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease-out), filter var(--dur); }
.gear-card__media::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-cine);
}
.gear-card:hover .gear-card__media img { transform: scale(1.05); filter: saturate(1.08); }
.gear-card:hover .gear-card__media::after { transform: scaleX(1); }
.gear-card__body { position: relative; padding-left: 3.25rem; }
.gear-card__index { position: absolute; left: 0; top: 0.15rem; font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--caramel); }
.gear-card__title { font-family: var(--f-serif); font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; margin-bottom: 0.75rem; }
.gear-card__items { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.gear-card__items li {
  padding: 0.3rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  transition: border-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.gear-card:hover .gear-card__items li { border-color: var(--caramel); }
.gear-card:hover .gear-card__items li:nth-child(odd) { transform: translateY(-2px); }
.gear-card__desc { color: var(--text-muted); font-size: var(--fs-sm); max-width: 34rem; }

/* ==========================================================================
   10. PORTFOLIO
   ========================================================================== */
.portfolio__filters { display: flex; gap: 0.5rem; margin-bottom: 2.25rem; padding-bottom: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.portfolio__filters::-webkit-scrollbar { display: none; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.5rem 1.05rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur);
}
.filter-btn__count { font-size: 0.72rem; color: var(--text-muted); }
.filter-btn:hover { border-color: var(--text); }
.filter-btn[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-btn[aria-pressed='true'] .filter-btn__count { color: var(--gold); }
.portfolio__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.portfolio__empty { font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; color: var(--text-muted); }

.album-card { position: relative; min-height: 0; transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out); }
.album-card.is-filtering-out { opacity: 0 !important; transform: scale(0.96) !important; }
.album-card.is-filtering-in { opacity: 0 !important; transform: translateY(14px) !important; }
.album-card__link {
  position: relative;
  display: block;
  height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xs);
  color: #F7F1E8;
  background: #2A201C;
  isolation: isolate;
}
.album-card--wide .album-card__link { aspect-ratio: 4 / 3; }
.album-card__link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.album-card__frames { position: absolute; inset: 0; z-index: -1; }
.album-card__frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease-out); }
.album-card__frame.is-active { opacity: 1; }
.album-card__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.2s var(--ease-out); }
.album-card__link:hover .album-card__frame img, .album-card__link:focus-visible .album-card__frame img { transform: scale(1.06); }
.album-card__overlay { position: absolute; inset: auto 0 0 0; padding: 3.5rem 1.25rem 1.25rem; background: linear-gradient(to top, rgba(30, 22, 19, 0.85), rgba(30, 22, 19, 0.35) 65%, transparent); }
.album-card__cat { display: inline-block; margin-bottom: 0.4rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.album-card__title { font-family: var(--f-serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.album-card__meta { margin-top: 0.35rem; font-size: var(--fs-xs); color: rgba(247, 241, 232, 0.82); }
.album-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding-bottom: 2px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 164, 106, 0.6);
  transition: border-color var(--dur), gap var(--dur) var(--ease-out);
}
.album-card__link:hover .album-card__cta { border-color: var(--gold); gap: 0.75rem; }
.album-card__number { position: absolute; top: 1rem; right: 1.1rem; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: rgba(247, 241, 232, 0.75); }

/* ==========================================================================
   11. MODAL ALBUMU PUBLICZNEGO
   ========================================================================== */
.album-modal { position: fixed; inset: 0; z-index: 300; display: grid; opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.album-modal.is-open { opacity: 1; }
.album-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 11, 9, 0.72); }
.album-modal__panel {
  position: relative;
  width: 100%; height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 var(--gutter) 3rem;
  background: var(--bg);
  transform: translateY(24px);
  transition: transform 0.55s var(--ease-cine);
}
.album-modal.is-open .album-modal__panel { transform: none; }
.album-modal__header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.75rem var(--gutter);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.album-modal__back { font-size: var(--fs-sm); font-weight: 600; padding-block: 0.6rem; }
.album-modal__intro { max-width: 60rem; margin: 2rem auto 1.75rem; }
.album-modal__title { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); }
.album-modal__meta { margin-top: 0.6rem; color: var(--text-muted); font-size: var(--fs-sm); }
.album-modal__desc { max-width: 60rem; margin: 1.5rem auto; color: var(--text-muted); }
.album-modal__hint { max-width: 60rem; margin: 1.5rem auto 0; font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }
.album-stage { position: relative; max-width: 1200px; margin-inline: auto; background: #1E1714; border-radius: var(--radius-xs); overflow: hidden; }
.album-stage__frame { position: relative; height: min(62vh, 760px); min-height: 280px; touch-action: pan-y; }
.album-stage__image { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease-out); }
.album-stage__image.is-active { opacity: 1; }
.album-stage__img { width: 100%; height: 100%; object-fit: contain; }
.album-stage__nav { position: absolute; top: calc(50% - 40px); }
.album-stage__nav--prev { left: 0.75rem; }
.album-stage__nav--next { right: 0.75rem; }
.album-stage__caption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; font-size: var(--fs-sm); color: rgba(247, 241, 232, 0.88); background: #1E1714; }
.album-stage__counter { font-family: var(--f-serif); font-size: 1.05rem; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.album-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.6rem; max-width: 1200px; margin-inline: auto; }
.album-thumb { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-xs); opacity: 0.6; transition: opacity var(--dur-fast); }
.album-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.album-thumb:hover { opacity: 1; }
.album-thumb[aria-current='true'] { opacity: 1; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==========================================================================
   12. OFERTA
   ========================================================================== */
.offer { overflow: hidden; }
.offer__box { display: grid; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lift); overflow: hidden; }
.offer__tabs { display: flex; gap: 0.25rem; padding: 0.75rem; overflow-x: auto; scrollbar-width: none; background: var(--band); }
.offer__tabs::-webkit-scrollbar { display: none; }
.offer-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--on-band-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur), background-color var(--dur);
}
.offer-tab__num { font-family: var(--f-serif); font-style: italic; font-size: 1rem; color: var(--gold); opacity: 0.7; }
.offer-tab__label { font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.offer-tab:hover { color: var(--on-band); }
.offer-tab[aria-selected='true'] { color: var(--text); background: var(--surface); }
.offer-tab[aria-selected='true'] .offer-tab__num { opacity: 1; color: var(--accent); }
.offer-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.offer__panel { display: grid; opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.offer__panel.is-active { opacity: 1; transform: none; }
.offer__panel:focus-visible { outline-offset: -4px; }
.offer__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--image-bg); }
.offer__media picture, .offer__img { width: 100%; height: 100%; object-fit: cover; }
.offer__panel.is-active .offer__img { animation: offerZoom 1.4s var(--ease-out); }
@keyframes offerZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.offer__content { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.offer__eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); }
.offer__title { margin-top: 0.6rem; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.offer__desc { margin-top: 1rem; color: var(--text-muted); font-size: var(--fs-md); }
.offer__details { display: grid; gap: 1.1rem; margin: 1.75rem 0 2rem; }
.offer__detail { display: grid; gap: 0.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.offer__detail dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.offer__detail dd { font-size: var(--fs-sm); }
.offer__detail--price dd { font-family: var(--f-serif); font-size: 2.2rem; font-weight: 500; line-height: 1.1; color: var(--accent); }
.offer__note { margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--text-muted); }

/* ==========================================================================
   13. KONTAKT I FORMULARZE
   ========================================================================== */
.contact { background: var(--band); color: var(--on-band); overflow: hidden; }
.contact .eyebrow, .contact .section-title em { color: var(--gold); }
.contact__grid { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 6rem); }
.contact__lead { margin-top: 1.5rem; max-width: 30rem; color: var(--on-band-muted); font-size: var(--fs-md); }
.contact__list { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.contact__list li { display: grid; gap: 0.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--band-line); }
.contact__list a, .contact__list li > span:last-child { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.3; word-break: break-word; }
.contact__label { font-family: var(--f-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.contact__form-wrap { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); color: var(--text); background: var(--bg); border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.contact-form { display: grid; gap: 1.25rem; }
.contact-form__note { font-size: var(--fs-xs); color: var(--text-muted); }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field-row { display: grid; gap: 1.25rem; }
.field__label { font-size: var(--fs-sm); font-weight: 600; }
.field__optional { font-weight: 400; color: var(--text-muted); }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
  appearance: none;
}
.field__input::placeholder { color: var(--text-muted); opacity: 0.8; }
.field__input:hover { border-color: var(--caramel); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field__input:disabled { opacity: 0.6; }
.field__input--textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field__select { position: relative; }
.field__select::after {
  content: '';
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__select .field__input { padding-right: 2.5rem; }
input[type='date'].field__input::-webkit-calendar-picker-indicator { filter: var(--date-icon-filter, none); }
[data-theme='dark'] { --date-icon-filter: invert(0.85); }
.field__error { font-size: var(--fs-xs); font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.field.has-error .field__input, .field__input[aria-invalid='true'] { border-color: var(--error); background: var(--error-bg); }
.field--checkbox { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.75rem; }
.field--checkbox label { font-size: var(--fs-sm); line-height: 1.55; color: var(--text-muted); }
.field--checkbox .field__error { grid-column: 1 / -1; }
.checkbox { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--accent); cursor: pointer; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: var(--fs-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status--error { padding: 0.75rem 1rem; color: var(--error); background: var(--error-bg); border-radius: var(--radius-sm); }
.form-success { display: grid; justify-items: start; gap: 1rem; padding-block: 1rem; animation: fadeUp 0.6s var(--ease-out); }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); }
.form-success__icon svg { width: 30px; height: 30px; fill: none; stroke: #342824; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success__title { font-family: var(--f-serif); font-size: 2.2rem; font-weight: 500; line-height: 1.1; }
.form-success p { color: var(--text-muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   14. STOPKA
   ========================================================================== */
.site-footer { padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); background: var(--bg); border-top: 1px solid var(--line); }
.site-footer__inner { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__handle { margin-top: 0.85rem; color: var(--text-muted); font-family: var(--f-serif); font-size: 1.1rem; letter-spacing: 0.04em; }
.site-footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
.site-footer__heading { margin-bottom: 0.75rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.site-footer__nav ul { display: grid; gap: 0.5rem; list-style: none; padding: 0; font-size: var(--fs-sm); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.5rem; font-size: var(--fs-xs); color: var(--text-muted); border-top: 1px solid var(--line); }
.site-footer--minimal { padding-top: 0; }
.site-footer--minimal .site-footer__bottom { border-top: 0; }
.admin-link { color: inherit; cursor: default; }

/* ==========================================================================
   15. PANEL KLIENTA + strony informacyjne
   ========================================================================== */
.client__layout { display: grid; min-height: calc(100vh - var(--header-h)); }
.client__visual { position: relative; height: 220px; overflow: hidden; background: #2A201C; }
.client__visual picture, .client__visual img { width: 100%; height: 100%; object-fit: cover; }
.client__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 22, 19, 0.75), rgba(30, 22, 19, 0.15)); }
.client__visual-quote { position: absolute; left: var(--gutter); bottom: 1.5rem; z-index: 1; font-family: var(--f-serif); font-size: clamp(1.8rem, 1.4rem + 2vw, 3.4rem); line-height: 1.05; color: #F7F1E8; }
.client__visual-quote em { color: var(--gold); }
.client__panel { display: grid; align-items: center; padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) var(--gutter); }
.client__card { width: 100%; max-width: 460px; margin-inline: auto; }
.client__title { font-size: clamp(2.4rem, 1.9rem + 2.5vw, 3.6rem); }
.client__lead { margin: 1rem 0 1.5rem; color: var(--text-muted); }
.access-form { display: grid; gap: 1.25rem; }
.access-form.has-error .password-field { animation: shake 0.4s var(--ease-out); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.password-field { position: relative; }
.password-field .field__input { padding-right: 6.5rem; letter-spacing: 0.04em; }
.password-field__toggle {
  position: absolute;
  top: 50%; right: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-50%);
}
.password-field__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.password-field__toggle:hover { background: var(--bg-alt); }
.password-field__toggle[aria-pressed='true'] svg { stroke: var(--accent); }
.client__help { display: grid; gap: 0.75rem; margin-top: 2rem; padding-top: 1.5rem; font-size: var(--fs-sm); color: var(--text-muted); border-top: 1px solid var(--line); }
.client__help a { color: var(--text); }

.legal { max-width: 52rem; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.legal h2 { margin: 2rem 0 0.5rem; font-family: var(--f-serif); font-size: 1.6rem; font-weight: 500; }
.legal p { color: var(--text-muted); }
.legal .section-title { margin-bottom: 1.5rem; }

/* ==========================================================================
   16. PRYWATNY ALBUM
   ========================================================================== */
.demo-strip { padding: 0.55rem var(--gutter); font-size: var(--fs-xs); font-weight: 600; text-align: center; color: #342824; background: var(--gold); }
.pa-expiry { display: none; margin: 0; font-size: var(--fs-xs); color: var(--text-muted); }
.pa-hero { position: relative; display: flex; align-items: flex-end; min-height: 62vh; padding-block: 3rem; color: #F7F1E8; background: #2A201C; overflow: hidden; isolation: isolate; }
.pa-hero__media { position: absolute; inset: 0; z-index: -2; }
.pa-hero__img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 14s var(--ease-out) forwards; }
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.pa-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(30, 22, 19, 0.85), rgba(30, 22, 19, 0.2) 70%); }
.pa-hero__title { font-size: clamp(2.4rem, 1.7rem + 3.4vw, 5rem); max-width: 18ch; }
.pa-hero__meta { margin-top: 1rem; font-size: var(--fs-sm); color: rgba(247, 241, 232, 0.85); }
.pa-message { max-width: 52rem; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); text-align: center; }
.pa-message__title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); }
.pa-message__text { margin-top: 1.25rem; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); line-height: 1.4; }
.pa-message__sign { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--text-muted); }
.pa-toolbar { position: sticky; top: var(--header-h); z-index: 50; background: var(--header-bg); border-block: 1px solid var(--line); }
.pa-toolbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding-block: 0.75rem; }
.pa-toolbar__count { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); }
.pa-toolbar__count svg { width: 20px; height: 20px; fill: var(--accent); }
.pa-toolbar__count strong { font-family: var(--f-serif); font-size: 1.4rem; color: var(--accent); }
.pa-toolbar__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
[data-filter-favorites][aria-pressed='true'] { --btn-bg: var(--text); --btn-fg: var(--bg); }
.pa-note { display: grid; gap: 0.3rem; padding-bottom: 0.75rem; }
.pa-note__label { font-size: var(--fs-xs); font-weight: 600; }
.pa-note__input { min-height: 44px; font-size: var(--fs-sm); resize: vertical; }
.pa-gallery { padding-block: 2.5rem 5rem; }
.pa-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.pa-item { position: relative; border-radius: var(--radius-xs); overflow: hidden; background: var(--image-bg); }
.pa-item__open { display: block; width: 100%; }
.pa-item__open img { width: 100%; transition: transform 1s var(--ease-out); }
.pa-item__open:hover img, .pa-item__open:focus-visible img { transform: scale(1.04); }
.pa-item__open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.pa-item__num { position: absolute; left: 0.85rem; bottom: 0.65rem; font-family: var(--f-serif); font-style: italic; color: rgba(255, 253, 252, 0.9); pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.fav-btn { position: absolute; top: 0.65rem; right: 0.65rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(30, 22, 19, 0.4); transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.fav-btn svg, .fav-toggle svg { width: 22px; height: 22px; fill: none; stroke: #FFFDFC; stroke-width: 1.6; }
.fav-btn:hover { background: rgba(30, 22, 19, 0.65); transform: scale(1.06); }
.fav-btn[aria-pressed='true'], .fav-toggle[aria-pressed='true'] { background: var(--terracotta); border-color: var(--terracotta); }
.fav-btn[aria-pressed='true'] svg, .fav-toggle[aria-pressed='true'] svg { fill: #FFFDFC; animation: pop 0.35s var(--ease-out); }
.fav-btn:focus-visible { outline: 2px solid #FFFDFC; outline-offset: 2px; box-shadow: 0 0 0 4px var(--terracotta); }
@keyframes pop { 50% { transform: scale(1.25); } }
.pa-empty { padding: 3rem 1rem; text-align: center; color: var(--text-muted); font-family: var(--f-serif); font-size: 1.4rem; font-style: italic; }

/* ==========================================================================
   17. LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-rows: auto 1fr auto auto; color: #F7F1E8; background: var(--lightbox-bg); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.lightbox.is-open { opacity: 1; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem var(--gutter); }
.lightbox__bar-actions { display: flex; gap: 0.5rem; }
.lightbox__counter { font-family: var(--f-serif); font-size: 1.2rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; margin: 0 var(--gutter); touch-action: pan-y; min-height: 0; }
.lightbox__image { position: absolute; inset: 0; opacity: 0; transform: scale(0.985); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); pointer-events: none; }
.lightbox__image.is-active { opacity: 1; transform: none; }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
.lightbox__caption { padding: 0.75rem var(--gutter) 0.25rem; text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; }
.lightbox__hint { padding: 0 var(--gutter) 1rem; text-align: center; font-size: var(--fs-xs); color: rgba(247, 241, 232, 0.55); }

/* ==========================================================================
   18. KOMUNIKATY, TOAST, REVEAL
   ========================================================================== */
.notice { margin: 0 0 1rem; padding: 0.85rem 1rem; font-size: var(--fs-sm); line-height: 1.55; background: var(--warn-bg); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.notice p + p { margin-top: 0.5rem; }
.notice--success { background: var(--success-bg); border-left-color: var(--success); }
.notice--error { color: var(--error); background: var(--error-bg); border-left-color: var(--error); }

.toast-region { position: fixed; left: 50%; bottom: 1.25rem; z-index: 500; display: grid; gap: 0.5rem; width: min(92vw, 460px); transform: translateX(-50%); pointer-events: none; }
.toast { padding: 0.9rem 1.15rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--bg); background: var(--text); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.toast.is-visible { opacity: 1; transform: none; }
.toast--success { border-left-color: #9DB58F; }
.toast--error { border-left-color: #E08B74; }

.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.9s var(--ease-out) var(--reveal-delay, 0ms), transform 0.9s var(--ease-out) var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Odsłanianie zdjęcia — clip-path na <picture> (obserwowany element ma realny rozmiar) */
.js .reveal--image { opacity: 1; transform: none; }
.js .reveal--image picture { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-cine) var(--reveal-delay, 0ms); }
.js .reveal--image img { transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.js .reveal--image.is-visible picture { clip-path: inset(0 0 0 0); }
.js .reveal--image.is-visible img { transform: scale(1); }
.js .album-card.reveal.is-visible { transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out); transition-delay: 0ms; }
