/* ═════════════════════════════════════════════════════════════
   TOM-PLAST — modernist luxury
   ═════════════════════════════════════════════════════════════ */
:root {
  --ink: #061020; --ink-2: #0a1830; --ink-3: #10223f; --ink-4: #1a3052;
  --ivory: #eef3f9; --paper: #f5f7fa; --sand: #e1e8f1; --stone: #a9b5c3; --muted: #566474;
  --brass: #0b5cc5; --brass-2: #6db3ff; --brass-3: #d2e6ff; --blue: #1c5dc2;
  --line: rgba(6, 16, 32, .12); --line-l: rgba(255, 255, 255, .14);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(20px, 5vw, 88px); --hdr: 84px; --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::after { content: ''; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--brass); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Typografia ───────────────────────────────────────────── */
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin: 0 0 22px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.015em; margin: 0 0 28px; }
.h2 em, .display em, .h1 em, .h3 em { font-style: italic; color: var(--brass); font-weight: 300; }
.dark .h2 em, .dark .h3 em { color: var(--brass-2); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1.05; margin: 0 0 14px; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.75; color: #34475c; max-width: 56ch; }
.dark { background: var(--ink); color: var(--ivory); }
.dark .lead, .dark p { color: rgba(238, 243, 249, .72); }
.section { padding: clamp(90px, 12vw, 180px) var(--pad); position: relative; }
.wrap { max-width: 1480px; margin: 0 auto; }

/* ── Przyciski ────────────────────────────────────────────── */
.btn { --b: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 17px 30px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--b); color: var(--b); background: transparent; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s; white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--b); transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--paper); }
.btn .ar { transition: transform .45s var(--ease); }
.btn:hover .ar { transform: translateX(4px) rotate(-45deg); }
.btn--brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--brass::before { background: var(--ivory); }
.btn--brass:hover { color: var(--ink); }
.btn--light { --b: var(--ivory); }
.btn--light:hover { color: var(--ink); }
.tlink { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ── Nagłówek ─────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: var(--ivory); transition: background .5s, color .4s, transform .6s var(--ease), height .4s; }
.hdr::after { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: currentColor; opacity: .12; transition: opacity .4s; }
.hdr.is-solid { background: rgba(6, 16, 32, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); height: 72px; }
.hdr.is-solid::after { opacity: 0; }
.hdr.on-light:not(.menu-open) { color: var(--ink); }
.hdr.on-light.is-solid:not(.menu-open) { background: rgba(245, 247, 250, .82); }
.hdr.is-hidden { transform: translateY(-100%); }
.logo { display: block; width: 184px; flex: none; position: relative; z-index: 2; }
.logo img { width: 100%; height: auto; transition: opacity .4s; }
.logo .lw { position: absolute; inset: 0; }
.hdr .logo .lc { opacity: 0; }
.hdr.on-light:not(.menu-open) .logo .lc { opacity: 1; }
.hdr.on-light:not(.menu-open) .logo .lw { opacity: 0; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav > a, .nav > .dd > button { position: relative; padding: 10px 14px; font-size: 13px; font-weight: 500; letter-spacing: .06em; background: none; border: 0; }
.nav > a::after, .nav > .dd > button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav > .dd:hover > button::after, .nav > a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav .pill { border: 1px solid currentColor; border-radius: 999px; padding: 9px 16px; margin-left: 6px; display: inline-flex; gap: 8px; align-items: center; }
.nav .pill::after { display: none; }
.nav .pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 0 0 rgba(109, 179, 255, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(109, 179, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(109, 179, 255, 0); } }
.hdr-end { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }
.lang { position: relative; }
.lang > button { background: none; border: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 8px 4px; display: flex; gap: 6px; align-items: center; }
.lang ul { position: absolute; right: -10px; top: 100%; list-style: none; margin: 8px 0 0; padding: 8px; background: var(--ink-2); color: var(--ivory); border: 1px solid var(--line-l); border-radius: 10px; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .35s var(--ease); }
.lang:hover ul, .lang:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.lang li a { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 6px; font-size: 13px; }
.lang li a:hover, .lang li a[aria-current] { background: rgba(255, 255, 255, .07); color: var(--brass-2); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mega menu kolekcji */
.dd { position: static; }
.mega { position: absolute; left: var(--pad); right: var(--pad); top: calc(100% - 6px); background: rgba(6, 16, 32, .96); backdrop-filter: blur(20px); color: var(--ivory); border: 1px solid var(--line-l); border-radius: 18px; padding: 26px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .45s var(--ease); }
.dd:hover .mega, .dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: block; }
.mega figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; background: var(--ink-3); }
.mega img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega a:hover img { transform: scale(1.07); }
.mega small { display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); }
.mega b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.mega .mega-cta { grid-column: span 1; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border-radius: 10px; background: linear-gradient(150deg, var(--brass), #0a3f8a); color: #fff; }
.mega .mega-cta b { font-size: 1.6rem; line-height: 1.05; }

/* Menu pełnoekranowe */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--ivory); padding: calc(var(--hdr) + 30px) var(--pad) 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s linear .9s; overflow-y: auto; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu ol li { overflow: hidden; }
.menu ol a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 6vw, 5rem); line-height: 1.12; transform: translateY(110%); transition: transform .9s var(--ease), color .3s; }
.menu ol a::before { counter-increment: m; content: '0' counter(m); font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--brass-2); }
.menu ol a:hover { color: var(--brass-2); font-style: italic; }
.menu-open .menu ol a { transform: none; }
.menu-open .menu ol li:nth-child(2) a { transition-delay: .06s; } .menu-open .menu ol li:nth-child(3) a { transition-delay: .12s; }
.menu-open .menu ol li:nth-child(4) a { transition-delay: .18s; } .menu-open .menu ol li:nth-child(5) a { transition-delay: .24s; } .menu-open .menu ol li:nth-child(6) a { transition-delay: .3s; }
.menu aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; font-size: 14px; color: rgba(238, 243, 249, .7); }
.menu aside a:hover { color: var(--brass-2); }
.menu .mp { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }

/* ── Preloader i przejścia ────────────────────────────────── */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--ink); transform: translateY(0); pointer-events: none; transition: transform 1s var(--ease-io); display: grid; place-items: center; }
.curtain.out { transform: translateY(-101%); }
.curtain.in { transform: translateY(0); transition-duration: .6s; }
.curtain.reset { transition: none; transform: translateY(101%); }
.curtain-logo { position: relative; width: min(560px, 72vw); overflow: hidden; opacity: 0; transform: scale(.94); filter: blur(10px); transition: opacity 1.6s var(--ease) .1s, transform 2.6s var(--ease) .1s, filter 1.6s var(--ease) .1s; }
.curtain-logo img { display: block; width: 100%; height: auto; }
.curtain-logo::after { content: ''; position: absolute; inset: -20% auto -20% -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: logoShine 2.4s var(--ease) .9s both; mix-blend-mode: overlay; }
@keyframes logoShine { from { left: -60%; } to { left: 130%; } }
/* tło intro: wanna, mocno rozmyta i ledwo widoczna, powoli się przybliża */
.curtain::before { content: ''; position: absolute; inset: -80px; background: url(/assets/img/hero-bath-800.webp) 62% center / cover no-repeat; filter: blur(16px) saturate(.9) brightness(.9); opacity: 0; transform: scale(1.12); animation: curtainBg 5s cubic-bezier(.2, .6, .3, 1) .1s forwards; pointer-events: none; }
.curtain::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 65% 50% at 50% 50%, rgba(6, 16, 32, .28), rgba(6, 16, 32, .78) 100%); pointer-events: none; }
.curtain > * { position: relative; z-index: 1; }
@keyframes curtainBg { to { opacity: .55; transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .curtain::before { animation: none; opacity: .3; transform: none; } }
.curtain.loading .curtain-logo { opacity: 1; transform: none; filter: none; }
.curtain.out .curtain-logo { transform: translateY(-40px) scale(.98); opacity: 0; transition-duration: .7s; }
.curtain.in .curtain-logo { opacity: 0; }
.curtain .bar { position: absolute; left: 50%; bottom: 22%; width: 160px; height: 1px; margin-left: -80px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.curtain .bar i { position: absolute; inset: 0; background: var(--brass-2); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--ivory); overflow: hidden; background: var(--ink); }
.hero-media, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; transform: scale(1.06); }
.hero-media .fb img { opacity: 0; transition: opacity 1.6s ease; }
.hero-media .fb img.on { opacity: 1; }
.hero canvas { opacity: 0; transition: opacity 1.2s ease; }
.hero canvas.is-ready { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 16, 32, .55) 0%, rgba(6, 16, 32, .08) 34%, rgba(6, 16, 32, .12) 55%, rgba(6, 16, 32, .82) 100%), linear-gradient(90deg, rgba(6, 16, 32, .55), rgba(6, 16, 32, 0) 60%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(40px, 7vh, 80px); }
.hero h1 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 22px; max-width: 60ch; line-height: 1.7; }
.display { font-family: var(--serif); font-weight: 300; font-size: clamp(2.7rem, 6.6vw, 7.4rem); line-height: .98; letter-spacing: -.02em; margin: 0; }
/* zapas w pionie i poziomie, żeby maska animacji nie ucinała ogonków, kresek i kursywy (ł, g, j, ż) */
.display .row { display: block; overflow: hidden; padding: .14em .14em .2em 0; margin: -.14em 0 -.2em; }
.display .row > span { display: inline-block; }
.morph { display: inline-grid; vertical-align: top; }
.morph.is-morphing { filter: url(#morph-threshold); }
.morph > span { grid-area: 1 / 1; font-style: italic; color: var(--brass-2); white-space: nowrap; padding: .1em .12em .18em 0; margin: -.1em 0 -.18em; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: clamp(26px, 4vh, 44px); }
.hero-lead { font-size: clamp(.98rem, 1.1vw, 1.08rem); line-height: 1.7; color: rgba(238, 243, 249, .82); max-width: 50ch; margin: 0 0 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 42px; height: 30px; background: none; border: 0; position: relative; padding: 0; }
.hero-dots button::before, .hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .3); }
.hero-dots button::after { background: var(--brass-2); transform: scaleX(0); transform-origin: left; }
.hero-dots button.on::after { animation: dot var(--dur, 8.4s) linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.hero-cap { display: flex; gap: 12px; align-items: center; color: rgba(238, 243, 249, .78); min-height: 20px; }
.hero-cap b { color: var(--brass-2); font-weight: 600; }
.hero-cap .v { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 2px 9px; font-size: 10px; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(238, 243, 249, .6); }
.hero-scroll i { width: 1px; height: 46px; background: linear-gradient(var(--brass-2), transparent); animation: scrollcue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── Marquee ──────────────────────────────────────────────── */
.marquee { background: var(--ink); color: var(--ivory); overflow: hidden; border-top: 1px solid var(--line-l); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: mq 48s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 300; padding: 0 34px; white-space: nowrap; display: flex; align-items: center; gap: 68px; }
.marquee span::after { content: '✦'; font-size: .45em; color: var(--brass); }
.marquee span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(238, 243, 249, .55); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── Manifest ─────────────────────────────────────────────── */
.manifesto { background: var(--paper); }
.manifesto p.big { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.12; letter-spacing: -.01em; margin: 0 auto; max-width: 22ch; text-align: center; }
.manifesto p.big em { font-style: italic; color: var(--brass); }
.manifesto .w { opacity: .14; transition: opacity .3s; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.facts div { padding: 34px 26px 0 0; border-right: 1px solid var(--line); padding-left: 26px; }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1; color: var(--ink); }
.facts span { font-size: 13px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ── Split sekcje (wanny / jacuzzi) ───────────────────────── */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.15fr; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.frame.tall { aspect-ratio: 4/5; }
.frame.wide { aspect-ratio: 16/10; }
.frame.sq { aspect-ratio: 1; }
.split-media .inset { position: absolute; width: 42%; right: -7%; bottom: -12%; border: 10px solid var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35); }
.dark .split-media .inset { border-color: var(--ink); }
.cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(6, 16, 32, .45); backdrop-filter: blur(8px); padding: 6px 11px; border-radius: 999px; }
.points { list-style: none; padding: 0; margin: 30px 0 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dark .points { border-color: var(--line-l); }
.points li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dark .points li { border-color: var(--line-l); }
.points li::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--brass); transform: rotate(45deg); flex: none; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.spa-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.spa-strip .frame { aspect-ratio: 4/3; }

/* ── Before / after ───────────────────────────────────────── */
.ba-sec { background: var(--ink); color: var(--ivory); padding-top: 0; }
.ba-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.ba { position: relative; aspect-ratio: 16/8; overflow: hidden; border-radius: var(--radius); cursor: ew-resize; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 1px; background: rgba(255, 255, 255, .8); }
.ba .handle i { position: absolute; top: 50%; left: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(10px); background: rgba(6, 16, 32, .25); display: grid; place-items: center; font-style: normal; font-size: 11px; letter-spacing: .2em; }
.ba .lbl { position: absolute; top: 18px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; background: rgba(6, 16, 32, .5); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 999px; }
.ba .lbl.l { left: 18px; } .ba .lbl.r { right: 18px; }

/* ── Kolekcja – przewijanie poziome ───────────────────────── */
.coll { background: var(--ivory); padding: clamp(90px, 10vw, 150px) 0; overflow-x: clip; }
.coll-head { padding: 0 var(--pad); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.coll-track { display: flex; gap: 22px; padding: 0 var(--pad); width: max-content; }
.card { width: clamp(280px, 30vw, 460px); flex: none; display: block; }
.card .frame { aspect-ratio: 4/5; }
.card .frame img { transition: transform 1.4s var(--ease); }
.card:hover .frame img { transform: scale(1.06); }
.card .no { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: var(--serif); font-size: 1.5rem; color: #fff; mix-blend-mode: difference; }
.card .go { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transform: scale(.4); opacity: 0; transition: .5s var(--ease); }
.card:hover .go { transform: scale(1); opacity: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; }
.card-meta small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.card-meta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.3vw, 2.3rem); margin: 4px 0 6px; line-height: 1.05; }
.card-meta p { margin: 0; font-size: 14px; color: var(--muted); max-width: 34ch; }
.coll-progress { margin: 50px var(--pad) 0; height: 1px; background: var(--line); position: relative; }
.coll-progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ── Atelier ──────────────────────────────────────────────── */
.atelier { background: var(--ink); color: var(--ivory); }
.atelier-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.atelier-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.atelier-grid figure { margin: 0; position: relative; }
.atelier-grid figure:nth-child(1) { grid-column: 1 / 8; }
.atelier-grid figure:nth-child(2) { grid-column: 8 / 13; margin-top: 120px; }
.atelier-grid figure:nth-child(3) { grid-column: 2 / 6; }
.atelier-grid figure:nth-child(4) { grid-column: 6 / 10; margin-top: -80px; }
.atelier-grid figure:nth-child(5) { grid-column: 10 / 13; margin-top: 60px; }
.atelier-grid figure:nth-child(6) { grid-column: 1 / 5; margin-top: -40px; }
.atelier-grid figure:nth-child(7) { grid-column: 5 / 12; }
.atelier-grid .frame { aspect-ratio: 4/3; }
.atelier-grid figure:nth-child(2) .frame, .atelier-grid figure:nth-child(5) .frame { aspect-ratio: 3/4; }
.atelier-grid figcaption { display: flex; justify-content: space-between; padding-top: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(238, 243, 249, .55); }
.atelier-grid figcaption b { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ivory); font-style: italic; }

