/* Front landing — copy of the V5 «Výběr» prototype stylesheet; Front additions at the end.
   V5 «Výběr» — V1 identity (navy, W.A.T.C.H. orange, Cabinet Grotesk + Satoshi, same screens and copy),
   more air, drawn infographics instead of photos, and two complete themes driven by tokens only. */

:root {
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, sans-serif;

  --navy: #0f172a;
  --orange: #ff790f;

  /* Light theme */
  --bg: #ffffff;
  --surface: #f5f7fa;
  --text: #0f172a;
  --muted: #5f7089;
  --primary: #ff790f;
  --primary-hover: #ef6500;
  --primary-ink: #c24f00;      /* small orange text on light ground, AA */
  --accent-text: #ef6500;      /* large orange display text, ≥3:1 on light */
  --border: #e2e8f0;
  --line-strong: #c9d2df;      /* unlit ticks */
  --veil: 243 246 251;         /* hero veil, rgb triplet of the frame's calm side */
  --hero-lead: #3d4b61;
  --frame-bg: #fefefe;         /* background of the light service schematics */
  --shot-bar: #e2e8f0;
  --shot-dot: #b6c0cf;
  --field-bg: #ffffff;
  --field-text: #0f172a;
  --field-border: rgb(15 23 42 / 0.18);
  --field-placeholder: #5f7089;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --shadow-rgb: 15 23 42;
  --art-blend: darken;          /* platform art melts into the white ground */

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 180ms var(--ease);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 82rem;
  /* V1 is clamp(5rem, 11vw, 10rem); V5 keeps ≥1.4× of it at 390 and at 1440 */
  --section-y: clamp(7.25rem, 15.6vw, 14.5rem);
  --header-h: 4.5rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f172a;
    --surface: #131d31;
    --text: #f9fbff;
    --muted: #b6c0cf;
    --primary: #ff841f;
    --primary-hover: #ff9640;
    --primary-ink: #ff9640;
    --accent-text: #ff841f;
    --border: #263652;
    --line-strong: #3a4d70;
    --veil: 15 23 42;
    --hero-lead: #d7deea;
    --frame-bg: #0a132b;
    --shot-bar: #263652;
    --shot-dot: #5f7089;
    --field-bg: #0f172a;
    --field-text: #f9fbff;
    --field-border: rgb(15 23 42 / 0.55);
    --field-placeholder: #b6c0cf;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9fbff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --shadow-rgb: 2 6 23;
    --art-blend: lighten;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f172a;
  --surface: #131d31;
  --text: #f9fbff;
  --muted: #b6c0cf;
  --primary: #ff841f;
  --primary-hover: #ff9640;
  --primary-ink: #ff9640;
  --accent-text: #ff841f;
  --border: #263652;
  --line-strong: #3a4d70;
  --veil: 15 23 42;
  --hero-lead: #d7deea;
  --frame-bg: #0a132b;
  --shot-bar: #263652;
  --shot-dot: #5f7089;
  --field-bg: #0f172a;
  --field-text: #f9fbff;
  --field-border: rgb(15 23 42 / 0.55);
  --field-placeholder: #b6c0cf;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9fbff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --shadow-rgb: 2 6 23;
  --art-blend: lighten;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; }
