/* ---- base.css ---- */
/* SECTOR 70 · web v6 · base: tokens, fonts, grid, type, shared recipes. Spec: DESIGN-v6.md §2, §5. */

/* ---------- fonts ---------- */
/* brand book 4.0: display = Mona Sans Expanded (wdth 125 pinned), numbers = Mona Sans SemiExpanded (wdth 112.5 pinned),
   labels = Hubot Sans Condensed Medium, data = Hubot Sans. Instances built with fontTools from the Mona Sans variable font. */
@font-face { font-family: "Mona Display"; src: url(../assets/fonts/MonaDisplay-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; 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: "Mona Display"; src: url(../assets/fonts/MonaDisplay-latin-ext.woff2) format("woff2"); font-weight: 200 900; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mona Semi"; src: url(../assets/fonts/MonaSemi-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; 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: "Mona Semi"; src: url(../assets/fonts/MonaSemi-latin-ext.woff2) format("woff2"); font-weight: 200 900; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hubot Sans"; src: url(../assets/fonts/HubotSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hubot Sans Condensed"; src: url(../assets/fonts/HubotSansCondensed-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url(../assets/fonts/MonaSans-latin.woff2) format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  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: "Mona Sans"; src: url(../assets/fonts/MonaSans-latin-ext.woff2) format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "The Black Knight"; src: url(../assets/fonts/TheBlackKnight.woff2) format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --paper-2: #F4F2EF;
  --cream: #F7E9DF;
  --ink: #0A0A0A;
  --ink-2: #4A4A4A;
  --mute: #6E6E6E;
  --unfill: #D9D6D2;
  --red: #FF3B1F;
  --red-ink: #D42A12;
  --sh-1: 0 1px 2px rgba(10,10,10,.06), 0 8px 24px -8px rgba(10,10,10,.12);
  --sh-2: 0 2px 6px rgba(10,10,10,.06), 0 40px 80px -24px rgba(10,10,10,.28);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);

  --bs: "Mona Display", "Mona Sans", ui-sans-serif, system-ui, sans-serif; /* display (name kept so section CSS follows) */
  --semi: "Mona Semi", "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  --hubot: "Hubot Sans", "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  --hubot-c: "Hubot Sans Condensed", "Hubot Sans", "Mona Sans", ui-sans-serif, sans-serif;
  --mona: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bk: "The Black Knight", "Mona Display", serif;
  --px: "Hubot Sans", ui-sans-serif, system-ui, sans-serif; /* data (was a pixel face) */

  --gutter: clamp(16px, 3.6vw, 52px);
  --colgap: clamp(12px, 1.7vw, 24px);
  --cols: 12;
  --sec-pad: clamp(80px, 9vw, 128px);

  /* glass.css: labels in Mona, no Hubot */
  --lg-font-label: "Hubot Sans Condensed", "Hubot Sans", "Mona Sans", ui-sans-serif, sans-serif;
  --lg-font-ui: var(--mona);
  --lg-font-display: var(--bs);
  --lg-paper: #FFFFFF;
}
@media (max-width: 1023px) { :root { --cols: 8; } }
@media (max-width: 599px) { :root { --cols: 4; --gutter: 16px; --colgap: 12px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { overflow-anchor: none; /* pins and restore move content above the reader: browser anchoring would undo exact restores */ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: linear-gradient(var(--paper) 0 50%, var(--ink) 50% 100%); } /* overscroll: white above the page, ink below the ink footer */
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--mona); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: 16px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 999px; font: 600 15px/1 var(--mona); }
.skip:focus { top: 84px; } /* below the nav logo, never on top of it */

/* main lifts off the sticky footer (S12) */
main { position: relative; z-index: 1; background: var(--paper); box-shadow: 0 40px 80px -20px rgba(10,10,10,.18); outline: none; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--colgap); }
.sec { position: relative; padding-block: var(--sec-pad); }

/* ---------- type ---------- */
.display, .h1, .h2, .melt-phrase, .num-xl, .num-l, .num-m, .h3 {
  font-family: var(--bs); font-weight: 900; text-transform: uppercase;
  font-size: calc(var(--size) * var(--fit, 1));
  line-height: .9; letter-spacing: -.01em; font-kerning: normal;
}
.h1 { --size: min(13.6vw, 26svh, 210px); }
.h2 { --size: min(9vw, 140px); }
.melt-phrase { --size: min(15vw, 25svh, 240px); }
.num-xl, .num-l, .num-m { font-family: var(--semi); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: normal !important; line-height: .9; } /* Mona's tabular zero is slashed: proportional figures only */
.num-xl { --size: min(13vw, 26svh, 200px); }
.num-l { --size: min(9vw, 140px); }
.num-m { --size: 104px; }
/* brand L2 headline: SemiExpanded Bold, sentence case */
.h3 { --size: clamp(26px, 2.8vw, 44px); font-family: var(--semi); font-weight: 700; text-transform: none; line-height: 1; letter-spacing: -.025em; }
@media (max-width: 599px) {
  .h1 { --size: 13.6vw; }
  .h2 { --size: 13vw; }
  .melt-phrase { --size: 19vw; }
  .num-xl { --size: 27vw; }
  .num-l { --size: 17vw; }
  .num-m { --size: 56px; }
  .h3 { --size: 7vw; text-wrap: balance; }
}
.statement { font: 520 clamp(24px, 2.5vw, 38px)/1.16 var(--mona); font-stretch: 100%; letter-spacing: -.02em; }
.lead { font: 450 clamp(17px, 1.4vw, 21px)/1.45 var(--mona); color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.body { font: 400 17px/1.55 var(--mona); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.label { font: 500 13px/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.stamp { font: 700 12px/1 var(--semi); text-transform: uppercase; letter-spacing: .06em; }
.pixel { font: 400 12px/1 var(--px); letter-spacing: .02em; }
.bk { font-family: var(--bk); font-weight: 400; text-transform: none; font-size: 1.15em; line-height: .8; letter-spacing: 0; }
.red { color: var(--red); }
@media (max-width: 599px) {
  .statement { font-size: 22px; }
  .lead { font-size: 17px; }
  .body { font-size: 16px; }
  .label { font-size: 12px; }
  .stamp { font-size: 12px; }
  .pixel { font-size: 12px; }
}

/* giant lines: <h2 class="h2 fit" data-r="lines"><span class="line"><span class="line__in">…</span></span>…</h2> */
.line { display: block; overflow: hidden; padding: .16em .06em .04em; margin: -.16em -.06em -.04em; }
/* flex column: the negative line margins must not collapse into each other (block flow would add ~.04em per line) */
:where(.h1, .h2, .melt-phrase, .num-xl, .num-l, .num-m, .h3, .display):has(> .line) { display: flex; flex-direction: column; }
/* Slovak capitals carry accents high above the cap height: blocks whose lower lines have them get +.12em leading (core.js marks .lines-acc) */
.lines-acc > .line + .line { margin-top: -.04em; }
.line__in { display: inline-block; white-space: nowrap; transform-origin: 0 100%; }
.line--r { text-align: right; }

/* Footnote mark (replaces the R2 ghost tail): <span class="ghost" data-text="…">word.</span> gets a red brand asterisk
   set like a footnote reference. The asterisk = "the proof is below", the idea of the whole page. */
.ghost { position: relative; display: inline-block; color: inherit; }
.ghost::before { content: none; }
.ghost::after {
  content: ""; display: inline-block; width: .3em; height: .3em; margin-left: .06em; vertical-align: .62em;
  background: var(--red); -webkit-mask: url(../assets/img/ast.svg) center / contain no-repeat; mask: url(../assets/img/ast.svg) center / contain no-repeat;
}

/* ---------- eyebrow and pixel asterisk ---------- */
.px-ast { width: 11px; height: 11px; flex: none; color: var(--red); }
@media (max-width: 599px) { .px-ast { width: 12px; height: 12px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- buttons and links ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--paper); font: 700 13.5px/1 var(--semi); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
  box-shadow: var(--sh-1); -webkit-tap-highlight-color: transparent;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-ink); /* 5.1:1 under white text */ clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { clip-path: inset(0); }
.btn--lg { --h: 64px; padding: 0 34px; font-size: 15px; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 12.5px; }
.btn--soft { background: var(--paper-2); color: var(--ink); box-shadow: none; }
.btn--soft:hover, .btn--soft:focus-visible { color: var(--paper); }
/* press (KR-10): every .btn gives to .96 under the finger or mouse. The individual `scale` property composes
   with the magnetic pull, which GSAP writes to `transform` (core.js initMagnetic). !important: when GSAP first
   writes a transform it also sets inline `scale: none` (and translate/rotate) on the element, which would beat
   a plain :active rule on every magnetic CTA */
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: scale .12s var(--ease-out); }
  .btn:active { scale: .96 !important; }
}
.link {
  display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1 var(--mona); color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + .8em) / 0 2px no-repeat;
  transition: background-size .24s var(--ease-out);
}
.link:hover, .link:focus-visible { background-size: 100% 2px; }
.link:focus-visible { border-radius: 6px; }
/* link states (shared recipe, idea 18.в): the underline draws left to right in 240 ms on --ease-out, and a footnote
   asterisk inside the link turns 70° (the sector angle). Hooks: .link (44 px UI link, above), .u-link (an inline text
   link; --ul sets the line weight), or data-ast-turn on any link or button to get only the asterisk turn.
   Hover only where hover is real (a phone keeps :hover after a tap); keyboard focus always shows the state. */
.u-link {
  --ul: max(2px, .06em);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 var(--ul) no-repeat;
  transition: background-size .24s var(--ease-out);
}
.u-link:focus-visible { background-size: 100% var(--ul); }
/* (a pseudo-element cannot sit inside :is(), so the .ghost asterisk gets its own selectors) */
:is(.link, .u-link, [data-ast-turn]) .px-ast, :is(.link, .u-link, [data-ast-turn]) .ghost::after { transition: rotate .24s var(--ease-out); }
:is(.link, .u-link, [data-ast-turn]):focus-visible .px-ast, :is(.link, .u-link, [data-ast-turn]):focus-visible .ghost::after { rotate: 70deg; }
@media (hover: hover) {
  .u-link:hover { background-size: 100% var(--ul); }
  :is(.link, .u-link, [data-ast-turn]):hover .px-ast, :is(.link, .u-link, [data-ast-turn]):hover .ghost::after { rotate: 70deg; }
}

/* R7 char roll (core.js fills [data-roll]) */
.roll { position: relative; display: inline-block; height: 1.2em; line-height: 1.2; overflow: hidden; vertical-align: middle; }
.roll__a, .roll__b { display: block; white-space: pre; }
.roll__b { position: absolute; left: 0; top: 100%; }
.roll .ch { display: inline-block; transition: transform .4s var(--ease-out); transition-delay: calc(var(--i, 0) * 12ms); }
:is(a, button):is(:hover, :focus-visible) .roll .ch { transform: translateY(-100%); }

/* ---------- photos ---------- */
.ph { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--sh-2); background: var(--paper-2); }
.ph > img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
@media (max-width: 599px) { .ph { border-radius: 16px; } }

/* R5 Sector wipe: a 70° fan that opens from below the frame */
.motion .sector:not(.is-open) {
  -webkit-mask-image: conic-gradient(from calc(var(--a, 0deg) / -2 - .6deg) at 50% 115%, transparent 0, #000 .6deg, #000 calc(var(--a, 0deg) + .6deg), transparent calc(var(--a, 0deg) + 1.2deg));
          mask-image: conic-gradient(from calc(var(--a, 0deg) / -2 - .6deg) at 50% 115%, transparent 0, #000 .6deg, #000 calc(var(--a, 0deg) + .6deg), transparent calc(var(--a, 0deg) + 1.2deg));
}

/* ---------- grain band ---------- */
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(../assets/img/grain-01.webp) 0 0 / 256px; opacity: .035; }

/* reload / back / #hash: covered until core.restorePosition() has placed the page (shell head script) */
html.restoring body { opacity: 0; }
html.restored body { transition: opacity .35s var(--ease-out); }
/* while covered/fading, the canvas is plain paper: the ink half of the overscroll gradient must not show through */
html.restoring, html.restored { background: var(--paper); }

/* ---------- reveal states (only with JS + motion; core.js reveals) ---------- */
.motion [data-r] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* R4 digit roll (core.digitRoll): each digit is a 1em window over a 0-9 strip */
[data-dr] { line-height: 1; }
.dr { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.dr__s { display: block; }
.dr__s > span { display: block; height: 1em; line-height: 1; }

/* ---------- FX4 line reveal (core.redactReveal, data-r="redact") ----------
   The owner rejected the ink-bar version ("text appearing from black"). Now each line is set like ink on press:
   it develops left to right through a soft feathered edge while rising 8 px, lines one after another.
   .rx-t carries padding so the mask box covers accents above and descenders below. */
.rx .rx-l { display: block; position: relative; width: fit-content; max-width: none; white-space: nowrap; }
.rx .rx-t {
  --rxp: -20%;
  display: block; padding: .32em .3em .2em 0; margin: -.32em -.3em -.2em 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--rxp) - 18%), transparent var(--rxp));
          mask-image: linear-gradient(90deg, #000 calc(var(--rxp) - 18%), transparent var(--rxp));
}
.rx .rx-b { display: none; }

/* ---------- FX5 red proofreader's pen (core.penMark / penStroke) ---------- */
.pen { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; color: var(--red); z-index: 1; max-width: none; }
.pen path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }

/* no JS: giant lines may wrap instead of overflowing (fitLines never runs), live clocks hide (LS2-06, LS2-11) */
html:not(.js) .line__in { white-space: normal; }
html:not(.js) .zaruky__clock { display: none; }

/* ---- intro.css ---- */
/* SECTOR 70 · v6 · FX3 Intro "00 to 70". Spec: src/FX-v6c.md FX3; type: STYLE-v6b.md.
   A warm paper sheet (paper-2) over the real white page: a Mona SemiExpanded Bold counter rolls 00 to 70 on a red 2 px
   line that grows with it, at 70 the line's tip swings 70° about its left end, the sector between the two edges fills ink
   (the counter knocks out white inside it: SECTOR + 70 become one mark), then the sheet opens as a conic sweep from the 70°
   edge all the way round like a pie chart going to 360°, erasing the mark last, and the hero's load choreography starts
   as it opens. The red hand rides the opening edge.
   Default = no intro: it only shows with html.motion.intro-on, which the inline gate in sections/intro.html sets on the
   first visit of a session. Without JS, with reduced motion, on repeat visits or when the shell's 1500 ms failsafe drops
   .motion, it is display:none. Geometry (--F, --ax, --ay, --D, --w, --h) is set in px by js/intro.js.
   The opening is two half-plane rotors (Q covers 70°..250°, P covers 250°..430°, the mark lives in P), not an animated
   conic mask: everything here is transform/opacity on the compositor, because the hero starts three.js at that moment.
   The preloader head (the owner's mascot, assets/faces/) sits centred above the counter, clear of the sector's circle,
   and spins in 3D in place: a turntable render round the back, the owner's emotion faces at the front, two fast turns,
   it lands on the smirk at 70 and spins away as the sheet opens (js/intro.js). Geometry --hx --hy --hw --hh. */

.intro { display: none; }
html.motion.intro-on .intro { display: block; }
@media (prefers-reduced-motion: reduce) { html .intro { display: none !important; } }

/* LCP is not delayed: hero.js keeps the hero hidden until t0, and the intro moves t0 to its opening. Under the opaque
   sheet the hero (H1, and the lead that is the larger block on small phones) paints from the first frame instead;
   at the swing (or a skip) .intro-handoff gives it back to hero.js, which hides and plays it again at t0. */
html.motion.intro-on:not(.intro-handoff) #hero [data-r] { visibility: visible; }

