/* ==========================================================================
   Servo Group — concept rebuild
   Command-centre dark · Servo orange #EE7623 · Archivo + IBM Plex Mono
   ========================================================================== */

:root, :root[data-theme="light"] .force-dark {
  /* palette */
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --surface: #14171b;
  --surface-2: #1a1e23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef0;
  --text-2: #c3c7cc;
  --muted: #9aa0a8;
  --orange: #ee7623;
  --orange-hi: #ff8a3d;
  --orange-dim: rgba(238, 118, 35, 0.14);
  --on-orange: #0a0b0d;
  --ok: #3ddc84;
  --paper: #eeece8;
  --paper-2: #e3e0da;
  --ink: #111316;
  --accent: #ee7623;
  --bg-deep: #07080a;
  --header-bg: rgba(10, 11, 13, 0.82);
  --mega-bg: #0d0f12;
  --hover: rgba(255, 255, 255, 0.05);
  --hover-1: rgba(255, 255, 255, 0.02);
  --line-3: rgba(255, 255, 255, 0.28);
  --map-land: #1b1f25;
  --map-ie: #121519;
  --shadow-lg: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
  --ink-2: #4a4f56;

  /* type */
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --t-3xl: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --t-hero: clamp(2.9rem, 1.4rem + 6.2vw, 7.4rem);

  /* space (8pt) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1360px;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur: 220ms;

  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;

  color-scheme: dark;
}


/* ---------- light theme (toggle) ---------- */
:root[data-theme="light"] {
  --bg: #f5f4f1;
  --bg-2: #ecebe6;
  --surface: #ffffff;
  --surface-2: #f3f1ed;
  --line: rgba(17, 19, 22, 0.1);
  --line-2: rgba(17, 19, 22, 0.18);
  --line-3: rgba(17, 19, 22, 0.35);
  --text: #121417;
  --text-2: #363b42;
  --muted: #5a6068;
  --accent: #b1500c;
  --orange-dim: rgba(238, 118, 35, 0.13);
  --header-bg: rgba(245, 244, 241, 0.86);
  --mega-bg: #ffffff;
  --hover: rgba(17, 19, 22, 0.05);
  --hover-1: rgba(17, 19, 22, 0.02);
  --map-land: #dcd8d0;
  --map-ie: #e9e6e0;
  --shadow-lg: 0 40px 80px -30px rgba(17, 19, 22, 0.25);
  color-scheme: light;
}
.force-dark { color: var(--text); }
.brand .logo-light { display: none; }
:root[data-theme="light"] .header .brand .logo-dark { display: none; }
:root[data-theme="light"] .header .brand .logo-light { display: block; }
:root[data-theme="light"] .logo-mono { filter: grayscale(1) contrast(1.25); mix-blend-mode: multiply; opacity: .7; }
:root[data-theme="light"] .card, :root[data-theme="light"] .qcard, :root[data-theme="light"] .icard { box-shadow: 0 1px 2px rgba(17,19,22,.04); }
:root[data-theme="light"] .phero--plain::before { background: radial-gradient(80% 120% at 85% 0%, rgba(238,118,35,.12), transparent 60%); }

.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: all var(--dur); flex: none; }
.theme-btn:hover { color: var(--text); border-color: var(--text-2); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
.header .theme-btn--mob { margin-left: auto; }
.header .theme-btn--mob + .burger { margin-left: var(--s-2); }
@media (min-width: 1140px) { .theme-btn--mob { display: none; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--on-orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.skip {
  position: fixed; left: var(--s-4); top: var(--s-4); z-index: var(--z-skip);
  background: var(--orange); color: var(--on-orange); padding: var(--s-3) var(--s-4);
  font-weight: 700; border-radius: var(--r-sm); transform: translateY(-200%);
}
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--surface { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.grid { display: grid; gap: var(--s-5); }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.display { font-size: var(--t-hero); letter-spacing: -0.035em; line-height: 0.92; }
.h1 { font-size: var(--t-3xl); }
.h2 { font-size: var(--t-2xl); line-height: 1.02; }
.h3 { font-size: var(--t-xl); line-height: 1.1; letter-spacing: -0.015em; }
.h4 { font-size: var(--t-lg); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem); line-height: 1.55; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.prose p + p { margin-top: 1em; }
.prose { color: var(--text-2); max-width: 66ch; text-wrap: pretty; }
.section--paper .prose, .section--paper .lede { color: var(--ink-2); }
.section--paper .eyebrow, .section--paper .tag { color: #a3470a; }
.section--paper .link { color: var(--ink); }
.section--paper .link svg { color: #a3470a; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.mono { font-family: var(--f-mono); font-size: var(--t-sm); letter-spacing: 0.02em; }
.label {
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

.head { display: grid; gap: var(--s-5); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .head--split { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); } }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: var(--h); padding: 0 1.4rem;
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em;
  border-radius: var(--r-sm); border: 1px solid transparent;
  transition: background var(--dur) var(--ease-out), color var(--dur), border-color var(--dur), transform 120ms;
  white-space: nowrap; touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-hi); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: var(--hover-1); }
.btn--ghost:hover { border-color: var(--text); background: var(--hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--sm { --h: 42px; padding: 0 1rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; color: var(--text);
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out), color var(--dur);
  padding-block: 4px;
}
.link svg { width: 16px; height: 16px; color: var(--accent); transition: transform var(--dur) var(--ease-out); }
.link:hover { background-size: 100% 1px; }
.link:hover svg { transform: translateX(3px); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- status bar ---------- */
.statusbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.statusbar .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 36px; }
.statusbar__live { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.statusbar__item { display: none; }
.statusbar__right { margin-left: auto; display: flex; gap: var(--s-5); align-items: center; }
.statusbar a:hover { color: var(--text); }
@media (min-width: 760px) { .statusbar__item { display: inline-flex; gap: var(--s-2); } }
@media (max-width: 759px) { .statusbar__right { display: none; } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: none; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 0.85rem; min-height: 44px;
  font-size: 0.9375rem; font-weight: 600; color: var(--text-2); border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--text); background: var(--hover); }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--text); }
.nav__link[aria-current="page"]::after, .nav__link.is-current::after { content: ""; width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.nav__link svg { width: 14px; height: 14px; transition: transform var(--dur); }
.nav__item { position: relative; }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }
.header__cta { display: none; gap: var(--s-3); align-items: center; }
.header__phone { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--text-2); display: inline-flex; gap: var(--s-2); align-items: center; min-height: 44px; padding-inline: var(--s-2); }
.header__phone:hover { color: var(--text); }
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }

/* mega menu */
.mega {
  position: fixed; left: 0; right: 0; top: var(--mega-top, 112px);
  background: var(--mega-bg); border-block: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s 220ms;
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega, .nav__item.is-open > .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega__inner { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1.05fr; gap: var(--s-6); padding-block: var(--s-6) var(--s-7); }
.mega__col h3 { margin-bottom: var(--s-4); }
.mega__col a { display: flex; gap: var(--s-3); align-items: flex-start; padding: 0.6rem 0.75rem; margin-inline: -0.75rem; border-radius: var(--r-sm); transition: background var(--dur); }
.mega__col a:hover { background: var(--hover); }
.mega__col a .icon { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; flex: none; }
.mega__col strong { display: block; font-size: 0.9375rem; font-weight: 700; }
.mega__col span.d { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
.mega__feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; padding: var(--s-5); isolation: isolate; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega__feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.85)); z-index: -1; }
.mega__feature p { font-weight: 700; line-height: 1.3; }
.mega--small .mega__inner { grid-template-columns: repeat(4, 1fr); }