::selection { background: var(--orange); color: #0f172a; }
/* --primary-ink, not the orange: ≥ 4.3:1 on the light grounds (#c24f00 on #fff / #f5f7fa / the hero veil), #ff9640 in dark */
:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: color-mix(in srgb, var(--muted) 55%, transparent) var(--bg); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--orange); color: #0f172a; padding: 0.6rem 1rem; border-radius: var(--radius-md);
  font-weight: 700; text-decoration: none; transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.section-title {
  font: 800 clamp(2.25rem, 4.6vw, 4.25rem)/1.02 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 18ch;
}
.accent { color: var(--accent-text); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.7rem 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 3.375rem; padding: 0.95rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn-primary { background: var(--orange); color: #0f172a; box-shadow: 0 8px 20px -10px rgb(var(--shadow-rgb) / 0.45); }
.btn-primary:hover { background: #ff8a2e; box-shadow: 0 12px 26px -10px rgb(var(--shadow-rgb) / 0.55); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
/* Ghost = the solid header's ground (opaque --bg, --border hairline, its soft drop), so the label sits on the
   page colour wherever the hero frame or video runs under it; hover takes the --text edge and the --surface fill. */
.btn-ghost {
  color: var(--text); background: var(--bg); border-color: var(--border);
  box-shadow: 0 10px 24px -14px rgb(var(--shadow-rgb) / 0.45);
}
.btn-ghost:hover { border-color: var(--text); background: var(--surface); box-shadow: 0 12px 26px -12px rgb(var(--shadow-rgb) / 0.55); }

.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 999px; border: 1px solid var(--hdr-border); background: transparent; color: inherit;
  cursor: pointer; transition: background-color var(--t), border-color var(--t);
}
.icon-btn:hover { background: var(--hdr-hover); }

/* ---------- Header: theme colours over the hero, solid page ground after it ----------
   Solid by default: the see-through ground over the hero exists only with JS (html.logo-run, set in <head> and
   dropped again when script.js fails to load), since only script.js turns the header solid on scroll. */
.site-header {
  --hdr-border: color-mix(in srgb, var(--text) 24%, transparent);
  --hdr-hover: color-mix(in srgb, var(--text) 8%, transparent);
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--text);
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.site-header.is-solid {
  --hdr-border: var(--border);
  --hdr-hover: var(--surface);
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border), 0 10px 30px -20px rgb(var(--shadow-rgb) / 0.35);
}
.nav {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  height: var(--header-h); display: flex; align-items: center; gap: 2rem;
}
/* Logo (see NOTES «Logo»). The flat brand/logo.svg sits in the header at its working size --logo-w (120 px
   desktop, 100 px phone: the bubble as tall as the 44 px header controls, letters a step above the 17 px links).
   With JS (html.logo-run, set inline in <head>) it starts --logo-big times larger, hanging from the slot's top-left
   corner, and --logo-p (script.js, 0 → 1 over the first ~130 px of scroll) brings it into the slot; scale/translate
   only, the header keeps its 72 px. No JS: the working size, static. */
.site-header { --logo-w: 7.5rem; --logo-big: 2; --logo-drop: 0.5rem; }
.brand { display: block; flex: none; }
.brand img { width: var(--logo-w); height: auto; }
.logo-run .brand img {
  --s: calc(var(--logo-big) - (var(--logo-big) - 1) * var(--logo-p, 0));
  transform-origin: 0 0;
  transform: translateY(calc((1 - var(--logo-p, 0)) * var(--logo-drop))) scale(var(--s));
}
/* While it runs, the header ground comes in with the same progress (solid at 1, script.js) */
.logo-run .site-header:not(.is-solid):not(.is-open) {
  background: color-mix(in srgb, var(--bg) calc(var(--logo-p, 0) * 100%), transparent);
  box-shadow: none;
  transition: box-shadow 300ms var(--ease);
}
.logo-run .site-header.is-open .brand img { transform: none; }
@media (max-width: 560px) {
  .site-header { --logo-w: 6.25rem; --logo-big: 1.6; --logo-drop: 0.375rem; }
}
.nav-links { display: flex; gap: 2rem; margin-left: auto; font-weight: 500; }
.nav-links a { text-decoration: none; position: relative; padding: 0.4rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .nav { gap: 0.75rem; }
  .nav-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg); color: var(--text); box-shadow: 0 20px 40px -24px rgb(var(--shadow-rgb) / 0.5);
    font: 700 1.5rem/1.2 var(--font-display);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s 220ms;
  }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .site-header.is-open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-header.is-open { background: var(--bg); --hdr-border: var(--border); }
}

/* ---------- 1 · Hero: frame, veil and type all follow the theme ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  background: rgb(var(--veil)); color: var(--text);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--veil) / 0.94) 0%, rgb(var(--veil) / 0.74) 32%, rgb(var(--veil) / 0) 60%),
    linear-gradient(0deg, rgb(var(--veil) / 0.8) 0%, rgb(var(--veil) / 0) 26%);
}
/* The frame starts below the transparent header and fades in over 2.75rem, so the menu always sits on
   the plain veil colour of the theme (no icon ring, sparks or map lines behind the links). */
@media (min-width: 721px) {
  .hero-media {
    top: var(--header-h); height: calc(100% - var(--header-h));
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 2.75rem);
    mask-image: linear-gradient(180deg, transparent, #000 2.75rem);
  }
}
.hero-inner {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  padding-block: calc(var(--header-h) + 4rem) 9rem;
}
.hero-title {
  font: 800 clamp(2.75rem, 5.6vw, 5.75rem)/0.98 var(--font-display);
  letter-spacing: -0.035em;
  max-width: 11.5ch;
  text-wrap: balance;
}
.hero-lead { margin-top: 1.75rem; max-width: 34ch; font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); color: var(--hero-lead); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 3rem; }
.hero-rail {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  display: flex; gap: 0; padding-block: 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  font: 500 0.875rem/1 var(--font-body); color: var(--muted); letter-spacing: 0.02em;
}
.hero-rail span + span::before { content: '·'; margin: 0 0.75rem; color: var(--orange); }