.intro {
  --sheet: var(--paper-2, #F4F2EF);   /* warm paper: the opening reads as a sheet lifting off the white page */
  --F: 171px; --R: calc(var(--F) * 2);
  --ax: 50vw; --ay: 50vh; --D: 200vmax; --w: 100vw; --h: 100vh;
  position: fixed; inset: 0; z-index: 2000; overflow: hidden; contain: strict;
  pointer-events: auto; cursor: default; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  /* CSS failsafe: if js/intro.js never takes over, the blank sheet leaves by itself */
  animation: intro-bail .4s cubic-bezier(.16,1,.3,1) 2.6s forwards;
}
.intro.is-live { animation: none; }
@keyframes intro-bail { to { opacity: 0; visibility: hidden; } }

.intro > * { position: absolute; display: block; }
.intro__bg { inset: 0; background: var(--sheet); }
.intro__half, .intro__line, .intro__head { visibility: hidden; }
.intro.is-live > .intro__half, .intro.is-live > .intro__line, .intro.is-live > .intro__head { visibility: visible; }

/* half-planes through the apex A: a 2D x D box whose bottom edge passes through A, rotated about A */
.intro__half {
  left: calc(var(--ax) - var(--D)); top: calc(var(--ay) - var(--D));
  width: calc(var(--D) * 2); height: var(--D);
  transform-origin: 50% 100%; overflow: hidden;
}
.intro__half--q { transform: rotate(-70deg); }
/* Q runs 3 px past its line, under P (P is on top): the two antialiased edges along the 70°/250° line never leave a seam */
.intro__half--q, .intro__half--q .intro__rot { height: calc(var(--D) + 3px); transform-origin: 50% var(--D); }
.intro__half--p { transform: rotate(-250deg); }
.intro__rot { position: absolute; inset: 0; transform-origin: 50% 100%; overflow: hidden; }
.intro__half--q .intro__rot { background: var(--sheet); }
/* the viewport again, counter-rotated so it stays still while the P rotor turns over it */
.intro__view {
  position: absolute; left: calc(var(--D) - var(--ax)); top: calc(var(--D) - var(--ay));
  width: var(--w); height: var(--h);
  transform-origin: var(--ax) var(--ay); transform: rotate(250deg);
  background: var(--sheet); isolation: isolate;
}

/* ---------- the mark: apex A, radius R = 2em ---------- */
.intro__emblem { position: absolute; left: var(--ax); top: var(--ay); width: 0; height: 0; font-size: var(--F); }

/* odometer: one window per digit, proportional figures (Mona's tabular zero is slashed). The digits are the
   Mona SemiExpanded Bold outlines as SVG (js/intro.js), so they need no font load and are no LCP candidate. */
.intro__num { position: absolute; left: .4em; bottom: .016em; display: flex; }
/* the window is clipped to the figures' own band (idea 3.d): ink top .109em under the cell top (overshoot included),
   foot .051em above the cell bottom; a rolling figure leaves or enters at the edge of the figure itself, so no sliver of
   the next or the last figure shows above or below it (on a phone the cells are only ~10 px apart) */
.intro__col { position: relative; display: block; height: .9em; clip-path: inset(.1em -.25em .045em); }
.intro__col--t { width: .603em; }                         /* advance of 7 */
.intro__col--o { width: .698em; margin-left: -.03em; }    /* advance of 0, brand tracking -.03em */
.intro__strip { position: absolute; top: 0; left: 50%; display: block; width: .7em; margin-left: -.35em; }
.intro__strip > svg { width: 100%; max-width: none; height: 100%; fill: var(--ink, #0A0A0A); overflow: visible; }
.intro__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* the 70° sector: a quarter disc cut at 70°, white with difference blending = ink sheet, white figures inside */
.intro__wedge {
  position: absolute; left: 0; bottom: 0; width: 2em; height: 2em;
  background: var(--paper); mix-blend-mode: difference;
  border-top-right-radius: 100%;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 36.397% 0);   /* tan 20° */
  transform-origin: 0 100%; transform: scale(0);
}
.intro__edge, .intro__line { height: 2px; background: var(--red, #FF3B1F); transform-origin: 0 50%; }
.intro__edge { position: absolute; left: 0; top: -1px; width: 2em; opacity: 0; }

/* top-level red lines: the 70° edge (left behind when the hand moves on) and the hand itself */
.intro__line { left: var(--ax); top: calc(var(--ay) - 1px); width: var(--R); }
.intro__line--top { transform: rotate(-70deg); opacity: 0; }
.intro__hand { background: none; }
.intro__hand > i { position: absolute; inset: 0; display: block; background: var(--red, #FF3B1F); transform-origin: 0 50%; transform: scaleX(0); }

/* the place line at the foot of the sheet (idea 3.b), centred under the mark; inside the P rotor's still view, so the
   opening takes it away with the paper. Shown by js/intro.js once Hubot Sans Condensed is loaded. */
.intro__geo {
  position: absolute; left: calc(var(--ax) + var(--F)); bottom: 28px; translate: -50% 0; opacity: 0; white-space: nowrap;
  font: 500 13px/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .12em; color: var(--mute, #6E6E6E);
}
@media (max-width: 599px) { .intro__geo { bottom: 22px; font-size: 12px; } }

/* ---------- the preloader head ----------
   .intro__head: the box (the face canvas, 520 x 510: the faces and the turntable views share the head's position and
   scale), perspective, and the visibility track (shown only once its images are decoded). .intro__turn: the turntable
   views (one element per atlas cell, opacity steps; --m = mirrored about the head's axis). .intro__card: the emotion face
   near the front, turning with perspective; .intro__faces: its shading; one <img> per face. All set by js/intro.js. */
.intro__head {
  left: calc(var(--hx, 50vw) - var(--hw, 240px) / 2); top: calc(var(--hy, 30vh) - var(--hh, 235px) / 2);
  width: var(--hw, 240px); height: var(--hh, 235px);
  perspective: calc(var(--hw, 240px) * 2.8);
  opacity: 0; pointer-events: none;
}
.intro__turn { position: absolute; left: 3.96%; top: 1.29%; width: 92.91%; height: 96.97%; display: block; }
.intro__tt { position: absolute; inset: 0; display: block; opacity: 0; background: no-repeat 0 0 / 400% 300%; }
.intro__tt--m { transform: scaleX(-1); }
.intro__card, .intro__faces, .intro__faces > img { position: absolute; inset: 0; display: block; }
.intro__card { opacity: 0; }
.intro__faces > img { width: 100%; height: 100%; max-width: none; opacity: 0; -webkit-user-drag: none; user-select: none; }

/* ---- nav.css ---- */
/* SECTOR 70 · v6 · S0 Nav. Spec: DESIGN-v6.md §4 S0, §2.6 glass, §2.9 buttons.
   Transparent at the top, the .lg-nav__bar glass capsule after 80 px. Going down it turns compact from 1024 up
   (.is-compact: the links leave, logo and CTA stay) and hides past 600 px below 1024.
   The header itself never moves (the sheet inside it is position:fixed), only .nav__bar is transformed. */

#nav {
  --nav-in: clamp(8px, calc(var(--gutter) - 8px), 20px);   /* bar inset from the viewport sides */
  --nav-pad: calc(var(--gutter) - var(--nav-in));          /* so the logo and CTA sit on the page gutter at rest */
  --nav-top: 20px;
  --nav-h: 64px;
  --nav-vin: calc((var(--nav-h) - 44px) / 2);               /* pill-in-pill inset once the capsule shows */
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 0;
  pointer-events: none;
}
@media (max-width: 599px) { #nav { --nav-top: 10px; --nav-h: 56px; } }

/* page load: nav.js fades these in at t0 + .25. Hidden from the first paint, not from JS, so nothing flashes.
   (the shell drops .motion after 1.5 s if the scripts never start) */
.motion #nav [data-nav-fade] { opacity: 0; visibility: hidden; }

/* ---------- bar ---------- */
#nav .nav__bar {
  position: absolute; top: var(--nav-top); left: var(--nav-in); right: var(--nav-in);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  height: var(--nav-h); padding: 0 var(--nav-pad);
  --lg-tint: rgb(255 255 255 / .74);
  pointer-events: auto;
}
/* On a white page the only thing under the bar is black type: refraction bends it into doubled, mirrored letters.
   The nav keeps the frosted look in every mode (blur + a milky tint), never the refracting filter. */
html.lg-refract #nav .nav__bar::before {
  -webkit-backdrop-filter: blur(18px) saturate(1.6) brightness(1.05);
  backdrop-filter: blur(18px) saturate(1.6) brightness(1.05);
}
#nav .nav__bar { --lg-refraction: 0; --lg-dispersion: 0; }
/* glass only once there is something behind it */
#nav .nav__bar::before, #nav .nav__bar::after { transition: opacity .5s var(--ease-out), box-shadow .35s var(--ease-out); }
#nav .nav__bar:not(.is-glass)::before, #nav .nav__bar:not(.is-glass)::after { opacity: .001; } /* not 0: the blur layer stays composited, no first-scroll jank */

.nav__logo {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  color: var(--ink); border-radius: 6px;
  transition: translate .6s var(--ease-out);
}
/* no grey/blue flash behind a tapped link (Chrome on Android); the focus ring still shows for keyboards */
.nav__logo, .nav__link, .nav__big, .nav__sheet-cta, .nav__nojs { -webkit-tap-highlight-color: transparent; }
.nav__mark { width: 132px; height: auto; aspect-ratio: 6529 / 748; }

.nav__links { display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font: 500 14px/1 var(--mona); font-stretch: 100%; color: var(--ink); border-radius: 999px;
}
.nav__link .roll { height: 1.25em; line-height: 1.25; }
/* active section: the brand asterisk in front of the label, in the link's left padding (no line, no pill) */
.nav__link::after {
  content: ""; position: absolute; left: 2px; top: calc(50% - 4px); width: 8px; height: 8px; background: var(--red);
  -webkit-mask: url(../assets/img/ast.svg) center / contain no-repeat;
          mask: url(../assets/img/ast.svg) center / contain no-repeat;
  opacity: 0; scale: .2; rotate: -90deg;
  transition: opacity .35s var(--ease-out), scale .6s var(--ease-out), rotate .6s var(--ease-out);
}
.nav__link[aria-current]::after { opacity: 1; scale: 1; rotate: 0deg; }

/* compact bar (desktop, scrolling down): the links rise out, logo and CTA stay; back on any scroll up or at the top */
.nav__menu { transition: opacity .35s var(--ease-out), translate .5s var(--ease-out), visibility 0s; }
#nav .nav__bar.is-compact .nav__menu {
  opacity: 0; translate: 0 -10px; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease-out), translate .4s var(--ease-out), visibility 0s .4s;
}

.nav__end { justify-self: end; display: flex; align-items: center; gap: 8px; transition: translate .6s var(--ease-out); }
.nav__cta { --h: 44px; }

/* items settle into the capsule as it appears (transform only, no layout change) */
#nav .nav__bar.is-glass .nav__logo { translate: max(0px, calc(24px - var(--nav-pad))) 0; }
#nav .nav__bar.is-glass .nav__end { translate: calc(var(--nav-pad) - var(--nav-vin)) 0; }

/* ---------- Menu / Zavrieť ---------- */
.nav__toggle {
  display: none; align-items: center; gap: 10px; height: 44px; min-width: 44px; padding: 0 18px 0 16px;
  border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: var(--sh-1);
  font: 600 14px/1 var(--mona); font-stretch: 100%; -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) { .nav__toggle { transition: scale .12s var(--ease-out); } }
.nav__toggle:active { scale: .96; }
.nav__burger { position: relative; width: 16px; height: 8px; flex: none; }
.nav__burger::before, .nav__burger::after {
  content: ""; position: absolute; left: 0; right: 0; top: 3.2px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease-out);
}
.nav__burger::before { transform: translateY(-3.2px) rotate(0deg); }
.nav__burger::after { transform: translateY(3.2px) rotate(0deg); }
.nav__burger.is-x::before { transform: translateY(0) rotate(45deg); }
.nav__burger.is-x::after { transform: translateY(0) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  #nav .nav__bar { grid-template-columns: 1fr auto; }
}

/* ---------- without JavaScript ----------
   The Menu / Zavrieť buttons need nav.js: they are replaced by links that open the same sheet as a :target and
   close it again (any link in the sheet also leaves it, since the target changes). */
.nav__nojs { display: none; }
@media (max-width: 1023px) {
  html:not(.js) .nav__toggle:not(.nav__nojs) { display: none; }
  html:not(.js) .nav__nojs { display: inline-flex; }
  html:not(.js) .nav__sheet:target { display: flex; }
}
@media (max-width: 599px) {
  .nav__mark { width: 112px; }
}

/* ---------- mobile sheet ---------- */
.nav__sheet {
  position: fixed; inset: 0; z-index: 3; display: flex; flex-direction: column;
  height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); pointer-events: auto;
}
.nav__sheet[hidden] { display: none; }
.nav__sheet-top {
  position: relative; isolation: isolate; flex: none; display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); margin: var(--nav-top) var(--nav-in) 0; padding: 0 var(--nav-pad);
}
/* hand-over from the glass bar (nav.js): .from-glass = the header starts where the capsule's items stand (logo and
   button inset, the capsule's shadow under them) and glides home once the wipe has passed; .to-glass = the way back
   while the sheet closes. Same offsets as the bar's .is-glass rules above. */
.nav__sheet-top .nav__close { transition: translate .6s var(--ease-out); }
.nav__sheet-top::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; pointer-events: none;
  background: rgb(255 255 255 / .5); box-shadow: var(--cap-shadow, none);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.nav__sheet:is(.from-glass, .to-glass) .nav__sheet-top .nav__logo { translate: max(0px, calc(24px - var(--nav-pad))) 0; }
.nav__sheet:is(.from-glass, .to-glass) .nav__sheet-top .nav__close { translate: calc(var(--nav-pad) - var(--nav-vin)) 0; }
.nav__sheet:is(.from-glass, .to-glass) .nav__sheet-top::before { opacity: 1; }
.nav__sheet.from-glass .nav__sheet-top :is(.nav__logo, .nav__close), .nav__sheet.from-glass .nav__sheet-top::before { transition: none; }
.nav__sheet-nav { flex: 1 0 auto; display: flex; align-items: center; padding: 24px var(--gutter); }
.nav__sheet-links { width: 100%; }
/* Mona Display 900: KONTAKT is the widest label (5.59em) + the active mark (.34em): 12vw keeps it at 71% of a
   320 px screen. Pitch .86 + .19 = 1.05em clears the accent ink (.94em) of Í Ô Á above. */
.nav__big {
  display: block; overflow: hidden; padding: .16em .06em .03em; margin-inline: -.06em;
  font: 900 min(12vw, 8.2svh, 92px)/.86 var(--bs); text-transform: uppercase; letter-spacing: -.01em; color: var(--ink);
}
/* a 44 px finger target even on a 320 x 568 phone (12vw = 38 px type gives a 40 px box); the rise starts at
   yPercent 130 (nav.js), so the taller mask still hides the word fully before it rises */
.nav__big { min-height: 44px; }
/* a flex row, not a line box: the numbered label's baseline (the small number) must not stretch the row */
.nav__big { display: flex; align-items: flex-start; }
.nav__big-in { position: relative; display: inline-flex; align-items: flex-start; transform-origin: 0 100%; }
/* footnote numbering, as in the hero proofs: red asterisk + number at the cap line; the active section's number
   turns red. Width at 320: KONTAKT (5.59em of 38 px) + the mark (~34 px) = 249 px of 288 */
.nav__num {
  display: inline-flex; align-items: flex-start; gap: 2px; margin: .12em .34em 0 0;
  font: 600 max(13px, .2em)/1 var(--hubot-c); letter-spacing: .04em; text-transform: none; color: var(--mute);
  transition: color .35s var(--ease-out);
}
.nav__num .px-ast { width: .85em; height: .85em; color: var(--red); }
.nav__big[aria-current] .nav__num { color: var(--red-ink); }
.nav__big:focus-visible { outline-offset: -2px; }
.nav__sheet-foot { flex: none; padding: 16px var(--gutter) max(12px, calc(env(safe-area-inset-bottom) + 4px)); }
.nav__sheet-cta { width: 100%; }
/* under the CTA: the mail and the reply promise from the hero, one small line (wraps to two on narrow phones) */
.nav__sheet-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 14px; margin-top: 6px;
  font: 500 14px/1.3 var(--mona); font-stretch: 100%; color: var(--ink-2); text-align: center;
}
.nav__sheet-mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.nav__sheet-note > span { display: inline-flex; align-items: center; min-height: 24px; }

/* ---------- bottom dock (below 1024, nav.js .is-on) ----------
   A flat ink bar on the bottom edge, 56 px plus the home-indicator inset. Enters by transform only. */
.nav__dock { display: none; }
@media (max-width: 1023px) {
  html.js .nav__dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; align-items: flex-start; justify-content: center;
    height: calc(56px + env(safe-area-inset-bottom)); padding: 0 var(--gutter) env(safe-area-inset-bottom);
    background: var(--ink); color: var(--paper); pointer-events: auto; -webkit-tap-highlight-color: transparent;
    translate: 0 100%; visibility: hidden;
    transition: translate .45s var(--ease-out), visibility 0s .45s;
  }
  html.js .nav__dock.is-on { translate: 0 0; visibility: visible; transition: translate .6s var(--ease-out), visibility 0s; }
  .nav__dock > * { transition: scale .12s var(--ease-out); }
  .nav__dock > span { display: inline-flex; align-items: center; height: 56px; font: 700 13.5px/1 var(--semi); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
  .nav__dock > .px-ast { width: 12px; height: 12px; margin: 22px 12px 0 0; color: var(--red); }
  .nav__dock:active > * { scale: .96; }
  .nav__dock:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }
}

/* wordmark sprite (nav.html #s70-wordmark): SECTOR in ink, 70 in red; the receipt logo re-maps both to one ink (dokazy.css .rcpt__logo) */
#s70-wordmark > path:first-of-type { fill: var(--ink); }
#s70-wordmark > path:last-of-type { fill: var(--red); }

/* ---- hero.css ---- */
/* SECTOR 70 · v6b · S1 Hero. Spec: DESIGN-v6.md §4 S1, §5.4, §5.5; type: STYLE-v6b.md.
   Grid rows: eyebrow · H1 · bottom row. The red 3D asterisk is the footnote mark after "ZMERAŤ.":
   it lives in .ast-slot, whose box is exactly the object's bounding circle (fit 1).
   Mona Display 900 (wdth 125), measured in em incl. the -.01em tracking: "MARKETING," 7.24, "KTORÝ SA DÁ" 7.60,
   "ZMERAŤ." 5.00. Caps .73em, accent ink .79 to .94em above the baseline, comma tail .165em below it. */

#hero.hero {
  position: relative; isolation: isolate;
  /* eyebrow + H1 sit as one block in the upper third of any spare height, the facts are anchored to the
     bottom. minmax(0, 1fr): the nowrap H1 lines must never widen the track (fit() measures the title box). */
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto auto minmax(0, 2fr) auto;
  min-height: 100vh; min-height: 100svh;
  padding-top: 104px; padding-bottom: 40px;
}

/* ---------- 3D canvas: scrolls with the slot ---------- */
.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.js .hero3d { opacity: 0; }
/* FX1: the asterisk is a toy; the section hit-tests it (the canvas never takes the pointer) */
.hero.is-ast-hot { cursor: pointer; }
/* FX2: the measuring brush, between the H1 (below) and the 3D asterisk (above); placed by brush.js */
.hero-brush { position: absolute; z-index: 1; pointer-events: none; transition: opacity .25s var(--ease-out); }
.hero-brush.is-off { opacity: 0; }
/* the reading beside the pointer (placed by brush.js): a live dimension snapped to the nearest measured span of the
   drawing (ink line, --red-ink arrows: with ZMERAŤ's outline the only red in the drawing) and its value */
.hero-brush__tag { position: absolute; left: 0; top: 0; z-index: 3; width: 0; height: 0; pointer-events: none; user-select: none; opacity: 0; will-change: transform, opacity; }
/* moved and stretched by transform only (brush.js): the box sits at the span's top, the 100 px line is scaled to its
   length and the lower arrow head is translated to its end, all on one .22 s curve */
.hero-brush__dim {
  position: absolute; left: 0; top: 0; width: 1px; height: 0; opacity: 0;
  transition: transform .22s var(--ease-out), opacity .2s var(--ease-out);
}
.hero-brush__dim > b { position: absolute; left: 0; top: 0; display: block; transition: transform .22s var(--ease-out); }
.hero-brush__tag.dim-snap .hero-brush__dim, .hero-brush__tag.dim-snap .hero-brush__dim > b { transition: none; }
.hero-brush__tag.has-dim .hero-brush__dim { opacity: 1; }
.hero-brush__ln { width: 1px; height: 100px; background: rgb(10 10 10 / .5); transform-origin: 0 0; }
.hero-brush__dim > .hero-brush__ah { left: -2.5px; width: 6px; height: 7px; background: var(--red-ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero-brush__ah--b { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.hero-brush__val {
  position: absolute; left: 8px; top: 0; white-space: nowrap;
  font: 400 11px/1 var(--hubot); letter-spacing: .02em; color: rgb(10 10 10 / .7);
  padding: 3px 5px 2px; background: var(--paper);
}
/* the flip to the pointer's left side is a transform set by brush.js (it glides; left stays 8px: no layout shift) */

/* ---------- eyebrow ---------- */
.hero__eyebrow { grid-row: 2; justify-self: start; }
.hero__foot { grid-row: 6; }

/* ---------- the services: a footnote row under the label (idea 1.а) ----------
   Set on the label's text edge (its asterisk + gap hang left), plain case so it reads as a line of content, not a second
   label; the separators are the brand asterisk. Every item is a link to the services section (the shared .u-link
   underline). The hit area reaches past the text (44 px tall on touch screens, KR-3; the rows on a phone are 44 px
   apart, so neighbouring areas never overlap). */
.hero__svc {
  grid-row: 3; justify-self: start; position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px;
  margin: 12px 0 0; padding-left: 21px;
  font: 500 15px/20px var(--hubot-c); letter-spacing: .02em; word-spacing: .1em; color: var(--ink);
}
.hero__svc-a { position: relative; white-space: nowrap; --ul: 1.5px; }
.hero__svc-a::after { content: ""; position: absolute; inset: -8px -5px; }
.hero__svc > .hero__svc-sep.px-ast { width: 8px; height: 8px; }
.hero__svc-br { display: none; }
@media (hover: hover) { .hero__svc-a { transition: background-size .24s var(--ease-out), color .15s var(--ease-out); } .hero__svc-a:hover { color: var(--red-ink); } }

/* ---------- H1 ----------
   Composition (tablet + desktop): line 1 starts on the page edge, lines 2 and 3 share one left edge one column in
   (the indent column has a min width of one column + gap), line 2 runs flush to the right edge. So the comma of
   line 1 never sits above the acute of "DÁ" and the leading only has to clear the accents.
   --pitch = baseline to baseline. Mona's .9 line box puts the baseline .835em below its top and .065em above its
   bottom, so a line's margin-top of (pitch - 1.06em) gives that pitch next to .line's -.16em mask margin.
   1.04em: accent ink tops (.94em) clear the line above by .10em (Ý under the T of line 1, Ť under the S of line 2);
   at 1.0em the acutes read as touching. Height of the block = .9em + 2 pitch = 2.98em; the size fills the height left after the fixed rows
   (--hero-chrome, set by hero.js), capped by the width: (W - one column) / 7.6em ~ 11.2vw. */
.hero__title {
  --pitch: 1.04em;
  --ind: calc((100% - (var(--cols) - 1) * var(--colgap)) / var(--cols) + var(--colgap));
  --size: clamp(min(11.2vw, 76px), (100svh - var(--hero-chrome, 308px)) / 3, min(11.2vw, 224px));
  grid-row: 4; position: relative; min-width: 0;
  display: grid; grid-template-columns: minmax(var(--ind), 1fr) max-content; align-items: start;
  margin: 20px 0 28px;
}
/* desktop (idea 1.д): the title box stops 48 px short of the right margin, so the widest line ("KTORÝ SA DÁ", flush
   right) keeps that air instead of touching the margin; fit() sizes the type to the narrower box */
@media (min-width: 1024px) { .hero__title { margin-right: 48px; } }
.hero__line { will-change: transform; }
.hero__line--1 { grid-column: 1 / -1; justify-self: start; }
.hero__line--2, .hero__line--3 { grid-column: 2; justify-self: stretch; text-align: left; }
.hero__line + .hero__line { margin-top: calc(var(--pitch) - 1.06em); }
/* after the rise the mask lets the asterisk (and its poster) breathe */
html:not(.motion) .hero__line--3, .hero__line--3.is-set { overflow: visible; }
.hero__word { display: inline-block; }

/* The footnote mark: a raised asterisk whose top meets the accent line (.93em) and whose foot stays clear of the
   baseline, .1em after the full stop. Its margin box spans baseline .. .72em (cap height), inside the .835em
   line box, so the slot never changes line 3's box; the border box is the object. */
.ast-slot {
  --ast-d: .84em;    /* object diameter */
  --ast-top: .93em;  /* top of the object above the baseline */
  --ast-gap: .1em;
  position: relative; display: inline-block;
  width: var(--ast-d); height: var(--ast-d);
  margin: calc(.72em - var(--ast-top)) 0 calc(var(--ast-top) - var(--ast-d)) var(--ast-gap);
  vertical-align: baseline;
}
.ast-slot__poster {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--ast-d) / .62); height: calc(var(--ast-d) / .62); max-width: none;
  translate: -50% -50%; pointer-events: none; user-select: none;
}
.motion .ast-slot__poster { opacity: 0; }
.hero.has-3d .ast-slot__poster { visibility: hidden; }

/* ---------- bottom row ---------- */
.hero__foot {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--colgap);
  align-items: end;
}
/* desktop: lead over the CTAs on the left (5 columns), the three proofs on the right (6 columns, 2 each) */
.hero__lead { grid-column: 1 / span 5; grid-row: 1; text-wrap: balance; }
.hero__ctas { grid-column: 1 / span 5; grid-row: 2; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
/* top-aligned with the lead: the values' cap line meets the lead's first cap line (.38 of the lead size under its top) */
.hero__note { grid-column: 7 / span 6; grid-row: 1 / span 2; align-self: start; margin-top: calc(.38 * clamp(17px, 1.4vw, 21px) - .155 * var(--pv-d)); }

/* ---------- the proofs: the footnotes of the headline's asterisk ----------
   Each fact is set as a footnote: its mark (the brand asterisk and its number) hangs left of the value and points back
   to the 3D asterisk after ZMERAŤ.; the value is set like the page's numbers (Mona SemiExpanded Bold, proportional
   figures: Mona's tabular zero is slashed); the fact itself is the label underneath. The values are aria-hidden: the
   labels carry the facts. Mona at line-height L puts the baseline L/2 + .385em under the line top, its caps .73em
   above the baseline: the marks and labels are placed from those numbers. */
.hero__foot { --pv-d: clamp(44px, 4.1vw, 78px); }
.hero__facts {
  --pv: var(--pv-d);                        /* value size */
  --mkw: 26px;                              /* the mark's hanging column */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--colgap); align-items: start;
  list-style: none; margin: 0; padding: 0;
}
.hero-proof {
  display: grid; grid-template-columns: var(--mkw) minmax(0, 1fr); align-content: start;
  grid-template-areas: "mk v" ". t" ". cd";
}
/* the mark's top meets the value's cap line (.155em under its line top at line-height 1) */
.hero-proof__mk {
  grid-area: mk; display: inline-flex; align-items: flex-start; gap: 2px; justify-self: start;
  margin-top: calc(var(--pv) * .155 - 1px);
  font: 600 12px/1 var(--hubot-c); letter-spacing: .04em; color: var(--red-ink);
}
.hero-proof__ast { display: block; width: 11px; height: 11px; }
.hero-proof__ast .px-ast { display: block; width: 11px; height: 11px; color: var(--red); }
.hero-proof__mk > span:last-child { margin-top: -1px; }
/* idea 1.в: a footnote under the pointer (or tapped) points back at the headline: its mark turns 70° (the shared link
   recipe's sector angle) and brightens, and the 3D asterisk after ZMERAŤ. lights up with it (hero.js, setGlow).
   The turn is on the inner svg: the entrance (hero.js) owns the wrapper's transform. */
