
/* ==== tokens.css ==== */
/* Hallmark · shape: Marquee Hero · genre: modern-minimal · theme: brand · redesign: full
 * paper: oklch(96.8% 0.006 250) · accent: #4FA7DF (brand) · display: Space Grotesk · body: Commissioner · hero: Ledge · nav: banner over a sticky bar · footer: mast · signature: the isometric scene with activating hotspots
 * axes: light/geometric-sans/cool · posture: restrained · draw: 01a7f3 · imagery: official isometric render, spec plates as stand-ins in slots · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · restyled Studio-led · hairline rules, 3px radii, softer surfaces; structure and content kept */
/* Hallmark · reworded the dummy headings and copy · copy comes from cyberguard.hu and the official product sites */

/* Design tokens. Every colour, size and duration used by the components lives here.
 * See docs/brand-guide.md for usage rules. */
:root {
  /* spacing scale */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;

  /* type scale */
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-hero: clamp(2.75rem, 5.6vw, 5.5rem); --text-hero-s: clamp(2.5rem, 12vw, 4rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; --font-body: "Commissioner", ui-sans-serif, system-ui, sans-serif; --font-outlier: "IBM Plex Mono", ui-monospace, monospace;
  --tracking-display: -0.022em; --display-weight: 500;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-enter: 700ms; --dur-enter-long: 900ms;

  /* layout */
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --chrome-h: calc(var(--space-2xl) + var(--space-xl)); /* banner + header, measured at runtime by app.js */
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* sizes */
  --size-mark: 8px; --size-dot: 10px; --size-caret: 6px; --size-touch: 44px; --size-control: 48px;
  --logo-h: 20px; --logo-h-footer: 22px; --panel-min: 280px; --map-min-h: 260px;

  /* brand colour: CyberGuard blue. Graphic use only on light surfaces; text uses --color-accent-text. */
  --color-brand: #4FA7DF;
  --color-accent: var(--color-brand);
  --color-accent-text: oklch(47% 0.15 245);   /* brand blue, deepened to pass 4.5:1 on paper */
  --color-accent-hi: oklch(74% 0.10 243);     /* brand blue, lifted for text on ink */
  --color-accent-ink: var(--color-ink);       /* label colour on a brand-blue fill */

  /* neutrals, all tinted toward the brand hue */
  --color-paper: oklch(96.8% 0.006 250); --color-paper-2: oklch(92.5% 0.009 250); --color-paper-3: oklch(99.3% 0.004 250);
  --color-ink: oklch(19% 0.026 250); --color-ink-2: oklch(31% 0.02 250); --color-muted: oklch(47% 0.016 258);
  --color-rule: oklch(83% 0.011 250); --color-ink-rule: oklch(36% 0.018 262);
  --color-muted-on-ink: oklch(80% 0.015 250); --color-rule-on-ink: oklch(97% 0.01 240 / 0.32);
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);

  /* lines and shapes */
  --rule-hair: 1px; --rule-bar: 1px; --edge-w: 3px;
  --radius-card: 3px; --radius-pill: 3px; --shadow-card: none;

  /* surface context: these change meaning on ink, see .on-ink in base.css */
  --color-focus: var(--color-accent-text);
  --link-hover: var(--color-accent-text);
  --wash: color-mix(in oklab, var(--color-ink) 4%, transparent);
  --btn-sweep: var(--color-ink);
  --btn-sweep-text: var(--color-paper);
}

/* ==== base.css ==== */
/* Element defaults, surface contexts and small shared objects. */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--chrome-h); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: normal; hyphens: manual; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }

/* surface context: anything on the ink field flips focus, link and wash colours */
.on-ink, html:not(.is-scrolled) .site-header {
  --color-focus: var(--color-paper);
  --link-hover: var(--color-accent-hi);
  --wash: color-mix(in oklab, var(--color-paper) 7%, transparent);
  --btn-sweep: var(--color-accent-hi);
  --btn-sweep-text: var(--color-ink);
}

/* objects */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-outlier); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* image slots: spec plates stand in until a real photo is swapped in via hallmarkSlots() */
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }

@media (max-width: 1023px) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 767px) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* arrow cursor everywhere; pointer only on real controls, I-beam only in fields */
* { cursor: default; }
a, button, summary { cursor: pointer; }
input, textarea, select { cursor: text; }

/* ==== layout.css ==== */
/* Page rhythm: skip link, sections, section heads, the shared row pattern and the reveal. */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.section { padding-top: var(--section-gap-s); }
.section--tight { padding-top: var(--space-2xl); }
.section--loose { padding-top: var(--section-gap); }
.section--well { padding-block: var(--space-3xl); margin-top: var(--section-gap-s); background: var(--color-paper-2); }

.section-head { margin-bottom: var(--space-2xl); }
.section-head h2 { max-width: 24ch; }
.section-head .lead { margin-top: var(--space-md); color: var(--color-ink-2); }

