@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/Alegreya-italic-400_800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/Alegreya-italic-400_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/Alegreya-normal-400_800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/Alegreya-normal-400_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/AlegreyaSans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/AlegreyaSans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/AlegreyaSans-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/AlegreyaSans-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/AlegreyaSans-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/AlegreyaSans-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GreatVibes-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GreatVibes-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hohoroom strona główna: podróż przez okno do pokoju Mikołaja. Ujęcia z filmu + lekka warstwa WebGL. */
:root {
  --room: #17100C; --candle: #F6EAD0; --candle-soft: #D3C4A6; --ember: #E8A04A; --parchment: #EBD9B4;
  --velvet: #A3232B; --velvet-deep: #861B23;
  --serif: "Alegreya", Georgia, serif; --sans: "Alegreya Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.15rem, 5vw, 4.5rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--room); scroll-behavior: smooth; }
body { margin: 0; color: var(--candle); background: var(--room); font-family: var(--sans); font-size: 1.16rem; line-height: 1.5; overflow-x: clip; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -0.014em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1rem + 6.4vw, 5.6rem); }
h2 { font-size: clamp(1.95rem, 1.1rem + 3.6vw, 3.6rem); }
h3 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.top { position: absolute; z-index: 20; inset: 0 0 auto 0;   /* not fixed: a fixed bar without a background ran over the text while scrolling */ display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem var(--pad); pointer-events: none; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.top a { pointer-events: auto; }
.mark { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; text-decoration: none; letter-spacing: -0.02em; }
.lang { display: flex; gap: 1.1rem; font-size: 1.02rem; }
.lang a { text-decoration: none; color: var(--candle-soft); padding-block: 0.35rem; }
.lang a[aria-current="true"] { color: var(--candle); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ember); }

/* ---- scene: video full-bleed, text at the bottom (phone) ---- */
.scene { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: clip; }
.hero { min-height: 100svh; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #0d0907; }
.shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(23,16,12,.94) 0%, rgba(23,16,12,.62) 38%, rgba(23,16,12,.05) 70%, rgba(23,16,12,.35) 100%); }
.shade.heavy { background: linear-gradient(to top, rgba(23,16,12,.88), rgba(23,16,12,.68)); }
.copy { position: relative; z-index: 2; width: 100%; max-width: 40rem; padding: 6rem var(--pad) 2.6rem; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.copy.wide { max-width: 68rem; }
.copy > * + * { margin-top: 1.05rem; }
.lead { font-size: 1.28rem; max-width: 34rem; color: var(--candle); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.8rem; margin-top: 1.6rem; }
.go { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: 0.7rem 1.6rem; border-radius: 0.5rem; background: var(--velvet); color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; text-shadow: none; transition: transform .18s var(--ease), background .18s; }
.go:hover { background: var(--velvet-deep); }
.go:active { transform: scale(0.97); }
.quiet { color: var(--candle); text-underline-offset: 0.3em; text-decoration-thickness: 1px; padding-block: .6rem; }
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s; }
.snow.on { opacity: 1; }

.n { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--ember); margin-bottom: .2rem; }

/* ---- window with frost: pinned stage, scroll wipes the pane ---- */
.window { position: relative; height: 230svh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: flex; align-items: flex-end; }
.frost-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: none; touch-action: pan-y; }
.window.gl-on .frost-gl { display: block; }
.window.gl-on .stage > .bg { visibility: hidden; }
.frost-css { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--frost, 1);
  backdrop-filter: blur(16px) brightness(1.1); -webkit-backdrop-filter: blur(16px) brightness(1.1);
  background: radial-gradient(120% 90% at 50% 40%, rgba(214,230,244,.30), rgba(190,214,236,.46)); }
