/* Smartech Web Solutions — layout follows the Vaultix framed-grid system:
   a 1280px ruled frame, hatched section dividers, bracket-cornered surfaces. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Smartech Signature";
  src: url("../fonts/signature-subset.woff2") format("woff2");
  font-display: swap;
}
/* Fallback tuned to JetBrains Mono metrics (0.6em advance, 1.02/0.3 ascent/descent) so the swap doesn't reflow text. */
@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("Cousine"), local("Droid Sans Mono");
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
  size-adjust: 100%;
}
:root {
  --bg: #02071a;
  --bg-deep: #010413;
  --surface: #13182a;
  --surface-2: #1a2138;
  --line: rgba(184, 211, 250, 0.2);
  --line-soft: rgba(184, 211, 250, 0.1);
  --heading: #b8d3fa;
  --text: rgba(192, 218, 255, 0.72);
  --text-dim: rgba(192, 218, 255, 0.62);
  --white: #ffffff;
  --strong: #ffffff;
  --surface-deep: #0f1424;
  --orb-1: #3a4361;
  --orb-2: #1c2236;
  --red-text: #ff8a95;
  --hatch: rgba(184, 211, 250, 0.13);
  --tick-bright: rgba(184, 211, 250, 0.55);
  --dot-bg: rgba(184, 211, 250, 0.06);
  --glow-dot: #ffffff;
  --wordmark-dot: rgba(106, 166, 255, 0.6);
  --ink: #02071a;

  --navy: #022b6d;          /* logo wordmark */
  --signal: #3d8bff;        /* logo navy hue, lifted for dark backgrounds */
  --signal-strong: #6aa6ff;
  --signal-soft: rgba(61, 139, 255, 0.14);
  --red: #c42334;           /* logo accent */
  --error: #ff6b78;
  --ok: #4fd1a5;

  --font: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-h1: clamp(32px, 4vw, 48px);
  --fs-h2: clamp(28px, 3.2vw, 40px);
  --fs-h3-lg: clamp(22px, 2.4vw, 32px);
  --fs-h3: clamp(19px, 1.8vw, 24px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 12px;

  --frame: 1280px;
  --gutter: 40px;
  --nav-h: 86px;
  --section-pad: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-btn: 400ms;
  --t-reveal: 600ms;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: 0.019em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--signal-strong); outline-offset: 3px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; transition: top var(--t-fast); }
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .h3-lg, .h-faq {
  color: var(--heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.031em;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); line-height: 1.2; }
.h2 { font-size: var(--fs-h2); line-height: 1.3; }
.h3-lg { font-size: var(--fs-h3-lg); line-height: 1.3; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.label {
  font-size: var(--fs-label);
  line-height: 1.5;
  letter-spacing: 0.167em;
  text-transform: uppercase;
  color: var(--text);
}
.lead { max-width: 34em; }
.muted { color: var(--text-dim); }

/* ---------- Frame & sections ---------- */
.frame {
  max-width: var(--frame);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
  position: relative;
}
.pad-x {
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section-pad); position: relative; }
.divider {
  height: 64px;
  background: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 9px);
}

/* Bracket corners: 8 L-shaped strokes painted in a pseudo-element. */
.ticks { position: relative; }
.ticks::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  --tc: var(--line);
  --ts: 9px;
  background:
    linear-gradient(var(--tc), var(--tc)) 0 0 / var(--ts) 1px,
    linear-gradient(var(--tc), var(--tc)) 0 0 / 1px var(--ts),
    linear-gradient(var(--tc), var(--tc)) 100% 0 / var(--ts) 1px,
    linear-gradient(var(--tc), var(--tc)) 100% 0 / 1px var(--ts),
    linear-gradient(var(--tc), var(--tc)) 0 100% / var(--ts) 1px,
    linear-gradient(var(--tc), var(--tc)) 0 100% / 1px var(--ts),
    linear-gradient(var(--tc), var(--tc)) 100% 100% / var(--ts) 1px,
    linear-gradient(var(--tc), var(--tc)) 100% 100% / 1px var(--ts);
  background-repeat: no-repeat;
  z-index: 2;
}
.ticks--bright::before { --tc: var(--tick-bright); }

/* Eyebrow: bracketed label with the logo's red notch. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(212, 232, 255, 0.03);
  font-size: var(--fs-label);
  letter-spacing: 0.167em;
  text-transform: uppercase;
  color: var(--heading);
}
.eyebrow::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  order: -1;
}

/* Google rating badge (replaces the hero eyebrow) */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(212, 232, 255, 0.03);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  transition: background-color var(--t-fast);
}
a.rating-badge:hover { background: rgba(212, 232, 255, 0.08); }
.rating-badge__g { width: 18px; height: 18px; flex: none; }
.rating-badge__score { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--strong); }
.rating-badge__stars { position: relative; display: inline-block; font-size: 14px; letter-spacing: 2px; line-height: 1; color: rgba(251, 188, 4, 0.25); }
.rating-badge__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #fbbc04; }

/* Section heading layouts */
.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 450px);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.head-split__title { display: grid; gap: 20px; justify-items: start; }
.head-split__title .h2 { max-width: 15em; }

.head-center {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 56px;
}
.head-center .lead { margin-inline: auto; }
.wings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: calc(100% + 2 * var(--gutter) - 32px);
  margin-inline: calc(-1 * var(--gutter) + 16px);
}
.wings .h2 { max-width: 13em; }
.wing { width: 100%; max-width: 400px; height: 28px; color: var(--signal); }
.wing--l { justify-self: end; }
.wing--r { justify-self: start; transform: scaleX(-1); }
.trace-top { width: min(580px, 100%); height: 46px; color: var(--signal); margin-bottom: -38px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.072em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--t-btn) var(--ease), color var(--t-btn) var(--ease),
    border-color var(--t-btn) var(--ease), transform var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { --btn-bg: var(--signal); --btn-fg: var(--ink); }
.btn--ghost { border-color: var(--line); font-weight: 700; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--outline-light { --btn-fg: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
@media (hover: hover) {
  .btn--primary:hover, .btn--ghost:hover, .btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); border-color: var(--strong); }
  .btn--light:hover { --btn-bg: var(--signal); }
}
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.6; cursor: progress; }
.btn__roll { display: grid; overflow: hidden; height: 1.5em; line-height: 1.5; }
.btn__roll > span { grid-area: 1 / 1; white-space: nowrap; transition: transform var(--t-btn) var(--ease); }
.btn__roll > span + span { transform: translateY(110%); }
@media (hover: hover) {
  .btn:hover .btn__roll > span:first-child { transform: translateY(-110%); }
  .btn:hover .btn__roll > span + span { transform: translateY(0); }
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) { .btn:hover svg.arrow { transform: translateX(3px); } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--signal-strong);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--t-fast);
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) { .text-link:hover { color: var(--strong); } .text-link:hover svg { transform: translateX(4px); } }