/* list rows (index, systems, sectors) share one hover: a wash plus the brand edge in the gutter */
.index-row, .system, .row { margin-left: calc(-1 * var(--edge-w)); border-left: var(--edge-w) solid transparent; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.index-row:hover, .system:hover, .row:hover { background: var(--wash); border-left-color: var(--color-accent); }

/* one reveal, visible without script */
.js [data-reveal] { opacity: 0; transform: translateY(var(--space-xs)); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* structural lists draw their top rule in once */
.index[data-reveal]::before, .route[data-reveal]::before { content: ""; display: block; grid-column: 1 / -1; height: var(--rule-bar); background: var(--color-ink-rule); transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-long) var(--ease-out); }
.index[data-reveal].is-in::before, .route[data-reveal].is-in::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .index[data-reveal]::before, .route[data-reveal]::before { transform: scaleX(1); transition: none; }
}


/* section heads in the reference style: tracked eyebrow + large light head */
.sec-eyebrow { display: flex; align-items: center; gap: var(--space-md); margin: 0 0 var(--space-md); font-size: var(--text-sm); color: var(--color-accent-text); }
.sec-eyebrow::before { content: ""; width: var(--space-xl); height: var(--rule-bar); background: var(--color-accent); }
.on-ink .sec-eyebrow { color: var(--color-accent-hi); }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; max-width: 18ch; }
.section--ink { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }
.section--ink .section-head h2 { color: var(--color-paper); }

/* ==== components/controls.css ==== */
/* Buttons and text links. Colours follow the surface context (--btn-sweep, --link-hover). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--size-control); padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-ink-rule); border-radius: var(--radius-card); font: 500 var(--text-sm)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn--primary { position: relative; overflow: hidden; isolation: isolate; background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out), background-color 0ms linear, border-color 0ms linear; }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-sweep); transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-short) var(--ease-out); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--btn-sweep-text); background-color: var(--btn-sweep); border-color: var(--btn-sweep); transition-delay: 0ms, 0ms, var(--dur-short); }
.btn--primary:hover::before, .btn--primary:focus-visible::before { transform: scaleX(1); }

.link-quiet { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); white-space: nowrap; }
.on-ink .link-quiet { color: var(--color-muted-on-ink); }

/* drawn underline, shared by every text link in nav, hero and footer */
.link-line, .link-quiet { position: relative; padding-bottom: var(--space-3xs); text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.link-line::after, .link-quiet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--rule-hair); background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-short) var(--ease-out); }
.link-line:hover, .link-quiet:hover { color: var(--link-hover); }
.link-line:hover::after, .link-quiet:hover::after, .link-line:focus-visible::after, .link-quiet:focus-visible::after { transform: scaleX(1); }

/* ==== components/header.css ==== */
/* Banner, sticky header, brand, primary nav, dropdown panels and the route line. */
.site-banner { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted-on-ink); background: var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-rule-on-ink); }
.site-banner__row { display: flex; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-xs); }

.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-rule-on-ink); color: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.is-scrolled .site-header { background: var(--color-paper); border-bottom-color: var(--color-rule); color: var(--color-ink); }
.site-header__row { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--space-2xl); padding-block: var(--space-sm); }

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); text-decoration: none; }
.brand-logo { height: var(--logo-h); width: auto; filter: invert(1); transition: filter var(--dur-short) var(--ease-out); }
.is-scrolled .brand-logo { filter: none; }
.brand small { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted-on-ink); transition: color var(--dur-short) var(--ease-out); }
.is-scrolled .brand small { color: var(--color-muted); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-lg); }
.site-nav > a, .nav-drop > a { font-size: var(--text-sm); font-weight: 500; color: var(--color-paper); white-space: nowrap; }
.is-scrolled .site-nav > a, .is-scrolled .nav-drop > a { color: var(--color-ink-2); }

.nav-drop { position: relative; padding-bottom: var(--space-sm); margin-bottom: calc(-1 * var(--space-sm)); }
.nav-drop > a { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.caret { width: var(--size-caret); height: var(--size-caret); border-right: var(--rule-hair) solid currentColor; border-bottom: var(--rule-hair) solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform var(--dur-short) var(--ease-out); }
.nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: rotate(225deg); }

