/* =========================================================================
   QCPI — QC Protection & Investigation Services
   Flagship site. Display serif + precise sans, deep navy ink, ivory type, group blues.
   ========================================================================= */

:root {
  /* dark theme: --ink is the page background, --fg the text colour */
  --ink: #03060e;
  --ink-2: #070c1a;
  --ink-3: #0a1224;
  --panel: #0c1529;
  --line: rgba(196, 212, 255, 0.09);
  --line-2: rgba(196, 212, 255, 0.17);
  --line-3: rgba(196, 212, 255, 0.28);
  --fg: #eceae4;
  --fg-2: rgba(236, 234, 228, 0.78);
  --muted: #8d96ab;
  --blue: #0244bc;
  --blue-2: #087bea;
  --blue-3: #051e8a;
  --sky: #74b8ff;
  --glow: rgba(8, 123, 234, 0.35);
  --scrim: 3, 6, 14;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(20px, 4.2vw, 72px);
  --max: 1480px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink); color: var(--fg); font-family: var(--sans); font-weight: 300;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--blue-2); color: #fff; }
:focus-visible { outline: 1px solid var(--sky); outline-offset: 4px; }


/* ---------- Type ---------- */
.mono { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 0.9;
  font-size: clamp(58px, 10.4vw, 188px);
}
.h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.022em; line-height: 0.95; font-size: clamp(48px, 7.4vw, 132px); }
.h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1; font-size: clamp(40px, 5.4vw, 92px); }
.h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; font-size: clamp(30px, 3vw, 46px); }
.h4 { font-family: var(--sans); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(20px, 1.6vw, 24px); }
.lede { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.5; color: var(--fg-2); font-weight: 300; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.blue { color: var(--sky); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(48px, 5vw, 88px) 0; }
.section--tight { padding: clamp(40px, 4vw, 64px) 0; }
.section--alt { background: var(--ink-2); }
.section--line { border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); }
.eyebrow b { color: var(--sky); font-weight: 400; }
.eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--line-3); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 72px); }
.sec-head .eyebrow { align-self: start; padding-top: 1.1em; }
.sec-head__aside { grid-column: 2; max-width: 620px; color: var(--fg-2); }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } .sec-head__aside { grid-column: 1; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 30px;
  border-radius: 999px; background: var(--fg); color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-2);
  transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn--wa { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn--wa::before { background: #1faa59; }
.link { position: relative; display: inline-flex; gap: 10px; align-items: center; font-size: 15px; padding-bottom: 6px; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .7s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link .arr { transition: transform .5s var(--ease); }
.link:hover .arr { transform: translateX(4px); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--ink); display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-io); clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader__mark { width: 76px; opacity: 0; transform: scale(.86); animation: loaderIn 1s var(--ease) .1s forwards; }
.loader__bar { position: absolute; left: 50%; bottom: 18vh; width: 140px; height: 1px; transform: translateX(-50%); background: var(--line-2); overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; animation: loaderBar 1.15s var(--ease-io) .15s forwards; }
.loader__word { position: absolute; bottom: calc(18vh + 22px); left: 50%; transform: translateX(-50%); color: var(--muted); }
@keyframes loaderIn { to { opacity: 1; transform: scale(1); } }
@keyframes loaderBar { to { transform: scaleX(1); } }
html.no-loader .loader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 var(--pad);
  transition: background .5s, border-color .5s, transform .6s var(--ease); border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(var(--scrim), 0.82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { width: 38px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--sans); font-weight: 600; font-size: 19px; letter-spacing: 0.08em; }
.brand__sub { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); font-size: 14.5px; }
.nav__links > a, .nav__dd > button { color: var(--fg-2); transition: color .3s; position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.nav__links > a:hover, .nav__dd > button:hover, .nav__links > a[aria-current="page"], .nav__dd.is-current > button { color: var(--fg); }
.nav__links > a[aria-current="page"]::after, .nav__dd.is-current > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sky); }
.nav__dd { position: relative; }
.nav__dd > button svg { width: 9px; transition: transform .4s var(--ease); }
.nav__dd:hover > button svg, .nav__dd:focus-within > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -24px; min-width: 330px; padding: 10px;
  background: rgba(8, 13, 28, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease), visibility .35s;
}
.nav__menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__dd:hover .nav__menu, .nav__dd:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 14px 16px; border-radius: 12px; transition: background .3s; }
.nav__menu a:hover { background: rgba(255,255,255,0.04); }
.nav__menu .num { grid-row: span 2; color: var(--sky); padding-top: 3px; }
.nav__menu strong { font-weight: 400; font-size: 15px; color: var(--fg); }
.nav__menu small { font-size: 12.5px; color: var(--muted); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; } .nav__burger span:nth-child(2) { top: 26px; }
body.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  display: flex; flex-direction: column; overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
}
body.menu-open .mmenu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.mmenu a { font-family: var(--serif); font-size: clamp(36px, 9vw, 54px); line-height: 1.15; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mmenu a.sub { font-family: var(--sans); font-size: 17px; color: var(--muted); padding: 10px 0 10px 18px; border: 0; }
.mmenu__foot { margin-top: auto; padding-top: 32px; color: var(--muted); display: grid; gap: 6px; font-size: 15px; }
@media (max-width: 1080px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 72% 38%, rgba(8, 123, 234, 0.16), transparent 60%),
    radial-gradient(ellipse 120% 80% at 50% 120%, var(--ink) 30%, transparent 70%),
    linear-gradient(to bottom, rgba(var(--scrim),.7), transparent 22%, transparent 60%, var(--ink));
}
.hero__mark { position: absolute; z-index: -1; right: 9vw; top: 44%; width: clamp(220px, 22vw, 400px); transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity 2s var(--ease) .4s; }
body.loaded .hero__mark { opacity: 1; }
.hero__mark::before { content: ""; position: absolute; inset: -45%; background: radial-gradient(circle, rgba(8,123,234,.28), transparent 60%); filter: blur(40px); }
.hero__mark img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 40px 80px rgba(2,68,188,.45)); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@media (max-width: 1000px) { .hero__mark { opacity: .14 !important; right: -22vw; top: 22%; width: 62vw; } }
@media (max-width: 1000px) and (min-width: 701px) { .hero__mark { top: 30%; width: 44vw; right: -8vw; } }
@media (prefers-reduced-motion: reduce) { .hero__mark img { animation: none; } }
.hero__inner { padding: calc(var(--nav-h) + 6vh) var(--pad) 0; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__kicker { display: flex; align-items: center; gap: 14px; color: var(--fg-2); margin-bottom: clamp(24px, 3.4vw, 48px); }
.hero__kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 var(--glow); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(8,123,234,.45); } 80%,100% { box-shadow: 0 0 0 12px rgba(8,123,234,0); } }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.5s var(--ease); }
body.loaded .hero__title .ln > span { transform: none; }
body.loaded .hero__title .ln:nth-child(2) > span { transition-delay: .12s; }
.hero__title em { color: var(--sky); padding-right: .04em; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1.25fr) auto; align-items: end; gap: 32px 64px; margin-top: clamp(36px, 4.4vw, 64px); }
.hero__lede { max-width: 560px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease) .55s, transform 1.4s var(--ease) .55s; }
body.loaded .fade-up { opacity: 1; transform: none; }
.hero__bar {
  margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  max-width: var(--max); margin-left: auto; margin-right: auto; width: calc(100% - 2 * var(--pad));
}
.hero__bar > div { padding: 22px 24px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.hero__bar > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__bar strong { font-weight: 400; font-size: 15px; color: var(--fg); letter-spacing: -0.01em; }
.hero__bar span { color: var(--muted); }
@media (max-width: 1000px) {
  .hero__foot { grid-template-columns: 1fr; } .hero__cta { justify-content: flex-start; }
  .hero__bar { grid-template-columns: 1fr 1fr; } .hero__bar > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__bar > div:nth-child(n+3) { border-top: 1px solid var(--line); } .hero__bar > div:last-child { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 7vw, 112px)) 0 clamp(44px, 5vw, 80px); overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(8,123,234,.14), transparent 60%); }