/* ── Konfigurator ─────────────────────────────────────────── */
.cfg { background: var(--paper); overflow: hidden; }
.cfg .split { grid-template-columns: 1fr 1.25fr; }
.cfg-device { position: relative; aspect-ratio: 16/10.5; border-radius: 22px; overflow: hidden; background: #e9edf0; box-shadow: 0 60px 120px -50px rgba(6, 16, 32, .55), 0 0 0 1px rgba(6, 16, 32, .06); }
.cfg-device iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cfg-device .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cfg-device .activate { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: linear-gradient(180deg, rgba(6, 16, 32, 0) 55%, rgba(6, 16, 32, .55)); border: 0; color: #fff; }
.cfg-device .activate span { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; background: rgba(6, 16, 32, .55); backdrop-filter: blur(8px); padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.cfg-device.live .activate { display: none; }
.blob { position: absolute; width: 560px; height: 560px; right: -160px; top: -120px; background: radial-gradient(circle at 30% 30%, var(--brass-3), transparent 60%); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: blob 18s ease-in-out infinite alternate; opacity: .8; z-index: 0; filter: blur(4px); }
@keyframes blob { 0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0); } 50% { border-radius: 63% 37% 38% 62% / 55% 61% 39% 45%; } 100% { border-radius: 36% 64% 52% 48% / 34% 51% 49% 66%; transform: rotate(40deg); } }
.cfg .split > * { position: relative; z-index: 1; }

/* ── Produkcja (sticky) ───────────────────────────────────── */
.craft { background: var(--ink); color: var(--ivory); }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.craft-sticky { position: sticky; top: 110px; height: calc(100vh - 160px); border-radius: var(--radius); overflow: hidden; }
.craft-sticky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 1.6s var(--ease); }
.craft-sticky img.on { opacity: 1; transform: scale(1); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line-l); opacity: .5; transition: opacity .6s; }
.steps li.on { opacity: 1; }
.steps li span { font-size: 12px; letter-spacing: .22em; color: var(--brass-2); }
.steps li h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 4rem); margin: 10px 0 12px; }
.steps li p { max-width: 42ch; margin: 0; }

