/* TOPPLACHTY — NAPNUTO · site styles. Authority: _spec/DESIGN.md. Tokens: tokens.css.
   Base state is always fully visible; every animation lives inside prefers-reduced-motion: no-preference. */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ink-2);
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 92px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---------- type voices ---------- */
.display, h1, h2 { font-family: var(--f-display); font-weight: 800; line-height: .92; letter-spacing: -.005em; }
h2 .h2-lead { display: block; font-family: var(--f-text); font-weight: 400; font-size: calc(var(--fs-body) * 1.15); line-height: 1.4; text-transform: none; letter-spacing: 0; margin-bottom: .6rem; max-width: 40ch; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); text-transform: uppercase; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.02; }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .04em; }
.mono-caps { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; }
.lede { font-size: calc(var(--fs-body) * 1.15); }
.measure { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h3 { margin-top: 2.2em; margin-bottom: .5em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; list-style: square; }
.prose li + li { margin-top: .3em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- materials: the page is made of their tarp ---------- */
.face-black, .face-cream, .face-yellow { position: relative; background-color: var(--surf); color: var(--fg); }
.face-black { --surf: var(--ink-2); --fg: var(--cream); --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.28); --weave: rgba(255,255,255,.045); --spec: rgba(255,255,255,.09); }
.face-cream { --surf: var(--cream); --fg: var(--ink); --line: rgba(0,0,0,.14); --line-2: rgba(0,0,0,.32); --weave: rgba(0,0,0,.05); --spec: rgba(255,255,255,.28); }
.face-yellow { --surf: var(--yellow); --fg: var(--ink); --line: rgba(0,0,0,.18); --line-2: rgba(0,0,0,.4); --weave: rgba(0,0,0,.06); --spec: rgba(255,255,255,.22); }
.face-black::before, .face-cream::before, .face-yellow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(120% 90% at 8% -10%, var(--spec) 0%, transparent 60%),
    repeating-linear-gradient(0deg, var(--weave) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, var(--weave) 0 1px, transparent 1px 3px),
    var(--grain);
  background-size: auto, auto, auto, 220px 220px;
  opacity: 1;
}
.face-black > *, .face-cream > *, .face-yellow > * { position: relative; z-index: 1; }

/* welded hem between faces: a band of the NEXT face's material overlapping upward, HF weld = no stitches */
.hem-top { position: relative; }
.hem-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: var(--hem);
  background: var(--surf);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 3px 4px rgba(0,0,0,.35);
  z-index: 2; pointer-events: none;
}
.hem-yellow.hem-top::after { background: var(--yellow); }