.arrow-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--heading);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.arrow-box svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--bg);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .frame { border-bottom: 1px solid var(--line); }
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo { display: inline-flex; align-items: center; flex: none; padding-block: 6px; }
.brand-logo img { height: 38px; width: auto; aspect-ratio: 1184 / 319; }
.footer-brand .brand-logo img { height: 44px; }
.nav__links { display: flex; gap: 8px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-small);
  letter-spacing: 0.143em;
  text-transform: uppercase;
  color: var(--heading);
  transition: color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: translateX(-50%) scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.nav__link[aria-current] { color: var(--signal-strong); }
.nav__link[aria-current]::after { transform: translateX(-50%) scale(1); }
@media (hover: hover) { .nav__link:hover { color: var(--strong); } }
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  place-items: center;
  cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0;
  z-index: 49;
  background: var(--bg);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 0s linear 240ms;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu .frame { min-height: 100%; padding-block: 24px 40px; display: grid; align-content: start; gap: 4px; }
.mobile-menu a:not(.btn) {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--heading);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-menu a:not(.btn) span { color: var(--signal); font-size: var(--fs-label); }
.mobile-menu .btn { margin-top: 24px; }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding-block: 64px 56px;
  border-right: 1px solid var(--line);
}
.hero__top { display: grid; gap: 24px; justify-items: start; }
.hero__top .h1 { max-width: 12em; }
.hero__sub { max-width: 31em; }
.hero-trace { width: 330px; max-width: 100%; height: 24px; color: var(--signal); }
.hero__bottom { display: grid; gap: 40px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.stats { display: flex; flex-wrap: wrap; }
.stat { display: grid; gap: 12px; padding-inline: 24px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__value { font-variant-numeric: tabular-nums; font-size: 24px; color: var(--heading); font-weight: 500; font-variant-numeric: tabular-nums; }

.hero__visual {
  position: relative;
  overflow: hidden;
  padding-block: 48px;
  display: grid;
  place-items: center;
  perspective: 1100px;
  min-height: 520px;
  touch-action: pan-y;
}
.traces { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--signal); opacity: 0.9; }
.traces .t-base { stroke: currentColor; stroke-opacity: 0.38; fill: none; stroke-width: 1.2; }
.traces .t-node { fill: none; stroke: currentColor; stroke-opacity: 0.6; }
.traces .t-chev { fill: currentColor; fill-opacity: 0.55; }
.traces .t-pulse { stroke: var(--signal-strong); fill: none; stroke-width: 1.6; stroke-dasharray: 10 400; stroke-linecap: round; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  html.anim-ready:not(.low-power) .traces .t-pulse { opacity: 1; animation: pulse-run var(--dur, 5s) linear var(--delay, 0s) infinite; }
}
@keyframes pulse-run { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }

/* Mini website illustration (service cards) */
.site-bar { display: flex; align-items: center; gap: 5%; padding-inline: 5%; border-bottom: 1px solid rgba(106, 166, 255, 0.35); }
.site-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(184, 211, 250, 0.5); }
.site-bar i:first-child { background: var(--red); }
.site-bar b { margin-left: auto; width: 30%; height: 4px; background: rgba(184, 211, 250, 0.3); }
.site-body { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto 1fr; gap: 8%; padding: 8% 7%; }
.site-body .ln { height: 5px; background: rgba(214, 230, 255, 0.85); margin-bottom: 6px; }
.site-body .ln--s { width: 60%; background: rgba(184, 211, 250, 0.45); }
.site-body .cta { width: 45%; height: 9px; background: var(--signal); margin-top: 10px; }
.site-body .pic { min-height: 48px; background: linear-gradient(135deg, rgba(61, 139, 255, 0.55), rgba(2, 43, 109, 0.8)); border: 1px solid rgba(106, 166, 255, 0.5); }
.site-body .cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.site-body .cards span { min-height: 34px; border: 1px solid rgba(106, 166, 255, 0.35); background: rgba(2, 43, 109, 0.5); }

/* Hero portrait: framed photo with a light navy colour blend and pointer tilt. */
.hero-photo {
  position: relative;
  width: min(460px, 76%);
  aspect-ratio: 960 / 1182;
  margin: 0;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(closest-side, rgba(61, 139, 255, 0.28), transparent);
  pointer-events: none;
}
.hero-photo__outline {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(106, 166, 255, 0.45);
}
.hero-photo__frame {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(140, 186, 255, 0.55);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(61, 139, 255, 0.22);
}
.hero-photo__frame::before { --tc: rgba(184, 211, 250, 0.7); z-index: 3; }
.hero-photo__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 78%, rgba(2, 7, 26, 0.45));
}
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #1d4fa3;
  mix-blend-mode: color;
  opacity: 0.16;
  pointer-events: none;
}
.hero-photo__signature {
  position: absolute;
  right: 7%;
  bottom: 5%;
  z-index: 4;
  font-family: "Smartech Signature", "Brush Script MT", cursive;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  transform: rotate(-6deg);
  pointer-events: none;
}
.hero-photo__notch {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: var(--red);
  z-index: 4;
  box-shadow: 0 8px 18px rgba(196, 35, 52, 0.4);
}