.phero__crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); margin-bottom: clamp(20px, 2.6vw, 36px); }
.phero__crumbs a:hover { color: var(--fg); }
.phero__crumbs i { width: 18px; height: 1px; background: var(--line-3); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 120px); align-items: end; }
.phero__grid .lede { max-width: 520px; }
.phero__title .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.phero__title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.4s var(--ease) .1s; }
body.loaded .phero__title .ln > span { transform: none; }
body.loaded .phero__title .ln:nth-child(2) > span { transition-delay: .2s; }
.phero__title em { color: var(--sky); }
.phero__hex { position: absolute; right: -6vw; top: 8vh; width: min(46vw, 640px); z-index: -1; opacity: .7; pointer-events: none; }
/* page hero with a photo on the right (About) */
.phero--img { min-height: min(80vh, 760px); display: flex; align-items: flex-end; }
.phero--img > .wrap { position: relative; }
.phero__bg { position: absolute; top: calc(var(--nav-h) + 8px); right: 0; bottom: 0; width: min(62vw, 980px); z-index: -1; overflow: hidden; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 0%; opacity: 0; transform: scale(1.06); transition: opacity 1.6s var(--ease) .2s, transform 2.4s var(--ease) .2s; }
body.loaded .phero__bg img { opacity: 1; transform: none; }
.phero__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, var(--ink) 0%, rgba(var(--scrim),.85) 22%, rgba(var(--scrim),.2) 55%, rgba(var(--scrim),0) 75%),
              linear-gradient(to bottom, rgba(var(--scrim),.3) 0%, transparent 6%, transparent 70%, var(--ink) 100%); }