/* burger */
.burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: background 0s 120ms; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: transform 220ms var(--ease-out), top 120ms 120ms; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); transition: top 120ms, transform 220ms 120ms var(--ease-out); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); transition: top 120ms, transform 220ms 120ms var(--ease-out); }

.mobile-menu {
  position: fixed; inset: 0; top: var(--menu-top, 112px); z-index: var(--z-menu);
  background: var(--bg); overflow-y: auto; padding: var(--s-5) var(--gutter) var(--s-8);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s 240ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary, .mobile-menu > a {
  display: flex; justify-content: space-between; align-items: center; min-height: 60px;
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -0.02em;
  list-style: none; cursor: pointer;
}
.mobile-menu > a { border-bottom: 1px solid var(--line); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 20px; height: 20px; transition: transform var(--dur); color: var(--accent); }
.mobile-menu details[open] summary svg { transform: rotate(45deg); }
.mobile-menu details ul { padding-bottom: var(--s-4); }
.mobile-menu details a { display: flex; min-height: 44px; align-items: center; color: var(--text-2); font-weight: 600; }
.mobile-menu .label { display: block; margin-top: var(--s-3); }
.mobile-menu__cta { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
body.menu-open { overflow: hidden; }

@media (min-width: 1140px) {
  .nav { display: block; }
  .header__cta { display: flex; }
  .burger, .mobile-menu { display: none; }
  .nav { margin-left: var(--s-5); }
  .header__cta { margin-left: auto; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 980px);
  display: grid; align-items: end;
  padding-block: clamp(6rem, 12vh, 10rem) clamp(2.5rem, 6vh, 4.5rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 18s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,11,13,.94) 0%, rgba(10,11,13,.72) 42%, rgba(10,11,13,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10,11,13,0) 38%);
}
.hero::after { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__grid { display: grid; gap: var(--s-7); align-items: end; }
@media (min-width: 1100px) { .hero__grid { grid-template-columns: 1fr 400px; gap: var(--s-8); } }
.hero h1 { margin-block: var(--s-5) var(--s-5); max-width: 13ch; }
.hero h1 .accent { display: inline; }
.hero .lede { max-width: 54ch; }
.hero .btn-row { margin-top: var(--s-6); }

/* dispatch panel */
.panel {
  background: rgba(14, 16, 19, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  overflow: hidden;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.panel__body { padding: var(--s-5); }
.panel__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-5); }
.chip {
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em;
  min-height: 36px; padding: 0 0.8rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2);
  transition: all var(--dur);
}
.chip:hover { color: var(--text); border-color: var(--text-2); }
.chip[aria-selected="true"] { background: var(--orange); border-color: var(--accent); color: var(--on-orange); font-weight: 500; }
.readout { display: grid; gap: var(--s-4); }
.readout__row { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); align-items: baseline; padding-bottom: var(--s-3); border-bottom: 1px dashed var(--line-2); }
.readout__row:last-child { border-bottom: 0; padding-bottom: 0; }
.readout__k { font-size: var(--t-sm); color: var(--muted); }
.readout__v { font-family: var(--f-mono); font-size: 0.9375rem; color: var(--text); text-align: right; }
.readout__big { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.readout__big small { font-size: 1rem; color: var(--muted); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.panel__foot { padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.panel [role="tabpanel"] { animation: fadeUp 300ms var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ---------- marquee of clients ---------- */
.clients { border-block: 1px solid var(--line); background: var(--bg); padding-block: var(--s-6); overflow: hidden; }
.clients__row { display: flex; align-items: center; gap: var(--s-6); }
.clients__label { flex: none; max-width: 210px; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(2.5rem, 4vw, 4.5rem); width: max-content; animation: scroll 70s linear infinite; align-items: center; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-mono { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.3); mix-blend-mode: screen; opacity: 0.62; transition: opacity var(--dur); }
.logo-mono:hover { opacity: 1; }
.marquee__btn { flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.marquee__btn:hover { color: var(--text); border-color: var(--text-2); }
.marquee__btn svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .clients__label { display: none; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stat { padding: var(--s-6) var(--s-5) var(--s-6) 0; border-bottom: 1px solid var(--line); position: relative; }
.stat:nth-child(odd) { padding-right: var(--s-5); }
.stat:nth-child(even) { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stat__n { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 118; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); letter-spacing: -0.04em; line-height: 0.95; }
.stat__n sup { font-size: 0.45em; color: var(--accent); vertical-align: top; margin-left: 2px; letter-spacing: 0; top: .2em; position: relative; }
.stat__k { margin-top: var(--s-3); color: var(--muted); font-size: var(--t-sm); max-width: 26ch; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- service index ---------- */
.division + .division { margin-top: var(--s-8); }
.division__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line-2); }
.svc-list { counter-reset: svc; }
.svc {
  display: grid; grid-template-columns: 48px 1fr auto; gap: var(--s-4); align-items: center;
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding var(--dur) var(--ease-out);
}
.svc__n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); }
.svc__t { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 110; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.05; transition: color var(--dur); }
.svc__d { color: var(--muted); font-size: var(--t-sm); margin-top: 6px; max-width: 60ch; }
.svc__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all var(--dur) var(--ease-out); }
.svc__go svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.svc:hover .svc__t { color: var(--accent); }
.svc:hover .svc__go { background: var(--orange); border-color: var(--accent); color: var(--on-orange); }
.svc:hover .svc__go svg { transform: rotate(-45deg); }
.svc::after { content: ""; position: absolute; inset: 0; }
.svc a { position: static; }
.svc a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc__thumb {
  position: absolute; right: 80px; top: 50%; width: 220px; aspect-ratio: 4/3; border-radius: var(--r);
  overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(.92);
  transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-out); z-index: 2;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 1000px) { .svc:hover .svc__thumb { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); } }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); position: relative; transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.card--link:hover { border-color: rgba(238,118,35,.5); }