/* ---------- Coverage strip (logo-row geometry) ---------- */
.strip__title { text-align: center; color: var(--heading); margin-bottom: 32px; font-weight: 500; }
.marquee { border-block: 1px solid var(--line-soft); overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.strip { padding-block: 96px; }
.marquee + .marquee { border-top: 0; }
.marquee__cell {
  width: 240px;
  height: 168px;
  flex: none;
  display: grid;
  place-content: center;
  justify-items: center;
  padding-inline: 24px;
  border-right: 1px solid var(--line-soft);
  text-align: center;
  color: var(--heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.marquee__cell--client span { text-wrap: balance; opacity: 0.8; transition: opacity 250ms var(--ease), color 250ms var(--ease); }
.marquee__cell--client img { max-height: 44px; max-width: 160px; object-fit: contain; opacity: 0.7; transition: opacity 250ms var(--ease); }
@media (hover: hover) { .marquee__cell--client:hover span, .marquee__cell--client:hover img { opacity: 1; color: var(--strong); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track { animation-duration: var(--speed, 48s); }
.marquee__track--reverse { animation-direction: reverse; }
.marquee--fade {
  border-block: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .marquee--fade { overflow-x: auto; scrollbar-width: thin; }
}

/* ---------- Glow surfaces ---------- */
.glow-card { position: relative; isolation: isolate; }
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 139, 255, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-btn) var(--ease);
  pointer-events: none;
}
@media (hover: hover) { .glow-card:hover::after { opacity: 1; } }

/* ---------- About (landscape cards) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio__card {
  background: var(--surface);
  padding: 40px 32px 36px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  text-align: center;
  border-right: 1px solid var(--bg);
  transition: background-color var(--t-btn) var(--ease);
}
.trio__card:last-child { border-right: 0; }
.trio__card p { max-width: 24em; }
.emblem {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--signal);
}
.emblem::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 139, 255, 0.3), transparent);
}
.emblem svg { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(61, 139, 255, 0.55)); transition: transform 700ms var(--ease); }
@media (hover: hover) { .trio__card:hover .emblem svg { transform: rotate(-8deg) scale(1.04); } }
.emblem text { font-family: var(--font); fill: var(--heading); }

/* ---------- Services (feature cards) ---------- */
.features { display: grid; gap: 32px; }
/* Sticky card stack: enabled by JS only when every card fits the viewport. */
.features.is-stacking .feature {
  position: sticky;
  top: calc(var(--nav-h) + 24px + var(--i, 0) * 18px);
  transform-origin: 50% 0;
  scale: var(--stack-s, 1);
  filter: var(--stack-filter, none);
  box-shadow: 0 -18px 40px rgba(1, 4, 19, 0.65);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(180deg, var(--surface), var(--surface-deep));
  border: 1px solid var(--line);
}
.feature--flip .feature__text { order: 2; }
.feature__text { display: grid; gap: 20px; justify-items: start; }
.icon-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--orb-1), var(--orb-2) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(184, 211, 250, 0.18);
  color: var(--heading);
  margin-bottom: 36px;
}
.icon-orb svg { width: 26px; height: 26px; }
.points { display: grid; gap: 12px; margin-top: 4px; }
.points li { display: flex; gap: 12px; color: var(--heading); font-size: 15px; }
.points li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background: var(--text);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.feature__visual { position: relative; perspective: 900px; min-height: 340px; display: grid; place-items: center; }

/* Widgets: illustrative interface compositions */
.widget {
  background: linear-gradient(180deg, #1d2440, #161c31);
  border: 1px solid rgba(184, 211, 250, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  padding: 20px;
  font-size: 12px;
  color: var(--heading);
}
.widget__title { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.widget__title em { font-style: normal; font-size: 10px; color: var(--text-dim); letter-spacing: 0.15em; }
.tilt-scene { transform-style: preserve-3d; transition: transform 700ms var(--ease); transform: rotateX(var(--trx, 8deg)) rotateY(var(--try, -12deg)); }

.devices { position: relative; width: min(440px, 100%); aspect-ratio: 1.45; }
.device-desktop { position: absolute; inset: 0 12% 14% 0; padding: 0; display: grid; grid-template-rows: 22px 1fr; overflow: hidden; }
.device-desktop .site-bar { border-bottom-color: rgba(184, 211, 250, 0.12); }
.device-desktop .site-body { padding: 7%; }
.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  aspect-ratio: 0.5;
  padding: 10% 8%;
  border-radius: 14px;
  transform: translateZ(50px);
  display: grid;
  align-content: start;
  gap: 7px;
  transition: transform 700ms var(--ease);
}
.device-phone .pic { aspect-ratio: 1.3; background: linear-gradient(135deg, rgba(61, 139, 255, 0.55), rgba(2, 43, 109, 0.8)); }
.device-phone .ln { height: 4px; background: rgba(184, 211, 250, 0.45); }
.device-phone .ln--s { width: 60%; background: rgba(184, 211, 250, 0.25); }
.device-phone .cta { height: 9px; width: 70%; background: var(--signal); margin-top: 4px; }
@media (hover: hover) { .feature:hover .device-phone { transform: translateZ(90px) translateY(-6px); } }

.profile { width: min(360px, 100%); }
.profile__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.profile__avatar { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); border: 1px solid rgba(106, 166, 255, 0.5); }
.profile__avatar svg { width: 20px; height: 20px; color: var(--signal-strong); }
.profile__name { font-size: 14px; }
.profile__cat { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.profile__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(184, 211, 250, 0.08); }
.profile__row svg { width: 15px; height: 15px; color: var(--text); }
.chip { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid rgba(106, 166, 255, 0.5); color: var(--signal-strong); }
.map-tile {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  right: 2%;
  top: 0;
  transform: translateZ(-60px);
  border: 1px solid rgba(106, 166, 255, 0.3);
  background:
    linear-gradient(rgba(106, 166, 255, 0.14) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(106, 166, 255, 0.14) 1px, transparent 1px) 0 0 / 22px 22px,
    #0c1630;
  display: grid;
  place-items: center;
  color: var(--red);
}
.map-tile svg { width: 34px; height: 34px; filter: drop-shadow(0 6px 10px rgba(196, 35, 52, 0.45)); }
.profile-scene { position: relative; width: min(440px, 100%); padding: 40px 0 0; }

.checklist { width: min(380px, 100%); }
.check-row { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(184, 211, 250, 0.08); }
.check-box { width: 16px; height: 16px; border: 1px solid rgba(106, 166, 255, 0.6); display: grid; place-items: center; }
.check-box svg { width: 12px; height: 12px; color: var(--signal-strong); stroke-dasharray: 20; stroke-dashoffset: 0; }
html.js .is-armed .check-box svg { stroke-dashoffset: 20; }
html.js .is-armed.is-visible .check-box svg { stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease) var(--d, 0ms); }
.serp {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 56%;
  padding: 14px;
  transform: translateZ(60px);
}
.serp i { display: block; height: 5px; margin-top: 7px; background: rgba(184, 211, 250, 0.25); }
.serp i:first-child { margin-top: 0; height: 7px; width: 80%; background: var(--signal); }
.serp i:nth-child(2) { width: 50%; background: rgba(79, 209, 165, 0.6); }
.seo-scene { position: relative; width: min(440px, 100%); padding-bottom: 70px; display: grid; justify-items: end; }

.care { width: min(380px, 100%); }
.care__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid rgba(184, 211, 250, 0.08); }
.care__row b { font-weight: 400; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.care__row b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 16px; }
.months span { height: 22px; background: rgba(61, 139, 255, 0.22); border: 1px solid rgba(106, 166, 255, 0.3); }
.months span.on { background: var(--signal); }
.care-scene { position: relative; width: min(440px, 100%); display: grid; justify-items: start; }
.care-scene .care { width: min(330px, 76%); }
.care-scene .ring-gauge { position: absolute; right: 0; top: 50%; margin-top: -52px; width: 104px; height: 104px; transform: translateZ(50px); color: var(--signal); }