/* ── Zaufanie ─────────────────────────────────────────────── */
.trust { background: var(--ivory); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.trust-list div { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); }
.trust-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-list div:nth-child(even) { padding-left: 22px; }
.trust-list b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.15; margin-bottom: 6px; }
.trust-list span { font-size: 14px; color: var(--muted); }
.trust-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-photos .frame:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.trust-photos .frame { aspect-ratio: 1; }
.trust-photos .award { background: #e5ebf2; }
.trust-photos .award img { object-fit: contain; padding: 18px; }

/* ── Kontakt ──────────────────────────────────────────────── */
.contact { background: var(--ink); color: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 110px); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: 14px; overflow: hidden; margin-top: 36px; }
.cards > div { background: var(--ink); padding: 24px; }
.cards small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 8px; }
.cards a, .cards p { display: block; font-size: 15px; color: var(--ivory); margin: 0 0 4px; }
.cards a:hover { color: var(--brass-2); }
.cards .wide { grid-column: 1 / -1; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(238, 243, 249, .25); color: var(--ivory); padding: 26px 0 10px; font: inherit; font-size: 16px; outline: none; transition: border-color .3s; border-radius: 0; appearance: none; }
.field select { cursor: pointer; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field label { position: absolute; left: 0; top: 26px; font-size: 15px; color: rgba(238, 243, 249, .55); pointer-events: none; transition: .35s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brass-2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field.sel label { top: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); }
.form-note { font-size: 12.5px; color: rgba(238, 243, 249, .5); }
.map { margin-top: 26px; border-radius: 14px; overflow: hidden; aspect-ratio: 16/8; filter: grayscale(1) contrast(1.05) brightness(.9); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ── Stopka ───────────────────────────────────────────────── */
.foot { background: #080c10; color: rgba(238, 243, 249, .6); padding: 90px var(--pad) 36px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-l); }
.foot-brand img { width: 230px; margin-bottom: 22px; }
.foot h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a:hover { color: var(--ivory); }
.foot-big { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 12vw, 13rem); line-height: .9; color: rgba(238, 243, 249, .06); letter-spacing: -.02em; margin: 40px 0 10px; white-space: nowrap; overflow: hidden; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12px; }

/* ── Podstrony: hero ──────────────────────────────────────── */
.phero { position: relative; height: 92svh; min-height: 560px; color: var(--ivory); overflow: hidden; background: var(--ink); }
.phero .bg { position: absolute; inset: -8% 0 0; }
.phero .bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 16, 32, .5), rgba(6, 16, 32, .05) 40%, rgba(6, 16, 32, .85)); }
.phero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(40px, 8vh, 90px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 243, 249, .7); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.crumbs a:hover { color: var(--brass-2); }
.h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 9vw, 9.5rem); line-height: .9; letter-spacing: -.02em; margin: 0 0 22px; }
.phero .short { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: rgba(238, 243, 249, .82); max-width: 52ch; margin: 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.intro-grid .big { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.2; margin: 0; }
.gallery { columns: 3 320px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.gallery img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related .card { width: auto; }
.band { background: var(--ivory); text-align: center; }
.band .h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }

/* ── Lightbox ─────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(4, 10, 22, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .5s var(--ease); }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 4px; transform: scale(.96); transition: transform .6s var(--ease), opacity .3s; }
.lb.open img { transform: none; }
.lb p { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(238, 243, 249, .7); font-size: 13px; letter-spacing: .1em; }
.lb button { position: absolute; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 56px; height: 56px; border-radius: 50%; font-size: 20px; transition: .3s; }
.lb button:hover { background: rgba(255, 255, 255, .1); }
.lb .x { top: 24px; right: 24px; } .lb .pv { left: 24px; top: 50%; } .lb .nx { right: 24px; top: 50%; }

/* ── Kursor ───────────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--brass-2); mix-blend-mode: difference; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; display: grid; place-items: center; }
.cursor b { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; font-weight: 700; }
.cursor.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--brass-2); }
.cursor.big b { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── Animacje wejścia ─────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js .split-lines .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .split-lines .ln > span { display: inline-block; transform: translateY(105%); }
.js .img-reveal { clip-path: inset(100% 0 0 0); }

/* ── Responsywność ────────────────────────────────────────── */
@media (max-width: 1260px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-end .btn { display: none; }
  .mega { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr: 70px; }
  .logo { width: 150px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-meta { align-items: flex-start; }
  .hero-scroll { display: none; }
  .split, .split.rev, .cfg .split, .coll-head, .atelier-head, .craft-grid, .trust-grid, .contact-grid, .intro-grid { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split > * { min-width: 0; }
  .split-media .inset { right: 12px; bottom: -40px; width: 46%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .coll-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .coll-track::-webkit-scrollbar { display: none; }
  .card { width: 78vw; scroll-snap-align: start; }
  .atelier-grid { grid-template-columns: 1fr 1fr; }
  .atelier-grid figure { grid-column: auto !important; margin-top: 0 !important; }
  .atelier-grid figure:nth-child(1), .atelier-grid figure:nth-child(7) { grid-column: 1 / -1 !important; }
  .craft-sticky { position: relative; top: 0; height: 60vh; }
  .steps li { min-height: auto; padding: 40px 0; opacity: 1; }
  .menu { grid-template-columns: 1fr; }
  .cards, .form, .trust-list { grid-template-columns: 1fr; }
  .trust-list div:nth-child(odd) { border-right: 0; }
  .trust-list div:nth-child(even) { padding-left: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4/3; }
  .spa-strip { grid-template-columns: 1fr 1fr; }
  .spa-strip .frame:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  body::after { display: none; }
  .js [data-reveal], .js .split-lines .ln > span { opacity: 1; transform: none; }
  .js .img-reveal { clip-path: none; }
}

/* ── Stany animacji (JS) ──────────────────────────────────── */
.js [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .split-lines .ln > span { transition: transform 1.2s var(--ease); }
.js .split-lines.in .ln > span { transform: none; }
.js .img-reveal { transition: clip-path 1.6s var(--ease-io); }
.js .img-reveal img { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.js .img-reveal.in { clip-path: inset(0 0 0 0); }
.js .img-reveal.in img { transform: scale(1); }
.js .img-reveal.in img[data-speed] { transition: none; }
.js .hero .display .row > span { transform: translateY(108%); transition: transform 1.5s var(--ease); }
.js .hero .display .row:nth-child(2) > span { transition-delay: .12s; }
.js .hero [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease) .45s, transform 1.2s var(--ease) .45s; }
.js.ready .hero .display .row > span, .js.ready .hero [data-hero] { transform: none; opacity: 1; }
.js .hero-media { transform: scale(1.12); transition: transform 2.6s var(--ease); }
.js.ready .hero-media { transform: none; }
.morph > span:nth-child(2) { opacity: 0; }
.hdr { opacity: 1; }

/* Kolekcja przypięta */
.coll-pin { position: relative; }
.coll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.coll-pin .coll-head { margin-bottom: 36px; }
.coll-pin .coll-head .h2 { font-size: clamp(2.4rem, 4.6vw, 4.8rem); margin-bottom: 0; }
.coll-pin .card { width: calc(min(54vh, 520px) * .8); }
.coll-pin .coll-track { will-change: transform; }
.coll-pin .coll-progress { margin-top: 34px; }
.coll-end { width: clamp(260px, 26vw, 400px); flex: none; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 3vw; }
.coll-end b { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; }
@media (max-width: 900px) {
  .coll-sticky { position: relative; height: auto; }
  .coll-pin .card { width: 78vw; }
  .coll-end { width: 70vw; scroll-snap-align: start; }
}

/* Konfigurator – plakat do czasu wczytania */
.cfg-device .poster { transition: opacity 1s ease; }
.cfg-device.loaded .poster { opacity: 0; }
.cfg-device iframe { opacity: 0; transition: opacity 1s ease; }
.cfg-device.loaded iframe { opacity: 1; }
.cfg-device .chip { position: absolute; top: 16px; left: 16px; z-index: 4; display: flex; gap: 8px; align-items: center; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); color: var(--ink); padding: 7px 12px; border-radius: 999px; }
.cfg-device .chip i { width: 7px; height: 7px; border-radius: 50%; background: #2fb36a; box-shadow: 0 0 0 0 rgba(47, 179, 106, .6); animation: pulse 2s infinite; }

/* Strona 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad); }
.nf b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(7rem, 22vw, 20rem); line-height: .8; color: var(--brass); }

/* Produkt – pasek informacji */
.pbar { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 26px var(--pad); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.pbar b { color: var(--ink); font-weight: 600; margin-left: 8px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-l); }
.why div { padding: 36px 30px 0 0; }
.why div + div { padding-left: 30px; border-left: 1px solid var(--line-l); }
.why b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 10px; color: var(--ivory); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why div + div { padding-left: 0; border-left: 0; } }

/* Pełnoekranowe odsłonięcie */
.expand { position: relative; height: 220vh; background: var(--ink); }
.expand-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.expand-media { position: absolute; inset: 0; clip-path: inset(var(--ci, 16%) var(--cx, 22%) round var(--cr, 18px)); will-change: clip-path; }
.expand-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--cs, 1.25)); will-change: transform; }
.expand-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(6,16,32,.1), rgba(6,16,32,.6)); opacity: var(--co, 0); }
.expand-text { position: relative; z-index: 2; text-align: center; color: var(--ivory); padding: 0 var(--pad); opacity: var(--to, 0); transform: translateY(calc((1 - var(--to, 0)) * 40px)); }
.expand-text .h2 { font-size: clamp(3rem, 8vw, 8.5rem); max-width: 12ch; margin: 0 auto 30px; }
.expand .cap { left: 50%; transform: translateX(-50%); bottom: 26px; }
@media (max-width: 900px) { .expand { height: 170vh; } }
@media (prefers-reduced-motion: reduce) { .expand { height: auto; } .expand-sticky { position: relative; } .expand-media { clip-path: none; } .expand-text { opacity: 1; transform: none; } }
.coll { padding: 0; }
@media (max-width: 900px) { .coll { padding: 90px 0; } .hdr-end { margin-left: auto; } }
@media (max-width: 1260px) { .hdr-end { margin-left: auto; } }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 22px; }
.products-grid .card { width: auto; }
.products-grid .card:nth-child(3n+2) { margin-top: 80px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr; } .products-grid .card:nth-child(3n+2) { margin-top: 0; } }