.nav-drop__panel { position: absolute; top: 100%; left: 50%; z-index: var(--z-dropdown); min-width: var(--panel-min); padding: var(--space-2xs) 0; border: var(--rule-hair) solid var(--color-rule-on-ink); border-top: var(--rule-bar) solid var(--color-accent); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); opacity: 0; transform: translateX(-50%); pointer-events: none; transition: opacity var(--dur-short) var(--ease-out); }
.nav-drop__panel a { display: flex; align-items: baseline; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); white-space: nowrap; font-size: var(--text-sm); color: var(--color-muted-on-ink); text-decoration: none; opacity: 0; transform: translateY(var(--space-2xs)); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.nav-drop__panel a:hover { background: var(--wash); color: var(--color-paper); }
.nav-drop__idx { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-accent-hi); }
.nav-drop:hover .nav-drop__panel, .nav-drop:focus-within .nav-drop__panel { opacity: 1; pointer-events: auto; }
.nav-drop:hover .nav-drop__panel a, .nav-drop:focus-within .nav-drop__panel a { opacity: 1; transform: none; transition-delay: calc(40ms + var(--d, 0ms)); }
.nav-drop__panel a:nth-child(2) { --d: 30ms; } .nav-drop__panel a:nth-child(3) { --d: 60ms; } .nav-drop__panel a:nth-child(4) { --d: 90ms; } .nav-drop__panel a:nth-child(5) { --d: 120ms; } .nav-drop__panel a:nth-child(6) { --d: 150ms; }

/* route line: the scroll position as a wayfinding line along the header edge */
.route-line { position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--rule-bar)); height: var(--rule-bar); background: color-mix(in oklab, var(--color-muted) 30%, transparent); pointer-events: none; }
.route-line__fill { position: absolute; top: 0; left: 0; width: 100%; height: var(--rule-bar); background: var(--color-accent); transform: scaleX(var(--progress, 0)); transform-origin: left center; }
.route-line__stop { position: absolute; top: calc(-1 * var(--space-2xs)); width: var(--rule-bar); height: calc(var(--rule-bar) + var(--space-2xs) * 2); background: var(--color-muted); transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.route-line__stop.is-here { transform: scaleY(1.7); background: var(--color-accent); }

@media (max-width: 767px) {
  :root { --logo-h: 12px; }
  .site-banner__row > :first-child, .brand small { display: none; }
  .site-header__row { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }
  .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, var(--color-ink) 85%, transparent); }
  .nav-drop__panel, .caret { display: none; }
  #header-cta { margin-left: auto; min-height: var(--size-touch); padding-inline: var(--space-sm); }
}

/* ==== components/hero.css ==== */
/* Hero: full-bleed isometric scene, ink scrim, copy and activating hotspots. */
.hero { position: relative; min-height: calc(100svh - var(--chrome-h)); display: flex; background: var(--color-ink); color: var(--color-paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0; margin: 0; }
.hero__media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter-long) var(--ease-out); }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, var(--color-ink) 18%, color-mix(in oklab, var(--color-ink) 78%, transparent) 46%, color-mix(in oklab, var(--color-ink) 18%, transparent) 78%); }

.hero__field { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-3xl); align-items: center; padding-block: var(--space-xl) var(--space-lg); }
.hero__copy { min-width: 0; }
.hero h1 { max-width: none; text-wrap: balance; font-size: var(--text-hero); line-height: 0.98; color: var(--color-paper); }
.hero .lead { margin-top: var(--space-lg); color: var(--color-muted-on-ink); max-width: 44ch; }
.hero__actions { display: flex; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.hero__strip { grid-column: 1; display: flex; flex-direction: column; align-self: end; gap: var(--space-2xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-on-ink); font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted-on-ink); }

/* scroll cue: a thin line with a travelling mark, gone once the visitor scrolls */
.scroll-cue { position: absolute; left: 50%; bottom: var(--space-lg); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: var(--space-2xs); transform: translateX(-50%); transition: opacity var(--dur-short) var(--ease-out); }
.scroll-cue__label { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted-on-ink); }
.scroll-cue__line { position: relative; width: var(--rule-bar); height: var(--space-xl); background: var(--color-rule-on-ink); overflow: hidden; }
.scroll-cue__dot { position: absolute; left: 0; top: 0; width: var(--rule-bar); height: var(--space-xs); background: var(--color-accent-hi); animation: cue 1800ms var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(calc(-1 * var(--space-xs))); } 70%, 100% { transform: translateY(var(--space-xl)); } }
.scroll-cue:hover .scroll-cue__dot { animation-play-state: paused; }
.is-scrolled .scroll-cue { opacity: 0; }
@media (max-width: 1023px) { .scroll-cue { display: none; } }