/* eyelet — inline SVG symbol #oko */
.oko { width: 22px; height: 22px; display: inline-block; flex: none; }
.oko-lg { width: 30px; height: 30px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.section { padding-block: var(--section); }
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink-2); color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-head .wrap { display: flex; align-items: center; gap: clamp(.8rem, 1.4vw, 1.25rem); min-height: 72px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 34px; width: auto; }
@media (min-width: 720px) { .brand img { height: 40px; } }
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.6rem); }
  .nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; position: relative; white-space: nowrap; }
  /* the underline is a roller on a rail */
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: rgba(255,255,255,.18); transform: scaleX(0); transform-origin: left; }
  .nav a::before { content: ""; position: absolute; left: 0; bottom: -8px; width: 10px; height: 10px; border-radius: 50%; background: var(--chrome); box-shadow: 0 1px 1px rgba(0,0,0,.6); opacity: 0; transform: translateX(-4px); }
  @media (prefers-reduced-motion: no-preference) { .nav a::after { transition: transform var(--t-fast) var(--ease-slide); } .nav a::before { transition: opacity var(--t-fast), transform var(--t-med) var(--ease-taut); } }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
  .nav a:hover::before, .nav a[aria-current]::before { opacity: 1; transform: translateX(calc(100% - 4px)); }
  .nav a[aria-current] { color: var(--yellow); }
}
.head-tools { display: flex; align-items: center; gap: .9rem; }
.lang { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); overflow: hidden; }
.lang a, .lang span { padding: .38rem .55rem; text-decoration: none; line-height: 1; }
.lang [aria-current] { background: var(--yellow); color: var(--ink); font-weight: 500; }
.lang a:not([aria-current]):hover { background: rgba(255,255,255,.08); }
.lang.is-soon a { pointer-events: none; opacity: .45; } /* until /en/ ships */
.head-phone { display: none; text-decoration: none; font-family: var(--f-mono); font-size: .85rem; letter-spacing: .04em; }
@media (min-width: 1280px) { .head-phone { display: inline; white-space: nowrap; } }
.cart-btn { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 1px solid rgba(255,255,255,.22); color: var(--cream); padding: .45rem .7rem; border-radius: var(--radius); text-decoration: none; font-size: .9rem; }
.cart-btn b { font-family: var(--f-mono); font-weight: 500; background: var(--yellow); color: var(--ink); min-width: 1.5em; text-align: center; padding: 0 .35em; border-radius: 1px; }
.tag.novinka { display: none; --tag-bg: transparent; color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255,204,0,.55); }
.tag.novinka::before { background: var(--chrome); box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.4); }
@media (min-width: 1440px) { .tag.novinka { display: inline-flex; white-space: nowrap; } }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; }
.burger span { display: block; height: 2px; background: var(--cream); transition: transform var(--t-med) var(--ease-taut), opacity var(--t-fast); }
@media (min-width: 1024px) { .burger { display: none; } }
/* mobile overlay: a black tarp that slides down the rail */
.mobnav { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 60; background: var(--ink-2); color: var(--cream); transform: translateY(-101%); transition: transform var(--t-slow) var(--ease-taut); display: flex; flex-direction: column; padding: 5.5rem var(--gutter) 2rem; overflow: auto; }
.mobnav.is-open { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .mobnav { transition: none; } }
.mobnav a { text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 11vw, 4.5rem); line-height: 1; text-transform: uppercase; padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobnav a[aria-current] { color: var(--yellow); }
.mobnav .mobnav-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .6rem; font-family: var(--f-mono); font-size: .9rem; }
.mobnav .mobnav-foot a { font: inherit; text-transform: none; border: 0; padding: 0; }
.mobnav-close { position: absolute; top: 14px; right: var(--gutter); background: none; border: 1px solid rgba(255,255,255,.25); color: var(--cream); width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
body.nav-lock { overflow: hidden; }
.mobnav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--al); box-shadow: 0 2px 3px rgba(0,0,0,.5); }

/* ---------- masthead: every inner page hangs from the same rail ---------- */
.masthead { border-top: 14px solid; border-image: var(--al) 1; padding-block: clamp(2.2rem, 5vw, 4rem) clamp(1.8rem, 3.5vw, 3rem); }
.masthead .wrap { display: grid; gap: 1rem clamp(2rem, 4vw, 5rem); align-items: end; }
@media (min-width: 900px) { .masthead .wrap { grid-template-columns: 1fr auto; } .masthead .masthead-aside { text-align: right; max-width: 34ch; } }
.masthead .crumbs { margin-bottom: 1.2rem; color: var(--cream); opacity: .78; grid-column: 1 / -1; }
.masthead h1 { font-size: clamp(2.8rem, 7.5vw, 7.5rem); line-height: .88; letter-spacing: -.01em; text-transform: uppercase; max-width: 14ch; }
.masthead .masthead-aside { font-family: var(--f-mono); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.7; opacity: .85; }
.masthead .masthead-aside p + p { margin-top: .4rem; }
.masthead .masthead-aside .tag { text-transform: none; letter-spacing: .01em; font-family: var(--f-text); }

/* ---------- strap tag (their labels; primary CTA) ---------- */
.tag {
  --tag-bg: var(--yellow);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .7rem 1.15rem .7rem .85rem;
  background: var(--tag-bg); color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 0; border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 3px 6px rgba(0,0,0,.28);
  position: relative;
}
@media (prefers-reduced-motion: no-preference) { .tag { transition: transform var(--t-fast) var(--ease-taut), box-shadow var(--t-fast); } }
.tag::before { /* the buckle */
  content: ""; width: 14px; height: 20px; flex: none;
  background: var(--chrome); border-radius: 2px;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.4);
}
.tag::after { /* webbing texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 2px, transparent 2px 5px);
  border-radius: inherit;
}
.tag:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 12px rgba(0,0,0,.32); }
.tag:active { transform: translateY(1px); }
.tag.tag-dark { --tag-bg: var(--ink-2); color: var(--cream); }
.tag.tag-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line-2); }
.tag.tag-ghost::before { background: var(--chrome); box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.4); }
.tag.tag-sm { padding: .45rem .8rem .45rem .6rem; font-size: .85rem; }
.tag.tag-sm::before { width: 11px; height: 16px; }

/* ---------- HERO — „Shrnutí": the curtainsider ---------- */
.hero {
  --open: .86;              /* rest state: also the no-JS and reduced-motion state */
  --stack: 216px;           /* gathered pleat stack width */
  --pleats: 12;
  --handle: 20px;
  position: relative; isolation: isolate;
  min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}
@media (max-width: 720px) { .hero { --stack: 84px; --open: .95; --handle: 16px; } .hero-bed { padding-right: calc(var(--gutter) + var(--stack) - 10px); } }
.hero-bed { /* the reverse-side tarp behind the curtain, with the printed headline */
  position: absolute; inset: 0;
  padding: clamp(6rem, 14vh, 9rem) var(--gutter) clamp(4rem, 9vh, 6rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(1.2rem, 3vh, 2.2rem);
  padding-right: calc(var(--gutter) + var(--stack));
}
.hero-bed::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 14%),
    radial-gradient(120% 90% at 8% -10%, rgba(255,255,255,.34) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.028) 0 1px, transparent 1px 3px),
    var(--grain);
  background-size: auto, auto, auto, auto, 220px 220px; opacity: 1; }
.hero-bed::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.10) 100%); }
.hero-h1 {
  font-size: var(--fs-hero); text-transform: uppercase; line-height: .86;
  max-width: 11ch; letter-spacing: -.01em;
  /* printed on the tarp: ink sits slightly into the weave */
  color: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.hero-uses { order: -1; margin-bottom: auto; font-family: var(--f-mono); font-size: clamp(.68rem, .95vw, .9rem); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,11,11,.72); max-width: 70ch; line-height: 1.8; }
.hero-uses i { font-style: normal; color: var(--yellow-deep); padding: 0 .35em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-rail { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--al); box-shadow: 0 3px 5px rgba(0,0,0,.45); z-index: 4; }
.hero-rail::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: rgba(0,0,0,.55); }
.hero-curtain {
  position: absolute; top: 0; bottom: 0; right: 0; z-index: 3;
  width: calc(var(--stack) + (100% - var(--stack)) * (1 - var(--open)));
  display: flex;
  --fold: var(--open);
  will-change: width;
}
.pleat {
  flex: 1 1 0; min-width: 0; position: relative;
  background-color: var(--ink-2);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,calc(.16 * var(--fold))) 0%, rgba(255,255,255,calc(.05 * var(--fold))) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,calc(.42 * var(--fold))) 78%, rgba(0,0,0,calc(.7 * var(--fold))) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 88%, rgba(0,0,0,.25) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    var(--grain);
  background-size: auto, auto, auto, auto, 220px 220px;
  box-shadow: inset -2px 0 4px rgba(0,0,0,.35);
}
.pleat .roller { /* their „Pojezdy" — the wheel that runs the rail */
  position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--chrome); box-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.pleat .roller::after { content: ""; position: absolute; left: 5px; top: 13px; width: 4px; height: 12px; background: #2b2b2b; }
/* gathered folds: widths splay, light alternates front face / fold return, the stack is not a set of louvres */
.pleat:nth-child(even) .strap { display: none; }
.pleat:nth-child(odd) { flex-grow: calc(1 + .55 * var(--fold)); }
.pleat:nth-child(even) { flex-grow: calc(1 - .35 * var(--fold)); }
.pleat:nth-child(3n) { flex-grow: calc(1.12 + .3 * var(--fold)); }
.pleat:nth-child(even) { background-image:
    linear-gradient(90deg, rgba(0,0,0,calc(.62 * var(--fold))) 0%, rgba(0,0,0,calc(.32 * var(--fold))) 28%, rgba(0,0,0,0) 55%, rgba(255,255,255,calc(.06 * var(--fold))) 82%, rgba(255,255,255,calc(.14 * var(--fold))) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 88%, rgba(0,0,0,.25) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    var(--grain); }
.pleat::after { /* the hem concertinas: each fold's bottom edge lifts a little as it gathers */
  content: ""; position: absolute; left: 0; right: 0; bottom: var(--hem); height: calc(14px * var(--fold));
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45)); pointer-events: none; }
.pleat:nth-child(even)::after { height: calc(4px * var(--fold)); }
.pleat .strap { /* their „Upínací pásy" — vertical webbing with a buckle */
  position: absolute; top: 24px; bottom: var(--hem); left: 50%; width: 11px; margin-left: -5px;
  background: repeating-linear-gradient(0deg, #101010 0 3px, #1c1c1c 3px 6px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
.pleat .strap::after { /* the buckle at two thirds */
  content: ""; position: absolute; left: -3px; right: -3px; top: 62%; height: 18px;
  background: linear-gradient(180deg, #d9d9d9, #8a8a8a 50%, #bdbdbd); border-radius: 2px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.6);
}
.hero-hem { /* the yellow welded bottom hem with eyelets and hooks */
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--hem);
  background-color: var(--yellow);
  background-image:
    radial-gradient(circle at 48px 50%, rgba(0,0,0,.65) 0 4px, #e6e6e6 4.5px 6px, #7c7c7c 6.5px 8px, #f4f4f4 8.5px 9.5px, transparent 10px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 2px, transparent 2px 5px);
  background-size: 96px 100%, auto;
  box-shadow: 0 -2px 3px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
  z-index: 2;
}
.hero-handle { /* the leading edge — a yellow strap the visitor pulls */
  position: absolute; top: 16px; bottom: 0; z-index: 5;
  width: var(--handle);
  right: calc(var(--stack) + (100% - var(--stack)) * (1 - var(--open)) - var(--handle) / 2);
  background: var(--yellow);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 3px, transparent 3px 7px);
  border: 0; border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 0 22px rgba(0,0,0,.35);
  cursor: grab; touch-action: none; padding: 0;
}
.hero-handle:active { cursor: grabbing; }
.hero-handle::before { /* grip: a chrome D-ring at mid height */
  content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 44px; margin: -22px 0 0 -15px;
  border: 5px solid transparent; border-radius: 15px; background: var(--chrome) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  box-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.hero-handle:focus-visible { outline-offset: 0; }
.hero-handle::after { /* two chevrons: the strap pulls both ways */
  content: ""; position: absolute; left: 50%; top: calc(50% + 34px); width: 12px; height: 12px; margin-left: -6px;
  background: linear-gradient(135deg, transparent 45%, rgba(0,0,0,.6) 46% 60%, transparent 61%), linear-gradient(-135deg, transparent 45%, rgba(0,0,0,.6) 46% 60%, transparent 61%);
  background-size: 12px 6px; background-position: 0 0, 0 6px; background-repeat: no-repeat; opacity: .8; }
.hero-hint { position: absolute; z-index: 5; bottom: calc(var(--hem) + 14px); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); background: rgba(0,0,0,.55); padding: .35rem .6rem; border-radius: 2px;
  right: calc(var(--stack) + (100% - var(--stack)) * (1 - var(--open)) + 22px); white-space: nowrap; pointer-events: none; }
@media (max-width: 720px) { .hero-hint { display: none; } }
/* transitions: the curtain moves like tensioned fabric; while dragging, no easing */
@media (prefers-reduced-motion: no-preference) {
  .hero-curtain, .hero-handle, .hero-hint { transition: width var(--t-slow) var(--ease-taut), right var(--t-slow) var(--ease-taut); }
  .hero.is-dragging .hero-curtain, .hero.is-dragging .hero-handle, .hero.is-dragging .hero-hint { transition: none; }
  /* act 1: closed on load (JS only), act 2–4: gathers to rest, straps settle */
  .js .hero:not(.is-ready) { --open: 0; }
  .js .hero.is-ready .pleat .strap::after { animation: buckle-settle .5s var(--ease-taut) 1.45s both; }
  .js .hero.is-ready .hero-handle::before { animation: glint .8s ease-out .1s both; }
}
@keyframes buckle-settle { 0% { transform: translateY(6px); } 100% { transform: translateY(0); } }
@keyframes glint { 0% { filter: brightness(1.8); } 100% { filter: brightness(1); } }

/* ---------- OKNO — every photograph is a clear-PVC window with a welded hem ---------- */
.okno {
  --frame: var(--ink-2);
  --sx: 30%; --sy: 30%;
  position: relative; display: block; overflow: hidden;
  padding: 12px; background: var(--frame);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 18px rgba(0,0,0,.28);
  border-radius: 2px;
}
.okno-yellow { --frame: var(--yellow); }
.okno-cream { --frame: var(--cream-2); }
.okno > img, .okno > picture > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.okno .sheen { /* the PVC film's specular streak — driven by --sx/--sy from the pointer */
  position: absolute; inset: 12px; pointer-events: none;
  background:
    radial-gradient(60% 40% at var(--sx) var(--sy), rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 40%, transparent 70%),
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,.14) 50%, transparent 62%);
  mix-blend-mode: screen;
}
.okno .oko { position: absolute; z-index: 2; width: 18px; height: 18px; }
.okno .oko:nth-of-type(1) { top: 3px; left: 3px; }
.okno .oko:nth-of-type(2) { top: 3px; right: 3px; }
.okno .oko:nth-of-type(3) { bottom: 3px; left: 3px; }
.okno .oko:nth-of-type(4) { bottom: 3px; right: 3px; }
.okno.has-label { padding-bottom: 36px; }
.okno figcaption, .okno .okno-label {
  position: absolute; left: 30px; right: 30px; bottom: 0; height: 36px; display: flex; align-items: center; z-index: 2;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); background: transparent; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.okno-yellow figcaption, .okno-yellow .okno-label, .okno-cream figcaption, .okno-cream .okno-label { color: var(--ink); }
.okno.has-label .oko:nth-of-type(3), .okno.has-label .oko:nth-of-type(4) { bottom: 9px; }
.okno.is-fill { height: 100%; }
.okno.is-fill > img, .okno.is-fill > picture, .okno.is-fill > picture > img { height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .okno { transition: transform var(--t-med) var(--ease-taut), box-shadow var(--t-med); }
  a.okno:hover, button.okno:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 16px 30px rgba(0,0,0,.35); }
}

/* ---------- section: uses mosaic ---------- */
.mosaic { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
.mosaic > * { min-height: 0; }
.mosaic .m-a { grid-column: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 15.5vw; }
  .mosaic .m-a { grid-column: span 4; grid-row: span 2; }
  .mosaic .m-b { grid-column: span 2; grid-row: span 1; }
  .mosaic .m-c { grid-column: span 2; grid-row: span 1; }
  .mosaic .m-d { grid-column: span 2; grid-row: span 1; }
  .mosaic .m-e { grid-column: span 2; grid-row: span 1; }
  .mosaic .m-f { grid-column: span 2; grid-row: span 2; }
  .mosaic .m-g { grid-column: span 2; grid-row: span 1; }
}
@media (min-width: 1440px) { .mosaic { grid-auto-rows: 220px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.section-head p { max-width: 48ch; }

/* ---------- vzorník (their metráž SKUs) ---------- */
.vzornik { display: grid; gap: 1.5rem; }
.sample-rail { position: relative; height: 12px; background: var(--al); box-shadow: 0 2px 3px rgba(0,0,0,.4); border-radius: 2px; }
.sample-rail::before, .sample-rail::after { /* two S-hooks (their „Háček S") */
  content: ""; position: absolute; top: 8px; width: 12px; height: 26px; border: 3px solid #bcbcbc; border-radius: 8px;
  border-top-color: transparent; border-right-color: transparent; box-shadow: 1px 1px 1px rgba(0,0,0,.4);
}
.sample-rail::before { left: 18%; } .sample-rail::after { right: 18%; }
.sample {
  --sw: var(--sw-zluta);
  margin: 26px 8% 0; height: clamp(160px, 22vw, 260px); position: relative;
  background-color: var(--sw);
  background-image:
    radial-gradient(120% 90% at 8% -10%, rgba(255,255,255,.28) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    var(--grain);
  background-size: auto, auto, auto, 220px 220px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.15);
  border-radius: 2px;
}
.sample.is-cira { background-color: rgba(255,255,255,.12); backdrop-filter: blur(1px); box-shadow: 0 10px 24px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 40px rgba(255,255,255,.12); }
.sample::before { /* reinforced top hem */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background: rgba(0,0,0,.14); box-shadow: 0 1px 0 rgba(255,255,255,.18);
}
.sample::after { /* tunýlek se zatěžovací trubkou */
  content: ""; position: absolute; left: -10px; right: -10px; bottom: -8px; height: 16px; border-radius: 8px;
  background: linear-gradient(180deg, #e8e8e8 0%, #9a9a9a 45%, #6f6f6f 60%, #cfcfcf 100%); box-shadow: 0 2px 4px rgba(0,0,0,.45); }
.sample .oko { position: absolute; top: 1px; }
.sample .oko:nth-child(1) { left: 12%; } .sample .oko:nth-child(2) { right: 12%; }
.sample-label { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; color: var(--ink); background: rgba(255,255,255,.75); padding: .35rem .55rem; border-radius: 2px; }
.sample.is-dark .sample-label { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .sample { transition: background-color var(--t-med) var(--ease-slide); } }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { --sw: #888; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 2px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.35); position: relative; cursor: pointer; }
.swatch.is-cira { background: repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 4px, rgba(255,255,255,.05) 4px 8px); }
.swatch[aria-pressed="true"] { outline: 3px solid var(--yellow); outline-offset: 2px; }
.swatch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--chrome); box-shadow: 0 1px 1px rgba(0,0,0,.6); }
.sample-price { font-family: var(--f-mono); font-size: .9rem; letter-spacing: .03em; }
.sample-price b { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0; margin-right: .3em; }
.data-line { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-family: var(--f-mono); font-size: .85rem; letter-spacing: .06em; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- checked strap lines (mobilní servis) ---------- */
.checks { display: grid; gap: .7rem; }
.check { display: inline-flex; align-items: center; gap: .8rem; font-weight: 500; }
.check .oko { width: 26px; height: 26px; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filters button { background: none; border: 1px solid var(--line-2); color: inherit; padding: .5rem .85rem; border-radius: 2px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.filters button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery button.okno { width: 100%; border: 0; text-align: left; padding: 12px; }
.gallery button.okno > img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
dialog.lightbox { position: fixed; inset: 0; margin: 0; z-index: 80; border: 0; padding: 0; background: rgba(8,8,8,.94); color: var(--cream); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox .lb-wrap { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; background: rgba(0,0,0,.5); color: var(--cream); border: 1px solid rgba(255,255,255,.25); width: 48px; height: 48px; font-size: 1.4rem; line-height: 1; border-radius: 2px; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- contact strip ---------- */
.contact-band { padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }
.contact-strip { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-strip { grid-template-columns: 1.2fr 1fr 1fr; align-items: end; } }
.addr { font-style: normal; line-height: 1.6; }
.addr b, .addr h1 { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; display: block; margin-bottom: .3rem; }
.contact-strip .mono a { text-decoration: none; }
.contact-strip .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1; text-decoration: none; display: block; }

/* ---------- FOOTER — „Zaplombováno": laced shut with celní lanko ---------- */
.site-foot { position: relative; padding-top: clamp(3rem, 6vw, 5rem); }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: .8rem; }
.foot-grid a { text-decoration: none; }
.foot-grid li + li { margin-top: .4rem; }
.foot-legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; color: rgba(237,230,211,.7); display: grid; gap: .5rem; }
.foot-legal i { font-style: italic; }
.lacing { position: relative; margin-top: 2.5rem; height: 104px; overflow: hidden; }
.lacing .hooks { position: absolute; left: 0; right: 0; top: 0; height: 22px; background-image: radial-gradient(circle at 48px 9px, #ffffff 0 2.5px, #bdbdbd 3px 5px, #5d5d5d 5.5px 7px, transparent 7.5px), linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)); background-size: 192px 22px, auto; background-repeat: repeat-x, no-repeat; }
.lacing svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lacing .cord { fill: none; stroke: #e6dfc9; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.lacing .cord-shade { fill: none; stroke: rgba(0,0,0,.6); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.lacing .cord-hi { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; pathLength: 1; }
.lacing .cord, .lacing .cord-shade { stroke-dasharray: 1; stroke-dashoffset: 0; pathLength: 1; }
.lacing svg { left: 0; width: max(100%, 4000px); }
@media (prefers-reduced-motion: no-preference) {
  .js .lacing:not(.is-laced) .cord, .js .lacing:not(.is-laced) .cord-shade, .js .lacing:not(.is-laced) .cord-hi { stroke-dashoffset: 1; }
  .lacing.is-laced .cord, .lacing.is-laced .cord-shade, .lacing.is-laced .cord-hi { transition: stroke-dashoffset 2.2s var(--ease-slide); }
}
.lacing .seal { position: absolute; right: var(--gutter); bottom: 6px; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: .35rem .6rem; border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.lacing .seal::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--chrome); box-shadow: 0 1px 1px rgba(0,0,0,.6); }
.foot-hem { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: var(--yellow);
  background-image: radial-gradient(circle at 48px 50%, rgba(0,0,0,.65) 0 4px, #e6e6e6 4.5px 6px, #7c7c7c 6.5px 8px, #f4f4f4 8.5px 9.5px, transparent 10px);
  background-size: 96px 100%; box-shadow: 0 -2px 3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35); }

/* ---------- forms (shared by poptávka / kontakt / pokladna) ---------- */
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 500; font-size: .95rem; }
.field .req { color: var(--yellow-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .85rem; background: var(--cream-3); border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.field textarea { min-height: 8rem; resize: vertical; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(var(--cols, 2), 1fr); } }
.choice { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.choice input { margin-top: .3rem; accent-color: var(--ink); width: 1.05rem; height: 1.05rem; }
.form-note { font-size: .85rem; color: rgba(11,11,11,.7); }
.legal-box { max-height: 14rem; overflow: auto; padding: 1rem; border: 1px solid var(--line); background: var(--cream-3); font-size: .85rem; line-height: 1.5; }
.legal-box > * + * { margin-top: .6em; }
.steps { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.steps .tag[aria-current="step"] { --tag-bg: var(--yellow); }
.steps .tag:not([aria-current]) { --tag-bg: var(--cream-2); color: rgba(11,11,11,.7); box-shadow: inset 0 0 0 1px var(--line); }
.done-panel { padding: 2rem; border: 2px solid var(--ink); background: var(--cream-3); }

/* ---------- shop primitives (offcut cards) ---------- */
.shop-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px 1fr; align-items: start; } }
.cat-rail { position: relative; }
@media (min-width: 1024px) { .cat-rail { position: sticky; top: 88px; } }
.cat-rail ul { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
@media (min-width: 1024px) { .cat-rail ul { display: block; border-left: 4px solid; border-image: var(--al) 1; padding-left: 0; overflow: visible; } }
.cat-rail a { display: inline-block; text-decoration: none; padding: .45rem .8rem; white-space: nowrap; font-size: .95rem; border: 1px solid var(--line); border-radius: 2px; position: relative; }
@media (min-width: 1024px) { .cat-rail a { display: block; border: 0; padding: .4rem 0 .4rem 1.1rem; white-space: normal; }
  .cat-rail a::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--chrome); box-shadow: 0 1px 1px rgba(0,0,0,.6); opacity: 0; }
  .cat-rail a[aria-current]::before, .cat-rail a:hover::before { opacity: 1; } }
.cat-rail a[aria-current] { font-weight: 600; }
.cat-rail .cnt { font-family: var(--f-mono); font-size: .75rem; opacity: .7; margin-left: .3rem; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { /* a piece of cream tarp with one chrome eyelet punched top-left */
  position: relative; display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: var(--ink);
  background-color: var(--cream-3);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 3px);
  padding: 1rem; padding-top: 1.6rem; border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 10px rgba(0,0,0,.14);
  transform-origin: top left;
}
.card .oko { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; }
.card .card-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; border-radius: 1px; }
.card .card-img img { width: 100%; height: 100%; object-fit: contain; }
.card .card-img.is-sw { --sw: #888; background-color: var(--sw); background-image: radial-gradient(120% 90% at 8% -10%, rgba(255,255,255,.28) 0%, transparent 60%), repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px); }
.card h3, .card .card-name { font-family: var(--f-text); font-weight: 500; font-size: .98rem; line-height: 1.3; }
.card .price { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; line-height: 1.5; margin-top: auto; }
.card .price b { font-weight: 500; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform var(--t-med) var(--ease-taut), box-shadow var(--t-med); }
  .card:hover { transform: rotate(-1deg) translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 22px rgba(0,0,0,.2); }
  .card:hover .oko { filter: brightness(1.25); }
}
.price-block { display: grid; gap: .2rem; }
.price-block .vc { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.price-block .bez { font-family: var(--f-mono); font-size: .9rem; letter-spacing: .04em; opacity: .8; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 2px; }
.qty button { width: 44px; background: none; border: 0; font-size: 1.2rem; }
.qty input { width: 64px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--cream-3); }
.tabs [role="tablist"] { display: flex; gap: .25rem; border-bottom: 1px solid var(--line-2); }
.tabs [role="tab"] { background: none; border: 0; padding: .7rem 1rem; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--yellow); }
.tabs [role="tabpanel"] { padding-top: 1.2rem; }
.attr-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.attr-table th, .attr-table td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.attr-table th { font-weight: 500; width: 34%; }
/* cart flap: rolls in from the right */
.cart-flap { position: fixed; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); z-index: 70; transform: translateX(104%); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.4); }
.cart-flap.is-open { transform: translateX(0); }
@media (prefers-reduced-motion: no-preference) { .cart-flap { transition: transform var(--t-slow) var(--ease-taut); } }
.cart-flap .cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line); }
.cart-flap .cart-body { flex: 1; overflow: auto; padding: 1rem var(--gutter); }
.cart-flap .cart-foot { padding: 1rem var(--gutter) 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cart-line img { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.cart-line .rm { background: none; border: 0; font-size: 1.1rem; opacity: .7; }
.cart-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .cart-scrim { transition: opacity var(--t-med); } }
.cart-scrim.is-open { opacity: 1; pointer-events: auto; }
.crumbs { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; display: flex; flex-wrap: wrap; gap: .4rem; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs span::before { content: "/"; margin-right: .4rem; opacity: .5; }

/* ---------- utilities ---------- */
.stack > * + * { margin-top: var(--gap, 1rem); }
.tight { line-height: 1.25; }
.muted { opacity: .72; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