.hero-proof__ast .px-ast { transition: rotate .24s var(--ease-out), scale .24s var(--ease-out); }
.hero-proof.is-hot .hero-proof__ast .px-ast { rotate: 70deg; scale: 1.18; }
.hero-proof__mk > span:last-child { transition: color .15s var(--ease-out); }
.hero-proof.is-hot .hero-proof__mk > span:last-child { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .hero-proof.is-hot .hero-proof__ast .px-ast { rotate: 0deg; scale: 1; } }
.hero-proof__v {
  grid-area: v; display: flex; align-items: flex-start; justify-self: start; height: 1em;
  font: 700 var(--pv)/1 var(--semi); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: normal; white-space: nowrap;
}
.hero-proof__n, .hero-proof__w, .hero-proof__u { display: inline-block; line-height: 1; }
/* the rise masks of the unit and the word (padded sideways: the -.03em tracking would clip the last glyph's ink) */
.hero-proof__m { display: inline-block; height: 1em; overflow: hidden; padding: 0 .06em; margin: 0 -.06em; vertical-align: top; }
.hero-proof__n + .hero-proof__m { margin-left: calc(.24em - .06em); }
.hero-proof__t {
  grid-area: t; margin-top: 14px; max-width: 17ch;
  font: 450 15px/1.38 var(--mona); font-stretch: 100%; color: var(--ink-2); text-wrap: balance;
}
/* the digit windows of the roll are sized per digit (hero.js): the strips centre in them, proportional spacing */
.hero-proof .dr__s > span { display: flex; justify-content: center; }

/* live countdown to the next Monday report: its own data line under the label, with a ticking asterisk
   (one ray a second). Hubot Sans: no slashed zero. */
.hero-proof__cd {
  grid-area: cd; display: inline-flex; align-items: center; gap: 7px; justify-self: start; margin-top: 10px;
  font: 500 13px/1.2 var(--hubot); letter-spacing: .02em; color: var(--ink); white-space: nowrap;
}
.hero-proof__tick { width: 10px; height: 10px; color: var(--red); animation: hero-tick 8s infinite; }
@keyframes hero-tick {
  0%, 10% { transform: rotate(0deg); }       12.5%, 22.5% { transform: rotate(45deg); }
  25%, 35% { transform: rotate(90deg); }     37.5%, 47.5% { transform: rotate(135deg); }
  50%, 60% { transform: rotate(180deg); }    62.5%, 72.5% { transform: rotate(225deg); }
  75%, 85% { transform: rotate(270deg); }    87.5%, 97.5% { transform: rotate(315deg); }
  100% { transform: rotate(360deg); }
}
.hero__cd { display: inline-block; min-height: 1.2em; }
.hero__cd > span, .hero__cdg > span { display: inline-block; }
/* its line is reserved from the first paint: filling it in (hero.js) never moves the facts or the rows above */
.hero__cd[hidden] { display: inline-block; visibility: hidden; }
html:not(.js) .hero-proof__cd { display: none; }
.hero__sec .link { -webkit-tap-highlight-color: transparent; }

/* narrow desktop (1024–1179): the proofs take one more column so every label keeps two lines */
@media (min-width: 1024px) and (max-width: 1179px) {
  .hero__note { grid-column: 6 / span 7; margin-left: 48px; }
  .hero__facts { --mkw: 22px; }
  .hero-proof__t { font-size: 14px; max-width: 9.7em; }
}

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .hero__title { --size: clamp(min(11.2vw, 60px), (100svh - var(--hero-chrome, 308px)) / 3, 11.2vw); }
  .hero__lead { grid-column: 1 / span 6; }
  .hero__ctas { grid-column: 1 / span 6; grid-row: 2; margin-top: 28px; }
  /* the proofs: a full-width row of three under the CTAs */
  .hero__note { grid-column: 1 / -1; grid-row: 3; margin-top: 44px; }
  .hero__facts { --pv: clamp(40px, 6vw, 56px); }
  .hero-proof__t { font-size: 16px; }
}

/* ---------- mobile ---------- */
@media (max-width: 599px) {
  /* headline block sits in the upper third, the facts are anchored to the bottom (thumb zone).
     Four lines on a phone: "KTORÝ SA DÁ" (7.6em) would be the widest line and put the acute of Á right under the
     comma tail of line 1 (it needs a 1.14em pitch). Wrapped as KTORÝ / SA&nbsp;DÁ, line 1 (7.24em) sets the size,
     nothing sits under the comma, and every line keeps the same pitch (1.1em: .16em accent clearance, 6 to 8 px).
     Line 2's inline-block runs at line-height = pitch (its baseline sits (pitch - .9) / 2 lower in its box and its
     bottom as much lower), so its own and line 3's margins are pitch - 1.06em - (pitch - .9em) / 2 = pitch / 2 - .61em. */
  #hero.hero { padding-top: 80px; padding-bottom: 28px; }
  .hero__title { --size: calc((100vw - 34px) / 7.26); --pitch: 1.1em; grid-template-columns: minmax(0, 1fr); margin: 24px 0 0; }
  .hero__line--1, .hero__line--2, .hero__line--3 { grid-column: 1; }
  .hero__line--2 > .line__in { white-space: normal; max-width: 5.2em; line-height: var(--pitch); }
  .hero__line + .hero__line { margin-top: calc(var(--pitch) / 2 - .61em); }
  /* idea 1.г: lead and CTAs follow the headline closely (30 px: the asterisk hangs ~14 px into it; it was 36 px plus the
     spare band). The bottom row opens up (display: contents): lead and CTAs become rows of the hero right under the H1,
     the spare height (1 : 2, as before) goes above the label and above the proofs, which stay anchored to the bottom */
  #hero.hero { grid-template-rows: minmax(0, 1fr) auto auto auto auto auto minmax(0, 2fr) auto; }
  .hero__foot { display: contents; }
  .hero__foot > * { position: relative; z-index: 3; grid-column: 1; }
  .hero__lead { grid-row: 5; margin-top: 30px; }
  .hero__ctas { grid-row: 6; }
  .hero__note { grid-row: 8; }
  .ast-slot { --ast-d: 1.3em; --ast-top: .93em; --ast-gap: .17em; }   /* more presence on a phone; hangs into the free band below */
  .hero .px-ast { width: 10px; height: 10px; }
  .hero__svc { padding-left: 20px; margin-top: 10px; font-size: 14px; }
  .hero__svc-a::after { inset: -12px -5px; }
  /* under ~385 px the four items no longer fit one line: two and two, the rows 44 px apart (touch areas never meet) */
  @media (max-width: 384px) {
    .hero__svc-br { display: block; flex-basis: 100%; height: 24px; }   /* a flex line of its own: the gap between the rows */
    .hero__svc > .hero__svc-sep--mid { display: none; }
  }
  .hero__lead { max-width: none; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 24px; }
  .hero__cta { width: 100%; }
  .hero__sec { display: flex; justify-content: center; }
  .hero__note { margin-top: 36px; }
  /* phones: the three proofs as one row of three columns, the value on top (mark hanging left of it), the label under
     it across the column, the countdown under the label (its unit groups may wrap, a number never leaves its unit) */
  .hero__facts { --pv: min(30px, 8.2vw); --mkw: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
  .hero-proof { grid-template-columns: var(--mkw) minmax(0, 1fr); grid-template-areas: "mk v" "t t" "cd cd"; }
  .hero-proof__mk { font-size: 11px; gap: 1px; }
  .hero .hero-proof__ast, .hero .hero-proof__ast .px-ast { width: 9px; height: 9px; }
  .hero-proof__t { margin-top: 10px; max-width: none; font-size: 14px; line-height: 1.36; text-wrap: pretty; }
  .hero-proof__cd { margin-top: 6px; align-items: flex-start; gap: 6px; font-size: 12px; white-space: normal; }
  .hero-proof__tick { margin-top: 2px; flex: none; }
}
/* the countdown's unit groups ("1 d", "17 h"...): one group never breaks; between them only phones may wrap */
.hero__cdg { white-space: nowrap; }

/* mfx.js (shared by the top sections below 1024): giant blocks that lean with the scroll speed get their own layer,
   so the per-frame skew is composited, never repainted */
@media (max-width: 1023px) { .motion .vskew { will-change: transform; } }

/* every width: the comma of MARKETING, hangs .165em under the baseline, past line 1's mask (.105em, it was cut by 2 px on
   a phone and 6 to 12 px on desktops): the mask reaches .2em further down (layout unchanged, the negative margin takes it
   back). The rise still starts fully hidden (yPercent 140 puts the glyph tops at 1.33em, the mask ends at 1.26em). */
.hero__line--1 { padding-bottom: .2em; margin-bottom: -.2em; }

/* ---------- tablet portrait (iPad): the phone's 4-line composition ----------
   At 11.2vw the 3-line H1 was ~86 px on a 768 x 1024 screen and the 1fr / 2fr rows handed ~450 px of spare height to
   the gaps. Set like the phone instead: single column, KTORÝ / SA DÁ wrapped, pitch 1.1em, the size from the width
   (line 1 = 7.24em fills the measure) and capped by the height left after the fixed rows (4.3em for the block).
   Landscape keeps the 3-line, height-aware composition above. */
@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
  .hero__title {
    --size: min(calc((100vw - 2 * var(--gutter) - 2px) / 7.26), calc((100svh - var(--hero-chrome, 360px)) / 4.3));
    --pitch: 1.1em; grid-template-columns: minmax(0, 1fr); margin: 28px 0 0;
  }
  .hero__line--1, .hero__line--2, .hero__line--3 { grid-column: 1; }
  .hero__line--2 > .line__in { white-space: normal; max-width: 5.2em; line-height: var(--pitch); }
  .hero__line + .hero__line { margin-top: calc(var(--pitch) / 2 - .61em); }
  .ast-slot { --ast-d: 1.3em; --ast-gap: .17em; }
  .hero__foot { padding-top: 40px; }
  .hero__lead, .hero__ctas { grid-column: 1 / span 6; }
}

/* ---------- tablet landscape: lead and CTAs on the left, the proofs as the phones' footnote list on the right ----------
   (a full-width row of three would make the bottom row ~150 px taller and push the hero past a 600 px high screen) */
@media (min-width: 600px) and (max-width: 1023px) and (orientation: landscape) {
  .hero__lead, .hero__ctas { grid-column: 1 / span 5; }
  .hero__note { grid-column: 6 / span 3; grid-row: 1 / span 2; margin-top: 0; }
  .hero__facts { --pv: 30px; --mkw: 24px; grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .hero-proof { grid-template-columns: var(--mkw) 86px minmax(0, 1fr); grid-template-areas: "mk v t" ". . cd"; }
  .hero-proof__t { margin-top: calc(var(--pv) * .885 - 17.2px); max-width: none; }
  .hero-proof__cd { margin-top: 8px; }
}

/* ---------- easter egg: the head (js/hero.js section 6, modules/headpop.js) ----------
   A click on the H1 parts it: the real H1 is one door, an aria-hidden copy on its exact layout box the other (both
   clipped at the cut and moved by transform only: nothing else on the page moves). The head lives on a canvas between
   them, above the type and below the 3D asterisk; at rest it breathes (compositor only) and blinks (a few canvas
   frames now and then). */
.hero__title.hp-door { position: absolute; grid-area: auto; margin: 0; pointer-events: none; user-select: none; -webkit-user-select: none; }
.hp-head { position: absolute; z-index: 1; pointer-events: none; user-select: none; }
.hp-head.is-idle { animation: hp-breathe 5.6s var(--ease-io) infinite; }
.hp-head.is-paused { animation-play-state: paused; }
.hero.is-hp-hot { cursor: pointer; }
@keyframes hp-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -1.6%, 0) rotate(-.5deg); }
}
@media (prefers-reduced-motion: reduce) { .hp-head.is-idle { animation: none; } }

/* the tease before the first click (modules/headpop.js): one line cracks at a seam, its left half is an aria-hidden
   copy laid exactly on the line, the fingertips are a small canvas on the seam; while it is open the measuring
   brush steps aside (it draws the uncracked letters) */
.hero__line.hp-tease-line { position: absolute; margin: 0; grid-area: auto; box-sizing: border-box; pointer-events: none; user-select: none; -webkit-user-select: none; }
.hp-tease { position: absolute; z-index: 1; pointer-events: none; }
.hero.hp-tease-on .hero-brush, .hero.hp-tease-on .hero-brush__tag { opacity: 0 !important; }
/* the bulge: a WebGL copy of the H1 shown only while a knock plays; the DOM letters go transparent meanwhile
   (the copy is pixel-identical at rest, so the swap does not move anything) */
.hp-bulge { position: absolute; z-index: 1; pointer-events: none; visibility: hidden; }
.hp-bulge, .hp-head, .hp-tease { max-width: none; }   /* base.css caps canvases at 100%: these are sized to the px */
/* only the letters go: the asterisk's slot (and its poster, the asterisk while the 3D is not there) stays visible */
.hero__title.hp-bulging .line__in, .hero__title.hp-bulging .line__in .hero__word { color: transparent; }

/* ---- reel.css ---- */
/* S1b · Reel: the 22 s SECTOR 70 promo between the hero and the manifest (the owner, 2026-10-19: "PC 16:9 and a mobile
   version, somewhere beautiful"). The visual language is the Kto sme card's: paper chips, the red asterisk, the red
   progress line along the bottom edge. It always plays in the card, inline (never a sheet, never native full screen
   unless the visitor taps that button).
   Static layout (no JS, reduced motion): the slate over a card in the grid, 16:9 from 1024 px, 9:16 below.
   Motion (.motion): js/reel.js draws the card as a window (clip-path) on a stage, growing from the grid to the full
   bleed while the film inside scales from "the whole frame" to "cover". Desktop: a 100svh stage, CSS sticky in a 210svh
   track. Below 1024: the stage is the card's own box (in flow, no sticky, no pin), grown as it reaches the centre. */

.reel { position: relative; padding: clamp(24px, 3vw, 48px) var(--gutter) calc(var(--sec-pad) * .6); }

/* the page grid, measured by reel.js (the card spans columns 3 to 10 on desktop, the full content width below) */
.reel__probe { position: absolute; left: 0; right: 0; top: 0; height: 100svh; visibility: hidden; pointer-events: none; }
.reel__probe .grid { height: 0; }
.reel__probe-card { grid-column: 3 / 11; height: 0; }
@media (max-width: 1023px) { .reel__probe-card { grid-column: 1 / -1; } }

