/* =====================================================================
   Designated — light product studio. Colour comes only from the work.
   ===================================================================== */

:root {
  --studio: #E6E7EA;
  --studio-2: #D9DADF;
  --paper: #FFFFFF;
  --ink: #0C0C0E;
  --ink-2: #393A40;
  --ink-3: #56575E;
  --line: rgba(12, 12, 14, 0.12);
  --line-2: rgba(12, 12, 14, 0.26);
  --on-ink: #E6E7EA;
  --on-ink-2: #A9AAB1;
  --danger: #B00E27;
  --ok: #0A6B3A;

  --gutter: clamp(20px, 6vw, 88px);
  --nav-h: 68px;
  --f-sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--ink-3) var(--studio);
  scrollbar-width: thin;
}
html.static { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html.static { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--studio);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 420;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
}

::selection { background: var(--ink); color: var(--studio); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--studio); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 3px solid var(--studio); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--studio); padding: 0.7rem 1rem; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--gutter);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled { background-color: var(--studio); box-shadow: 0 1px 0 var(--line); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-stretch: 118%;
  letter-spacing: -0.01em; font-size: 1.06rem;
}
.brand-mark { height: 1.3em; width: calc(1.3em * 184 / 192); flex: none; } /* symbol Závorky, viewBox 184×192 */
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 520;
  padding: 0.55em 0.85em; border-radius: 999px; color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.nav-links a:hover { background-color: rgba(12, 12, 14, 0.07); color: var(--ink); }
.nav > .btn { margin-left: 8px; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.nav-progress > span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: var(--studio);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: 52px; padding: 0 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 620; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s, box-shadow 0.5s var(--ease-out);
}
.btn .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(12, 12, 14, 0.55); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { height: 42px; padding: 0 1.15em; font-size: 0.92rem; }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { --bg: var(--ink); --fg: var(--studio); box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 24px -14px rgba(12, 12, 14, 0.55); }
.btn-paper { --bg: var(--studio); --fg: var(--ink); }
.btn-paper:hover { box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.8); }
.btn[disabled], .is-busy .btn-submit { opacity: 0.55; cursor: progress; transform: none; }

/* =====================================================================
   STORY — pinned stage (motion) / plain sections (static)
   ===================================================================== */
.story { position: relative; }
.stage { position: relative; }
.stage-light {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 48% at 50% 60%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(12, 12, 14, 0.035));
}

.ch h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 800; font-stretch: 115%;
  line-height: 0.98; letter-spacing: -0.03em;
}
.ch > p { margin-top: 1.1rem; color: var(--ink-2); max-width: 40ch; }

.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  font-weight: 830; font-stretch: 118%;
  line-height: 0.92; letter-spacing: -0.035em;
}
.hero-lede { color: var(--ink-2); }
.hl-tail { display: block; }
.hero-actions { display: flex; gap: 12px; }

/* layer list (anatomy) */
.layer-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.layer-list li, .layer-tags li { display: grid; gap: 0.15rem; }
.layer-list b, .layer-tags b { font-weight: 650; font-stretch: 108%; }
.layer-list span, .layer-tags span { color: var(--ink-2); font-size: 0.9rem; line-height: 1.4; }

