/* ==========================================================================
   DK System — Vigilance. Engineered.
   Premium design system

   Scaling: the root font-size grows fluidly with the viewport and every
   structural value is in rem, so type, spacing, images and the container
   scale together on large screens.

   Theming: every colour is a token. The dark theme is the brand default;
   [data-theme="light"] at the bottom of this file overrides the tokens and
   the handful of rules that need genuinely different treatment (product
   renders, brand logos, grain, glows) rather than a flat inversion.
   ========================================================================== */

:root {
  /* --- surfaces --- */
  --black: #05080D;          /* page background */
  --navy: #0B121C;           /* alternating section band */
  --elevated: #0F1826;       /* raised surfaces: inputs, dropdowns, media */

  /* --- text --- */
  --steel: #D7DEE5;
  --steel-70: rgba(215, 222, 229, 0.70);
  --steel-52: rgba(215, 222, 229, 0.52);
  --steel-32: rgba(215, 222, 229, 0.32);

  /* --- accents --- */
  --blue: #1E90FF;
  --cyan: #00C2FF;
  --alert: #E63946;
  --grad-a: #1E90FF;
  --grad-b: #00C2FF;
  --btn-fg: #04070C;

  /* --- lines --- */
  --line: rgba(30, 144, 255, 0.16);
  --line-strong: rgba(30, 144, 255, 0.34);
  --grid-line: rgba(30, 144, 255, 0.030);

  /* --- composed surfaces --- */
  --header-bg: rgba(5, 8, 13, 0.88);
  --header-bg-2: rgba(5, 8, 13, 0.96);
  --nav-bg: rgba(5, 8, 13, 0.985);
  --chip-bg: rgba(5, 8, 13, 0.70);
  --card-bg: linear-gradient(165deg, rgba(30,144,255,0.05), rgba(11,18,28,0.5) 55%);
  --card-shadow: 0 2.125rem 4rem -1.75rem rgba(30,144,255,0.35);
  --card-shadow-fire: 0 2.125rem 4rem -1.75rem rgba(230,57,70,0.32);
  --media-scrim: linear-gradient(to top, rgba(5,8,13,0.88), rgba(5,8,13,0.15) 60%),
                 linear-gradient(120deg, rgba(30,144,255,0.10), transparent 60%);
  --media-filter: saturate(0.6) brightness(0.72) contrast(1.05);
  --media-filter-hover: saturate(0.95) brightness(0.95) contrast(1);
  --framed-filter: saturate(0.68) brightness(0.8) contrast(1.06);
  --shadow-lg: 0 1.75rem 3.75rem -1.5rem rgba(0,0,0,0.85);
  --grain-opacity: 0.04;
  --grain-blend: overlay;

  /* --- hero headline gradient --- */
  --h1-a: #FFFFFF;
  --h1-b: #C8D3DE;
  --h1-c: #94A5B7;

  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --topbar-h: 2.375rem;
  --header-h: 4.875rem;
  --gut: clamp(1.25rem, 5vw, 4.25rem);

  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  /* 16px up to 1440px wide, then scales up to 21px on very large displays */
  font-size: clamp(16px, 0.446vw + 9.6px, 21px);
  scroll-behavior: smooth;
  background: var(--black);
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 1.25rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--steel);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: calc(var(--topbar-h) + var(--header-h));
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--steel);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--steel); font-weight: 600; }

.container { max-width: 81.25rem; margin: 0 auto; padding: 0 var(--gut); }
.container-narrow { max-width: 58.75rem; margin: 0 auto; padding: 0 var(--gut); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--cyan); color: var(--black);
  padding: 0.75rem 1.25rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Ambient ---------- */

.hud-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
}

/* Cinematic film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300;
  opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.125rem;
}
.eyebrow::before {
  content: ""; width: 1.625rem; height: 1px;
  background: var(--cyan); flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }

.lead { font-size: 1.08rem; color: var(--steel-70); }
.muted { color: var(--steel-52); }

/* ---------- Top bar ---------- */