/* ---------- static layout ---------- */
.reel__stage { position: relative; width: min(100%, calc(78svh * 16 / 9)); margin-inline: auto; }
.reel__slate { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.reel__in { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.reel__mark { color: var(--ink); }
.reel__shade { display: none; }
.reel__frame {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 24px; background: var(--paper-2); box-shadow: var(--sh-2);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.reel__media, .reel__zoom { position: absolute; inset: 0; }
.reel__poster, .reel__poster img, .reel__video, .reel__native {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
}
/* the film fades in over the poster on its first decoded frame (the silent loop starts on the poster's frame) */
.reel__video { opacity: 0; transition: opacity .6s var(--ease-out); }
.reel__video.is-on { opacity: 1; }
.reel[data-state="idle"] .reel__frame { cursor: pointer; }
.reel:not([data-state="idle"]) .reel__frame { cursor: default; }

/* ---------- chips: play (bottom left), film controls (top right), progress (bottom edge) ---------- */
.reel__dock { position: absolute; z-index: 3; display: flex; }
.reel__dock--play { left: 24px; bottom: 24px; }
.reel__dock--ctrl { top: 20px; right: 20px; }
.reel__play {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px 0 20px;
  border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: var(--sh-1);
  font: 500 15px/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .5s var(--ease-out), opacity .3s var(--ease-out), scale .12s var(--ease-out);
}
.reel__play .px-ast { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
.reel__play:hover, .reel__play:focus-visible { transform: translateY(-2px); }
.reel__play:hover .px-ast, .reel__play:focus-visible .px-ast { transform: rotate(45deg); }
/* press (KR-10): .96 in 120 ms, the individual scale composes with the hover lift */
.reel__play:active { scale: .96; }
.reel__play:focus-visible, .reel__btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); }
/* the playing state: the chip becomes the film's clock, its asterisk turns while the sound runs */
.reel__play-t { display: inline-block; min-width: 0; }
.reel[data-state="playing"] .reel__play-t { min-width: 6.4em; }
.reel[data-state="playing"] .reel__play .px-ast { animation: reel-turn 3.2s linear infinite; }
.reel[data-state="loading"] .reel__play { opacity: .72; }
@keyframes reel-turn { to { transform: rotate(360deg); } }

.reel__ctrl {
  display: flex; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .3s;
}
.reel:not([data-state="idle"]) .reel__ctrl { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.reel__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); color: var(--ink); box-shadow: var(--sh-1);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.reel__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reel__btn .reel__spk { fill: currentColor; stroke: none; }
.reel__mute .reel__x { display: none; }
.reel__mute[aria-pressed="true"] .reel__x { display: block; stroke: var(--red-ink); }
.reel__mute[aria-pressed="true"] .reel__wave { display: none; }
.reel__fs { display: none; }
.reel__fs .reel__fs-out, .reel__fs[aria-pressed="true"] .reel__fs-in { display: none; }
.reel__fs[aria-pressed="true"] .reel__fs-out { display: block; }
/* idle only: pause / resume the silent loop (WCAG 2.2.2). Same corner as the close button, which only shows with sound */
.reel__hold { position: absolute; right: 0; top: 0; }
/* press (KR-10) on every round chip */
.reel__btn { transition: scale .12s var(--ease-out); }
.reel__btn:active { scale: .96; }
.reel__hold .reel__hold-r { display: none; fill: currentColor; stroke: none; }
.reel__hold[aria-pressed="true"] .reel__hold-p { display: none; }
.reel__hold[aria-pressed="true"] .reel__hold-r { display: block; }
.reel:not([data-state="idle"]) .reel__hold, html:not(.motion) .reel__hold { display: none; }
/* pointer idle while the film plays: the chips step back, the progress stays */
.reel[data-state="playing"].is-idle .reel__ctrl,
.reel[data-state="playing"].is-idle .reel__play { opacity: 0; }

.reel__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(247, 233, 223, .32); opacity: 0; transition: opacity .3s var(--ease-out); pointer-events: none; }
.reel:not([data-state="idle"]) .reel__bar { opacity: 1; }
.reel__fill { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- below 1024 (static): the 9:16 card ---------- */
@media (max-width: 1023px) {
  .reel__stage { width: min(100%, 520px); }
  .reel__frame { aspect-ratio: 9 / 16; }
  .reel__play { height: 48px; padding: 0 20px 0 17px; font-size: 14px; }
  .reel__play .px-ast { width: 14px; height: 14px; }
  .reel__dock--play { left: 16px; bottom: 16px; }
  .reel__dock--ctrl { top: 14px; right: 14px; }
}
@media (max-width: 599px) {
  .reel__frame { border-radius: 16px; }
  .reel__slate { margin-bottom: 14px; }
  .reel__play { height: 44px; padding: 0 16px 0 14px; font-size: 13px; }
  .reel__dock--play { left: 12px; bottom: 12px; }
  .reel__dock--ctrl { top: 12px; right: 12px; }
}
@media (min-width: 1024px) { .reel__fs { display: grid; } }

/* ---------- motion: the growing window (geometry written by reel.js) ---------- */
.motion .reel { padding: 0; }
.motion .reel__stage { width: 100%; margin: 0; height: var(--reel-h, 100svh); }
.motion .reel__slate { position: absolute; left: 0; top: 0; z-index: 1; display: block; margin: 0; }
.motion .reel__mark, .motion .reel__tag { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.motion .reel__slate.is-tight .reel__tag { display: none; }
.motion .reel__shade {
  display: block; position: absolute; left: 0; top: 0; z-index: 1; width: 1px; height: 1px;
  border-radius: 24px; background: var(--paper-2); box-shadow: var(--sh-2);
  transform-origin: 0 0; will-change: transform, opacity; pointer-events: none;
}
.motion .reel__frame {
  position: absolute; inset: 0; z-index: 2; aspect-ratio: auto; border-radius: 0; box-shadow: none;
  clip-path: inset(30% 30% round 24px);
}
.motion .reel__media { inset: auto; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 50%; will-change: transform; }
.motion .reel__dock { left: 0; top: 0; right: auto; bottom: auto; will-change: transform; }
.motion .reel__bar { top: 0; bottom: auto; width: 100%; transform-origin: 0 0; will-change: transform; }
/* waiting for the Sector wipe (reel.js shows them as it starts; html loses .motion if the app never boots) */
.motion .reel__frame, .motion .reel__slate, .motion .reel__shade { visibility: hidden; }
/* R5 Sector wipe on the window: the 70° fan opens from below the card's own bottom edge (--wx, --wy from reel.js) */
.motion .reel__frame.is-wipe {
  -webkit-mask-image: conic-gradient(from calc(var(--a, 0deg) / -2 - .6deg) at var(--wx, 50%) var(--wy, 115%), transparent 0, #000 .6deg, #000 calc(var(--a, 0deg) + .6deg), transparent calc(var(--a, 0deg) + 1.2deg));
          mask-image: conic-gradient(from calc(var(--a, 0deg) / -2 - .6deg) at var(--wx, 50%) var(--wy, 115%), transparent 0, #000 .6deg, #000 calc(var(--a, 0deg) + .6deg), transparent calc(var(--a, 0deg) + 1.2deg));
}
@media (min-width: 1024px) {
  .motion .reel__track { height: 210svh; }
  .motion .reel__stage { position: sticky; top: 0; height: 100svh; }
}
@media (max-width: 1023px) {
  /* room above the card for the slate, and air before the manifest */
  .motion .reel { padding: 52px 0 calc(var(--sec-pad) * .5); }
  /* edge to edge the card has no corners left: a soft shadow above and below keeps it a card on the white page */
  .motion .reel__shade { box-shadow: 0 -14px 36px -22px rgba(10,10,10,.22), 0 2px 6px rgba(10,10,10,.06), 0 34px 64px -26px rgba(10,10,10,.3); }
}

/* ---------- full screen (desktop, only on the visitor's tap): the film letterboxed on black ---------- */
.reel__frame:fullscreen {
  width: 100vw; height: 100vh; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #000;
  clip-path: none !important; -webkit-mask-image: none !important; mask-image: none !important; visibility: visible !important;
}
.reel__frame:fullscreen .reel__media { inset: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; }
.reel__frame:fullscreen .reel__zoom { transform: none !important; }
.reel__frame:fullscreen .reel__video { object-fit: contain; }
.reel__frame:fullscreen .reel__poster { display: none; }
.reel__frame:fullscreen .reel__dock { transform: none !important; }
.reel__frame:fullscreen .reel__dock--play { left: 32px; top: auto; bottom: 32px; }
.reel__frame:fullscreen .reel__dock--ctrl { left: auto; right: 32px; top: 28px; }
.reel__frame:fullscreen .reel__bar { transform: none !important; top: auto; bottom: 0; }

/* ---------- no JS: the native player of this viewport's cut, with its poster ---------- */
html:not(.js) .reel__video, html:not(.js) .reel__dock { display: none; }
.reel__native { background: var(--paper-2); }
@media (min-width: 1024px) { .reel__native--tall { display: none; } }
@media (max-width: 1023px) { .reel__native--wide { display: none; } }

/* ---- manifest.css ---- */
/* S2 · Manifest. Spec: DESIGN-v6.md §4 S2 + moodboard 5.а/5.б/5.г/5.д/17.а (2026-11-07). Desktop: 401vh track, pinned
   100svh stage; three theses, one per screen of scroll, each filled word by word; then "Dôkazy, nie sľuby." holds
   and the pin lets go. Footnotes 1.1 / 2.1 / 3.1 open under each thesis once their word is filled. 3D seal ratchet. */

.mf { --seal: 120px; --sealImg: 250px; }
.mf__grid { align-items: center; }

/* photo + seal: the media box shrink-wraps the figure so the seal sits exactly on its bottom-right corner */
.mf__media { position: relative; grid-column: 1 / 5; justify-self: start; width: 100%; }

/* the photo is a card that turns over (manifest.js): button (perspective) > tilt (hover lean, phone wobble) > flip
   (rotateY, lift) > two faces. Each face is a .ph (radius, soft shadow, clip); the front keeps the Sector wipe.
   Faces are leaves of the 3D context, so their clip and the wipe mask flatten only themselves. */
.mf__card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 24px; perspective: 1200px; -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.mf__card:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.mf__tilt, .mf__flip {
  position: absolute; inset: 0; display: block; border-radius: inherit;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
}
/* a permanent 3D transform + layer: the first frame of a turn does not re-raster (no flash in Chrome) */
.mf__flip { transform: rotateY(0deg); will-change: transform; }
.mf__face {
  position: absolute; inset: 0; display: block;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.mf__face--back { transform: rotateY(180deg); background: #120101; }
.mf__face--front > img { object-position: 50% 50%; }
/* the back has less to spare around the head: half the overscan, half the parallax (manifest.js) */
.mf__face--back > img { top: -3%; height: 106%; object-position: 50% 50%; }
/* belt and braces for engines that leak a mirrored back face: the face turned away is hidden outright
   (manifest.js swaps data-face at 90°, where both faces are edge-on) */
.mf__card[data-face="front"] .mf__face--back,
.mf__card[data-face="back"] .mf__face--front { visibility: hidden !important; }
/* light falloff while turning: a face going edge-on darkens a little (--turn = |sin angle|, set by manifest.js) */
.mf__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,10,10,.25), rgba(10,10,10,.6));
  opacity: calc(var(--turn, 0) * .85);
}

.mf__seal {
  position: absolute; z-index: 2; pointer-events: none;
  right: calc(var(--seal) / -2); bottom: calc(var(--seal) / -2);
  width: var(--seal); height: var(--seal);
}
.mf__seal-img {
  position: absolute; left: 50%; top: 50%; width: var(--sealImg); height: var(--sealImg); max-width: none;
  margin: calc(var(--sealImg) / -2) 0 0 calc(var(--sealImg) / -2);
  transition: opacity .5s var(--ease-out);
}
/* the WebGL canvas is 3x the seal box, centred on it (hero3d anchors to the seal box) */
.mf__gl {
  position: absolute; left: -100%; top: -100%; width: 300%; height: 300%; max-width: none;
  pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out);
}
.mf__seal.is-3d .mf__gl { opacity: 1; }
.mf__seal.is-3d .mf__seal-img { opacity: 0; }

/* copy: three theses. Headline = the thesis in SemiExpanded Bold; under it two short paragraphs in SemiExpanded 500
   (each at most 5 lines down to 320 px); under them the footnote line. All read in normal case. */
.mf__copy { grid-column: 6 / 13; }
.mf__eyebrow { margin-bottom: clamp(24px, 3.2svh, 40px); }
.mf__t + .mf__t, .mf__final { margin-top: clamp(64px, 9svh, 120px); }
.mf__no { margin-bottom: clamp(14px, 2svh, 22px); }
.mf__th {
  font: 700 clamp(30px, min(3.8vw, 6svh), 62px)/1.04 var(--semi); letter-spacing: -.03em;
  max-width: 15em; text-wrap: balance;
}
.mf__tb { margin-top: clamp(18px, 2.6svh, 30px); max-width: 24em; font: 500 clamp(19px, min(1.8vw, 3.1svh), 28px)/1.22 var(--semi); letter-spacing: -.02em; }
.mf__tb p { text-wrap: pretty; hanging-punctuation: first; font-feature-settings: "kern" 1; }
.mf__tb p + p { margin-top: .5em; }
.mf__th .acc, .mf__tb .acc { color: var(--red); position: relative; }   /* FX5: the red pen underlines (core.penMark) hang off these spans */
/* footnote reference: Mona Semi figures set high and small, red once its footnote is open */
.mf__ref {
  font: 700 .46em/0 var(--semi); letter-spacing: 0; vertical-align: .95em; margin-left: .08em;
  color: var(--red-ink); transition: color .4s var(--ease-out);
}
/* footnote line under the block: no rule above it, the number in red-ink, the text in ink-2 (8.9:1) */
.mf__fn {
  margin-top: clamp(20px, 3svh, 32px); max-width: 34em;
  font: 500 clamp(14px, 1.1vw, 16px)/1.45 var(--semi); letter-spacing: -.005em; color: var(--ink-2); text-wrap: pretty;
}
.mf__fn-n { font-weight: 700; color: var(--red-ink); margin-right: .3em; }
.mf__fn .nw { white-space: nowrap; }
/* the closing line: giant Mona Display caps (fitLines to the column) */
.mf__final { color: var(--ink); }
/* signature: the wordmark in Mona Expanded Black, the city as a label */
/* inline flow, not flex: the FX4 redaction (core.redactReveal) splits it into lines; the baselines align by themselves */
.mf__sig { display: block; margin-top: clamp(28px, 4svh, 48px); }
.mf__sig-mark { font: 900 16px/1 var(--bs); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.mf__sig-city { white-space: pre; }

/* word fill: before the split the theses wait in --unfill; GSAP writes inline colours per word (manifest.js) */
.motion .mf__fill, .motion .mf__fill .acc, .motion .mf__fill .mf__ref { color: var(--unfill); }
.motion .mf__t.is-fn .mf__ref { color: var(--red-ink); }
.mf__fill .w { white-space: nowrap; }
/* footnotes open (motion): they wait folded down and transparent, and rise in when their word has filled */
.motion .mf__fn { opacity: 0; translate: 0 12px; transition: opacity .5s var(--ease-out), translate .6s var(--ease-out); }
.motion .mf__t.is-fn .mf__fn { opacity: 1; translate: 0 0; }

/* ---------- desktop: pinned stage (motion only; without motion it is a normal section with the theses in flow) ----------
   Track = 100vh + 301vh of pin (manifest.js P = 301: three theses of 60 + three changes of 22 + the closing hold of 55).
   The theses and the closing line share one cell of the stack; manifest.js crossfades them. */
@media (min-width: 1024px) {
  .mf__media { width: min(100%, calc((100svh - 240px) * .8)); }
  .motion .mf { padding-block: calc(var(--sec-pad) * .45) 0; }
  .motion .mf__track { height: 401vh; }
  .motion .mf__stage {
    height: 100svh; display: flex; align-items: center;
    padding-block: 96px 56px;
  }
  .motion .mf__stage > .mf__grid { width: 100%; }
  .motion .mf__stack { display: grid; align-items: start; }   /* the theses share a top edge: the headline does not jump */
  .motion .mf__final { align-self: center; }
  .motion .mf__stack > * { grid-area: 1 / 1; margin-top: 0; }
  .motion .mf__t:not([data-t="1"]), .motion .mf__final { opacity: 0; }
  /* without motion the theses stand in flow: the photo stays beside them (sticky) instead of centring on the tall column */
  :root:not(.motion) .mf__media { align-self: start; position: sticky; top: 120px; }
}

/* ---------- tablet: two columns, photo sticky, no pin ---------- */
@media (min-width: 600px) and (max-width: 1023px) {
  .mf { --seal: 96px; --sealImg: 155px; }   /* seal-red-*.webp: the glyph is 64 % of its box (the PNG's was 66 %) */
  .mf__grid { align-items: start; }
  .mf__media { grid-column: 1 / 4; position: sticky; top: 120px; }
  .mf__copy { grid-column: 5 / 9; }
}

/* ---------- tablet + phone: no pin, one thesis per screen of scroll ---------- */
@media (max-width: 1023px) {
  .mf__t { min-height: 72svh; }
  .mf__t + .mf__t, .mf__final { margin-top: 0; }
  .mf__final { padding-block: 12svh 4svh; }
}

/* ---------- mobile (5.д): the photo small in the top-left corner, the eyebrow beside it, then the theses one per screen;
   no paragraph runs over 5 lines at 390 or 320 ---------- */
@media (max-width: 599px) {
  .mf__card { border-radius: 14px; }
  .mf { --seal: 72px; --sealImg: 104px; }
  .mf__grid { grid-template-columns: 42vw minmax(0, 1fr); column-gap: 20px; row-gap: 0; align-items: start; }
  .mf__media { grid-column: 1; grid-row: 1; width: 100%; }
  .mf__copy { display: contents; }
  .mf__eyebrow { grid-column: 2; grid-row: 1; align-self: start; margin: 4px 0 0; }
  .mf__stack, .mf__sig { grid-column: 1 / -1; }
  .mf__stack { margin-top: calc(var(--seal) / 2 + 8px); }
  .mf__final { --size: 20vw; }   /* fitLines takes it down to the column */
  .mf__th { font-size: min(30px, 8.2vw); line-height: 1.06; }
  .mf__tb { font-size: min(20px, 5.6vw); line-height: 1.26; letter-spacing: -.018em; }
  .mf__fn { font-size: 14px; }
  .mf__th .acc, .mf__tb .acc { color: var(--red-ink); }
  .motion .mf__fill .acc { color: var(--unfill); }
  .mf__sig { margin-top: 28px; }
}

/* below 1024 (manifest.js): the PNG seal is a small toy, a tap spins it one arm further. The box is 96 px (a full
   finger target); it covers only the photo's corner and blank paper, never a word. */
@media (max-width: 1023px) {
  .mf__seal.is-toy { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; will-change: transform; }
}

/* ---- nula.css ---- */
/* S3 · Nula. Spec: DESIGN-v6.md §4 S3. Sticky intro + six 9-to-0 odometers, then the ledger "Reči a dôkazy.":
   two text columns, left the market's cliché in quotes with a footnote asterisk (the footnote under it tells the truth),
   right what SECTOR 70 shows. One row per topic, no cards (moodboard 6.а, 6.г, 2026-11-07). */

/* ---------- intro + zeros ---------- */
.nl__top { align-items: start; row-gap: 56px; }
.nl__intro { grid-column: 1 / 6; }
/* "nula." against Mona Expanded caps: at the spec's 1.15em the blackletter's small x-height read as a footnote under
   the wide caps line, so it steps up to 1.5em (x-height a touch above the cap height, width about half the caps line). */
.nl__h2 .bk { display: inline-block; font-size: 1.5em; padding-right: .04em; }
.nl__bkline { padding-bottom: .12em; margin-bottom: -.12em; }   /* blackletter descends a little further */
.nl__body { margin-top: clamp(28px, 3vw, 44px); }

.nl__list { grid-column: 7 / 13; display: grid; row-gap: 24px; }
.nl__row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 2.2vw, 36px); align-items: center; }
.nl__zero { display: block; line-height: 1; color: var(--ink); }
/* odometer window (Mona SemiExpanded Bold, proportional figures): "0" is the widest digit (.668em), so the window
   shrink-wraps to it and the narrower digits roll through centred, never left-hanging. The strip fades like a drum. */
.nl__zero .dr__s > span { text-align: center; }
.nl__zero .dr {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
/* row text = brand L2 headline (SemiExpanded, sentence case), one step lighter than the Bold zero */
.nl__txt {
  font: 600 clamp(22px, 2.25vw, 34px)/1.08 var(--semi);
  letter-spacing: -.025em; color: var(--ink); text-wrap: balance;
}

/* FX5 · red proofreader's pen: one loose hand-drawn circle around the "0" of "výhovoriek" (the footer's "Zero excuses.").
   Drawn once (stroke-dashoffset 1 to 0, pathLength 1) when the zeros finish rolling; static and drawn without motion.
   About 140 x 120 px of 3 px stroke on desktop: far under the 3% red budget. */
.nl__zw { position: relative; display: block; }
.nl__pen {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 1.16em; height: 1.2em; font-size: 104px;   /* = the zero's size (.num-m is on the sibling) */
  transform: translate(-56%, -49%) rotate(-5deg);   /* a quick loop sits a little left: clears the text at every column gap */
  max-width: none; overflow: visible; pointer-events: none;   /* base caps svg at 100% of the zero's width */
}
.nl__pen path {
  fill: none; stroke: var(--red); stroke-width: 3.3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1.2; stroke-dashoffset: 0;
}
.motion .nl__pen path { stroke-dashoffset: 1; opacity: 0; }

@media (min-width: 1024px) {
  .nl__intro { position: sticky; top: 120px; }
}

/* ---------- sub-block: Reči / a dôkazy. ---------- */
.nl__vs { margin-top: var(--sec-pad); }
.nl__h3 { margin-bottom: clamp(48px, 5vw, 80px); }

/* ---------- the ledger: two columns of text, one row per topic ----------
   Left (grey, --mute 5.1:1 on paper): the cliché in Slovak quotes; its last word carries the brand asterisk as a footnote
   reference. Under it the footnote, a step darker (--ink-2 8.9:1): the truth reads clearer than the slogan.
   Right (ink): the proof's name in SemiExpanded Bold, the rest in 500. No rules between rows: whitespace only. */
.ldg__key { align-items: center; margin-bottom: clamp(28px, 3vw, 44px); }
.ldg__k { display: inline-flex; align-items: center; gap: 10px; }
.ldg__k--mkt { grid-column: 1 / 6; }
.ldg__k--us { grid-column: 7 / 13; color: var(--red-ink); }
.ldg__list { display: grid; row-gap: clamp(44px, 4.6vw, 76px); }
.ldg__row { align-items: start; }
.ldg__mkt { grid-column: 1 / 6; }
.ldg__us { grid-column: 7 / 13; max-width: 30em; }

.ldg__q {
  display: block; font: 600 clamp(24px, 2.35vw, 36px)/1.1 var(--semi); letter-spacing: -.024em;
  color: var(--mute); text-wrap: balance; hanging-punctuation: first;
}
/* footnote reference: the brand asterisk (same mask as .ghost) set high after the closing quote; the last word and its
   mark never part at a line break */
.ldg__ref { white-space: nowrap; }
.ldg__ref::after, .ldg__fn-mark {
  content: ""; display: inline-block; background: var(--red);
  -webkit-mask: url(../assets/img/ast.svg) center / contain no-repeat; mask: url(../assets/img/ast.svg) center / contain no-repeat;
}
.ldg__ref::after {
  width: .42em; height: .42em; margin-left: .06em; vertical-align: .5em;
  transform: scale(var(--ast-s, 1)) rotate(var(--ast-r, 0deg));   /* nula.js lands it as the row enters */
}
.ldg__fn {
  display: block; margin-top: 14px; max-width: 26em;
  font: 500 clamp(15px, 1.15vw, 17px)/1.4 var(--semi); letter-spacing: -.005em; color: var(--ink-2); text-wrap: pretty;
}
.ldg__fn-mark { width: .78em; height: .78em; margin-right: .4em; vertical-align: -.06em; }

.ldg__head { display: block; font: 700 clamp(24px, 2.35vw, 36px)/1.06 var(--semi); letter-spacing: -.026em; color: var(--ink); text-wrap: balance; }
.ldg__more { display: block; margin-top: 12px; font: 500 clamp(17px, 1.3vw, 20px)/1.38 var(--semi); letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.ldg .nw { white-space: nowrap; }   /* "7-dňový", "7-Day": never break at the hyphen */

/* ---------- tablet: the same two columns on the 8-column grid ---------- */
@media (min-width: 600px) and (max-width: 1023px) {
  .nl__intro, .nl__list { grid-column: 1 / -1; }
  .nl__top { row-gap: 64px; }
  /* zeros a step down from the desktop 104 px so the full-width rows keep the desktop zero : text ratio (about 3.2) */
  .nl__zero.num-m { --size: 84px; }
  .nl__pen { font-size: 84px; }
  .nl__list { row-gap: 20px; }
  .nl__txt { font-size: 27px; }
  .ldg__k--mkt, .ldg__mkt { grid-column: 1 / 5; }
  .ldg__k--us, .ldg__us { grid-column: 5 / 9; }
}

/* ---------- mobile: H2 + body, zeros at 56 px (base .num-m), then the ledger stacked: the key names grey and black once,
   every row is the grey cliché + footnote, then the black proof under it ---------- */
@media (max-width: 599px) {
  .nl__intro, .nl__list { grid-column: 1 / -1; }
  .nl__top { row-gap: 48px; }
  .nl__list { row-gap: 20px; }
  .nl__row { column-gap: 18px; }
  .nl__txt { font-size: 22px; line-height: 1.18; }
  .nl__pen { font-size: 56px; width: 1.06em; height: 1.14em; transform: translate(-50%, -49%) rotate(-5deg); }   /* the zero sits on the 16 px gutter: keep the loop off the screen edge */
  .nl__pen path { stroke-width: 4.6; }
  .nl__h3 { margin-bottom: 40px; }

  .ldg__key { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-bottom: 32px; }
  .ldg__list { row-gap: 48px; }
  .ldg__mkt, .ldg__us { grid-column: 1 / -1; }
  .ldg__q { font-size: min(24px, 6.6vw); line-height: 1.12; }
  .ldg__fn { margin-top: 10px; font-size: 15px; }
  .ldg__us { margin-top: 20px; }
  .ldg__head { font-size: min(22px, 6.2vw); }
  .ldg__more { margin-top: 8px; font-size: 16px; line-height: 1.36; }
}

/* ---- sluzby.css ---- */
/* S4 · Služby. Spec: DESIGN-v6.md §4 S4 + STYLE-v6b.md; ideas 7.в / 7.г / 7.д (2026-11-07).
   The ten disciplines sit in three groups (Stratégia a kreatíva, Výkon a meranie, Obsah, web a AI).
   Desktop ≥1024: a sticky index on the left (the ten-sector dial + the grouped names) keeps the discipline being read,
   the content on the right scrolls by; the current name turns red (sluzby.js makeIndex), like a table of contents.
   Below 1024: an accordion, one row open at a time, with a plus/minus disclosure mark and a sticky mini dial on a rail.
   Icons: SECTOR 70 sector marks, one circle of ten 36° sectors, the discipline's own sector in red. */

.sv { --sv-ico: clamp(36px, 3vw, 44px); --sv-gap: clamp(18px, 1.9vw, 30px); --sv-light: rgba(10,10,10,.1); }
.sv-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- head ---------- */
.sv-head { row-gap: 28px; align-items: end; }
.sv-eyebrow { grid-column: 1 / -1; }
.sv-h2 { grid-column: 1 / 9; }
/* the lead's last baseline sits on the H2's last baseline (RA-08: a padded box bottom left it 6 px high) */
.sv-lead { grid-column: 9 / 13; text-wrap: pretty; }
@media (min-width: 1024px) { .sv-h2, .sv-lead { align-self: last baseline; } }
@media (max-width: 1023px) {
  .sv-h2, .sv-lead { grid-column: 1 / -1; }
}

/* ---------- sector icon ---------- */
.sv-glyph { display: block; width: var(--sv-ico); height: var(--sv-ico); }
.sv-glyph__rot { display: block; width: 100%; height: 100%; }
.sv-ico { display: block; width: 100%; height: 100%; overflow: visible; }
.sv-ico use { fill: var(--sv-light); }
.sv-ico .sv-hot { fill: var(--red); transition: transform .7s var(--ease-out); }
.sv-disc { transform-origin: 50px 50px; transition: transform 1s var(--ease-out); }
/* open: the dial turns one discipline on and the red sector slides out along its bisector */
.sv-row.is-on .sv-disc { transform: rotate(36deg); }
.sv-row.is-on .sv-hot { transform: translateY(-7px); }

.sv-h3 { font: inherit; margin: 0; }
.sv-btn { width: 100%; text-align: left; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.sv-name { display: block; padding-block: .08em; text-wrap: balance; }
.sv-nw { white-space: nowrap; }
.sv-row:focus:not(:focus-visible) { outline: none; }

.sv-side { min-width: 0; }
.sv-promise { font: 450 18px/1.45 var(--mona); font-stretch: 100%; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.sv-panel__in, .sv-panel__c { min-width: 0; }
/* outputs: the brand label voice (Hubot Sans Condensed caps), each behind a red asterisk */
.sv-outs { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 500 13px/1.25 var(--hubot-c); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.sv-outs li { display: inline-flex; align-items: center; gap: 8px; text-wrap: balance; }
.sv-outs .px-ast { width: 10px; height: 10px; }

/* ---------- desktop ≥1024: sticky index left, the disciplines right ---------- */
.sv-index { display: none; }
@media (min-width: 1024px) {
  .sv-body {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--colgap); align-items: start;
    margin-top: clamp(56px, 7vw, 112px);
  }
  .sv-index { display: block; grid-column: 1 / 5; position: sticky; top: clamp(104px, 15svh, 150px); }
  .sv-groups { grid-column: 6 / 13; }

  /* index: the dial turns the current discipline's sector toward the list; the current name is red */
  .sv-idx__dial { width: 76px; height: 76px; margin: 0 0 30px 2px; }
  .sv-idx__rot { width: 100%; height: 100%; will-change: transform; }
  .sv-idx__dial svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .sv-idx__s { fill: var(--sv-light); transition: fill .45s var(--ease-io), transform .6s var(--ease-out); }
  .sv-idx__s.is-on { fill: var(--red); transform: translateY(-6px); }
  .sv-toc__g + .sv-toc__g { margin-top: 22px; }
  .sv-toc__gh { margin-bottom: 8px; }
  .sv-toc__a {
    display: flex; align-items: center; gap: 10px; min-height: 34px; padding-right: 8px;
    font: 500 17px/1.25 var(--mona); font-stretch: 100%; color: var(--ink-2);
    transition: color .35s var(--ease-io), scale .12s; -webkit-tap-highlight-color: transparent;
  }
  .sv-toc__a .px-ast { width: 10px; height: 10px; opacity: 0; transform: scale(.4) rotate(-45deg); transition: opacity .35s var(--ease-io), transform .5s var(--ease-out); }
  .sv-toc__a span { transition: transform .5s var(--ease-out); }
  .sv-toc__a:active { scale: .96; }
  .sv-toc__a.is-on { color: var(--red); font-weight: 600; }
  .sv-toc__a.is-on .px-ast { opacity: 1; transform: none; }
  @media (hover: hover) and (pointer: fine) { .sv-toc__a:not(.is-on):hover { color: var(--ink); } }
  /* a short desktop screen: the list alone, so the index never runs past the bottom edge */
  @media (max-height: 760px) { .sv-idx__dial { display: none; } .sv-toc__a { min-height: 30px; } }

  /* content: each discipline open, name, promise and outputs; the group name above its disciplines */
  .sv-group + .sv-group { margin-top: clamp(48px, 5vw, 80px); }
  .sv-gh { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
  .sv-row { padding-block: clamp(26px, 2.8vw, 42px); }
  .sv-row:first-child { padding-top: clamp(18px, 1.8vw, 26px); }
  .sv-btn { display: block; cursor: default; }
  .sv-glyph, .sv-tog { display: none; }
  .sv-name.h3 { --size: clamp(30px, 3.2vw, 46px); }
  .sv-promise { margin-top: 14px; }
  .sv-panel { margin-top: 18px; }
  .sv-micro { margin-left: calc((100% - 11 * var(--colgap)) / 12 * 5 + 5 * var(--colgap)); margin-top: clamp(24px, 2.4vw, 36px); }
}

.sv-micro {
  display: grid; grid-template-columns: var(--sv-ico) minmax(0, 1fr); column-gap: var(--sv-gap); align-items: center;
  line-height: 1.4; text-wrap: pretty;
}
@media (min-width: 1024px) { .sv-micro { display: flex; gap: 10px; } }
.sv-micro .px-ast { justify-self: center; }

/* ---------- accordion (<1024) ---------- */
@media (max-width: 1023px) {
  .sv { --sv-gap: 16px; }
  .sv-body { margin-top: clamp(40px, 7vw, 72px); }
  .sv-group + .sv-group { margin-top: 26px; }
  /* group name in the names' column (the rail of the mini dial runs in the icon column) */
  .sv-gh { padding: 0 0 6px calc(var(--sv-ico) + var(--sv-gap)); color: var(--ink-2); }
  .sv-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--colgap); align-items: start; padding-block: 14px; }
  .sv-h3 { grid-column: 1; }
  .sv-btn {
    display: grid; grid-template-columns: var(--sv-ico) minmax(0, 1fr) 20px; column-gap: var(--sv-gap); align-items: center;
    min-height: 56px; cursor: pointer; transition: scale .12s;
  }
  .sv-btn:active { scale: .96; }
  /* disclosure: a plus that turns into a minus (the vertical bar folds away), the row's own state */
  .sv-tog { display: block; width: 16px; height: 16px; justify-self: end; overflow: visible; color: var(--ink); transition: color .45s var(--ease-io); }
  .sv-tog path { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
  .sv-tog__v { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease-out); }
  .sv-row.is-on .sv-tog__v { transform: scaleY(0); }
  .sv-side { padding-top: 10px; }
  .sv-promise { font-size: 16px; max-width: 40ch; cursor: pointer; text-wrap: balance; }   /* short two-liners: no lone last word */

  .sv-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease-out), visibility 0s linear .6s; }
  .sv-row.is-on .sv-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--ease-out), visibility 0s; }
  .sv-panel__in { min-height: 0; overflow: hidden; }
  .sv-panel__c { padding: 14px 0 12px; }
  /* outputs on touch: readable body size, sentence case */
  .sv-outs { flex-direction: column; gap: 8px; font: 500 16px/1.4 var(--mona); font-stretch: 100%; text-transform: none; letter-spacing: 0; }
  .sv-outs li { align-items: baseline; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease-out), transform .6s var(--ease-out); }
  .sv-row.is-on .sv-outs li { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .sv-row.is-on .sv-outs li:nth-child(2) { transition-delay: .04s; }
  .sv-row.is-on .sv-outs li:nth-child(3) { transition-delay: .08s; }
  .sv-outs .px-ast { width: 12px; height: 12px; transform: translateY(1px); }
  .sv-micro { margin-top: clamp(4px, .6vw, 10px); }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .sv-row { position: relative; }
  .sv-btn { grid-template-columns: var(--sv-ico) minmax(0, 1fr); }
  .sv-tog { position: absolute; right: 0; top: 34px; }
  .sv-side { padding: 14px 34px 0 0; }
}
@media (max-width: 599px) {
  .sv { --sv-gap: 14px; }
  .sv-row { grid-template-columns: minmax(0, 1fr); padding-block: 12px; }
  .sv-btn { min-height: 48px; }
  .sv-row.is-on .sv-hot { transform: translateY(-6px); }
  .sv-side { padding: 6px 0 0 calc(var(--sv-ico) + var(--sv-gap)); }
}

/* ---------- sticky mini dial (< 1024, motion and reduced motion; built by sluzby.js makeMini) ----------
   A rail in the rows' icon column (the row icons step aside, their column widens to the dial) holds one small dial of
   the ten sectors, sticky at 42 % of the screen height. The rail runs from row 1's name to row 10's name (--rail-t,
   --rail-b, measured), so the dial rides in beside row 1 and leaves beside row 10 without a jump. The current row's
   sector is red and slid out along its bisector and the dial turns it to 3 o'clock, toward the row's name; the count
   under it reads 01 to 10. */
@media (max-width: 1023px) {
  .sv { --mini: 56px; }
  .sv.has-mini { --sv-ico: var(--mini); }
  .sv.has-mini .sv-glyph { visibility: hidden; }
  .sv-body { position: relative; }
  .sv-rail { position: absolute; left: 0; top: var(--rail-t, 0px); bottom: var(--rail-b, 0px); z-index: 1; width: var(--mini); pointer-events: none; }
  .sv-mini { position: sticky; top: calc(42svh - var(--mini) / 2); }
  .sv-mini__dial { width: var(--mini); height: var(--mini); will-change: transform; }
  .sv-mini__rot { width: 100%; height: 100%; will-change: transform; }
  .sv-mini svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .sv-mini__s { fill: rgba(10,10,10,.1); transition: fill .5s var(--ease-io), transform .7s var(--ease-out); }
  .sv-mini__s.is-on { fill: var(--red); transform: translateY(-6.5px); }
  .sv-mini__n { display: flex; justify-content: center; margin-top: 10px; font: 400 12px/1 var(--hubot); letter-spacing: .02em; color: var(--mute); white-space: nowrap; }
  .sv-mini__w { display: inline-block; height: 1em; overflow: hidden; color: var(--ink); }
  .sv-mini__k { display: inline-block; }
  /* the current row's disclosure mark takes the red: it ties the dial to the name it points at */
  .sv.has-mini .sv-row.is-cur .sv-tog { color: var(--red); }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .sv { --mini: 64px; }
  /* the dial lets go beside row 10's name and the one-line rows are short here: the count under it would touch the
     note's asterisk in the same column, so the note keeps clear of it */
  .sv.has-mini .sv-micro { margin-top: 26px; }
}

/* links to the service pages (SEO), inside the open panel */
.sv-more { margin: 14px 0 0; font-weight: 600 }
.sv-more a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em }
.sv-more a:hover { color: var(--red, #FF3B1F) }

/* ---- pristup.css ---- */
/* S5 · Prístup. Spec: DESIGN-v6.md §4 S5; ideas 8.б / 8.г / 8.д / 17.в (2026-11-07).
   One growing line with five marks (Šprint, 90 dní, Týždeň, Mesiac, Kvartál): the line fills with the scroll,
   the marks it reaches turn ink, the current one turns red.
   .ps.is-pin (desktop + motion, pristup.js pinned()): the stage is pinned at the screen centre, so it follows the
   heading at the normal section rhythm (no empty screen before the pin). Left: one number window with the step label
   under it; middle: the line; right: the active step with its full text, the other steps one line each.
   Below 1024 (motion and reduced motion, pristup.js line()): a vertical timeline, no cards, no pin: the line runs
   beside the steps, its fill tip holds a fixed line of the screen (42 %), the current step carries the one red
   asterisk. Desktop with reduced motion: four stacked blocks. */

/* ---------- head ---------- */
.ps-head { row-gap: 28px; align-items: end; }
.ps-h2 { grid-column: 1 / 9; }
/* the lead's last baseline sits on the H2's last baseline (RA-08: a padded box bottom left it 7 px high) */
.ps-lead { grid-column: 9 / 13; text-wrap: pretty; }
@media (min-width: 1024px) { .ps-h2, .ps-lead { align-self: last baseline; } }
@media (max-width: 1023px) {
  .ps-h2, .ps-lead { grid-column: 1 / -1; }
}

/* ---------- static: stacked blocks ---------- */
.ps-stage { position: relative; margin-top: clamp(64px, 8vw, 128px); }
.ps-grid { display: block; }
.ps-left, .ps-count, .ps-line { display: none; }
.ps-bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.ps-steps { display: grid; row-gap: clamp(56px, 7vw, 96px); }
.ps-step { display: flex; flex-direction: column; }
.ps-num { order: 0; }
.ps-num .line { perspective: 1200px; }
.ps-num .line__in { backface-visibility: hidden; }
/* desktop number window: the numbers turn like a cube, so their faces leave the line box and the hard .line clip
   (base.css) sliced them with a straight edge (DT-06). The window gets room above and below and a soft mask instead;
   the opaque band still starts .16em over the line box, so the acute on DNÍ is never touched at rest.
   Layout is unchanged (padding = -margin). */
.ps-win .line {
  padding: .62em .06em .5em; margin: -.62em -.06em -.5em;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 .46em, #000 calc(100% - .44em), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 .46em, #000 calc(100% - .44em), transparent 100%);
}
.ps-title { order: 2; margin-top: 18px; text-wrap: balance; }
/* the step label sits under its number everywhere, so "5." reads as a date, not a list number */
.ps-rv--label { order: 1; margin-top: 12px; }
.ps-rv--text { order: 3; margin-top: 12px; }
.ps-label { display: inline-flex; align-items: center; gap: 10px; }
.ps-text { max-width: 40ch; }
.ps-rv { display: grid; grid-template-rows: 1fr; }
.ps-rv > div { min-height: 0; overflow: hidden; }

/* 8.г: what the Monday report holds, from the approved copy (Dôkazy: "čo sme zmerali a čo robíme tento týždeň") */
.ps-mon-h { margin-top: 18px; color: var(--ink); }
.ps-mon { margin-top: 10px; display: grid; gap: 6px; font: 450 16px/1.4 var(--mona); font-stretch: 100%; color: var(--ink-2); }
.ps-mon li { display: flex; align-items: baseline; gap: 10px; }
.ps-mon .px-ast { width: 10px; height: 10px; transform: translateY(1px); }

/* desktop without the pin (reduced motion): number and its label left, title on the number's baseline right */
@media (min-width: 1024px) {
  .ps:not(.is-pin) .ps-step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--colgap); align-items: start; }
  .ps:not(.is-pin) .ps-num { grid-column: 1 / 7; grid-row: 1; align-self: last baseline; margin: 0; }
  .ps:not(.is-pin) .ps-title { grid-column: 8 / 13; grid-row: 1; align-self: last baseline; margin: 0; }
  .ps:not(.is-pin) .ps-rv--label { grid-column: 1 / 7; grid-row: 2; margin-top: 16px; }
  .ps:not(.is-pin) .ps-rv--text { grid-column: 8 / 13; grid-row: 2; margin-top: 16px; }
}