/* hotspots sit on the right part of the scene; positions come from content.js */
.hotspots { position: absolute; inset: 0 0 0 46%; z-index: 3; margin: 0; padding: 0; list-style: none; }
.hotspot { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: var(--space-xs); }
.hotspot__dot { position: relative; width: var(--size-dot); height: var(--size-dot); background: var(--color-accent); border: 2px solid var(--color-paper-3); box-shadow: 0 0 0 var(--rule-hair) var(--color-ink); animation: hspot var(--dur-long) var(--ease-out) calc(400ms + var(--i, 0) * 160ms) 1 both; }
.hotspot__dot::before { content: ""; position: absolute; inset: -2px; border: 2px solid var(--color-accent-hi); opacity: 0; }
.hotspot__dot::after { content: ""; position: absolute; inset: calc(-1 * var(--space-2xs)); border: var(--rule-hair) solid var(--color-accent-hi); transform: scale(0); transition: transform var(--dur-short) var(--ease-out); }
.hotspot__label { padding: var(--space-2xs) var(--space-xs); background: var(--color-ink); color: var(--color-paper); border: var(--rule-hair) solid var(--color-rule-on-ink); font-size: var(--text-xs); white-space: nowrap; opacity: 0; transform: translateX(calc(-1 * var(--space-2xs))); transition: border-color var(--dur-micro) var(--ease-out); animation: hlabel var(--dur-short) var(--ease-out) calc(640ms + var(--i, 0) * 160ms) 1 forwards; }
.hotspot:hover .hotspot__dot::before { animation: ping var(--dur-long) var(--ease-out) 1; }
.hotspot:hover .hotspot__dot::after { transform: scale(1); }
.hotspot:hover .hotspot__label { border-color: var(--color-accent-hi); }

@keyframes hspot { 0% { opacity: 0; transform: scale(0); } 55% { opacity: 1; transform: scale(1.6); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hlabel { to { opacity: 1; transform: none; } }
@keyframes ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }

@media (prefers-reduced-motion: reduce) { .hotspot__dot, .hotspot__label { animation: none; opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero__media::after { background: linear-gradient(180deg, color-mix(in oklab, var(--color-ink) 90%, transparent), var(--color-ink)); }
  .hero__field { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); padding-block: var(--space-2xl) var(--space-lg); align-items: start; }
  .hotspots { display: none; } /* the scrim covers the scene on narrow screens; labels would sit on the copy */
}

@media (max-width: 767px) {
  .hero h1 { font-size: var(--text-hero-s); }
}


/* bottom strip: divided stat cells like the reference hero */
.hero__strip { display: flex; align-items: stretch; border-top: var(--rule-hair) solid var(--color-rule-on-ink); }
.hero__cell { flex: 1; display: grid; gap: var(--space-3xs); padding: var(--space-md) var(--space-lg); }
.hero__cell + .hero__cell { border-left: var(--rule-hair) solid var(--color-rule-on-ink); }
.hero__cell-label { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted-on-ink); }
.hero__cell-value { color: var(--color-paper); }
@media (max-width: 1023px) { .hero__strip { flex-wrap: wrap; } .hero__cell { flex: 1 1 45%; } }

/* ==== components/tech-index.css ==== */
/* Technology register: twelve numbered rows, the three flagships marked. */
.index { list-style: none; margin: 0; padding: 0; }
.index-row { display: grid; grid-template-columns: var(--space-3xl) minmax(0, 5fr) minmax(0, 5fr) var(--space-md); gap: var(--gap-columns); align-items: baseline; padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.index-row__idx { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); transition: color var(--dur-micro) var(--ease-out); }
.index-row__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); letter-spacing: var(--tracking-display); transition: transform var(--dur-short) var(--ease-out); }
.index-row__role { color: var(--color-ink-2); }
.index-row__mark { width: 0.5em; height: 0.5em; align-self: center; background: var(--color-accent); }
.index-row:hover .index-row__idx { color: var(--color-accent-text); }
.index-row:hover .index-row__name { transform: translateX(var(--space-2xs)); }

@media (max-width: 1023px) {
  .index-row { grid-template-columns: var(--space-2xl) minmax(0, 1fr) var(--space-md); }
  .index-row__role { grid-column: 2; }
}

/* ==== components/systems.css ==== */
/* Flagship systems: three rows with a spec plate in the image slot. */
.system { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); padding: var(--space-xl) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.system:first-child { border-top-color: var(--color-ink-rule); }
.system__head { display: flex; align-items: baseline; gap: var(--space-md); }
.system__idx { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); transition: color var(--dur-micro) var(--ease-out); }
.system__head h3 { line-height: 1.1; }
.system__tag { margin-top: var(--space-2xs); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); }
.system__spec { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent-text); }
.system__body p + p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.system:hover .system__idx, .system:hover .specplate__figure { color: var(--color-accent-text); }