.top-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h); z-index: 201;
  background: var(--black);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  transition: background-color 0.4s var(--ease);
}
.top-bar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top-bar-contact { display: flex; align-items: center; gap: 0.625rem; color: var(--steel-52); }
.top-bar-contact a { color: var(--steel-52); transition: color 0.25s; }
.top-bar-contact a:hover { color: var(--cyan); }

.top-bar-social { display: flex; align-items: center; gap: 0.375rem; }
.top-bar-social a {
  width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center;
  color: var(--steel-70); border: 1px solid var(--line-strong); border-radius: 3px;
  background: rgba(30, 144, 255, 0.07);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.top-bar-social a:hover, .top-bar-social a:focus-visible {
  color: var(--btn-fg); border-color: transparent;
  background: linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px -5px rgba(0, 194, 255, 0.75);
}
.top-bar-social svg { width: 0.875rem; height: 0.875rem; fill: currentColor; display: block; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0;
  height: var(--header-h); z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.site-header.scrolled { background: var(--header-bg-2); border-bottom-color: var(--line-strong); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; }

/* Logo */
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-mark { width: 2.375rem; height: 2.375rem; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-size: 1.22rem; font-weight: 700;
  letter-spacing: 0.02em; color: var(--steel);
}
.brand-name em { font-style: normal; font-weight: 500; color: var(--cyan); }
.brand-sub {
  font-size: 0.54rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--steel-32); margin-top: 0.3125rem; font-weight: 500;
}

/* Nav */
.main-nav > ul { display: flex; align-items: center; gap: clamp(0.875rem, 2vw, 1.875rem); }
.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  color: var(--steel-52); padding: 1.75rem 0 1.625rem; display: inline-block; position: relative;
  transition: color 0.25s;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 1.375rem;
  width: 0; height: 1px; background: var(--cyan); transition: width 0.35s var(--ease);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible,
.main-nav > ul > li > a.active { color: var(--steel); }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a:focus-visible::after,
.main-nav > ul > li > a.active::after { width: 100%; }

.has-dropdown > a::before {
  content: ""; position: absolute; right: -0.75rem; top: 50%;
  width: 0.25rem; height: 0.25rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: 0.6;
}

.dropdown {
  position: absolute; top: calc(100% - 1.125rem); left: -0.875rem;
  min-width: 15.5rem; background: var(--elevated);
  border: 1px solid var(--line-strong); border-radius: 4px; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(0.5rem);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 0.625rem 0.875rem; font-size: 0.84rem;
  color: var(--steel-52); border-radius: 3px; transition: color 0.2s, background-color 0.2s;
}
.dropdown a:hover { color: var(--cyan); background: rgba(30,144,255,0.08); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ---------- Theme toggle ---------- */

.theme-toggle {
  width: 2.375rem; height: 2.375rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 3px;
  color: var(--steel-70); cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.theme-toggle:hover, .theme-toggle:focus-visible {
  color: var(--cyan); border-color: var(--cyan);
  background-color: rgba(30, 144, 255, 0.09); transform: translateY(-1px);
}
.theme-toggle svg { width: 1.05rem; height: 1.05rem; fill: currentColor; display: block; }
.theme-toggle .icon-moon { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.06em; font-weight: 600;
  text-transform: uppercase; padding: 0.875rem 1.75rem; border-radius: 2px;
  border: 1px solid var(--line-strong); position: relative; isolation: isolate;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap; cursor: pointer; background: transparent; color: var(--steel);
}
.btn:hover, .btn:focus-visible { border-color: var(--blue); box-shadow: 0 0 1.875rem rgba(30,144,255,0.28); }

.btn-primary {
  background: linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%);
  border-color: transparent; color: var(--btn-fg); font-weight: 700;
  box-shadow: 0 0.625rem 2.125rem -0.875rem rgba(0, 194, 255, 0.65);
}
.btn-primary:hover, .btn-primary:focus-visible {
  color: var(--btn-fg); border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 0.875rem 2.75rem -0.75rem rgba(0, 194, 255, 0.7);
}

.btn-ghost { border-color: var(--line); color: var(--steel-70); }
.btn-ghost:hover { color: var(--cyan); border-color: var(--line-strong); box-shadow: none; }

.btn-sm { padding: 0.6875rem 1.25rem; font-size: 0.72rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--cyan); transition: gap 0.3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 0.75rem; }
.link-arrow:hover::after { transform: translateX(2px); }

.link-underline {
  font-size: 0.85rem; font-weight: 600; color: var(--steel);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.link-underline:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- Mobile nav ---------- */

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 0.3125rem;
  width: 2.625rem; height: 2.625rem; background: transparent;
  border: 1px solid var(--line); border-radius: 3px; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 1.125rem; height: 1.5px; margin: 0 auto; background: var(--steel);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed;
  top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0;
  background: var(--nav-bg); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.625rem var(--gut) 2.25rem;
  transform: translateY(-0.875rem); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  z-index: 199; max-height: calc(100vh - var(--topbar-h) - var(--header-h)); overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav > ul > li > a {
  font-family: var(--display); font-size: 1.15rem; color: var(--steel);
  padding: 1rem 0; display: block;
}
.mobile-nav .sub { padding: 0 0 0.875rem 1rem; }
.mobile-nav .sub a { font-size: 0.9rem; color: var(--steel-52); padding: 0.4375rem 0; display: block; font-family: var(--body); }
.mobile-nav .btn { width: 100%; margin-top: 1.5rem; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(1.75rem); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scan-sweep, .pulse-ring { animation: none !important; }
}

/* ---------- Section shell ---------- */

.section { position: relative; z-index: 2; padding: clamp(4.5rem, 9vw, 8.25rem) 0; }
.section-tight { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-navy { background: var(--navy); }
.section-line { border-top: 1px solid var(--line); }

.section-head { max-width: 47.5rem; margin: 0 0 clamp(2.5rem, 5vw, 4.25rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 1.125rem; }
.section-head p { color: var(--steel-52); font-size: 1.02rem; }

.section-index {
  font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--steel-32); margin-bottom: 0.75rem;
}

/* ---------- Home hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(1.375rem, 3vw, 2.75rem) 0 clamp(3rem, 6vw, 5.25rem);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 70vw; height: 70vw; max-width: 56rem; max-height: 56rem;
  background: radial-gradient(circle, rgba(30,144,255,0.20), rgba(0,194,255,0.07) 40%, transparent 68%);
  filter: blur(30px);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--black) 100%);
}
.scan-sweep {
  position: absolute; left: 0; right: 0; height: 1px; top: 0;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.5), transparent);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: -0.035em; line-height: 1.0; margin-bottom: 1.625rem;
  background: linear-gradient(172deg, var(--h1-a) 0%, var(--h1-b) 52%, var(--h1-c) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 span {
  display: block;
  background: linear-gradient(96deg, var(--grad-b) 0%, var(--grad-a) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.14rem); color: var(--steel-70);
  max-width: 54ch; margin-bottom: 2.25rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.625rem; flex-wrap: wrap; margin-bottom: 3.25rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(1.25rem, 3vw, 2.875rem); justify-content: start; }
.stat { display: flex; flex-direction: column; gap: 0.375rem; }
.stat-num { font-family: var(--display); font-size: clamp(1.5rem, 2.3vw, 2rem); color: var(--steel); line-height: 1; }
.stat-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-32); }

/* Hero visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
/* No fixed aspect-ratio: the frame takes the image's own box, so the corner
   brackets, rings and (in light theme) the panel edge all align to the art. */
.hero-visual-frame {
  position: relative; width: 100%; max-width: 32.5rem;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-frame img {
  width: 100%; height: auto; position: relative; z-index: 2;
  /* Radius must be 50% so the fade actually reaches zero at the box edge. */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%);
}
.pulse-ring {
  position: absolute; inset: 12%; border: 1px solid var(--line-strong); border-radius: 50%;
  animation: pulse 5s ease-in-out infinite;
}
.pulse-ring:nth-of-type(2) { inset: 24%; animation-delay: 1.6s; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: scale(0.97); } 50% { opacity: 0.7; transform: scale(1); } }

.hero-corner { position: absolute; width: 1.625rem; height: 1.625rem; border: 1px solid var(--cyan); opacity: 0.55; z-index: 3; }
.hero-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hero-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-chip {
  position: absolute; z-index: 4;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--steel-70); background: var(--chip-bg); border: 1px solid var(--line-strong);
  padding: 0.4375rem 0.75rem; border-radius: 2px; backdrop-filter: blur(6px);
}
.hero-chip.c1 { top: 12%; left: -4%; }
.hero-chip.c2 { bottom: 20%; right: -4%; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(1.625rem, 3vw, 2.75rem) 0 clamp(1.875rem, 3.6vw, 3.25rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, var(--navy) 0%, var(--black) 100%);
}
.page-hero::before {
  content: ""; position: absolute; top: -60%; left: 52%;
  width: 55vw; height: 55vw; max-width: 43.75rem; max-height: 43.75rem;
  background: radial-gradient(circle, rgba(30,144,255,0.16), transparent 66%);
  filter: blur(30px); pointer-events: none;
}
.page-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: clamp(1.75rem, 4vw, 4rem); align-items: end;
}
.page-hero-main { max-width: 46ch; }
.page-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: -0.025em; margin-bottom: 0.875rem;
}
.page-hero p { color: var(--steel-70); font-size: 1rem; }