/* ---------- the line (shared parts) ---------- */
.ps-line__track, .ps-line__fill { position: absolute; left: 0; width: 2px; margin-left: -1px; border-radius: 1px; }
.ps-line__track { top: 0; bottom: 0; background: rgba(10,10,10,.1); }
.ps-line__fill { top: 0; height: 100%; background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--ps-f, 0)); will-change: transform; }
.ps-mark { position: absolute; left: 0; width: 0; height: 0; }
.ps-mark__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px rgba(10,10,10,.22);
  transition: box-shadow .4s var(--ease-io), background-color .4s var(--ease-io), opacity .3s var(--ease-io);
}
.ps-mark.is-past .ps-mark__dot { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
/* the current mark: the dot gives way to the brand's red asterisk */
.ps-mark__ast { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; max-width: none; opacity: 0; transform: scale(.4) rotate(-60deg); transition: opacity .3s var(--ease-io), transform .55s var(--ease-out); }
.ps-mark.is-on .ps-mark__dot { opacity: 0; }
.ps-mark.is-on .ps-mark__ast { opacity: 1; transform: none; }
.ps-mark__t { position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap; color: var(--mute); transition: color .4s var(--ease-io); }
.ps-mark.is-past .ps-mark__t { color: var(--ink-2); }
.ps-mark.is-on .ps-mark__t { color: var(--ink); }

/* ---------- pinned stage (desktop + motion) ---------- */
.ps.is-pin { padding-bottom: 0; }
.ps.is-pin .ps-stage { margin-top: clamp(48px, 6vw, 96px); padding-block: clamp(24px, 4svh, 48px); }
.ps.is-pin .ps-grid { position: relative; display: grid; align-items: start; min-height: clamp(340px, 48svh, 470px); }
.ps.is-pin .ps-left { display: block; grid-column: 1 / 7; grid-row: 1; }
.ps.is-pin .ps-win { --size: min(15vw, 30svh, 250px); }
.ps-win .line { display: grid; perspective: 1200px; }
.ps-win .ps-n, .ps-win .ps-probe { grid-area: 1 / 1; }
.ps-win .ps-n { backface-visibility: hidden; will-change: transform, opacity; }
.ps-probe { visibility: hidden; }
/* the step label sits under the number, so "5." reads as a date, not a list number */
.ps-tags { display: grid; justify-items: start; margin-top: clamp(14px, 1.4vw, 22px); color: var(--ink); }
.ps-tag { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 10px; }
/* the line: in the column between the number and the steps, the whole height of the stage, labels left of it */
.ps.is-pin .ps-line { display: block; position: relative; grid-column: 7; grid-row: 1; align-self: stretch; justify-self: end; width: 0; margin: .5em 6px .5em 0; }
.ps.is-pin .ps-mark { top: calc(var(--m) * 25%); }
.ps.is-pin .ps-mark__t { right: 18px; }
/* the list lives in the right column but never sizes the stage: it slides by --ps-y (pristup.js) */
.ps.is-pin .ps-steps {
  position: absolute; grid-column: 8 / 13; grid-row: 1; top: 0; left: 0; right: 0; display: block;
  transform: translate3d(0, var(--ps-y, 0px), 0); transition: transform .7s var(--ease-io);
}
/* the active step's text opens without touching layout (a growing row logged a layout shift every frame of the
   change): the text hangs under its title out of flow and is uncovered by clip-path, while the steps after the active
   one move down by its height (--ps-open, pristup.js) with a transform. */
.ps.is-pin .ps-step { display: block; position: relative; transition: transform .6s var(--ease-io); }
.ps.is-pin .ps-step + .ps-step { margin-top: 8px; }
.ps.is-pin .ps-step.is-on ~ .ps-step { transform: translate3d(0, var(--ps-open, 0px), 0); }
.ps.is-pin :is(.ps-num, .ps-rv--label) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 8.б: the other steps are one quiet line each (half size, body ink, never cut), the active one comes to full
   size with its whole text */
.ps.is-pin .ps-title { white-space: nowrap; color: var(--ink-2); transform: scale(.5); transform-origin: 0 55%; transition: color .6s var(--ease-io), transform .6s var(--ease-io); }
.ps.is-pin .ps-rv--text { position: absolute; left: 0; right: 0; top: 100%; display: block; margin: 0; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io); }
.ps.is-pin .ps-rv--text > div > * { opacity: 0; transform: translateY(8px); padding: 16px 0 18px; transition: opacity .35s var(--ease-io), transform .6s var(--ease-io); }
.ps.is-pin .ps-step.is-on .ps-title { color: var(--ink); transform: none; }
.ps.is-pin .ps-step.is-on .ps-rv--text { clip-path: inset(0 0 0 0); }
.ps.is-pin .ps-step.is-on .ps-rv--text > div > * { opacity: 1; transform: none; transition: opacity .6s var(--ease-io) .1s, transform .6s var(--ease-io); }
.ps.is-pin.no-tr, .ps.is-pin.no-tr * { transition: none !important; }
.ps-count__n { display: inline-block; }

/* ---------- below 1024: the vertical timeline (8.д + 17.в) ----------
   No cards, fills or shadows: the steps stand on the paper, number (Mona, num-xl) first and its label, title and
   text right under it. The line runs in a 30 px column on the left, from step 1's number to the closing mark
   "Kvartál" under the last step; pristup.js places the marks on the numbers and fills the line up to 42 % of the
   screen. */
@media (max-width: 1023px) {
  .ps-stage { margin-top: clamp(48px, 9vw, 88px); }
  .ps-grid { position: relative; padding-left: 34px; }
  .ps-steps { row-gap: clamp(48px, 10vw, 72px); padding-bottom: 58px; }
  .ps-line { display: block; position: absolute; left: 7px; top: var(--ln-t, 0px); height: var(--ln-h, 0px); width: 0; }
  .ps-mark { top: var(--mk, 0px); }
  .ps-mark__t { display: none; left: 22px; }
  .ps-mark:last-child .ps-mark__t { display: block; }
  /* one red asterisk in the timeline, on the current step's mark: the label and list marks step back to grey */
  .ps-steps .px-ast { color: var(--mute); }
  /* phone: number, then the label with the step's own count on the same line (data voice), title, text */
  .ps-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; }
  .ps-num { grid-column: 1 / -1; grid-row: 1; }
  .ps-rv--label { grid-column: 1; grid-row: 2; }
  .ps-step::after {
    content: attr(data-k) "\00a0/\00a0" "04"; grid-column: 2; grid-row: 2; align-self: center; margin-top: 12px;
    font: 400 12px/1 var(--hubot); letter-spacing: .02em; color: var(--mute);
  }
  .ps-title { grid-column: 1 / -1; grid-row: 3; }
  .ps-rv--text { grid-column: 1 / -1; grid-row: 4; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  /* tablet: number and its label left, title and text right, on one baseline */
  .ps-grid { padding-left: 44px; }
  .ps-line { left: 9px; }
  .ps-step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: calc(var(--colgap) * 2); }
  .ps-num { grid-column: 1; grid-row: 1; align-self: end; margin: 0; }
  .ps-rv--label { grid-column: 1; grid-row: 2; }
  .ps-title { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 .06em; }
  .ps-rv--text { grid-column: 2; grid-row: 2 / 4; }
  .ps-step::after { grid-column: 1; grid-row: 3; justify-self: start; }
}

.ps .nw { white-space: nowrap; }   /* "7-Day Log": never break at the hyphen */
@media (prefers-reduced-motion: reduce) {
  .ps-mark__dot, .ps-mark__ast, .ps-mark__t { transition: none; }
}

/* ---- melt.css ---- */
/* S6 · Melt. Spec: DESIGN-v6.md §4 S6, type from STYLE-v6b.md (Mona Sans Expanded Black).
   Desktop: the stage is pinned by ScrollTrigger for 150 % (js/melt.js).
   Below 1024: a 150svh section with a CSS sticky 100svh stage, no pin.
   The drip canvas hangs below the phrase (absolute, inside the h2), so nothing on the
   way up to <main> may clip it: no overflow hidden on the stage or the phrase lines. */

#melt { padding-block: 0; }

.melt__stage {
  /* --pf: phrase size. In Mona Expanded Black "PRÁZDNE" is 5.49 em wide and "SĽUBY" 3.69 em:
     13.5vw sets the first line at about 74 % of the screen, and 22svh keeps two lines plus
     about 1.5 em of drip room above "Čísla zostanú." on a 16:10 or 16:9 screen */
  --pf: min(13.5vw, 22svh, 230px);
  position: relative;
  height: 100svh;
  display: grid;
  /* one fixed track: the nowrap giant lines must never widen it (fitLines measures the track) */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  align-content: stretch;
  padding-top: clamp(56px, 8svh, 112px);
  padding-bottom: clamp(36px, 6.5svh, 76px);
}

.melt__phrase {
  --size: var(--pf);
  width: 100%;
  text-align: center;
  color: var(--ink);
}
.melt__phrase .line { overflow: visible; }

.melt__room { width: 100%; pointer-events: none; }

/* FX5 · the proofreader's pen: a red strike through each line that draws itself just before the
   melt (js/melt.js writes the paths from the live type, about 2 % of the screen in red). A main
   stroke and a thinner second pass, round caps, slightly bowed: drawn by hand, not ruled. */
