/* LUKIER — style strony. Mobile-first (320px+). Bez bibliotek.
   Klasy na <html>: js / no-js, rm (ograniczony ruch), no-gl (brak WebGL2 → plakat zamiast sceny). */

@font-face { font-family: "Fraunces Fallback"; src: local("Times New Roman"), local("Liberation Serif"), local("Tinos");
  size-adjust: 105%; ascent-override: 93%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("Liberation Serif Italic"), local("Tinos Italic");
  size-adjust: 105%; ascent-override: 93%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Liberation Sans"), local("Arimo");
  size-adjust: 102%; ascent-override: 104.5%; descent-override: 29.4%; line-gap-override: 0%; }

:root {
  --ink: #060a18; --ink-2: #0b1226; --navy: #101a38; --navy-2: #16224a;
  --snow: #eef1fa; --mist: #b4bdd9; --mist-2: #8f9abd;
  --gold: #f0c36a; --gold-2: #ffdd9a; --candle: #ff9f4a; --red: #e0574f;
  --cocoa: #160e0d; --cocoa-2: #22150f; --paper: #f4efe6;
  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(18px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--ink); color: var(--snow); font: 400 1rem/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-2); text-underline-offset: .2em; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
em { font-style: italic; color: var(--gold-2); font-weight: 340; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- scena + plakaty ---------- */
.scene { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; background: var(--ink); }
.no-js .scene, .no-gl .scene { display: none; }

/* ---------- nagłówek ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hdr); transition: background-color .4s, box-shadow .4s; }
.hdr.solid { background: rgba(6, 10, 24, .78); box-shadow: 0 1px 0 rgba(240, 195, 106, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 12px; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--snow); text-decoration: none; margin-right: auto; }
.brand-mark { width: 28px; height: 28px; color: var(--gold); }
.brand-word { font: 500 1.5rem/1 var(--serif); letter-spacing: -.01em; }
.brand-tag { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 3px 7px 2px; border-radius: 20px; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; color: var(--snow); text-decoration: none; font-size: .93rem; font-weight: 600; border-radius: 30px; transition: background-color .25s, color .25s; }
.nav a:hover, .nav a[aria-current="true"] { background: rgba(240, 195, 106, .14); color: var(--gold-2); }
.chip { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--snow); border: 1px solid rgba(240, 195, 106, .35); border-radius: 30px; padding: 6px 12px; white-space: nowrap; background: rgba(6, 10, 24, .4); }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--candle); box-shadow: 0 0 10px var(--candle); animation: flick 2.4s infinite; }
@keyframes flick { 0%, 100% { opacity: 1; } 45% { opacity: .55; } 50% { opacity: .9; } 70% { opacity: .7; } }
.menu-btn { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid rgba(238, 241, 250, .3); border-radius: 30px; background: rgba(6, 10, 24, .5); cursor: pointer; font-weight: 600; font-size: .9rem; }
.menu-ico { width: 18px; height: 10px; position: relative; }
.menu-ico i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-ico i:first-child { top: 0; } .menu-ico i:last-child { top: 8px; }
.hdr.open .menu-ico i:first-child { top: 4px; transform: rotate(45deg); }
.hdr.open .menu-ico i:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 919px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { position: fixed; top: var(--hdr); left: 0; right: 0; background: rgba(6, 10, 24, .96); border-bottom: 1px solid rgba(240, 195, 106, .2); padding: 10px var(--pad) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .js .hdr.open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .3s var(--ease); }
  .js .hdr.open { background: rgba(6, 10, 24, .96); }
  .js .nav ul { flex-direction: column; }
  .js .nav a { font: 400 1.6rem/1.2 var(--serif); padding: 12px 4px; border-radius: 0; border-bottom: 1px solid rgba(238, 241, 250, .08); }
  .no-js .hdr { position: absolute; height: auto; }
  .no-js .hdr-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .no-js .nav ul { flex-wrap: wrap; }
}
@media (max-width: 519px) {
  .chip { font-size: .72rem; padding: 5px 9px; }
  .brand-tag { display: none; }
  .menu-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .menu-btn { padding: 0 11px; }
}
@media (max-width: 359px) { .chip-dot { display: none; } .brand-word { font-size: 1.3rem; } }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 40px; border: 1px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 30px -8px rgba(255, 159, 74, .55); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 10px 36px -6px rgba(255, 159, 74, .75); }
.btn-ghost { background: rgba(6, 10, 24, .45); color: var(--snow); border-color: rgba(238, 241, 250, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-line { background: transparent; color: var(--gold-2); border-color: rgba(240, 195, 106, .5); min-height: 44px; }
.btn-line:hover, .btn-line[aria-pressed="true"] { background: rgba(240, 195, 106, .12); }
.btn-ico { font-size: 1.05em; line-height: 1; }
.btn-text { background: none; border: 0; padding: 6px 0; color: var(--gold-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-weight: 600; font-size: .9rem; }

/* ---------- 01 · noc ---------- */
.noc { position: relative; z-index: 1; }
.noc-stage { position: relative; padding: calc(var(--hdr) + 30px) 0 40px; }
.noc-ch { position: relative; padding: 0 var(--pad); max-width: 46rem; margin-bottom: 18vh; text-shadow: 0 2px 18px rgba(6, 10, 24, .85), 0 0 2px rgba(6, 10, 24, .6); }
.noc-ch p { color: #e3e8f6; max-width: 34rem; }
.ch0 { min-height: calc(100svh - var(--hdr) - 70px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 6vh; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2) !important; display: flex; gap: 8px; align-items: baseline; }
.star-ico { color: var(--candle); }
.h-hero { font: 380 clamp(3rem, 12.5vw, 8.4rem)/.92 var(--serif); letter-spacing: -.035em; margin: 16px 0 22px; }
.h-hero em { font-weight: 300; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--mist); max-width: 36rem; }
.noc .lead { color: #e3e8f6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.count { margin-top: 30px; }
.count-lbl { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mist) !important; margin-bottom: 8px; }
.count-row { display: flex; gap: 8px; }
.cd { display: flex; flex-direction: column; align-items: center; min-width: 62px; padding: 8px 8px 6px; border: 1px solid rgba(240, 195, 106, .28); border-radius: 14px; background: rgba(6, 10, 24, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cd b { font: 400 1.7rem/1.1 var(--serif); font-variant-numeric: tabular-nums; color: var(--snow); }
.cd small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.count.today .cd b { color: var(--gold-2); }
.ch-n { font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-2) !important; margin-bottom: 12px; }
.h-ch { font: 380 clamp(2.1rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.025em; margin-bottom: 18px; }
.noc-hud, .noc-scroll, .noc-ring { display: none; }

/* lot na sticky: tylko z JS i bez ograniczonego ruchu */
.js:not(.rm) .noc { height: 520vh; }
.js:not(.rm) .noc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.js:not(.rm) .noc-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 10, 24, .82) 0, rgba(6, 10, 24, .35) 42%, rgba(6, 10, 24, 0) 70%); pointer-events: none; }
.js:not(.rm) .noc-ch { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto 0 0; padding: 0 var(--pad) clamp(70px, 12vh, 120px); opacity: 0; transform: translateY(26px); transition: none; will-change: opacity, transform; pointer-events: none; }
.js:not(.rm) .noc-ch.on { pointer-events: auto; }
.js:not(.rm) .ch0 { min-height: 0; opacity: 1; transform: none; padding-bottom: clamp(36px, 8vh, 90px); }
.js:not(.rm) .ch0.gone { visibility: hidden; }
.js:not(.rm) .ch2 { bottom: auto; top: calc(var(--hdr) + 6vh); }
.js:not(.rm) .ch2::before { content: ""; position: absolute; inset: -40% -30% -30% -10%; background: radial-gradient(closest-side, rgba(6, 10, 24, .6), rgba(6, 10, 24, 0)); z-index: -1; }
.js:not(.rm) .noc-hud { display: grid; position: absolute; right: var(--pad); bottom: clamp(28px, 5vh, 48px); grid-template-columns: auto auto; gap: 6px 14px; align-items: baseline; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); text-shadow: 0 1px 8px rgba(6, 10, 24, .9); opacity: 0; transition: opacity .5s; }
.js:not(.rm) .noc-hud.on { opacity: 1; }
.hud-v { color: var(--snow); font-size: .9rem; letter-spacing: .04em; }
.hud-v b { font: 400 1.5rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.hud-bar { grid-column: 1 / -1; height: 2px; background: rgba(238, 241, 250, .18); border-radius: 2px; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--candle)); transform-origin: left; transform: scaleX(0); }
.js:not(.rm) .noc-scroll { display: flex; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); transition: opacity .4s; }
.noc-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--gold-2), transparent); animation: drip 2s infinite var(--ease); transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.js:not(.rm) .noc-ring { display: block; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  --rx: 50%; --ry: 50%; --rr: 0px; --f: 0; --m: 0; --d: 0;
  background: radial-gradient(circle at var(--rx) var(--ry), #fffaf0 0, #fff1d4 calc(var(--rr) * (.05 + var(--f))), #ffdf9e calc(var(--rr) * (.2 + var(--f) * .85)), #ffbd62 calc(var(--rr) * (.42 + var(--f) * .5)), rgba(255, 152, 62, .6) calc(var(--rr) * (.72 + var(--f) * .2)), rgba(255, 140, 50, 0) var(--rr)); }
.js:not(.rm) .noc-ring::before, .js:not(.rm) .noc-ring::after { content: ""; position: absolute; inset: 0; }
.js:not(.rm) .noc-ring::before { background: radial-gradient(circle farthest-corner at var(--rx) var(--ry), #f6b866 0, #d0823c 30%, #8e4b1e 68%, #5a2c12 100%); opacity: var(--m); }
.js:not(.rm) .noc-ring::after { background: var(--cocoa); opacity: var(--d); }
.no-gl .noc-ring { display: none !important; }
@media (min-width: 920px) {
  .js:not(.rm) .ch1, .js:not(.rm) .ch3 { left: auto; right: 0; margin: 0 0 0 auto; text-align: right; }
  .js:not(.rm) .ch1 p, .js:not(.rm) .ch3 p { margin-left: auto; }
  .js:not(.rm) .ch1, .js:not(.rm) .ch3 { bottom: clamp(120px, 18vh, 200px); }
}
@media (max-width: 519px) {
  .js:not(.rm) .noc-hud { left: var(--pad); right: auto; bottom: 18px; }
  .js:not(.rm) .noc-scroll { left: auto; right: var(--pad); transform: none; bottom: 14px; }
  .js:not(.rm) .ch1, .js:not(.rm) .ch3 { padding-bottom: 92px; }
  .cd { min-width: 0; flex: 1; }
  .cd b { font-size: 1.45rem; }
}
@media (max-height: 640px) and (min-width: 520px) {
  .h-hero { font-size: clamp(2.6rem, 9vh, 5rem); margin: 10px 0 14px; }
  .count { margin-top: 18px; } .cta { margin-top: 16px; }
}

/* plakaty, gdy nie ma WebGL lub JS */
.no-js .noc, .no-gl .noc { background: #060a18 url("../assets/poster-noc.jpg") center 70% / cover no-repeat; }
.no-js .noc-ch, .no-gl .noc-ch { text-shadow: 0 2px 14px rgba(6, 10, 24, .95); }
.no-gl.js:not(.rm) .noc { background-attachment: scroll; }
.no-gl.js:not(.rm) .noc-stage { background: #060a18 url("../assets/poster-noc.jpg") center 70% / cover no-repeat; transition: background-image .6s; }
.no-gl.js:not(.rm) .noc-stage.late { background-image: url("../assets/poster-okno.jpg"); }

/* shake */
.shaking .ch0 .h-hero { animation: shake .7s var(--ease); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px) rotate(.4deg); } 30%, 50%, 70% { transform: translateX(-6px) rotate(-.6deg); } 40%, 60% { transform: translateX(6px) rotate(.6deg); } }
.flakes { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.flakes i { position: absolute; top: -20px; width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%; background: #fff; opacity: .9; box-shadow: 0 0 6px rgba(255, 255, 255, .8); animation: fall var(--d, 3s) linear forwards; }
@keyframes fall { to { transform: translate3d(var(--x, 30px), 110vh, 0); opacity: .2; } }

/* ---------- sekcje ---------- */
.sec { position: relative; z-index: 2; padding: clamp(84px, 12vw, 170px) 0; }
.kicker { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h2 { font: 380 clamp(2.3rem, 6.4vw, 5rem)/1 var(--serif); letter-spacing: -.03em; margin-bottom: 24px; }
.sec-head { max-width: 44rem; margin-bottom: clamp(40px, 6vw, 72px); }
.note { margin-top: 22px; font-size: .9rem; color: var(--mist); max-width: 36rem; line-height: 1.6; }
.note.center { margin: 48px auto 0; text-align: center; }
.tag { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(240, 195, 106, .45); border-radius: 20px; padding: 2px 8px; margin-right: 6px; vertical-align: 1px; }

/* 02 · pracownia */
.pracownia { background: var(--cocoa); }
.pracownia .lead { color: #d9cfc6; }
.pracownia .note { color: #c9bcb2; }
.prac-grid { display: grid; gap: 48px; }
.rules { margin-top: 40px; display: grid; gap: 0; counter-reset: r; }
.rules li { counter-increment: r; padding: 20px 0 20px 52px; border-top: 1px solid rgba(240, 195, 106, .16); position: relative; }
.rules li::before { content: "0" counter(r); position: absolute; left: 0; top: 22px; font: italic 400 1.1rem/1 var(--serif); color: var(--gold); }
.rules h3 { font: 500 1.35rem/1.2 var(--serif); margin-bottom: 6px; }
.rules p { color: #d9cfc6; }
.icing { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.icing svg { width: 100%; height: auto; overflow: visible; }
.ic-cookie { transform-origin: 200px 210px; transform: rotate(calc(var(--draw, 1) * 8deg - 8deg)) scale(calc(.94 + var(--draw, 1) * .06)); }
.ic-lines path { stroke-dasharray: 1 1; }
.no-js .ic-lines path { stroke-dashoffset: 0; }
.icing figcaption { margin-top: 10px; text-align: center; font: italic 400 .95rem/1.4 var(--serif); color: #c9bcb2; }
@media (min-width: 920px) {
  .prac-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; }
  .icing { position: sticky; top: 18vh; }
}

/* wipe */
.wipe { position: relative; }
.prezenty { background: var(--cocoa); padding: 0; }
.prezenty > .wipe { background: radial-gradient(120% 80% at 50% 0, var(--navy) 0, var(--ink-2) 70%); padding: clamp(84px, 12vw, 170px) 0; }
.js:not(.rm) [data-wipe="center"] { clip-path: inset(0 calc((1 - var(--k, 1)) * 46%) round calc((1 - var(--k, 1)) * 60px)); }
.zamowienie { background: var(--ink-2); padding: 0; }
.zamowienie > .wipe { background: linear-gradient(180deg, var(--navy) 0, #0d1530 100%); padding: clamp(84px, 12vw, 170px) 0; }
.js:not(.rm) [data-wipe="diag"] { clip-path: polygon(0 0, calc(var(--k, 1) * 140%) 0, calc(var(--k, 1) * 140% - 40%) 100%, 0 100%); }

/* 03 · prezenty */
.gifts { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gifts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1140px) { .gifts { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.gift { display: flex; flex-direction: column; border-radius: 26px; background: linear-gradient(180deg, rgba(238, 241, 250, .05), rgba(238, 241, 250, .02)); border: 1px solid rgba(238, 241, 250, .09); overflow: hidden; }
.g-scene { position: relative; height: 300px; perspective: 900px; perspective-origin: 50% 30%; background: radial-gradient(60% 50% at 50% 70%, rgba(255, 159, 74, .14), rgba(255, 159, 74, 0)); }
.g-scene::after { content: ""; position: absolute; left: 50%; bottom: 26px; width: 210px; height: 36px; margin-left: -105px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.g-3d { position: absolute; left: 50%; bottom: 46px; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-16deg) rotateY(-34deg) scale3d(.9,.9,.9); z-index: 1; transition: transform .8s var(--ease); }
.gift:hover .g-3d { transform: rotateX(-16deg) rotateY(-24deg) scale3d(.9,.9,.9); }
.g-3d > *, .g-box i, .g-lid > i { position: absolute; transform-style: preserve-3d; }
.g-box, .g-lid { left: 0; top: 0; width: 0; height: 0; }
.g-box i { display: block; width: 140px; height: 104px; left: -70px; top: -104px; backface-visibility: hidden; overflow: hidden; }
.g-box .f-front { background: var(--w1); transform: translateZ(70px); }
.g-box .f-back { background: var(--w3); transform: rotateY(180deg) translateZ(70px); }
.g-box .f-side { background: var(--w2); transform: rotateY(90deg) translateZ(70px); }
.g-box .f-lside { background: var(--w2); transform: rotateY(-90deg) translateZ(70px); }
.g-box .f-front::after, .g-box .f-side::after { content: ""; position: absolute; left: 43%; width: 14%; top: 0; bottom: 0; background: linear-gradient(90deg, var(--rb2), var(--rb) 40%, var(--rb2)); transform-origin: bottom; transition: transform .45s var(--ease) .25s; }
.g-box .f-front::before, .g-box .f-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 22%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 6px, rgba(255, 255, 255, 0) 6px 16px); }
.g-box .f-side::before { background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .12)); }
.g-lid { transform: translateY(-104px); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1) .45s; }
.g-lid > i { display: block; }
.g-lid .l-top { width: 152px; height: 152px; left: -76px; top: -76px; transform: translateY(-26px) rotateX(90deg); background:
  linear-gradient(90deg, transparent 43%, var(--rb) 43% 57%, transparent 57%), linear-gradient(0deg, transparent 43%, var(--rb) 43% 57%, transparent 57%), var(--w1); }
.g-lid .l-front { width: 152px; height: 26px; left: -76px; top: -26px; transform: translateZ(76px); background: linear-gradient(90deg, var(--w1) 43%, var(--rb) 43% 57%, var(--w1) 57%); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.g-lid .l-side { width: 152px; height: 26px; left: -76px; top: -26px; transform: rotateY(90deg) translateZ(76px); background: linear-gradient(90deg, var(--w2) 43%, var(--rb2) 43% 57%, var(--w2) 57%); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); }
.g-bow { position: absolute; left: -34px; top: -62px; width: 68px; height: 38px; transform: rotateY(34deg) rotateX(16deg); transform-origin: 50% 100%; transition: transform .4s var(--ease), opacity .3s; }
.g-bow i { position: absolute; top: 2px; width: 32px; height: 26px; border: 7px solid var(--rb); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.g-bow i:first-child { left: 0; transform: rotate(-18deg); } .g-bow i:last-child { right: 0; transform: rotate(18deg); }
.g-bow b { position: absolute; left: 50%; top: 14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 4px; background: var(--rb2); }
.g-item { left: -60px; top: -128px; width: 120px; height: 120px; transform: rotateY(34deg) translateY(10px) scale(.8); transition: transform .9s cubic-bezier(.25, 1.5, .5, 1) .55s, filter .6s; }
.g-item svg { width: 100%; height: 100%; }
.gift.open .g-bow { transform: rotateY(34deg) translateY(-30px) scale(0) rotate(40deg); opacity: 0; transition-delay: 0s; }
.gift.open .f-front::after, .gift.open .f-side::after { transform: scaleY(0); transition-delay: .15s; }
.gift.open .g-lid { transform: translate3d(0, -112px, -96px) rotateX(64deg); transition-delay: .3s; }
.gift.open .g-item { transform: rotateY(34deg) translateY(-104px) scale(1); filter: drop-shadow(0 0 22px rgba(255, 210, 140, .55)); transition-delay: .5s; }
.gift:not(.open) .g-lid { transition: transform .6s var(--ease) .25s; }
.gift:not(.open) .g-item { transition: transform .5s var(--ease) 0s; }
.gift:not(.open) .g-bow { transition-delay: .7s; }
.gift:not(.open) .f-front::after, .gift:not(.open) .f-side::after { transition-delay: .6s; }
.g-body { padding: 4px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.g-name { font: 500 1.4rem/1.15 var(--serif); margin-bottom: 8px; }
.g-desc { color: var(--mist); font-size: .95rem; flex: 1; }
.g-price { margin: 16px 0 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.g-zl { font: 400 1.7rem/1 var(--serif); color: var(--gold-2); }
.g-ex { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.g-btn { align-self: flex-start; }

/* 04 · zamówienie */
.route { position: relative; }
.route-svg { position: absolute; pointer-events: none; overflow: visible; }
.route-bg { fill: none; stroke: rgba(238, 241, 250, .22); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.route-fg { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 159, 74, .7)); }
.no-js .route-fg, .rm .route-fg { stroke-dasharray: none; }
.route-h { display: none; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
.route-v { left: 0; top: 0; bottom: 0; width: 60px; height: 100%; }
.sleigh { position: absolute; left: 0; top: 0; width: 64px; height: 40px; margin: -24px 0 0 -32px; z-index: 2; filter: drop-shadow(0 0 10px rgba(255, 159, 74, .6)); will-change: transform; }
.no-js .sleigh { display: none; }
.steps { display: grid; gap: 34px; padding-left: 76px; }
.step { position: relative; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(240, 195, 106, .5); font: italic 400 1.15rem/1 var(--serif); color: var(--gold-2); margin-bottom: 14px; background: var(--ink-2); transition: background-color .4s, color .4s; }
.step.lit .step-n { background: var(--gold); color: var(--ink); box-shadow: 0 0 24px rgba(255, 159, 74, .6); }
.step h3 { font: 500 1.4rem/1.15 var(--serif); margin-bottom: 8px; }
.step p { color: var(--mist); }
@media (min-width: 920px) {
  .route-h { display: block; }
  .route-v { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 150px 0 0; }
}

/* 05 · list */
.list { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: transparent; }
.list-cover { position: absolute; inset: 0; background: #0d1530; display: none; pointer-events: none; }
.js:not(.rm) .list-cover { display: block; -webkit-mask: radial-gradient(circle at 50% 38%, transparent calc(var(--k, 0) * 120vmax), #000 calc(var(--k, 0) * 120vmax + 1.5px)); mask: radial-gradient(circle at 50% 38%, transparent calc(var(--k, 0) * 120vmax), #000 calc(var(--k, 0) * 120vmax + 1.5px)); }
.list-sky { position: absolute; inset: 0; display: none; overflow: hidden; background:
  radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 30%, #dfe6ff 50%, transparent 51%),
  radial-gradient(1px 1px at 63% 14%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 78% 26%, #ffe9c0 50%, transparent 51%), radial-gradient(1px 1px at 90% 10%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 6% 46%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 52% 6%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 44%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 70% 40%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 96% 38%, #fff 50%, transparent 51%),
  radial-gradient(120% 70% at 50% 110%, #2a2346 0, #101a38 50%, #060a18 100%); }
.no-js .list-sky, .no-gl .list-sky { display: block; }
.list-sky .cstar { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: radial-gradient(closest-side, #fff8e6, #ffd58f 40%, rgba(255, 159, 74, 0)); border-radius: 50%; animation: tw 3s infinite ease-in-out; }
.list-sky .cstar::before, .list-sky .cstar::after { content: ""; position: absolute; left: 50%; top: -10px; bottom: -10px; width: 1px; background: linear-gradient(transparent, #ffe6b0, transparent); }
.list-sky .cstar::after { transform: rotate(90deg); }
@keyframes tw { 50% { opacity: .65; transform: scale(.85); } }
.list-in { position: relative; z-index: 1; display: flex; justify-content: center; }
.list-panel { width: 100%; max-width: 580px; padding: clamp(24px, 5vw, 44px); border-radius: 28px; background: rgba(8, 13, 32, .66); border: 1px solid rgba(240, 195, 106, .24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.list-panel .h2 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
.list-panel .lead { color: #d4dbef; }
.wish { margin-top: 26px; }
.wish label, .field label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.paper { position: relative; border-radius: 6px; background: var(--paper); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(120, 80, 40, .15); transform-origin: 50% 0; }
.paper::before { content: ""; position: absolute; top: 0; bottom: 0; left: 30px; width: 1px; background: rgba(224, 87, 79, .55); }
.paper textarea { display: block; width: 100%; min-height: 118px; resize: vertical; border: 0; background: repeating-linear-gradient(transparent 0 31px, rgba(16, 26, 56, .18) 31px 32px); background-position: 0 14px; padding: 14px 16px 12px 44px; color: #1d1410; font: italic 400 1.2rem/32px var(--serif); border-radius: 6px; }
.paper textarea::placeholder { color: #6e625a; }
.paper textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.paper.folding { animation: fold .6s var(--ease); }
@keyframes fold { 0% { transform: none; } 40% { transform: perspective(600px) rotateX(70deg) scaleY(.6); opacity: .6; } 100% { transform: none; opacity: 1; } }
.wish-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.hint { font-size: .84rem; color: var(--mist); }
.count-c { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wish-act { margin-top: 18px; }
.status { margin-top: 14px; min-height: 1.5em; font-size: .92rem; color: var(--gold-2); }
.mine { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(238, 241, 250, .12); }
.mine-h { font: 500 1.15rem/1.2 var(--serif); margin-bottom: 10px; }
.mine-n { font: 600 .8rem/1 var(--sans); color: var(--mist); }
.mine-list { display: grid; gap: 6px; margin-bottom: 10px; max-height: 190px; overflow: auto; }
.mine-list li { position: relative; padding-left: 22px; color: #dfe5f5; font-size: .95rem; overflow-wrap: anywhere; }
.mine-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.fly { position: fixed; z-index: 70; pointer-events: none; }
.fly-paper { background: var(--paper); color: #1d1410; border-radius: 6px; padding: 14px 16px 12px 44px; font: italic 400 1.2rem/32px var(--serif); overflow: hidden; transform-origin: 50% 50%; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.fly-dot { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(closest-side, #fff, #ffe0a0 45%, rgba(255, 159, 74, 0)); box-shadow: 0 0 22px 8px rgba(255, 200, 120, .5); }

/* 06 · kontakt */
.kontakt { background: var(--ink-2); }
.drift { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: clamp(40px, 7vw, 110px); margin-bottom: -1px; }
.kon-grid { display: grid; gap: 40px; }
@media (min-width: 920px) { .kon-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: rgba(238, 241, 250, .035); border: 1px solid rgba(238, 241, 250, .1); }
.field input, .field textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(238, 241, 250, .28); background: rgba(6, 10, 24, .6); color: var(--snow); transition: border-color .25s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: rgba(240, 195, 106, .6); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--gold-2); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #ff8a80; }
.err { min-height: 1.3em; line-height: 1.3; font-size: .86rem; color: #ffaba3; margin-top: 6px; }
.form .btn { justify-self: start; }

/* stopka */
.ftr { position: relative; z-index: 2; background: var(--ink); padding: 64px 0 40px; border-top: 1px solid rgba(240, 195, 106, .12); }
.ftr-in { display: grid; gap: 18px; }
.ftr-brand { display: flex; align-items: center; gap: 10px; }
.ftr-word { font: 500 2rem/1 var(--serif); }
.ftr-note, .ftr-tech { color: var(--mist); font-size: .9rem; max-width: 46rem; }
.ftr-note strong { color: var(--snow); }
.ftr-made { font-weight: 700; }
.ftr-top { justify-self: start; color: var(--gold-2); font-weight: 700; text-decoration: none; padding: 6px 0; }
.ftr-top:hover { text-decoration: underline; }

/* zasłona przy przejściach z menu */
.veil { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.veil i { position: absolute; inset: 0; transform: translateY(101%); }
.veil i:nth-child(1) { background: var(--gold); }
.veil i:nth-child(2) { background: var(--navy-2); }
.veil i:nth-child(3) { background: var(--ink); }
.veil i:nth-child(3)::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 2.4rem; color: var(--gold); }
.veil.in i { transform: translateY(0); transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.veil.in i:nth-child(2) { transition-delay: .07s; } .veil.in i:nth-child(3) { transition-delay: .14s; }
.veil.out i { transform: translateY(-101%); transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.veil.out i:nth-child(2) { transition-delay: .06s; } .veil.out i:nth-child(1) { transition-delay: .12s; }

/* reveal */
.js:not(.rm) .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js:not(.rm) .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- hero na wąskich i niskich ekranach ---------- */
@media (max-width: 600px) {
  .js:not(.rm) .noc-scroll { display: none; }
  .ch0 .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .cd { min-width: 0; flex: 1; }
}
@media (max-width: 600px) and (max-height: 780px) {
  .ch0 .h-hero { font-size: clamp(2.5rem, 12vw, 3rem); margin: 10px 0 14px; }
  .ch0 .lead { font-size: .92rem; line-height: 1.5; }
  .ch0 .cta { margin-top: 16px; gap: 8px; }
  .ch0 .btn { padding-top: 11px; padding-bottom: 11px; }
  .ch0 .count { margin-top: 18px; }
  .ch0 .cd b { font-size: 1.35rem; }
  .js:not(.rm) .ch0 { padding-bottom: 20px; }
}
@media (max-width: 600px) and (max-height: 660px) {
  .ch0 .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