/* service list (formats) */
.service-list { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li {
  position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.72rem 0; border-bottom: 1px solid var(--line); color: var(--ink-3);
  transition: color 0.35s;
}
.service-list b { transition: transform 0.6s var(--ease-out); }
.service-list b { font-weight: 620; }
.service-list span { font-size: 0.84rem; line-height: 1.4; text-align: right; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0.5rem; height: 0.5rem; background: var(--ink);
  transform: translateY(-50%) scale(0); transition: transform 0.5s var(--ease-out);
}
.service-list li.on { color: var(--ink); }
.service-list li.on b { transform: translateX(1.1rem); }
.service-list li.on::before { transform: translateY(-50%) scale(1); }

.minimap { margin: 2rem 0 0; }
.minimap svg { width: min(150px, 100%); height: auto; overflow: visible; display: block; }
.minimap rect { fill: none; stroke: var(--line-2); stroke-width: 0.7; transition: fill 0.4s, stroke 0.4s; }
.minimap rect.on { fill: var(--ink); stroke: var(--ink); }
.minimap figcaption { margin-top: 0.7rem; font-size: 0.82rem; line-height: 1.4; color: var(--ink-3); }

/* ---------------------------------------------------------------- the banner */
.spot { position: relative; font-family: var(--f-sans); color: var(--ink); }
.spot .cr { position: absolute; inset: 0; overflow: hidden; }
.spot .cr-bg { background: var(--c-bg, #888); }
.spot .disc { position: absolute; border-radius: 50%; background: var(--c-disc, transparent); scale: var(--s, 1); }
.spot .strip { position: absolute; left: 0; right: 0; top: 0; height: 0; background: #fff; }
.spot .shoe { position: absolute; display: block; }
.spot .shoe img { width: 100%; height: auto; aspect-ratio: 860 / 733; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.22)); }
.spot .photo { position: absolute; object-fit: cover; max-width: none; }
.spot .fade-b { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.spot .fade-tb { -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 78%, transparent); }
.spot .sp-head {
  position: absolute; margin: 0;
  line-height: 0.94; letter-spacing: -0.035em;
  font-weight: 900; font-stretch: 125%;
  color: var(--c-head, #fff);
  text-wrap: wrap;
}
.spot .sp-head .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.08em; margin: 0 -0.04em -0.08em; }
.spot .sp-head .w > span { display: inline-block; }
.spot .sp-sub {
  position: absolute; margin: 0; line-height: 1.2; font-weight: 560;
  color: var(--c-sub, inherit);
  opacity: calc(var(--po, 1) * var(--lo, 1));
}
.spot .sp-logo {
  position: absolute; line-height: 1; white-space: nowrap;
  font-weight: 900; font-stretch: 125%; letter-spacing: 0.16em;
  color: var(--c-logo, inherit);
  opacity: var(--lo, 1);
}
.spot .sp-badge {
  position: absolute; line-height: 1; white-space: nowrap;
  padding: 0.52em 0.85em 0.46em; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--c-badge-bg, #fff); color: var(--c-badge, #000);
  opacity: calc(var(--po, 1) * var(--lo, 1));
}
.spot .sp-cta {
  position: absolute; display: inline-flex; align-items: center; line-height: 1; white-space: nowrap;
  padding: 0.72em 1.25em; border-radius: 999px;
  font-weight: 700; letter-spacing: -0.005em;
  background: var(--c-cta-bg, #000); color: var(--c-cta, #fff);
  scale: var(--s, 1); transform-origin: 30% 50%;
  opacity: calc(var(--po, 1) * var(--lo, 1));
}
.spot .cr-spec { opacity: 0; }
.spot .cr-spec .safe { position: absolute; inset: 6%; border: 1px dashed rgba(12, 12, 14, 0.85); }
.spot .cr-spec .spec-tag {
  position: absolute; left: 6%; top: 1.4%;
  font: 500 10px/1 var(--f-mono); letter-spacing: 0.02em; color: var(--ink); white-space: nowrap;
}
.spot .mk { position: absolute; left: 100%; top: 50%; width: 1px; height: 1px; }

/* exploded view: every plane reads as a sheet */
.spot.is-3d .cr { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, calc(var(--ex) * 0.6)), 0 40px 60px -40px rgba(12, 12, 14, calc(var(--ex) * 0.45)); }
.spot.is-3d .cr:not(.cr-bg) { background: rgba(255, 255, 255, calc(var(--ex) * 0.1)); }
.spot.is-3d .cr-spec { background: rgba(255, 255, 255, calc(var(--ex) * 0.22)); }

/* campaign themes */
.c-zenith { --c-bg: #FF4B1F; --c-disc: #D7F23A; --c-head: #0C0C0E; --c-sub: #0C0C0E; --c-logo: #0C0C0E; --c-badge-bg: #fff; --c-badge: #0C0C0E; --c-cta-bg: #0C0C0E; --c-cta: #fff; }

.c-aura { --c-bg: #F7C91D; --c-head: #17140A; --c-sub: #3A3112; --c-logo: #17140A; --c-cta-bg: #17140A; --c-cta: #F7C91D; }
.c-aura .sp-head { font-stretch: 75%; font-weight: 400; letter-spacing: -0.02em; line-height: 0.98; }
.c-aura .sp-logo { font-stretch: 100%; font-weight: 800; letter-spacing: -0.045em; }
.c-aura .sp-sub { font-weight: 500; }

.c-kinetic { --c-bg: #190438; --c-head: #fff; --c-sub: rgba(255, 255, 255, 0.86); --c-logo: #fff; --c-badge-bg: #FF3D8B; --c-badge: #15051F; }
.c-kinetic .sp-head { text-transform: uppercase; line-height: 0.88; letter-spacing: -0.03em; }
.c-kinetic .sp-head em { font-style: normal; color: transparent; -webkit-text-stroke: 0.022em #fff; }
.c-kinetic .sp-logo { letter-spacing: 0.3em; }
.c-kinetic .photo { filter: saturate(1.15) contrast(1.05); }

.c-hexa { --c-bg: #021820; --c-head: #F2FEFF; --c-sub: rgba(220, 250, 255, 0.86); --c-logo: #E8FDFF; --c-badge-bg: #FF2BD6; --c-badge: #12021A; --c-cta-bg: #FF2BD6; --c-cta: #12021A; }
.c-hexa .photo { filter: hue-rotate(-28deg) saturate(1.5) contrast(1.2) brightness(0.68); }
.c-hexa .cr-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(2, 24, 32, 0.24) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(2, 24, 32, 0) 25%, rgba(2, 24, 32, 0.8));
}
.c-hexa .sp-head { font-stretch: 75%; font-weight: 800; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; text-shadow: 0.045em 0 0 #FF2BD6, -0.045em 0 0 #22E6FF; }
.c-hexa .sp-cta { box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.45), 0 8px 18px -8px rgba(255, 43, 214, 0.6); }
.c-hexa .sp-logo { letter-spacing: 0.32em; }

/* static copies */
.spot-static { transform-origin: 0 0; }

/* Vortex identity (native px) */
.c-vortex { background: #0F4D3A; color: #9FF0C9; overflow: hidden; }
.c-vortex svg { width: 100%; height: 100%; display: block; }
.c-vortex .v-word { font-weight: 800; font-stretch: 125%; letter-spacing: 0.22em; line-height: 1; }
.c-vortex .v-small { display: block; font: 500 16px/1.45 var(--f-mono); color: rgba(159, 240, 201, 0.78); }
.v-poster .v-mark-xl { position: absolute; left: 87px; top: 64px; width: 420px; height: 420px; }
.v-poster .v-tag { position: absolute; left: 48px; top: 540px; font-size: 70px; font-weight: 800; font-stretch: 112%; line-height: 0.95; letter-spacing: -0.03em; color: #F4F5F2; }
.v-poster .v-foot { position: absolute; left: 48px; right: 48px; bottom: 44px; display: flex; justify-content: space-between; align-items: flex-end; }
.v-poster .v-word { font-size: 30px; }
.v-poster .v-small { text-align: right; }
.v-logo { background: #F4F5F2; color: #0F4D3A; }
.v-logo .v-lockup { position: absolute; left: 0; right: 0; top: 150px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.v-logo .v-mark { width: 190px; height: 190px; }
.v-logo .v-word { font-size: 58px; color: #0F4D3A; }
.v-logo .v-swatches { position: absolute; left: 48px; right: 48px; bottom: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; height: 56px; box-shadow: 0 0 0 1px rgba(16, 20, 18, 0.12); }
.v-logo .v-swatches i { display: block; }
.v-card .v-card-in { position: absolute; inset: 60px; display: flex; justify-content: space-between; align-items: flex-end; }
.v-card .v-mark { width: 170px; height: 170px; }
.v-card .v-word { display: block; font-size: 44px; text-align: right; color: #F4F5F2; margin-bottom: 18px; }
.v-card .v-small { font-size: 18px; text-align: right; }
.v-letter { background: #fff; color: #0F4D3A; }
.v-letter .v-letter-head { position: absolute; left: 40px; top: 40px; display: flex; align-items: center; gap: 12px; }
.v-letter .v-mark { width: 36px; height: 36px; }
.v-letter .v-word { font-size: 17px; }
.v-letter .v-lines { position: absolute; left: 40px; right: 40px; top: 130px; }
.v-letter .v-lines i { display: block; height: 7px; margin: 0 0 11px; background: #E2E7E4; border-radius: 2px; }
.v-letter .v-lines br { display: block; content: ""; margin-bottom: 22px; }
.v-letter .v-letter-foot { position: absolute; left: 40px; right: 40px; bottom: 34px; display: flex; gap: 16px; padding-top: 14px; border-top: 2px solid #0F4D3A; }
.v-letter .v-letter-foot i { display: block; flex: 1; height: 6px; background: #C9D6CF; border-radius: 2px; }

/* Urban newsletter (native px) */
.c-urban { background: #fff; color: #1B1B1B; overflow: hidden; }
.c-urban .u-top { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; border-bottom: 1px solid #ECECEA; }
.c-urban .u-logo { font-weight: 900; font-stretch: 125%; letter-spacing: 0.18em; font-size: 20px; }
.c-urban .u-logo em { font-style: normal; font-weight: 400; font-stretch: 100%; letter-spacing: 0.02em; margin-left: 6px; }
.c-urban .u-top nav { display: flex; gap: 22px; font-size: 14px; color: #555; }
.c-urban .u-hero { height: 560px; background: #C6C0BF; overflow: hidden; }
.c-urban .u-hero img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.c-urban .u-copy { padding: 44px 36px 40px; text-align: center; }
.c-urban .u-head { font-size: 76px; font-weight: 850; font-stretch: 118%; letter-spacing: -0.035em; line-height: 0.94; }
.c-urban .u-sub { font-size: 18px; color: #555; margin: 14px auto 26px; max-width: 360px; line-height: 1.4; }
.c-urban .u-cta { display: inline-block; background: #1B1B1B; color: #fff; padding: 17px 30px; border-radius: 999px; font-weight: 650; font-size: 16px; line-height: 1; }
.c-urban .u-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 36px 36px; }
.c-urban .u-prod { margin: 0; }
.c-urban .u-prod-img { height: 250px; overflow: hidden; }
.c-urban .u-prod-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.5); max-width: none; }
.c-urban .u-prod figcaption { display: flex; justify-content: space-between; font-size: 14px; padding-top: 10px; }
.c-urban .u-prod b { font-weight: 650; }
.c-urban .u-foot { padding: 26px 36px 34px; background: #F4F4F2; text-align: center; font-size: 12px; color: #888; }
.c-urban .u-foot i { display: block; height: 7px; width: 62%; margin: 0 auto 9px; background: #E2E2DF; border-radius: 2px; }
.u-mobile .u-top { padding: 0 20px; height: 60px; }
.u-mobile .u-logo { font-size: 17px; }
.u-mobile .u-hero { height: 300px; }
.u-mobile .u-copy { padding: 30px 20px 28px; }
.u-mobile .u-head { font-size: 54px; }
.u-mobile .u-sub { font-size: 16px; }
.u-mobile .u-grid { gap: 10px; padding: 0 20px 20px; }
.u-mobile .u-prod-img { height: 160px; }
.u-mobile .u-prod figcaption { flex-direction: column; font-size: 13px; gap: 2px; }

/* ---------------------------------------------------------------- portfolio */
.rail-intro h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 800; font-stretch: 115%; line-height: 0.95; letter-spacing: -0.035em; }
.rail-intro p { margin-top: 1.2rem; color: var(--ink-2); max-width: 34ch; }
.rail-intro .note { margin-top: 1.4rem; font-size: 0.86rem; line-height: 1.45; color: var(--ink-3); }

.project-head h3 { font-size: clamp(1.5rem, 2.1vw, 2.1rem); font-weight: 780; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; }
.project-head p { margin-top: 0.8rem; color: var(--ink-2); font-size: 0.98rem; max-width: 34ch; }
.chips { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.8rem; font-weight: 520; line-height: 1; padding: 0.55em 0.85em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }

.board { display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-end; gap: 22px 22px; min-height: 0; }
.sz { margin: 0; display: flex; flex-direction: column; gap: 10px; flex: none; }
.sz figcaption, .sz-probe { font: 400 0.72rem/1 var(--f-mono); letter-spacing: 0.02em; color: var(--ink-3); height: 18px; white-space: nowrap; }
.sz-box {
  position: relative; overflow: hidden; background: var(--studio-2);
  box-shadow: 0 28px 44px -30px rgba(12, 12, 14, 0.55), 0 2px 6px -2px rgba(12, 12, 14, 0.12);
}
.sz-box > .spot { position: absolute; left: 0; top: 0; }
.sz-box.ph { background: transparent; box-shadow: none; outline: 1px dashed var(--line-2); outline-offset: 0; }

.rail-end p { font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 650; font-stretch: 108%; line-height: 1.3; letter-spacing: -0.015em; max-width: 20ch; }

/* ---------------------------------------------------------------- overlays */
.dims, .readout, .leaders, .layer-tags { display: none; }

/* =====================================================================
   MOTION LAYOUT
   ===================================================================== */
html.motion .stage { height: 100vh; height: 100svh; overflow: hidden; }
html.motion .ch { position: absolute; z-index: 2; }
html.motion .ch-hero { inset: 0; pointer-events: none; }
html.motion .ch-hero > * { pointer-events: auto; }
html.motion .stage.past-hero .ch-hero > * { pointer-events: none; }
/* the later chapters sit invisibly over the hero until their turn; they hold no controls, so they must not eat its clicks */
html.motion .ch-anatomy, html.motion .ch-formats { pointer-events: none; }
html.motion .hero-title { position: absolute; top: calc(var(--nav-h) + 5.5vh); left: var(--gutter); right: var(--gutter); text-align: center; }
html.motion .hero-lede {
  position: absolute; left: var(--gutter); bottom: calc(9vh + 76px);
  max-width: min(36ch, var(--hero-lede-max, 34ch));
}
html.motion .hero-actions { position: absolute; left: var(--gutter); bottom: 9vh; flex-wrap: wrap; }

html.motion .ch-anatomy { left: var(--gutter); top: calc(var(--nav-h) + 7vh); width: min(28rem, 30vw); }
html.motion .ch-anatomy .layer-list { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }

html.motion .ch-formats { left: var(--gutter); top: calc(var(--nav-h) + 6vh); bottom: 5vh; width: min(25rem, 29vw); display: flex; flex-direction: column; }
html.motion .ch-formats .minimap { margin-top: auto; }
html.motion .ch-formats.mini-off .minimap { display: none; }

html.motion .spot-anchor { position: absolute; inset: 0; z-index: 4; pointer-events: none; perspective: 2200px; }
html.motion .spot-anchor .spot { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform-origin: 50% 50%; }
html.motion .spot-anchor .spot .cr { backface-visibility: hidden; }
html.motion .spot-anchor .spot .cr-bg { box-shadow: 0 30px 50px -30px rgba(12, 12, 14, 0.5), 0 -10px 28px -16px rgba(12, 12, 14, 0.35); }
html.motion .spot-floor {
  position: absolute; left: 0; top: 0; height: 28px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(12, 12, 14, 0.3), rgba(12, 12, 14, 0));
  filter: blur(5px);
}

html.motion .dims { display: block; position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0; }
html.motion .dim { position: absolute; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.02em; color: var(--ink-2); }
html.motion .dim-w { left: 0; right: 0; top: -24px; height: 1px; background: var(--ink-3); }
html.motion .dim-h { top: 0; bottom: 0; right: -24px; width: 1px; background: var(--ink-3); }
html.motion .dim::before, html.motion .dim::after { content: ""; position: absolute; background: var(--ink-3); }
html.motion .dim-w::before, html.motion .dim-w::after { top: -5px; width: 1px; height: 11px; }
html.motion .dim-w::before { left: 0; }
html.motion .dim-w::after { right: 0; }
html.motion .dim-h::before, html.motion .dim-h::after { left: -5px; height: 1px; width: 11px; }
html.motion .dim-h::before { top: 0; }
html.motion .dim-h::after { bottom: 0; }
html.motion .dim b { position: absolute; font-weight: 500; white-space: nowrap; background: var(--studio); padding: 0 0.5em; }
html.motion .dim-w b { left: 50%; top: -0.5em; transform: translateX(-50%); }
html.motion .dim-h b { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(90deg); }

html.motion .readout {
  display: flex; position: absolute; left: 0; top: 0; z-index: 5; gap: 0.9em;
  font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.02em; color: var(--ink-2);
  white-space: nowrap; pointer-events: none;
}
html.motion .readout span:empty { display: none; }
html.motion .readout span + span::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-3); margin-right: 0.9em; vertical-align: 0.15em;
}

html.motion .leaders { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; opacity: 0; overflow: visible; }
html.motion .leaders path { fill: none; stroke: var(--ink); stroke-width: 1; }
html.motion .leaders circle { fill: var(--studio); stroke: var(--ink); stroke-width: 1.5; }
html.motion .layer-tags { display: block; position: absolute; left: 0; top: 0; margin: 0; padding: 0; list-style: none; z-index: 5; pointer-events: none; opacity: 0; }
html.motion .layer-tags li { position: absolute; left: 0; top: 0; width: min(270px, 20vw); }

html.motion .rail {
  position: absolute; z-index: 3; left: 0; top: calc(var(--nav-h) + 4vh); bottom: 5vh;
  display: flex; gap: 5vw; padding: 0 var(--gutter);
  align-items: stretch;
}
html.motion .rail-intro { flex: 0 0 min(30rem, 30vw); display: flex; flex-direction: column; justify-content: center; }
html.motion .project {
  flex: 0 0 min(74vw, 1200px);
  display: grid; grid-template-columns: minmax(210px, 24%) minmax(0, 1fr); gap: 3.2vw;
  padding: 2vh 0 1vh;
}
html.motion .project-head { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; }
html.motion .board { height: 100%; }
html.motion .rail-end { flex: 0 0 min(24rem, 28vw); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; padding-right: 2vw; }
/* the rail stops with its end card flush right, so the last project must fit beside it with its caption whole */
@media (min-width: 900px) {
  html.motion .project:has(+ .rail-end) { flex-basis: min(56vw, 900px); }
}

@media (max-width: 899px) {
  html.motion .hero-title { top: calc(var(--nav-h) + 2.5vh); font-size: clamp(2.2rem, 10.4vw, 3.4rem); }
  html.motion .hero-lede { left: var(--gutter); right: var(--gutter); bottom: calc(4vh + 112px); max-width: none; text-align: center; font-size: 0.96rem; line-height: 1.45; }
  html.motion .hero-actions { left: var(--gutter); right: var(--gutter); bottom: 4vh; flex-direction: column; align-items: stretch; gap: 8px; }
  html.motion .hero-lede { bottom: calc(4vh + 112px); }
  html.motion .hero-actions .btn { height: 48px; }

  html.motion .ch-anatomy { top: calc(var(--nav-h) + 2vh); width: auto; right: var(--gutter); }
  html.motion .ch-anatomy h2, html.motion .ch-formats h2 { font-size: clamp(1.7rem, 7.4vw, 2.3rem); }
  html.motion .ch-anatomy > p { font-size: 0.92rem; line-height: 1.45; margin-top: 0.7rem; }
  html.motion .layer-tags li { width: 34vw; }
  html.motion .layer-tags span { display: none; }
  html.motion .layer-tags b { font-size: 0.82rem; }

  html.motion .ch-formats { top: calc(var(--nav-h) + 2vh); width: auto; right: var(--gutter); bottom: auto; }
  html.motion .ch-formats > p, html.motion .ch-formats .minimap { display: none; }
  html.motion .service-list { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  html.motion .service-list li { padding: 0.5em 0.8em; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.82rem; }
  html.motion .service-list li span, html.motion .service-list li::before { display: none; }
  html.motion .service-list li.on { background: var(--ink); color: var(--studio); box-shadow: none; }
  html.motion .service-list li.on b { transform: none; }
  html.motion .dim-h { display: none; }
  html.motion .readout { font-size: 0.72rem; gap: 0.35em 0.6em; flex-wrap: wrap; justify-content: center; white-space: normal; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); text-align: center; }
  html.motion .readout span { white-space: nowrap; }
  html.motion .readout span:nth-child(3) { flex-basis: 100%; }
  html.motion .readout span:nth-child(3)::before { display: none; }
  html.motion .readout span + span::before { margin-right: 0.6em; }

  html.motion .rail { top: calc(var(--nav-h) + 2vh); bottom: 3vh; gap: 8vw; }
  html.motion .rail-intro { flex-basis: 78vw; }
  html.motion .project { flex-basis: 84vw; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 2vh; }
  html.motion .project-head { padding-bottom: 0; }
  html.motion .project-head p { font-size: 0.9rem; margin-top: 0.5rem; }
  html.motion .chips { margin-top: 0.7rem; }
  html.motion .board { gap: 14px; align-content: flex-start; }
  html.motion .rail-end { flex-basis: 76vw; }
}

/* =====================================================================
   STATIC LAYOUT (reduced motion / no GSAP)
   ===================================================================== */
html:not(.motion) .stage { display: flex; flex-direction: column; }
html:not(.motion) .stage-light { display: none; }
html:not(.motion) .ch { position: relative; padding: 12vh var(--gutter) 4vh; }
html:not(.motion) .ch-hero { order: 1; text-align: center; padding-top: calc(var(--nav-h) + 9vh); }
html:not(.motion) .hero-lede { max-width: 46ch; margin: 1.6rem auto 0; }
html:not(.motion) .hero-actions { justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
html:not(.motion) .spot-anchor { order: 2; display: flex; justify-content: center; padding: 2vh var(--gutter) 6vh; }
html:not(.motion) .spot-floor { display: none; }
html:not(.motion) .spot-anchor .spot .cr-bg { box-shadow: 0 30px 50px -30px rgba(12, 12, 14, 0.5); }
html:not(.motion) .ch-anatomy { order: 3; }
html:not(.motion) .ch-anatomy .layer-list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem; max-width: 1100px; }
html:not(.motion) .ch-formats { order: 4; }
html:not(.motion) .minimap { display: none; }
html:not(.motion) .service-list { max-width: 40rem; }
html:not(.motion) .sz-grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; margin-top: 3rem; }
html:not(.motion) .rail { order: 5; display: flex; flex-direction: column; gap: 10vh; padding: 12vh var(--gutter) 6vh; }
html:not(.motion) .project { display: grid; grid-template-columns: minmax(200px, 26%) minmax(0, 1fr); gap: 4vw; align-items: end; }
html:not(.motion) .rail-end { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
@media (max-width: 899px) {
  html:not(.motion) .project { grid-template-columns: 1fr; }
}

/* =====================================================================
   ABOUT — technical parameters
   ===================================================================== */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6vw;
  padding: 18vh var(--gutter) 16vh; align-items: start;
}
.about-xray { position: sticky; top: calc(var(--nav-h) + 10vh); }
.xray { width: 100%; height: auto; overflow: visible; }
.xray .x-frame { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.xray .x-safe { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 4; }
.xray .x-line { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.xray .x-faint { stroke: var(--line-2); }
.xray .x-dim path { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.xray .x-label, .xray .x-note { font: 500 10px var(--f-mono); fill: var(--ink-3); letter-spacing: 0.02em; }
.about-body h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 800; font-stretch: 115%; line-height: 0.96; letter-spacing: -0.035em; max-width: 16ch; }
.prose { margin-top: 2.2rem; display: grid; gap: 1.1rem; max-width: 62ch; color: var(--ink-2); }
.spec-title { margin-top: 4.5rem; font-size: 1.1rem; font-weight: 720; font-stretch: 112%; padding-bottom: 0.9rem; border-bottom: 1.5px solid var(--ink); }
.spec-table { margin: 0; }
.spec-table > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.spec-table dt { font-size: 0.9rem; line-height: 1.55; color: var(--ink-3); }
.spec-table dd { margin: 0; font-weight: 520; }

/* =====================================================================
   PRICE: the rate is set as the designer's own banner
   ===================================================================== */
.price { padding: 16vh var(--gutter); }
.price-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 6vw; align-items: center; max-width: 1440px; margin: 0 auto; }
.price h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 800; font-stretch: 115%; line-height: 0.98; letter-spacing: -0.03em; }
.price-lede { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; max-width: 32ch; color: var(--ink-2); }
.included { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.included li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.included .i { width: 20px; height: 20px; flex: none; margin-top: 0.12em; stroke-width: 1.8; }

.price-spot { margin: 0; width: min(600px, 100%); justify-self: center; }
.price-dim { position: relative; height: 1px; margin: 0 0 22px; background: var(--ink-3); }
.price-dim::before, .price-dim::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--ink-3); }
.price-dim::before { left: 0; }
.price-dim::after { right: 0; }
.price-dim b { position: absolute; left: 50%; top: -0.55em; transform: translateX(-50%); padding: 0 0.6em; background: var(--studio); font: 500 0.72rem/1 var(--f-mono); color: var(--ink-2); letter-spacing: 0.02em; }
.price-frame {
  position: relative; aspect-ratio: 300 / 250; padding: 7%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  background: var(--ink); color: var(--on-ink);
  box-shadow: 0 50px 70px -44px rgba(12, 12, 14, 0.6), 0 2px 6px -2px rgba(12, 12, 14, 0.2);
}
.price-safe { position: absolute; inset: 5.4%; border: 1px dashed rgba(230, 231, 234, 0.26); pointer-events: none; }
.price-brand { display: inline-flex; align-items: center; gap: 0.6em; font-size: clamp(0.72rem, 1vw, 0.88rem); font-weight: 850; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.price-brand .brand-mark { height: 1.6em; width: calc(1.6em * 184 / 192); }
.price-figure {
  display: flex; align-items: flex-start; gap: 0.12em;
  font-size: clamp(3.6rem, 8.4vw, 7.2rem); font-weight: 850; font-stretch: 125%;
  line-height: 1; letter-spacing: -0.05em;
}
.odo { display: inline-flex; }
.odo .col { display: inline-block; height: 1em; overflow: hidden; }
.odo .col > span { display: block; line-height: 1; }
.price-unit { font-size: 0.27em; font-stretch: 100%; font-weight: 640; letter-spacing: -0.01em; margin-top: 0.22em; line-height: 1.05; }
.price-unit i { display: block; font-style: normal; color: var(--on-ink-2); }
.price-cta {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.85em 1.35em; border-radius: 999px; line-height: 1;
  background: var(--studio); color: var(--ink); font-weight: 700; font-size: clamp(0.86rem, 1.1vw, 1rem); text-decoration: none;
}
.price-cta .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.price-cta:hover .i { transform: translateX(4px); }
.price-cta:focus-visible { outline-color: var(--on-ink); }
.price-readout { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.35em 0.9em; margin-top: 18px; font: 500 0.72rem/1.3 var(--f-mono); letter-spacing: 0.02em; color: var(--ink-2); }
.price-readout span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); margin-right: 0.9em; vertical-align: 0.15em; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding: 0 var(--gutter); }
.contact-stage {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5vw; align-items: center;
  padding: calc(var(--nav-h) + 5vh) 0 6vh;
}
.contact-side h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); font-weight: 800; font-stretch: 115%; line-height: 0.95; letter-spacing: -0.035em; max-width: 12ch; }
.channels { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.channels a { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.channels .i { width: 22px; height: 22px; flex: none; }
.channels span { display: flex; flex-direction: column; font-weight: 620; font-size: 1.12rem; line-height: 1.3; }
.channels small { font-size: 0.86rem; font-weight: 420; line-height: 1.45; color: var(--ink-3); }
.channels a:hover span { text-decoration: underline; }
.channels a:hover small { text-decoration: none; }
.legal { margin: 2rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; font-size: 0.88rem; color: var(--ink-2); }
.legal > div { display: contents; }
.legal dt { color: var(--ink-3); }
.legal dd { margin: 0; }
.legal-note { margin-top: 0.8rem; font-size: 0.84rem; color: var(--ink-3); }
.ph-note {
  display: inline-block; margin-top: 1.2rem; padding: 0.5em 0.8em; border-radius: 8px;
  border: 1px dashed var(--line-2); font-size: 0.84rem; line-height: 1.4; color: var(--ink-2);
}

.panel-wrap { position: relative; }
.panel {
  position: relative; background: var(--paper); border-radius: 16px;
  padding: clamp(24px, 3.4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px;
  box-shadow: 0 50px 90px -60px rgba(12, 12, 14, 0.55);
}
.panel-title { grid-column: 1 / -1; font-size: 1.5rem; font-weight: 760; font-stretch: 112%; letter-spacing: -0.015em; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 620; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--studio); border: 1.5px solid transparent; border-radius: 10px;
  padding: 0.85rem 1rem; caret-color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #FFF6F7; }
.err { font-size: 0.82rem; color: var(--danger); }
.err:empty { display: none; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.form-status { font-size: 0.9rem; color: var(--ink-2); max-width: 44ch; }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="ok"] { color: var(--ok); }
.btn-submit { display: inline-grid; grid-template-columns: auto auto; align-items: center; justify-content: center; margin-left: auto; }
.btn-submit .sw { grid-row: 1; grid-column: 1; }
.btn-submit .sw-a { opacity: 0; }
.btn-submit .i { grid-row: 1; grid-column: 2; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; line-height: 1.45; color: var(--ink-3); max-width: 52ch; }
.form-note a { color: var(--ink-2); }

.frame-outline { position: absolute; inset: -10px; border: 1.5px dashed var(--ink-3); border-radius: 4px; pointer-events: none; display: none; }
html.motion .frame-outline { display: block; }
.frame-tag { position: absolute; left: -1.5px; top: -1.9em; display: grid; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.03em; color: var(--ink-3); white-space: nowrap; }
.frame-tag > span { grid-area: 1 / 1; }
.frame-tag .ft-b { opacity: 0; }
.slot-wire { position: absolute; left: 0; top: 0; z-index: 2; display: none; pointer-events: none; overflow: visible; }
html.motion .slot-wire { display: block; }
.slot-wire .sw-safe { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.slot-wire .sw-line { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.slot-wire .sw-faint { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------------------------------------------------------------- footer */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 3.5vh var(--gutter); border-top: 1px solid var(--line); font-size: 0.88rem;
}
.foot a { text-decoration: none; }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-links a:hover { text-decoration: underline; }
.foot-copy { color: var(--ink-3); }

/* ---------------------------------------------------------------- podstránky (zásady, 404) */
.page .nav { background-color: var(--studio); box-shadow: 0 1px 0 var(--line); }
.page-main { padding: calc(var(--nav-h) + 9vh) var(--gutter) 12vh; min-height: 72vh; }
.doc { max-width: 46rem; }
.doc h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); font-weight: 800; font-stretch: 115%; line-height: 0.95; letter-spacing: -0.035em; max-width: 16ch; }
.doc .ph-note { margin-top: 1.6rem; }
.doc h2 { margin-top: 2.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 760; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.15; }
.doc p, .doc li { color: var(--ink-2); max-width: 62ch; }
.doc h2 + p, .doc h2 + ul, .doc h2 + dl { margin-top: 0.9rem; }
.doc p + p, .doc ul + p, .doc dl + p { margin-top: 0.8rem; }
.doc ul { margin: 0; padding-left: 1.2rem; }
.doc li + li { margin-top: 0.35rem; }
.doc .legal { margin-top: 0.9rem; font-size: 0.95rem; }
.doc h3 { margin-top: 1.8rem; font-size: 1.02rem; font-weight: 720; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.2; }
.doc h3 + p { margin-top: 0.6rem; }
.doc p + h3 { margin-top: 1.8rem; }
.doc table { width: 100%; max-width: 62ch; margin-top: 1.1rem; border-collapse: collapse; font-size: 0.9rem; }
.doc caption { text-align: left; }
.doc th, .doc td { padding: 0.65rem 0.8rem 0.65rem 0; text-align: left; vertical-align: top; color: var(--ink-2); font-weight: 400; border-bottom: 1px solid var(--line); }
.doc thead th { padding-top: 0; font-size: 0.8rem; font-weight: 620; color: var(--ink-3); border-bottom-color: var(--line-2); }
.doc tbody th { font: 500 0.82rem/1.4 var(--f-mono); color: var(--ink); overflow-wrap: anywhere; }
.doc table + p { margin-top: 1rem; }
.doc .doc-date { margin-top: 2.6rem; font-size: 0.88rem; color: var(--ink-3); }
.doc a { text-underline-offset: 0.2em; }
.doc a:hover { text-decoration-thickness: 2px; }

.nf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4rem; align-items: center; max-width: 60rem; min-height: calc(72vh - var(--nav-h) - 9vh); }
.nf-frame {
  position: relative; width: min(300px, 100%); aspect-ratio: 300 / 250;
  border: 1.5px dashed var(--ink-3); margin-top: 1.9em;
}
.nf-frame .frame-tag { display: block; }
.nf-frame svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nf-safe { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.nf-cross { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nf h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); font-weight: 800; font-stretch: 115%; line-height: 0.95; letter-spacing: -0.035em; max-width: 12ch; }
.nf .btn { margin-top: 2rem; }
.nf-note { margin-top: 1.2rem; color: var(--ink-2); max-width: 36ch; }

/* ---------------------------------------------------------------- volba (měření a souhlas) */
.volba {
  position: fixed; left: var(--gutter); bottom: min(var(--gutter), 32px); z-index: 70;
  width: calc(100% - 2 * var(--gutter)); max-width: 30rem;
  padding: 1.4rem 1.5rem 1.3rem; background: var(--paper); color: var(--ink);
  border-radius: 16px; box-shadow: 0 50px 90px -60px rgba(12, 12, 14, 0.55), 0 0 0 1px var(--line);
}
/* Na nízkém okně (např. telefon naležato) se panel s rozbaleným nastavením posune uvnitř sebe, ne za okraj. */
@media (max-height: 640px) {
  .volba { max-height: calc(100vh - 24px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
/* [hidden] musí vždy vyhrát nad display z jiných pravidel (bez JS se nesmí ukázat ani panel, ani tlačítko v patičce) */
.volba[hidden], .volba [hidden], .foot-btn[hidden], .doc .volba-link[hidden] { display: none !important; }
.volba:focus-within { box-shadow: 0 50px 90px -60px rgba(12, 12, 14, 0.55), 0 0 0 1px var(--line-2); }
.volba-h { font-size: 1.1rem; font-weight: 720; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.2; }
.volba-h:focus { outline: none; }
.volba-h:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.volba-p { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.volba-p a:hover { text-decoration-thickness: 2px; }
.volba-detail { margin-top: 1rem; border-top: 1px solid var(--line); }
.volba-row {
  display: flex; align-items: flex-start; justify-content: space-between; flex-direction: row-reverse; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.volba-row b { display: block; font-weight: 660; font-size: 0.92rem; color: var(--ink); }
.volba-row span { font-size: 0.85rem; line-height: 1.45; color: var(--ink-2); }
.volba-row input {
  appearance: none; -webkit-appearance: none; flex: none; position: relative;
  width: 2.5rem; height: 1.5rem; margin: 0.1rem 0 0; border-radius: 999px; cursor: pointer;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color 0.3s;
}
.volba-row input::after {
  content: ""; position: absolute; left: 0.25rem; top: 0.25rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--ink); transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.volba-row input:checked { background: var(--ink); }
.volba-row input:checked::after { transform: translateX(1rem); background: var(--paper); }
.volba-row input:disabled { opacity: 0.5; cursor: default; }
.volba-row:has(input:disabled) { cursor: default; }
.volba-akce { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.1rem; }
.volba-link, .foot-btn {
  appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0.4rem 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-underline-offset: 0.2em; text-decoration-thickness: 1px;
}
.volba-link { margin-left: auto; font-size: 0.9rem; text-decoration: underline; }
.volba-link:hover, .foot-btn:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.foot-btn { font-size: inherit; text-decoration: none; }
.doc .volba-link { margin-left: 0; font-size: inherit; color: var(--ink-2); display: inline; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  .volba { animation: volba-in 0.6s var(--ease-out) both; }
  @keyframes volba-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 899px) {
  .volba { bottom: 12px; padding: 1.15rem 1.2rem 1.1rem; }
  .volba-link { margin-left: 0; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 640px) {
  /* tabulka úložišť jako seznam bloků, aby stránka nescrollovala do strany */
  .doc table, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .doc th, .doc td { padding: 0.12rem 0; border: 0; }
  .doc td::before { content: attr(data-label) ": "; color: var(--ink-3); }
}
@media (max-width: 899px) {
  .nf { grid-template-columns: 1fr; gap: 2.5rem; min-height: 0; }
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav > .btn { margin-left: auto; }
  .about { grid-template-columns: 1fr; padding: 12vh var(--gutter); gap: 3rem; }
  .about-xray { position: relative; top: 0; max-width: 420px; }
  .spec-table > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .price { padding: 12vh var(--gutter); }
  .price-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-stage { grid-template-columns: 1fr; gap: 3rem; min-height: 0; padding: 12vh 0 8vh; }
  .panel { grid-template-columns: 1fr; }
  html.motion .frame-outline, html.motion .slot-wire { display: none; }
  .btn-submit { margin-left: 0; width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .nav .btn-sm { padding: 0 0.95em; font-size: 0.86rem; }
  .nav .btn-sm .i { display: none; }
}