.melt__pen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.melt__pen path { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.1; }
html:not(.motion) .melt__pen { display: none; }

/* the answer line: the payoff at the full .h2 size like every section title (fitLines keeps
   "ČÍSLA ZOSTANÚ.", 9.17 em, inside the gutters on phones) */
.melt__solid {
  width: 100%;
  text-align: center;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

/* below 1024: no pins. The section is 220svh tall and the 100svh stage sticks for 120svh of it, about
   the scroll the desktop pin holds (150 % of a shorter screen). The phrase fills the width (fitLines
   trims 17vw to the gutter), the drips get a long portrait room of 3 em (never more than 36svh), and
   the block is centred. js/melt.js maps the strike to the moment the stage locks, the melt to the hold. */
@media (max-width: 1023px) {
  #melt { height: 220svh; }
  .melt__stage {
    /* 20svh: a phone held sideways (390 px tall) still fits phrase, drips and payoff on one screen.
       The block hangs from 18svh (not centred): less white between the previous section and the
       phrase, and the space under the payoff is given to Dôkazy (--melt-tail, js/melt.js) */
    --pf: min(17vw, 20svh);
    position: sticky;
    top: 0;
    grid-template-rows: auto min(calc(var(--pf) * 3), 34svh) auto;
    align-content: start;
    padding-top: clamp(64px, 18svh, 180px);
    padding-bottom: min(40px, 6svh);
  }
  /* Dôkazy starts right under the payoff: it comes up into the empty lower part of the stage during
     the last stretch of the hold, so there is no band of white after "Čísla zostanú." */
  .motion #melt { margin-bottom: calc(-1 * var(--melt-tail, 0px)); }
  .melt__solid { --size: min(9vw, 140px, 12svh); }
}
@media (max-width: 599px) { .melt__solid { --size: min(13vw, 12svh); } }
/* a phone held sideways: the block is centred with small margins, it needs the whole height */
@media (max-width: 1023px) and (max-height: 499px) {
  .melt__stage { align-content: center; padding-top: min(72px, 12svh); }
}
/* the payoff, phones and tablets only: once "Čísla zostanú." has risen the same red pen that struck
   the promises underlines it (two quick passes, written by js/melt.js from the live type) */
.melt__ok { display: none; }
@media (max-width: 1023px) {
  .motion .melt__ok { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
  .melt__ok path { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.1; }
}

/* no motion or no JS: the static end state. The phrase is a faint blur, the line is solid. */
html:not(.motion) #melt { height: auto; }
html:not(.motion) .melt__stage {
  position: relative;
  height: auto;
  padding-block: var(--sec-pad);
  grid-template-rows: auto clamp(24px, 4vw, 56px) auto;
}
html:not(.motion) .melt__phrase,
.melt--fallback .melt__phrase { opacity: .25; filter: blur(6px); }
/* motion on but no WebGL2: js scrubs opacity and blur instead of the melt */
.motion .melt--fallback .melt__phrase { opacity: 1; filter: none; will-change: opacity, filter; }

/* the runtime rules of modules/melt.js, carried here (js/melt.js passes styles: false): a style sheet
   added at run time would restyle the whole page in the middle of a scroll */
.melt-on, .melt-on * { color: transparent !important; -webkit-text-fill-color: transparent !important; text-shadow: none !important; }
.melt-canvas { position: absolute; display: block; pointer-events: none; user-select: none; visibility: hidden; max-width: none; }

/* no JS (no fitLines): the giant lines are sized to fit the gutters on their own. "PRÁZDNE" is 5.49 em
   wide and "ČÍSLA ZOSTANÚ." 9.19 em; the divisors keep about 2 % of air. Never larger than with JS. */
html:not(.js) .melt__stage { --pf: min(13.5vw, 22svh, 230px, calc((100vw - 2 * var(--gutter)) / 5.6)); }
html:not(.js) .melt__solid { --size: min(9vw, 140px, calc((100vw - 2 * var(--gutter)) / 9.35)); }
@media (max-width: 1023px) {
  html:not(.js) .melt__stage { --pf: min(17vw, 20svh, calc((100vw - 2 * var(--gutter)) / 5.6)); }
  html:not(.js) .melt__solid { --size: min(9vw, 140px, 12svh, calc((100vw - 2 * var(--gutter)) / 9.35)); }
}
@media (max-width: 599px) {
  html:not(.js) .melt__solid { --size: min(13vw, 12svh, calc((100vw - 2 * var(--gutter)) / 9.35)); }
}

/* 19.б light poster (Save-Data, or a low-memory phone; js/melt.js): no WebGL. The phrase is struck through as usual,
   then fades to the static end state in one timed step instead of melting; "Čísla zostanú." rises as usual */
.melt--poster .melt__phrase { transition: opacity .8s var(--ease-io), filter .8s var(--ease-io); }
.melt--poster.is-gone .melt__phrase { opacity: .25; filter: blur(6px); }

/* ---- dokazy.css ---- */
/* S7 · Dôkazy. Spec: DESIGN-v6.md §4 S7, type from STYLE-v6b.md, FX7 from FX-v6c.md.
   The 7-Day Log is a real object of the brand: a printed weekly receipt (thermal paper strip, one ink,
   torn edge, soft shadow on the white page), annotated by the brand's red proofreader's pen.
   FX7: the receipt arrives tilted and turns to face the reader, scrubbed; then the pen marks the verdicts. */

/* ---------- head: H2 left, lead on the formats axis ---------- */
.dokazy__head { row-gap: 28px; align-items: end; }
/* one fixed track: the nowrap giant lines must never widen it (fitLines measures it) */
.dokazy__title { grid-column: 1 / span 8; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; }
.dokazy__title .h2 { width: 100%; }
.dokazy__lead { grid-column: 9 / span 4; padding-bottom: .4em; }
/* desktop: the lead's last line sits on the H2's last baseline (both items share one baseline group;
   the title block's last baseline is the H2's) instead of a padded box bottom */
@media (min-width: 1024px) {
  .dokazy__title, .dokazy__lead { align-self: last baseline; }
  .dokazy__lead { padding-bottom: 0; }
}

/* ---------- grid: sticky receipt (cols 1-6) + formats (cols 8-12) ---------- */
.dokazy__grid { margin-top: clamp(64px, 8vw, 128px); align-items: start; }
.dokazy__aside { grid-column: 1 / span 6; align-self: stretch; }
.dokazy__sticky { position: sticky; top: 88px; display: grid; justify-items: center; }

/* ---------- the receipt ----------
   .rcpt        the object's box: its width sets the print scale (--u = 1/440 of it, a real object
                scales as one); text never drops below a readable size on phones
   .rcpt__turn  FX7 turn + resting tilt, and the shadow (drop-shadow follows the torn edge)
   .rcpt__paper the strip: paper tone, grain, light, a fold, torn bottom edge (mask), print, pen marks */
.rcpt {
  --rc-paper: #F6F2E9;
  --rc-ink: #1E1C19;
  --rc-tilt: -2.4deg;
  /* desktop: as big as the column allows, and short enough to stay whole while sticky */
  width: min(460px, 31vw, calc((100svh - 128px) * .63));
  container-type: inline-size;
  margin: 0;
  color: var(--rc-ink);
}
.rcpt__turn {
  --u: calc(100cqi / 440);
  position: relative;
  transform: rotate(var(--rc-tilt));
  transform-origin: 50% 70%;
  /* paper lying on the page: a tight contact shadow, a short soft one and a wide ambient one,
     light from the upper left */
  filter: drop-shadow(0 .5px .6px rgb(46 36 24 / .22)) drop-shadow(2px 6px 7px rgb(46 36 24 / .10)) drop-shadow(8px 26px 30px rgb(46 36 24 / .13));
}
.rcpt__paper {
  position: relative;
  isolation: isolate;
  padding: calc(var(--u) * 38) calc(var(--u) * 30) calc(var(--u) * 44);
  background-color: var(--rc-paper);
  /* a fold across the strip (a slip that was pocketed), a lifted top end (the roll's curl) and a faint
     fall-off along both long edges */
  background-image:
    linear-gradient(180deg, rgb(0 0 0 / 0) 40%, rgb(70 55 35 / .03) 42.8%, rgb(70 55 35 / .06) 43.4%, rgb(255 255 255 / .6) 43.6%, rgb(255 255 255 / 0) 46%),
    linear-gradient(180deg, rgb(255 255 255 / .55), rgb(255 255 255 / 0) 9%, rgb(0 0 0 / 0) 72%, rgb(70 55 35 / .045)),
    linear-gradient(90deg, rgb(70 55 35 / .05), rgb(70 55 35 / 0) 7%, rgb(70 55 35 / 0) 93%, rgb(70 55 35 / .06));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='10' viewBox='0 0 360 10'%3E%3Cpath d='M0 0H360L360.0 6.8L358.0 4.8L356.0 1.8L353.0 4.4L350.0 7.6L347.4 5.5L344.8 3.1L341.2 4.9L337.6 6.9L335.4 5.4L333.2 2.7L329.9 5.1L326.6 6.7L324.2 4.7L321.8 2.5L319.4 4.8L316.9 7.2L313.8 4.3L310.7 1.5L307.9 4.6L305.1 7.1L302.3 4.9L299.4 2.3L297.3 4.8L295.1 7.5L292.3 4.9L289.4 1.8L287.2 4.3L285.0 7.2L281.1 4.4L277.2 2.5L274.8 4.7L272.3 7.3L268.6 4.7L264.9 2.8L261.9 5.0L258.9 6.7L255.8 4.9L252.7 2.3L250.7 4.5L248.6 6.9L244.9 5.0L241.2 2.9L238.6 4.9L235.9 7.5L233.1 4.9L230.3 3.6L226.9 5.6L223.5 7.1L220.4 4.2L217.3 2.0L214.6 4.5L211.9 7.6L208.0 4.6L204.1 2.0L201.3 4.4L198.5 7.0L195.6 5.3L192.7 3.5L189.0 5.6L185.2 7.3L182.3 4.8L179.4 2.8L176.6 4.8L173.8 7.3L171.1 5.2L168.4 4.0L164.9 5.6L161.4 7.3L158.2 5.4L155.1 3.9L153.0 5.8L150.9 7.4L147.4 4.4L143.8 1.7L141.6 4.1L139.3 7.3L136.6 4.4L134.0 2.2L131.3 4.7L128.5 7.8L125.1 4.8L121.6 3.1L119.2 5.1L116.8 7.7L114.0 4.4L111.2 2.5L109.1 4.6L107.0 7.6L103.1 5.6L99.2 3.4L96.6 4.8L93.9 6.9L90.7 4.5L87.5 1.9L84.1 4.4L80.7 7.7L78.1 4.1L75.4 1.6L71.7 4.6L67.9 7.4L64.4 4.3L61.0 2.0L58.1 4.7L55.3 7.8L52.4 4.7L49.6 1.8L47.4 4.8L45.2 7.6L43.1 5.4L41.1 3.1L38.3 5.3L35.6 6.8L32.9 5.1L30.2 2.0L27.6 4.2L25.0 6.8L21.9 4.6L18.8 2.0L16.0 4.7L13.1 7.1L9.8 5.4L6.4 3.1L3.2 5.7L0.0 6.8Z'/%3E%3C/svg%3E") bottom left / 360px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='10' viewBox='0 0 360 10'%3E%3Cpath d='M0 0H360L360.0 6.8L358.0 4.8L356.0 1.8L353.0 4.4L350.0 7.6L347.4 5.5L344.8 3.1L341.2 4.9L337.6 6.9L335.4 5.4L333.2 2.7L329.9 5.1L326.6 6.7L324.2 4.7L321.8 2.5L319.4 4.8L316.9 7.2L313.8 4.3L310.7 1.5L307.9 4.6L305.1 7.1L302.3 4.9L299.4 2.3L297.3 4.8L295.1 7.5L292.3 4.9L289.4 1.8L287.2 4.3L285.0 7.2L281.1 4.4L277.2 2.5L274.8 4.7L272.3 7.3L268.6 4.7L264.9 2.8L261.9 5.0L258.9 6.7L255.8 4.9L252.7 2.3L250.7 4.5L248.6 6.9L244.9 5.0L241.2 2.9L238.6 4.9L235.9 7.5L233.1 4.9L230.3 3.6L226.9 5.6L223.5 7.1L220.4 4.2L217.3 2.0L214.6 4.5L211.9 7.6L208.0 4.6L204.1 2.0L201.3 4.4L198.5 7.0L195.6 5.3L192.7 3.5L189.0 5.6L185.2 7.3L182.3 4.8L179.4 2.8L176.6 4.8L173.8 7.3L171.1 5.2L168.4 4.0L164.9 5.6L161.4 7.3L158.2 5.4L155.1 3.9L153.0 5.8L150.9 7.4L147.4 4.4L143.8 1.7L141.6 4.1L139.3 7.3L136.6 4.4L134.0 2.2L131.3 4.7L128.5 7.8L125.1 4.8L121.6 3.1L119.2 5.1L116.8 7.7L114.0 4.4L111.2 2.5L109.1 4.6L107.0 7.6L103.1 5.6L99.2 3.4L96.6 4.8L93.9 6.9L90.7 4.5L87.5 1.9L84.1 4.4L80.7 7.7L78.1 4.1L75.4 1.6L71.7 4.6L67.9 7.4L64.4 4.3L61.0 2.0L58.1 4.7L55.3 7.8L52.4 4.7L49.6 1.8L47.4 4.8L45.2 7.6L43.1 5.4L41.1 3.1L38.3 5.3L35.6 6.8L32.9 5.1L30.2 2.0L27.6 4.2L25.0 6.8L21.9 4.6L18.8 2.0L16.0 4.7L13.1 7.1L9.8 5.4L6.4 3.1L3.2 5.7L0.0 6.8Z'/%3E%3C/svg%3E") bottom left / 360px 10px repeat-x;
  font: 400 max(13px, var(--u) * 14.5)/1.45 var(--hubot);
  letter-spacing: .01em;
}
/* the torn end lifts off the page a little (the roll's curl): a deeper, softer shadow under it */
.rcpt__turn::before {
  content: ""; position: absolute; z-index: -1; left: 7%; right: 2%; bottom: -6px; height: 26%;
  background: linear-gradient(180deg, rgb(46 36 24 / 0), rgb(46 36 24 / .16) 70%, rgb(46 36 24 / .2));
  border-radius: 0 0 40% 30% / 0 0 30% 30%;
  filter: blur(9px);
  transform: translate(6px, 6px) skewX(-4deg);
  pointer-events: none;
}
/* paper: fine grain and a slow, fibrous mottle, both multiplied into the tone */
.rcpt__paper::before, .rcpt__paper::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: multiply; }
.rcpt__paper::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .33  0 0 0 0 .27  0 0 0 0 .2  .55 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E") 0 0 / 200px; opacity: .5; }
.rcpt__paper::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .035' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .36  0 0 0 0 .28  1.1 0 0 0 -.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23f%29'/%3E%3C/svg%3E") 0 0 / 320px; opacity: .18; }

:where(.rcpt) :is(p, dl, dd, ol) { margin: 0; }
:where(.rcpt) ol { list-style: none; padding: 0; }

/* printed rules: dashes like a printer's "- - -", and a double one before the footnote */
.rcpt { --dash: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px); }
.rcpt__cols, .rcpt__list, .rcpt__item + .rcpt__item, .rcpt__foot { background: var(--dash) 0 0 / 100% 1px no-repeat; }
.rcpt__note { background: var(--dash) 0 0 / 100% 1px no-repeat, var(--dash) 0 3px / 100% 1px no-repeat; }

/* header: the wordmark printed as a logo (one ink: its paths read --ink and --red), the log's name
   tracked out, the live ISO week */
.rcpt__head { display: grid; justify-items: center; text-align: center; padding-bottom: calc(var(--u) * 24); }
.rcpt__logo { --ink: var(--rc-ink); --red: var(--rc-ink); display: block; width: 76%; height: auto; aspect-ratio: 6529 / 748; }
.rcpt__kind { margin-top: calc(var(--u) * 15); font: 500 max(11.5px, var(--u) * 13.5)/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .38em; padding-left: .38em; }
.rcpt__week { margin-top: calc(var(--u) * 10); }

.rcpt__cols {
  display: flex; justify-content: space-between;
  padding: calc(var(--u) * 13) 0 calc(var(--u) * 12);
  font: 500 max(11px, var(--u) * 12)/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .16em;
}

/* entries: the item line (date, verdict) and its modifiers below, dot leaders to the values */
.rcpt__item { padding: calc(var(--u) * 15) 0 calc(var(--u) * 16); }
.rcpt__main {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  margin-bottom: calc(var(--u) * 8);
  font: 500 max(13px, var(--u) * 16)/1.2 var(--hubot-c); text-transform: uppercase; letter-spacing: .07em;
}
.rcpt__date { white-space: nowrap; }
.rcpt__verdict { text-align: right; }
.rcpt__v { position: relative; display: inline-block; white-space: nowrap; }
.rcpt__det { display: grid; gap: calc(var(--u) * 2); }
.rcpt__row { display: flex; align-items: baseline; gap: 6px; }
.rcpt__row dt {
  flex: 1 1 auto; display: flex; align-items: baseline; gap: 6px; min-width: 0;
  font: 500 max(11px, var(--u) * 12.5)/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .13em; white-space: nowrap;
}
.rcpt__row dt::after { content: ""; flex: 1 1 auto; min-width: 10px; height: 1px; background: linear-gradient(90deg, currentColor 1px, transparent 1px) 0 0 / 3px 1px repeat-x; opacity: .8; }
.rcpt__row dd { flex: 0 1 auto; max-width: 66%; text-align: right; }

/* the footnote: the pen's asterisk hangs in the margin, the print stays flush */
.rcpt__note { position: relative; margin-top: 2px; padding: calc(var(--u) * 16) 0 calc(var(--u) * 15); }
.rcpt__fn { position: absolute; left: calc(var(--u) * -17); top: calc(var(--u) * 16); width: calc(var(--u) * 12); height: 1.45em; }
.rcpt__foot {
  padding-top: calc(var(--u) * 15);
  text-align: center; text-wrap: balance;
  font: 500 max(11px, var(--u) * 12)/1.5 var(--hubot-c); text-transform: uppercase; letter-spacing: .13em;
}

/* the red proofreader's pen on the paper: felt-tip ink, multiplied, so the print shows through */
.rcpt__pen { width: 100%; height: 100%; mix-blend-mode: multiply; }

/* ---------- formats: the proofreader's margin ----------
   Each format has a red-pen doodle in its margin. Desktop: the doodles hang in the empty column left of
   the list (a real margin), level with the label and title; below 1024 they get their own narrow column. */
.dokazy__formats { grid-column: 8 / span 5; display: grid; row-gap: 56px; padding-top: 8px; }
.dokazy__fmt { --dd: 52px; position: relative; transition: transform .6s var(--ease-out); }
.dokazy__when { color: var(--red-ink); margin-bottom: 14px; }
/* format names: the brand's L2 headline (.h3: Mona SemiExpanded Bold, sentence case), kept small
   so the receipt stays the hero of the section; the names read as a list of deliverables */
.dokazy__name {
  --size: clamp(22px, 2vw, 28px);
  position: relative;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 12px;
}
.dokazy__fmt > .dokazy__name:last-child { margin-bottom: 0; }
.dd {
  position: absolute; right: calc(100% + clamp(16px, 1.8vw, 28px)); top: -4px;
  width: var(--dd); height: var(--dd);
  overflow: visible; pointer-events: none; color: var(--red);
}
.dd path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.dokazy__ul { z-index: 0; }   /* laid over the title by JS (left, top) */
/* fine pointer: the item lifts a little while the doodle redraws; a tap does the same (.is-lift) */
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) and (pointer: fine) { .dokazy__fmt:hover { transform: translateY(-4px); } }
  .dokazy__fmt.is-lift { transform: translateY(-4px); }
}

/* ---------- the footnote: the concept's payoff ----------
   "The asterisk points to the proof below": the hero's red lacquer asterisk comes back as the
   footnote mark of the evidence standard, hung in the margin left of the line. The box is the
   64 px asterisk; the 600 px render (asterisk about 63.5 % of the frame, plus its soft shadow)
   overhangs it by 18 px on each side. */
.dokazy__foot { margin-top: clamp(88px, 9vw, 144px); }
.dokazy__note {
  --mk: 64px;
  grid-column: 2 / span 10;
  position: relative;
  max-width: 36ch;
  color: var(--ink);
}
.dokazy__text { display: block; }
.dokazy__mark {
  position: absolute;
  right: 100%;
  /* a footnote mark rides high: its centre sits on the cap line of the first line */
  top: calc(.58em - var(--mk) * .5 - .18em);
  width: var(--mk);
  height: var(--mk);
  margin-right: clamp(14px, 1.4vw, 22px);
  transform-origin: 50% 50%;
  pointer-events: none;
}
.dokazy__mark > img { position: absolute; inset: calc(var(--mk) * -.28); width: calc(var(--mk) * 1.56); height: calc(var(--mk) * 1.56); max-width: none; }

/* ---------- tablet and mobile: receipt not sticky, centred above the formats ---------- */
@media (max-width: 1023px) {
  .dokazy__title { grid-column: 1 / -1; }
  .dokazy__lead { grid-column: 1 / span 6; padding-bottom: 0; }
  .dokazy__aside { grid-column: 1 / -1; }
  .dokazy__sticky { position: static; }
  .rcpt { width: min(100%, 420px); --rc-tilt: -1.6deg; }
  .dokazy__formats { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--colgap); row-gap: 48px; margin-top: 80px; }
  /* no empty column to hang in: the doodle gets its own narrow column, level with the label and title */
  .dokazy__fmt { --dd: 46px; display: grid; grid-template-columns: var(--dd) minmax(0, 1fr); column-gap: 16px; align-content: start; }
  .dokazy__fmt > :not(.dd, .dokazy__ul) { grid-column: 2; }   /* the underline layer stays on the item box (JS sets its left, top) */
  .dd { position: static; grid-column: 1; grid-row: 1 / span 3; margin-top: -2px; }
  /* no margin to hang it in: the mark sits above the line, still on its left edge */
  .dokazy__note { --mk: 56px; grid-column: 1 / -1; max-width: 36ch; }
  .dokazy__mark { position: relative; right: auto; top: auto; display: block; margin: 0 0 18px; }
}