.page-hero-meta {
  border-left: 1px solid var(--line-strong); padding-left: 1.625rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.meta-row { display: flex; flex-direction: column; gap: 0.3125rem; }
.meta-val { font-family: var(--display); font-size: 1.35rem; color: var(--steel); line-height: 1; }
.meta-lab { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-32); }

.breadcrumb {
  display: flex; align-items: center; gap: 0.625rem; font-size: 0.72rem;
  color: var(--steel-32); margin-bottom: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.breadcrumb a { color: var(--steel-52); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--steel-32); }

/* ---------- Product / category cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.pcard {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: var(--card-bg);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pcard:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--card-shadow); }
.pcard.is-fire:hover { box-shadow: var(--card-shadow-fire); }
.pcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.pcard.is-fire::before { background: linear-gradient(90deg, transparent, var(--alert), transparent); }
.pcard:hover::before { opacity: 1; }

.pcard-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--elevated); }
.pcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: var(--media-filter);
}
.pcard:hover .pcard-media img { transform: scale(1.05); filter: var(--media-filter-hover); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: var(--media-scrim); }
.pcard-idx {
  position: absolute; top: 0.8125rem; left: 0.875rem; z-index: 2;
  font-family: var(--display); font-size: 0.64rem; letter-spacing: 0.18em; color: var(--steel-70);
  background: var(--chip-bg); border: 1px solid var(--line); border-radius: 2px;
  padding: 0.1875rem 0.5rem; backdrop-filter: blur(4px);
}

.pcard-body { padding: 1.625rem 1.625rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.pcard-tag { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 0.625rem; }
.is-fire .pcard-tag { color: var(--alert); }
.pcard h3 { font-size: 1.2rem; margin-bottom: 0.625rem; }
.pcard p { font-size: 0.9rem; color: var(--steel-52); margin-bottom: 1.125rem; }
.pcard .chips { margin-top: auto; margin-bottom: 1.125rem; }
.pcard .link-arrow { margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4375rem; }
.chips li, .chip {
  font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3125rem 0.625rem; border: 1px solid var(--line); border-radius: 1.25rem; color: var(--steel-52);
}
.is-fire .chips li { border-color: rgba(230,57,70,0.3); }

/* ---------- Split feature ---------- */

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5vw, 4.75rem); align-items: center;
}
.split.reverse .split-visual { order: -1; }

