/* =========================================================
   INNBOX: strona główna (koncepcja). Mobile first.
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Fraunces"; src: url(../fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-latin-ext-opsz-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Manrope"; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0e1112;
  --ink-2: #15191a;
  --ink-3: #1d2224;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --pack: #eaebef;
  --mint: #90cabb;
  --mint-2: #b9e0d5;
  --mint-ink: #2b7464;
  --gold: #c9a86a;
  --gold-2: #f1dcaa;
  --text: #121516;
  --muted: #545b5e;
  --muted-light: #a9b3b1;
  --line: rgba(18, 21, 22, .12);
  --line-light: rgba(255, 255, 255, .12);

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

  --gutter: clamp(20px, 4.5vw, 64px);
  --radius: clamp(18px, 2.2vw, 30px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --section: clamp(88px, 13vw, 180px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1rem/1.6 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- typografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.1rem;
  font: 700 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint-ink);
}
.eyebrow--light { color: var(--mint); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(144, 202, 187, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(144, 202, 187, 0); } 100% { box-shadow: 0 0 0 0 rgba(144, 202, 187, 0); } }

.h2 {
  font: 380 clamp(2.15rem, 5.4vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.028em;
  font-variation-settings: "opsz" 144; text-wrap: balance;
}
.h2 em { font-style: italic; font-weight: 300; color: var(--mint-ink); }
.h2--light { color: #fff; }
.h2--light em { color: var(--mint); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.lead--light { color: var(--muted-light); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(40px, 6vw, 80px); max-width: 900px; }
.section-head--split { max-width: none; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 4rem; }
}

/* złota folia (hot stamping) */
.foil {
  font-style: italic; font-weight: 300;
  background: linear-gradient(100deg, var(--mint) 0%, var(--mint-2) 22%, var(--gold-2) 42%, var(--gold) 55%, var(--mint) 78%, var(--mint-2) 100%);
  background-size: 250% 100%; background-position: var(--sheen, 30%) 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s var(--ease-io) infinite alternate;
  padding-right: .06em;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- przyciski ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .9em 1.6em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { scale: .97; }
.btn--sm { min-height: 42px; padding: .7em 1.2em; font-size: .86rem; }
.btn--lg { min-height: 64px; padding: 1.1em 2em; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.btn--mint { --bg: var(--mint); --fg: var(--ink); box-shadow: 0 10px 40px -10px rgba(144, 202, 187, .55); }
.btn--mint:hover { --bg: var(--mint-2); box-shadow: 0 16px 50px -10px rgba(144, 202, 187, .75); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: #fff; --bg: rgba(255, 255, 255, .06); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: #000; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--ink); }
.link { color: inherit; font-weight: 700; text-underline-offset: .25em; }

/* ---------- pasek postępu (zawsze widoczny, nad menu) ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--gold-2), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* =========================================================
   NAWIGACJA: zwykły górny pasek
   ========================================================= */
:root { --nav-h: 68px; }
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: #fff;
  border-bottom: 1px solid transparent; transition: transform .5s var(--ease-out), background-color .4s, border-color .4s;
}
.nav.is-solid { background: rgba(14, 17, 18, .88); border-bottom-color: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav__logo { flex: none; margin-right: auto; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: none; gap: 1.7rem; }
.nav__links a { position: relative; padding: .4em 0; color: rgba(255, 255, 255, .75); font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mint); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current] { color: #fff; }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__tel { display: none; color: rgba(255, 255, 255, .75); font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav__tel:hover { color: #fff; }
.nav__cta { display: none; }
.nav__burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: transparent; display: grid; place-content: center; gap: 6px; }
.nav__burger i { display: block; width: 18px; height: 1.6px; background: #fff; transition: transform .4s var(--ease-out); }
.nav__burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.8px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49; padding: calc(var(--nav-h) + 30px) var(--gutter) 34px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow: auto;
  background: var(--ink); color: #fff;
}
.menu nav { display: grid; }
.menu nav a { padding: .25em 0; border-bottom: 1px solid var(--line-light); font: 360 clamp(1.9rem, 8vw, 2.8rem)/1.2 var(--serif); letter-spacing: -.02em; color: #fff; text-decoration: none; }
.menu nav a:hover { color: var(--mint); font-style: italic; }
.menu:not([hidden]) nav a { animation: rise .6s var(--ease-out) both; }
.menu nav a:nth-child(2) { animation-delay: .03s; } .menu nav a:nth-child(3) { animation-delay: .06s; }
.menu nav a:nth-child(4) { animation-delay: .09s; } .menu nav a:nth-child(5) { animation-delay: .12s; }
.menu nav a:nth-child(6) { animation-delay: .15s; } .menu nav a:nth-child(7) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.menu__foot { display: grid; gap: 1rem; justify-items: start; }
.menu__foot p { display: grid; gap: .3rem; color: var(--muted-light); }
.menu__foot a:not(.btn) { text-decoration: none; }

@media (min-width: 1100px) {
  :root { --nav-h: 76px; }
  .nav__links, .nav__cta { display: flex; }
  .nav__burger, .menu { display: none !important; }
  .nav__logo img { height: 34px; }
}
@media (min-width: 1300px) { .nav__tel { display: block; } }

/* ---------- tła: zorza + ziarno ---------- */
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.hero__aurora i:nth-child(1) { width: 55vmax; height: 55vmax; left: -15vmax; top: -20vmax; background: radial-gradient(circle, #2c6f62, transparent 65%); animation: drift1 26s var(--ease-io) infinite alternate; }
.hero__aurora i:nth-child(2) { width: 45vmax; height: 45vmax; right: -12vmax; top: 10vmax; background: radial-gradient(circle, rgba(201, 168, 106, .55), transparent 65%); animation: drift2 30s var(--ease-io) infinite alternate; }
.hero__aurora i:nth-child(3) { width: 40vmax; height: 40vmax; left: 30%; bottom: -25vmax; background: radial-gradient(circle, rgba(144, 202, 187, .55), transparent 65%); animation: drift1 34s var(--ease-io) infinite alternate-reverse; }
.hero__aurora--soft i { opacity: .35; }
@keyframes drift1 { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-10vmax, 10vmax, 0) scale(.9); } }

/* =========================================================
   HERO = UNBOXING
   Wieczko (lid) na cały ekran zdejmowane przewijaniem.
   Pod nim wnętrze pudełka (tray) w perspektywie: karta z przekazem + wkładka.
   ========================================================= */
.unbox { position: relative; height: 240vh; background: var(--ink); }
.unbox__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1400px; perspective-origin: 50% 35%; }

.tray {
  --wall: clamp(14px, 5vmin, 58px); --L: 0; --R: 0;
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  transform-origin: 50% 50%; will-change: transform;
}
.tray::before { /* krawędź tektury oklejonej papierem */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 3px #232829, inset 0 0 0 4px rgba(201, 168, 106, .25);
}
.tray__wall { position: absolute; inset: 0; z-index: 1; }
.tray__wall--t { clip-path: polygon(0 0, 100% 0, calc(100% - var(--wall)) var(--wall), var(--wall) var(--wall)); background: linear-gradient(180deg, #0a1715, #15302a); }
.tray__wall--b { clip-path: polygon(var(--wall) calc(100% - var(--wall)), calc(100% - var(--wall)) calc(100% - var(--wall)), 100% 100%, 0 100%); background: linear-gradient(0deg, #1d4038, #2c5e53); }
.tray__wall--l { clip-path: polygon(0 0, var(--wall) var(--wall), var(--wall) calc(100% - var(--wall)), 0 100%); background: linear-gradient(90deg, #0f2420, #1c3d36); }
.tray__wall--r { clip-path: polygon(100% 0, 100% 100%, calc(100% - var(--wall)) calc(100% - var(--wall)), calc(100% - var(--wall)) var(--wall)); background: linear-gradient(270deg, #0c1e1b, #183630); }
.tray__floor {
  position: absolute; inset: var(--wall); z-index: 1; overflow: hidden;
  display: grid; align-content: center; gap: clamp(14px, 3vw, 40px); padding: clamp(14px, 3.4vw, 56px);
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(144, 202, 187, .22), transparent 70%),
    radial-gradient(120% 120% at 50% 50%, #24544a, #12302a 70%, #0c211d);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .55), inset 0 0 22px rgba(0, 0, 0, .5);
}
.tray__floor > .grain { opacity: .16; }
.tray__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .55), #000 85%); opacity: calc((1 - var(--L)) * .92); }

[data-rise] { position: relative; z-index: 2; opacity: var(--R); transform: translateY(calc((1 - var(--R)) * 46px)) scale(calc(.95 + var(--R) * .05)); }
.insert[data-rise] { transform: translateY(calc((1 - var(--R)) * 80px)) scale(calc(.93 + var(--R) * .07)); }

/* karta z przekazem: kremowy karton, złocona ramka */
.print {
  rotate: -1.2deg; padding: clamp(22px, 3.6vw, 60px); border-radius: 3px; color: var(--ink);
  background: radial-gradient(120% 90% at 0% 0%, #fffdf8, #f1ebdf 70%, #e8e0d0);
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .7), 0 12px 20px -10px rgba(0, 0, 0, .4), inset 0 1px 0 #fff;
  display: grid; gap: clamp(12px, 1.6vw, 22px); justify-items: start;
}
.print::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(176, 139, 76, .55); pointer-events: none; }
.print__kicker { font-size: .7rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #8a6d38; }
.print__title { font: 340 clamp(2.3rem, 5.6vw, 5.6rem)/.94 var(--serif); letter-spacing: -.04em; font-variation-settings: "opsz" 144; text-wrap: balance; }
.print__title em {
  font-style: italic; font-weight: 300; padding-right: .05em;
  background: linear-gradient(100deg, #7d5f2b 0%, #c9a86a 30%, #f0d9a4 var(--foil, 48%), #a78446 75%, #7d5f2b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.print__lead { color: #4a4f4f; max-width: 46ch; font-size: clamp(.98rem, 1.15vw, 1.12rem); line-height: 1.6; }
.print__lead strong { color: var(--ink); }
.print__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.print__sign { font: italic 400 .9rem/1 var(--serif); color: #8a7c66; display: none; }

/* wkładka z gniazdami: ciemna pianka, w gniazdach realizacje */
.insert {
  rotate: 1.2deg; padding: clamp(8px, 1vw, 14px); border-radius: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(6px, 1vw, 14px);
  background: radial-gradient(120% 120% at 30% 0%, #1b1f20, #0b0d0d); box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.slot { position: relative; aspect-ratio: 1; border-radius: 5px; overflow: hidden; display: block; color: #fff; text-decoration: none; background: #050606; transition: transform .6s var(--ease-out); }
.slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; filter: saturate(.9) brightness(.85); }
.slot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 8px 16px rgba(0, 0, 0, .85), inset 0 -2px 4px rgba(255, 255, 255, .06); border-radius: inherit; pointer-events: none; }
.slot span {
  position: absolute; left: 6px; right: 4px; bottom: 6px; z-index: 1; font-size: .5rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-2); text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
.slot:hover { transform: translateY(-6px); }
.slot:hover img { transform: scale(1.08); filter: none; }

/* satynowa tasiemka przez dno pudełka */
.satin {
  position: absolute; z-index: 1; left: -10%; right: -10%; top: 62%; height: clamp(26px, 3.4vw, 46px); rotate: -9deg;
  background: linear-gradient(180deg, #a9874a 0%, #f1dcaa 30%, #c9a86a 52%, #8f7039 78%, #d9bf88 100%);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .6); opacity: .92;
}

/* wieczko */
.lid { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 4; transform-style: preserve-3d; transform-origin: 50% 0%; will-change: transform; pointer-events: none; }
html:not(.js) .lid, html:not(.js) .lid__open { display: none; }
html:not(.js) .tray { --L: 1; --R: 1; }
.lid__face {
  position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(circle at var(--gx, 50%) var(--gy, 40%), rgba(255, 255, 255, .085), transparent 42%),
    linear-gradient(145deg, #1b2021, #0e1112 55%, #151a1b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 -40px 80px rgba(0, 0, 0, .4);
}
.lid__face::after {
  content: ""; position: absolute; inset: 0; opacity: .1; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.lid__frame { position: absolute; inset: clamp(16px, 4vmin, 44px); border: 1px solid rgba(201, 168, 106, .6); }
.lid__frame::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 168, 106, .25); }
.lid__logo {
  display: grid; justify-items: center; gap: clamp(8px, 1.4vw, 18px); text-align: center;
  font: italic 280 clamp(4.4rem, 17vw, 15rem)/.8 var(--serif); letter-spacing: -.04em; padding: 0 .08em .06em;
  background: linear-gradient(100deg, #7d5f2b 0%, #c9a86a 22%, #f6e2b3 var(--foil, 45%), #b08b4c calc(var(--foil, 45%) + 16%), #e3c78e 88%, #8d6e36 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, .12)) drop-shadow(0 3px 3px rgba(0, 0, 0, .75));
}
.lid__logo small { font: 700 clamp(.55rem, 1vw, .78rem)/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; font-style: normal; }
.lid__corner { position: absolute; top: calc(clamp(16px, 4vmin, 44px) + 22px); font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(201, 168, 106, .75); }
.lid__corner--tl { left: calc(clamp(16px, 4vmin, 44px) + 24px); }
.lid__corner--tr { right: calc(clamp(16px, 4vmin, 44px) + 24px); }
.lid__hint {
  position: absolute; bottom: calc(clamp(16px, 4vmin, 44px) + 26px); left: 50%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light);
}
.lid__hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: hint 1.8s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.lid__edge { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; transform-origin: 50% 100%; transform: rotateX(-90deg); background: linear-gradient(180deg, #23292a, #0a0c0c); }
.lid__open {
  position: absolute; z-index: 5; left: 50%; bottom: calc(clamp(16px, 4vmin, 44px) + 90px); translate: -50% 0;
  padding: .7em 1.3em; border-radius: 999px; border: 1px solid rgba(201, 168, 106, .5); background: rgba(14, 17, 18, .5); color: var(--gold-2);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; transition: opacity .4s, background-color .3s, border-color .3s;
}
.lid__open:hover { background: rgba(201, 168, 106, .14); border-color: var(--gold); }
.unbox.is-open .lid__open { opacity: 0; pointer-events: none; }
.unbox:not(.is-open) .tray__floor { pointer-events: none; }

@media (min-width: 640px) {
  .print__sign { display: block; }
}
@media (min-width: 1000px) {
  .tray__floor { grid-template-columns: 1.12fr .88fr; align-items: center; column-gap: clamp(30px, 4vw, 70px); }
  .insert { grid-template-columns: repeat(2, 1fr); align-self: center; }
  .slot { aspect-ratio: 4 / 3.4; }
  .slot span { font-size: .66rem; letter-spacing: .16em; left: 12px; bottom: 10px; }
  .satin { left: 46%; right: -20%; top: 8%; rotate: 24deg; }
}
@media (max-height: 760px) and (min-width: 1000px) {
  .print__title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
}

/* ograniczony ruch: pudełko od razu otwarte, bez przypinania */
@media (prefers-reduced-motion: reduce) {
  .unbox { height: auto; }
  .unbox__pin { position: relative; height: auto; min-height: 100svh; }
  .tray { position: relative; min-height: 100svh; --L: 1; --R: 1; }
  .lid, .lid__open { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 60px) 0; overflow: hidden; border-top: 1px solid var(--line-light); }
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding-right: clamp(18px, 3vw, 40px); will-change: transform; }
.marquee__track a {
  font: 330 clamp(2.4rem, 7vw, 6rem)/1.05 var(--serif); letter-spacing: -.035em; text-decoration: none; color: #fff;
  transition: color .3s, font-style .3s;
}
.marquee__track a:hover { color: var(--mint); font-style: italic; }
.marquee__track img { height: clamp(48px, 7vw, 92px); width: auto; aspect-ratio: 935/800; border-radius: 14px; object-fit: cover; transform: rotate(-4deg); transition: transform .5s var(--ease-out); }
.marquee__track img:nth-of-type(even) { transform: rotate(5deg); }
.marquee__row--rev { margin-top: .6rem; }
.marquee__row--rev a { font-size: clamp(1.4rem, 3.4vw, 2.8rem); font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(144, 202, 187, .8); }
.marquee__row--rev a:hover { color: var(--mint); }
.star { color: var(--gold); font-size: 1.1rem; }

/* =========================================================
   KOLEKCJA: taśma 3D
   ========================================================= */
.collection { padding: var(--section) 0 clamp(70px, 9vw, 120px); background: var(--paper); overflow: clip; }
.collection__head { display: grid; gap: 1.6rem; margin-bottom: clamp(24px, 4vw, 48px); }
.collection__head .h2 { max-width: 15ch; }
.collection__tools { display: grid; gap: 1rem; align-content: end; }
@media (min-width: 1000px) {
  .collection__head { grid-template-columns: 1fr auto; align-items: end; }
  .collection__tools { justify-items: end; }
}
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .chips { flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; max-width: 560px; overflow: visible; } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: .5em 1em; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; font-size: .86rem; font-weight: 600; color: var(--text);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip sup { font-size: .7em; opacity: .55; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); width: max-content; }
.seg button { min-height: 38px; padding: .4em 1.1em; border: 0; border-radius: 999px; background: transparent; font-size: .84rem; font-weight: 700; color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }

.rail { --cw: clamp(230px, 68vw, 380px); }
@media (min-width: 700px) { .rail { --cw: clamp(260px, 30vw, 400px); } }
.rail__stage {
  position: relative; height: calc(var(--cw) * .86 + 120px); perspective: 1500px; perspective-origin: 50% 40%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: -4px;
}
.rail__stage.is-dragging { cursor: grabbing; }
.rail__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  position: absolute; left: calc(50% - var(--cw) / 2); top: calc(50% - var(--cw) * .43); width: var(--cw); aspect-ratio: 935 / 800;
  transform-style: preserve-3d; will-change: transform, opacity; -webkit-tap-highlight-color: transparent;
  border: 0; padding: 0; background: none; text-align: left;
}
.card__in {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--pack);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(var(--tz, 0px));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -30px rgba(14, 17, 18, .45), 0 10px 20px -12px rgba(14, 17, 18, .2);
}
.card.is-active .card__in { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 50px 90px -30px rgba(14, 17, 18, .55), 0 0 0 1px rgba(144, 202, 187, .5); }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .9s var(--ease-out); -webkit-user-drag: none; }
.card:hover img { transform: scale(1.06); }
.card__in::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 45%); mix-blend-mode: soft-light;
}
.card:hover .card__in::before { opacity: 1; }
.card__in::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: var(--dim, 0); pointer-events: none; z-index: 3; }
.card__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2; padding: .35em .8em; border-radius: 999px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--text);
}
.card__name { display: none; }

.rail__cursor {
  position: absolute; left: 0; top: 0; z-index: 5; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none; background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; scale: .4; transition: opacity .3s, scale .4s var(--ease-out);
}
.rail__stage.is-hover .rail__cursor { opacity: 1; scale: 1; }
.rail__stage.is-dragging .rail__cursor { scale: .75; background: var(--mint); color: var(--ink); }
@media (hover: none), (pointer: coarse) { .rail__cursor { display: none; } }

.rail__bar { display: grid; gap: 1.4rem; margin-top: clamp(8px, 2vw, 24px); }
.rail__info { min-height: 8.5rem; }
.rail__kat { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-ink); }
.rail__name { font: 380 clamp(1.7rem, 3.2vw, 2.6rem)/1.08 var(--serif); letter-spacing: -.02em; margin: .3rem 0 .45rem; }
.rail__desc { color: var(--muted); max-width: 52ch; }
.rail__info.is-swap > * { animation: swap .6s var(--ease-out); }
.rail__info.is-swap .rail__name { animation-delay: .03s; }
.rail__info.is-swap .rail__desc { animation-delay: .06s; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.rail__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.rail__count { font: 400 1rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--muted); }
.rail__count b { color: var(--text); font-weight: 500; font-size: 1.4rem; }
.rail__progress { position: relative; flex: 1 1 80px; min-width: 60px; max-width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); transition: transform .4s var(--ease-out); }
.rbtn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  font-size: 1.1rem; display: grid; place-items: center; transition: background-color .25s, color .25s, transform .4s var(--ease-out);
}
.rbtn:hover { background: var(--ink); color: #fff; }
.rbtn:active { transform: scale(.92); }
.rbtn--play span { width: 12px; height: 12px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.rbtn--play[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; border-right: 0; margin-left: 3px; }
.rail__ctrl .btn { margin-left: auto; }
@media (min-width: 900px) {
  .rail__bar { grid-template-columns: 1fr auto; align-items: end; }
  .rail__ctrl .btn { margin-left: .6rem; }
}

/* widok siatki: wszystkie produkty naraz */
.rail.is-grid .rail__stage { height: auto; perspective: none; cursor: default; touch-action: auto; }
.rail.is-grid .rail__track { position: static; display: grid; gap: clamp(10px, 1.6vw, 20px); grid-template-columns: repeat(2, 1fr); width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 700px) { .rail.is-grid .rail__track { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .rail.is-grid .rail__track { grid-template-columns: repeat(4, 1fr); } }
.rail.is-grid .card { position: relative; left: auto; top: auto; width: auto; transform: none !important; opacity: 1 !important; cursor: pointer; }
.rail.is-grid .card[hidden] { display: none; }
.rail.is-grid .card__in { --dim: 0 !important; }
.rail.is-grid .card__name {
  display: block; position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: .55rem .8rem; border-radius: 12px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); font: 420 clamp(.92rem, 1.3vw, 1.08rem)/1.2 var(--serif);
}
.rail.is-grid .rail__cursor, .rail.is-grid [data-prev], .rail.is-grid [data-next], .rail.is-grid [data-play], .rail.is-grid .rail__progress, .rail.is-grid .rail__count, .rail.is-grid .rail__info { display: none; }
.rail.is-grid .rail__bar { margin-top: 2rem; }

/* =========================================================
   KONSTRUKCJE (bento)
   ========================================================= */
.kinds { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--line); }
.bento { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: 1fr; }
.tile {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: var(--pack); color: var(--text); isolation: isolate; min-height: 100%;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(14, 17, 18, .45); }
.tile img { width: 100%; aspect-ratio: 935 / 800; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.06); }
.tile__body { display: grid; gap: .55rem; padding: clamp(20px, 2.4vw, 32px); background: inherit; position: relative; z-index: 1; }
.tile h3 { font: 380 clamp(1.6rem, 2.6vw, 2.3rem)/1.05 var(--serif); letter-spacing: -.02em; }
.tile p { color: var(--muted); font-size: .95rem; max-width: 42ch; }
.tile__more { font-size: .86rem; font-weight: 700; margin-top: .4rem; display: inline-flex; gap: .4em; }
.tile__more span { transition: transform .4s var(--ease-out); }
.tile:hover .tile__more span { transform: translateX(6px); }
.ico { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; color: var(--mint-ink); }
.ico path, .ico ellipse, .ico circle { stroke-dasharray: 220; stroke-dashoffset: 0; }
.tile:hover .ico path, .tile:hover .ico ellipse, .tile:hover .ico circle { animation: draw 1.4s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 220; } }
.tile--xl { background: var(--ink); color: #fff; min-height: 520px; justify-content: flex-end; }
.tile--xl img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; z-index: -1; }
.tile--xl::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 35%, rgba(14, 17, 18, .92)); }
.tile--xl .tile__body { background: none; }
.tile--xl p { color: #c9d1cf; }
.tile--xl .ico { color: var(--mint); }
.tile--mint { background: #d4ebe4; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--xl { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile { grid-column: span 4; }
  .tile--xl { grid-column: span 7; grid-row: span 2; min-height: 640px; }
  .bento > :nth-child(2), .bento > :nth-child(3) { grid-column: span 5; flex-direction: row; }
  .bento > :nth-child(2) img, .bento > :nth-child(3) img { width: 52%; aspect-ratio: auto; height: 100%; }
  .bento > :nth-child(2) .tile__body, .bento > :nth-child(3) .tile__body { align-content: center; flex: 1; }
}

/* =========================================================
   REALIZACJE: poziomy scroll przypięty
   ========================================================= */
.story { position: relative; background: var(--ink); color: #fff; }
.story__pin { position: relative; overflow: hidden; padding: var(--section) 0 60px; }
.story__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 24px; scrollbar-width: none; }
.story__track::-webkit-scrollbar { display: none; }
.panel { flex: none; width: 82vw; max-width: 460px; scroll-snap-align: center; position: relative; }
.panel--intro, .panel--end { display: grid; align-content: center; gap: 1.4rem; }
.panel--end { justify-items: start; }
.panel__lead { color: var(--muted-light); max-width: 46ch; font-size: 1.05rem; }
.panel__hint { color: var(--mint); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.panel__hint span { display: inline-block; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.panel__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-3); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; translate: var(--px, 0) 0; will-change: translate; }
.panel__txt { margin-top: 1rem; display: grid; gap: .35rem; }
.panel__no { font: italic 300 1rem/1 var(--serif); color: var(--gold); }
.panel__txt h3 { font: 380 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--serif); letter-spacing: -.02em; }
.panel__txt p { color: var(--muted-light); max-width: 34ch; }
.story__bar { display: none; }