/* ---------- Pricing (crosshair grid) ---------- */
.cell-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-soft); }
.cell {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  padding: 40px 32px 36px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color var(--t-btn) var(--ease);
}
.cell:nth-child(3n) { border-right: 0; }
.cell:nth-last-child(-n + 3) { border-bottom: 0; }
.cell::before {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  background: linear-gradient(var(--heading), var(--heading)) center / 13px 1px no-repeat, linear-gradient(var(--heading), var(--heading)) center / 1px 13px no-repeat;
  opacity: 0.55;
  z-index: 1;
}
.cell:nth-child(3n)::before, .cell:nth-last-child(-n + 3)::before { display: none; }
@media (hover: hover) { .cell:hover { background: rgba(61, 139, 255, 0.05); } }
.cell .chip { margin-bottom: 8px; }
.chip--monthly { border-color: rgba(196, 35, 52, 0.6); color: var(--red-text); }
.price__amount { font-size: clamp(30px, 3vw, 38px); font-weight: 500; color: var(--strong); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price__amount small { font-size: 14px; color: var(--text); letter-spacing: 0; font-weight: 400; }
.price__from { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }
.cell p { max-width: 22em; font-size: 15px; }
.cell .text-link { margin-top: 8px; }
.cell--note .price__amount { font-size: 22px; color: var(--heading); }
.fineprint { margin-top: 24px; text-align: center; font-size: 13px; color: var(--text-dim); max-width: 60em; margin-inline: auto; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(180deg, var(--surface), var(--surface-deep));
  overflow: hidden;
}
.product:only-child { grid-column: 1 / -1; }
.products:has(.product + .product) .product { grid-template-columns: 1fr; }
.product__text { display: grid; gap: 20px; justify-items: start; }
.product__by { display: inline-flex; align-items: center; gap: 10px; }
.product__by::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.product__name { font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -0.03em; color: var(--strong); line-height: 1; text-transform: uppercase; }
.product__desc { max-width: 30em; }
.product__note { font-size: 13px; color: var(--text-dim); }
.product__stage { position: relative; min-height: 0; display: grid; place-items: center; perspective: 1200px; }
.product__stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(closest-side, rgba(61, 139, 255, 0.28), transparent);
}
.product__brand { display: flex; align-items: center; gap: 16px; }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.store-badge { display: inline-flex; transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.store-badge img { display: block; height: 48px; width: auto; }
@media (hover: hover) { .store-badge:hover { opacity: 0.9; transform: translateY(-1px); } }
.product__icon { width: 64px; height: 64px; border-radius: 18%; box-shadow: 0 0 28px rgba(61, 139, 255, 0.35); }
.product-shot {
  --trx: 0deg;
  --try: 0deg;
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(140, 186, 255, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(61, 139, 255, 0.18);
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease);
}
.product-shot img { display: block; width: 100%; height: auto; }
@media (hover: hover) { .product:hover .product-shot { box-shadow: 0 40px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(61, 139, 255, 0.28); } }
/* ---------- Regions (testimonial geometry) ---------- */
.regions { display: grid; grid-template-columns: 420fr 514fr 200fr; gap: 40px 24px; align-items: stretch; }
.coast { position: relative; min-height: 500px; background: linear-gradient(180deg, #06205a, #021645); overflow: hidden; }
.coast svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.coast .sea { fill: url(#seaDots); }
.coast .shore { fill: none; stroke: var(--signal-strong); stroke-width: 1.5; }
.coast .land { fill: rgba(2, 7, 26, 0.55); }
.pin { cursor: pointer; }
.pin circle.halo { fill: rgba(196, 35, 52, 0.18); transition: r var(--t-btn) var(--ease); }
.pin circle.dot { fill: var(--heading); transition: fill var(--t-fast); }
.pin text { font-family: var(--font); font-size: 13px; letter-spacing: 0.12em; fill: var(--heading); text-transform: uppercase; }
.pin.is-active circle.dot { fill: var(--red); }
.pin.is-active circle.halo { r: 18; }
.pin:focus-visible { outline: none; }
.pin:focus-visible circle.dot { stroke: var(--white); stroke-width: 2; }
.coast__note { position: absolute; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }
.region-card {
  padding: 40px;
  border: 1px solid rgba(61, 139, 255, 0.35);
  background: radial-gradient(120% 80% at 0% 0%, rgba(2, 43, 109, 0.55), transparent 60%), radial-gradient(90% 70% at 100% 100%, rgba(2, 43, 109, 0.45), transparent 60%), var(--bg);
  display: grid;
  align-content: space-between;
  gap: 32px;
}
.region-card__count { font-size: var(--fs-label); letter-spacing: 0.167em; color: var(--signal-strong); }
.region-card__name { font-size: clamp(32px, 4vw, 48px); font-weight: 500; color: var(--strong); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin-top: 12px; }
.region-card__state { margin-top: 6px; }
.region-card__body { font-size: 18px; line-height: 1.65; color: var(--strong); max-width: 26em; }
.region-swap { transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.region-swap.is-leaving { opacity: 0; transform: translateY(8px); }
.region-nav { display: grid; grid-template-rows: 1fr 1fr; }
.region-nav button {
  border: 1px dashed rgba(61, 139, 255, 0.6);
  background: rgba(2, 43, 109, 0.25);
  color: var(--heading);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--t-fast);
}
.region-nav button + button { border-top: 0; }
.region-nav svg { width: 22px; height: 22px; transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) {
  .region-nav button:hover { background: rgba(61, 139, 255, 0.16); }
  .region-nav button:first-child:hover svg { transform: translateX(-4px); }
  .region-nav button:last-child:hover svg { transform: translateX(4px); }
}

/* ---------- Portfolio (blog-card geometry) ---------- */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { background: var(--surface); display: grid; grid-template-rows: auto 1fr; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.work-card__media { aspect-ratio: 383 / 183; overflow: hidden; position: relative; }
.work-card__media--shot { aspect-ratio: 16 / 10; background: var(--surface-2, #1a2138); border-bottom: 1px solid var(--line, rgba(184, 211, 250, 0.2)); }
.work-card__media--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (hover: hover) { .work-card:hover .work-card__media--shot img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .work-card__media--shot img { transition: none; } }
.work-card__desc { color: var(--text); font-size: 14px; line-height: 1.6; margin: -6px 0 0; }
.work-card__body { padding: 28px 32px 32px; display: grid; align-content: start; gap: 16px; }
.work-card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--heading); }
.work-card__meta span:last-child { color: var(--red-text); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.work-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed rgba(184, 211, 250, 0.35); margin-top: auto; }
@media (hover: hover) { .work-card:hover .arrow-box { background: var(--white); color: var(--ink); } }

/* ---------- FAQ ---------- */
.faq { max-width: 930px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.faq__num { color: var(--signal); font-size: 20px; }
.h-faq { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.3; }
.faq__icon { position: relative; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--heading); transition: transform var(--t-btn) var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__q[aria-expanded="true"] .h-faq { color: var(--strong); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-btn) var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 42px 32px 66px; max-width: 52em; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 72px 32px 64px;
  background: #0b1124;
  margin-inline: clamp(0px, 5vw, 88px);
}
.cta-box canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% 42%, transparent 58%, #000 100%);
  mask-image: radial-gradient(ellipse 46% 50% at 50% 42%, transparent 58%, #000 100%);
}
.cta-box__arc {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 20%, rgba(61, 139, 255, 0.85), var(--navy) 38%, rgba(2, 43, 109, 0.3) 60%);
  box-shadow: 0 -10px 60px rgba(61, 139, 255, 0.35);
}
.cta-box__inner { position: relative; display: grid; gap: 20px; justify-items: center; max-width: 42em; }
.cta-box__inner .h2 { color: #b8d3fa; }
.cta-box__inner p { color: #ffffff; }
.cta-box__meta { font-size: var(--fs-label); letter-spacing: 0.167em; text-transform: uppercase; color: #ffffff; font-weight: 500; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact__info { display: grid; gap: 20px; justify-items: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.contact-actions { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.contact-action {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  transition: background-color var(--t-btn) var(--ease);
}
.contact-action__icon { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(61, 139, 255, 0.12); border: 1px solid rgba(106, 166, 255, 0.3); color: var(--signal-strong); }
.contact-action__icon svg { width: 20px; height: 20px; }
.contact-action__text { display: grid; gap: 2px; min-width: 0; }
.contact-action__text .label { font-size: 11px; color: var(--text-dim); }
.contact-action__text strong { font-weight: 500; color: var(--strong); overflow-wrap: anywhere; }
@media (hover: hover) {
  .contact-action:hover { background: var(--surface-2); }
  .contact-action:hover .arrow-box { background: var(--white); color: var(--ink); }
}
.addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.addresses > .label { grid-column: 1 / -1; font-size: 11px; color: var(--text-dim); }
.address-card { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line-soft); }
.address-card strong { font-weight: 500; color: var(--heading); text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; }
.address-card address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--text); }
.address-card .text-link { margin-top: 6px; font-size: 12px; }
.address-card .text-link svg { width: 14px; height: 14px; }
.form-card { background: var(--surface); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--heading); }
.field label .opt { color: var(--text-dim); text-transform: none; letter-spacing: 0.02em; }
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--strong);
  font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.input::placeholder { color: var(--text-dim); }
.input:hover { border-color: rgba(184, 211, 250, 0.35); }
.input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.22); }
textarea.input { min-height: 140px; resize: vertical; }
select.input {
  background-image: linear-gradient(45deg, transparent 50%, var(--heading) 50%), linear-gradient(135deg, var(--heading) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
select.input option { background: var(--surface); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 13px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }
.form-foot p { font-size: 13px; color: var(--text-dim); flex: 1 1 220px; }
.form-status { margin-top: 20px; padding: 14px 16px; font-size: 14px; border: 1px solid; }
.form-status:empty { display: none; }
.form-status[data-tone="ok"] { border-color: rgba(79, 209, 165, 0.5); color: var(--ok); background: rgba(79, 209, 165, 0.06); }
.form-status[data-tone="error"] { border-color: rgba(255, 107, 120, 0.5); color: var(--error); background: rgba(255, 107, 120, 0.06); }
.form-status[data-tone="info"] { border-color: var(--line); color: var(--heading); background: rgba(61, 139, 255, 0.06); }
.form-status a { text-decoration: underline; color: var(--strong); }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -60px;
  width: 80%;
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(61, 139, 255, 0.35), transparent);
  pointer-events: none;
}
.site-footer {
  background-image: radial-gradient(var(--dot-bg) 1px, transparent 1.4px);
  background-size: 9px 9px;
}
.site-footer .frame { border-bottom: 0; padding-bottom: clamp(24px, 4vw, 48px); }
.footer-main { position: relative; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 32px; padding-block: 88px 56px; }
.footer-brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer-brand p { max-width: 24em; font-size: 15px; }
.footer-col__title { display: inline-block; margin-bottom: 22px; padding: 6px 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heading); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--text); font-size: 15px; transition: color var(--t-fast); }
@media (hover: hover) { .footer-col a:hover { color: var(--strong); } }
.footer-bottom { position: relative; display: flex; flex-direction: column; flex-wrap: wrap; align-items: center; text-align: center; justify-content: center; gap: 16px 32px; padding-block: 24px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--heading); }
.footer-copy { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { text-decoration: underline; text-decoration-color: rgba(106, 166, 255, 0.6); text-underline-offset: 4px; }
/* Oversized dotted wordmark built from the traced logo paths, used as masks over a dot pattern. */
.footer-wordmark { position: relative; aspect-ratio: 3553 / 547; width: 100%; margin-top: 8px; }
.footer-wordmark { --dot: 1.4px; --dot-gap: 7px; }
.footer-wordmark span { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; background-size: var(--dot-gap) var(--dot-gap); }
.footer-wordmark__word { -webkit-mask-image: url("../img/wordmark-mask.svg"); mask-image: url("../img/wordmark-mask.svg"); background-image: radial-gradient(circle, var(--wordmark-dot) var(--dot), transparent calc(var(--dot) + 0.5px)); }
.footer-wordmark__glow {
  -webkit-mask-image: radial-gradient(circle var(--glow-r, 150px) at var(--mx, 50%) var(--my, 50%), #000, transparent 72%), url("../img/wordmark-mask.svg"), url("../img/wordmark-accent-mask.svg") !important;
  mask-image: radial-gradient(circle var(--glow-r, 150px) at var(--mx, 50%) var(--my, 50%), #000, transparent 72%), url("../img/wordmark-mask.svg"), url("../img/wordmark-accent-mask.svg") !important;
  -webkit-mask-size: 100% 100%, contain, contain !important;
  mask-size: 100% 100%, contain, contain !important;
  -webkit-mask-position: 0 0, center, center !important;
  mask-position: 0 0, center, center !important;
  -webkit-mask-composite: source-in, source-over, source-over;
  mask-composite: intersect, add, add;
  background-image: radial-gradient(circle, var(--glow-dot) var(--dot), transparent calc(var(--dot) + 0.5px));
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
@media (hover: hover) { .footer-wordmark:hover .footer-wordmark__glow { opacity: 1; } }
.footer-wordmark__accent { -webkit-mask-image: url("../img/wordmark-accent-mask.svg"); mask-image: url("../img/wordmark-accent-mask.svg"); background-image: radial-gradient(circle, rgba(196, 35, 52, 0.95) var(--dot), transparent calc(var(--dot) + 0.5px)); }

/* ---------- Landing pages ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.page-hero > *, .regions > *, .contact > * { min-width: 0; }
.page-hero__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  padding-block: 56px 64px;
  border-right: 1px solid var(--line);
}
.page-hero__copy .h1 { max-width: 14em; }
.page-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 48px 32px;
  min-height: 460px;
  overflow: hidden;
  perspective: 900px;
  background: radial-gradient(60% 55% at 50% 50%, rgba(2, 43, 109, 0.55), transparent 70%);
}
.page-hero__visual .coast { width: min(380px, 100%); min-height: 420px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--heading); transition: color var(--t-fast); }
@media (hover: hover) { .breadcrumbs a:hover { color: var(--strong); } }
.breadcrumbs [aria-current] { color: var(--signal-strong); }

.prose { display: grid; gap: 16px; max-width: 40em; }
.prose a, .faq__a a { color: var(--signal-strong); text-decoration: underline; text-decoration-color: rgba(106, 166, 255, 0.45); text-underline-offset: 4px; }
@media (hover: hover) { .prose a:hover, .faq__a a:hover { color: var(--strong); } }
.split-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.split-block .prose { padding-top: 6px; }
.prose-list { display: grid; gap: 10px; margin: 0; padding-left: 1.2em; }
.prose-list li::marker { color: var(--signal-strong); }
.prose strong { color: var(--heading); font-weight: 600; }

.cell .icon-orb { margin-bottom: 4px; width: 56px; height: 56px; }
.cell .icon-orb svg { width: 22px; height: 22px; }
.trio__card .icon-orb { margin-bottom: 8px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line-soft); counter-reset: step; }
.step { padding: 32px 24px; border-right: 1px solid var(--line-soft); display: grid; align-content: start; gap: 12px; }
.step:last-child { border-right: 0; }
.step__num { color: var(--signal); font-size: 20px; }
.step h3 { font-size: 17px; line-height: 1.3; color: var(--heading); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; }
.step p { font-size: 14px; }

.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  transition: background-color var(--t-btn) var(--ease);
}
.link-card strong { font-weight: 500; color: var(--heading); text-transform: uppercase; letter-spacing: 0.02em; }
.link-card span:not(.arrow-box) { grid-column: 1; font-size: 14px; color: var(--text); }
.link-card .arrow-box { grid-row: 1 / span 2; grid-column: 2; }
@media (hover: hover) {
  .link-card:hover { background: var(--surface-2); }
  .link-card:hover .arrow-box { background: var(--white); color: var(--ink); }
}

.feature__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

[hidden] { display: none !important; }

/* ---------- Pricing plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  --plan-accent: var(--signal);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px 32px;
  background: linear-gradient(180deg, var(--surface), var(--surface-deep));
  border: 1px solid var(--line);
  box-shadow: inset 0 2px 0 var(--plan-accent), 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}
@supports (grid-template-rows: subgrid) {
  .plans { grid-template-rows: repeat(7, auto); row-gap: 0; }
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 20px; }
}
.plan--midcap {
  --plan-accent: var(--signal-strong);
  background: radial-gradient(120% 55% at 50% 0%, rgba(2, 43, 109, 0.7), transparent 70%), linear-gradient(180deg, var(--surface), var(--surface-deep));
}
.plan--enterprise { --plan-accent: var(--red); }
.plan--enterprise .chip { border-color: rgba(196, 35, 52, 0.6); color: var(--red-text); }
@media (hover: hover) { .plan:hover { transform: translateY(-4px); border-color: rgba(106, 166, 255, 0.45); } }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__head .icon-orb { margin: 0; width: 52px; height: 52px; }
.plan__head .icon-orb svg { width: 22px; height: 22px; }
.plan__name { font-size: var(--fs-h3-lg); font-weight: 500; line-height: 1.1; color: var(--strong); text-transform: uppercase; letter-spacing: -0.02em; }
.plan__for { font-size: 15px; }
.plan__price { display: grid; gap: 6px; align-content: start; padding-block: 20px; border-block: 1px solid var(--line-soft); }
.plan__price .price__amount { font-size: clamp(30px, 3vw, 40px); }
.plan__unit { font-size: 13px; color: var(--text-dim); }
.plan__features { gap: 12px; align-content: start; }
.plan__features li { font-size: 14px; }
.plan__extras { display: grid; gap: 10px; align-content: start; }
.plan__extras .label { font-size: 11px; color: var(--text-dim); }
.plan__extras li { font-size: 13px; color: var(--text); padding-left: 16px; position: relative; }
.plan__extras li::before { content: "+"; position: absolute; left: 0; color: var(--plan-accent); }
.plan__cta { width: 100%; align-self: end; }
.plan__cta svg { width: 18px; height: 18px; }
.fineprint a { color: var(--heading); text-decoration: underline; text-decoration-color: rgba(106, 166, 255, 0.45); text-underline-offset: 3px; }

/* ---------- Client logos and reviews ---------- */
.reviews { display: grid; gap: 16px; margin-inline: calc(-1 * var(--gutter)); }
.review { width: 380px; flex: none; margin-right: 20px; padding-block: 8px; }
.review figure { height: 100%; display: grid; align-content: space-between; gap: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25); transition: border-color var(--t-fast); }
@media (hover: hover) { .review figure:hover { border-color: rgba(106, 166, 255, 0.4); } }
.review blockquote { margin: 0; color: var(--heading); font-size: 15px; line-height: 1.65; }
.review figcaption { display: grid; gap: 4px; }
.review figcaption strong { color: var(--strong); font-weight: 500; }
.review figcaption span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.review figcaption .review__business { font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: var(--heading); }
.review__stars { color: #fbbc04; letter-spacing: 0.15em; font-size: 15px; }
.reviews__more { display: flex; justify-content: center; margin-top: 40px; }
.empty-state { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 32px; background: rgba(212, 232, 255, 0.02); border: 1px dashed var(--line); }
.empty-state p { max-width: 46em; font-size: 14px; }
.empty-state code { color: var(--signal-strong); }

/* ---------- Service-area map ---------- */
.map-panel { position: relative; min-height: 500px; background: #081733; overflow: hidden; }
.map-canvas { position: absolute; inset: 0; z-index: 0; }
.map-status { position: absolute; inset: 0; z-index: 800; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; padding: 24px; text-align: center; background: rgba(2, 7, 26, 0.7); color: var(--heading); font-size: 13px; }
.map-status ul { display: grid; gap: 6px; }
.map-panel .leaflet-container { width: 100%; height: 100%; background: #0a1730; font-family: var(--font); }
:root:not([data-theme="light"]) .map-panel .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(0.68) contrast(1.15); }
:root:not([data-theme="light"]) .map-panel .leaflet-container::after { content: ""; position: absolute; inset: 0; z-index: 250; pointer-events: none; background: #1d4fa3; mix-blend-mode: color; }
.map-panel .leaflet-bar { border: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; }
.map-panel .leaflet-bar a { background: var(--surface); color: var(--heading); border-bottom-color: var(--line); border-radius: 0 !important; width: 34px; height: 34px; line-height: 34px; }
.map-panel .leaflet-bar a:hover, .map-panel .leaflet-bar a:focus-visible { background: var(--surface-2); color: var(--strong); }
.map-panel .leaflet-control-attribution { background: rgba(2, 7, 26, 0.85) !important; color: var(--text-dim); font-size: 10px; }
.map-panel .leaflet-control-attribution a { color: var(--signal-strong); }
.map-panel .leaflet-popup-content-wrapper, .map-panel .leaflet-popup-tip { background: var(--surface); color: var(--text); border-radius: 0; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.map-panel .leaflet-popup-content { margin: 14px 16px; font-size: 13px; line-height: 1.5; }
.map-panel .leaflet-popup-content strong { display: block; color: var(--strong); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.map-panel .leaflet-popup-content a { color: var(--signal-strong); }
.map-panel .leaflet-container a.leaflet-popup-close-button { color: var(--heading); }
.map-pin { display: grid; place-items: center; }
.map-pin span { display: block; margin: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--heading); box-shadow: 0 0 0 6px rgba(61, 139, 255, 0.28); transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.map-pin.is-active span { background: var(--red); box-shadow: 0 0 0 9px rgba(196, 35, 52, 0.28); }
.map-pin:focus-visible { outline: 2px solid var(--signal-strong); outline-offset: 4px; }
.map-panel .map-label { background: rgba(2, 7, 26, 0.75); border: 0; box-shadow: none; color: var(--heading); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 7px; }
.map-panel .map-label::before { display: none; }

/* ---------- Contact links ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface-2); color: var(--heading); transition: background-color var(--t-fast), color var(--t-fast); }
.social svg { width: 20px; height: 20px; }
@media (hover: hover) { .social:hover { background: var(--white); color: var(--ink); } }

/* Analytics consent */
.consent {
  position: fixed;
  z-index: 60;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  max-width: 640px;
  margin-inline: auto;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 16px;
  font-size: 14px;
}
.consent .btn-row .btn { min-height: 40px; padding: 8px 18px; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: rgba(106, 166, 255, 0.6); text-underline-offset: 4px; cursor: pointer; font-size: inherit; }

/* Light theme, chosen with the header toggle. Dark remains the default brand look. */
:root[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-deep: #edf2f8;
  --surface: #ffffff;
  --surface-2: #edf2f8;
  --surface-deep: #f8fafd;
  --line: #d9e1ec;
  --line-soft: #e6ecf3;
  --heading: #062f70;
  --text: #475467;
  --text-dim: #5d6b7e;
  --strong: #101828;
  --signal: #1f5fd6;
  --signal-strong: #1a56c4;
  --signal-soft: rgba(31, 95, 214, 0.1);
  --orb-1: #ffffff;
  --orb-2: #dfe7f3;
  --red-text: #c82336;
  --hatch: rgba(6, 47, 112, 0.12);
  --tick-bright: rgba(6, 47, 112, 0.45);
  --dot-bg: rgba(6, 47, 112, 0.07);
  --glow-dot: #062f70;
  --wordmark-dot: rgba(6, 47, 112, 0.42);
  color-scheme: light;
}
:root[data-theme="light"] .btn--primary { --btn-fg: #ffffff; }
@media (hover: hover) {
  :root[data-theme="light"] .btn--primary:hover,
  :root[data-theme="light"] .btn--ghost:hover { --btn-bg: var(--strong); --btn-fg: #ffffff; border-color: var(--strong); }
}
:root[data-theme="light"] .feature,
:root[data-theme="light"] .plan,
:root[data-theme="light"] .product,
:root[data-theme="light"] .trio__card,
:root[data-theme="light"] .work-card { box-shadow: 0 18px 40px rgba(6, 47, 112, 0.08); }
:root[data-theme="light"] .region-card { background: radial-gradient(120% 80% at 0% 0%, rgba(31, 95, 214, 0.12), transparent 60%), var(--surface); }
:root[data-theme="light"] .site-footer::before { background: radial-gradient(closest-side, rgba(31, 95, 214, 0.18), transparent); }
/* Illustrated screens, the CTA band and schematic maps stay dark in both themes. */
:root[data-theme="light"] :is(.widget, .cta-box, .coast, .map-tile) {
  --heading: #b8d3fa;
  --text: rgba(192, 218, 255, 0.72);
  --text-dim: rgba(192, 218, 255, 0.62);
  --strong: #ffffff;
  --line: rgba(184, 211, 250, 0.2);
  --line-soft: rgba(184, 211, 250, 0.1);
  --surface: #13182a;
  --surface-2: #1a2138;
  --signal: #3d8bff;
  --signal-strong: #6aa6ff;
  --tick-bright: rgba(184, 211, 250, 0.55);
}
:root[data-theme="light"] .plan--midcap { background: radial-gradient(120% 55% at 50% 0%, rgba(31, 95, 214, 0.1), transparent 70%), linear-gradient(180deg, var(--surface), var(--surface-deep)); }
:root[data-theme="light"] .region-nav button { background: rgba(31, 95, 214, 0.05); border-color: rgba(31, 95, 214, 0.45); }
:root[data-theme="light"] .map-panel .leaflet-control-attribution { background: rgba(255, 255, 255, 0.85) !important; }
:root[data-theme="light"] .map-panel { background: #e9eef6; }
:root[data-theme="light"] .map-panel .leaflet-tile-pane { filter: saturate(0.35) contrast(0.95) brightness(1.04); }
:root[data-theme="light"] .map-panel .map-label { background: #ffffff; color: var(--heading); box-shadow: 0 2px 8px rgba(6, 47, 112, 0.18); }
:root[data-theme="light"] .map-pin span { background: var(--heading); box-shadow: 0 0 0 6px rgba(6, 47, 112, 0.18); }
:root[data-theme="light"] .map-pin.is-active span { background: var(--red); box-shadow: 0 0 0 9px rgba(200, 35, 54, 0.22); }
:root[data-theme="light"] .map-panel .leaflet-bar a { background: #ffffff; }
:root[data-theme="light"] .hero-photo__frame { box-shadow: 0 30px 60px rgba(6, 47, 112, 0.22), 0 0 0 1px rgba(6, 47, 112, 0.15); }
:root[data-theme="light"] .hero-photo::before { background: radial-gradient(closest-side, rgba(31, 95, 214, 0.16), transparent); }
:root[data-theme="light"] .review figure { box-shadow: 0 12px 28px rgba(6, 47, 112, 0.08); }
:root[data-theme="light"] .review__stars, :root[data-theme="light"] .rating-badge__fill { color: #e8a200; }
:root[data-theme="light"] .input { background: #ffffff; }
:root[data-theme="light"] .input::placeholder { color: #8a97a8; }
:root[data-theme="light"] .icon-orb { box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(6, 47, 112, 0.14); border-color: var(--line); color: var(--heading); }
:root[data-theme="light"] .contact-action__icon { background: rgba(31, 95, 214, 0.08); border-color: rgba(31, 95, 214, 0.25); }
/* Smooth theme switch for surfaces and text only (no layout properties) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, fill 250ms ease !important; }
.logo-on-light { display: none; }
:root[data-theme="light"] .logo-on-dark { display: none; }
:root[data-theme="light"] .logo-on-light { display: block; }

/* Theme toggle */
.nav__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
@media (hover: hover) { .theme-toggle:hover { background: var(--surface-2); color: var(--strong); } }

/* ---------- Reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); }
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-reveal) var(--ease) var(--d, 0ms), transform var(--t-reveal) var(--ease) var(--d, 0ms);
}
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split .w > span { display: inline-block; }
html.js .split.is-armed .w > span { transform: translateY(105%); }
html.js .split.is-armed.is-visible .w > span { transform: none; transition: transform 700ms var(--ease) calc(var(--i) * 45ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .split.is-armed .w > span { transform: none; }
  html.js .is-armed .check-box svg { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .regions { grid-template-columns: 1fr 1fr; }
  .region-nav { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 72px; }
  .region-nav button + button { border-top: 1px dashed rgba(61, 139, 255, 0.6); border-left: 0; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 48px; }
  .hero__visual { min-height: 440px; }
  .head-split { grid-template-columns: 1fr; margin-bottom: 40px; }
  .feature, .feature--flip { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .feature--flip .feature__text { order: 0; }
  .icon-orb { margin-bottom: 8px; }
  .feature__visual { min-height: 300px; }
  .product { grid-template-columns: 1fr; padding: 32px; }
  .products { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .wing { max-width: 200px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --nav-h: 72px; }
  .brand-logo img { height: 30px; }
  .trio { grid-template-columns: 1fr; gap: 1px; }
  .trio__card { border-right: 0; }
  .cell-grid { grid-template-columns: 1fr; }
  .cell, .cell:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .cell:last-child { border-bottom: 0; }
  .cell::before { display: none; }
  .regions { grid-template-columns: 1fr; }
  .coast { min-height: 380px; }
  .region-card { padding: 28px; }
  .work { grid-template-columns: 1fr; }
  .wings { grid-template-columns: 1fr; width: auto; margin-inline: 0; }
  .wing { display: none; }
  .trace-top { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-block: 72px 40px; }
  .faq__q { gap: 16px; padding: 24px 0; }
  .faq__num { font-size: 16px; }
  .faq__a p { padding: 0 0 24px; }
  .cta-box { min-height: 420px; padding: 56px 20px; }
  .cta-box__arc { width: 160%; top: 58%; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .stat { padding-inline: 14px; }
  .stat .label { letter-spacing: 0.12em; }
  .hero-trace { width: 260px; }
}
@media (max-width: 420px) {
  .btn-row .btn { width: 100%; }
  .btn__roll { height: auto; }
  .btn__roll > span { white-space: normal; text-align: center; }
  .stat { padding-inline: 12px; }
  .stat__value { font-size: 20px; }
  .feature, .feature--flip, .product { padding: 24px 20px; }
}

/* ---------- Responsive: landing pages and footer ---------- */
@media (max-width: 1100px) {
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line-soft); grid-template-columns: 56px 1fr; align-items: baseline; }
  .step:last-child { border-bottom: 0; }
  .step__num { grid-row: span 2; }
}
@media (max-width: 960px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero__copy { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 40px 48px; }
  .page-hero__visual { min-height: 380px; }
  .split-block { grid-template-columns: 1fr; }
  .link-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .link-cards { grid-template-columns: 1fr; }
  .page-hero__visual { min-height: 320px; padding: 32px 20px; }
  .page-hero__visual .coast { min-height: 340px; }
  .step { grid-template-columns: 44px 1fr; padding: 24px 0; }
  .steps { border-inline: 0; }
}

/* ---------- Responsive: plans, map, marquees ---------- */
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 16px; max-width: 560px; margin-inline: auto; }
  .plan { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 1100px) {
  .map-panel { min-height: 440px; }
  .footer-wordmark { --dot: 1.1px; --dot-gap: 5px; }
}
@media (max-width: 760px) {
  .map-panel { min-height: 380px; }
  .review { width: 300px; }
  .addresses { grid-template-columns: 1fr; margin-top: 40px; }
  .footer-wordmark { --dot: 0.75px; --dot-gap: 3px; }
  .hero-photo { width: min(320px, 78%); }
  .strip { padding-block: 72px; }
  .marquee__cell { width: 190px; height: 140px; font-size: 13px; padding-inline: 16px; }
  .plan { padding: 28px 22px 24px; }
}