.card__icon { width: 52px; height: 52px; border-radius: var(--r); background: var(--orange-dim); color: var(--accent); display: grid; place-items: center; margin-bottom: var(--s-5); }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--muted); font-size: 0.975rem; }
.card .label { display: block; margin-bottom: var(--s-4); }
.cards-2, .cards-3, .cards-4 { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }

/* image card */
.icard { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur); }
.icard:hover { border-color: var(--line-2); }
.icard__img { aspect-ratio: 16/10; overflow: hidden; }
.icard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.icard:hover .icard__img img { transform: scale(1.04); }
.icard__body { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.icard__body p { color: var(--muted); font-size: 0.95rem; }

/* ---------- viewfinder frame ---------- */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::before {
  content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none;
  --c: rgba(255,255,255,.75); --l: 18px;
  background:
    linear-gradient(var(--c),var(--c)) 0 0/var(--l) 1.5px, linear-gradient(var(--c),var(--c)) 0 0/1.5px var(--l),
    linear-gradient(var(--c),var(--c)) 100% 0/var(--l) 1.5px, linear-gradient(var(--c),var(--c)) 100% 0/1.5px var(--l),
    linear-gradient(var(--c),var(--c)) 0 100%/var(--l) 1.5px, linear-gradient(var(--c),var(--c)) 0 100%/1.5px var(--l),
    linear-gradient(var(--c),var(--c)) 100% 100%/var(--l) 1.5px, linear-gradient(var(--c),var(--c)) 100% 100%/1.5px var(--l);
  background-repeat: no-repeat;
}
.frame__cap {
  position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 2;
  display: flex; justify-content: space-between; gap: var(--s-3);
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  padding: 10px 12px; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
}
.frame__rec { display: inline-flex; align-items: center; gap: 6px; }
.frame__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ---------- split ---------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-9); } .split--rev > :first-child { order: 2; } .split--wide { grid-template-columns: 1.2fr 1fr; } }
.split .frame { aspect-ratio: 4/5; }
.split .frame--land { aspect-ratio: 4/3; }