/* Hero copy arrives with the video (inline script in the hero, see NOTES «Hero copy»). Only under .is-text-wait
   (the video is about to play) is the copy held back; .is-text-in (on watch:hero-play, safety timer, end or error)
   lets it in while the beam draws its ring: H1 word by word rising out of its own line (clip-path + transform),
   then the lead, the two buttons and the rail. All in by ~2.1 s after the first frame plays; the video runs 5 s.
   Layout never moves: only clip-path, transform, opacity. */
.hero-title .hw { display: inline-block; }
.is-text-wait .hero-title .hw {
  transition: clip-path 760ms var(--ease) calc(80ms + var(--w, 0) * 75ms), transform 760ms var(--ease) calc(80ms + var(--w, 0) * 75ms);
  clip-path: inset(-0.2em -0.1em -0.25em -0.1em);
}
.is-text-wait .hero-lead { transition: opacity 800ms var(--ease) 720ms, transform 800ms var(--ease) 720ms; }
.is-text-wait .hero-actions > * { transition: opacity 700ms var(--ease) 980ms, transform 700ms var(--ease) 980ms, background-color var(--t), color var(--t), border-color var(--t), box-shadow var(--t); }
.is-text-wait .hero-actions > * + * { transition-delay: 1080ms, 1080ms, 0s, 0s, 0s, 0s; }
.is-text-wait .hero-rail { transition: opacity 900ms var(--ease) 1250ms; }
.is-text-wait:not(.is-text-in) .hero-title .hw { clip-path: inset(100% -0.1em -0.25em -0.1em); transform: translateY(0.62em); }
.is-text-wait:not(.is-text-in) .hero-lead { opacity: 0; transform: translateY(0.9rem); }
.is-text-wait:not(.is-text-in) .hero-actions > * { opacity: 0; transform: translateY(0.75rem); }
.is-text-wait:not(.is-text-in) .hero-rail { opacity: 0; }