.phero__bg img { transition: opacity 1.6s var(--ease) .2s, transform 2.4s var(--ease) .2s, filter 1.2s var(--ease); }
/* tighter gap between a page header and the first section */
.phero + .section { padding-top: clamp(32px, 4vw, 64px); }
.section > .wrap > .cols:first-child { border-top: 0 !important; padding-top: 0 !important; }
/* slimmer banner-style header (Elite Guarding, Safe Boxes) */
.phero--img.phero--slim { min-height: min(64vh, 620px); padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 80px)); padding-bottom: clamp(40px, 4.5vw, 72px); }
.phero--img .phero__grid { grid-template-columns: minmax(0, 1fr); max-width: min(56vw, 1000px); }
@media (max-width: 900px) { .phero--img .phero__grid { max-width: none; } }
@media (max-width: 900px) { .phero__bg { width: 100%; opacity: .3; } .phero__bg img { object-position: 100% 0%; } }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } .phero__hex { opacity: .35; width: 80vw; right: -30vw; } }

/* full-bleed image banner under page hero */
.banner { position: relative; height: clamp(320px, 62vh, 760px); overflow: hidden; }
.banner img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; transition: filter 1.2s var(--ease); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink) 0%, transparent 14%, transparent 62%, rgba(var(--scrim),.92) 100%); pointer-events: none; }
.banner__cap { position: absolute; left: var(--pad); bottom: 28px; z-index: 2; color: var(--fg); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.split .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.split.in .ln > span { transform: none; }
.split.in .ln:nth-child(2) > span { transition-delay: .1s; } .split.in .ln:nth-child(3) > span { transition-delay: .2s; }
.imgrv { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-io); }
.imgrv.in { clip-path: inset(0 0 0 0); }
.imgrv img { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.imgrv.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .rv, .split .ln > span, .hero__title .ln > span, .phero__title .ln > span, .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  .imgrv { clip-path: none; } .imgrv img { transform: none; }
}

