/* Magical House · Urzędowa 28 — Vaporwave × barokowe złoto (miękki brutalizm) × op-art.
   Zasady: bez zaokrągleń i kół, twarde cienie, gradienty zamiast płaskich pasteli, pasy op-art jako faktura. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/BodoniModa-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/BodoniModa-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/BodoniModa-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/BodoniModa-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(../fonts/MartianMono-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(../fonts/MartianMono-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DotGothic16'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/DotGothic16-jp.woff2) format('woff2'); }

:root {
  --marmur: #f3f0f6;
  --marmur-2: #e6e0ec;
  --onyks: #100b17;
  --onyks-2: #1d1428;
  --onyks-3: #2b2038;
  --zloto: #d9b25f;
  --zloto-j: #f6e2a4;
  --zloto-c: #9a6b22;
  --roz: #ff5fb8;
  --roz-j: #ffc2e3;
  --brzoskwinia: #ffb07a;
  --zolc: #ffe27a;
  --cyjan: #3fe0ff;
  --fiolet: #6d34ff;
  --lawenda: #c9b6ff;
  --mieta: #7dffd0;
  --g-zachod: linear-gradient(180deg, #6d34ff 0%, #ff5fb8 46%, #ffb07a 74%, #ffe27a 100%);
  --g-vapor: linear-gradient(90deg, #6d34ff, #ff5fb8 50%, #3fe0ff);
  --g-pasek: linear-gradient(90deg, #c9b6ff 0%, #ffc2e3 52%, #a6f4ff 100%);
  --g-zloto: linear-gradient(100deg, #9a6b22 0%, #f6e2a4 20%, #c8963a 42%, #fff4cf 58%, #b07d2a 78%, #f1d48a 100%);
  --g-pastel: linear-gradient(135deg, #ffc2e3 0%, #ffe3c7 45%, #c9f7ff 100%);
  --cien: 8px 8px 0 var(--onyks);
  --cien-m: 5px 5px 0 var(--onyks);
  --k: 2px solid var(--onyks);
  --f-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-jp: 'DotGothic16', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --nag: 64px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nag) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--marmur); color: var(--onyks);
  font-family: var(--f-serif); font-size: 18px; line-height: 1.55; font-optical-sizing: auto;
  overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body.zablokowane { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--roz); outline-offset: 3px; }
::selection { background: var(--roz); color: var(--onyks); }

.mono { font-family: var(--f-mono); font-size: 11px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; font-stretch: 100%; font-weight: 500; }
.jp { font-family: var(--f-jp); font-weight: 400; letter-spacing: .1em; }
.pomin { position: fixed; left: 8px; top: -60px; z-index: 300; background: var(--onyks); color: var(--marmur); padding: 10px 14px; font-family: var(--f-mono); font-size: 12px; }
.pomin:focus { top: 8px; }

/* Brak zdjęcia (jeszcze nie wygenerowane): gradient zamiast pustej ramki */
img.brak { opacity: 0; }
.ma-gradient { background: var(--g-zachod); }

/* ===== Przyciski ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 16px 22px; border: var(--k); box-shadow: var(--cien-m); background: var(--marmur); color: var(--onyks);
  transition: transform .16s cubic-bezier(.3,.7,.4,1), box-shadow .16s cubic-bezier(.3,.7,.4,1), background-position .6s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--onyks); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--onyks); }
.btn-zloto { background: var(--g-zloto); background-size: 200% 100%; }
.btn-zloto:hover { background-position: 100% 0; }
.btn-jasny { background: var(--marmur); }
.btn-ciemny { background: var(--onyks); color: var(--marmur); box-shadow: 4px 4px 0 var(--roz); }
.btn-ciemny:hover { box-shadow: 6px 6px 0 var(--roz); }
.btn-ciemny:active { box-shadow: 1px 1px 0 var(--roz); }
.btn-maly { padding: 10px 14px; font-size: 11px; }
.btn-pelny { width: 100%; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { display: block; width: 3px; height: 30%; background: currentColor; }
.gra .eq i { animation: eq .9s ease-in-out infinite alternate; }
.gra .eq i:nth-child(2) { animation-delay: -.3s; } .gra .eq i:nth-child(3) { animation-delay: -.6s; } .gra .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0% { height: 20%; } 100% { height: 100%; } }

/* ===== Okna (Windows 95 × miękki brutalizm) ===== */
.okno { background: var(--marmur); border: var(--k); box-shadow: var(--cien); position: relative; }
.okno-pasek {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px;
  padding: 5px 6px 5px 12px; background: var(--g-pasek); border-bottom: var(--k); color: var(--onyks);
}
.okno-pasek .mono { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.okno-guziki { display: inline-flex; gap: 4px; flex: none; }
.okno-guziki i { display: block; width: 16px; height: 16px; border: 2px solid var(--onyks); background: var(--marmur) linear-gradient(var(--onyks), var(--onyks)) no-repeat; }
.okno-guziki i:nth-child(1) { background-size: 6px 2px; background-position: 3px 9px; }
.okno-guziki i:nth-child(2) { background: var(--marmur); box-shadow: inset 0 3px 0 var(--onyks); }
.okno-guziki i:nth-child(3) { background: var(--marmur) linear-gradient(45deg, transparent 44%, var(--onyks) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--onyks) 44% 56%, transparent 56%); }
.okno-tresc { padding: clamp(18px, 2.4vw, 32px); }