.window.gl-on .frost-css { display: none; }
.stage .shade { background: linear-gradient(to top, rgba(23,16,12,.9) 0%, rgba(23,16,12,.35) 32%, transparent 55%, rgba(23,16,12,.3) 100%); }
.hint { font-style: italic; font-family: var(--serif); font-size: 1.25rem; color: var(--ember); transition: opacity .5s; }
.hint.gone { opacity: 0; }
.after { max-width: 32rem; opacity: 0; transform: translateY(0.6rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.window.clear .after, .window.still .after { opacity: 1; transform: none; }

/* ---- film ---- */
.film { padding: 5rem var(--pad) 4rem; display: grid; gap: 1.8rem; max-width: 1200px; margin-inline: auto; }
.film-head { display: grid; gap: .9rem; max-width: 36rem; }
.note { color: var(--ember); font-style: italic; font-family: var(--serif); }
.player { position: relative; aspect-ratio: 16 / 9; background: #0d0907 url(video/emma-de.jpg) center / cover; overflow: clip; border-radius: 0.4rem; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(rgba(23,16,12,.2), rgba(23,16,12,.5)); color: var(--candle); font: 700 1.3rem var(--serif); }
.play span { display: inline-flex; align-items: center; gap: .8rem; min-height: 3.4rem; padding: .6rem 1.4rem .6rem 1.1rem; background: rgba(23,16,12,.78); border: 1px solid rgba(246,234,208,.45); border-radius: 3rem; }
.play span::before { content: ""; border-left: 1.05rem solid var(--candle); border-block: .65rem solid transparent; }
.play:hover span { border-color: var(--ember); }

.how-head { padding: 3rem var(--pad) 2rem; max-width: 1200px; margin-inline: auto; }
.how-head h2 { max-width: 30rem; }
.step { min-height: 86svh; }

/* ---- price & facts ---- */
.price, .facts { min-height: 0; }
.price .copy, .facts .copy { padding-top: 5rem; }
.cols { display: grid; gap: 0; margin-top: 1.6rem; }
.col { padding: 1.3rem 0; border-top: 1px solid rgba(246,234,208,.22); display: grid; gap: .3rem; }
.col h3 { font-size: 1.4rem; }
.col .amt { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); line-height: 1; color: var(--candle); }
.col .vat { font-size: 0.92rem; color: var(--candle-soft); }
.col p { color: var(--candle-soft); max-width: 24rem; }
dl { margin: 1.4rem 0 0; display: grid; gap: 0; }
dl > div { padding: 1.1rem 0; border-top: 1px solid rgba(246,234,208,.22); }
dt { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-bottom: .25rem; }
dd { margin: 0; color: var(--candle-soft); max-width: 40rem; }
.end { min-height: 80svh; }
.foot { padding: 1.6rem var(--pad) 2.2rem; color: var(--candle-soft); font-size: 1rem; display: grid; gap: 0.5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; }
.foot-links a { color: var(--candle-soft); padding-block: 0.3rem; }
.foot-links a:hover { color: var(--candle); }

@media (min-width: 900px) {
  .scene { align-items: center; }
  .copy { padding: 4rem var(--pad); max-width: 46rem; }
  .copy.wide { max-width: 78rem; }
  .shade { background: linear-gradient(to right, rgba(23,16,12,.88) 0%, rgba(23,16,12,.55) 38%, rgba(23,16,12,.05) 70%), linear-gradient(to top, rgba(23,16,12,.5), transparent 30%); }
  .shade.heavy { background: rgba(23,16,12,.82); }
  .stage { align-items: center; }
  .stage .shade { background: linear-gradient(to right, rgba(23,16,12,.8) 0%, rgba(23,16,12,.3) 40%, transparent 65%); }
  .cols { grid-template-columns: repeat(3, 1fr); }
  .col { padding: 1.4rem 2rem 0 0; margin-right: 2rem; border-right: 1px solid rgba(246,234,208,.22); }
  .col:last-child { border-right: 0; }
  dl { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .film { grid-template-columns: 22rem 1fr; align-items: center; gap: 3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .after { transition: none; } .go { transition: none; } }