.split-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.split-visual img { width: 100%; max-width: 28.75rem; position: relative; z-index: 2; border-radius: 3px; }
.split-visual.framed img {
  border: 1px solid var(--line);
  filter: var(--framed-filter);
  transition: filter 0.55s var(--ease);
}
.split-visual.framed:hover img { filter: saturate(0.95) brightness(0.95) contrast(1); }
.split-visual.blend img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%);
}
.glow {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,0.26), transparent 68%);
  filter: blur(34px); z-index: 0;
}
.glow.cyan { background: radial-gradient(circle, rgba(0,194,255,0.24), transparent 68%); }
.glow.fire { background: radial-gradient(circle, rgba(230,57,70,0.2), transparent 68%); }

.split-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
.split-copy p { color: var(--steel-70); }

/* ---------- Layer / numbered list ---------- */

.layer-list { margin-top: 2.125rem; }
.layer {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.125rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.layer:last-child { border-bottom: 1px solid var(--line); }
.layer-idx { font-family: var(--display); font-size: 0.78rem; color: var(--blue); padding-top: 3px; }
.layer h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.layer p { font-size: 0.92rem; color: var(--steel-52); }
.layer-tags { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; }
.layer.alert .layer-idx, .layer.alert .layer-tags { color: var(--alert); }

/* ---------- Spec blocks ---------- */

.spec-block {
  padding: clamp(1.75rem, 3.4vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 16.25rem 1fr; gap: clamp(1.5rem, 4vw, 4rem);
}
.spec-block:last-child { border-bottom: 1px solid var(--line); }
.spec-head { position: relative; }
.spec-head h3 { font-size: 1.35rem; margin-bottom: 0.625rem; }
.spec-num { font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--steel-32); margin-bottom: 0.625rem; display: block; }
.spec-body p { color: var(--steel-70); font-size: 0.98rem; }
.spec-body .bullets { margin-top: 1rem; }

.bullets li {
  position: relative; padding-left: 1.25rem; margin-bottom: 0.5625rem;
  font-size: 0.93rem; color: var(--steel-52);
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.375rem; height: 1px; background: var(--cyan);
}
.bullets.two-col { columns: 2; column-gap: 2rem; }

/* ---------- Data table ---------- */

.data-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.data-table th, .data-table td { text-align: left; padding: 1rem 1.125rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.data-table th {
  font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel-32); font-weight: 600; border-bottom-color: var(--line-strong);
}
.data-table td:first-child { color: var(--cyan); font-family: var(--display); white-space: nowrap; width: 9.375rem; }
.data-table td { color: var(--steel-52); }
.data-table tr:hover td { color: var(--steel-70); background: rgba(30,144,255,0.03); }

/* ---------- Brands ---------- */

.brand-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.75rem; }
.brand-tile {
  aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; padding: 0.75rem;
  background: rgba(215,222,229,0.03);
  transition: border-color 0.3s, transform 0.3s, background-color 0.3s;
}
.brand-tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.brand-tile img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(1) brightness(1.35) contrast(0.95); opacity: 0.8;
  transition: filter 0.35s, opacity 0.35s;
}
.brand-tile:hover img { filter: none; opacity: 1; }