/* checklist */
.checks { display: grid; gap: var(--s-3); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; color: var(--text-2); }
.checks li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.checks--2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
.section--paper .checks li { color: var(--ink-2); }

/* spec table */
.spec { border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr; }
.spec__row { display: grid; grid-template-columns: 52px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec__row span:first-child { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--accent); }
.spec__row span:last-child { font-weight: 600; color: var(--text); }
@media (min-width: 760px) { .spec { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }

/* ---------- quote ---------- */
.quote-feature { display: grid; gap: var(--s-6); }
.quote-feature blockquote {
  font-family: var(--f-display); font-weight: 600; font-variation-settings: "wdth" 104;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.18; letter-spacing: -0.02em; text-wrap: pretty;
}
.quote-feature blockquote::before { content: "“"; color: var(--accent); }
.quote-feature blockquote::after { content: "”"; color: var(--accent); }
.cite { display: flex; align-items: center; gap: var(--s-4); }
.cite__mark { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-dim); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-family: var(--f-display); }
.cite strong { display: block; }
.cite span { color: var(--muted); font-size: var(--t-sm); }

.quotes { columns: 1; column-gap: var(--s-4); }
@media (min-width: 760px) { .quotes { columns: 2; } }
@media (min-width: 1100px) { .quotes { columns: 3; } }
.qcard { break-inside: avoid; margin-bottom: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
.qcard p { color: var(--text-2); margin-bottom: var(--s-5); }
.qcard .stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: var(--s-4); }
.qcard .stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }

.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; margin: 0; }
@media (min-width: 760px) { .carousel__track { grid-auto-columns: calc((100% - 2 * var(--s-4)) / 3); } }
.carousel__ctrl { display: flex; gap: var(--s-2); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all var(--dur); }
.round-btn:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.round-btn:disabled { opacity: .35; cursor: not-allowed; }
.round-btn svg { width: 18px; height: 18px; }

/* ---------- coverage map ---------- */
.coverage { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1000px) { .coverage { grid-template-columns: 1fr 1.05fr; gap: var(--s-8); } }
.map { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: var(--map-land); stroke: var(--line-2); stroke-width: 0.8; }
.map__ie { fill: var(--map-ie); stroke: var(--line); stroke-width: .6; }
.map__grid line { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.map__ring { fill: none; stroke: var(--orange); stroke-opacity: .22; stroke-dasharray: 2 6; }
.map__link { stroke: var(--orange); stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 2 4; fill: none; }
.pin { cursor: pointer; }
.pin__pulse { fill: var(--orange); opacity: .35; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease-out) infinite; }
.pin__dot { fill: var(--orange); stroke: var(--bg); stroke-width: 3; transition: r var(--dur); }
.pin__hq { fill: none; stroke: var(--orange); stroke-width: 1.5; }
.pin__label { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; fill: var(--text-2); text-transform: uppercase; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; transition: fill var(--dur); }
.pin.is-active .pin__dot { r: 10; }
.pin.is-active .pin__label { fill: #fff; }
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.offices { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.office {
  display: grid; grid-template-columns: 34px 1fr auto; gap: var(--s-4); align-items: start; text-align: left; width: 100%;
  padding: var(--s-4) var(--s-3); border-bottom: 1px solid var(--line); border-radius: 0; transition: background var(--dur);
  min-height: 44px;
}
.office:hover, .office.is-active { background: rgba(238,118,35,.07); }
.office__n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--muted); padding-top: 4px; }
.office.is-active .office__n { color: var(--accent); }
.office strong { display: block; font-size: 1.05rem; }
.office__addr { display: block; color: var(--muted); font-size: var(--t-sm); margin-top: 2px; }
.office__tag { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(238,118,35,.4); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.map__card { position: absolute; left: 0; bottom: 0; max-width: 260px; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sectors { grid-template-columns: repeat(5, 1fr); } }
.sector { background: var(--bg); padding: var(--s-5); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-4); transition: background var(--dur); }
.sector:hover { background: var(--surface); }
.sector .icon { color: var(--accent); width: 26px; height: 26px; }
.sector strong { font-size: 1.05rem; font-weight: 700; }
.sector--cta { background: var(--orange); color: var(--on-orange); }
.sector--cta:hover { background: var(--orange-hi); }
.sector--cta .icon { color: var(--on-orange); }