@media (max-width: 720px) {
  .hero { align-items: end; }
  /* The frame starts under the header band and is sized from the H1 top (40svh). */
  .hero-media {
    top: var(--header-h); height: min(24rem, calc((40svh - 5.75rem) / 0.762)); bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 1rem, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(180deg, transparent, #000 1rem, #000 calc(100% - 3rem), transparent);
  }
  .hero-shade {
    background:
      linear-gradient(0deg, rgb(var(--veil)) 0%, rgb(var(--veil)) 46%, rgb(var(--veil) / 0) 62%),
      linear-gradient(180deg, rgb(var(--veil) / 0.7) 0%, rgb(var(--veil) / 0) 18%);
  }
  /* Bottom padding keeps the CTAs clear of the Tweaks corner icon (≥56px above the rail) */
  .hero-inner { padding-block: 40svh 7.75rem; }
  .hero-title { font-size: clamp(2.375rem, 10.5vw, 3.125rem); }
  .hero-lead { margin-top: 1.25rem; }
  .hero-actions { margin-top: 2rem; }
  .hero-actions .btn { width: 100%; }
  .hero-rail { padding-block: 1.3rem; padding-right: 3.5rem; }
}

/* ---------- 2 · Clients: logos stay on light plates in both themes ---------- */
.clients { background: var(--surface); padding-block: clamp(2.75rem, 5.5vw, 4.25rem); overflow: hidden; border-bottom: 1px solid var(--border); }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 1.25rem; width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  flex: none; display: grid; place-items: center;
  width: 11rem; height: 4.5rem; padding: 0.75rem 1.1rem;
  background: #ffffff; border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.marquee-track img { width: 100%; height: 100%; object-fit: contain; }
.marquee-track .wordmark { font: 800 1.35rem/1 var(--font-display); color: #0f172a; letter-spacing: -0.01em; }
.marquee-track .wordmark.more { font: 700 0.95rem/1.2 var(--font-body); color: #5f7089; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
  .marquee-track [data-clone] { display: none; }
}

/* ---------- 4 · Services: pinned strip of schematic panels ---------- */
/* Default (no JS, narrow screens, reduced motion): a swipeable scroll-snap row of panels, art above copy.
   script.js adds .is-pinned on wide screens: the stage sticks, the track follows vertical scroll. */
.services { background: var(--surface); padding-block: var(--section-y); }
.services-stage { position: relative; }
.services-track {
  display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: min(82vw, 25rem);
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.4vw, 2rem);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.services-track::-webkit-scrollbar { display: none; }
.services-intro {
  grid-row: 1; grid-column: 1 / span 3; position: sticky; left: 0;
  width: min(100vw - 2 * var(--gutter), 60rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.services-intro .section-title { max-width: 11ch; }
.services-cue { color: var(--primary-ink); }
.frame {
  grid-row: 2; position: relative; overflow: hidden; scroll-snap-align: start;
  display: flex; flex-direction: column;
  border-radius: var(--radius-xl); background: var(--frame-bg); border: 1px solid var(--border);
}
.frame-art { aspect-ratio: 4 / 5; overflow: hidden; }
.frame-art img { width: 100%; height: 100%; object-fit: cover; }
/* theme art gets its src from script.js; without JS the <noscript> twin (dark file) stands in */
img[data-art-dark]:not([src]) { display: none; }
.frame-copy { padding: 1.5rem 1.75rem 2rem; border-top: 1px solid var(--border); }
.frame h3 { font: 800 clamp(1.625rem, 2.4vw, 2.25rem)/1.02 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.frame p { margin-top: 0.85rem; color: var(--muted); max-width: 36ch; font-size: 1rem; text-wrap: pretty; }
.services-progress { display: none; }

.services.is-pinned { padding-block: 0; }
.services.is-pinned .services-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--header-h) + 3rem) 4.5rem;
}
.services.is-pinned .services-track {
  display: flex; gap: clamp(2rem, 3vw, 3rem); overflow: visible; scroll-snap-type: none; height: 100%; width: max-content;
  padding-inline: var(--gutter) 14vw; will-change: transform;
}
.services.is-pinned .services-intro { position: static; flex: none; width: clamp(20rem, 28vw, 26rem); flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-bottom: 1rem; }
.services.is-pinned .frame { flex: none; height: 100%; flex-direction: row; }
.services.is-pinned .frame-art { height: 100%; flex: none; }
.services.is-pinned .frame-copy {
  width: clamp(17rem, 21vw, 20rem); border-top: 0; border-left: 1px solid var(--border);
  padding: clamp(2rem, 3vw, 2.75rem); display: flex; flex-direction: column; justify-content: flex-end;
}
.services.is-pinned .frame-art img { transform: scale(1.05); transition: transform 1200ms var(--ease); }
.services.is-pinned .frame.is-near .frame-art img { transform: scale(1); }
.services.is-pinned .services-progress {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem;
  height: 2px; background: var(--border);
}
.services-progress span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--services-p, 0)); }

/* ---------- 3 · Figures: three drawn instruments ---------- */
.figures { background: var(--bg); padding-block: var(--section-y); }
.figures-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3.5rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem); }
.fig { display: grid; justify-items: center; align-content: start; gap: 2rem; text-align: center; }
.fig-stage { position: relative; width: min(100%, 17rem); aspect-ratio: 1; }
.fig-art { display: block; width: 100%; height: 100%; overflow: visible; }
.fig-label { font: 700 clamp(1.25rem, 1.7vw, 1.5rem)/1.15 var(--font-display); letter-spacing: -0.01em; max-width: 15ch; text-wrap: balance; }
.fig-label b { color: var(--accent-text); font-weight: 800; }
.fig-cap { font: 500 13px var(--font-body); fill: var(--muted); letter-spacing: 0.02em; }

/* Counter: a CSS counter on a registered integer, counting up on reveal; final value without JS. */
@property --n { syntax: '<integer>'; inherits: true; initial-value: 0; }
.figure {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 900 clamp(4rem, 6.2vw, 5.75rem)/1 var(--font-display); letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  --n: var(--to); counter-reset: n var(--n); transition: --n 1600ms cubic-bezier(0.22, 1, 0.36, 1) 250ms;
}
.figure .num::before { content: counter(n); }
.figure .plus { color: var(--accent-text); }
.figure:has(.plus) { grid-auto-flow: column; place-content: center; }
.fig--weeks .figure { inset: 0 0 auto; height: 62%; }