/* figure frame with an inner keyline */
.fig { position: relative; overflow: hidden; margin: 0; aspect-ratio: 16 / 10; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.fig::after { content: ""; position: absolute; inset: var(--space-xs); z-index: 2; border: var(--rule-hair) solid color-mix(in oklab, var(--color-paper-3) 55%, transparent); pointer-events: none; }
.fig > img { filter: saturate(0.88) contrast(1.1); }

.specplate { position: relative; z-index: 3; display: grid; align-content: end; gap: var(--space-2xs); height: 100%; padding: var(--space-md) var(--space-lg); }
.specplate__figure { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-display-s); line-height: 1; letter-spacing: var(--tracking-display); transition: color var(--dur-short) var(--ease-out); }
.specplate__unit { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-accent-text); }
.specplate__caption { font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 1023px) {
  .system { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
}


/* reference layout: alternating text/plate splits */
.system { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-3xl); row-gap: var(--space-md); align-items: start; padding: var(--space-3xl) 0; }
.system__head { grid-column: 1 / -1; }
.system__body { grid-column: 1; }
.system .fig { grid-column: 2; grid-row: 2; align-self: stretch; aspect-ratio: auto; min-height: 300px; }
.system:nth-child(even) .fig { grid-column: 1; }
.system:nth-child(even) .system__head, .system:nth-child(even) .system__body { grid-column: 2; }
@media (max-width: 1023px) {
  .system { grid-template-rows: auto; }
  .system .fig, .system:nth-child(even) .fig, .system:nth-child(even) .system__head, .system:nth-child(even) .system__body { grid-column: 1; grid-row: auto; }
  .system .fig { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ==== components/sectors.css ==== */
/* Environments: name and task, two columns per row. */
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-ink-rule); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: baseline; padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.row h3 { font-size: var(--text-title); }
.row p { color: var(--color-ink-2); }

@media (max-width: 1023px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}

/* ==== components/services.css ==== */
/* Services: four joined plates in one frame. Dividers use the light rule on every breakpoint. */
.plate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); overflow: hidden; }
.service { padding: var(--space-lg); transition: background-color var(--dur-short) var(--ease-out); }
.service + .service { border-left: var(--rule-hair) solid var(--color-rule); }
.service__idx { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); transition: color var(--dur-micro) var(--ease-out); }
.service h3 { margin-top: var(--space-sm); font-size: var(--text-lg); }
.service p { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.service:hover { background: var(--wash); }
.service:hover .service__idx { color: var(--color-accent-text); }

@media (max-width: 1023px) {
  .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service + .service { border-left: 0; }
  .service:nth-child(even) { border-left: var(--rule-hair) solid var(--color-rule); }
  .service:nth-child(n + 3) { border-top: var(--rule-hair) solid var(--color-rule); }
}

@media (max-width: 767px) {
  .plate-grid { grid-template-columns: minmax(0, 1fr); }
  .service:nth-child(even) { border-left: 0; }
  .service + .service { border-top: var(--rule-hair) solid var(--color-rule); }
}

/* ==== components/process.css ==== */
/* Process: numbered stops on a dark field, stacked like the reference list. */
.route { list-style: none; margin: 0; padding: 0; }
.route__stop { display: grid; grid-template-columns: minmax(90px, 150px) minmax(0, 1fr); column-gap: var(--space-xl); padding: var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule-on-ink); }
.route__step { grid-row: span 2; font-family: var(--font-display); font-weight: 500; font-size: var(--text-display-s); line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-accent-hi); transition: color var(--dur-short) var(--ease-out); }
.route__stop h3 { grid-column: 2; }
.route__stop p { grid-column: 2; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted-on-ink); }
.route__stop:hover .route__step { color: var(--color-paper); }

@media (max-width: 767px) {
  .route__stop { grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--space-md); }
  .route__step { font-size: 1.6rem; }
}


/* reference composition: head left, the numbered route on the right */
#modszertan .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-3xl); align-items: start; }
@media (max-width: 1023px) { #modszertan .container { grid-template-columns: minmax(0, 1fr); } }

/* ==== components/contact.css ==== */
/* Contact: copy, the contact plate with live mailto/tel links, and the 24/7 spec plate. */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.contact__copy .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.contact-plate { list-style: none; margin: var(--space-xl) 0; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); overflow: hidden; }
.contact-plate li { padding: var(--space-sm) var(--space-lg); }
.contact-plate li + li { border-top: var(--rule-hair) solid var(--color-rule); }
.contact-plate li:first-child { font-weight: 500; }
.contact-plate li a { display: block; margin: calc(-1 * var(--space-sm)) calc(-1 * var(--space-lg)); padding: var(--space-sm) var(--space-lg); text-decoration: none; transition: color var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.contact-plate li a:hover { color: var(--link-hover); background: var(--wash); }
.note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 1023px) {
  .contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
}

/* ==== components/footer.css ==== */
/* Footer mast on ink: light logo, two link columns, map, legal line. */
.site-footer { margin-top: var(--section-gap-s); padding-block: var(--space-2xl) var(--space-xl); background: var(--color-ink); color: var(--color-muted-on-ink); }
.footer-mast { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 5fr); gap: var(--gap-columns); }
.footer-logo { height: var(--logo-h-footer); width: auto; }
.footer-line { margin-top: var(--space-md); max-width: 32ch; font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted-on-ink); }
.footer-col { display: grid; align-content: start; justify-items: start; gap: var(--space-xs); }
.footer-col__label { margin-bottom: var(--space-2xs); font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-accent-hi); }
.footer-col a { font-size: var(--text-sm); font-weight: 500; color: var(--color-paper); }
.footer-col__text { font-size: var(--text-sm); color: var(--color-muted-on-ink); }
.footer-map { margin: 0; border: var(--rule-hair) solid var(--color-rule-on-ink); border-radius: var(--radius-card); overflow: hidden; }
.footer-map iframe { display: block; width: 100%; height: 100%; min-height: var(--map-min-h); border: 0; filter: grayscale(1) invert(0.92) contrast(0.92) brightness(1.06); }
.footer-base { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-on-ink); }
.footer-legal { font-size: var(--text-sm); color: var(--color-muted-on-ink); }