@media (min-width: 900px) {
  .story.is-pinned { height: var(--story-h, 400vh); }
  .story.is-pinned .story__pin { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; align-items: center; }
  .story.is-pinned .story__track { overflow: visible; scroll-snap-type: none; gap: clamp(40px, 5vw, 90px); padding: 0 8vw 0 var(--gutter); will-change: transform; align-items: center; }
  .story.is-pinned .panel { width: auto; max-width: none; }
  .story.is-pinned .panel--intro { width: min(46vw, 640px); }
  .story.is-pinned .panel--end { width: min(44vw, 560px); }
  .story.is-pinned .panel:not(.panel--intro):not(.panel--end) { display: flex; align-items: flex-end; gap: 28px; }
  .story.is-pinned .panel__img { height: min(72vh, 680px); width: auto; aspect-ratio: 2 / 3; }
  .story.is-pinned .panel:nth-child(odd) .panel__img { height: min(60vh, 560px); }
  .story.is-pinned .panel__txt { width: 240px; margin: 0 0 1rem; }
  .story.is-pinned .story__bar { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line-light); }
  .story__bar i { position: absolute; inset: 0; background: var(--mint); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
}

/* =========================================================
   LICZNIKI
   ========================================================= */
.stats { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.4rem; }
.stat { border-top: 1px solid var(--text); padding-top: 1.2rem; display: grid; gap: .6rem; align-content: start; }
.stat b { font: 300 clamp(3.4rem, 8vw, 6.6rem)/.9 var(--serif); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--text); }
.stat span { color: var(--muted); font-size: .92rem; max-width: 30ch; }
@media (min-width: 1000px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* =========================================================
   TECHNOLOGIE
   ========================================================= */
.tech { position: relative; padding: var(--section) 0; background: var(--ink); color: #fff; overflow: clip; }
.tech__list { border-top: 1px solid var(--line-light); counter-reset: t; }
.tech__list li {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .3rem 1rem;
  padding: clamp(16px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line-light); cursor: default;
  transition: opacity .4s, padding .5s var(--ease-out);
}
.tech__no { font: italic 300 .95rem/1 var(--serif); color: var(--gold); width: 2.4em; }
.tech__name { font: 330 clamp(1.7rem, 5vw, 4.2rem)/1.02 var(--serif); letter-spacing: -.035em; transition: transform .6s var(--ease-out), color .3s; }
.tech__d { grid-column: 2; color: var(--muted-light); font-size: .9rem; }
.tech__list li img { grid-row: 1 / span 2; grid-column: 3; width: 74px; height: 64px; object-fit: cover; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .tech__list li { grid-template-columns: 4rem 1fr auto; }
  .tech__d { grid-column: 3; grid-row: 1; text-align: right; }
  .tech__list li img { display: none; }
  .tech__list:hover li { opacity: .35; }
  .tech__list li:hover { opacity: 1; }
  .tech__list li:hover .tech__name { transform: translateX(24px); color: var(--mint); font-style: italic; }
}
.tech__preview {
  position: fixed; left: 0; top: 0; z-index: 20; width: 300px; aspect-ratio: 935 / 800; margin: -128px 0 0 -150px;
  border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; scale: .6;
  transition: opacity .35s, scale .5s var(--ease-out); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
}
.tech__preview.is-on { opacity: 1; scale: 1; }
.tech__preview img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   PROCES
   ========================================================= */
.process { padding: var(--section) 0; background: var(--paper); }
.process__grid { display: grid; gap: 3rem; }
.process__aside { display: grid; gap: 1.2rem; align-content: start; justify-items: start; }
.steps { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); padding-left: 64px; }
.steps__line { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.steps__line b { position: absolute; inset: 0; background: var(--mint-ink); transform-origin: top; transform: scaleY(var(--lp, 0)); }
.step { position: relative; display: grid; gap: .5rem; }
.step__no {
  position: absolute; left: -64px; top: -4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); font: italic 400 .95rem/1 var(--serif); z-index: 1;
  transition: background-color .5s, color .5s, border-color .5s;
}
.step.is-in .step__no { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.step h3 { font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--serif); letter-spacing: -.02em; }
.step p { color: var(--muted); max-width: 48ch; }
@media (min-width: 1000px) {
  .process__grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; }
  .process__aside { position: sticky; top: 130px; align-self: start; }
}

