/* NoReason – paper hero with an exploded CPU stack, editorial IT services, dark monitoring stage, one contact card. */
/* Self-hosted fonts: unmodified Google Fonts latin + latin-ext subsets (Czech glyphs), SIL OFL 1.1, see assets/fonts-license.txt. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/bricolage-grotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f3f2ec;
  --paper-2: #eae8df;
  --ink: #16151b;
  --muted: #55535c;
  --night: #0d0c13;
  --night-2: #17151f;
  --purple: #43348f;
  --violet: #8d72ff;
  --green: #82b536;
  --green-deep: #4b6f22;
  --lime: #bdf05f;
  --on-dark: #f3f1f8;
  --on-dark-muted: rgba(243, 241, 248, .74);
  --line-dark: rgba(255, 255, 255, .14);
  --line: rgba(22, 21, 27, .14);
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(20px, 4.4vw, 64px);
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rhombus: polygon(0 45%, 58% 0, 100% 55%, 42% 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
button { font: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.dohled :focus-visible, .contact-card :focus-visible, .viewer :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1280px, 100% - 2 * var(--pad)); margin-inline: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* One small typographic system: uppercase labels, display headings with open tracking, DM Sans body. */
.label, .eyebrow { font: 600 12.5px/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--purple); }
.label-lime { color: var(--lime); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13.5px; letter-spacing: .1em; }
/* The "plate": a flattened rhombus taken from the hero stack, used as the page's only bullet glyph. */
.tick, .dohled-facts span::before, .svc-body li::before, .contact-meta dt::before {
  content: ""; display: inline-block; flex: none; width: 14px; height: 8px; background: var(--green);
  clip-path: var(--rhombus);
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; transition: background-color .25s, border-color .25s, color .25s; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-line:hover span { transform: translateY(2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink span { color: var(--lime); }
.btn-ink:hover { background: var(--purple); }
.btn-line { border-color: rgba(22, 21, 27, .28); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: rgba(22, 21, 27, .04); }
.btn-lime { background: var(--lime); color: #12140a; }
.btn-lime:hover { background: #d4ff83; }

/* Header: light, so the original transparent logo keeps its true colours. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 236, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-nav { height: var(--header); display: flex; align-items: center; gap: 28px; position: relative; }
.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { height: 54px; width: auto; aspect-ratio: 3 / 1; }
.nav { margin-left: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--purple), var(--purple)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav-links a:hover { background-size: 100% 2px; }
.nav-links .only-small { display: none; }
.nav-contact { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.nav-contact:hover { background: var(--purple); }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-icon { position: relative; transform: translateY(-3px); }
.menu-icon::before { content: ""; position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }

/* ---------- Hero: copy and the exploded CPU on one calm paper stage ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 5.5vw, 84px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 5.3vw, 80px); line-height: 1.06; letter-spacing: -.022em; font-weight: 640; }
.hero h1 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; line-height: 1; letter-spacing: -.005em; color: var(--green-deep); }
.hero-intro { margin-top: 26px; max-width: 32em; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.65; color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Under the two CTAs: a quiet pointer to the flagship monitoring product, then the locations. */
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.hero-flag { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; }
.hero-flag-text { text-wrap: balance; border-bottom: 1px solid rgba(22, 21, 27, .3); padding-bottom: 1px; transition: border-color .25s, color .25s; }
.hero-flag-arrow { color: var(--green-deep); transition: transform .25s var(--ease); }
.hero-flag:hover .hero-flag-text { color: var(--purple); border-color: var(--purple); }
.hero-flag:hover .hero-flag-arrow { transform: translateY(2px); }
/* A tiny dark screen with the lime plate glyph: the monitoring stage in miniature. */
.hero-flag-mark { position: relative; flex: none; width: 28px; height: 20px; border-radius: 5px; background: var(--night); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 3px 8px -4px rgba(13, 12, 19, .6); }
.hero-flag-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 8px; translate: -50% -50%; background: var(--lime); clip-path: polygon(0 45%, 58% 0, 100% 55%, 42% 100%); }
.hero-note { font-size: 14px; color: var(--muted); letter-spacing: .02em; }

.stage { position: relative; isolation: isolate; margin: 0; container: stage / inline-size; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; }
.stage::before {
  /* A faint drawing grid that follows the plates' isometric edges. */
  content: ""; position: absolute; inset: -6% -10% 4%; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(159deg, transparent 0 27px, rgba(22, 21, 27, .055) 27px 28px),
    repeating-linear-gradient(216deg, transparent 0 27px, rgba(22, 21, 27, .055) 27px 28px);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent);
  mask: radial-gradient(closest-side, #000 30%, transparent);
}

.cpu {
  --lw: 96px;                                /* callout column */
  --s: min(340px, 64cqi);                    /* plate edge; the drawn plate is about 1.4 × s wide */
  --spread: calc(var(--s) * .34);            /* distance between exploded layers */
  --cx: max(calc(var(--s) * .71), min(50cqi, 100cqi - var(--lw) - 28px - var(--s) * .7));
  grid-column: 1 / -1; position: relative; height: calc(var(--s) * 1.62);
}
@container stage (min-width: 520px) {
  .cpu { --lw: 190px; --s: min(340px, (100cqi - 190px - 36px) / 1.42); }
}
.cpu-floor { position: absolute; left: var(--cx); top: calc(48% + var(--spread) + var(--s) * .3); width: calc(var(--s) * 1.5); height: calc(var(--s) * .34); translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 40, 28, .22), transparent); }
.layer { position: absolute; left: var(--cx); top: 48%; width: 0; height: 0; translate: 0 calc(var(--dir) * var(--spread)); }
.layer-it { --dir: 1; --amp: -2px; --t: 8s; z-index: 1; }
.layer-cloud { --dir: 0; --amp: -5px; --t: 6.5s; z-index: 2; }
.layer-ai { --dir: -1; --amp: -8px; --t: 5.5s; z-index: 3; }
.bob { position: absolute; inset: 0; }

.plate {
  position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * .05); transform: rotateX(58deg) rotateZ(-36deg);
  transition: translate .45s var(--ease), filter .45s;
}
.plate i { position: absolute; display: block; font-style: normal; }
.plate .pcb { inset: 8%; border-radius: 3px; border: 1px solid rgba(206, 214, 198, .3); background: repeating-linear-gradient(0deg, transparent 0 calc(12.5% - 1px), rgba(206, 214, 198, .14) calc(12.5% - 1px) 12.5%), repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(206, 214, 198, .14) calc(12.5% - 1px) 12.5%); }
.plate-it { background: linear-gradient(145deg, #2b382e, #111c16); border: 1px solid #52654f; box-shadow: -1px 1px 0 #27372b, -2px 3px 0 #26362a, -4px 6px 0 #213025, -6px 9px 0 #18271d, -9px 14px 0 #132119, -14px 26px 34px rgba(19, 33, 25, .32); }
.plate-it .pins { inset: 2.6%; border-radius: 4px; border: 2px dashed rgba(201, 220, 180, .32); }
.plate-it .led { width: 24%; height: 4.4%; left: 11%; bottom: 10%; border-radius: 2px; background: var(--lime); box-shadow: 0 0 18px rgba(189, 240, 95, .75); }
/* Cloud: a lighter, cooler slate plate with a bright rim and a fine etched hatch, so it never reads as the IT slab below. */
.plate-cloud {
  background: repeating-linear-gradient(45deg, rgba(226, 234, 244, .1) 0 1px, transparent 1px 7px), linear-gradient(135deg, #7d8898, #48525f);
  border: 1px solid #c3ccd8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), -1px 2px 0 #5b6573, -3px 6px 0 #535c69, -5px 10px 0 #464e5a, -7px 13px 0 #3a414c, -12px 24px 36px rgba(28, 34, 46, .28);
}
.plate-cloud .pcb { border-color: rgba(226, 234, 244, .42); background: repeating-linear-gradient(0deg, transparent 0 calc(6.25% - 1px), rgba(226, 234, 244, .16) calc(6.25% - 1px) 6.25%), repeating-linear-gradient(90deg, transparent 0 calc(6.25% - 1px), rgba(226, 234, 244, .16) calc(6.25% - 1px) 6.25%); }
.plate-cloud .die { inset: 24%; border: 1px solid #dbe2ec; background: repeating-linear-gradient(90deg, #a3aebd 0 7%, #6c7684 7% 14%); box-shadow: -3px 6px 0 #343b46; }
.plate-ai { background: linear-gradient(135deg, rgba(205, 192, 255, .86), rgba(126, 101, 200, .36)); border: 1px solid #b9a7ec; box-shadow: -2px 4px 0 #9a85cc, -4px 7px 0 #8a79b6, -10px 22px 44px rgba(80, 68, 130, .28); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.plate-ai .pcb { border-color: rgba(255, 255, 255, .45); background: none; }
.plate-ai .die { inset: 27%; display: grid; place-items: center; border: 1px solid #d3c8ff; background: linear-gradient(135deg, #ddd4ff, #a99dd2); box-shadow: -3px 5px 0 #8d7dae, -6px 10px 16px rgba(117, 96, 139, .4); color: #4e3f72; font: 500 calc(var(--s) * .12)/1 var(--display); letter-spacing: -.03em; }

/* Callouts sit on one vertical rule to the right; the leader line ends at the plate's right corner. */
.callout {
  position: absolute; top: calc(var(--s) * .06); left: calc(100cqi - var(--cx) - var(--lw)); width: var(--lw);
  translate: 0 -50%; display: grid; gap: 1px; padding: 8px 0 8px 14px; border-left: 1px solid rgba(22, 21, 27, .35);
  text-decoration: none; color: var(--ink); line-height: 1.25;
}
.callout::before { content: ""; position: absolute; top: 50%; right: 100%; width: max(0px, 100cqi - var(--lw) - var(--cx) - var(--s) * .7 - 6px); border-top: 1px solid rgba(22, 21, 27, .38); }
.callout::after { content: ""; position: absolute; top: calc(50% - 2.5px); right: calc(100% + max(0px, 100cqi - var(--lw) - var(--cx) - var(--s) * .7 - 6px)); width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.callout-no { font: 600 11.5px/1.3 var(--body); letter-spacing: .14em; color: var(--muted); }
.callout-name { font: 620 18px/1.2 var(--display); letter-spacing: -.005em; }
.callout-sub { font-size: 13.5px; color: var(--muted); }
.layer-ai .callout-name { color: var(--purple); }
/* Narrow stage: the callouts overlap the plates' right corners, so they become small solid tags. */
@container stage (max-width: 519px) {
  .callout { padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(243, 242, 236, .92); box-shadow: 0 6px 16px -10px rgba(22, 21, 27, .4); }
  .callout::before, .callout::after, .callout-sub { display: none; }
  .callout-name { font-size: 14.5px; }
  .callout-no { font-size: 10.5px; }
}
.callout:hover .callout-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.layer:has(.callout:hover, .callout:focus-visible) .plate { translate: 0 -8px; filter: brightness(1.12); }
.layer:has(.callout:hover, .callout:focus-visible) .callout { border-left-color: var(--ink); }

.stage figcaption { font: 600 12.5px/1.4 var(--body); letter-spacing: .13em; text-transform: uppercase; color: #5f6a59; }
.motion-toggle { justify-self: end; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(243, 242, 236, .7); color: var(--ink); font: 500 13.5px/1 var(--body); cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: rgba(22, 21, 27, .4); }
.motion-toggle:disabled { cursor: default; opacity: .7; }
.motion-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(130, 181, 54, .2); }
.motion-toggle[aria-pressed="true"] .motion-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }

/* Motion: the stack opens once, then the layers float slowly. Paused while the hero is off screen or the tab is hidden. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) .layer { animation: cpu-open 1.5s var(--ease) .25s both; }
  html:not(.motion-off) .bob { animation: cpu-float var(--t) ease-in-out 1.8s infinite alternate both; }
  .hero.is-idle .layer, .hero.is-idle .bob { animation-play-state: paused; }
}
@keyframes cpu-open { from { translate: 0 calc(var(--dir) * var(--spread) * .1); } }
@keyframes cpu-float { from { translate: 0 0; } to { translate: 0 var(--amp); } }

/* ---------- IT services: sticky statement beside native disclosures ---------- */
.services { padding-block: clamp(72px, 9vw, 136px); }
.services-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 104px); align-items: start; }
.services-head { position: sticky; top: calc(var(--header) + 40px); padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.services-head h2 { margin-top: 18px; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.1; letter-spacing: -.02em; }
.services-lead { margin-top: 22px; max-width: 30em; color: var(--muted); font-size: 17.5px; }
.arrowlink { display: inline-block; margin-top: 26px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.arrowlink:hover { color: var(--purple); border-color: var(--purple); }
.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; align-items: center; gap: 8px 16px; padding-block: clamp(22px, 2.4vw, 32px); cursor: pointer; list-style: none; border-radius: 6px; }
.svc summary::-webkit-details-marker { display: none; }
.svc-no { font: 600 13px/1 var(--body); letter-spacing: .14em; color: var(--muted); }
.svc-title { grid-column: 2; grid-row: 1; font: 620 clamp(24px, 2.6vw, 38px)/1.12 var(--display); letter-spacing: -.015em; transition: color .25s; }
.svc-preview { grid-column: 2; grid-row: 2; color: var(--muted); font: 400 15px/1.5 var(--body); }
.svc summary:hover .svc-title { color: var(--purple); }
.svc-plus { grid-column: 3; grid-row: 1 / span 2; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .35s var(--ease); }
.svc-plus::after { transform: rotate(90deg); }
.svc[open] .svc-plus { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.svc[open] .svc-plus::after { transform: rotate(0); }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; padding: 0 60px clamp(26px, 3vw, 40px) 68px; }
.svc-body p { font-size: 18px; line-height: 1.55; }
.svc-body li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.svc-body li:last-child { border-bottom: 0; }
.svc-body li::before { translate: 0 -1px; }
.partners { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 16px 40px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); min-height: 80px; }
.partners-label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 600 12.5px/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.partners-mark { width: 12px; height: 10px; background: var(--green); clip-path: var(--rhombus); }
.partners-list { display: flex; align-items: baseline; gap: 12px clamp(24px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.partners-list li { font: 600 17px/1.3 var(--body); letter-spacing: .06em; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .svc { interpolate-size: allow-keywords; }
  .svc::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .svc[open]::details-content { block-size: auto; }
}

/* ---------- Monitoring: the flagship product on a dark stage ---------- */
.dohled { position: relative; overflow: clip; color: var(--on-dark); padding-block: clamp(80px, 10vw, 152px) clamp(72px, 9vw, 128px); background: radial-gradient(50% 36% at 50% 0%, rgba(141, 114, 255, .26), transparent 70%), radial-gradient(40% 30% at 50% 66%, rgba(189, 240, 95, .08), transparent 70%), var(--night); }
.dohled-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.dohled h2 { margin-top: 22px; font-size: clamp(38px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -.02em; max-width: 12em; }
.dohled h2 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.06em; color: var(--lime); }
.dohled-lead { margin-top: 26px; max-width: 38em; color: var(--on-dark-muted); font-size: clamp(16.5px, 1.3vw, 19px); }

/* "Jak to funguje": three native tabs light one part of an illustrative diagram (not live state, not a control).
   Without the script every link is lit and all three descriptions are listed. Motion plays only after a choice.
   On wide screens the intro, tabs and description are one column centred against the diagram card. */
.explain { --alert: #ffb547; --watch: #b8a8ff; margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); grid-template-areas: "side map"; gap: 0 clamp(32px, 5vw, 88px); align-items: center; }
.explain-side { grid-area: side; }
.explain-intro { grid-area: intro; }
.explain-intro h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
.explain-intro p { margin-top: 12px; max-width: 30em; color: var(--on-dark-muted); font-size: 15.5px; }
.explain-modes { grid-area: modes; margin-top: 28px; display: grid; }
.explain-modes[hidden] { display: none; }
.mode { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 60px; padding: 8px 16px; border: 0; border-top: 1px solid var(--line-dark); background: transparent; color: var(--on-dark-muted); text-align: left; cursor: pointer; transition: background-color .25s, color .25s; }
.mode:last-child { border-bottom: 1px solid var(--line-dark); }
.mode::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--lime); transform: scaleY(0); transition: transform .35s var(--ease); }
.mode-no { font: 600 12px/1 var(--body); letter-spacing: .14em; }
.mode-name { font: 620 clamp(18px, 1.55vw, 21px)/1.25 var(--display); letter-spacing: -.005em; color: var(--on-dark); }
.mode-mark { width: 14px; height: 8px; background: rgba(243, 241, 248, .5); clip-path: var(--rhombus); transition: background-color .25s; }
.mode:hover { background: rgba(255, 255, 255, .04); }
.mode[aria-selected="true"] { background: rgba(189, 240, 95, .07); color: var(--lime); }
.mode[aria-selected="true"]::before { transform: none; }
.mode[aria-selected="true"] .mode-mark { background: var(--lime); }
.explain-copy { grid-area: copy; margin-top: 26px; display: grid; gap: 22px; }
.explain-item[hidden] { display: none; }
.explain-item h4 { font: 620 20px/1.25 var(--display); }
.explain-item p { margin-top: 8px; max-width: 34em; color: var(--on-dark-muted); font-size: 16px; }
/* With the tabs, the selected one already names the part; the heading stays for screen readers.
   The panels share one cell so the column keeps the height of the longest one and never jumps between choices;
   a hidden panel stays hidden (invisible, out of the accessibility tree and the tab order). */
.explain.is-live .explain-copy { grid-template-areas: "panel"; }
.explain.is-live .explain-item { grid-area: panel; }
.explain.is-live .explain-item[hidden] { display: block; visibility: hidden; }
.explain.is-live .explain-item h4 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.explain.is-live .explain-item p { margin-top: 0; }

.explain-map { grid-area: map; align-self: center; position: relative; padding: 16px 16px 12px; border: 1px solid var(--line-dark); border-radius: 22px; background: radial-gradient(70% 60% at 25% 0%, rgba(141, 114, 255, .17), transparent 70%), linear-gradient(180deg, #15131f, #0f0e17); box-shadow: 0 40px 100px -50px rgba(141, 114, 255, .45); }
.map-chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid rgba(189, 240, 95, .35); border-radius: 999px; color: var(--lime); font: 600 12px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.map-chip-mark { width: 12px; height: 7px; background: var(--lime); clip-path: var(--rhombus); }
.map-canvas { position: relative; margin-top: 10px; aspect-ratio: 600 / 424; }
.map-canvas::before {
  /* The hero's isometric drawing grid, in light lines on the dark plate. */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(159deg, transparent 0 27px, rgba(243, 241, 248, .045) 27px 28px), repeating-linear-gradient(216deg, transparent 0 27px, rgba(243, 241, 248, .045) 27px 28px);
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent);
}
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-label { position: absolute; font: 600 13px/1.2 var(--body); color: var(--on-dark); white-space: nowrap; }
.map-label small { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--on-dark-muted); }
.map-label-cloud { left: 6%; top: 1%; }
.map-label-desk { right: 4%; top: 1%; }
.map-label-screens { left: 50%; bottom: 0; translate: -50% 0; color: var(--on-dark-muted); font-weight: 500; }

.wire { fill: none; stroke: rgba(243, 241, 248, .18); stroke-width: 1.5; stroke-dasharray: 1.2 2.2; transition: stroke .4s; }
.explain[data-mode="all"] .wire-cloud, .explain[data-mode="cloud"] .wire-cloud, .explain[data-mode="control"] .wire-desk { stroke: rgba(189, 240, 95, .8); stroke-width: 2; stroke-dasharray: none; }
.explain[data-mode="all"] .wire-desk, .explain[data-mode="watch"] .wire-desk { stroke: var(--watch); stroke-width: 2; stroke-dasharray: none; }
.pulse { fill: none; stroke: none; stroke-width: 4.5; stroke-dasharray: 12 200; stroke-dashoffset: 12; }
.ring, .target, .alert, .loop-new { transform-box: fill-box; transform-origin: center; }

.cloud-edge { fill: #3a414c; }
.cloud-top { fill: #66717f; stroke: #c3ccd8; stroke-width: 1; transition: fill .4s, stroke .4s; }
.cloud-die { fill: #a3aebd; }
.explain[data-mode="cloud"] .cloud-top, .explain[data-mode="all"] .cloud-top { fill: #7d8898; stroke: var(--lime); stroke-width: 1.5; }

.desk-win { fill: #1d1a29; stroke: rgba(243, 241, 248, .32); stroke-width: 1.5; transition: stroke .4s; }
.desk-line, .phone-notch { fill: none; stroke: rgba(243, 241, 248, .2); stroke-width: 1.5; stroke-linecap: round; }
.desk-dot { fill: rgba(243, 241, 248, .3); }
.tile-ok { fill: rgba(189, 240, 95, .38); }
.tile-off { fill: rgba(255, 128, 112, .4); }
.tile-all, .desk-bar { fill: rgba(243, 241, 248, .15); }
.ctl path { fill: rgba(243, 241, 248, .32); transition: fill .4s, stroke .4s; }
.ctl .ctl-restart { fill: none; stroke: rgba(243, 241, 248, .32); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.explain[data-mode="control"] .ctl path, .explain[data-mode="all"] .ctl path { fill: var(--lime); }
.explain[data-mode="control"] .ctl .ctl-restart, .explain[data-mode="all"] .ctl .ctl-restart { fill: none; stroke: var(--lime); }
.explain[data-mode="watch"] .desk-win, .explain[data-mode="control"] .desk-win { stroke: rgba(243, 241, 248, .6); }
.phone { fill: #26223a; stroke: rgba(243, 241, 248, .42); stroke-width: 1.5; }
.alert { visibility: hidden; transform: scale(.4); transition: transform .35s var(--ease), visibility .35s; }
.explain[data-mode="watch"] .alert, .explain[data-mode="all"] .alert { visibility: visible; transform: none; }
.alert-push { fill: var(--alert); }
.alert-mail, .alert-mail-v { fill: none; stroke: var(--alert); stroke-width: 1.5; stroke-linejoin: round; }

.scr { fill: #16141f; stroke: rgba(243, 241, 248, .3); stroke-width: 1.5; transition: stroke .4s; }
.loop { fill: #2a2448; }
.loop-new { fill: rgba(189, 240, 95, .26); transform-origin: left center; transform: scaleX(0); transition: transform .5s var(--ease); }
.explain[data-mode="cloud"] .loop-new, .explain[data-mode="all"] .loop-new { transform: none; }
.play { fill: rgba(243, 241, 248, .55); }
.stand { fill: none; stroke: rgba(243, 241, 248, .3); stroke-width: 2; stroke-linecap: round; }
.led { fill: var(--lime); transition: fill .4s; }
.ring, .target { fill: none; stroke-width: 1.5; visibility: hidden; }
.ring { stroke: var(--alert); }
.target { stroke: var(--lime); }
.explain[data-mode="watch"] .s3 .led, .explain[data-mode="all"] .s3 .led { fill: var(--alert); }
.explain[data-mode="watch"] .ring, .explain[data-mode="all"] .ring, .explain[data-mode="control"] .target { visibility: visible; }
.explain[data-mode="watch"] .s3 .scr { stroke: var(--alert); }
.explain[data-mode="control"] .s2 .scr { stroke: var(--lime); }

/* One short sequence after each choice: the signal travels the lit links, then the receiving node answers. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) .explain.is-run[data-mode="cloud"] .pulse-cloud { stroke: var(--lime); animation: wire-run .9s var(--ease) both; }
  html:not(.motion-off) .explain.is-run[data-mode="control"] .pulse-desk { stroke: var(--lime); animation: wire-run .9s var(--ease) both; }
  html:not(.motion-off) .explain.is-run[data-mode="watch"] .pulse-desk { stroke: var(--watch); animation: wire-run .9s var(--ease) both reverse; }
  html:not(.motion-off) .explain.is-run .pulse:nth-child(3n+2) { animation-delay: .1s; }
  html:not(.motion-off) .explain.is-run .pulse:nth-child(3n) { animation-delay: .2s; }
  html:not(.motion-off) .explain.is-run[data-mode="cloud"] .loop-new { animation: loop-in .6s var(--ease) .7s both; }
  html:not(.motion-off) .explain.is-run[data-mode="cloud"] .s2 .loop-new { animation-delay: .8s; }
  html:not(.motion-off) .explain.is-run[data-mode="cloud"] .s3 .loop-new { animation-delay: .9s; }
  html:not(.motion-off) .explain.is-run[data-mode="watch"] .ring { animation: ring-out 1s ease-out 2 backwards; }
  html:not(.motion-off) .explain.is-run[data-mode="watch"] .alert { animation: pop-in .45s var(--ease) 1.1s both; }
  html:not(.motion-off) .explain.is-run[data-mode="control"] .s2 .target { animation: pop-in .5s var(--ease) .95s both; }
}
@keyframes wire-run { from { stroke-dashoffset: 12; } to { stroke-dashoffset: -100; } }
@keyframes loop-in { from { transform: scaleX(0); } }
@keyframes pop-in { from { transform: scale(.4); } }
@keyframes ring-out { from { transform: scale(.5); } to { transform: scale(1.8); stroke-opacity: .05; } }

/* "Výřez z reálného provozu": a narrow editorial caption beside a large, rectilinear excerpt of the real screenshot.
   The PNG is never edited or re-encoded; each layout only chooses which rectangle of the 1665 × 945 source (in source
   pixels) the frame shows. Wide: x 0–1395, y 0–684 = the first six status tiles whole and the first two screen cards. */
.showcase { --crop-x: 0; --crop-y: 0; --crop-w: 1395; --crop-h: 684; margin-top: clamp(64px, 8vw, 120px); margin-inline: 0; margin-bottom: 0; padding-left: max(var(--pad), (100% - 1280px) / 2); display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 3.4fr); gap: clamp(32px, 3.6vw, 56px); align-items: center; }
.showcase-copy { display: grid; justify-items: start; gap: 18px; }
.showcase-title { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; color: var(--on-dark); }
.showcase-lead { color: var(--on-dark-muted); font-size: 16px; line-height: 1.55; }
.showcase-note { font-size: 13px; line-height: 1.5; letter-spacing: .02em; color: rgba(243, 241, 248, .7); }
/* The frame runs to the right edge of the section, square-cornered, with one quiet shadow against the dark stage. */
.showcase-crop { position: relative; overflow: clip; width: 100%; max-width: calc(var(--crop-w) * 1px); aspect-ratio: var(--crop-w) / var(--crop-h); background: #fff; box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .85); }
.showcase-crop img { position: absolute; top: 0; left: 0; width: calc(100% * 1665 / var(--crop-w)); max-width: none; transform: translate(calc(-100% * var(--crop-x) / 1665), calc(-100% * var(--crop-y) / 945)); }
.js-viewer .showcase-crop img { cursor: zoom-in; }
.zoom-open { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; margin-top: 4px; padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: var(--on-dark); font-weight: 600; font-size: 14.5px; line-height: 1.3; text-decoration: none; }
.zoom-open:hover { border-color: var(--lime); color: var(--lime); }
/* Static numbers read off the historical screenshot; nothing on the page changes them. */
.snap { width: 100%; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.snap-label { font: 600 11.5px/1.35 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.snap-list { margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px clamp(18px, 2vw, 28px); }
.snap-list div { display: grid; gap: 6px; }
.snap-list dd { order: -1; margin: 0; font: 620 26px/1 var(--display); letter-spacing: -.01em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.snap-list dt { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; letter-spacing: .02em; color: var(--on-dark-muted); }
.snap-list dt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(243, 241, 248, .5); }
.snap-list .snap-online dt::before { background: var(--lime); }
.snap-list .snap-offline dt::before { background: #ff8a78; }

.viewer { width: min(1720px, 100% - 24px); height: min(100% - 24px, 1080px); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid var(--line-dark); border-radius: 14px; background: var(--night-2); color: var(--on-dark); overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgba(8, 7, 14, .8); }
.viewer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line-dark); }
.viewer-title { margin-right: auto; font-weight: 600; font-size: 15px; }
.viewer-title span { display: block; font-weight: 400; font-size: 12.5px; color: var(--on-dark-muted); }
.viewer-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: var(--on-dark); font-weight: 600; font-size: 14px; cursor: pointer; }
.viewer-btn:hover { border-color: var(--lime); color: var(--lime); }
.viewer-zoom[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #12140a; }
.viewer-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #0a0910; }
.viewer-scroll img { width: 100%; height: 100%; object-fit: contain; }
.viewer.is-zoomed .viewer-scroll img { width: 1665px; height: auto; max-width: none; object-fit: fill; }

.dohled-foot { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.dohled-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--on-dark-muted); font-size: 15px; }
.dohled-facts span { display: inline-flex; align-items: center; gap: 10px; }
.dohled-facts span::before { background: var(--lime); }
.dohled-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.mail { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.mail:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- TrueVisit: a smaller secondary product strip ---------- */
.ai { padding-block: clamp(56px, 7vw, 104px) 0; }
.ai-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px clamp(28px, 4vw, 64px); padding: clamp(28px, 3.4vw, 48px); border-radius: 24px; background: #e8e4f6; }
.ai-mark { position: relative; width: 84px; height: 84px; flex: none; }
.ai-mark i { position: absolute; width: 46px; height: 46px; border-radius: 13px; transform: rotate(-27deg); }
.ai-mark i:first-child { left: 6px; top: 8px; background: var(--purple); }
.ai-mark i:last-child { right: 6px; bottom: 8px; background: var(--green); mix-blend-mode: multiply; }
.ai h2 { margin-top: 10px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; }
.ai h2 span { font-weight: 500; color: var(--purple); }
.ai-copy > p:last-child { margin-top: 14px; max-width: 52em; color: var(--muted); }
.ai-link { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--purple); color: var(--purple); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.ai-link:hover { background: var(--purple); color: #fff; }

/* ---------- Cooperation and contact: a numbered first conversation, then one dark contact card ---------- */
.finale { padding-block: clamp(72px, 9vw, 136px) clamp(56px, 7vw, 96px); }
.process-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "label ." "title lead"; gap: 0 clamp(40px, 6vw, 104px); align-items: end; }
.process-head .label { grid-area: label; }
.process h2 { grid-area: title; margin-top: 18px; max-width: 15em; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.process-lead { grid-area: lead; max-width: 28em; color: var(--muted); }
/* Three steps on one connected rule: a large purple numeral above, a rhombus node where each step starts. */
.steps { --col-gap: clamp(28px, 4vw, 64px); position: relative; margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.steps li { position: relative; display: flex; flex-direction: column; }
.step-no { padding-bottom: clamp(16px, 1.8vw, 26px); font: 300 clamp(64px, 7.4vw, 116px)/.86 var(--display); letter-spacing: -.045em; color: var(--purple); }
.step-body { position: relative; flex: 1; margin-right: calc(-1 * var(--col-gap)); padding: clamp(22px, 2.2vw, 30px) var(--col-gap) 0 0; border-top: 1px solid rgba(22, 21, 27, .3); }
.steps li:last-child .step-body { margin-right: 0; padding-right: 0; }
.step-body::before { content: ""; position: absolute; left: 0; top: -6px; width: 20px; height: 11px; background: var(--purple); clip-path: var(--rhombus); }
.steps li:last-child .step-body::before { background: var(--green); }
.steps h3 { font-size: clamp(21px, 1.9vw, 27px); }
.steps p { margin-top: 8px; max-width: 22em; color: var(--muted); }

.contact { padding-top: clamp(56px, 7vw, 96px); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; padding: clamp(28px, 5vw, 72px); border-radius: clamp(20px, 2.4vw, 32px); color: var(--on-dark); background: radial-gradient(60% 70% at 100% 0%, rgba(130, 181, 54, .16), transparent 70%), radial-gradient(60% 70% at 0% 100%, rgba(67, 52, 143, .6), transparent 70%), var(--night); }
.contact-card .label { color: var(--lime); }
.contact-title { margin-top: 18px; font-size: clamp(32px, 4.2vw, 62px); line-height: 1.06; letter-spacing: -.02em; max-width: 12em; }
.contact-lead { margin-top: 20px; max-width: 34em; color: var(--on-dark-muted); font-size: 17.5px; }
.contact-cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.contact-mail { font: 600 clamp(20px, 1.8vw, 26px)/1.2 var(--display); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 3px; overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--lime); }
.contact-hint { margin-top: 18px; max-width: 36em; padding-left: 14px; border-left: 2px solid rgba(189, 240, 95, .55); font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }
.contact-meta { margin: 0; display: grid; gap: 22px; }
.contact-meta div { border-top: 1px solid var(--line-dark); padding-top: 14px; }
.contact-meta dt { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 241, 248, .62); }
.contact-meta dt::before { background: var(--lime); width: 11px; height: 6px; }
.contact-meta dd { margin: 6px 0 0; font-weight: 500; }
.contact-meta a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.contact-meta a:hover { color: var(--lime); border-color: var(--lime); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-block: 26px; font-size: 14px; color: var(--muted); }
.footer-inner .brand img { height: 40px; }
.footer-inner p:nth-of-type(2) { margin-left: auto; }

/* Reveal: the hidden state only exists once script.js opts in. */
.reveal-on [data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* Tablets: the caption sits above and the excerpt keeps its full width, still bleeding to the right edge. */
@media (max-width: 1180px) {
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .showcase-copy { max-width: min(640px, 100% - var(--pad)); }
}

@media (max-width: 1080px) {
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .contact-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 640px; }
  .stage { width: min(100%, 720px); justify-self: center; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .services-head { position: static; }
  .explain { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "map" "modes" "copy"; align-items: start; }
  .explain-side { display: contents; }
  .explain-map { margin-top: 24px; max-width: 720px; }
}

@media (max-width: 860px) {
  :root { --header: 64px; }
  .brand img { height: 46px; }
  .site-nav { gap: 12px; }
  .nav { margin-left: 0; }
  .nav-contact { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 1px); flex-direction: column; gap: 0; padding: 8px 0 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .3); }
  .nav-links.is-open { display: flex; }
  .nav-links .only-small { display: block; }
  .nav-links a { display: block; padding: 14px 0; font-size: 18px; background: none; border-top: 1px solid var(--line); }
  .svc summary { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 12px; }
  .svc-plus { width: 40px; height: 40px; }
  .svc-body { grid-template-columns: 1fr; padding: 0 0 26px 48px; }
  .map-label small { display: none; }
  .process-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "title" "lead"; }
  .process-lead { margin-top: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 34px; padding-left: 38px; }
  .steps li::before { content: ""; position: absolute; left: -38px; top: 10px; width: 20px; height: 11px; background: var(--purple); clip-path: var(--rhombus); }
  .steps li:last-child::before { background: var(--green); }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: -28.5px; top: 24px; bottom: -44px; border-left: 1px solid rgba(22, 21, 27, .28); }
  .step-no { padding-bottom: 8px; font-size: 44px; }
  .step-body { margin-right: 0; padding: 0; border-top: 0; }
  .step-body::before { display: none; }
  .ai-strip { grid-template-columns: 1fr; }
  .ai-mark { width: 60px; height: 60px; }
  .ai-mark i { width: 34px; height: 34px; border-radius: 10px; }
  .ai-link { justify-self: start; }
  .footer-inner p:nth-of-type(2) { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .partners { flex-direction: column; align-items: stretch; }
  .partners-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .partners-list li { font-size: 16px; overflow-wrap: anywhere; }
  .eyebrow { gap: 10px; font-size: 13px; letter-spacing: .06em; }
  .hero h1 { margin-top: 18px; font-size: clamp(36px, 11vw, 48px); line-height: 1.08; }
  .hero-intro { margin-top: 18px; }
  .hero-actions { margin-top: 24px; flex-direction: column; }
  .hero-meta { margin-top: 14px; gap: 2px 20px; }
  .hero-flag { gap: 9px; font-size: 15.5px; }
  .hero-flag-mark { width: 24px; height: 18px; }
  .stage figcaption { letter-spacing: .09em; font-size: 11.5px; }
  .svc-body { padding-left: 0; }
  /* Phones: one whole screen card with its full control row and an even margin around it (card borders at source x 294
     and 622, y 316 and 671; the frame is x 283–633, y 306–683, so the next card's border at x 636 stays out). No
     half-cut summary above it: the summary is the HTML list in the caption, the whole interface the full-size view. */
  .showcase { --crop-x: 283; --crop-y: 306; --crop-w: 350; --crop-h: 377; padding-right: var(--pad); gap: 28px; }
  .showcase-copy { max-width: none; }
  .explain-map { padding: 12px 10px 8px; border-radius: 18px; }
  .map-label { font-size: 12px; }
  .mode { min-height: 56px; padding-inline: 12px; }
  .dohled-cta .btn, .contact-cta .btn { width: 100%; }
  .contact-meta { grid-template-columns: 1fr; gap: 18px; }
  /* Fill the viewport the fixed dialog actually gets (a viewport-width unit would include a classic scrollbar). */
  .viewer { inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
html.motion-off { scroll-behavior: auto; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation: none !important; transition-duration: .01ms !important; }

@media print {
  .site-header, .motion-toggle, .menu-toggle, .zoom-open, .viewer { display: none !important; }
  .dohled, .contact-card { background: none !important; color: #000; }
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .svc::details-content { block-size: auto !important; content-visibility: visible !important; }
}