/* 26 — ticks light one by one along the dial arc */
.fig-track { fill: none; stroke: var(--border); stroke-width: 2; }
.fig-sweep { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms cubic-bezier(0.22, 1, 0.36, 1) 250ms; }
.fig-ticks line { stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; transition: stroke 300ms var(--ease) calc(250ms + var(--i) * 55ms); }
/* 8+ — spokes draw out from the hub, nodes pop in, faint orbit dots stand for «+» */
.fig-orbit { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 2 7; }
.fig-spokes line { stroke: var(--primary); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.75; transition: stroke-dashoffset 700ms var(--ease) calc(250ms + var(--i) * 120ms); }
.fig-nodes circle { fill: var(--primary); stroke: var(--bg); stroke-width: 3; transform-box: fill-box; transform-origin: center; transition: transform 500ms var(--ease) calc(450ms + var(--i) * 120ms); }
.fig-more { fill: var(--muted); opacity: 0.7; transition: opacity 500ms var(--ease) calc(400ms + var(--i) * 120ms); }
.fig-hub { fill: var(--bg); stroke: var(--border); stroke-width: 1.5; }
/* 4 — four week segments fill from contract to launch */
.fig-base { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 3 5; }
.fig-weeks rect { fill: var(--primary); transform-box: fill-box; transform-origin: 0 50%; transition: transform 520ms var(--ease) calc(300ms + var(--i) * 260ms); }
.fig-flag { fill: var(--primary); stroke: var(--text); stroke-width: 2; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 100%; transition: transform 500ms var(--ease) 1400ms; }

.reveal-ready .fig:not(.is-revealed) .figure { --n: 0; }
.reveal-ready .fig:not(.is-revealed) .fig-sweep { stroke-dashoffset: 1; }
.reveal-ready .fig:not(.is-revealed) .fig-ticks line { stroke: var(--line-strong); }
.reveal-ready .fig:not(.is-revealed) .fig-spokes line { stroke-dashoffset: 1; }
.reveal-ready .fig:not(.is-revealed) .fig-nodes circle { transform: scale(0); }
.reveal-ready .fig:not(.is-revealed) .fig-more { opacity: 0; }
.reveal-ready .fig:not(.is-revealed) .fig-weeks rect { transform: scaleX(0); }
.reveal-ready .fig:not(.is-revealed) .fig-flag { transform: scaleY(0); }
.fig-label { transition: opacity 700ms var(--ease) 500ms, transform 800ms var(--ease) 500ms; }
.reveal-ready .fig:not(.is-revealed) .fig-label { opacity: 0; transform: translateY(0.75rem); }

@media (max-width: 860px) {
  .figures-row { grid-template-columns: 1fr; max-width: 24rem; }
  .fig-stage { width: min(100%, 15rem); }
}

/* ---------- 5 · Platform: core + six modules on a dial, numbered pins, notes led to the pins ---------- */
.platform { background: var(--bg); padding-block: var(--section-y); }
.platform-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.platform .section-title { max-width: 15ch; }
.platform-lead { color: var(--muted); max-width: 36ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); text-wrap: pretty; }

.pmap { position: relative; margin-top: clamp(4rem, 8vw, 7rem); container-type: inline-size; }
.pmap-art { position: relative; width: min(100%, 34rem); margin-inline: auto; }
.pmap-art img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  /* soft edges, so the art's off-white / off-navy ground never shows as a square */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}
/* the art's own ground melts into the page ground: the dark art is a hair darker than --bg (lighten),
   the light art is white on white (darken); no visible square in either theme */
.pmap-art img { mix-blend-mode: var(--art-blend); }
.pmap-pins li {
  position: absolute; left: calc(var(--px) * 100%); top: calc(var(--py) * 100%);
  width: 1.75rem; height: 1.75rem; margin: -0.875rem 0 0 -0.875rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #0f172a; box-shadow: 0 0 0 4px var(--bg);
  font: 800 0.875rem/1 var(--font-display); font-variant-numeric: tabular-nums;
}