.split .h2, .coll-head .h2, .atelier-head .h2, .trust .h2, .contact .h2 { font-size: clamp(2.4rem, 4.2vw, 4.6rem); }
.h2, .h1, .display, .big { font-variant-numeric: lining-nums; }

/* Zakład – mozaika zdjęć */
.plant { background: var(--paper); }
.plant .coll-head > div:last-child { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.plant-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 16vw, 260px); gap: 16px; }
.plant-grid .frame { height: 100%; }
.plant-grid .frame:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.plant-grid .frame:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.plant-grid .frame:nth-child(3), .plant-grid .frame:nth-child(4), .plant-grid .frame:nth-child(5) { grid-column: span 2; grid-row: span 1; }
@media (max-width: 900px) { .plant-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; } .plant-grid .frame { grid-column: span 1 !important; grid-row: span 1 !important; } .plant-grid .frame:nth-child(1) { grid-column: span 2 !important; } }

/* Mapa dojazdu */
.map-band { position: relative; height: min(78vh, 680px); min-height: 460px; background: #e4e9f0; }
.map-band iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(420px, calc(100% - 2 * var(--pad))); background: var(--paper); padding: 34px; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(6, 16, 32, .45); }
.js .map-card[data-reveal] { transform: translateY(calc(-50% + 30px)); }
.js .map-card[data-reveal].in { transform: translateY(-50%); }
.map-card p { font-size: 15px; color: #34475c; }
.map-card a:not(.btn) { color: var(--ink); }
.map-card .cta-row { margin-top: 22px; }
.map { filter: none; aspect-ratio: 16/10; }
@media (max-width: 1000px) {
  .map-band { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .map-band iframe { position: relative; height: 380px; }
  .map-card, .js .map-card[data-reveal], .js .map-card[data-reveal].in { position: relative; left: 0; top: 0; transform: none; width: 100%; border-radius: 0; box-shadow: none; }
}
/* Logo w nagłówku na ciemnym tle – lepszy kontrast */
.logo { width: 200px; }
.hdr:not(.on-light) .logo .lw, .hdr.menu-open .logo .lw { filter: brightness(1.35) saturate(1.1) drop-shadow(0 2px 14px rgba(0, 0, 0, .55)); }
@media (max-width: 900px) { .logo { width: 156px; } }

/* ── HERO: animowane logo ─────────────────────────────────── */
.hero-logo { position: absolute; z-index: 3; right: var(--pad); top: 21%; width: min(25vw, 420px); pointer-events: none; will-change: transform; }
.hero-logo.flying { z-index: 160; }
.hl-scroll { will-change: transform, opacity; }
.hl-3d { position: relative; transform-style: preserve-3d; perspective: 1400px; will-change: transform; }
.hl-img { position: relative; transform: translateZ(40px); }
.hl-img img { display: block; width: 100%; height: auto; filter: brightness(1.12) saturate(1.05) drop-shadow(0 18px 30px rgba(0, 12, 40, .5)) drop-shadow(0 0 14px rgba(40, 130, 255, .18)); }
.hl-shine, .hl-spec { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/assets/logo-tp-dark-800.webp) center / 100% 100% no-repeat; mask: url(/assets/logo-tp-dark-800.webp) center / 100% 100% no-repeat; mix-blend-mode: screen; }
.hl-shine { background: linear-gradient(110deg, transparent 38%, rgba(160, 210, 255, .25) 45%, rgba(255, 255, 255, .95) 50%, rgba(160, 210, 255, .25) 55%, transparent 62%) no-repeat; background-size: 320% 100%; animation: hlShine 6s cubic-bezier(.6, 0, .3, 1) 1.8s infinite; background-position: 150% 0; }
@keyframes hlShine { 0% { background-position: 150% 0; } 32%, 100% { background-position: -60% 0; } }
.hl-spec { background: radial-gradient(circle at var(--mx, 60%) var(--my, 35%), rgba(200, 230, 255, .9), rgba(90, 170, 255, .25) 16%, transparent 34%); opacity: .45; }
.hl-glow { position: absolute; inset: -40% -18% -30%; transform: translateZ(-120px); background: radial-gradient(ellipse at 50% 50%, rgba(28, 110, 255, .26), rgba(28, 110, 255, .08) 38%, transparent 68%); filter: blur(30px); animation: hlPulse 5s ease-in-out infinite; }
@keyframes hlPulse { 0%, 100% { opacity: .75; transform: translateZ(-120px) scale(1); } 50% { opacity: 1; transform: translateZ(-120px) scale(1.08); } }
.hl-rings { position: absolute; left: 50%; top: 88%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(78deg); transform-style: preserve-3d; }
.hl-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(120, 190, 255, .38); box-shadow: 0 0 12px rgba(60, 150, 255, .22), inset 0 0 12px rgba(60, 150, 255, .14); opacity: 0; animation: hlRing 6s cubic-bezier(.2, .6, .3, 1) infinite; }
.hl-rings i:nth-child(2) { animation-delay: 1.5s; } .hl-rings i:nth-child(3) { animation-delay: 3s; } .hl-rings i:nth-child(4) { animation-delay: 4.5s; }
@keyframes hlRing { 0% { transform: scale(.25); opacity: 0; } 12% { opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.hl-reflect { position: relative; margin-top: 4%; transform: scaleY(-1); opacity: .32; filter: url(#hl-water) blur(.6px); -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 70%); mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 70%); }
.hl-reflect img { display: block; width: 100%; height: auto; filter: brightness(1.2); }
/* wejście (bez przelotu z intro) */
.js .hero-logo:not(.flown) .hl-scroll { opacity: 0; transform: translateY(30px) scale(.9); filter: blur(14px); transition: opacity 1.4s var(--ease) .35s, transform 1.8s var(--ease) .35s, filter 1.4s var(--ease) .35s; }
.js.ready .hero-logo:not(.flown) .hl-scroll { opacity: 1; transform: none; filter: none; }
/* telefon: logo widoczne od razu pod kurtyną (szybki LCP), wjeżdża tylko ruchem */
@media (max-width: 900px) { .js .hero-logo:not(.flown) .hl-scroll { opacity: 1; filter: none; } }
.curtain.fade { transform: none !important; opacity: 0; transition: opacity 2.2s cubic-bezier(.4, 0, .2, 1) .2s !important; }
/* rozpływanie się całej kurtyny razem z logo (logo lekko rośnie) */
.curtain.fade-logo .curtain-logo { opacity: 1; filter: none; transform: scale(1.04); transition: transform 2.6s var(--ease), opacity 1s; }
.curtain.fade .bar { opacity: 0; transition: opacity .3s; }
@media (max-width: 1100px) { .hero-logo { width: 30vw; top: 22%; } }
@media (max-width: 900px) {
  .hero-logo { left: var(--pad); right: auto; margin: 0; top: calc(var(--hdr) + 22px); width: min(46vw, 210px); }
  .hero h1 { letter-spacing: .14em; font-size: 12px; line-height: 1.6; margin-bottom: 16px; text-shadow: 0 1px 10px rgba(6, 16, 32, .7); }
  .hl-reflect, .hl-rings { display: none; }
}
@media (max-width: 900px) and (max-height: 760px) { .hero-logo { display: none; } }
@media (prefers-reduced-motion: reduce) { .hl-shine, .hl-rings i, .hl-glow { animation: none !important; } .hl-reflect { filter: none; } }
.hl-3d::before { content: ''; position: absolute; inset: -55% -22% -45%; transform: translateZ(-160px); background: radial-gradient(ellipse at 50% 50%, rgba(4, 10, 22, .62), rgba(4, 10, 22, .28) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hl-reflect { opacity: .13; }

/* ── Produkcja seryjna (B2B) ──────────────────────────────── */
.b2b { background: linear-gradient(180deg, var(--ink) 0%, #0e1620 100%); overflow: hidden; }
.b2b::before { content: ''; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(11, 92, 197, .16), transparent 60%); pointer-events: none; }
.b2b .split { align-items: start; }
.b2b-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: 18px; overflow: hidden; }
.b2b-points > div { background: rgba(6, 16, 32, .92); padding: 34px 30px 36px; transition: background .5s; }
.b2b-points > div:hover { background: #0d1c35; }
.b2b-points span { font-size: 12px; letter-spacing: .22em; color: var(--brass-2); }
.b2b-points h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2vw, 2.1rem); line-height: 1.1; margin: 14px 0 10px; color: var(--ivory); }
.b2b-points p { margin: 0; font-size: 15px; }
.b2b-steps { list-style: none; margin: 50px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.b2b-steps li { padding: 34px 28px 0 0; position: relative; }
.b2b-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.b2b-steps span { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--brass); font-weight: 300; font-variant-numeric: lining-nums; }
.b2b-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; margin: 16px 0 10px; }
.b2b-steps p { margin: 0; color: #45566a; font-size: 15px; }
@media (max-width: 900px) {
  .b2b-points { grid-template-columns: 1fr; }
  .b2b-steps { grid-template-columns: 1fr 1fr; }
  .b2b-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) { .b2b-steps { grid-template-columns: 1fr; } .b2b-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--paper); }
.faq.dark { background: var(--ink); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq.dark .faq-list { border-color: var(--line-l); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq.dark .faq-list details { border-color: var(--line-l); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.7vw, 1.7rem); line-height: 1.25; transition: color .3s; }
.faq-list summary:hover h3 { color: var(--brass); }
.faq-list summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; position: relative; opacity: .7; transition: transform .5s var(--ease), background .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(180deg); background: var(--brass); border-color: var(--brass); color: #fff; opacity: 1; }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { margin: 0 0 28px; max-width: 62ch; font-size: 16px; line-height: 1.75; color: #34475c; animation: faqIn .6s var(--ease); }
.faq.dark .faq-list details p { color: rgba(238, 243, 249, .72); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } }
/* formularz: więcej pól */
.form .field.sel label { top: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); }
@media (max-width: 1320px) { .nav > a, .nav > .dd > button { padding: 10px 10px; } .nav > a::after, .nav > .dd > button::after { left: 10px; right: 10px; } }
.nav > a, .nav > .dd > button, .nav .pill { white-space: nowrap; }
@media (max-width: 1440px) { .nav > a, .nav > .dd > button { font-size: 12.5px; padding: 10px 9px; } .nav > a::after, .nav > .dd > button::after { left: 9px; right: 9px; } .nav .pill { padding: 9px 14px; } }
/* dłuższe etykiety DE / IT – menu w wersji „burger” wcześniej */
@media (max-width: 1400px) {
  html[lang="de"] .nav, html[lang="it"] .nav { display: none; }
  html[lang="de"] .burger, html[lang="it"] .burger { display: block; }
  html[lang="de"] .hdr-end, html[lang="it"] .hdr-end { margin-left: auto; }
}

/* ── Osoby kontaktowe + WhatsApp ───────────────────────── */
.cards .pp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; padding: 7px 0; border-bottom: 1px solid var(--line-l); margin: 0; }
.cards .pp:last-child { border-bottom: 0; }
.cards .pp-n { color: rgba(238, 243, 249, .78); font-size: 14px; }
.cards .pp-c { display: inline-flex; align-items: center; gap: 12px; }
.cards .pp-c > a { display: inline; margin: 0; }
.wa-link { display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; background: #15803d; color: #fff !important; font-size: 12px !important; font-weight: 600; letter-spacing: .04em; line-height: 1; transition: background .3s, transform .3s var(--ease); }
.wa-link:hover { background: #116b33; transform: translateY(-1px); }
.wa-link svg { width: 15px; height: 15px; }
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #15803d; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .03em; box-shadow: 0 18px 40px -12px rgba(8, 60, 30, .55), 0 0 0 0 rgba(37, 211, 102, .5); animation: waPulse 3.2s ease-out 4s infinite; transition: transform .4s var(--ease), background .3s, opacity .4s; }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab:hover { background: #116b33; transform: translateY(-3px); }
@keyframes waPulse { 0% { box-shadow: 0 18px 40px -12px rgba(8, 60, 30, .55), 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 18px 40px -12px rgba(8, 60, 30, .55), 0 0 0 16px rgba(37, 211, 102, 0); } }
body.cc-on .wa-fab, .hdr.menu-open ~ .wa-fab { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (max-width: 600px) { .wa-fab { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }

/* ── Mapa Google po zgodzie ───────────────────────────── */
.map:has(.map-ph) { filter: none; }
.map-ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(circle at 30% 30%, rgba(109, 179, 255, .10), transparent 55%), repeating-linear-gradient(0deg, transparent 0 38px, rgba(255, 255, 255, .05) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, .05) 38px 39px), var(--ink-2); color: var(--ivory); }
.map-ph > div { max-width: 360px; }
.map-ph svg { color: var(--brass-2); margin-bottom: 6px; }
.map-ph p { font-size: 13.5px; line-height: 1.55; color: rgba(238, 243, 249, .72); margin: 0 0 16px; }
.map-ph .btn { --b: var(--ivory); padding: 13px 22px; font-size: 11.5px; }
.map-ph .btn:hover { color: var(--ink); }
.map-ph--band { position: absolute; inset: 0; padding-left: max(24px, calc(var(--pad) + 460px)); background: radial-gradient(circle at 70% 40%, rgba(11, 92, 197, .14), transparent 55%), repeating-linear-gradient(0deg, transparent 0 46px, rgba(6, 16, 32, .06) 46px 47px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(6, 16, 32, .06) 46px 47px), #e4e9f0; color: var(--ink); }
.map-ph--band p { color: #45566a; }
.map-ph--band svg { color: var(--brass); }
.map-ph--band .btn { --b: var(--ink); }
.map-ph--band .btn:hover { color: var(--paper); }
@media (max-width: 900px) { .map-ph--band { padding: 24px 24px 40px; place-items: end center; } }

/* ── Baner cookies ────────────────────────────────────── */
.cc { position: fixed; left: 22px; bottom: 22px; z-index: 140; width: min(540px, calc(100% - 44px)); color: var(--ivory); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cc.on { opacity: 1; transform: none; }
.cc-box { position: relative; background: rgba(10, 24, 48, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(109, 179, 255, .28); border-radius: 20px; padding: 28px 28px 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.cc-k { margin: 0 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); }
.cc h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin: 0 36px 10px 0; }
.cc p#cc-d { font-size: 14px; line-height: 1.6; color: rgba(238, 243, 249, .78); margin: 0 0 18px; }
.cc a { color: var(--brass-2); text-decoration: underline; text-underline-offset: 3px; }
.cc-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); background: none; color: var(--ivory); cursor: pointer; font-size: 13px; }
.cc-x:hover { border-color: var(--brass-2); color: var(--brass-2); }
.cc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-b { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 14px 16px; border-radius: 999px; border: 1px solid rgba(238, 243, 249, .55); background: transparent; color: var(--ivory); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.cc-b:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.cc-b--main { background: var(--brass); border-color: var(--brass); color: #fff; }
.cc-b--main:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--ink); }
.cc-b[data-cc-act="settings"], .cc-b[data-cc-act="save"] { grid-column: 1 / -1; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 6px; order: 3; }
.cc-b[data-cc-act="save"] { text-decoration: none; border-color: rgba(238, 243, 249, .55); padding: 14px 16px; }
.cc-b[data-cc-act="settings"]:hover { background: none; color: var(--brass-2); }
.cc-prefs { border-top: 1px solid var(--line-l); margin: 0 0 16px; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-l); cursor: pointer; }
.cc-row b { display: block; font-size: 14px; font-weight: 600; }
.cc-row small { display: block; font-size: 12.5px; line-height: 1.5; color: rgba(238, 243, 249, .62); margin-top: 3px; }
.cc-row em { font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-2); white-space: nowrap; }
.cc-sw { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--ink-4); border: 1px solid var(--line-l); position: relative; cursor: pointer; transition: background .3s; margin: 0; }
.cc-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ivory); transition: transform .3s var(--ease); }
.cc-sw:checked { background: var(--brass); border-color: var(--brass); }
.cc-sw:checked::after { transform: translateX(20px); }
.cc-sw:focus-visible, .cc-b:focus-visible, .cc-x:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.cc-open { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cc-open:hover { color: var(--brass-2); }
@media (max-width: 600px) { .cc { left: 10px; right: 10px; bottom: 10px; width: auto; } .cc-box { padding: 22px 20px 18px; } .cc h2 { font-size: 1.45rem; } }

/* ── Polityka prywatności ─────────────────────────────── */
.legal { padding-top: calc(var(--hdr) + 80px); background: var(--paper); }
.legal .crumbs { color: rgba(6, 16, 32, .55); }
.legal-wrap > .lead { max-width: 760px; }
.legal .h1 { font-size: clamp(2.6rem, 6.5vw, 6.4rem); overflow-wrap: anywhere; hyphens: auto; }
.legal-date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 18px 0 0; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); padding-top: clamp(30px, 4vw, 50px); }
.legal-toc { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.legal-toc p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.legal-toc li { counter-increment: t; font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.legal-toc li::before { content: counter(t, decimal-leading-zero); color: var(--brass); font-size: 11px; margin-right: 10px; }
.legal-toc a:hover { color: var(--brass); }
.legal-body { max-width: 780px; }
.legal-body section { scroll-margin-top: calc(var(--hdr) + 20px); padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.1; margin: 0 0 18px; display: flex; gap: 16px; align-items: baseline; }
.legal-body h2 span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--brass); }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.75; color: #2e4156; }
.legal-body ul { padding-left: 20px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 10px; }
.legal-body li::marker { color: var(--brass); }
.legal-body a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.legal-body b { color: var(--ink); }
.tbl { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; background: #eaf0f7; padding: 12px 14px; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; color: #2e4156; line-height: 1.5; }
.tbl code { font-size: 12.5px; background: #e3ebf5; padding: 2px 7px; border-radius: 6px; color: var(--ink); }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } }
/* telefon, strona główna: jedno logo naraz – w nagłówku pojawia się dopiero po przewinięciu */
@media (max-width: 900px) and (min-height: 761px) {
  .hdr .logo { transition: opacity .5s var(--ease); }
  body:has(.hero-logo) .hdr:not(.is-solid):not(.menu-open) .logo { opacity: 0; pointer-events: none; }
}

/* ── Dostępność (audyt 11.2026): kontrast, fokus, cele dotykowe ─────────── */
.dark .kicker, .hero .kicker, .foot .kicker { color: var(--brass-2); }
.cc-b { min-height: 44px; }
.field :is(input, textarea, select):focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; }
.dark :focus-visible, .hero :focus-visible, .menu :focus-visible, .foot :focus-visible, .cc :focus-visible { outline-color: var(--brass-2); }
.foot small { opacity: 1 !important; color: rgba(238, 243, 249, .72); }
.legal .crumbs { color: rgba(6, 16, 32, .68); }
html:not(.js) .curtain { display: none; }
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(6, 16, 32, .62) 0%, rgba(6, 16, 32, .42) 30%, rgba(6, 16, 32, .55) 55%, rgba(6, 16, 32, .88) 100%); }
}
/* „Dlaczego TOM-PLAST”: 3 kolumny na komputerze, jedna na telefonie */
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-grid > div { border-right: 1px solid var(--line); padding-left: 22px; min-width: 0; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid > div { border-right: 0; padding-left: 0; }
}

/* ── Nowości: plakietka i sekcja promocyjna ─────────────────────────────── */
.badge-new { position: absolute; top: 16px; right: 16px; z-index: 3; display: inline-block; background: var(--brass); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1; padding: 9px 14px 8px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(11, 92, 197, .8); }
.badge-new--inline { position: static; margin: 0 0 18px; width: fit-content; align-self: flex-start; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.news-card .frame { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r, 4px); }
.news-card .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transition: transform 1.4s var(--ease); }
.news-card .frame:hover img { transform: scale(1.04); }
.news-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; margin: 28px 0 12px; }
.news-card > p { color: rgba(238, 243, 249, .78); margin: 0; max-width: 56ch; }
.news-card .points { margin: 22px 0 28px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } }
