/* =========================================================
   BACKDOOR EVENT ŁÓDŹ · Art direction V2
   Private Members Club × Speakeasy × Luxury Casino Editorial
   Bez neonów, glow i gradientowych aureoli. Światło pochodzi ze zdjęć.
   ========================================================= */
/* FONTY LOKALNE (Final Mobile Performance, 04.12.2026): pliki WOFF2 z assets/fonts (scripts/build-fonts.py, licencja SIL OFL 1.1 w assets/fonts/OFL-*.txt).
   Te same rodziny, style i zakresy osi co wcześniej z Google Fonts; podzbiór: łacina z polskimi literami. font-display: swap (tekst od razu w kroju zastępczym).
   Krytyczne dla pierwszego ekranu (DM Serif Display ×2, Instrument Sans) mają preload w <head> strony głównej.
   Fraunces (tylko sekcje poniżej pierwszego ekranu) ma osobny arkusz assets/fonts/fraunces.css, włączany po wczytaniu zdjęcia hero. */
@font-face { font-family: "DM Serif Display"; src: url("assets/fonts/dm-serif-display.woff2?v=1") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("assets/fonts/dm-serif-display-italic.woff2?v=1") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans.woff2?v=1") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; }


:root {
  --black: #0d0c0c;          /* Midnight Black */
  --char: #191716;           /* Charcoal */
  --char-2: #221f1d;         /* podniesiona powierzchnia */
  --burgundy: #541b27;       /* Deep Burgundy */
  --burgundy-2: #6a2433;     /* hover */
  --brass: #a38b65;          /* Antique Brass */
  --brass-2: #c2aa82;        /* brass na ciemnym tle, tekst */
  --ivory: #eae3d6;          /* Warm Ivory */
  --ivory-2: rgba(234, 227, 214, .74);
  --ivory-3: rgba(234, 227, 214, .52);
  --line: rgba(234, 227, 214, .13);
  --line-brass: rgba(163, 139, 101, .42);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --m: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);

  --t-display: clamp(2.5rem, 4.6vw, 4.6rem);
  --t-h3: clamp(1.35rem, 1.7vw, 1.7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ivory); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; border: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 380; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
:focus-visible { outline: 1.5px solid var(--brass-2); outline-offset: 4px; }
::selection { background: var(--burgundy); color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ivory); color: var(--black); padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--m)); margin-inline: auto; }
/* kadry baru bez lodówki z cudzym logo przy prawej krawędzi (lightbox pokazuje pełne zdjęcie) */
img.crop-r { width: 118% !important; max-width: none; object-position: 0% 55%; }
.h2 { font-size: var(--t-display); }

/* ---------- przyciski: płaskie bordo, bez glow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 2px;
  background: var(--burgundy); color: var(--ivory); border: 1px solid var(--burgundy);
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s;
}
.btn:hover { background: var(--burgundy-2); border-color: var(--burgundy-2); }
.btn--line { background: transparent; border-color: var(--line-brass); color: var(--ivory); }
.btn--line:hover { background: rgba(163, 139, 101, .1); border-color: var(--brass); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.link { position: relative; display: inline-block; padding-bottom: 3px; color: var(--ivory); font-size: .95rem; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }

/* ---------- reveal ---------- */
.js [data-r] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-mask] { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease-io); }
.js [data-mask] img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js [data-mask].in { clip-path: inset(0 0 0 0); }
.js [data-mask].in img { transform: none; }

/* Nawigacja, hero, o miejscu i wydarzenia: site-v3.css (V3). Wersja V4 w docs/archive/styles-v4.css */

/* =========================================================
   SCENARIUSZE: talia kart
   ========================================================= */
.cards { padding: clamp(90px, 13vh, 160px) 0; background: var(--black); overflow: hidden; }
.cards__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(48px, 7vh, 84px); }
.cards__head p { color: var(--ivory-2); max-width: 40ch; }
.deck { display: flex; justify-content: center; gap: clamp(16px, 1.8vw, 30px); padding: 20px var(--m) 30px; }
.pc { --w: clamp(250px, 20.5vw, 330px); flex: 0 0 var(--w); outline: none; transition: translate .5s var(--ease), scale .5s var(--ease); }
.pc__face {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 5 / 7.6; padding: 46px 22px 50px; border-radius: 12px;
  /* matowy, ciemny karton */
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(234, 227, 214, .05), transparent 60%),
    linear-gradient(180deg, #1d1a19, #141211);
  box-shadow:
    inset 0 0 0 1px rgba(163, 139, 101, .55),          /* zewnętrzna mosiężna linia */
    inset 0 0 0 9px #171413,
    inset 0 0 0 10px rgba(163, 139, 101, .22),         /* wewnętrzna linia */
    0 1px 0 rgba(255, 255, 255, .04),
    0 24px 40px -18px rgba(0, 0, 0, .9),
    0 6px 12px -4px rgba(0, 0, 0, .6);
  transition: box-shadow .5s var(--ease);
}
.pc__idx { position: absolute; top: 18px; left: 20px; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 500 1.15rem/1 var(--serif); color: var(--ivory); }
.pc__idx svg { width: 13px; height: 13px; fill: currentColor; }
.pc--red .pc__idx { color: #b5495c; }
.pc__idx--b { top: auto; left: auto; bottom: 18px; right: 20px; transform: rotate(180deg); }
.pc__photo { position: relative; flex: 0 0 auto; aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px rgba(163, 139, 101, .3); }
.pc__photo img { width: 100%; height: 100%; object-fit: cover; }
.pc h3 { margin: 20px 0 8px; font-size: 1.55rem; }
.pc p { font-size: .9rem; line-height: 1.55; color: var(--ivory-2); }
.pc:hover, .pc:focus-visible { translate: 0 -14px; scale: 1.025; z-index: 2; }
.pc:hover .pc__face, .pc:focus-visible .pc__face {
  box-shadow: inset 0 0 0 1px rgba(163, 139, 101, .85), inset 0 0 0 9px #171413, inset 0 0 0 10px rgba(163, 139, 101, .3), 0 1px 0 rgba(255, 255, 255, .04), 0 40px 60px -22px rgba(0, 0, 0, .95), 0 10px 18px -6px rgba(0, 0, 0, .7);
}
.cards__cta { display: flex; justify-content: center; margin-top: clamp(40px, 6vh, 64px); }

/* =========================================================
   GALERIA (wzorzec Magnolii)
   ========================================================= */
.gal { padding: clamp(90px, 12vh, 150px) 0 clamp(70px, 10vh, 120px); background: var(--char); overflow: hidden; }
.gal__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.gal__tools { display: flex; align-items: center; gap: 28px; }
.gal__count { font: italic 400 1rem/1 var(--serif); color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.gal__count b { font-weight: 400; color: var(--ivory); }
.gal__arrows { display: flex; gap: 6px; }
.gal__arrow { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; color: var(--ivory); transition: border-color .3s, background-color .3s, opacity .3s; }
.gal__arrow svg { width: 22px; height: 22px; }
.gal__arrow:hover:not(:disabled) { border-color: var(--brass); background: rgba(163, 139, 101, .08); }
.gal__arrow:disabled { opacity: .3; cursor: default; }
.gal__track {
  --slide: min(62vw, 1060px);
  display: flex; gap: clamp(16px, 2.2vw, 34px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 max(var(--m), calc((100vw - var(--max)) / 2)); scroll-padding-inline: max(var(--m), calc((100vw - var(--max)) / 2));
  scrollbar-width: none; cursor: grab;
}
.gal__track::-webkit-scrollbar { display: none; }
.gal__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.gal__track.is-drag .slide__media { pointer-events: none; }
.slide { flex: 0 0 var(--slide); scroll-snap-align: start; }
.slide__media { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 62svh; overflow: hidden; background: #0f0e0d; cursor: zoom-in; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); user-select: none; -webkit-user-drag: none; }
.slide__media:hover img { transform: scale(1.03); }
.slide h3 { margin-top: 18px; font-size: var(--t-h3); }
.slide p { margin-top: 6px; color: var(--ivory-2); font-size: .95rem; max-width: 50ch; }

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0a0a; color: var(--ivory); overflow: hidden; }
.lb::backdrop { background: rgba(8, 7, 7, .92); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; animation: lb-in .4s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb__top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--m); }
.lb__count { font-size: .9rem; color: var(--ivory-2); font-variant-numeric: tabular-nums; }
.lb__close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .95rem; }
.lb__close svg { width: 18px; height: 18px; }
.lb__figure { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-height: 0; padding: 0 calc(var(--m) + 64px) 22px; touch-action: pan-y; }
.lb__pic { position: relative; min-height: 0; }
.lb__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.lb__pic img.is-loading { opacity: 0; }
.lb__caption { text-align: center; font-size: .92rem; color: var(--ivory-2); max-width: 60em; margin-inline: auto; }
.lb__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, background-color .3s; }
.lb__nav svg { width: 22px; height: 22px; }
.lb__nav:hover { border-color: var(--brass); background: rgba(163, 139, 101, .08); }
.lb__nav--prev { left: var(--m); }
.lb__nav--next { right: var(--m); }

/* =========================================================
   OPINIE · dwa rzędy kart (od 6 opinii), kompaktowy rząd jako fallback
   ========================================================= */
.reviews { padding: clamp(80px, 11vh, 130px) 0; background: var(--black); overflow: hidden; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vh, 44px); }
.reviews__head { align-items: center; }
.rev-score { display: grid; gap: 8px; min-width: min(100%, 420px); padding: 26px 28px; background: var(--char); border: 1px solid var(--line-brass); }
.rev-score__src { font: italic 400 .95rem/1.3 var(--serif); color: var(--brass-2); }
.rev-score__val { display: flex; align-items: center; gap: 14px; }
.rev-score__val b { font: 400 3.4rem/1 var(--serif); }
.rev-score__val .rv__stars svg { width: 16px; height: 16px; }
.rev-score__note { font-size: .88rem; color: var(--ivory-3); }
.rev-score__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.reviews.is-carousel .rv-row { padding: 4px 0; }
.rev-toggle { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-brass); border-radius: 2px; font-size: .85rem; color: var(--ivory-2); transition: border-color .3s, color .3s; }
.rev-toggle:hover { border-color: var(--brass); color: var(--ivory); }
.reviews__rows { display: grid; gap: 18px; }
.rv-row { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px max(var(--m), calc((100vw - var(--max)) / 2)); }
.rv-row::-webkit-scrollbar { display: none; }
/* telefon: jeden rząd opinii przesuwany palcem, karta przyciągana do środka, następna widoczna na krawędzi */
.reviews.is-swipe .rv-row { scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding: 4px var(--m) 10px; }
.reviews.is-swipe .rv { flex-basis: min(84vw, 360px); scroll-snap-align: center; }
.reviews.is-carousel .rv-row { cursor: grab; }
.reviews.is-carousel .rv-row.is-drag { cursor: grabbing; user-select: none; }
.rv {
  position: relative; flex: 0 0 clamp(280px, 29vw, 400px); display: flex; flex-direction: column; gap: 14px;
  padding: 26px 26px 22px; background: var(--char); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .4s;
}
.rv:hover { border-color: var(--line-brass); }
.rv::after { /* indeks karty w rogu, jak w talii */
  content: ""; position: absolute; top: 18px; right: 20px; width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid rgba(163, 139, 101, .55);
}
.rv__stars { display: flex; gap: 4px; color: var(--brass); }
.rv__stars svg { width: 14px; height: 14px; fill: currentColor; }
.rv__quote { flex: 1; font: 400 1.04rem/1.55 var(--serif); color: var(--ivory); }
.rv__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ivory-3); }
.rv__who > span:last-child { display: grid; gap: 1px; }
.rv__who b { font-weight: 500; color: var(--ivory); }
.rv__who small { font-size: .76rem; color: var(--brass-2); }
.rv__who a { border-bottom: 1px solid var(--line-brass); }
.rv__av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--burgundy); font: 400 1rem/1 var(--serif); color: var(--ivory); }
.reviews .h2 em { font-style: italic; font-weight: 300; color: var(--brass-2); }
.rv--invite { background: transparent; border-color: var(--line-brass); justify-content: space-between; }
.rv--invite::after { display: none; }
.rv__suit { width: 18px; height: 18px; fill: var(--burgundy-2); }
.rv--invite .rv__quote { font-style: italic; color: var(--ivory-2); }
.rv--invite .link { align-self: flex-start; }

/* =========================================================
   LOKALIZACJA: Polska → Łódź → al. Piłsudskiego 5 (system map z Magnolii)
   ========================================================= */