/* ===== Wejście ===== */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--onyks); display: grid; place-items: center; overflow: hidden; color: var(--onyks); transition: opacity .9s ease .25s, visibility 0s linear 1.2s; }
.intro.wyjscie { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-tunel { position: absolute; inset: 0; }
.intro-tunel i { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(0deg); animation: wir var(--t, 14s) linear infinite; }
.intro.wyjscie .intro-tunel { transform: scale(3.2); transition: transform 1.2s cubic-bezier(.7,0,.3,1); }
@keyframes wir { to { transform: translate(-50%, -50%) rotate(var(--obrot, 360deg)); } }
.intro-srodek { position: relative; text-align: center; background: var(--marmur); border: var(--k); box-shadow: 10px 10px 0 var(--roz), 20px 20px 0 var(--onyks); padding: 34px clamp(24px, 5vw, 64px) 28px; width: min(560px, calc(100vw - 48px)); }
.intro-jp { font-size: 14px; color: var(--fiolet); }
.intro-logo { font-size: clamp(32px, 6.4vw, 58px); font-weight: 900; letter-spacing: .12em; line-height: .95; margin: 6px 0 6px .12em; }
.intro-pod { color: #6c5a7a; }
.intro-licz { font-size: 14px; margin: 18px 0 18px; }
.intro-wybor { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; opacity: .25; pointer-events: none; transition: opacity .4s; }
.intro.gotowe .intro-wybor { opacity: 1; pointer-events: auto; }
.intro.gotowe .intro-licz { opacity: .5; }

/* ===== Nagłówek ===== */
.naglowek {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--nag);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
  background: rgba(243, 240, 246, .94); border-bottom: var(--k);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.postep { position: absolute; left: 0; bottom: -2px; height: 4px; width: 100%; background: var(--g-vapor); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .postep { animation: postep linear both; animation-timeline: scroll(root); }
  @keyframes postep { to { transform: scaleX(1); } }
}
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .18em; font-size: 16px; white-space: nowrap; }
.logo svg { width: 28px; height: 28px; color: var(--onyks); }
.menu { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.menu a { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--roz), var(--roz)) no-repeat 0 100% / 0 3px; transition: background-size .3s; }
.menu a:hover, .menu a.tu { background-size: 100% 3px; }
.naglowek-prawo { display: flex; align-items: center; gap: 12px; }
.dzwiek { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: var(--k); background: var(--marmur); box-shadow: 3px 3px 0 var(--onyks); }
.dzwiek.gra { background: var(--g-pasek); }
.dzwiek-txt { font-size: 11px; }
.burger { display: none; width: 42px; height: 38px; border: var(--k); background: var(--marmur); box-shadow: 3px 3px 0 var(--onyks); padding: 9px 9px; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 3px; background: var(--onyks); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-mobilne { position: fixed; inset: var(--nag) 0 0 0; z-index: 99; background: var(--onyks); display: flex; flex-direction: column; padding: 32px var(--gut); gap: 6px; overflow-y: auto; }
.menu-mobilne[hidden] { display: none; }
.menu-mobilne a { color: var(--marmur); font-size: clamp(36px, 10vw, 56px); font-weight: 800; font-style: normal; text-decoration: none; line-height: 1.15; border-bottom: 2px solid var(--onyks-3); padding: 6px 0; }
.menu-mobilne a:hover { color: var(--roz); }

/* ===== Hero ===== */
.hero { position: relative; height: 190svh; background: var(--onyks); }
.hero-scena { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-zapas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; display: none; }
.bez-gl .hero-zapas { display: block; }
.bez-gl .hero-gl, .bez-gl .szklo-pasek { display: none; }
.szklo-pasek { position: absolute; left: 0; top: 0; z-index: 2; height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 5px 4px 10px; background: var(--g-pasek); border: var(--k); will-change: transform, width; pointer-events: none; }
.szklo-pasek .mono { font-size: 11px; font-weight: 600; }
.szklo-pasek .okno-guziki i { width: 14px; height: 14px; }
.hero-uklad { position: absolute; inset: 0; z-index: 3; padding: calc(var(--nag) + 22px) var(--gut) clamp(18px, 3vh, 34px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto; pointer-events: none; }
.hero-uklad > * { pointer-events: auto; }
.hero-adres { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: var(--marmur); border: var(--k); box-shadow: var(--cien-m); padding: 8px 12px; }
.kwadrat { width: 10px; height: 10px; background: var(--roz); border: 2px solid var(--onyks); transform: rotate(45deg); display: inline-block; }
.hero-jp { grid-column: 2; grid-row: 1 / 3; writing-mode: vertical-rl; font-size: clamp(22px, 2.6vw, 38px); color: var(--marmur); background: var(--onyks); border: var(--k); padding: 14px 6px; align-self: start; box-shadow: 6px 6px 0 var(--roz); }
.hero-karta { grid-column: 1; grid-row: 3; justify-self: start; max-width: 520px; margin-bottom: clamp(14px, 2.4vh, 26px); background: var(--marmur); border: var(--k); box-shadow: var(--cien); padding: 20px 22px 18px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 14px; }
.hero-zachod { font-size: 12.5px; color: #5d4b6c; }
.hero-zachod b { color: var(--onyks); font-weight: 700; }
.hero-tytul { grid-column: 1 / 3; grid-row: 4; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 .06em; line-height: .8; font-weight: 900; font-size: clamp(56px, 11.4vw, 214px); letter-spacing: -.02em; font-variation-settings: 'opsz' 96; }
.ht-slowo { white-space: nowrap; color: var(--onyks); text-shadow: .045em .045em 0 var(--roz); -webkit-text-stroke: 2px var(--marmur); paint-order: stroke fill; }
.ht-num { font-style: normal; background: var(--g-zloto); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 3px var(--onyks); paint-order: stroke fill; filter: drop-shadow(.04em .04em 0 var(--onyks)); animation: chrom 6s ease-in-out infinite alternate; padding-right: .06em; }
@keyframes chrom { to { background-position: 100% 0; } }
.hero-hint { color: var(--fiolet); margin: 0 0 8px; }
@media (hover: none) { .hero-hint { display: none; } }
.kinetyk .zn { display: inline-block; font-variation-settings: 'wght' var(--w, 900), 'opsz' 96; transition: font-variation-settings .25s ease-out; }

/* ===== Taśma ===== */
.tasma { background: var(--onyks); color: var(--zloto-j); border-block: var(--k); overflow: hidden; position: relative; z-index: 2; }
.tasma-tor { display: flex; width: max-content; }
@supports (animation-timeline: scroll()) { .tasma-tor { animation: tasma linear both; animation-timeline: scroll(root); } }
.tasma span { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 16px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.tasma span::after { content: ''; width: 9px; height: 9px; background: var(--roz); transform: rotate(45deg); }
@keyframes tasma { to { transform: translateX(-50%); } }
/* Dłuższe zdania w kroju mono: bez wersalików (czytelność) */
.hero-zachod, .hero-hint, .hero-adres, .manifest-pod, .okolica-uwaga, .kontakt-dane li, .widok-cena, .sil-strefy span, .mapa-info p.mono, .intro-pod, .form-status, .dojazd button span:last-child { text-transform: none; letter-spacing: .02em; }
.hero-zachod, .hero-hint, .hero-adres, .intro-pod, .ml-w, .sil-strefy span, .widok-cena { font-size: 12.5px; }
.manifest-pod, .okolica-uwaga, .kontakt-dane li, .mapa-info p.mono { font-size: 13px; }

/* ===== Sekcje ogólnie ===== */
.sekcja { padding: clamp(80px, 11vw, 160px) var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; position: relative; }
.h-sekcja { font-size: clamp(40px, 5.6vw, 92px); line-height: .98; font-weight: 800; letter-spacing: -.015em; font-variation-settings: 'opsz' 96; text-wrap: balance; }
.jp-pion { writing-mode: vertical-rl; font-size: 30px; color: var(--fiolet); }

/* Ujawnianie: natywne animacje przewijania (CSS scroll-driven), z zapasem na IntersectionObserver */
.wjazd { opacity: 0; transform: translateY(46px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), clip-path .9s cubic-bezier(.2,.7,.2,1); clip-path: inset(0 0 100% 0); }
.wjazd.widac { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
@supports (animation-timeline: view()) {
  .scroll-css .wjazd { transition: none; animation: wjazd linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes wjazd { from { opacity: 0; transform: translateY(46px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
}

/* ===== Inwestycje ===== */
.okno-tytul { margin-bottom: 36px; }
.inw-glowa { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; background: var(--g-pastel); }
.inw-glowa .jp-pion { grid-column: 2; grid-row: 1 / 3; align-self: start; }
.inw-lead { max-width: 560px; font-size: 19px; }
.filtry { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filtr { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border: var(--k); background: var(--marmur); box-shadow: 3px 3px 0 var(--onyks); display: inline-flex; gap: 10px; align-items: center; transition: transform .12s, box-shadow .12s, background .2s; }
.filtr span { background: var(--onyks); color: var(--marmur); padding: 1px 6px; font-size: 11px; }
.filtr:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--onyks); }
.filtr.aktywny { background: var(--g-pasek); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--onyks); }
.inw-siatka { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); align-items: start; }
.inw-karta { grid-column: span 4; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.inw-karta.duza { grid-column: span 8; grid-row: span 2; }
.inw-karta.pol { grid-column: span 6; }
.inw-karta[hidden] { display: none; }
.inw-karta:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--onyks); }
.status { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border: 2px solid var(--onyks); background: var(--mieta); white-space: nowrap; }
.status-budowa { background: var(--brzoskwinia); }
.status-gotowe { background: var(--lawenda); }
.status-wkrotce { background: var(--cyjan); }
.inw-foto { position: relative; display: block; width: 100%; padding: 0; border: 0; border-bottom: var(--k); background: var(--g-zachod); aspect-ratio: 16 / 10; overflow: hidden; }
.inw-karta.duza .inw-foto { aspect-ratio: 16 / 11; }
.inw-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.inw-foto::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(16, 11, 23, .85) 0 3px, transparent 3px 9px); mix-blend-mode: multiply; transform: translateY(101%); transition: transform .7s cubic-bezier(.7,0,.2,1); }
.inw-karta:hover .inw-foto::after { transform: translateY(0); }
.inw-karta:hover .inw-foto img { transform: scale(1.06); }
.inw-jp { position: absolute; right: 12px; top: 12px; z-index: 2; writing-mode: vertical-rl; background: var(--onyks); color: var(--marmur); font-size: 16px; padding: 10px 4px; }
.inw-tresc { padding: 20px 22px 22px; display: grid; gap: 10px; }
.inw-tresc h3 { font-size: clamp(30px, 2.8vw, 46px); line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.inw-karta.duza .inw-tresc h3 { font-size: clamp(42px, 4.6vw, 76px); }
.inw-haslo { font-size: 17px; line-height: 1.4; }
.inw-dane { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--k); margin-top: 6px; }
.inw-dane div { padding: 10px 10px 9px; border-right: var(--k); }
.inw-dane div:last-child { border-right: 0; }
.inw-dane dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6c5a7a; }
.inw-dane dd { font-size: 15px; font-weight: 700; line-height: 1.3; margin-top: 3px; }
.inw-karta:not(.duza) .inw-dane { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inw-karta:not(.duza) .inw-dane div:nth-child(2) { border-right: 0; }
.inw-karta:not(.duza) .inw-dane div:nth-child(-n+2) { border-bottom: var(--k); }
.link-strzalka { justify-self: start; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: none; border: 0; border-bottom: 3px solid var(--roz); padding: 4px 0; margin-top: 4px; }
.link-strzalka::after { content: ' →'; }

/* Dialog inwestycji (View Transitions) */
.inw-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: var(--k); box-shadow: 12px 12px 0 var(--roz), 24px 24px 0 var(--onyks); background: var(--marmur); color: var(--onyks); overflow: auto; }
.inw-dialog::backdrop { background: rgba(16, 11, 23, .72); }
.inw-d-uklad { display: grid; grid-template-columns: 1.3fr 1fr; }
.inw-d-foto { background: var(--g-zachod); min-height: 420px; border-right: var(--k); }
.inw-d-foto img { width: 100%; height: 100%; object-fit: cover; }
.inw-d-txt { padding: 28px; display: grid; gap: 16px; align-content: start; }
.inw-d-txt h3 { font-size: clamp(40px, 5vw, 72px); line-height: .95; font-weight: 900; }
.inw-d-zamknij { position: absolute; right: 6px; top: 5px; width: 22px; height: 22px; border: 2px solid var(--onyks); background: var(--marmur) linear-gradient(45deg, transparent 44%, var(--onyks) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--onyks) 44% 56%, transparent 56%); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.7,0,.2,1); }