/* ---------- Statement (scroll-scrubbed words) ---------- */
.statement { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 78px); line-height: 1.08; letter-spacing: -0.02em; max-width: 1280px; }
.statement .w { opacity: .13; transition: opacity .35s; }
.statement .w.on { opacity: 1; }
.statement .w.hl.on { color: var(--sky); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-top: clamp(44px, 5vw, 80px); }
.stat { padding: 34px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(56px, 6.4vw, 110px); line-height: 1; letter-spacing: -0.03em; }
.stat__num sup { font-size: .42em; vertical-align: top; position: relative; top: .3em; margin-left: 4px; color: var(--sky); }
.stat__lbl { margin-top: 14px; color: var(--muted); max-width: 220px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Divisions ---------- */
.divs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.div {
  position: relative; background: var(--ink); padding: clamp(26px, 2.4vw, 36px); min-height: 0; display: flex; flex-direction: column;
  isolation: isolate; overflow: hidden; transition: background .7s var(--ease);
}
.section--alt .div { background: var(--ink-2); }
.div::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s var(--ease);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(8,123,234,.10), transparent 55%);
}
.div:hover::before { opacity: 1; }
.div__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.div__mark { width: 70px; height: 76px; margin: clamp(22px, 2.4vw, 34px) 0 auto; position: relative; transition: transform 1s var(--ease); }
.div__mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 36px rgba(8,123,234,.18)); }
.div:hover .div__mark { transform: translateY(-8px) rotate(-4deg); }
.div h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.4vw, 40px); line-height: 1; letter-spacing: -0.015em; margin-top: 24px; }
.div p { color: var(--muted); margin-top: 12px; font-size: 15.5px; line-height: 1.5; min-height: 3em; }
.div__go { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); }
.div__go .arr { transition: transform .5s var(--ease); }
.div:hover .div__go { color: var(--fg); } .div:hover .div__go .arr { transform: translate(3px, -3px); }
.ext { font-size: 12px; color: var(--sky); }
@media (max-width: 900px) { .divs { grid-template-columns: 1fr; } .div { min-height: 380px; } }
@media (max-width: 620px) { .divs { grid-template-columns: 1fr; } .div { min-height: 380px; } }