@media (max-width: 599px) {
  /* the melt hands over tightly on phones: no second band of white above the eyebrow */
  #dokazy { padding-top: 64px; }
  .dokazy__head { row-gap: 28px; }
  .dokazy__lead { grid-column: 1 / -1; }
  .dokazy__grid { margin-top: 56px; }
  /* a strip just narrower than the column: the resting tilt never reaches the screen edge */
  .rcpt { width: calc(100% - 10px); --rc-tilt: -1.2deg; }
  .dokazy__formats { grid-template-columns: minmax(0, 1fr); row-gap: 44px; margin-top: 72px; }
  .dokazy__fmt { --dd: 44px; column-gap: 14px; }
  .dokazy__note { font-size: 22px; }
}

/* ---- zaruky.css ---- */
/* S8 · Záruky. Spec: DESIGN-v6.md §4 S8 (ideas 2026-11 9.б, 9.д, 9.г, 17.г).
   A clean paper-2 band (no texture, no grain under the numbers) that climbs over the end of Dôkazy with a
   70° cut: its right part overlaps Dôkazy's bottom air, the flank between the two levels runs at 70°.
   The band runs on under Odchod (odchod.css), so the guarantees and the exit terms read as one block.
   The six commitments are table rows: number, name, one sentence (four tracks on desktop, 2x3 on phones). */

.zaruky {
  isolation: isolate;
  /* the overlap: how far the raised part of the band reaches into Dôkazy (inside its bottom padding) */
  --cut: clamp(44px, 5.2vw, 80px);
}
.zaruky__band {
  --cx-rest: 52%;   /* where the 70° flank starts (zaruky.js scrubs --cx in from the right edge to here) */
  position: absolute;
  /* 2 px into Odchod (same paper-2, painted over it): no hairline of white at a fractional seam */
  inset: calc(var(--cut) * -1) 0 -2px 0;
  z-index: -1;
  background: var(--paper-2);
  pointer-events: none;
  /* tan(70°) = 2.747: the flank's horizontal run is .364 of its height */
  clip-path: polygon(0 var(--cut), var(--cx, var(--cx-rest)) var(--cut), calc(var(--cx, var(--cx-rest)) + var(--cut) * .364) 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- head ---------- */
.zaruky__head { row-gap: 28px; align-items: end; }
/* one fixed track: the nowrap giant lines must never widen it (fitLines measures it) */
.zaruky__title { grid-column: 1 / span 8; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; }
.zaruky__title .h2 { width: 100%; }
.zaruky__lead { grid-column: 9 / span 4; padding-bottom: .4em; }
/* desktop: the lead's last line sits on the H2's last baseline (both items share one baseline group;
   the title block's last baseline is the H2's) instead of a padded box bottom */
@media (min-width: 1024px) {
  .zaruky__title, .zaruky__lead { align-self: last baseline; }
  .zaruky__lead { padding-bottom: 0; }
}
/* the eyebrow sits on paper-2: ink-2 keeps it readable */
#zaruky .eyebrow { color: var(--ink-2); }

/* ---------- the six commitments: table rows ---------- */
.zaruky__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(36px, 3.6vw, 56px);
  margin-top: clamp(72px, 8vw, 128px);
}
/* one row: number | name | sentence (two tracks), all on the number's baseline */
.zaruky__item {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--colgap);
  align-items: baseline;
  min-width: 0;
}
.zaruky__num { --size: clamp(56px, 6.4vw, 104px); line-height: 1; white-space: nowrap; color: var(--ink); text-transform: none; }
/* rows (600 px and up): the numbers set flush right against the names, so each row reads as one line */
@media (min-width: 600px) { .zaruky__num { justify-self: end; text-align: right; } }
/* Mona SemiExpanded Bold, proportional figures only (its tabular zero is slashed): js sets each
   digit window to its final digit's width and the strip is centred in it, so "12:00" sets like
   normal text once it lands */
.zaruky__num .dr__s > span { text-align: center; }
/* the window clips only vertically: a wider digit passing through a narrow window (0 through 1)
   is never cut into a bracket shape */
.zaruky__num .dr { overflow: visible; clip-path: inset(0 -.35em); }
.zaruky__num.red { color: var(--red); }
/* the name: the brand's L2 face (Mona SemiExpanded Bold, sentence case), a step above the sentence */
.zaruky__label {
  font: 700 clamp(18px, 1.45vw, 22px)/1.2 var(--semi); letter-spacing: -.02em;
  text-transform: none; color: var(--ink);
}
.zaruky__item .body { grid-column: 3 / span 2; max-width: 40ch; }

/* ---------- microcopy + live clock ---------- */
.zaruky__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 32px;
  row-gap: 16px;
  margin-top: clamp(72px, 7vw, 112px);
}
.zaruky__micro { max-width: 52ch; }
/* data in Hubot Sans, proportional figures (no slashed zero in 14:06) */
.zaruky__clock { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: normal; }

/* the band runs on under Odchod: no closing air under the foot, Odchod's own top air takes over */
.zaruky { padding-bottom: clamp(48px, 5vw, 72px); }

@media (max-width: 1023px) {
  .zaruky__title { grid-column: 1 / -1; }
  .zaruky__lead { grid-column: 1 / span 6; padding-bottom: 0; }
  .zaruky__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
  .zaruky__item .body { grid-column: 3; }
  .zaruky__label { padding-left: 8px; }   /* tablet: the column gap alone set the name tight to the number */
}
/* phones: 2x3 cells (number, name, sentence stacked), no tiles, no background of their own */
@media (max-width: 599px) {
  .zaruky { --cut: 40px; }
  .zaruky__band { --cx-rest: 34%; }
  .zaruky__head { row-gap: 28px; }
  .zaruky__lead { grid-column: 1 / -1; }
  .zaruky__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--colgap); row-gap: 48px; margin-top: 56px; }
  .zaruky__item { display: block; }
  .zaruky__num { --size: 17vw; }
  .zaruky__label { margin-top: 14px; padding-left: 0; font-size: clamp(15px, 4.4vw, 17px); }   /* 320: "Týždenný report" keeps clear of its neighbour */
  .zaruky__item .body { margin-top: 8px; text-wrap: balance; }   /* no single word alone on the last line */
  .zaruky__foot { margin-top: 56px; }
}

/* ---- odchod.css ---- */
/* S9 · Odchod: "VŠETKO PATRÍ VÁM." arrives as one line, then the window opens between the words and pushes
   them out to the gutters. Spec: DESIGN-v6.md §4 S9, type per STYLE-v6b.
   Display: Mona Display Black (var(--bs)); "Všetko" 4.69em, "patrí vám." 6.35em wide, so the row is sized
   by odchod.js (--fitR), never by a magic number. "7 dní" is a brand number: Mona Semi Bold, proportional figures. */

.odchod { --win: min(64vw, 400px); }
/* 9.g: the Záruky band runs on under the exit terms (no seam, no second band of white), so the
   guarantees and the conditions of leaving read as one block; Otázky starts the white again */
.odchod { background: var(--paper-2); }
#odchod .eyebrow { color: var(--ink-2); }   /* on paper-2, as in Záruky */
/* no scroll anchor inside this sticky-hold section: after an instant scroll (reload restore, a jump) Chrome
   anchored on it and threw the page 1700 px (a phone reloaded in Otázky came back in Odchod) */
.odchod { overflow-anchor: none; }
.odchod__stage { position: relative; }
.odchod__eyebrow { margin-bottom: clamp(28px, 4vw, 48px); }

/* the row: two giant words and the photo window between them */
.odchod__row {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(20px, 5vw, 32px);
  font-family: var(--bs); font-weight: 900; text-transform: uppercase;
  font-size: calc(var(--rs, 14.5vw) * var(--fitR, 1)); line-height: .86; letter-spacing: -.01em;
}
.odchod__w { display: block; white-space: nowrap; padding: .16em 0 .04em; margin: -.16em 0 -.04em; }
.odchod__w--r { text-align: right; }
.odchod__wi { display: inline-block; white-space: nowrap; }
.odchod__win { display: block; width: var(--win); aspect-ratio: 4 / 5; justify-self: center; }
/* base .ph shadow (--sh-2) behind a var: on desktop the window opens by a clip, which cuts the shadow,
   so odchod.js fades it back in (--shd 0 to 1) once the clip is dropped */
.odchod__win { box-shadow: 0 2px 6px rgb(10 10 10 / calc(.06 * var(--shd, 1))), 0 40px 80px -24px rgb(10 10 10 / calc(.28 * var(--shd, 1))); }
.odchod__win > img { transform-origin: 50% 60%; }

/* body, list, 7 dní */
.odchod__info { margin-top: clamp(40px, 9vw, 64px); display: grid; gap: 40px; }
.odchod__fig { container-type: inline-size; min-width: 0; }
.odchod__body { color: var(--ink-2); }
.odchod__list { margin-top: 24px; display: grid; gap: 12px; }
.odchod__list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 14px; align-items: baseline; font: 500 17px/1.4 var(--mona); color: var(--ink); }
.odchod__list .px-ast { transform: translateY(1px); }
/* "7 DNÍ" is 2.556em wide in Mona Semi 700 at -.03em: 38cqi keeps it inside its column at every width */
.odchod__num {
  font: 700 min(27vw, 38cqi)/.86 var(--semi); text-transform: uppercase; letter-spacing: -.03em;
  white-space: nowrap; font-variant-numeric: normal; padding-top: .1em; margin-top: -.1em;
}
.odchod__numt { display: inline-block; }
.odchod__numlabel { margin-top: 18px; color: var(--ink); }
/* a full sentence: Mona in sentence case, not the condensed caps label face */
.odchod__micro { margin-top: 28px; font: 400 15px/1.45 var(--mona); font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--ink-2); max-width: 34ch; }

@media (max-width: 599px) {
  .odchod__list li { font-size: 16px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .odchod { --win: min(52vw, 420px); }
  .odchod__row { --rs: 11vw; }
  .odchod__info { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--colgap); }
  .odchod__copy { grid-column: 1 / span 5; }
  .odchod__fig { grid-column: 6 / -1; align-self: start; }
  .odchod__num { font-size: min(13vw, 120px, 38cqi); }
}

/* desktop: one centred row, the sticky stage when motion is on */
@media (min-width: 1024px) {
  .odchod { --win: min(22vw, 34svh, calc(80svh - 300px)); }
  .odchod__eyebrow { display: flex; justify-content: center; margin-bottom: clamp(24px, 3.4svh, 40px); }
  .odchod__row {
    --rs: min(9vw, 150px);
    display: flex; align-items: center; justify-content: center; gap: var(--rg, clamp(16px, 2vw, 32px));
    line-height: .86;
  }
  .odchod__w { flex: none; padding: .16em .02em .04em; margin: -.16em -.02em -.04em; }
  .odchod__win { flex: none; justify-self: auto; }
  .odchod__info {
    margin-top: clamp(28px, 5svh, 56px);
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--colgap); row-gap: 0;
  }
  .odchod__copy { grid-column: 2 / span 6; }
  .odchod__fig { grid-column: 9 / -1; align-self: start; }
  .odchod__list { margin-top: 20px; gap: 10px; }
  /* lighter than the Black row, a step below it: the row stays the headline, 7 dní its proof */
  .odchod__num { font-size: min(7.4vw, 112px, 38cqi); }
  .odchod__numlabel { margin-top: 20px; }
  .odchod__micro { margin-top: 20px; }

  /* 45vh of sticky hold: the stage pins at p .625 of the timeline (odchod.js), the window is open at
     p .86, so two thirds of the opening happen pinned and ~14% of the range is a still beat */
  .motion .odchod { height: 145vh; padding-block: 0; }
  .motion .odchod__stage {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(64px, 9svh, 104px) clamp(24px, 4svh, 48px);
    overflow-x: clip;
  }
  .motion .odchod__w { will-change: transform; }
}

/* tablet and mobile: each word rises inside its own line clip (R1); the padding keeps Š Í Á inside it */
@media (max-width: 1023px) {
  .motion .odchod__w { overflow: hidden; }
}

/* the hold wrappers only exist below 1024 with motion on a screen at least 500 px tall: everywhere
   else they are transparent to layout (desktop stage, reduced motion, phones held sideways) */
.odchod__hold, .odchod__pin, .odchod__ebw { display: contents; }

/* Below 1024, the mobile take on the desktop line: "VŠETKO" over "PATRÍ VÁM." arrive as one tight
   two-line headline, the stage holds (CSS sticky, no pin), and the window opens between the words,
   pushing them apart to their places above and below it (odchod.js). The window is sized so the
   whole block always fits one screen under the nav. */
@media (max-width: 1023px) and (min-height: 500px) {
  /* no section padding above the hold: the pin's own nav clearance and centring are the air between Záruky
     and the headline (with both, ~45 % of the screen stood blank while the section came in) */
  .motion .odchod { --win: min(64vw, 400px, calc((100svh - 300px) * .8)); padding-top: 0; }
  .motion .odchod__hold { display: block; height: 190svh; }
  .motion .odchod__pin {
    display: flex; flex-direction: column; justify-content: center;
    position: sticky; top: 0; height: 100svh;
    padding-top: 56px;   /* clear of the fixed nav bar */
  }
  .motion .odchod__ebw { display: block; }
  .motion .odchod__win { will-change: clip-path; }
  .motion .odchod__win > img { will-change: transform; }
  .motion .odchod__info { margin-top: clamp(8px, 3vw, 24px); }
}
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 500px) {
  .motion .odchod { --win: min(52vw, 420px, calc((100svh - 380px) * .8)); }
}
/* a phone held sideways: the window stays within about 70 % of the screen height */
@media (max-width: 1023px) and (max-height: 499px) {
  .odchod { --win: min(52vw, 420px, 56svh); }
}

/* fitted row: see footer.css, base's reduced-motion rule would make --fitR measure a stale size */
.odchod__row, .odchod__w, .odchod__wi { transition-property: none !important; }

/* ---- otazky.css ---- */
/* S10 · Otázky: sticky H2, six numbered questions. Spec: DESIGN-v6.md §4 S10, type per STYLE-v6b, ideas 2026-11
   14.а (numbers 01-06, anchors #otazka-NN), 14.б (the "Nenašli ste odpoveď?" step), 14.г (the three key answers
   open without an accordion, the rest collapsed behind the red asterisk), 14.д (two-colour H2, closed
   questions in --ink-2). Questions are brand L2 headlines (Mona SemiExpanded Bold, sentence case, -.025em). */

.otazky__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--colgap); row-gap: clamp(40px, 8vw, 64px); }
.otazky__head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; }
.otazky__head .h2 { width: 100%; }
.otazky .nw { white-space: nowrap; }   /* "7-dňovým", "7-Day Log": never break at the hyphen */
.otazky__list { grid-column: 1 / -1; margin-inline: -8px; display: grid; gap: 0; }

.faq {
  --qfs: 18px; --pad: 16px; --nw: calc(var(--qfs) * 2.1);
  position: relative; isolation: isolate; padding: 0 var(--pad);
  scroll-margin-top: 96px;   /* #otazka-NN lands under the nav bar, not behind it */
  transition: padding .6s var(--ease-out);
}
.faq::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: var(--paper-2);
  opacity: 0; transform: scale(.985); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.faq.is-open { padding-block: 10px; }
.faq.is-open::before { opacity: 1; transform: none; }

.faq__h { font: inherit; }
.faq__q {
  display: flex; align-items: flex-start; gap: 0 20px;
  width: 100%; min-height: 44px; padding-block: 14px; text-align: left; border-radius: 12px;
  -webkit-tap-highlight-color: transparent;   /* the open state is the feedback, not a blue flash */
}
/* the number column: Mona Semi, proportional figures (its tabular zero is slashed), one fixed width so
   every question starts on the same line */
.faq__n {
  flex: none; width: var(--nw); margin-right: -20px;
  font: 700 var(--qfs)/1.18 var(--semi); letter-spacing: -.02em; font-variant-numeric: normal;
  color: var(--ink-2); transition: color .35s var(--ease-out);
}
/* closed questions in --ink-2 (8.6:1 on white), the open and the hovered ones in full ink */
.faq__t {
  flex: 1 1 auto; min-width: 0;
  font: 700 var(--qfs)/1.18 var(--semi); letter-spacing: -.025em; color: var(--ink-2);
  transition: color .35s var(--ease-out); text-wrap: pretty;
}
.faq__q:hover :is(.faq__t, .faq__n), .faq__q:focus-visible :is(.faq__t, .faq__n),
.faq.is-open :is(.faq__t, .faq__n), .faq--open :is(.faq__t, .faq__n) { color: var(--ink); }
/* touch: the question firms up under the finger before it opens */
@media (hover: none) { .faq__q:active :is(.faq__t, .faq__n) { color: var(--ink); transition-duration: .1s; } }
/* the vector asterisk has 8-fold symmetry, so a 45/90deg turn alone would end where it began:
   open = half a turn plus a step down in size (the footnote is resolved) */
.faq__ico {
  width: 18px; height: 18px; flex: none; color: var(--red);
  margin-top: calc((var(--qfs) * 1.18 - 18px) / 2);
  transition: transform .6s var(--ease-io);
}
.faq.is-open .faq__ico { transform: rotate(180deg) scale(.72); }

.faq__a {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .6s var(--ease-out), visibility 0s linear .6s;
}
.faq.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq__in { min-height: 0; overflow: hidden; }
.faq__in .body {
  padding: 2px 0 16px var(--nw); color: var(--ink-2);
  opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out);
}
.faq.is-open .faq__in .body { opacity: 1; transform: none; transition-delay: .08s, .04s; }

/* 14.г: the three key answers stand open, no button, no toggle; the collapsed ones follow after a beat */
.faq--open .faq__q { cursor: auto; }
.faq--open .faq__a { grid-template-rows: 1fr; visibility: visible; transition: none; }
.faq--open .faq__in .body { opacity: 1; transform: none; transition: none; padding-bottom: 18px; }
.faq--open + .faq:not(.faq--open) { margin-top: clamp(16px, 2vw, 28px); }

/* 14.б: the step for whoever the answers did not settle */
.otazky__more { grid-column: 1 / -1; display: grid; justify-items: start; gap: 24px; }
.otazky__ask { --size: clamp(28px, 3vw, 48px); line-height: 1.05; text-wrap: balance; }
.otazky__qm { margin-left: .07em; }   /* the caron of ď touched the question mark */
.otazky__cta .btn { transition: scale .12s var(--ease-out); }
.otazky__cta .btn:active { scale: .96; }

@media (min-width: 600px) {
  .faq { --pad: 24px; --qfs: 20px; }
  .otazky__list { margin-inline: -24px; }
}
@media (min-width: 1024px) {
  /* right padding: the footnote asterisk after OTÁZKY. must not touch the open item's block (which bleeds 24px left) */
  .otazky__head { grid-column: 1 / span 5; grid-row: 1 / span 2; position: sticky; top: 120px; align-self: start; padding-right: clamp(24px, 2.6vw, 44px); }
  .otazky__list { grid-column: 6 / -1; margin-inline: -24px 0; }
  .otazky__more { grid-column: 6 / -1; margin-top: clamp(16px, 2vw, 32px); }
  .faq { --qfs: clamp(20px, 1.7vw, 25px); }
  .faq__in .body { padding-right: 42px; }
}

/* ---- kontakt.css ---- */
/* S11 · Kontakt: final CTA, copyable e-mail, portrait with the glass chip. Spec: DESIGN-v6.md §4 S11, type per
   STYLE-v6b: H2 Mona Display Black, the e-mail as a brand L2 line (Mona SemiExpanded), chip label Hubot Condensed. */

.kontakt__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--colgap); row-gap: 64px; }
/* order in the source: text, e-mail row, photo (phones read it in that order); desktop puts the photo back in row 1 */
.kontakt__text { grid-column: 1 / -1; container-type: inline-size; min-width: 0; }
.kontakt__media { grid-column: 1 / -1; position: relative; }

/* the shared head rhythm: 28 px from the eyebrow to the H2 box (as Služby, Dôkazy, Záruky, Otázky). A block-level
   flex eyebrow: inline-flex sat in a line box whose strut added 5 to 6 px under it */