@media (max-width: 1023px) {
  .footer-mast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-map { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .site-footer { padding-bottom: calc(var(--size-touch) + var(--space-xl)); } /* keeps the legal line clear of the back-to-top control */
}

/* ==== components/to-top.css ==== */
/* Back-to-top control: appears once the visitor is a full viewport deep. */
.to-top { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-dropdown); display: inline-flex; align-items: center; justify-content: center; width: var(--space-xl); height: var(--space-xl); border: var(--rule-hair) solid var(--color-rule-on-ink); border-radius: var(--radius-card); background: var(--color-ink); cursor: pointer; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), border-color var(--dur-micro) var(--ease-out), visibility var(--dur-short); }
.to-top::before { content: ""; width: var(--size-mark); height: var(--size-mark); border-top: var(--rule-bar) solid var(--color-paper); border-left: var(--rule-bar) solid var(--color-paper); transform: rotate(45deg) translate(2px, 2px); transition: transform var(--dur-micro) var(--ease-out); }
.to-top:hover { border-color: var(--color-accent-hi); animation-play-state: paused; }
.to-top:hover::before { transform: rotate(45deg) translate(1px, 1px); }
.js.is-deep .to-top { animation: tobob 2600ms var(--ease-in-out) infinite; }
@keyframes tobob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.js .to-top { opacity: 0; transform: translateY(var(--space-xs)); pointer-events: none; visibility: hidden; }
.js.is-deep .to-top { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }

/* ==== components/prose.css ==== */
/* template pages: a quiet measure for markdown content */
.prose { max-width: 64ch; padding-block: var(--space-2xl); }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; }
.prose p { margin-top: var(--space-md); color: var(--color-ink-2); }
.prose .lead { font-size: var(--text-lg); color: var(--color-ink); }
.prose ul { margin-top: var(--space-md); padding-left: 1.2em; }
.prose li + li { margin-top: var(--space-2xs); }
.prose a { color: var(--color-accent-text); }

/* hotspot positions (inline styles were dropped by the html-to-page converter) */
.hotspot:nth-child(1) { left: 48%; top: 26%; --i: 0; }
.hotspot:nth-child(2) { left: 31%; top: 58%; --i: 1; }
.hotspot:nth-child(3) { left: 11%; top: 30%; --i: 2; }
.hotspot:nth-child(4) { left: 7%; top: 76%; --i: 3; }

/* tech pages: page-hero, breadcrumb, featured index rows */
.page-hero { color: var(--color-paper); padding-top: calc(var(--chrome-h) + var(--space-3xl)); padding-bottom: var(--space-3xl); background-color: var(--color-ink); }
.page-hero .lead { color: var(--color-muted-on-ink); }
.page-hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-on-ink); }
@media (max-width: 1023px) { .page-hero__meta { grid-template-columns: 1fr; gap: var(--space-md); } }
.crumb { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-muted-on-ink); font-family: var(--font-outlier); font-size: var(--text-xs); margin-bottom: var(--space-xl); }
.crumb a { color: inherit; text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.crumb a:hover, .crumb a:focus-visible { color: var(--color-accent-hi); }
.crumb__sep { color: var(--color-ink-rule); }
.index-row.is-featured .index-row__name, .index-row.is-featured .index-row__idx { color: var(--color-accent-text); }

/* index rows became links: kill the underline and inherit colour */
.index-row { text-decoration: none; color: inherit; }
.index-row:hover { color: inherit; }

/* global settings set heading/paragraph color on the tag itself; the ink context must win it back */
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--color-paper); }
.on-ink p, .on-ink li { color: var(--color-muted-on-ink); }

/* footer map: full-bleed to the viewport's right edge, fading into ink on the left */
.footer-map { margin-right: calc(50% - 50vw); min-height: 340px; }
.footer-map::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--space-3xl); z-index: 2; background: linear-gradient(90deg, var(--color-ink), transparent); pointer-events: none; }
@media (max-width: 1023px) { .footer-map { margin-right: 0; min-height: var(--map-min-h); } .footer-map::before { width: var(--space-lg); } }

/* the full-bleed map reads better without a frame on the free edge */
@media (min-width: 1024px) { .footer-map { border: 0; border-radius: 0; } }

/* widen the ink fade so the map blends into the field */
.footer-map::before { width: clamp(120px, 14vw, 220px); }

/* the fade anchors to the figure, not the viewport */
.footer-map { position: relative; }