/* ---------- Brand marquee ---------- */

.marquee {
  position: relative; overflow: hidden; padding: 0.375rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(3rem, 6vw, 5.5rem);
  width: max-content; animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
  height: 3.25rem; width: auto; max-width: none; object-fit: contain;
  /* Source logos are dark-on-white: on the dark theme they are inverted to
     read as white marks; the light theme keeps them as-is. */
  filter: grayscale(1) invert(1) brightness(1.08) contrast(1.08);
  opacity: 0.7;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.marquee img:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Clients ---------- */

.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.75rem; }
.client-grid li {
  font-family: var(--display); font-size: 0.98rem; color: var(--steel-52);
  padding: 0.9375rem 0; border-bottom: 1px solid var(--line);
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.client-grid li:hover { color: var(--steel); padding-left: 0.5rem; }

/* ---------- Blog ---------- */

.post-list { display: grid; gap: 0; }
.post {
  display: grid; grid-template-columns: 8.125rem 1fr auto; gap: 1.75rem; align-items: start;
  padding: 1.875rem 0; border-top: 1px solid var(--line);
  transition: background-color 0.3s;
}
.post:last-child { border-bottom: 1px solid var(--line); }
.post:hover { background: rgba(30,144,255,0.03); }
.post-date { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-32); padding-top: 0.3125rem; }
.post h3 { font-size: 1.15rem; margin-bottom: 0.625rem; }
.post p { font-size: 0.9rem; color: var(--steel-52); margin: 0; }
.post-tag { align-self: center; }