/* =========================================================
   MARKI
   ========================================================= */
.brands { padding: 0 0 var(--section); background: var(--paper); }
.brands__grid { display: grid; gap: 20px; }
.brand {
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .6s var(--ease-out);
}
.brand__img { overflow: hidden; aspect-ratio: 16 / 10; }
.brand__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__img img { transform: scale(1.05); }
.brand__body { padding: clamp(24px, 3vw, 44px); display: grid; gap: 1.1rem; align-content: start; }
.brand__logo { height: 34px; width: auto; }
.brand__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.brand--photo { background: #141c2e; color: #dfe6f3; }
.brand--photo .brand__logo { filter: brightness(1.6) saturate(.6); }
.brand--wood { background: #ede3d4; color: #3b2f22; }
@media (min-width: 900px) { .brands__grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   OPINIE
   ========================================================= */
.quotes { padding: 0 0 var(--section); background: var(--paper); overflow: hidden; }
.quotes__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.quotes__track { display: flex; gap: 18px; width: max-content; animation: scrollX 70s linear infinite; padding: 4px 0; }
.quotes__row:hover .quotes__track, .quotes__row:focus-within .quotes__track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(calc(-50% - 9px)); } }
.quotes__track li {
  width: min(78vw, 420px); padding: 28px; border-radius: var(--radius); background: #fff; display: grid; gap: 1.2rem; align-content: space-between;
  box-shadow: 0 20px 40px -30px rgba(14, 17, 18, .3);
}
.quotes__track blockquote { font: 380 1.12rem/1.5 var(--serif); }
.quotes__track blockquote::before { content: "„"; display: block; font-size: 3rem; line-height: .6; color: var(--mint-ink); }
.quotes__track cite { font-style: normal; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); }