.kontakt__text > .eyebrow { display: flex; width: max-content; max-width: 100%; }
.kontakt__h { margin-top: 28px; }
.kontakt__lead { margin-top: clamp(28px, 3vw, 40px); color: var(--ink); max-width: 34ch; }
.kontakt__micro { margin-top: 14px; font: 400 16px/1.5 var(--mona); color: var(--mute); max-width: 44ch; }
.kontakt__cta {
  margin-top: clamp(32px, 3.4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
}

/* idea 15.г: what the first call is like. A label (the eyebrow's recipe, smaller rhythm) and three short lines,
   the lead words in ink, the rest in --ink-2. No rules, no cards: the asterisk list is the footnote language */
.kontakt__call { margin-top: clamp(28px, 2.8vw, 40px); max-width: 46ch; }
.kontakt__call-h { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.kontakt__steps { margin-top: 14px; display: grid; gap: 8px; font: 400 16px/1.45 var(--mona); color: var(--ink-2); counter-reset: st; }
.kontakt__steps li { position: relative; padding-left: 2em; text-wrap: pretty; }
.kontakt__steps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; left: 0; top: .2em; font: 600 12px/1.45 var(--semi); letter-spacing: .02em; color: var(--red-ink);
}
.kontakt__steps b { font-weight: 600; color: var(--ink); }

/* idea 12.в: the live line next to the CTA. Bratislava time from kontakt.js (no "online" claim), the 4-hour
   promise in ink right beside the button instead of grey under the lead */
.kontakt__status { display: grid; gap: 7px; line-height: 1.2; }
.kontakt__where { color: var(--mute); font-variant-numeric: tabular-nums; }
.kontakt__sla { color: var(--ink); }
.kontakt__time:empty { display: none; }

/* idea 15.в + 18.д: the e-mail is the main element of its own row, set as a heading (Mona Semi 600, the brand L2
   face), and stays plain selectable text. A click on it (without a drag selection) or on the Skopírovať label
   copies; the label turns to Skopírované in the same box for 1.5 s (both words are stacked in one grid cell,
   so the width never changes). Hover: the shared link recipe (base.css .u-link), the line draws in 240 ms.
   Size: the address is 13.42em wide; on desktop it shares the row with the label (about 190 px), below 1024 the
   label drops under it and the address takes the full width */
.kontakt__mail {
  grid-column: 1 / -1; container-type: inline-size; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 24px; row-gap: 0;
}
.kontakt__addr {
  --fs: min(calc(100cqi / 13.7), 96px);
  flex: 0 1 auto; min-width: 0;
  font: 600 var(--fs)/1.15 var(--semi); letter-spacing: -.025em; color: var(--ink); white-space: nowrap;
  /* >= 44 px tall at every size (21 px type at 320) */
  padding-block: max(0px, (44px - 1.15em) / 2);
  cursor: copy; -webkit-user-select: text; user-select: text; -webkit-tap-highlight-color: transparent;
  transform-origin: 0 50%;
}
.kontakt__addr-t { --ul: max(2px, .055em); padding-bottom: .04em; }
.kontakt__copybtn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px;
  color: var(--ink); white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.kontakt__copybtn .px-ast { transition: rotate .24s var(--ease-out); }
.kontakt__copy-s { display: inline-grid; }
.kontakt__copy-a, .kontakt__copy-b { grid-area: 1 / 1; transition: opacity .2s var(--ease-out), translate .3s var(--ease-out); }
.kontakt__copy-b { opacity: 0; translate: 0 .5em; }
.kontakt__copybtn.is-copied .kontakt__copy-a { opacity: 0; translate: 0 -.5em; }
.kontakt__copybtn.is-copied .kontakt__copy-b { opacity: 1; translate: none; color: var(--red-ink); }
.kontakt__copybtn.is-copied .px-ast { rotate: 140deg; }
@media (hover: hover) {
  .kontakt__copybtn:hover .px-ast { rotate: 70deg; }
  .kontakt__copybtn.is-copied:hover .px-ast { rotate: 140deg; }
  .kontakt__addr:hover .kontakt__addr-t { background-size: 100% var(--ul); }
}
.kontakt__copybtn:focus-visible { outline-offset: 2px; border-radius: 4px; }
/* press (KR-10): .96 in 120 ms */
@media (prefers-reduced-motion: no-preference) {
  .kontakt__copybtn { transition: scale .12s var(--ease-out); }
  .kontakt__copybtn:active { scale: .96; }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .kontakt__addr { transition: scale .5s var(--ease-out); }
  .kontakt__addr:active { scale: .96; transition-duration: .12s; }
}

/* photo and glass chip (the chip is a sibling of the masked figure, §2.6) */
.kontakt__ph { width: 100%; }
/* chip label = brand label: Hubot Sans Condensed Medium, caps, +.12em (in ink: it sits on glass).
   It sits inside the photo's bottom-left corner, never half over the white page */
.kontakt__chip {
  position: absolute; left: 16px; bottom: 16px; top: auto; z-index: 2;
  min-height: 48px; padding: 0 20px 0 16px; gap: 10px;
  font: 500 13px/1 var(--hubot-c); text-transform: uppercase; letter-spacing: .12em; color: var(--ink);
}
.kontakt__chip .px-ast { width: 10px; height: 10px; }

@media (min-width: 600px) and (max-width: 1023px) {
  .kontakt__media { grid-column: 3 / -1; }
}
@media (min-width: 1024px) {
  .kontakt__grid { align-items: end; row-gap: 0; }
  /* column 7 stays air between DOHODNIME and the photo */
  .kontakt__text { grid-column: 1 / span 6; padding-bottom: 8px; }
  .kontakt__media { grid-column: 8 / -1; grid-row: 1; }
  .kontakt__text { grid-row: 1; }
  .kontakt__mail { grid-row: 2; margin-top: clamp(64px, 7vw, 112px); flex-wrap: nowrap; justify-content: flex-start; column-gap: 36px; }
  .kontakt__addr { --fs: min(calc((100cqi - 220px) / 13.7), 96px); }
  .kontakt__copybtn { font-size: 14px; }
  .kontakt__chip { left: 24px; bottom: 24px; top: auto; min-height: 52px; padding: 0 22px 0 18px; font-size: 14px; }
}

/* Contact form (2026-11-20): posts to /api/kontakt (s70-form.service on the server, mail + Telegram).
   Fields are open lines, not boxes: the ink rule under each field is the structure, red on focus and on error.
   Labels use the brand label recipe in ink; "nepovinné" stays lowercase in --mute. 18 px text, so iOS never zooms. */
.kform { margin-top: clamp(32px, 3.4vw, 44px); max-width: 680px; }
.kform__fields { display: grid; gap: 26px; }
.kform__row { display: grid; gap: 26px; }
@container (min-width: 520px) { .kform__row { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.kform__f { display: grid; gap: 8px; min-width: 0; }
.kform__l { color: var(--ink); line-height: 1.2; }
.kform__opt { margin-left: .5em; text-transform: none; letter-spacing: .02em; color: var(--mute); }
.kform input, .kform textarea {
  width: 100%; min-height: 48px; padding: 10px 0 12px; margin: 0;
  font: 400 18px/1.4 var(--mona); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; outline: none; box-shadow: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.kform textarea { min-height: 128px; resize: vertical; }
.kform input:focus-visible, .kform textarea:focus-visible { border-bottom-color: var(--red-ink); box-shadow: 0 1.5px 0 var(--red-ink); }
.kform [aria-invalid="true"] { border-bottom-color: var(--red-ink); }
.kform input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--paper) inset; -webkit-text-fill-color: var(--ink); }
.kform__err { font: 400 14px/1.4 var(--mona); color: var(--red-ink); }
.kform__note { font: 400 14px/1.5 var(--mona); color: var(--mute); margin-top: -6px; }
.kform .kontakt__cta { margin-top: 4px; }
.kform__msg { font: 400 15px/1.5 var(--mona); color: var(--red-ink); max-width: 48ch; }
.kform__msg:empty { display: none; }
.kform__msg a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.kform__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.kform.is-busy .kform__send { opacity: .6; pointer-events: none; }
.kform__done { display: none; outline: none; }
.kform.is-sent .kform__fields { display: none; }
.kform.is-sent .kform__done { display: block; }
.kform__done-h { font: 600 clamp(26px, 3.2vw, 40px)/1.15 var(--semi); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.kform__done-p { margin-top: 14px; font: 400 17px/1.5 var(--mona); color: var(--ink-2); max-width: 40ch; }
@media (prefers-reduced-motion: no-preference) {
  .kform.is-sent .kform__done { animation: kform-in .6s var(--ease-out) both; }
  @keyframes kform-in { from { opacity: 0; translate: 0 14px; } }
}

/* ---- footer.css ---- */
/* S12 · Footer: an ink sheet under the page (owner, 2026-10-17: ink instead of cream, every breakpoint).
   main (z 1, white, rounded bottom corners) lifts off it; on black the white page edge and its round
   corners are the cue, the soft lift shadow of base main no longer reads there.
   Spec: DESIGN-v6.md §4 S12, type per STYLE-v6b: brand line in Mona SemiExpanded Bold + The Black Knight,
   links in Mona, the bar as one data row (clock in Hubot Sans, labels in Hubot Sans Condensed),
   the wordmark in Mona Expanded with a red 70. */

/* the page sheet: rounded bottom corners so the ink shows as main lifts (override of base main) */
#main { border-bottom-left-radius: clamp(20px, 2.8vw, 40px); border-bottom-right-radius: clamp(20px, 2.8vw, 40px); }

#footer {
  position: sticky; bottom: 0; z-index: 0;
  /* light text on ink: --f-fg 18:1, --f-mute (.62) about 7:1, var(--red) 5.5:1 */
  --f-fg: #F7F3EE; --f-mute: rgb(247 243 238 / .62);
  background: var(--ink); color: var(--f-fg); overflow: clip;
}
#footer.grain::before { opacity: .07; }
#footer :focus-visible { outline-color: var(--f-fg); }
#footer.is-static { position: relative; }
/* The sticky footer sits in the viewport under main from the first paint: hidden, it can be neither the LCP
   nor a layout shift. footer.js adds .is-far at once and swaps it for .is-near when the end of main is
   within one screen. If footer.js never runs, the failsafe shows it after 4 s. */
.js #footer:not(.is-near) { visibility: hidden; animation: footer-failsafe 0s linear 4s forwards; }
.js #footer.is-far { animation: none; }
@keyframes footer-failsafe { to { visibility: visible; } }
/* the reveal shade: under the page the sheet is dim and it brightens as main uncovers it (footer.js
   scrubs its opacity 1 to 0); a dark veil, since a light one would grey the ink */
.footer__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgb(0 0 0 / .42); opacity: 0; }

.footer__inner { position: relative; padding-top: clamp(64px, 7.2vw, 112px); }
.footer__top { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--colgap); row-gap: 40px; }
.footer__brand, .footer__nav, .footer__contacts { grid-column: 1 / -1; }

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: .14em; }
.footer__seven { font: 700 clamp(28px, 3vw, 46px)/1 var(--semi); letter-spacing: -.03em; }
.footer__zero { font: 400 clamp(40px, 5vw, 80px)/.8 var(--bk); color: var(--red); letter-spacing: 0; } /* --red on ink is 5.5:1 */

/* 16.b · the page index in Mona Display caps, one column, numbered as footnotes like the mobile menu */
.footer__bigs { display: grid; justify-items: start; }
.footer__bigs > li { display: flex; }   /* no line box: the small number's baseline must not stretch the row */
.footer__big {
  display: inline-flex; align-items: flex-start; min-height: 44px; padding: .07em 0 .02em;
  font: 900 clamp(34px, 3.4vw, 50px)/.92 var(--bs); text-transform: uppercase; letter-spacing: -.01em; color: var(--f-fg);
  -webkit-tap-highlight-color: transparent; transition: scale .12s var(--ease-out);
}
.footer__big:active { scale: .96; }
.footer__num {
  display: inline-flex; align-items: flex-start; gap: 2px; margin: .1em .34em 0 0;
  font: 600 max(12px, .26em)/1 var(--hubot-c); letter-spacing: .04em; text-transform: none; color: var(--f-mute);
}
.footer__num .px-ast { width: .85em; height: .85em; color: var(--red); transition: rotate .6s var(--ease-out); }
.footer__big-t { display: inline-block; transition: translate .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer__big:is(:hover, :focus-visible) .footer__big-t { translate: .1em 0; }
  .footer__big:is(:hover, :focus-visible) .footer__num .px-ast { rotate: 70deg; }
}

/* 16.g · contacts above the fine print, larger */
.footer__list { display: grid; align-content: start; justify-items: start; }
.footer__a, .footer__plain {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 16px/1.2 var(--mona); color: var(--f-fg); text-align: left; -webkit-tap-highlight-color: transparent;
}
.footer__plain { color: var(--f-mute); }
.footer__a .roll { height: 1.2em; }
/* hello@sector70agency.com is 12.6em wide in Mona 500: 20 px keeps it at 252 px inside a 320 px screen */
.footer__contacts .footer__a { font-size: clamp(20px, 2.3vw, 34px); letter-spacing: -.01em; min-height: max(44px, 1.6em); }
.footer__contacts .footer__a .roll { height: 1.25em; line-height: 1.25; }

.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px;
  margin-top: clamp(48px, 5.6vw, 88px);
}
.footer__up { flex-basis: 100%; order: -1; justify-content: flex-start; }
/* bar labels: brand label style in the light text colour (Hubot Sans Condensed, caps, +.12em) */
.footer__bar .footer__up, .footer__copy, .footer__s { font: 500 13px/1.2 var(--hubot-c); text-transform: uppercase; letter-spacing: .12em; }
.footer__copy { color: var(--f-mute); white-space: nowrap; }
/* the fine print: the legal links and the copyright as one small line (wraps on phones) */
.footer__fine { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer__s {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--f-mute); text-align: left;
  -webkit-tap-highlight-color: transparent; transition: color .25s var(--ease-out);
}
.footer__s:is(:hover, :focus-visible) { color: var(--f-fg); }
.footer__s .roll { height: 1.5em; line-height: 1.5; }
/* clock: Hubot Sans has no tabular figures (tnum is a no-op) and its 1 is .46em against ~.6em,
   so each digit sits in a fixed .64em cell (footer.js) and the seconds never shake the row */
.footer__clock { display: inline-flex; align-items: center; gap: .6em; color: var(--f-fg); white-space: nowrap; font-variant-numeric: normal; }
.footer__clock .px-ast { width: 10px; height: 10px; margin-right: .1em; }
.footer__clock time { display: inline-flex; }
/* without JS nothing ticks: the label reads BRATISLAVA, not a frozen 00:00:00; and the cookie settings
   button (no scripts, nothing to consent to) would do nothing */
html:not(.js) .footer__time, html:not(.js) .footer__legal li:has(> [data-cookie-open]) { display: none; }
.footer__d { display: inline-block; width: .64em; text-align: center; }
.footer__sep { display: inline-block; width: .32em; text-align: center; }

/* giant live-text wordmark, fitted to the full content width by footer.js */
.footer__mark { padding-top: clamp(28px, 3.6vw, 56px); padding-bottom: clamp(14px, 1.8vw, 28px); }
.footer__wm {
  font: 800 var(--wmfs, calc((100vw - 2 * var(--gutter)) / 6.45))/.8 var(--mona); font-stretch: 125%;
  letter-spacing: .02em; white-space: nowrap; color: var(--f-fg);
  overflow: hidden; padding-top: .1em; margin-top: -.1em; padding-bottom: .06em; margin-bottom: -.06em;
  user-select: none; -webkit-user-select: none;
}
.footer__g { display: inline-block; transform-origin: 50% 100%; }
.footer__g:last-child { letter-spacing: 0; }
.footer__70 { color: var(--red); }
/* 16.v · the red 70 turns 70° as one figure on hover (fine pointer) or tap (footer.js); inline-block so it can
   take a transform, which leaves the glyph run and its kerning unchanged */
.footer__70s { display: inline-block; }

@media (min-width: 600px) {
  .footer__top { row-gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1 / span 4; }
  .footer__contacts { grid-column: 5 / -1; align-self: end; }
  .footer__bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "clock up" "fine fine"; row-gap: 0; }
  .footer__clock { grid-area: clock; }
  .footer__up { grid-area: up; justify-self: end; }
  .footer__fine { grid-area: fine; }
}
/* tighter link rows only for a mouse: a tablet keeps 44 px tap targets */
@media (min-width: 600px) and (hover: hover) and (pointer: fine) {
  .footer__a, .footer__plain, .footer__s { min-height: 36px; }
  .footer__big { min-height: 0; }
}
@media (min-width: 1024px) {
  .footer__brand { grid-column: 1 / span 6; grid-row: 1; }
  .footer__contacts { grid-column: 1 / span 6; grid-row: 2; }
  .footer__nav { grid-column: 8 / -1; grid-row: 1 / span 2; }
  .footer__a, .footer__plain { font-size: 17px; }
}
/* wide screens: one data row (clock · Na začiatok · fine print) */
@media (min-width: 1280px) {
  .footer__bar { grid-template-columns: 1fr auto 1fr; grid-template-areas: "clock up fine"; column-gap: 24px; }
  .footer__up { justify-self: center; }
  .footer__fine { justify-content: flex-end; }
}

/* fitted type must resize instantly: base's reduced-motion rule turns every change into a .01ms
   transition (transition-property defaults to all), which makes the fit measure a stale size */
.footer__wm, .footer__g { transition-property: none !important; }

/* the hidden roll copy's caron must stay below the visible window at rest */
.footer__up .roll { height: 1.5em; line-height: 1.5; }

/* ---- cookies.css ---- */
/* SECTOR 70 · v6 · Cookie card. Spec: DESIGN-v6.md §4 "Cookie card", §2.6 glass.
   Glass .lg-card bottom-left. It enters by transform only: opacity, filter or clip-path on the card
   would turn it into a backdrop root and the glass would see nothing behind it. */

#cookies {
  position: fixed; z-index: 90; left: 20px; bottom: 20px; width: 380px; display: flex;
}
#cookies[hidden] { display: none; }
.cookies__card {
  --lg-r: 22px;
  --lg-tint: rgb(255 255 255 / .8);
  --lg-frost: 16;          /* heavy frost: buttons and type behind it diffuse instead of reading as stains */
  --lg-bezel: 18;          /* a calm rim: the card sits over running text, legibility first */
  --lg-refraction: 10;
  --lg-dispersion: .04;
  --lg-solid: var(--paper-2);
  width: 100%;
  padding: 24px 24px 18px; color: var(--ink);
}
.cookies__view[hidden] { display: none; }
.cookies__title {
  /* Mona Display 900 is ~1.45x wider than the old condensed face: 24 px keeps the title a label-sized wordmark */
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font: 900 24px/.9 var(--bs); text-transform: uppercase; letter-spacing: -.01em; color: var(--ink);
}
.cookies__text { font: 400 15px/1.5 var(--mona); font-stretch: 100%; color: var(--ink-2); margin: 0; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookies__btn { flex: 1 1 auto; }
.cookies__links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 6px; }
.cookies__link { font-size: 14px; }

.cookies__cats { display: grid; gap: 14px; margin-top: 4px; }
.cookies__cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.cookies__cat-name { font: 600 15px/1.3 var(--mona); font-stretch: 100%; color: var(--ink); }
.cookies__cat-text { font: 400 14px/1.45 var(--mona); font-stretch: 100%; color: var(--ink-2); margin-top: 2px; }

/* switch: 44 px tap target around a 40 x 24 track */
.cookies__switch {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 44px; flex: none; -webkit-tap-highlight-color: transparent;
}
.cookies__switch::before {
  /* off: an ink-tinted track with a hairline edge, readable on the white card and on the card over the ink footer
     (3:1 against the card and against the white knob); on: solid ink */
  content: ""; width: 40px; height: 24px; border-radius: 999px; background: rgb(10 10 10 / .46);
  box-shadow: inset 0 0 0 1px rgb(10 10 10 / .16);
  transition: background-color .35s var(--ease-out);
}
.cookies__knob {
  position: absolute; left: 6px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 1px rgb(10 10 10 / .12), 0 1px 2px rgba(10,10,10,.18), 0 2px 6px -2px rgba(10,10,10,.2);
  transition: translate .45s var(--ease-out);
}
.cookies__switch[aria-checked="true"]::before { background: var(--ink); }
.cookies__switch[aria-checked="true"] .cookies__knob { translate: 16px 0; }
.cookies__switch[aria-disabled="true"] { cursor: not-allowed; }
.cookies__switch[aria-disabled="true"]::before { background: var(--mute); }
.cookies__switch:focus-visible { outline-offset: 0; border-radius: 999px; }

@media (max-width: 599px) {
  /* compact on phones: tighter frame, the two choices side by side whenever they fit (375 px and up),
     body text stays 16 px. cookies.js docks the card under the nav while a page CTA would sit under it */
  #cookies { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  /* on a phone the card often sits over the black CTA pills: near-opaque body, the rim stays glass */
  .cookies__card { padding: 16px 16px 6px; --lg-tint: rgb(255 255 255 / .9); }
  .cookies__title { font-size: 20px; margin-bottom: 8px; }
  .cookies__text { font-size: 16px; line-height: 1.42; }
  .cookies__actions { margin-top: 14px; }
  .cookies__btn { padding: 0 14px; }
  .cookies__links { margin-top: 0; }
  .cookies__cats { gap: 10px; }
  .cookies__cat-text { font-size: 15px; }
  /* compact first view (~100 px): the title with "Nastavenia" on one row, the two choices under it; the
     explanation and "Viac o cookies" wait behind Nastavenia (the settings view carries both) */
  .cookies__card { padding: 4px 10px 10px 16px; }
  .cookies__view[data-view="main"] {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t l" "a a"; align-items: center;
  }
  .cookies__view[data-view="main"][hidden] { display: none; }
  [data-view="main"] .cookies__title { grid-area: t; margin: 0; }
  [data-view="main"] .cookies__text, [data-view="main"] [data-ck="more"] { display: none; }
  [data-view="main"] .cookies__links { grid-area: l; margin: 0; }
  [data-view="main"] .cookies__actions { grid-area: a; margin-top: 2px; }
  [data-view="settings"] { padding-top: 12px; }
  [data-view="settings"] .cookies__links { margin-top: 2px; }
}
/* Safari / Firefox path: same idea, more blur than the default card */
.cookies__card::before { -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(1.04); backdrop-filter: blur(28px) saturate(1.6) brightness(1.04); }
/* over the ink footer (cookies.js .is-on-ink) the body turns near opaque: the black page and the white wordmark
   behind it no longer grey the card or glow through it. The tint is the background's last layer (its colour), so
   it eases over. */
.cookies__card::before { transition: background-color .45s var(--ease-out), opacity .35s var(--lg-ease, ease), box-shadow .35s var(--lg-ease, ease); }
.cookies__card.is-on-ink { --lg-tint: rgb(255 255 255 / .95); }
/* small phones: a tighter card so it never takes over the screen (text stays 16 px: body minimum) */
@media (max-width: 374px) {
  #cookies { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .cookies__card { padding: 2px 8px 8px 12px; }
  .cookies__title { font-size: 18px; margin-bottom: 6px; }
  .cookies__text { line-height: 1.38; }
  /* the two choices side by side: natural widths (the longer label gets the room it needs), 12 px caps
     with tighter tracking, still 44 px tall */
  .cookies__actions { margin-top: 12px; gap: 6px; flex-wrap: nowrap; }
  .cookies__btn { flex: 1 1 auto; min-width: 0; padding: 0 10px; font-size: 12px; letter-spacing: .01em; }
  /* the settings view keeps the category names and switches; the one-line explanations go */
  .cookies__cat-text { display: none; }
}