/* ---------- Branch cards ---------- */

.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.branch-card {
  border: 1px solid var(--line); border-radius: 3px; padding: 2rem 1.75rem;
  background: linear-gradient(165deg, rgba(30,144,255,0.05), transparent 60%);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.branch-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.branch-tag { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 0.75rem; }
.branch-card h3 { font-size: 1.3rem; margin-bottom: 0.875rem; }
.branch-card address { font-style: normal; color: var(--steel-52); font-size: 0.92rem; margin-bottom: 1.375rem; min-height: 4.5em; }
.branch-links { display: flex; flex-direction: column; gap: 0.5625rem; }
.branch-links a { font-size: 0.85rem; font-weight: 500; color: var(--cyan); transition: color 0.25s; }
.branch-links a:hover { color: var(--steel); }

/* ---------- Inquiry form ---------- */

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-52); font-weight: 600; }
.field input, .field select, .field textarea {
  background-color: var(--elevated); border: 1px solid var(--line); border-radius: 2px;
  color: var(--steel); font-family: var(--body); font-size: 0.94rem; padding: 0.8125rem 0.9375rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background-color: rgba(30,144,255,0.06);
}
.field textarea { resize: vertical; min-height: 8.125rem; }

.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.625rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%230A78C8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9375rem center;
  background-size: 0.75rem 0.5rem;
}
.field select option { background-color: var(--elevated); color: var(--steel); }
.field select option:disabled { color: var(--steel-32); }

/* Browser autofill would otherwise repaint these fields */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill,
.field select:-webkit-autofill {
  -webkit-text-fill-color: var(--steel);
  -webkit-box-shadow: 0 0 0 1000px var(--elevated) inset;
  box-shadow: 0 0 0 1000px var(--elevated) inset;
  caret-color: var(--steel);
  transition: background-color 9999s ease-in-out 0s;
}

.form-note { font-size: 0.78rem; color: var(--steel-32); margin-top: 1rem; }

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(165deg, var(--navy), var(--black));
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 70vw; height: 40vw; background: radial-gradient(ellipse, rgba(30,144,255,0.13), transparent 68%);
  filter: blur(28px); pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 42.5rem; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.cta-inner p { color: var(--steel-52); margin-bottom: 2rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.15fr 1.6fr; gap: clamp(2.25rem, 5vw, 4.5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line); }

.footer-brand .brand { margin-bottom: 1.125rem; }
.footer-tagline { color: var(--cyan); font-size: 0.86rem; letter-spacing: 0.06em; margin-bottom: 0.875rem; }
.footer-about { color: var(--steel-52); font-size: 0.88rem; max-width: 34ch; margin-bottom: 1.375rem; }
.footer-social { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-social a {
  font-size: 0.64rem; letter-spacing: 0.08em; font-weight: 600; color: var(--steel-32);
  border: 1px solid var(--line); padding: 0.375rem 0.625rem; border-radius: 2px; transition: color 0.25s, border-color 0.25s;
}
.footer-social a:hover { color: var(--cyan); border-color: var(--line-strong); }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-32); margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 0.86rem; color: var(--steel-52); margin-bottom: 0.5625rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-col address { font-style: normal; font-size: 0.84rem; color: var(--steel-52); margin-bottom: 0.5rem; line-height: 1.6; }