/* blue-tint the map: ink hue over the grayscale frame, below the edge fade */
.footer-map::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-ink); mix-blend-mode: color; pointer-events: none; }

/* drop the colour blend — tint the frame itself instead: ink-hue duotone */
.footer-map::after { display: none; }
.footer-map iframe { filter: grayscale(1) invert(0.92) contrast(0.95) brightness(1.02) sepia(0.5) hue-rotate(172deg) saturate(1.45); }

/* Kapcsolat form: ink-on-paper panels matching the plate system */
.form-slot .breakdance-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-md); }
.form-slot .breakdance-form-field { display: grid; gap: var(--space-2xs); font-family: var(--font-outlier); font-size: var(--type-eyebrow); letter-spacing: 0.06em; color: var(--color-muted); }
.form-slot .breakdance-form-field--full, .form-slot .breakdance-form-checkbox, .form-slot .breakdance-form__footer { grid-column: 1/-1; }
.form-slot input[type="text"], .form-slot input[type="email"], .form-slot input[type="tel"], .form-slot select, .form-slot textarea {
  width: 100%; font: inherit; font-size: var(--type-body); color: var(--color-ink);
  background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-s); padding: var(--space-xs) var(--space-s);
  transition: border-color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.form-slot input:focus-visible, .form-slot select:focus-visible, .form-slot textarea:focus-visible { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 2px color-mix(in oklab, var(--color-accent) 28%, transparent); }
.form-slot textarea { min-height: 8.5rem; resize: vertical; }
.form-slot .breakdance-form-checkbox { display: flex; align-items: center; gap: var(--space-2xs); }
.form-slot .breakdance-form__submit { justify-self: start; font-family: var(--font-body); font-weight: var(--weight-medium); letter-spacing: 0.01em; color: var(--color-ink); background: var(--color-accent); border: 0; border-radius: var(--radius-s); padding: var(--space-xs) var(--space-lg); cursor: pointer; transition: background var(--dur-micro) var(--ease-out); }
.form-slot .breakdance-form__submit:hover { background: var(--color-accent-hi); }
.form-slot .breakdance-form__submit:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
@media (max-width: 767px) { .form-slot .breakdance-form { grid-template-columns: 1fr; } }

/* hotspot positions for the new hero render (sorompó / drónok / diszpécser / robotkutya / kerítés) */
.hotspot:nth-child(1) { left: 70%; top: 23%; --i: 0; }
.hotspot:nth-child(2) { left: 28%; top: 74%; --i: 1; }
.hotspot:nth-child(3) { left: 47%; top: 42%; --i: 2; }
.hotspot:nth-child(4) { left: 14%; top: 68%; --i: 3; }
.hotspot:nth-child(5) { left: 52%; top: 69%; --i: 4; }

.hotspot:nth-child(2) { left: 25%; top: 78%; }

/* show the whole render instead of cropping it; soften the left scrim */
.hero__media > img { object-fit: contain; }
.hero__media::after { background: linear-gradient(100deg, var(--color-ink) 12%, color-mix(in oklab, var(--color-ink) 55%, transparent) 44%, color-mix(in oklab, var(--color-ink) 12%, transparent) 82%); }

/* deterministic hotspot anchors via per-element bde classes (nth-child order shifted after duplication) */
.hotspot.bde-f-container-14-103 { left: 82%; top: 33%; --i: 0; }
.hotspot.bde-f-container-14-106 { left: 26%; top: 86%; --i: 1; }
.hotspot.bde-f-container-14-109 { left: 68%; top: 52%; --i: 2; }
.hotspot.bde-f-container-14-112 { left: 51%; top: 69%; --i: 3; }
.hotspot.bde-f-container-14-329 { left: 73%; top: 70%; --i: 4; }

/* hotspots overlay spans the full hero, so % maps to the whole image */
.hotspots { position: absolute; inset: 0; }
.hotspot.bde-f-container-14-103 { left: 71%; top: 24%; }
.hotspot.bde-f-container-14-106 { left: 27%; top: 74%; }
.hotspot.bde-f-container-14-109 { left: 47%; top: 42%; }
.hotspot.bde-f-container-14-112 { left: 14%; top: 67%; }
.hotspot.bde-f-container-14-329 { left: 52%; top: 68%; }

/* hotspot nudges onto the objects themselves */
.hotspot.bde-f-container-14-106 { top: 85%; }
.hotspot.bde-f-container-14-109 { left: 48%; top: 55%; }
.hotspot.bde-f-container-14-112 { left: 13%; top: 70%; }

/* hotspots are links now — keep the tag look, add a hover state */
a.hotspot { text-decoration: none; }
a.hotspot:hover .hotspot__label, a.hotspot:focus-visible .hotspot__label { background: var(--color-accent); color: var(--color-ink); }