/* ---------- Solutions: sticky image + list ---------- */
.sol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.sol__media { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100vh - var(--nav-h) - 10vh); min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--panel); }
.sol__media figure { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.sol__media figure.on { opacity: 1; }
.sol__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }  /* home Solutions photos in full colour */
.sol__media figure.on img { transform: scale(1); }
.sol__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--scrim),.88), transparent 40%); pointer-events: none; }
.sol__count { position: absolute; left: 28px; bottom: 24px; z-index: 2; display: flex; gap: 10px; align-items: baseline; }
.sol__count b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; }
.sol__count span { color: var(--fg-2); }
.sol__list { display: flex; flex-direction: column; }
.sol__item { padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line-2); min-height: 54vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .8s var(--ease); opacity: .32; }
.sol__item:last-child { border-bottom: 1px solid var(--line-2); }
.sol__item.on { opacity: 1; }
.sol__item .mono { color: var(--sky); }
.sol__item h3 { margin: 18px 0 18px; }
.sol__item p { color: var(--fg-2); max-width: 520px; }
.sol__item ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 0; max-width: 520px; }
.sol__item li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--fg-2); }
.sol__item li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .62em; transform: rotate(45deg); border: 1px solid var(--sky); }
@media (max-width: 900px) {
  .sol { grid-template-columns: 1fr; } .sol__media { display: none; }
  .sol__item { min-height: 0; opacity: 1; }
  .sol__item .sol__thumb { display: block; }
}
.sol__thumb { display: none; border-radius: 18px; overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/10; }
.sol__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Presence (map) ---------- */
.presence { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.map-wrap { margin: 0 calc(-1 * var(--pad) / 2); }
.map { position: relative; width: 100%; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .land { fill: url(#landFill); stroke: rgba(116,184,255,.32); stroke-width: 1.2; }
.map .dots { fill: rgba(116,184,255,.16); }
.map .arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-dasharray: 6 8; animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.map .node circle.core { fill: var(--fg); }
.map .node circle.ring { fill: none; stroke: var(--sky); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite; }
.map .node:nth-child(2) circle.ring { animation-delay: .7s; } .map .node:nth-child(3) circle.ring { animation-delay: 1.4s; } .map .node:nth-child(4) circle.ring { animation-delay: 2.1s; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }
.map .node text { font-family: var(--mono); font-size: 15px; letter-spacing: .16em; fill: var(--fg-2); text-transform: uppercase; }
.map .node.hq circle.core { fill: var(--sky); }
.map .node.is-active text { fill: var(--fg); }
.map .node.is-active circle.core { fill: var(--sky); }
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.office { padding: 26px 24px 8px 0; cursor: default; transition: transform .6s var(--ease); }
.office + .office { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 1000px) { .offices { grid-template-columns: 1fr 1fr; } .office:nth-child(3) { border-left: 0; padding-left: 0; } .office:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; } }
@media (max-width: 560px) { .offices { grid-template-columns: 1fr; } .office + .office { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 0; } }
.office__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.office h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.01em; line-height: 1.1; }
.office .mono { color: var(--muted); }
.office address { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 8px; max-width: 420px; }
.office a.tel { display: inline-block; margin-top: 8px; color: var(--fg-2); font-size: 14.5px; }
.office a.tel:hover { color: var(--sky); }
.office.is-active { transform: translateY(-4px); }
.office.is-active h4 { color: var(--sky); }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.leader { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 2.4vw, 36px); align-items: end; }
.leader__img { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--panel); }
.leader__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.leader:hover .leader__img img { transform: scale(1.03); }
.leader .mono { color: var(--sky); }
.leader h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -.01em; margin: 12px 0 14px; }
.leader p { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 1100px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .leader { grid-template-columns: 1fr; } }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cred { background: var(--ink); padding: clamp(28px, 3vw, 44px); display: flex; gap: 22px; align-items: flex-start; }
.section--alt .cred { background: var(--ink-2); }
.cred__seal { flex: none; width: 64px; height: 64px; color: var(--sky); }
.cred__seal svg { width: 100%; height: 100%; }
.cred__seal .spin { transform-origin: 32px 32px; animation: spin 36s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cred h4 { font-weight: 400; font-size: 20px; letter-spacing: -.01em; }
.cred p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 900px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Clients marquee ---------- */
.clients { padding: clamp(40px, 4.5vw, 64px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients__label { text-align: center; color: var(--muted); margin-bottom: 34px; }
.marq { display: flex; width: max-content; gap: 18px; animation: marq 60s linear infinite; }
.clients:hover .marq { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.chip { flex: none; width: 190px; height: 92px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 16px 22px; transition: box-shadow .5s, transform .6s var(--ease); }
.chip:hover { box-shadow: 0 14px 30px rgba(0,0,0,.35); transform: translateY(-3px); }
.chip img { max-width: 100%; max-height: 54px; object-fit: contain; }
.clients__mask { -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
@media (prefers-reduced-motion: reduce) { .marq { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- CTA ---------- */
.cta { position: relative; text-align: center; padding: clamp(48px, 4.5vw, 72px) 0; overflow: hidden; isolation: isolate; }
.cta__hex { position: absolute; left: 50%; top: 50%; width: min(56vw, 620px); transform: translate(-50%, -50%); z-index: -1; opacity: .5; }
.cta h2 { max-width: 900px; margin: 0 auto; font-size: clamp(38px, 4.6vw, 72px); line-height: .98; }
.cta h2 em { color: var(--sky); }
.cta .lede { max-width: 560px; margin: 18px auto 0; font-size: clamp(17px, 1.25vw, 19px); }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Generic content blocks ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px clamp(32px, 5vw, 96px); }
.cols > .eyebrow { align-self: start; padding-top: .5em; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--fg-2); font-size: clamp(17px, 1.3vw, 19px); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat { background: var(--ink); padding: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; isolation: isolate; transition: background .6s; }
.section--alt .feat { background: var(--ink-2); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s; background: radial-gradient(circle at var(--mx,50%) var(--my,0%), rgba(8,123,234,.08), transparent 55%); }
.feat:hover::before { opacity: 1; }
.feat .mono { color: var(--sky); }
.feat h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.08; letter-spacing: -.01em; margin: 22px 0 12px; }
.feat p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .features--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .features, .features--3 { grid-template-columns: 1fr; } }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.checklist li { padding: 18px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.checklist li::before { content: ""; width: 7px; height: 7px; margin-top: .6em; transform: rotate(45deg); border: 1px solid var(--sky); }
.checklist strong { font-weight: 400; color: var(--fg); display: block; }
.checklist span { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .checklist { grid-template-columns: 1fr; } }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.vm > div { background: var(--ink); padding: clamp(32px, 4vw, 64px); }
.section--alt .vm > div { background: var(--ink-2); }
.vm .mono { color: var(--sky); }
.vm p { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.18; letter-spacing: -.012em; margin-top: 24px; }
@media (max-width: 900px) { .vm { grid-template-columns: 1fr; } }

/* ---------- Safe boxes ---------- */
.price-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-3); }
.toggle button { position: relative; z-index: 1; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color .4s; }
.toggle button[aria-pressed="true"] { color: var(--ink); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--fg); transition: transform .6s var(--ease), width .6s var(--ease); }
.boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.box { position: relative; border: 1px solid var(--line-2); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01) 60%); transition: border-color .6s, transform .8s var(--ease); overflow: hidden; isolation: isolate; }
.box:hover { border-color: var(--line-3); transform: translateY(-6px); }
.box::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s; background: radial-gradient(circle at 50% 0%, rgba(8,123,234,.2), transparent 60%); }
.box:hover::before { opacity: 1; }
.box__top { display: flex; justify-content: space-between; align-items: center; }
.box__name { font-family: var(--serif); font-size: 38px; line-height: 1; }
.box__dim { color: var(--muted); }
.box__viz { height: 150px; display: grid; place-items: center; margin: 22px 0 18px; }
.box__viz span { display: block; border: 1px solid var(--sky); border-radius: 4px; background: linear-gradient(135deg, rgba(116,184,255,.2), rgba(116,184,255,.05)); position: relative; box-shadow: 0 20px 60px rgba(8,123,234,.2); transition: transform .8s var(--ease); }
.box__viz span::after { content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); transform: translateY(-50%); }
.box:hover .box__viz span { transform: scale(1.05); }
.box__total { font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.box__total small { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-right: 6px; vertical-align: middle; }
.box__per { color: var(--muted); margin-top: 6px; }
.box dl { margin-top: 22px; border-top: 1px solid var(--line); }
.box dl div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.box dt { color: var(--muted); } .box dd { color: var(--fg); font-variant-numeric: tabular-nums; }
.num-swap { display: inline-block; transition: opacity .3s, transform .4s var(--ease); }
.num-swap.out { opacity: 0; transform: translateY(8px); }
.terms { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; }
.terms li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; display: grid; grid-template-columns: 34px 1fr; }
.terms li b { color: var(--sky); font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; padding-top: 3px; }
@media (max-width: 1100px) { .boxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .boxes { grid-template-columns: 1fr; } .terms { grid-template-columns: 1fr; } }
.vault { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.vault svg { width: 100%; height: 100%; }
.vault .dial { transform-origin: 260px 260px; transition: transform 2.4s var(--ease); }
.vault:hover .dial { transform: rotate(120deg); }
.vault .bolt { transition: transform 1.2s var(--ease); }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(24px, 2.6vw, 36px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; transition: border-color .5s, background .5s; }
.job:hover { border-color: var(--line-3); background: rgba(255,255,255,.02); }
.job h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; }
.job__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.tag--blue { box-shadow: inset 0 0 0 1px rgba(116,184,255,.4); color: var(--sky); }
.job ul { list-style: none; display: grid; gap: 8px; }
.job li { color: var(--muted); font-size: 14.5px; display: grid; grid-template-columns: 18px 1fr; }
.job li::before { content: "—"; color: var(--sky); }
.jobs__empty { padding: 40px; border: 1px dashed var(--line-2); border-radius: 20px; color: var(--muted); }
.skel { height: 132px; border-radius: 20px; background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.05), rgba(255,255,255,.02)); background-size: 200% 100%; animation: skel 1.4s infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@media (max-width: 900px) { .job { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
@media (max-width: 1000px) { .form-wrap { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.field { position: relative; padding-top: 22px; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-3); color: var(--fg);
  font: inherit; font-size: 17px; padding: 12px 0 14px; border-radius: 0; outline: none; transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238d96ab' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; }
.field select option { background: var(--ink-3); color: var(--fg); }
.field label { position: absolute; left: 0; top: 34px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .4s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-26px) scale(.74); color: var(--sky); }
.field .req { color: var(--sky); }
.field--hidden { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.55; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--line-3); border-radius: 5px; margin-top: 1px; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s; }
.consent input:checked { background: var(--sky); border-color: var(--sky); }
.consent input:checked::after { content: ""; width: 9px; height: 5px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.consent a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.form__status { font-size: 14.5px; color: var(--muted); }
.form__status[data-kind="ok"] { color: #8fe3b0; } .form__status[data-kind="error"] { color: #ff9f9f; }
.form.sent .field, .form.sent .consent { opacity: .5; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.infocards { display: grid; gap: 14px; }
.infocard { border: 1px solid var(--line-2); border-radius: 18px; padding: 24px 26px; }
.infocard .mono { color: var(--muted); }
.infocard p, .infocard a, .infocard address { display: block; font-style: normal; margin-top: 8px; color: var(--fg); font-size: 16px; line-height: 1.55; }
.infocard a:hover { color: var(--sky); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin-top: 10px; font-size: 15px; }
.hours dt { color: var(--muted); } .hours dd { color: var(--fg); }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 52px 0 14px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--fg-2); font-size: 16.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
/* single dark palette: .tone-dark is kept as a hook but no longer changes colours */
.tone-dark.section--alt { background: var(--ink-2); }
.footer { position: relative; padding: clamp(40px, 4vw, 64px) 0 24px; border-top: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__lead p { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; letter-spacing: -.015em; max-width: 440px; }
.footer__lead p em { color: var(--sky); }
.footer__lead .btn { margin-top: 24px; }
.footer h5 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a, .footer li { color: var(--fg-2); font-size: 15px; transition: color .3s; }
.footer li a:hover { color: var(--sky); }
.footer__brand { margin-top: clamp(28px, 3vw, 44px); display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.footer__brand img { width: clamp(52px, 5.5vw, 84px); height: auto; }
.footer__brand-text { display: flex; flex-direction: column; line-height: 1; }
.footer__brand-name { font-family: var(--sans); font-weight: 600; letter-spacing: .06em; font-size: clamp(40px, 5vw, 76px); color: var(--fg); }
.footer__brand-sub { font-family: var(--mono); font-size: clamp(10px, .9vw, 12.5px); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: clamp(8px, 1vw, 14px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.footer__bottom a:hover { color: var(--fg); }
.footer__bottom > span:last-child { margin-left: auto; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__lead { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(12, 21, 41, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px rgba(0,0,0,.4); transition: transform .5s var(--ease), background .4s;
  opacity: 0; transform: translateY(16px); pointer-events: none;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #1faa59; transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; fill: var(--fg); transition: fill .4s; }
.wa-float:hover svg { fill: #fff; }

.imgrv > img { }

/* ---------- Group structure (About) ---------- */
.org { display: grid; gap: 0; }
.org__node { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; align-items: start; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: 22px; background: var(--ink-3); transition: border-color .5s, transform .7s var(--ease), box-shadow .7s var(--ease); }
.org__node:hover { border-color: var(--line-3); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.org__node img { width: 72px; height: 78px; object-fit: contain; }
.org__node .mono { color: var(--sky); }
.org__node h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.01em; margin: 10px 0 10px; }
.org__node p { color: var(--muted); font-size: 15.5px; max-width: 560px; }
.org__node--parent { max-width: 860px; margin: 0 auto; width: 100%; }
.org__kids { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 36px); padding-top: 64px; }
.org__kids::before { content: ""; position: absolute; top: 0; left: 50%; height: 32px; width: 1px; background: var(--line-3); }
.org__kids::after { content: ""; position: absolute; top: 32px; left: 25%; right: 25%; height: 32px; border: 1px solid var(--line-3); border-bottom: 0; border-radius: 14px 14px 0 0; }
@media (max-width: 800px) {
  .org__kids { grid-template-columns: 1fr; padding-top: 40px; }
  .org__kids::after { display: none; } .org__kids::before { height: 40px; }
  .org__node { grid-template-columns: 1fr; }
}


/* =========================================================================
   LIGHT THEME (html.theme-light) -- white + light navy, deep navy text.
   Switched on/off by THEME in tools/build.py. The footer keeps the dark palette.
   ========================================================================= */
html.theme-light {
  --ink: #ffffff;
  --ink-2: #f4f6fa;   /* white theme: alternating sections are a barely-there cool grey */
  --ink-3: #ffffff;
  --panel: #e9edf4;
  --line: rgba(11, 30, 70, 0.10);
  --line-2: rgba(11, 30, 70, 0.17);
  --line-3: rgba(11, 30, 70, 0.28);
  --fg: #0b1a36;
  --fg-2: rgba(11, 26, 54, 0.78);
  --muted: #5a6680;
  --sky: #0656d0;
  --glow: rgba(8, 123, 234, 0.25);
  --scrim: 255, 255, 255;
}
html.theme-light .footer {
  --ink: #03060e; --ink-2: #070c1a; --ink-3: #0a1224; --panel: #0c1529;
  --line: rgba(196, 212, 255, 0.09); --line-2: rgba(196, 212, 255, 0.17); --line-3: rgba(196, 212, 255, 0.28);
  --fg: #eceae4; --fg-2: rgba(236, 234, 228, 0.78); --muted: #8d96ab; --sky: #74b8ff; --scrim: 3, 6, 14;
  color: var(--fg); border-top: 1px solid rgba(196, 212, 255, 0.12);
}
html.theme-light .nav__menu { background: rgba(255, 255, 255, 0.98); box-shadow: 0 30px 80px rgba(11, 26, 54, 0.14); }
html.theme-light .nav__menu a:hover { background: rgba(11, 26, 54, 0.04); }
html.theme-light .map .land { fill: #dfe7f4; stroke: rgba(2, 68, 188, 0.28); }
html.theme-light .map .dots { fill: rgba(2, 68, 188, 0.12); }
html.theme-light .chip:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 30px rgba(11, 26, 54, 0.1); }
html.theme-light .box { background: #fff; box-shadow: 0 1px 0 rgba(11, 26, 54, 0.02); }
html.theme-light .box::before { background: radial-gradient(circle at 50% 0%, rgba(8, 123, 234, 0.08), transparent 60%); }
html.theme-light .box__viz span { background: linear-gradient(135deg, rgba(8, 123, 234, 0.14), rgba(8, 123, 234, 0.03)); box-shadow: 0 20px 50px rgba(8, 123, 234, 0.14); }
html.theme-light .job:hover { background: rgba(11, 26, 54, 0.025); }
html.theme-light .tag--blue { box-shadow: inset 0 0 0 1px rgba(6, 86, 208, 0.35); }
html.theme-light .skel { background: linear-gradient(90deg, rgba(11, 26, 54, 0.03), rgba(11, 26, 54, 0.07), rgba(11, 26, 54, 0.03)); background-size: 200% 100%; }
html.theme-light .form__status[data-kind="ok"] { color: #17784a; }
html.theme-light .form__status[data-kind="error"] { color: #b42318; }
html.theme-light .wa-float { background: rgba(255, 255, 255, 0.95); box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 34px rgba(11, 26, 54, 0.14); }
html.theme-light .wa-float:hover { background: #1faa59; }
html.theme-light .org__node:hover { box-shadow: 0 24px 50px rgba(11, 26, 54, 0.1); }
html.theme-light .div__mark img { filter: drop-shadow(0 18px 36px rgba(8, 123, 234, 0.18)); }
html.theme-light .hero__mark img { filter: drop-shadow(0 40px 70px rgba(2, 68, 188, 0.28)); }
html.theme-light .clients { background: var(--ink-2); border-color: transparent; }

/* ---------- Mobile optimisation (2026-10-16) ---------- */
/* phone menu: "Solutions" is a heading over its four links (like the desktop dropdown), not an extra tab */
.mmenu__label { display: block; padding: 22px 0 6px; color: var(--muted); }
.mmenu .mmenu__foot a { font-family: var(--sans); font-size: 16px; line-height: 1.4; padding: 8px 0; border: 0; color: var(--fg-2); }
@media (max-width: 800px) {
  /* image + text rows built with inline two-column grids: stack them on phones */
  .cols[style] { grid-template-columns: 1fr !important; direction: ltr !important; }
  /* comfortable tap targets for small text links */
  .office a.tel, .infocard a, .footer li a, .footer__bottom a, .phero__crumbs a, .consent a { display: inline-block; padding-top: 8px; padding-bottom: 8px; }
  .link { padding-top: 10px; padding-bottom: 12px; }
}
@media (max-width: 560px) {
  /* long button labels wrap instead of running off the screen */
  .btn { white-space: normal; height: auto; min-height: 52px; padding: 14px 24px; line-height: 1.3; }
}