/* ---------- accreditations ---------- */
.accred { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 640px) { .accred { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .accred { grid-template-columns: repeat(6, 1fr); } }
.accred__item { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: var(--r); aspect-ratio: 3/2; display: grid; place-items: center; padding: var(--s-4); position: relative; }
.accred__item img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.accred__item figcaption { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .08em; text-transform: uppercase; color: #6a6f76; }
.accred__item:has(figcaption) img { margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.badge { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .06em; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; color: var(--text-2); }
.section--paper .badge { border-color: rgba(0,0,0,.18); color: var(--ink); }

/* ---------- process ---------- */
.steps { display: grid; gap: var(--s-4); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 2px solid var(--line-2); padding-top: var(--s-5); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-mono); font-size: var(--t-xs); color: var(--accent); display: block; margin-bottom: var(--s-4); }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--orange); }
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--muted); font-size: .975rem; }

/* ---------- page hero ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 10vw, 9rem) clamp(3rem, 6vw, 5rem); min-height: 620px; display: grid; align-items: end; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,13,.95) 0%, rgba(10,11,13,.75) 50%, rgba(10,11,13,.35) 100%), linear-gradient(0deg, var(--bg), rgba(10,11,13,0) 45%); }
@media (min-width: 980px) {
  .phero--portrait .phero__media { left: 46%; }
  .phero--portrait .phero__media img { object-position: 50% 30%; }
  .phero--portrait::before { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 46%, rgba(10,11,13,.55) 58%, rgba(10,11,13,.1) 80%), linear-gradient(0deg, var(--bg), rgba(10,11,13,0) 40%); }
  .phero.phero--portrait h1 { max-width: 14ch; }
  .phero.phero--portrait .lede { max-width: 46ch; }
}
.phero--plain { min-height: 0; padding-block: clamp(4rem, 8vw, 7rem) clamp(2.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.phero--plain::before { background: radial-gradient(80% 120% at 85% 0%, rgba(238,118,35,.14), transparent 60%); }
.phero h1 { margin-block: var(--s-5); max-width: 18ch; }
.phero .lede { max-width: 58ch; }
.phero .btn-row { margin-top: var(--s-6); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .06em; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-2); }
.phero__meta { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-2); }
.phero__meta div { display: grid; gap: 2px; }
.phero__meta strong { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }

/* subnav (on service pages) */
.subnav { position: sticky; top: 77px; z-index: 40; background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: var(--s-5); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 52px; font-size: var(--t-sm); font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--text); border-color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--on-orange); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 0 0 60px rgba(0,0,0,.03), 0 0 0 140px rgba(0,0,0,.025), 0 0 0 240px rgba(0,0,0,.02); z-index: -1; }
.cta-band .wrap { display: grid; gap: var(--s-6); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); align-items: end; }
@media (min-width: 960px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } }
.cta-band .h1 { max-width: 16ch; }
.cta-band p { font-size: 1.125rem; max-width: 46ch; color: rgba(10,11,13,.8); }
.cta-band .btn--ghost { border-color: rgba(0,0,0,.3); color: var(--on-orange); background: transparent; }
.cta-band .btn--ghost:hover { background: rgba(0,0,0,.08); border-color: var(--on-orange); }
.cta-band .eyebrow { color: var(--on-orange); }
.cta-band__phone { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.03em; display: block; line-height: 1; margin-bottom: var(--s-4); }
.cta-band__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--s-9); font-size: var(--t-sm); color: var(--muted); }
.footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer h2 { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); font-weight: 500; margin-bottom: var(--s-4); }
.footer li + li { margin-top: 6px; }
.footer a { transition: color var(--dur); display: inline-block; padding-block: 3px; }
.footer a:hover { color: var(--text); }
.footer__brand img { height: 44px; width: auto; margin-bottom: var(--s-5); }
.footer__brand p { max-width: 36ch; }
.footer__contact { margin-top: var(--s-5); display: grid; gap: 4px; }
.footer__contact a { color: var(--text); font-weight: 600; }
.footer__phone { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; font-variation-settings: "wdth" 112; color: var(--text); }
.footer__offices li { display: grid; gap: 0; }
.footer__offices strong { color: var(--text-2); font-weight: 600; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: 0.8125rem; }
.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { border-color: var(--text-2); }
.socials svg { width: 18px; height: 18px; }
.concept-note { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .06em; color: #6f757d; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 680px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  min-height: 52px; padding: 0.8rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 1rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ee7623' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(238,118,35,.25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff6b6b; }
.field__err { color: #ff8f8f; font-size: var(--t-sm); display: none; align-items: center; gap: 6px; }
.field__err.is-shown { display: flex; }
.field__hint { color: var(--muted); font-size: 0.8125rem; }
.form__note { font-size: 0.8125rem; color: var(--muted); }
.form-success { display: none; padding: var(--s-6); border: 1px solid rgba(61,220,132,.4); background: rgba(61,220,132,.06); border-radius: var(--r-lg); }
.form-success.is-shown { display: block; }
.form-success svg { width: 32px; height: 32px; color: var(--ok); margin-bottom: var(--s-4); }
.seg { display: flex; flex-wrap: wrap; gap: var(--s-2); border: 0; padding: 0; margin: 0; }
.seg legend { font-size: var(--t-sm); font-weight: 600; color: var(--text-2); margin-bottom: var(--s-2); padding: 0; width: 100%; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--t-sm); font-weight: 600; color: var(--text-2); cursor: pointer; transition: all var(--dur); }
.seg label:hover { border-color: var(--text-2); color: var(--text); }
.seg input:checked + label { background: var(--orange-dim); border-color: var(--accent); color: var(--text); }
.seg input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(5, 1fr); } }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: circle(47% at 50% 50%); filter: grayscale(1) contrast(1.05); transition: filter var(--dur); }
.person:hover img { filter: grayscale(0.2); }
.person strong { display: block; margin-top: var(--s-3); font-size: 1rem; }
.person span { color: var(--muted); font-size: var(--t-sm); display: block; line-height: 1.35; }
.person a { color: var(--accent); font-size: 0.8125rem; font-family: var(--f-mono); display: inline-block; padding-block: 6px; word-break: break-all; }
.person a:hover { text-decoration: underline; }