.pnote { position: relative; display: flex; align-items: flex-start; gap: 1rem; }
.pnote-icon {
  flex: none; position: relative; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; color: var(--text);
}
.pnote-icon .ic-accent { stroke: var(--primary); }
.pnote-icon::after {
  /* Decorative: the <ol> already numbers the notes for AT (the icon span is aria-hidden as well) */
  content: attr(data-n); content: attr(data-n) / ""; position: absolute; top: -0.2rem; right: -0.45rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #0f172a; box-shadow: 0 0 0 2px var(--bg);
  font: 800 0.6875rem/1 var(--font-display);
}
.pnote-text { min-width: 0; padding-top: 0.55rem; }
.pnote h3 { font: 800 clamp(1.125rem, 1.4vw, 1.375rem)/1.15 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.pnote p { margin-top: 0.35rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; text-wrap: pretty; max-width: 34ch; }

/* ≥1081 px: art in the middle, three notes per side at the height of their module, a leader line
   from the note's icon to the module's pin (lengths from the pin position --px/--py and the art size). */
@media (min-width: 1081px) {
  .pmap { --fig: min(40rem, 44cqi); --gap: clamp(2.5rem, 4.5cqi, 5rem); padding-bottom: 3rem; }
  .pmap-art { width: var(--fig); }
  .pmap-notes { position: absolute; inset: 0; }
  .pnote { position: absolute; top: calc(var(--py) * var(--fig) - 1.375rem); width: calc((100% - var(--fig)) / 2 - var(--gap)); }
  .pnote--left { left: 0; flex-direction: row-reverse; text-align: right; }
  .pnote--left p { margin-left: auto; }
  .pnote--right { right: 0; }
  .pnote::before {
    content: ''; position: absolute; top: 1.375rem; height: 1px;
    background: color-mix(in srgb, var(--text) 45%, transparent);
  }
  .pnote--left::before { left: calc(100% + 0.75rem); width: calc(var(--gap) - 0.75rem + var(--px) * var(--fig) - 0.875rem); transform-origin: left; }
  .pnote--right::before { right: calc(100% + 0.75rem); width: calc(var(--gap) - 0.75rem + (1 - var(--px)) * var(--fig) - 0.875rem); transform-origin: right; }
}
@media (max-width: 1080px) {
  .platform-head { grid-template-columns: 1fr; }
  .pmap-notes { margin-top: clamp(3rem, 7vw, 4rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
  .pnote { padding-top: 1.25rem; border-top: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .pmap-notes { grid-template-columns: 1fr; gap: 1.75rem; }
  .pmap-pins li { width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; font-size: 0.75rem; box-shadow: 0 0 0 3px var(--bg); }
}

/* ---------- 6 · How it works: dial of four quarters, the hand follows the scroll ---------- */
.steps { background: var(--surface); padding-block: var(--section-y); }
.steps-inner .section-title { max-width: 13ch; }
.route {
  --route: 1;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center;
}
.dial-wrap { width: min(100%, 30rem); justify-self: center; }
.dial { display: block; width: 100%; height: auto; overflow: visible; }
.dial-face { fill: var(--bg); stroke: var(--border); stroke-width: 1.5; }
.dial-ticks line { stroke: var(--line-strong); stroke-width: 1.5; stroke-linecap: round; }
.dial-ticks .major { stroke: var(--text); stroke-width: 3; }
.dial-quarter-track { fill: none; stroke: var(--border); stroke-width: 14; }
.dial-quarter { fill: none; stroke: var(--primary); stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fill, 1)); }
.dial-num { font: 800 30px var(--font-display); fill: var(--text); transition: fill 400ms var(--ease); }
.dial-hand { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(calc(var(--route) * 360deg)); }
.dial-hand line { stroke: var(--text); stroke-width: 4; stroke-linecap: round; }
.dial-hand circle { fill: var(--primary); }
.dial-cap { fill: var(--text); }
.route-live .dial-num:not(.is-reached) { fill: var(--line-strong); }

.stations { position: relative; display: grid; }
.station {
  display: grid; grid-template-columns: 3.25rem 1fr; align-items: center; gap: 1.5rem;
  padding-block: clamp(1.5rem, 2.4vw, 2.25rem); border-top: 1px solid var(--border);
}
.station:last-child { border-bottom: 1px solid var(--border); }
.station-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--primary); border: 1.5px solid var(--primary); color: #0f172a;
  font: 800 1.25rem/1 var(--font-display);
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease);
}
.station h3 { font: 800 clamp(1.5rem, 2.6vw, 2.5rem)/1.05 var(--font-display); letter-spacing: -0.02em; transition: opacity 500ms var(--ease), transform 600ms var(--ease); }
.route-live .station:not(.is-reached) .station-num { background: var(--surface); border-color: var(--line-strong); color: var(--muted); }
.route-live .station:not(.is-reached) h3 { opacity: 0.35; transform: translateX(0.4rem); }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; margin-top: 3rem; }
  .dial-wrap { display: none; }
  /* Vertical scale: grey track and the orange fill through the step numbers */
  .stations::before, .stations::after { content: ''; position: absolute; left: calc(1.625rem - 1px); top: 2.5rem; bottom: 2.5rem; width: 2px; }
  .stations::before { background: var(--line-strong); }
  .stations::after { background: var(--orange); transform-origin: top; transform: scaleY(var(--route)); }
  .station, .station:last-child { border: 0; padding-block: 1.6rem; }
}

/* ---------- 7 · FAQ: one wide column ---------- */
.faq { background: var(--bg); padding-block: var(--section-y); }
.faq-inner { max-width: 62rem; }
.faq-title { max-width: 16ch; }
.faq-list { margin-top: clamp(3rem, 6vw, 5rem); border-top: 2px solid var(--text); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  font: 800 clamp(1.5rem, 3vw, 2.5rem)/1.08 var(--font-display); letter-spacing: -0.025em;
  transition: color var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-ink); }