/* ===== Manifest ===== */
.manifest { padding-top: clamp(60px, 8vw, 120px); }
.manifest-tekst { font-size: clamp(44px, 7.6vw, 136px); line-height: .98; font-weight: 600; letter-spacing: -.02em; max-width: 14ch; font-variation-settings: 'opsz' 96; }
.manifest-tekst em { font-style: normal; font-weight: 900; background: var(--g-zloto); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2px var(--onyks); paint-order: stroke fill; }
.pasy-tekst { color: transparent; background: repeating-linear-gradient(0deg, var(--onyks) 0 .055em, transparent .055em .11em); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 2px var(--onyks); font-weight: 900; }
.liczby { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: var(--k); box-shadow: var(--cien); margin-top: clamp(48px, 6vw, 88px); background: var(--marmur); }
.liczba { padding: 22px 18px 20px; border-right: var(--k); background: linear-gradient(180deg, transparent 60%, rgba(255, 194, 227, .5)); }
.liczba:last-child { border-right: 0; }
.liczba dt { color: #6c5a7a; }
.liczba dd { font-size: clamp(16px, 1.4vw, 22px); font-weight: 600; margin-top: 8px; }
.liczba dd b { font-size: clamp(42px, 4.6vw, 80px); font-weight: 900; line-height: 1; display: block; font-variation-settings: 'opsz' 96; }
.manifest-pod { margin-top: 22px; max-width: 70ch; color: #5d4b6c; }

/* ===== Winda ===== */
.winda { position: relative; background: var(--onyks); color: var(--marmur); border-block: var(--k); }
.winda-tor { height: 820svh; position: relative; }
.winda-scena { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(130px, 20vw) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); padding: calc(var(--nag) + 28px) var(--gut) 34px; overflow: hidden; }
.winda-scena::before { content: ''; position: absolute; left: -10%; right: -10%; bottom: -2px; height: 46%; background:
    repeating-linear-gradient(90deg, rgba(255, 95, 184, .55) 0 2px, transparent 2px 64px),
    repeating-linear-gradient(0deg, rgba(255, 95, 184, .55) 0 2px, transparent 2px 48px);
  transform: perspective(420px) rotateX(62deg); transform-origin: 50% 100%; mask-image: linear-gradient(to top, #000 10%, transparent 92%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%); pointer-events: none; animation: podloga 3.6s linear infinite; }
@keyframes podloga { to { background-position: 0 0, 0 48px; } }
.winda-scena::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(109, 52, 255, .28), transparent 40%, rgba(255, 95, 184, .16)); pointer-events: none; }
.winda-szyb { position: relative; z-index: 1; display: flex; align-items: stretch; justify-content: center; min-height: 0; }
.wieza-svg { width: 100%; height: 100%; overflow: visible; }
.winda-panel { position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 22px; min-height: 0; }
.led { display: inline-flex; align-items: center; gap: 14px; justify-self: start; background: #1a0f24; border: 2px solid var(--marmur); box-shadow: 6px 6px 0 var(--roz); padding: 8px 18px 8px 14px; }
.led-num { font-family: var(--f-mono); font-weight: 800; font-stretch: 112.5%; font-size: clamp(40px, 4.6vw, 70px); line-height: 1; color: var(--roz); text-shadow: 0 0 12px rgba(255, 95, 184, .85), 0 0 2px #fff; min-width: 3.1ch; text-align: center; font-variant-numeric: tabular-nums; }
.led-strz { font-family: var(--f-mono); font-size: 18px; color: var(--cyjan); text-shadow: 0 0 10px var(--cyjan); }
.led-jp { font-size: 12px; color: var(--lawenda); writing-mode: vertical-rl; }
.przystanki { position: relative; min-height: 0; }
.przystanek { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s linear .5s; }
.przystanek.aktywny { opacity: 1; visibility: visible; transition: opacity .5s; }
.pz-foto { height: 100%; max-height: 62svh; min-height: 0; border: 2px solid var(--marmur); box-shadow: 10px 10px 0 var(--fiolet); background: var(--g-zachod); overflow: hidden; }
.pz-foto img { width: 100%; height: 100%; object-fit: cover; }
@property --zal { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.przystanek .pz-foto { --zal: 0%; -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 var(--zal), transparent var(--zal) 9%); mask-image: repeating-linear-gradient(90deg, #000 0 var(--zal), transparent var(--zal) 9%); transition: --zal .8s cubic-bezier(.6,0,.2,1); }
.przystanek.aktywny .pz-foto { --zal: 9%; }
.pz-txt { display: grid; gap: 14px; align-content: center; }
.pz-pietro { color: var(--roz); font-size: 12px; font-weight: 700; }
.pz-txt h3 { font-size: clamp(34px, 4.2vw, 70px); line-height: 1.06; font-weight: 800; font-style: normal; color: var(--marmur); transform: translateY(18px); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1) .1s, opacity .7s .1s; }
.pz-txt p:last-child { font-size: 18px; color: #e3d8ec; max-width: 44ch; transform: translateY(18px); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1) .2s, opacity .7s .2s; }
.przystanek.aktywny .pz-txt h3, .przystanek.aktywny .pz-txt p:last-child { transform: none; opacity: 1; }
.winda-kropki { display: flex; gap: 6px; flex-wrap: wrap; }
.winda-kropki li { flex: 1 1 0; min-width: 22px; height: 6px; background: var(--onyks-3); border: 1px solid #4b3a5c; transition: background .3s; }
.winda-kropki li.byl { background: var(--g-vapor); }

/* ===== Basen ===== */
.basen { position: relative; background: var(--onyks); color: var(--marmur); overflow: hidden; }
.basen-foto { height: 108svh; background: var(--g-zachod); overflow: hidden; }
.basen-foto img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.basen-linia { position: absolute; left: 0; right: 0; top: 62svh; text-align: center; pointer-events: none; }
.basen-tytul, .basen-odbicie { white-space: nowrap; font-size: clamp(60px, 16vw, 290px); line-height: .78; font-weight: 900; font-style: normal; letter-spacing: -.02em; font-variation-settings: 'opsz' 96; }
.basen-tytul { color: var(--marmur); transform: translateY(-100%); text-shadow: .03em .03em 0 var(--fiolet); position: relative; }
.basen-odbicie { position: absolute; left: 0; right: 0; top: 0; color: rgba(243, 240, 246, .55); transform: scaleY(-1); transform-origin: 50% 50%; filter: url(#fala); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 75%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 75%); }
.basen-tresc { position: relative; padding: clamp(60px, 8vw, 120px) var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end; }
.basen-lead { font-size: clamp(26px, 2.8vw, 44px); line-height: 1.3; font-weight: 500; }
.basen-dane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--marmur); box-shadow: 8px 8px 0 var(--cyjan); }
.basen-dane div { padding: 18px 18px 16px; border-right: 2px solid var(--marmur); border-bottom: 2px solid var(--marmur); background: linear-gradient(160deg, rgba(63, 224, 255, .14), transparent 60%); }
.basen-dane div:nth-child(2n) { border-right: 0; }
.basen-dane div:nth-child(n+3) { border-bottom: 0; }
.basen-dane dt { color: var(--cyjan); }
.basen-dane dd { font-size: clamp(32px, 3.4vw, 54px); font-weight: 800; line-height: 1.05; }
.basen-jp { grid-column: 1 / -1; font-size: 13px; color: var(--lawenda); }
.svg-defs { position: absolute; }

/* ===== Siłownia ===== */
.sil-uklad { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sil-foto { position: relative; border: var(--k); box-shadow: 14px 14px 0 var(--cyjan), 14px 14px 0 2px var(--onyks); background: var(--g-zachod); aspect-ratio: 4 / 5; overflow: hidden; }
.sil-foto img { width: 100%; height: 100%; object-fit: cover; }
.sil-foto figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--marmur); border: var(--k); padding: 6px 10px; }
.sil-txt { display: grid; gap: 26px; }
.sil-tytul { font-family: var(--f-mono); font-weight: 800; font-stretch: 112.5%; font-size: clamp(40px, 6.2vw, 104px); line-height: .9; letter-spacing: -.04em; color: var(--onyks); text-shadow: 5px 5px 0 var(--cyjan); overflow-wrap: anywhere; }
.sil-lead { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; }
.sil-strefy li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; border-top: var(--k); padding: 14px 0 12px; }
.sil-strefy li:last-child { border-bottom: var(--k); }
.sil-strefy b { font-size: 22px; font-weight: 700; display: inline-flex; gap: 12px; align-items: center; }
.sil-strefy b::before { content: ''; width: 12px; height: 12px; flex: none; background: repeating-linear-gradient(90deg, var(--onyks) 0 2px, transparent 2px 4px); border: 2px solid var(--onyks); }
.sil-strefy span { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em; color: #5d4b6c; text-align: right; }
.grafik-lista li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed #b9a9c6; font-size: 16px; }
.grafik-lista li:last-child { border-bottom: 0; }
.grafik-lista time { font-family: var(--f-mono); font-size: 12px; font-weight: 700; }
.grafik-lista small { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; background: var(--g-pasek); border: 1.5px solid var(--onyks); padding: 1px 6px; }

/* ===== Apartamenty ===== */
.apartamenty { border-top: var(--k); }
.apt-glowa { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 38px; }
.apt-lead { font-size: 19px; max-width: 520px; }
.apt-taby { display: flex; flex-wrap: wrap; gap: 0; border: var(--k); box-shadow: var(--cien-m); margin-bottom: 30px; width: fit-content; max-width: 100%; background: var(--marmur); }
.apt-tab { border: 0; border-right: var(--k); background: transparent; padding: 14px 20px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: grid; gap: 2px; text-align: left; }
.apt-tab:last-child { border-right: 0; }
.apt-tab small { font-family: var(--f-serif); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.apt-tab[aria-selected="true"] { background: var(--g-zloto); }
.apt-tab:hover:not([aria-selected="true"]) { background: var(--g-pasek); }
.apt-uklad { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1.05fr); gap: clamp(20px, 2.6vw, 38px); align-items: start; }
.apt-plan .okno-tresc { padding: 16px; background: #faf8fc; }
.apt-plan svg { width: 100%; height: auto; display: block; }
.apt-dane { display: grid; gap: 16px; align-content: start; }
.apt-dane h3 { font-size: clamp(36px, 3.6vw, 60px); line-height: .95; font-weight: 900; }
.apt-m2 { font-size: clamp(64px, 6vw, 104px); font-weight: 900; line-height: .9; font-variation-settings: 'opsz' 96; }
.apt-m2 small { font-size: .38em; font-weight: 600; }
.apt-lista { border-top: var(--k); }
.apt-lista li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #d3c9dc; font-size: 16px; }
.apt-lista li span:first-child { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #6c5a7a; padding-top: 3px; }
.apt-lista li span:last-child { font-weight: 700; text-align: right; }
.apt-widok .okno-tresc { padding: 0; }
.widok-scena { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--g-zachod); border-bottom: var(--k); }
.widok-scena .wv { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: 0; will-change: transform, opacity; transform: translate3d(0, var(--y, 0%), 0) scale(var(--s, 1)); }
.widok-scena .wv.brak { display: none; }
.widok-scena video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.widok-scena.jedzie .wv, .widok-scena.jedzie video { filter: blur(1.6px) saturate(1.15); }
.widok-ramy { position: absolute; inset: 0; z-index: 8; pointer-events: none; background:
  linear-gradient(90deg, transparent calc(33.3% - 3px), #0d0a12 calc(33.3% - 3px) calc(33.3% + 3px), transparent calc(33.3% + 3px) calc(66.6% - 3px), #0d0a12 calc(66.6% - 3px) calc(66.6% + 3px), transparent calc(66.6% + 3px)),
  linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .1) 38%, transparent 46%); }
.widok-strop { position: absolute; z-index: 9; left: 0; right: 0; height: 14px; top: -20px; background: #0d0a12; box-shadow: 0 2px 0 rgba(255, 176, 122, .55); opacity: 0; pointer-events: none; }
.widok-scena.jedzie .widok-strop { animation: strop .26s linear infinite; opacity: .9; }
@keyframes strop { from { transform: translateY(0); } to { transform: translateY(calc(100% + 600px)); } }
.led-maly { position: absolute; z-index: 10; left: 12px; top: 12px; padding: 4px 10px; box-shadow: 4px 4px 0 var(--roz); }
.led-maly .led-num { font-size: 30px; min-width: 2.2ch; }
.widok-suwak { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px 6px; }
.widok-cena { padding: 0 18px 16px; font-size: 12.5px; color: #5d4b6c; }
.widok-cena b { color: var(--onyks); font-size: 12px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border: 2px solid var(--onyks); background: repeating-linear-gradient(90deg, var(--onyks) 0 2px, transparent 2px 8px), var(--g-pasek); }
input[type="range"]::-moz-range-track { height: 10px; border: 2px solid var(--onyks); background: var(--g-pasek); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 28px; margin-top: -11px; background: var(--g-zloto); border: 2px solid var(--onyks); box-shadow: 3px 3px 0 var(--onyks); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 28px; background: var(--zloto); border: 2px solid var(--onyks); box-shadow: 3px 3px 0 var(--onyks); }

/* ===== Standard ===== */
.standard { border-top: var(--k); }
.std-glowa { display: grid; gap: 18px; margin-bottom: 44px; }
.tabliczka { justify-self: start; background: var(--onyks); color: var(--zloto-j); padding: 8px 12px; }
.tabliczka .jp { text-transform: none; }
.h-muzeum { font-size: clamp(52px, 8vw, 140px); line-height: .9; font-weight: 500; font-style: normal; letter-spacing: -.035em; font-variation-settings: 'opsz' 96; }
.std-lead { font-size: 20px; max-width: 560px; }
.materialy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: var(--k); box-shadow: var(--cien); background: var(--marmur); }
.material { padding: 18px 18px 22px; border-right: var(--k); border-bottom: var(--k); display: grid; gap: 8px; align-content: start; }
.material:nth-child(3n) { border-right: 0; }
.material:nth-child(n+4) { border-bottom: 0; }
.material h3 { font-size: 26px; font-style: normal; font-weight: 700; line-height: 1.3; }
.material > p:last-child { font-size: 16px; color: #3d3046; }
.material .mono { color: #6c5a7a; margin-top: 6px; }
.probka { aspect-ratio: 4 / 3; border: var(--k); position: relative; overflow: hidden; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.material:hover .probka { transform: scale(1.02); }
.probka::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .5) 22px 24px); opacity: 0; transform: translateX(-30%); transition: opacity .4s, transform .9s cubic-bezier(.2,.7,.2,1); }
.material:hover .probka::after { opacity: 1; transform: none; }
.probka-marmur { background: #f7f2ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='360'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.011' numOctaves='5' seed='11'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 0 .95 .2 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .24 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.02' numOctaves='4' seed='3'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 .55 0 0 0'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .55 0 0 0 0 .64 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E") center / cover; }
.probka-mosiadz { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 3px, rgba(0, 0, 0, .05) 3px 4px), var(--g-zloto); background-size: auto, 300% 100%; }
.probka-dab { background:
  repeating-linear-gradient(45deg, rgba(90, 55, 20, .18) 0 1px, transparent 1px 5px),
  linear-gradient(135deg, #c89a63 25%, transparent 25%) -36px 0 / 72px 72px,
  linear-gradient(225deg, #b07e48 25%, transparent 25%) -36px 0 / 72px 72px,
  linear-gradient(315deg, #c89a63 25%, transparent 25%) 0 0 / 72px 72px,
  linear-gradient(45deg, #b07e48 25%, transparent 25%) 0 0 / 72px 72px, #d8b07c; }
.probka-ryfle { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 2px, rgba(255, 255, 255, .08) 7px, rgba(16, 11, 23, .14) 11px, rgba(255, 255, 255, .6) 14px), linear-gradient(120deg, #ff5fb8 10%, #ffe3c7 38%, #3fe0ff 70%, #6d34ff); }
.probka-lakier { background: linear-gradient(115deg, transparent 38%, rgba(255, 95, 184, .55) 46%, rgba(255, 226, 122, .35) 50%, transparent 58%), linear-gradient(160deg, #241a2e 0%, #0d0a12 45%, #1b1424 70%, #08060b 100%); }
.probka-tynk { background: #f2b9a4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .86 0 0 0 0 .8 0 0 0 .9 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E") center / cover; }
.pakiety { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(64px, 8vw, 110px); align-items: start; }
.pakiety-tekst { display: grid; gap: 20px; }
.h-pakiet { font-size: clamp(30px, 3vw, 48px); line-height: 1.3; font-weight: 800; }
.pakiety-wybor { display: flex; flex-wrap: wrap; gap: 10px; }
.pakiet { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 11px 14px; border: var(--k); background: var(--marmur); box-shadow: 3px 3px 0 var(--onyks); }
.pakiet[data-pak="barocco"].aktywny { background: var(--onyks); color: var(--zloto-j); box-shadow: 3px 3px 0 var(--zloto); }
.pakiet[data-pak="marmur"].aktywny { background: #fff; box-shadow: 3px 3px 0 var(--lawenda), 5px 5px 0 var(--onyks); }
.pakiet[data-pak="neon"].aktywny { background: var(--g-pastel); box-shadow: 3px 3px 0 var(--roz), 5px 5px 0 var(--onyks); }
.pakiet-opis { font-size: 18px; min-height: 4.6em; }
.w-standardzie { display: grid; gap: 0; border-top: var(--k); }
.w-standardzie li { padding: 10px 0 10px 28px; border-bottom: 1px solid #d3c9dc; position: relative; font-size: 16px; }
.w-standardzie li::before { content: ''; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; background: var(--g-zloto); border: 2px solid var(--onyks); transform: rotate(45deg); }
.pakiet-warstwy { position: relative; padding: 0; aspect-ratio: 3 / 2; background: var(--g-zachod); overflow: hidden; }
.pakiet-warstwy img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; --zal: 0%; -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 var(--zal), transparent var(--zal) 6%); mask-image: repeating-linear-gradient(90deg, #000 0 var(--zal), transparent var(--zal) 6%); transition: --zal .9s cubic-bezier(.6,0,.2,1); }
.pakiet-warstwy img.widoczny { --zal: 6%; z-index: 1; }

/* ===== Prestiż ===== */
.prestiz { position: relative; background: var(--onyks); color: var(--zloto-j); overflow: hidden; isolation: isolate; }
.prestiz::before, .prestiz::after { content: ''; position: absolute; inset: -30%; z-index: -1; background: repeating-linear-gradient(0deg, rgba(217, 178, 95, .22) 0 1px, transparent 1px 7px); }
.prestiz::after { animation: mora 26s ease-in-out infinite alternate; }
@keyframes mora { from { transform: rotate(-2.4deg); } to { transform: rotate(2.4deg); } }
.meander-pas { height: 34px; background: var(--onyks) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg fill='none' stroke='%23d9b25f' stroke-width='2.6' stroke-linecap='square'%3E%3Cpath d='M0 3H34M0 31H34'/%3E%3Cpath d='M2 31V8H26V24H10V16H18'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 34px 34px; border-block: 2px solid #3a2a12; }
.prestiz-tresc { padding: clamp(80px, 10vw, 150px) var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); }
.h-prestiz { grid-column: 1 / -1; font-size: clamp(56px, 10vw, 184px); line-height: .9; font-weight: 500; letter-spacing: -.03em; color: var(--zloto-j); font-variation-settings: 'opsz' 96; }
.h-prestiz em { font-style: normal; font-weight: 900; background: var(--g-zloto); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: chrom 5s ease-in-out infinite alternate; }
.prestiz-lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.4; color: #efe4c8; max-width: 34ch; }
.prestiz-liczby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--zloto); align-self: start; }
.prestiz-liczby div { padding: 18px; border-right: 2px solid var(--zloto); border-bottom: 2px solid var(--zloto); background: rgba(16, 11, 23, .8); }
.prestiz-liczby div:nth-child(2n) { border-right: 0; }
.prestiz-liczby div:nth-child(n+3) { border-bottom: 0; }
.prestiz-liczby dt { color: #b9a37a; }
.prestiz-liczby dd { font-size: clamp(40px, 4vw, 68px); font-weight: 900; font-style: normal; line-height: 1; margin-top: 6px; color: var(--zloto-j); }
.uslugi { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--zloto); }
.uslugi li { padding: 22px 22px 24px 0; border-bottom: 1px solid rgba(217, 178, 95, .35); font-size: 17px; color: #e7dcc0; display: grid; gap: 6px; }
.uslugi b { font-size: 24px; font-style: normal; color: var(--zloto-j); font-weight: 700; }

/* ===== Okolica / mapa ===== */
.okolica { border-top: var(--k); }
.okolica-glowa { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.okolica-lead { font-size: 19px; }
.mapa-uklad { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 34px); align-items: stretch; }
.mapa-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; min-height: 0; max-height: 720px; }
.mapa-filtry { display: flex; flex-wrap: wrap; gap: 8px; }
.mf { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 9px 11px; border: var(--k); background: var(--marmur); box-shadow: 3px 3px 0 var(--onyks); }
.mf.aktywny { background: var(--g-pasek); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--onyks); }
.znak { display: inline-block; width: 10px; height: 10px; border: 2px solid var(--onyks); transform: rotate(45deg); flex: none; }
.znak-rest { background: var(--roz); } .znak-teatr { background: var(--zloto-j); } .znak-klub { background: var(--cyjan); }
.mapa-lista { border: var(--k); background: var(--marmur); overflow-y: auto; min-height: 240px; scrollbar-width: thin; scrollbar-color: var(--onyks) var(--marmur-2); box-shadow: var(--cien-m); }
.mapa-lista li[hidden] { display: none; }
.ml { width: 100%; text-align: left; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 12px 14px; border: 0; border-bottom: 1px solid #d9d0e2; background: transparent; }
.ml:hover, .ml.aktywny { background: var(--g-pastel); }
.ml .znak { margin-top: 6px; }
.ml-n { font-size: 18px; font-weight: 700; line-height: 1.3; }
.ml-o { grid-column: 2; font-size: 14px; color: #4a3d55; line-height: 1.35; }
.ml-w { grid-column: 2; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em; color: var(--fiolet); }
.ml-t { grid-row: 1 / 3; grid-column: 3; text-align: right; font-family: var(--f-mono); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ml-t small { display: block; font-weight: 500; color: #6c5a7a; font-size: 11px; }
.dojazd { border: var(--k); background: var(--onyks); color: var(--marmur); padding: 12px 14px; box-shadow: 5px 5px 0 var(--roz); }
.dojazd-tytul { color: var(--roz); margin-bottom: 6px; }
.dojazd li button { width: 100%; display: flex; justify-content: space-between; gap: 10px; background: none; border: 0; border-bottom: 1px solid var(--onyks-3); padding: 7px 0; text-align: left; font-size: 15px; }
.dojazd li:last-child button { border-bottom: 0; }
.dojazd li button span:last-child { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--cyjan); white-space: nowrap; }
.dojazd li button:hover, .dojazd li button.aktywny { color: var(--roz-j); }
.mapa-okno { display: flex; flex-direction: column; min-height: 640px; }
.mapa-przelacz { display: inline-flex; gap: 6px; }
.mapa-przelacz button { font-size: 11px; padding: 3px 8px; border: 2px solid var(--onyks); background: var(--marmur); }
.mapa-przelacz button[aria-pressed="true"] { background: var(--onyks); color: var(--marmur); }
.mapa-wnetrze { position: relative; flex: 1; min-height: 600px; background: #1b1030; overflow: hidden; }
.mapa { position: absolute; inset: 0; }
.mapa-zapas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.bez-mapy .mapa-zapas { display: block; }
.bez-mapy .mapa { display: none; }
.mapa-info { position: absolute; left: 14px; bottom: 14px; z-index: 3; max-width: 320px; background: var(--marmur); border: var(--k); box-shadow: 6px 6px 0 var(--roz); padding: 14px 16px; display: grid; gap: 6px; }
.mapa-info[hidden] { display: none; }
.mapa-info h4 { margin: 0; font-size: 24px; line-height: 1.05; font-weight: 800; }
.mapa-info p { font-size: 15px; line-height: 1.45; }
.mapa-info p.mono { font-size: 13px; line-height: 1.5; }
.mapa-info .mono b { color: var(--fiolet); }
.okolica-uwaga { margin-top: 18px; color: #6c5a7a; font-size: 13px; }
.mkw { position: relative; width: 18px; height: 18px; cursor: pointer; }
.mk { position: absolute; inset: 1px; border: 2px solid var(--onyks); transform: rotate(45deg); box-shadow: 2px 2px 0 var(--onyks); transition: inset .2s; }
.mkw.aktywny { z-index: 5; }
.mkw.aktywny .mk { inset: -4px; outline: 3px solid var(--marmur); }
.mk-wieza { border: var(--k); background: var(--g-zloto); padding: 5px 9px; font-family: var(--f-mono); font-size: 11px; font-weight: 800; letter-spacing: .06em; box-shadow: 4px 4px 0 var(--roz); white-space: nowrap; color: var(--onyks); }
.mk-etykieta { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); background: var(--onyks); color: var(--marmur); font-family: var(--f-mono); font-size: 11px; padding: 3px 7px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; border: 1px solid var(--marmur); }
.mkw:hover .mk-etykieta, .mkw.aktywny .mk-etykieta { opacity: 1; }
.mapa-zapas text { opacity: 0; transition: opacity .2s; pointer-events: none; }
.mapa-zapas g:hover text, .mapa-zapas g.aktywny text, .mapa-zapas .wz text { opacity: 1; }
.mapa-zapas g { cursor: pointer; }
.mapa-zapas polyline.aktywna { stroke-width: 5; stroke-opacity: 1; stroke: #fff7fb; }
.maplibregl-ctrl-attrib { font-family: var(--f-mono); font-size: 11px; background: rgba(243, 240, 246, .85) !important; }
.maplibregl-ctrl-group { border: var(--k) !important; box-shadow: 3px 3px 0 var(--onyks) !important; }
.maplibregl-ctrl-group button { width: 32px; height: 32px; }

/* ===== Kontakt ===== */
.kontakt { border-top: var(--k); }
.kontakt-uklad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kontakt-txt { display: grid; gap: 24px; }
.kontakt-lead { font-size: 21px; max-width: 34ch; }
.kontakt-dane li { padding: 10px 0; border-bottom: var(--k); font-size: 13px; }
.kontakt-dane li:first-child { border-top: var(--k); }
.formularz .okno-tresc { display: grid; gap: 18px; background: var(--g-pastel); }
.pole { display: grid; gap: 6px; }
.pole input { font: inherit; font-size: 18px; padding: 13px 14px; border: var(--k); background: #fdfcff; color: var(--onyks); box-shadow: none; outline: none; }
.pole input:focus { border-color: var(--fiolet); background: #fff; outline: 3px solid var(--roz); outline-offset: 0; }
.pole input.blad { border-color: #d6164f; background: #fff1f4; }
.chipy { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chipy legend { padding: 0; margin-bottom: 8px; width: 100%; }
.chipy label { position: relative; }
.chipy input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chipy span { display: inline-block; font-family: var(--f-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 9px 12px; border: var(--k); background: var(--marmur); box-shadow: 3px 3px 0 var(--onyks); transition: transform .12s, box-shadow .12s; }
.chipy input:checked + span { background: var(--onyks); color: var(--marmur); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--roz); }
.chipy input:focus-visible + span { outline: 3px solid var(--roz); outline-offset: 2px; }
.zgoda { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.4; }
.zgoda input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border: var(--k); background: #fdfcff; margin: 0; display: grid; place-items: center; cursor: pointer; }
.zgoda input:checked { background: var(--onyks) linear-gradient(45deg, transparent 40%, var(--zloto-j) 40% 60%, transparent 60%); }
.zgoda input.blad { border-color: #d6164f; outline: 2px solid #ffc2d4; }
.form-status { min-height: 1.5em; font-size: 12.5px; }
.form-status.ok { background: var(--onyks); color: var(--mieta); padding: 10px 12px; }
.form-status.zle { color: #b3103f; }

/* ===== Stopka ===== */
.stopka { background: var(--onyks); color: var(--marmur); overflow: hidden; }
.stopka-znak { font-size: clamp(56px, 15vw, 280px); line-height: .86; font-weight: 900; letter-spacing: 0; text-align: center; padding: clamp(40px, 6vw, 90px) 0 clamp(20px, 3vw, 40px); color: transparent; background: repeating-linear-gradient(0deg, var(--zloto) 0 .03em, transparent .03em .07em), var(--g-zachod); background-size: 100% .07em, 100% 100%; -webkit-background-clip: text; background-clip: text; animation: stopka-pasy 3s linear infinite; font-variation-settings: 'opsz' 96; }
@keyframes stopka-pasy { to { background-position: 0 .07em, 0 0; } }
.stopka-kolumny { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 0 var(--gut) 48px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; font-size: 15px; color: #d8cde3; }
.stopka-kolumny .mono { color: var(--roz); margin-bottom: 8px; }
.stopka-kolumny a { color: var(--zloto-j); }

/* ===== Responsywność ===== */
@media (max-width: 1180px) {
  .apt-uklad { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .apt-widok { grid-column: 1 / -1; }
  .widok-scena { aspect-ratio: 16 / 8; }
  .liczby { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .liczba:nth-child(3) { border-right: 0; }
  .liczba:nth-child(-n+3) { border-bottom: var(--k); }
}
@media (max-width: 980px) {
  .menu { display: none; }
  .burger { display: flex; }
  .naglowek-prawo { margin-left: auto; }
  .inw-karta, .inw-karta.duza, .inw-karta.pol { grid-column: 1 / -1; grid-row: auto; }
  .inw-dane, .inw-karta:not(.duza) .inw-dane { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inw-dane div:nth-child(2) { border-right: 0; }
  .inw-dane div:nth-child(-n+2) { border-bottom: var(--k); }
  .winda-scena { grid-template-columns: 76px minmax(0, 1fr); }
  .przystanek { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 16px; }
  .pz-foto { max-height: none; }
  .pz-txt p:last-child { font-size: 16px; }
  .basen-tresc, .sil-uklad, .apt-glowa, .okolica-glowa, .kontakt-uklad, .pakiety, .prestiz-tresc { grid-template-columns: 1fr; }
  .mapa-uklad { grid-template-columns: 1fr; }
  .mapa-panel { max-height: none; }
  .mapa-lista { max-height: 380px; }
  .mapa-okno { min-height: 520px; order: -1; }
  .mapa-wnetrze { min-height: 480px; }
  .uslugi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stopka-kolumny { grid-template-columns: 1fr 1fr; }
  .inw-d-uklad { grid-template-columns: 1fr; }
  .inw-d-foto { min-height: 260px; border-right: 0; border-bottom: var(--k); }
  .materialy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material:nth-child(3n) { border-right: var(--k); }
  .material:nth-child(2n) { border-right: 0; }
  .material:nth-child(n+4) { border-bottom: var(--k); }
  .material:nth-child(n+5) { border-bottom: 0; }
}
@media (max-width: 640px) {
  :root { --nag: 58px; }
  body { font-size: 17px; }
  .naglowek { gap: 12px; }
  .naglowek .btn-maly { display: none; }
  .logo { font-size: 13px; letter-spacing: .1em; }
  .hero-uklad { grid-template-rows: auto 1fr auto auto; padding-top: calc(var(--nag) + 14px); }
  .hero-adres { font-size: 11px; padding: 6px 9px; }
  .hero-jp { font-size: 20px; padding: 10px 4px; }
  .hero-karta { padding: 16px 16px 14px; max-width: none; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { padding: 13px 14px; font-size: 11px; }
  .hero-tytul { font-size: clamp(38px, 13.2vw, 96px); }
  .hero-hint { display: none; }
  .liczby { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .liczba { border-right: var(--k) !important; border-bottom: var(--k) !important; }
  .liczba:nth-child(2n) { border-right: 0 !important; }
  .liczba:nth-child(n+5) { border-bottom: 0 !important; }
  .winda-scena { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding-bottom: 20px; }
  .led { padding: 6px 12px 6px 10px; }
  .led-jp { display: none; }
  .pz-txt { gap: 8px; }
  .pz-txt h3 { font-size: 32px; }
  .pz-txt p:last-child { font-size: 15px; }
  .basen-dane dd { font-size: 30px; }
  .apt-uklad { grid-template-columns: 1fr; }
  .apt-taby { width: 100%; }
  .apt-tab { flex: 1 1 33%; border-bottom: var(--k); padding: 10px 12px; }
  .widok-scena { aspect-ratio: 4 / 3.4; }
  .materialy { grid-template-columns: 1fr; }
  .material { border-right: 0 !important; border-bottom: var(--k) !important; }
  .material:last-child { border-bottom: 0 !important; }
  .uslugi { grid-template-columns: 1fr; }
  .sil-strefy li { flex-direction: column; gap: 2px; }
  .sil-strefy span { text-align: left; }
  .stopka-kolumny { grid-template-columns: 1fr; }
  .intro-srodek { box-shadow: 6px 6px 0 var(--roz), 12px 12px 0 var(--onyks); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .wjazd { opacity: 1; transform: none; clip-path: none; }
  .tasma-tor { animation: none; }
}