.directory { border-top: 1px solid var(--line-2); }
.directory li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .directory li { grid-template-columns: 1.1fr 1.3fr 1.4fr; gap: var(--s-4); align-items: center; } }
.directory strong { font-weight: 700; }
.directory span { color: var(--muted); font-size: var(--t-sm); }
.directory a { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--text-2); overflow-wrap: anywhere; min-height: 32px; display: inline-flex; align-items: center; }
.directory a:hover { color: var(--accent); }
.filter { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-5); }

/* ---------- news ---------- */
.news { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news { grid-template-columns: repeat(3, 1fr); } }
.post { display: grid; border-top: 1px solid var(--line-2); padding-top: var(--s-5); gap: var(--s-3); align-content: start; }
.post__img { aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; margin-bottom: var(--s-3); background: var(--surface); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { display: flex; gap: var(--s-3); align-items: center; }
.post h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.post p { color: var(--muted); font-size: .95rem; }
.post--feature { grid-column: 1 / -1; }
@media (min-width: 1000px) { .post--feature { grid-template-columns: 1.3fr 1fr; gap: var(--s-7); align-items: center; } .post--feature .post__img { margin: 0; aspect-ratio: 16/9; } .post--feature h3 { font-size: 2rem; } }

/* ---------- misc ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kicker-num { font-family: var(--f-mono); color: var(--accent); font-size: var(--t-sm); }
.pillar { display: grid; gap: var(--s-5); padding: var(--s-7) 0; border-top: 1px solid var(--line-2); }
@media (min-width: 960px) { .pillar { grid-template-columns: 90px 1fr 1.25fr; gap: var(--s-7); } }
.pillar .h3 { max-width: 16ch; }
@media (min-width: 960px) { .pillar--tl { grid-template-columns: 240px 1fr 1.25fr; align-items: baseline; } }
.pillar--tl .big-number { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); color: var(--accent); }
.big-number { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(4rem, 2rem + 8vw, 9rem); line-height: .85; letter-spacing: -0.05em; }
.big-number .accent { color: var(--accent); }
.note-box { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: var(--s-5); color: var(--muted); font-size: var(--t-sm); }
.inline-cta { display: grid; gap: var(--s-5); align-items: center; padding: var(--s-6); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(238,118,35,.10), rgba(238,118,35,0) 60%), var(--surface); }
@media (min-width: 860px) { .inline-cta { grid-template-columns: 1fr auto; } }
.sticky-col { position: sticky; top: 120px; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 60ms; } .reveal[data-d="2"] { transition-delay: 120ms; } .reveal[data-d="3"] { transition-delay: 180ms; } .reveal[data-d="4"] { transition-delay: 240ms; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__media img { animation: none; transform: none; } .pin__pulse, .dot { animation: none; } }

/* mobile sticky call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform 300ms var(--ease-out); }
.callbar.is-shown { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 56px; font-weight: 700; background: var(--bg); }
.callbar a:last-child { background: var(--orange); color: var(--on-orange); }
.callbar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { .footer { padding-bottom: 72px; } }

/* ==========================================================================
   v2 features
   ========================================================================== */

/* ---------- CCTV camera-wall hero ---------- */
.hero--wall { min-height: 0; align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5.5rem); background: var(--bg); }
.hero--wall::before { background: radial-gradient(60% 70% at 78% 40%, rgba(238,118,35,.12), transparent 70%); }
.hero--wall .hero__grid { align-items: center; }
@media (min-width: 1100px) { .hero--wall .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: var(--s-8); } }
.hero--wall h1 { max-width: 12ch; font-size: clamp(2.7rem, 1.3rem + 4.6vw, 5.6rem); }