/* =========================================================
   KONTAKT + STOPKA
   ========================================================= */
.contact { position: relative; isolation: isolate; overflow: clip; background: var(--ink); color: #fff; padding: var(--section) 0; }
.contact__grid { position: relative; z-index: 2; display: grid; gap: 3.5rem; }
.contact__grid > div:first-child { display: grid; gap: 1.6rem; justify-items: start; }
.contact__title { font: 330 clamp(2.6rem, 7.4vw, 6.4rem)/.95 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.contact__list { display: grid; gap: 1.6rem; align-content: end; }
.contact__list div { border-top: 1px solid var(--line-light); padding-top: 1rem; display: grid; gap: .4rem; }
.contact__list dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); font-weight: 700; }
.contact__list dd { display: grid; gap: .2rem; font: 400 1.25rem/1.4 var(--serif); }
.contact__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); width: max-content; }
.contact__list a:hover { background-size: 100% 1px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.4fr .6fr; gap: 6rem; } }

.foot { background: #080a0a; color: var(--muted-light); padding: 70px 0 30px; font-size: .92rem; }
.foot__grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr 1fr; }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 34ch; }
.foot__brand img { height: 36px; width: auto; }
.foot h4 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.foot nav { display: grid; gap: .45rem; align-content: start; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--mint); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .8rem; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot__brand { grid-column: auto; } }