.faq-mark { flex: none; position: relative; width: 3.25rem; height: 3.25rem; border-radius: 999px; border: 1.5px solid var(--border); color: var(--text); transition: background-color var(--t), border-color var(--t); }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 2px; margin: -1px 0 0 -0.55rem; background: currentColor; border-radius: 2px; }
.faq-mark::after { transform: rotate(90deg); transition: transform 300ms var(--ease); }
.faq-item[open] .faq-mark { background: var(--orange); border-color: var(--orange); color: #0f172a; }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-item p { padding: 0 5rem clamp(2rem, 3.4vw, 2.75rem) 0; color: var(--muted); max-width: 62ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); text-wrap: pretty; }
@media (max-width: 600px) {
  .faq-item summary { gap: 1rem; }
  .faq-mark { width: 2.5rem; height: 2.5rem; }
  .faq-item p { padding-right: 0; }
}

/* ---------- 8 · Contact: copy on the page surface + the orange form panel ---------- */
.contact {
  background: var(--surface); color: var(--text);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.contact-copy {
  padding: var(--section-y) clamp(2rem, 5vw, 5rem) var(--section-y) max(var(--gutter), (100vw - var(--max)) / 2);
  display: flex; flex-direction: column;
}
.contact .section-title { max-width: 12ch; }
.contact-hint { margin-top: 1.75rem; color: var(--muted); max-width: 36ch; text-wrap: pretty; }
.quick { margin-top: 2.5rem; display: grid; gap: 0.5rem; font: 700 clamp(1.25rem, 2vw, 1.625rem)/1.3 var(--font-display); }
.quick li:last-child { font: 500 0.95rem/1.4 var(--font-body); color: var(--muted); margin-top: 0.4rem; }
.quick a { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size 300ms var(--ease); }
.quick a:hover { background-size: 100% 2px; }

.contact-panel {
  background: var(--orange); color: #0f172a;
  padding: var(--section-y) max(var(--gutter), (100vw - var(--max)) / 2) var(--section-y) clamp(2rem, 5vw, 5rem);
  display: flex; align-items: center;
}
.contact-panel ::selection { background: #0f172a; color: #ff790f; }
.inquiry-form { width: 100%; max-width: 40rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 700 0.9rem/1.3 var(--font-body); color: #0f172a; }
.field .opt { font-weight: 500; color: #0f172a; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.125rem; padding: 0.8rem 1rem;
  border-radius: var(--radius-md); border: 1.5px solid var(--field-border);
  background: var(--field-bg); color: var(--field-text); caret-color: var(--orange);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field select { appearance: none; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; padding-right: 2.75rem; }
.field ::placeholder { color: var(--field-placeholder); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #0f172a; box-shadow: 0 0 0 3px rgb(15 23 42 / 0.3); }
.field [aria-invalid="true"] { border-color: #0f172a; border-width: 2px; border-style: dashed; }
.contact-panel :focus-visible { outline-color: #0f172a; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.75rem; }
.btn-navy { background: #0f172a; color: #f9fbff; box-shadow: 0 10px 24px -12px rgb(15 23 42 / 0.6); }
.btn-navy:hover { background: #172238; }
.btn-navy:disabled { opacity: 0.6; cursor: progress; }
.form-status { font-weight: 700; color: #0f172a; }
.form-status[data-state="ok"] { font: 800 1.25rem/1.3 var(--font-display); }
.form-status[data-state="error"] { color: #0f172a; text-decoration: underline 2px; text-underline-offset: 0.25em; }
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .contact-copy { padding: var(--section-y) var(--gutter) clamp(3.5rem, 9vw, 4.5rem); }
  .contact-panel { padding: clamp(3rem, 9vw, 4.5rem) var(--gutter) var(--section-y); }
}
@media (max-width: 560px) {
  .inquiry-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--border); padding-block: 3rem; font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.footer-inner img { width: 6rem; height: auto; }
.footer-text { display: grid; gap: 0.25rem; }
.footer-text strong { color: var(--text); }
.to-top { margin-left: auto; color: var(--text); font-weight: 700; }

/* ---------- Scroll reveals (hidden only under html.reveal-ready, set inline in <head>) ---------- */
[data-reveal] { transition: opacity 800ms var(--ease), transform 900ms var(--ease), clip-path 1100ms var(--ease), filter 800ms var(--ease); }
[data-reveal-stagger] > [data-reveal] { transition-delay: calc(var(--reveal-i, 0) * 110ms); }

.reveal-ready [data-reveal="rise"]:not(.is-revealed) { opacity: 0; transform: translateY(1.75rem); filter: blur(6px); }
.reveal-ready [data-reveal="fade"]:not(.is-revealed) { opacity: 0; }
/* Annotate: the platform art develops (blur, scale, fade), pins pop in, leader lines draw, notes appear one by one */
.pmap-art img { transition: opacity 900ms var(--ease) 120ms, transform 1300ms var(--ease) 120ms, filter 900ms var(--ease) 120ms; }
.reveal-ready [data-reveal="annotate"]:not(.is-revealed) .pmap-art img { opacity: 0; transform: scale(0.94); filter: blur(10px); }
.pmap-pins li { transition: transform 500ms var(--ease) calc(600ms + var(--i, 0) * 110ms); }
.pmap-pins li:nth-child(2) { --i: 1; } .pmap-pins li:nth-child(3) { --i: 2; } .pmap-pins li:nth-child(4) { --i: 3; }
.pmap-pins li:nth-child(5) { --i: 4; } .pmap-pins li:nth-child(6) { --i: 5; }
.reveal-ready [data-reveal="annotate"]:not(.is-revealed) .pmap-pins li { transform: scale(0); }
.pnote { transition: opacity 600ms var(--ease) calc(900ms + var(--i) * 140ms), translate 700ms var(--ease) calc(900ms + var(--i) * 140ms); }
.pnote::before { transition: transform 700ms var(--ease) calc(750ms + var(--i) * 140ms); }
.reveal-ready [data-reveal="annotate"]:not(.is-revealed) .pnote { opacity: 0; translate: 0 0.75rem; }
.reveal-ready [data-reveal="annotate"]:not(.is-revealed) .pnote::before { transform: scaleX(0); }
/* Panel: the orange form panel slides up as a sheet */
.contact-panel { transition: clip-path 1200ms var(--ease); clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal="panel"]:not(.is-revealed) { clip-path: inset(18% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal] *, [data-reveal]::before, .pnote::before,
  .station-num, .station h3, .dial-num, .frame-art img { transition: none !important; }
  .services.is-pinned .frame-art img { transform: none; }
}

/* ---------- Front additions: language switcher ----------
   Header (≥861 px): a <details> dropdown next to the theme toggle, the same 44 px round control; the list on the
   page ground like the open phone menu. Phone menu (≤860 px): the dropdown hides and the nine codes sit as a row
   of round chips under the links, the current one on the orange of the primary button. */
.lang { position: relative; }
.lang-btn { list-style: none; font: 700 0.8125rem/1 var(--font-body); letter-spacing: 0.04em; user-select: none; }
.lang-btn::-webkit-details-marker { display: none; }
.lang[open] .lang-btn { background: var(--hdr-hover); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 1;
  display: grid; min-width: 12.5rem; padding: 0.4rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -24px rgb(var(--shadow-rgb) / 0.5);
}
.lang-menu a {
  display: flex; align-items: baseline; gap: 0.75rem; padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md); text-decoration: none; font-weight: 500;
}
.lang-menu a:hover { background: var(--surface); }
.lang-menu a[aria-current="page"] { font-weight: 700; }
.lang-code { flex: none; width: 1.75rem; font: 700 0.8125rem/1 var(--font-body); letter-spacing: 0.04em; color: var(--muted); }
.lang-menu a[aria-current="page"] .lang-code { color: var(--primary-ink); }
.nav-langs { display: none; }
/* Narrow desktop: the extra control must not push the links onto two lines (longer labels of other languages) */
@media (min-width: 861px) and (max-width: 1080px) {
  .nav, .nav-links { gap: 1.25rem; }
  .nav-actions { gap: 0.5rem; }
  .nav-links a { white-space: nowrap; }
}
/* …and just above the phone menu everything tightens a step, so «Poptávka» still fits on the one line */
@media (min-width: 861px) and (max-width: 940px) {
  .nav, .nav-links { gap: 0.875rem; }
  .nav-links { font-size: 0.9375rem; }
  .nav-actions { gap: 0.375rem; }
  .nav-cta { padding-inline: 0.85rem; }
}
@media (max-width: 860px) {
  .lang { display: none; }
  .nav-langs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.25rem; }
  .nav-links .nav-langs a {
    display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.6rem;
    border: 1px solid var(--border); border-radius: 999px;
    font: 700 0.875rem/1 var(--font-body); letter-spacing: 0.04em;
  }
  .nav-links .nav-langs a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #0f172a; }
}