.footer-statement {
  text-align: center; padding: 2.375rem 0;
  font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--steel-52);
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem 0 1.875rem; font-size: 0.78rem; color: var(--steel-32); border-top: 1px solid var(--line);
}

/* ==========================================================================
   LIGHT THEME
   Not an inversion — a separate premium light palette. Dark product renders
   keep a dark "stage" behind them, brand logos stop being inverted, and the
   glows soften into shadows.
   ========================================================================== */

[data-theme="light"] {
  --black: #F4F7FB;
  --navy: #E9EFF7;
  --elevated: #FFFFFF;

  --steel: #08111C;
  --steel-70: rgba(8, 17, 28, 0.76);
  --steel-52: rgba(8, 17, 28, 0.60);
  --steel-32: rgba(8, 17, 28, 0.45);

  --blue: #0A66C8;
  --cyan: #0A78C8;
  --alert: #C42A36;
  --grad-a: #0A66C8;
  --grad-b: #039BCD;
  --btn-fg: #FFFFFF;

  --line: rgba(10, 60, 115, 0.15);
  --line-strong: rgba(10, 60, 115, 0.30);
  --grid-line: rgba(10, 60, 115, 0.045);

  --header-bg: rgba(244, 247, 251, 0.85);
  --header-bg-2: rgba(244, 247, 251, 0.97);
  --nav-bg: rgba(255, 255, 255, 0.985);
  --chip-bg: rgba(255, 255, 255, 0.88);
  --card-bg: linear-gradient(165deg, rgba(10,102,200,0.05), rgba(255,255,255,0.92) 55%);
  --card-shadow: 0 2.125rem 4rem -1.75rem rgba(10, 40, 80, 0.28);
  --card-shadow-fire: 0 2.125rem 4rem -1.75rem rgba(196, 42, 54, 0.25);
  --media-scrim: linear-gradient(to top, rgba(255,255,255,0.35), transparent 55%),
                 linear-gradient(120deg, rgba(10,102,200,0.06), transparent 60%);
  --media-filter: saturate(0.92) brightness(0.98) contrast(1.02);
  --media-filter-hover: saturate(1.05) brightness(1.03) contrast(1);
  --framed-filter: saturate(0.95) brightness(1) contrast(1.02);
  --shadow-lg: 0 1.75rem 3.75rem -1.5rem rgba(10, 40, 80, 0.28);
  --grain-opacity: 0.022;
  --grain-blend: multiply;

  --h1-a: #060E18;
  --h1-b: #1B3350;
  --h1-c: #2E4A66;

  color-scheme: light;
}

/* The graph-paper grid reads as technical on dark but cheap on light */
[data-theme="light"] .hud-grid { display: none; }

/* Theme-paired artwork: dark cinematic renders on dark, real cut-out product
   photography on light. Both are in the markup; only one is ever shown. */
.art-light { display: none; }
[data-theme="light"] .art-dark { display: none; }
[data-theme="light"] .art-light { display: block; }

[data-theme="light"] .hero-visual-frame img,
[data-theme="light"] .split-visual.blend img {
  -webkit-mask-image: none; mask-image: none;
  filter: drop-shadow(0 1.5rem 2rem rgba(8, 28, 56, 0.18));
}
[data-theme="light"] .hero-corner,
[data-theme="light"] .pulse-ring { display: none; }
[data-theme="light"] .hero-chip { color: var(--steel-70); }

/* Brand logos are dark-on-white: on light we skip the inversion and multiply
   the white plate away instead of showing pale boxes. */
/* .marquee is masked, which isolates blending — give it the page colour so the
   multiply below has a backdrop to erase the white logo plates against. */