/* =========================================================
   SZCZEGÓŁY PRODUKTU (dialog)
   ========================================================= */
.detail { width: min(1100px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--text); overflow: auto; }
.detail::backdrop { background: rgba(14, 17, 18, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.detail[open] { animation: pop .6s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.detail__in { position: relative; display: grid; }
.detail__img { background: var(--pack); }
.detail__img img { width: 100%; aspect-ratio: 935 / 800; object-fit: cover; }
.detail__body { padding: clamp(24px, 4vw, 56px); display: grid; gap: 1.1rem; align-content: center; }
.detail__body .h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .4em .9em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.detail__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.detail__x { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 1.6rem; line-height: 1; }
@media (min-width: 900px) { .detail__in { grid-template-columns: 1.1fr .9fr; } .detail__img img { height: 100%; } }

/* =========================================================
   ODSŁANIANIE PRZY PRZEWIJANIU
   ========================================================= */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .brand[data-reveal].is-in { transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }

/* =========================================================
   OGRANICZONY RUCH
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { transform: none; transition: opacity .4s; }
  .hero__aurora i { animation: none; }
  .quotes__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .quotes__track { animation: none; padding-inline: var(--gutter); }
  .marquee__row { overflow-x: auto; }
  .card__in, .brand, .tile { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-solid { background: var(--ink); backdrop-filter: none; }
}


/* ramka wieczka zaczyna się pod paskiem menu */
.lid__frame { top: calc(var(--nav-h) + 6px); }
.lid__corner { top: calc(var(--nav-h) + 28px); }
.menu[hidden] { display: none; }
.lid__hint { white-space: nowrap; }
@media (max-width: 639px) {
  .lid__corner--tr { display: none; }
  .lid__corner--tl { left: 50%; translate: -50% 0; white-space: nowrap; letter-spacing: .2em; }
  .lid__open { bottom: calc(clamp(16px, 4vmin, 44px) + 120px); }
}