/* hero strip: Azzuro-style hairline column band across the hero's bottom edge */
.hero__strip { grid-column: 1 / -1; flex-direction: row; align-self: end; padding-top: 0; }
.hero__cell { padding: var(--space-s) var(--space-md) var(--space-md); }
@media (max-width: 767px) { .hero__strip { flex-wrap: nowrap; overflow-x: auto; } .hero__cell { flex: 0 0 auto; min-width: 44%; } }

/* ink bed under the hero strip so the cells read on light pavement */
.hero__strip { background: linear-gradient(180deg, transparent, var(--color-ink) 45%); }

/* pin the strip to the hero's bottom edge so it never adds flow height */
.hero__field { position: relative; }
.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; }

/* strip back into the copy column: one hairline row under the actions, readable on ink */
.hero__strip { position: static; grid-column: 1; flex-direction: row; background: none; padding-top: var(--space-md); gap: 0; }
.hero__cell { padding: 0 var(--space-md) 0 0; }
.hero__cell + .hero__cell { border-left: var(--rule-hair) solid var(--color-rule-on-ink); padding-left: var(--space-md); }
@media (max-width: 767px) { .hero__cell { padding: var(--space-xs) 0 0; } }

/* keep the strip right under the actions instead of pinning to the field's end */
.hero__strip { align-self: start; }
.hero__cell-value { display: block; white-space: normal; }

.hotspot.bde-f-container-14-112 { left: 13%; top: 63%; }

/* hotspot tags: label left of the dot with a hairline pointing at the object; sonar-pulsing dots */
.hotspot { flex-direction: row-reverse; gap: var(--space-lg); }
.hotspot__label { position: relative; }
.hotspot__label::before { content: ""; position: absolute; left: 100%; top: 50%; width: var(--space-lg); height: 1px; background: var(--color-rule-on-ink); }
.hotspot__dot::before { animation: sonar 2.4s var(--ease-out) calc(var(--i, 0) * .4s) infinite; }
@keyframes sonar { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
@media (prefers-reduced-motion: reduce) { .hotspot__dot::before { animation: none; } }

/* edge case: the leftmost tag would overlap the CTA — this one points right instead */
.hotspot.bde-f-container-14-112 { flex-direction: row; top: 60%; }
.hotspot.bde-f-container-14-112 .hotspot__label::before { left: auto; right: 100%; }

/* scrim: vertical only — dark from the top, no left-side wash */
.hero__media::after { background: linear-gradient(180deg, var(--color-ink) 0%, color-mix(in oklab, var(--color-ink) 55%, transparent) 42%, color-mix(in oklab, var(--color-ink) 20%, transparent) 100%); }
/* keep copy legible where the image is light on the left */
.hero__copy { background: linear-gradient(90deg, color-mix(in oklab, var(--color-ink) 72%, transparent), transparent); }
/* drónok dot onto the top propeller so the label clears the craft */
.hotspot.bde-f-container-14-103 { left: 76%; top: 25%; }

/* no gradient behind the copy column either */
.hero__copy { background: none; }

/* scrim: shorter and fainter toward the bottom */
.hero__media::after { background: linear-gradient(180deg, var(--color-ink) 0%, color-mix(in oklab, var(--color-ink) 45%, transparent) 34%, transparent 75%); }

/* two soft layers: top-down + a wide left wash so the copy stays readable with no hard edge */
.hero__media::after { background:
  linear-gradient(180deg, var(--color-ink) 0%, color-mix(in oklab, var(--color-ink) 45%, transparent) 34%, transparent 75%),
  linear-gradient(90deg, color-mix(in oklab, var(--color-ink) 82%, transparent) 0%, color-mix(in oklab, var(--color-ink) 55%, transparent) 42%, transparent 70%); }

.hotspot.bde-f-container-14-112 { left: 12.5%; top: 70%; }

.hotspot.bde-f-container-14-112 { left: 12.6%; top: 66%; }

.hotspot.bde-f-container-14-112 { left: 13.5%; top: 78%; }

/* per-hotspot direction and position tweaks */
.hotspot.bde-f-container-14-103 { left: 76%; top: 31%; }
.hotspot.bde-f-container-14-106 { flex-direction: row; }
.hotspot.bde-f-container-14-106 .hotspot__label::before { left: auto; right: 100%; }
.hotspot.bde-f-container-14-109 { flex-direction: row; top: 47%; }
.hotspot.bde-f-container-14-109 .hotspot__label::before { left: auto; right: 100%; }

.hotspot.bde-f-container-14-106 { left: 27%; top: 78%; }
.hotspot.bde-f-container-14-109 { left: 48%; }

/* robotika dot onto the dog's head; drone dot to the craft's underside */
.hotspot.bde-f-container-14-106 { left: 29%; top: 77%; }
.hotspot.bde-f-container-14-103 { left: 74%; top: 37%; }

/* robotika dot onto the dog's head, label extends right over clear pavement */
.hotspot.bde-f-container-14-106 { left: 30%; top: 79%; }