[data-theme="light"] .marquee { background: var(--black); }
[data-theme="light"] .marquee img {
  /* several source JPGs have off-white plates — lift them to pure white so
     multiply erases them completely, while the mark stays dark */
  filter: grayscale(1) brightness(1.12) contrast(1.45);
  opacity: 0.82;
  mix-blend-mode: multiply;
}
[data-theme="light"] .marquee img:hover { opacity: 1; }
[data-theme="light"] .brand-tile { background: transparent; }
[data-theme="light"] .brand-tile img {
  filter: grayscale(1) contrast(1.05) brightness(0.82);
  mix-blend-mode: multiply;
}

/* Softer ambient light */
[data-theme="light"] .hero-bg::before {
  background: radial-gradient(circle, rgba(10,102,200,0.14), rgba(3,155,205,0.06) 40%, transparent 68%);
}
[data-theme="light"] .page-hero::before {
  background: radial-gradient(circle, rgba(10,102,200,0.12), transparent 66%);
}
[data-theme="light"] .cta-band::before {
  background: radial-gradient(ellipse, rgba(10,102,200,0.10), transparent 68%);
}
[data-theme="light"] .glow { background: radial-gradient(circle, rgba(10,102,200,0.20), transparent 68%); }
[data-theme="light"] .glow.cyan { background: radial-gradient(circle, rgba(3,155,205,0.18), transparent 68%); }
[data-theme="light"] .glow.fire { background: radial-gradient(circle, rgba(196,42,54,0.16), transparent 68%); }
[data-theme="light"] .scan-sweep { background: linear-gradient(90deg, transparent, rgba(10,102,200,0.35), transparent); }

[data-theme="light"] .btn-primary { box-shadow: 0 0.625rem 2rem -0.875rem rgba(10, 102, 200, 0.55); }
[data-theme="light"] .btn-primary:hover { box-shadow: 0 0.875rem 2.5rem -0.75rem rgba(10, 102, 200, 0.6); }
[data-theme="light"] .btn:hover, [data-theme="light"] .btn:focus-visible { box-shadow: 0 0 1.5rem rgba(10, 102, 200, 0.22); }
[data-theme="light"] .top-bar-social a { background: rgba(10, 102, 200, 0.06); }
[data-theme="light"] .top-bar-social a:hover { box-shadow: 0 5px 16px -5px rgba(10, 102, 200, 0.55); }
[data-theme="light"] .brand-tile:hover { background: rgba(10, 60, 115, 0.06); }
[data-theme="light"] .post:hover { background: rgba(10, 102, 200, 0.04); }
[data-theme="light"] .data-table tr:hover td { background: rgba(10, 102, 200, 0.04); }
[data-theme="light"] .dropdown a:hover { background: rgba(10, 102, 200, 0.08); }
[data-theme="light"] .branch-card { background: linear-gradient(165deg, rgba(10,102,200,0.05), transparent 60%); }
[data-theme="light"] .field input:focus,
[data-theme="light"] .field select:focus,
[data-theme="light"] .field textarea:focus { background-color: rgba(10, 102, 200, 0.04); }

/* Toggle icon swap */
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle:hover { background-color: rgba(10, 102, 200, 0.09); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .brand-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 25rem; margin: 0 auto 0.75rem; }
  .hero-chip { display: none; }

  .page-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-hero-meta {
    border-left: none; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 1.25rem;
    flex-direction: row; gap: 2.25rem; flex-wrap: wrap;
  }

  .card-grid, .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse .split-visual { grid-template-columns: 1fr; order: 0; }
  .split-visual { order: -1 !important; }
  .split-visual img { max-width: 21.25rem; }
  .spec-block { grid-template-columns: 1fr; gap: 0.875rem; }
  .branch-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; gap: 0.625rem; }
  .post-tag { justify-self: start; }
}

@media (max-width: 720px) {
  :root { --header-h: 4.25rem; }
  .top-bar-contact a:not(:first-child), .top-bar-contact span { display: none; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .marquee img { height: 2.5rem; }
  .client-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .bullets.two-col { columns: 1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.875rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-underline { text-align: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.625rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .data-table td:first-child { width: auto; }
}