.loc { position: relative; background: radial-gradient(110% 90% at 70% 50%, #1b1817 0%, var(--black) 70%); color: var(--ivory); }
.loc__pin {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px;
  min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 24px) max(var(--m), calc((100vw - var(--max)) / 2)) 56px; overflow: hidden;
}
.js.motion .loc { height: calc(100vh + var(--loc-scroll, 160vh)); height: calc(100svh + var(--loc-scroll, 160vh)); }
.js.motion .loc__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.loc__text { position: relative; z-index: 2; display: grid; gap: clamp(18px, 2.6vh, 28px); max-width: 30rem; }
.loc__title { font-size: clamp(2.3rem, 3.8vw, 3.9rem); line-height: 1.04; }
.loc__steps { display: grid; }
.loc__step { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.loc__num { font-size: .8rem; color: var(--brass-2); font-variant-numeric: tabular-nums; }
.loc__step h3 { font-size: 1.45rem; }
.loc__step p:last-child { color: var(--ivory-2); max-width: 30em; }
.loc__track { display: none; }
.loc__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.loc__gmb { margin-top: 16px; } /* link do oficjalnej wizytówki Google (Final Client Data) */
.loc__viewport { position: absolute; inset: 0; z-index: 0; }
.loc__canvas, .loc__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc__fallback { left: 42%; width: 54%; object-fit: contain; padding: 8% 0; }
.js .loc__fallback { display: none; }
.map-failed .loc__fallback { display: block; }
html:not(.js) .loc__canvas { display: none; }
.loc__pin::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(13, 12, 12, .96) 0%, rgba(13, 12, 12, .82) 30%, rgba(13, 12, 12, 0) 48%); }
.loc__credit { position: absolute; right: var(--m); bottom: 14px; z-index: 2; font-size: .72rem; color: var(--ivory-3); }
.loc__credit a { border-bottom: 1px solid var(--line); }
.js.motion .loc__steps { position: relative; min-height: 7.6rem; }
.js.motion .loc__step { position: absolute; inset: 0 0 auto; border-top: 0; padding-top: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js.motion .loc__step.is-active { opacity: 1; transform: none; }
.js.motion .loc__track { display: flex; }
.loc__dot { position: relative; flex: 1; display: grid; gap: 8px; justify-items: start; font-size: .8rem; color: var(--ivory-3); }
.loc__dot i { position: relative; z-index: 1; width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid var(--brass); background: var(--black); transition: background-color .4s; }
.loc__dot:not(:last-child)::after { content: ""; position: absolute; left: 16px; right: 6px; top: 5px; height: 1px; background: var(--line); transition: background-color .4s; }
.loc__dot.is-done:not(:last-child)::after { background: var(--brass); }
.loc__dot.is-on i { background: var(--brass); }
.loc__dot.is-on span { color: var(--ivory); }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { padding: clamp(90px, 13vh, 160px) 0; background: var(--char); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__lead { margin: 24px 0 36px; max-width: 36ch; color: var(--ivory-2); font-size: 1.08rem; }
.contact__phone { display: inline-block; font: 400 clamp(2rem, 3.4vw, 3rem)/1.1 var(--serif); padding-bottom: 6px; border-bottom: 1px solid var(--line-brass); transition: border-color .3s; }
.contact__phone:hover { border-color: var(--brass); }
.contact__list { margin-top: 36px; display: grid; }
.contact__list li { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ivory-2); }
.contact__list span { color: var(--ivory-3); font-size: .85rem; }
.contact__list a { color: var(--ivory); border-bottom: 1px solid var(--line-brass); }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 44px); background: var(--black); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 12px; padding: 0; font: 400 1.3rem/1.2 var(--serif); }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 2px; font-size: .88rem; color: var(--ivory-2); transition: border-color .3s, background-color .3s, color .3s; }
.chips label:hover span { border-color: var(--line-brass); color: var(--ivory); }
.chips input:checked + span { border-color: var(--burgundy-2); background: var(--burgundy); color: var(--ivory); }
.chips input:focus-visible + span { outline: 1.5px solid var(--brass-2); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .8rem; color: var(--ivory-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--char);
  font: inherit; font-size: .98rem; color: var(--ivory); color-scheme: dark; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select option { background: var(--char); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
@media (max-width: 899px) { .field input, .field select, .field textarea { font-size: 16px; } } /* iOS nie powiększa strony przy fokusie pola */
.field.is-invalid input { border-color: #b5495c; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ivory-2); cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--burgundy); }
.consent.is-invalid span { color: #d78a97; }
.form__msg { min-height: 1.4em; font-size: .92rem; color: var(--brass-2); }
.form__msg.is-error { color: #d78a97; }
/* Client Revision V1: komunikat bez wysyłki online (telefon / Messenger), rodzaj wydarzenia z karty, informacja o pojemności */
.form__msg.is-info { color: var(--ivory-2); }
.form__msg a { color: var(--ivory); border-bottom: 1px solid var(--line-brass); }
.field.is-invalid textarea { border-color: #b5495c; }
.form__ctx { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form__ctx[hidden] { display: none; }
.form__ctx span { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-3); }
.form__ctx b { font: italic 400 1.12rem/1.25 var(--serif); color: var(--brass-2); }
.form__ctx-x { margin-left: auto; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--line-brass); background: none; font: inherit; font-size: .82rem; color: var(--ivory-3); cursor: pointer; }
.form__ctx-x:hover { color: var(--ivory); }
.form__cap { padding-top: 14px; border-top: 1px solid var(--line); font: italic 400 1.02rem/1.45 var(--serif); color: var(--ivory-2); }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* honeypot: niewidoczny dla ludzi i czytników */
.form__ts { display: flex; justify-content: center; }
.form__ts:empty { display: none; }
/* obowiązkowe potwierdzenie polityki prywatności: własny kwadrat (natywny checkbox z appearance: none, więc klawiatura, spacja i czytniki działają bez JS);
   zaznaczony = bordo z mosiężnym znacznikiem; cała etykieta klikalna, pole dotyku min. 44 px; link otwiera politykę w nowej karcie (dane formularza zostają) */
.form__consent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 12px; }
.form__consent input { appearance: none; -webkit-appearance: none; position: relative; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--line-brass); border-radius: 2px; background: var(--char); cursor: pointer; transition: background-color .2s, border-color .2s; }
.form__consent input::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--brass-2); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .18s var(--ease, ease); }
.form__consent input:checked { border-color: var(--burgundy-2); background: var(--burgundy); }
.form__consent input:checked::after { transform: rotate(45deg) scale(1); }
.form__consent input:hover { border-color: var(--brass); }
.form__consent input:focus-visible { outline: 1.5px solid var(--brass-2); outline-offset: 3px; }
.form__consent label { padding: 1px 0 10px; font-size: .9rem; line-height: 1.45; color: var(--ivory-2); cursor: pointer; }
.form__consent a { color: var(--ivory); border-bottom: 1px solid var(--line-brass); transition: color .2s, border-color .2s; }
.form__consent a:hover { color: var(--brass-2); border-color: var(--brass-2); }
.form__consent.is-invalid input { border-color: #b5495c; box-shadow: 0 0 0 1px #b5495c; }
.form__consent-err { grid-column: 2; margin-top: -6px; font-size: .82rem; color: #d78a97; }
.form__consent-err[hidden] { display: none; }
@media (pointer: coarse) { .form__consent input { width: 24px; height: 24px; margin-top: 0; } .form__consent input::after { left: 8px; top: 3px; width: 7px; height: 13px; } .form__consent label { padding-block: 2px 12px; } }
.form__legal { font-size: .78rem; line-height: 1.5; color: var(--ivory-3); }
.form__legal a { color: var(--ivory-2); border-bottom: 1px solid var(--line-brass); }
.form__legal a:hover { color: var(--ivory); }
.form[aria-busy="true"] button[type=submit] { cursor: progress; opacity: .8; }

/* ---------- polityka prywatności (polityka-prywatnosci.html) ---------- */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: min(var(--max), 100% - 2 * var(--m)); margin: 0 auto; padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal__brand img { display: block; width: clamp(150px, 30vw, 200px); height: auto; } /* logo klienta (przezroczyste tło) */
.legal__back { padding-bottom: 2px; border-bottom: 1px solid var(--line-brass); font-size: .9rem; color: var(--ivory-2); }
.legal__back:hover { color: var(--ivory); }
.legal { flex: 1; width: min(760px, 100% - 2 * var(--m)); margin: 0 auto; padding: clamp(48px, 8vh, 96px) 0 clamp(56px, 9vh, 110px); }
.legal h1 { margin: 0 0 22px; font: 300 clamp(2.4rem, 5vw, 3.8rem)/1.02 var(--serif); letter-spacing: -.02em; }
.legal h2 { margin: 46px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--serif); }
.legal p, .legal li { color: var(--ivory-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--brass); }
.legal a { color: var(--ivory); border-bottom: 1px solid var(--line-brass); }
.legal__lead { font: italic 400 1.15rem/1.55 var(--serif); color: var(--ivory) !important; }
.legal__foot { width: min(var(--max), 100% - 2 * var(--m)); margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ivory-3); }
.legal__foot p { margin: 0; }
.legal__foot .legal__firm { margin-top: 4px; }
.legal :focus-visible, .legal__top :focus-visible { outline: 1.5px solid var(--brass-2); outline-offset: 4px; }

/* =========================================================
   STOPKA
   ========================================================= */
.footer { padding: 48px 0 36px; background: var(--black); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: start; }
.footer__brand { display: inline-block; }
.footer__brand img { display: block; width: clamp(220px, 22vw, 280px); height: auto; } /* pełne logo klienta: linia „& texas hold’em club” ok. 12–14 px */
.footer__addr { margin-top: 22px; font-size: .9rem; color: var(--ivory-3); }
.footer__firm { margin-top: 10px; font-size: .76rem; line-height: 1.5; color: var(--ivory-3); } /* dane prawne operatora (nazwa marketingowa: BACKDOOR Event Łódź) */
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; font-size: .9rem; color: var(--ivory-2); }
.footer__nav a:hover { color: var(--ivory); }
.footer__copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ivory-3); }
.footer__copy a { border-bottom: 1px solid var(--line); }
/* dolny wiersz: ta sama linia i odstęp co wcześniej nad copyrightem; podpis wykonawcy po prawej, na wysokości copyrightu */
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__bottom .footer__copy { padding-top: 0; border-top: 0; }
.footer__credit { font-size: .8rem; letter-spacing: .01em; color: var(--ivory-3); }
.footer__credit a { color: var(--ivory-2); border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--brass-2); border-color: var(--line-brass); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 899px) {
  :root { --nav-h: 66px; }


  .cards__head { grid-template-columns: 1fr; }

  .deck { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px var(--m) 34px; scroll-padding-inline: var(--m); scrollbar-width: none; }
  .deck::-webkit-scrollbar { display: none; }
  .pc { --w: min(78vw, 310px); scroll-snap-align: center; transform: none !important; }
  .pc:hover { translate: none; scale: none; }

  .gal__track { --slide: 86vw; }
  .slide__media { aspect-ratio: 4 / 3; }
  .gal__all { display: none; }
  .lb__figure { padding: 0 0 16px; }
  .lb__caption { padding-inline: var(--m); }
  .lb[open] { grid-template-rows: auto 1fr auto; padding-bottom: 74px; }
  .lb__nav { top: auto; bottom: 12px; margin-top: 0; width: 48px; height: 48px; }
  .lb__nav--prev { left: calc(50% - 60px); }
  .lb__nav--next { right: calc(50% - 60px); }

  .loc__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; gap: 0; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 34px; }
  .loc__text { gap: 14px; max-width: none; }
  .js.motion .loc__steps { min-height: 6.4rem; }
  .loc__step h3 { font-size: 1.2rem; }
  .loc__step p:last-child { font-size: .93rem; }
  .loc__pin::before { background: linear-gradient(180deg, rgba(13, 12, 12, .97) 0%, rgba(13, 12, 12, .88) 46%, rgba(13, 12, 12, 0) 58%); }
  .loc__fallback { left: 5%; width: 90%; top: 46%; height: 50%; padding: 0; }
  .loc__credit { left: var(--m); right: auto; }

  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; align-items: stretch; }
  .footer__credit { padding-top: 4px; text-align: center; } /* telefon: podpis wyśrodkowany pod pozostałymi informacjami */
}
@media (max-width: 420px) {
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; transition-delay: 0s !important; animation-duration: .001ms !important; }
  .js [data-r], .js [data-mask], .js [data-mask] img, .js .rise, .js .hero__visual figcaption { opacity: 1; transform: none; clip-path: none; }
  .js .hero__arch { clip-path: none; }
  .stage__img { transition: none; }
}