.camwall { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #050607; padding: 10px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); }
.camwall__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 4px 6px 10px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.camwall__bar b { color: var(--text-2); font-weight: 500; }
.camwall__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cam { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 4px; background: #000; isolation: isolate; outline: 1px solid rgba(255,255,255,.06); transition: outline-color 200ms; }
.cam__scene { position: absolute; inset: -6%; animation: camDrift var(--drift, 22s) ease-in-out infinite alternate; }
.cam__scene img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(.82); }
.cam:nth-child(2) .cam__scene { --drift: 26s; animation-direction: alternate-reverse; }
.cam:nth-child(3) .cam__scene { --drift: 19s; }
.cam:nth-child(4) .cam__scene { --drift: 30s; animation-direction: alternate-reverse; }
@keyframes camDrift { 0% { transform: translate3d(-2.5%, -1.5%, 0) scale(1.02); } 100% { transform: translate3d(2.5%, 1.5%, 0) scale(1.08); } }
.cam__fx { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.65) 100%); }
.cam__fx::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.06), transparent); animation: scanBar 7s linear infinite; }
.cam:nth-child(even) .cam__fx::after { animation-delay: -3.5s; }
@keyframes scanBar { to { top: 100%; } }
.cam__hud, .cam__foot { position: absolute; left: 8px; right: 8px; z-index: 3; display: flex; justify-content: space-between; gap: 6px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: #e9ecef; text-shadow: 0 1px 2px #000; }
.cam__hud { top: 7px; }
.cam__foot { bottom: 7px; color: rgba(233,236,239,.75); }
.cam__id { display: inline-flex; align-items: center; gap: 5px; }
.cam__id i { width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; animation: rec 1.6s steps(2, start) infinite; }
@keyframes rec { to { visibility: hidden; } }
.cam__status { color: var(--ok); }
.cam__box { position: absolute; z-index: 1; border: 1.5px solid currentColor; color: var(--ok); opacity: 0; transform: scale(1.15); transition: opacity 250ms, transform 450ms var(--ease-out); }
.cam__box::before, .cam__box::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid currentColor; }
.cam__box::before { left: -4px; top: -4px; border-right: 0; border-bottom: 0; }
.cam__box::after { right: -4px; bottom: -4px; border-left: 0; border-top: 0; }
.cam__tag { position: absolute; left: -1.5px; bottom: 100%; margin-bottom: 4px; white-space: nowrap; background: currentColor; padding: 2px 5px; font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase; }
.cam__tag span { color: #000; font-weight: 500; }
.cam.is-tracking .cam__box { opacity: 1; transform: none; }
.cam--alert .cam__box { color: var(--orange); }
.cam--alert.is-alert { outline: 2px solid var(--orange); }
.cam--alert.is-alert .cam__box { animation: boxFlash .5s steps(2, start) 4; }
.cam--alert.is-alert .cam__status { color: var(--orange); }
@keyframes boxFlash { to { opacity: .25; } }
.camwall__log { margin-top: 10px; padding: 8px 10px; border-radius: 4px; background: #0b0d10; border: 1px solid rgba(255,255,255,.06); font-family: var(--f-mono); font-size: .6875rem; color: var(--muted); min-height: 3.6em; display: grid; gap: 3px; }
.camwall__log p { display: flex; gap: 10px; }
.camwall__log time { color: var(--text-2); flex: none; }
.camwall__log .is-alert { color: var(--orange); }
.camwall__log .is-ok { color: var(--ok); }
@media (max-width: 600px) {
  .cam__foot { display: none; }
  .cam__hud { font-size: .5rem; left: 5px; right: 5px; top: 5px; }
  .cam__time { display: none; }
  .camwall { padding: 6px; }
  .camwall__bar .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cam__scene, .cam__fx::after, .cam__id i { animation: none !important; }
}

/* ops readout panel now lives in the ops section */
.panel--ops { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- signal map ---------- */
.map__link { stroke-dasharray: 1; stroke-dashoffset: 1; stroke-width: 1.4; stroke-opacity: .5; transition: stroke-dashoffset 800ms var(--ease-out) calc(var(--i, 0) * 450ms + 200ms); }
.map__pulse { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.035 0.965; stroke-dashoffset: 1; opacity: 0; transition: opacity 300ms calc(var(--i, 0) * 450ms + 900ms); }
.map.is-live .map__link { stroke-dashoffset: 0; }
.map.is-live .map__pulse { opacity: 1; animation: travel 2.8s linear infinite; animation-delay: calc(var(--i, 0) * 450ms + 900ms); }
@keyframes travel { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.map .pin { opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; transition: opacity 350ms var(--ease-out), transform 600ms cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i, 0) * 450ms + 650ms); }
.map .pin[data-id="leeds"] { transition-delay: 0ms; }
.map.is-live .pin { opacity: 1; transform: none; }
.map .map__ring { opacity: 0; transition: opacity 900ms ease 200ms; }
.map.is-live .map__ring { opacity: 1; }
.map__status { position: absolute; left: 0; bottom: 0; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.map__status .dot { animation: none; background: var(--muted); }
.map__status.is-full .dot { background: var(--ok); animation: pulse 2.4s infinite; }
.map__status b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.office__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); margin-right: 6px; vertical-align: 1px; transition: background 300ms; }
.office.is-online .office__tag::before { background: var(--ok); }
@media (prefers-reduced-motion: reduce) {
  .map__link, .map .pin, .map .map__ring, .map__pulse { transition: none !important; }
  .map__pulse { display: none; }
}

/* ---------- tower thermal demo ---------- */
.tdemo { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .tdemo { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--s-8); } }
.tdemo__view { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #000; isolation: isolate; border: 1px solid var(--line-2); max-height: 760px; width: 100%; }
@media (min-width: 1000px) { .tdemo__view { position: sticky; top: 140px; } }
.tdemo__layer { position: absolute; inset: 0; }
.tdemo__layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tdemo__optical img { filter: grayscale(1) contrast(1.1); }
.tdemo__thermal { opacity: var(--thermal, 0); filter: url(#ironbow); }
.tdemo__thermal img { filter: grayscale(1) brightness(.42) contrast(1.25) blur(.6px); }
.tdemo__heat { position: absolute; left: 57.5%; top: 77.5%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; opacity: var(--heat, 0); scale: calc(.4 + var(--heat, 0) * .8);
  background: radial-gradient(circle, #fff 0 12%, rgba(255,255,255,.85) 24%, rgba(255,255,255,.45) 42%, rgba(255,255,255,0) 68%); }
.tdemo__fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0,0,0,.55)); }
.tdemo__box { position: absolute; z-index: 3; border: 1.5px dashed rgba(255,255,255,.7); color: #fff; opacity: var(--scan, 0);
  left: var(--bx, 8%); top: var(--by, 8%); width: var(--bw, 84%); height: var(--bh, 84%); transition: border-color 200ms; }
.tdemo__box.is-locked { border: 2px solid var(--orange); color: var(--orange); }
.tdemo__box.is-locked::before, .tdemo__box.is-locked::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid currentColor; }
.tdemo__box.is-locked::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; }
.tdemo__box.is-locked::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; }
.tdemo__boxtag { position: absolute; left: -2px; bottom: 100%; margin-bottom: 5px; white-space: nowrap; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 6px; background: rgba(0,0,0,.65); color: #fff; }
.tdemo__box.is-locked .tdemo__boxtag { background: var(--orange); color: #000; font-weight: 500; }
.tdemo__hud { position: absolute; z-index: 4; left: 14px; right: 14px; top: 12px; display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px #000; }
.tdemo__hud b { font-weight: 500; font-variant-numeric: tabular-nums; }
.tdemo__read { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tdemo__read div { background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 8px 10px; display: grid; gap: 2px; }
.tdemo__read span { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tdemo__read strong { font-family: var(--f-mono); font-size: .875rem; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tdemo__read .is-hot { color: var(--orange-hi); }
.tdemo__alert { position: absolute; z-index: 5; left: 12px; right: 12px; top: 40px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: var(--orange); color: #000; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(-8px); transition: opacity 200ms, transform 300ms var(--ease-out); }
.tdemo__alert svg { width: 18px; height: 18px; flex: none; }
.tdemo__view.is-alert .tdemo__alert { opacity: 1; transform: none; }
.tdemo__stages { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.tdemo__stage { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); padding: var(--s-4) var(--s-3); border-bottom: 1px solid var(--line); text-align: left; width: 100%; transition: background var(--dur), opacity var(--dur); opacity: .55; }
.tdemo__stage:hover { opacity: .85; background: var(--hover); }
.tdemo__stage.is-active { opacity: 1; background: rgba(238,118,35,.08); }
.tdemo__stage .n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--accent); padding-top: 3px; }
.tdemo__stage strong { display: block; font-size: 1.05rem; }
.tdemo__stage span.d { display: block; color: var(--muted); font-size: var(--t-sm); margin-top: 2px; }
.tdemo__ctrl { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.tdemo__ctrl label { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tdemo__ctrl label b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.tdemo__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.tdemo__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) var(--p, 0%), var(--line-2) var(--p, 0%)); }
.tdemo__range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line-2); }
.tdemo__range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--orange); }
.tdemo__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--text); border: 4px solid var(--orange); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.tdemo__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 4px solid var(--orange); }
.tdemo__range:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tdemo__note { font-size: .8125rem; color: var(--muted); }

/* ---------- number tickers ---------- */
.stat__n { font-variant-numeric: tabular-nums; }
