/* Chemparts Middle East — design system
   Industrial precision × editorial scientific */

:root {
  /* Brand — sampled from the actual Chemparts CP logo (#35769E steel blue) */
  --navy: #35769E;          /* primary brand — exact logo blue */
  --navy-2: #4180A8;        /* slightly lighter — secondary navy */
  --navy-deep: #234D69;     /* darker — hover state, deep accents */
  --navy-darker: #18374B;   /* deepest — used for dark sections (banner, footer) */
  --navy-light: #5391BC;    /* lighter — em italics in display headings */
  --crimson: #234D69;       /* accent — deep navy variant, replaces red */
  --crimson-2: #18374B;

  /* Neutrals */
  --ink: #0E1116;
  --ink-2: #1A1F26;
  --steel: #475569;
  --steel-2: #64748B;
  --slate: #EAEEF2;
  --slate-2: #F4F6F9;
  --paper: #FAFBFC;
  --paper-2: #FFFFFF;
  --rule: #D7DDE3;
  --rule-2: #E5E9EE;

  /* Accent */
  --teal: #2B7A78;
  --blueprint: #0B3D5C;
  --highlight: #FFE36E;

  /* Type */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Fraunces", "Source Serif Pro", Georgia, serif;

  /* Spacing */
  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Theme defaults */
  --bg: var(--paper-2);
  --bg-2: var(--slate-2);
  --fg: var(--ink);
  --fg-muted: var(--steel);
  --primary: var(--navy);
  --accent: var(--crimson);
  --rule-c: var(--rule);
}

[data-theme="navy"] {
  --bg: var(--paper-2);
  --bg-2: var(--slate-2);
  --fg: var(--ink);
  --fg-muted: var(--steel);
  --primary: var(--navy);
  --accent: var(--crimson);
  --rule-c: var(--rule);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* keeps anchor targets clear of sticky header + filter bar */
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--navy); color: white; }

/* Type */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.h-display {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
@media (max-width: 380px) {
  .h-display { font-size: 32px; line-height: 1.04; }
}
.h-display em,
.h-1 em,
.h-2 em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--navy);
}
.h-1 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h-2 {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h-3 {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0;
}
.body-lg {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.num-display {
  font-family: var(--font-sans);
  font-weight: 400;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.04em;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section {
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(40px, 6vw, 96px);
  position: relative;
}
@media (max-width: 600px) {
  .section { padding-top: clamp(32px, 7vw, 56px); padding-bottom: clamp(32px, 7vw, 56px); }
}
.section--tight { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
/* First section under main gets tighter top padding so headlines sit close to header */
main > .section:first-child,
main > .hero:first-child + .section {
  padding-top: clamp(24px, 3.5vw, 56px);
}
/* Avoid double-padding between stacked sections (bottom-of-A + top-of-B compounds) */
.section + .section,
.section + hr.rule + .section,
hr.rule + .section,
.industry-bar + .section { padding-top: clamp(40px, 5vw, 64px); }
.section--slate { background: var(--bg-2); }

/* Mockup-style corner section number indicator: <section data-num="03 / 12 · sectors"> */
.section[data-num] { position: relative; }
.section[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: var(--pad);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  pointer-events: none;
  z-index: 2;
}
.section--dark[data-num]::before { color: rgba(255,255,255,0.55); }
@media (max-width: 600px) {
  .section[data-num]::before { font-size: 10px; top: 14px; }
}
.section--dark {
  background: #18374B;
  color: #E2E8EE;
}
/* Mockup-aligned: when --dark is also --strip, render compact 4-col band */
.section--strip {
  background: var(--navy);
  color: #E2E8EE;
  padding: 0 !important;
  border-block: 1px solid rgba(255,255,255,0.08);
}
.section--strip .container { padding-block: 0; max-width: 100%; padding-inline: 0; }
.section--strip .section-head { display: none; }
.section--strip .strengths-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0;
}
.section--strip .strength {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.section--strip .strength:last-child { border-right: 0; }
.section--strip .strength:nth-child(n+5) { border-top: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 920px) {
  .section--strip .strengths-grid { grid-template-columns: 1fr 1fr; }
  .section--strip .strength:nth-child(2n) { border-right: 0; }
  .section--strip .strength:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 600px) {
  .section--strip .strengths-grid { grid-template-columns: 1fr; }
  .section--strip .strength,
  .section--strip .strength:nth-child(2n) { border-right: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .section--strip .strength:first-child { border-top: 0; }
}
.section--strip .strength__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.section--strip .strength__title {
  font-size: 17px;
  font-weight: 500;
  color: white;
  letter-spacing: -0.005em;
  margin: 0;
}
.section--strip .strength__desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.section--dark .eyebrow,
.section--dark .section-head__sub,
.section--dark .body-lg { color: rgba(255,255,255,0.62); }
.section--dark .h-1,
.section--dark .h-2,
.section--dark .h-display,
.section--dark h2,
.section--dark h3 { color: #FFFFFF; }
.section--dark .h-display em,
.section--dark .h-1 em,
.section--dark .h-2 em { color: #80B6D6; }
.section--dark .testimonial {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.section--dark .testimonial:hover { border-color: rgba(255,255,255,0.30); box-shadow: 0 16px 40px -22px rgba(0,0,0,0.4); }
.section--dark .testimonial blockquote { color: #FFFFFF; }
.section--dark .testimonial figcaption { border-top-color: rgba(255,255,255,0.10); }
.section--dark .testimonial figcaption strong { color: #FFFFFF; }
.section--dark .testimonial figcaption .mono { color: rgba(255,255,255,0.55); }
.section--dark .testimonial__quote { color: #80B6D6; opacity: 0.7; }

.rule { height: 1px; background: var(--rule-c); border: 0; margin: 0; }
.section--dark + .rule,
.rule + .section--dark { display: none; }

/* Custom scrollbar — premium B2B feel */
@supports (scrollbar-color: red red) {
  html { scrollbar-color: var(--navy) var(--slate-2); scrollbar-width: thin; }
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: var(--slate-2); }
*::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 999px; border: 2px solid var(--slate-2); }
*::-webkit-scrollbar-thumb:hover { background: var(--navy-deep); }

/* Tap feedback — applies to all interactive elements on press */
.btn,
.card,
.industry-card,
.brand-card,
.testimonial,
.cert-badge,
.menu-toggle,
.industry-chip,
.tab,
.brand-strip__logos button,
.products-sidebar button {
  transition-property: background, color, border-color, transform, box-shadow;
  transition-duration: 200ms;
  transition-timing-function: var(--ease);
}
.btn:active,
.card:active,
.industry-card:active,
.brand-card:active,
.testimonial:active,
.cert-badge:active,
.industry-chip:active,
.brand-strip__logos button:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 2px;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 20px -8px rgba(53, 118, 158, 0.45); }
.btn.menu-toggle:hover,
.btn.menu-toggle { background: transparent; box-shadow: none; transform: none; }
.btn.menu-toggle[aria-expanded="true"] { background: transparent; }
.btn .arrow { transition: transform 250ms var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: white; }
.btn--primary:hover { background: var(--navy-deep); }
.btn--accent { background: var(--crimson); color: white; }
.btn--accent:hover { background: var(--crimson-2); }
.btn--whatsapp {
  background: #25D366;
  color: white;
}
.btn--whatsapp:hover { background: #1FB855; color: white; }
.btn--whatsapp svg.wa-icon { width: 16px; height: 16px; }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule-c);
}
.btn--ghost:hover { background: var(--bg-2); border-color: var(--fg); }
.site-footer .btn--ghost {
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.site-footer .btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: white;
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule-c);
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.site-header[data-scrolled="true"] {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 3px rgba(53, 118, 158, 0.05);
}
/* Mockup-aligned topticker: dark navy bar with live indicator + scrolling activity */
.site-header__top {
  display: flex;
  align-items: center;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy-darker);
  color: #B8C7D6;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 var(--pad);
  gap: 28px;
  overflow: hidden;
  white-space: nowrap;
}
.topticker__live { display: none; }
.topticker__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 0 rgba(200,16,46,0.7);
  animation: topticker-pulse 1.6s ease-out infinite;
}
.topticker__scroll {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.topticker__scroll-track {
  display: inline-flex;
  gap: 36px;
  animation: tickscroll 60s linear infinite;
}
.topticker__scroll-track span { display: inline-block; }
.topticker__scroll-track span::before {
  content: "› ";
  color: var(--crimson);
  margin-right: 6px;
  font-weight: 600;
}
.topticker__scroll:hover .topticker__scroll-track { animation-play-state: paused; }
.topticker__right {
  color: rgba(255,255,255,0.55);
  font-size: 10.5px;
  flex-shrink: 0;
}
@keyframes topticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,16,46,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}
@keyframes tickscroll { to { transform: translateX(-50%); } }
@media (max-width: 920px) {
  .topticker__right { display: none; }
}
/* Topticker always scrolls — slows for reduced-motion but still moves */
@media (prefers-reduced-motion: reduce) {
  .topticker__scroll-track { animation-duration: 120s; }
}
.site-header__top a { color: inherit; }
.site-header__top a:hover { color: var(--navy); }
.site-header__top .dot { color: var(--rule); margin: 0 10px; }
.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--pad);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand__logo {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand__name strong {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand__name em,
.brand__name-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
  font-style: normal;
}

/* Alternating wordmark — both legal names in DOM (SEO + a11y),
   CSS crossfade swaps which is visible. */
.brand__name-flip {
  display: inline-grid;
  grid-template-areas: "stack";
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
  vertical-align: bottom;
  line-height: 1;
  /* Reserve space for the longer name to prevent layout shift */
  min-width: 195px;
}
@media (max-width: 920px) {
  .brand__name-flip { min-width: 0; font-size: 8.5px; letter-spacing: 0.1em; }
}
@media (max-width: 540px) {
  /* On small mobile drop the second (longer) name to avoid overflow */
  .brand__name-flip__opt:nth-child(2) { display: none; }
  .brand__name-flip__opt:nth-child(1) { animation: none !important; opacity: 1 !important; transform: none !important; }
}
.brand__name-flip__opt {
  grid-area: stack;
  white-space: nowrap;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.brand__name-flip__opt:nth-child(1) { animation-name: brand-flip-a; }
.brand__name-flip__opt:nth-child(2) { animation-name: brand-flip-b; }

/* Name 1 (Middle East FZC) visible 0–45%, hidden 50–95%, back to visible at 100% */
@keyframes brand-flip-a {
  0%, 42%   { opacity: 1; transform: translateY(0); }
  50%, 92%  { opacity: 0; transform: translateY(-4px); }
  100%      { opacity: 1; transform: translateY(0); }
}
/* Name 2 (Medical & Laboratory Supplies) inverse — visible 50–92% */
@keyframes brand-flip-b {
  0%, 42%   { opacity: 0; transform: translateY(4px); }
  50%, 92%  { opacity: 1; transform: translateY(0); }
  100%      { opacity: 0; transform: translateY(4px); }
}
/* Brand-name flip always runs (slower for reduced-motion) */
@media (prefers-reduced-motion: reduce) {
  .brand__name-flip__opt { animation-duration: 14s; }
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  border-radius: 2px;
  position: relative;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--slate-2); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--rule-c);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  flex: 0 0 18px;
  background: var(--ink);
  position: relative;
  transition: background 180ms var(--ease);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ===== PAGE PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: grid;
  place-items: center;
  transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
}
.preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__mark {
  width: 100px;
  height: 100px;
  position: relative;
  animation: preload-pulse 1.4s ease-in-out infinite;
}
.preloader__mark svg { width: 100%; height: 100%; }
.preloader__bar {
  position: absolute;
  bottom: clamp(40px, 6vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 30vw, 320px);
  height: 1px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}
.preloader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transform-origin: left;
  animation: preload-bar 1.4s ease-in-out infinite;
}
.preloader__label {
  position: absolute;
  bottom: clamp(20px, 4vh, 50px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
@keyframes preload-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.95); opacity: 0.7; }
}
@keyframes preload-bar {
  0%   { transform: scaleX(0); transform-origin: left; }
  50%  { transform: scaleX(1); transform-origin: left; }
  51%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__mark, .preloader__bar::after { animation: none; }
}

/* ===== 3D card depth effects ===== */
.industries-grid,
.capabilities,
.brand-cards,
.products-page-grid,
.products-grid {
  perspective: 1400px;
}
.industry-card,
.capability,
.brand-card,
.card {
  transform-style: preserve-3d;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
              background 250ms var(--ease),
              box-shadow 350ms var(--ease),
              border-color 250ms var(--ease);
  will-change: transform;
}
@media (hover: hover) {
  .capability:hover {
    transform: translateY(-4px) rotateX(2deg);
    box-shadow: 0 22px 50px -22px rgba(35, 77, 105, 0.35);
  }
  .brand-card:hover {
    transform: translateY(-3px) rotateY(0.6deg);
    box-shadow: 0 18px 44px -22px rgba(35, 77, 105, 0.3);
  }
  .card:hover {
    transform: translateY(-3px) rotateX(1.5deg);
    box-shadow: 0 18px 44px -22px rgba(35, 77, 105, 0.3);
  }
  .industry-card:not(:first-child):hover {
    transform: translateZ(0) scale(1.02);
    z-index: 2;
  }
  .academic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px -20px rgba(35, 77, 105, 0.28);
  }
}
@media (prefers-reduced-motion: reduce) {
  .industry-card, .capability, .brand-card, .card, .academic-card {
    transform: none !important; transition: background 250ms var(--ease) !important;
  }
}

/* ===== Hero Ken-Burns slow zoom on background ===== */
.hero-banner .banner-section__bg {
  animation: kenburns 24s ease-in-out infinite alternate;
  transform-origin: center 40%;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12) translate(-1.5%, -0.8%); }
}

/* ===== Hero word-by-word reveal — runs once on page load ===== */
.hero-banner__title { display: block; }
.hero-banner__title .word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.6em);
  animation: hero-word-in 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  margin-right: 0.18em;
}
.hero-banner__title .word:nth-child(1) { animation-delay: 350ms; }
.hero-banner__title .word:nth-child(2) { animation-delay: 450ms; }
.hero-banner__title .word:nth-child(3) { animation-delay: 530ms; }
.hero-banner__title .word:nth-child(4) { animation-delay: 620ms; }
.hero-banner__title .word:nth-child(5) { animation-delay: 750ms; }
.hero-banner__title .word:nth-child(6) { animation-delay: 880ms; }
.hero-banner__title .word:nth-child(7) { animation-delay: 970ms; }
.hero-banner__title .word:nth-child(8) { animation-delay: 1060ms; }
@keyframes hero-word-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Eyebrow with pulsing dot */
.hero-banner__eyebrow { color: rgba(255,255,255,0.78) !important; }
.hero-banner__eyebrow::before { background: rgba(255,255,255,0.5) !important; }
.hero-banner__pulse {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--crimson);
  margin-right: 6px;
  position: relative;
  animation: hero-pulse-dot 2s ease-out infinite;
}
.hero-banner__pulse::before {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0.4;
  animation: hero-pulse-ring 2s ease-out infinite;
}
@keyframes hero-pulse-dot {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(0.85); }
}
@keyframes hero-pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Lede + CTA + stats fade in after headline */
.hero-banner__lede {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-fade-in 800ms ease-out 1500ms forwards;
}
.hero-banner__fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-fade-in 800ms ease-out forwards;
}
.hero-banner__cta.hero-banner__fade-in { animation-delay: 1700ms; }
.banner-section__stats.hero-banner__fade-in { animation-delay: 1900ms; }
@keyframes hero-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Decorative animated horizontal lines (echoing the chromatogram theme) */
.hero-banner__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-banner__line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0.15) 70%, transparent);
  animation: hero-line-slide 18s linear infinite;
}
.hero-banner__line--1 { top: 18%; animation-duration: 22s; }
.hero-banner__line--2 { top: 52%; animation-duration: 26s; animation-direction: reverse; }
.hero-banner__line--3 { top: 78%; animation-duration: 20s; }
@keyframes hero-line-slide {
  from { transform: translateX(-30%); }
  to   { transform: translateX(30%); }
}

/* Scroll-down indicator */
.hero-banner__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  z-index: 4;
  opacity: 0;
  animation: hero-fade-in 1000ms ease-out 2200ms forwards;
}
.hero-banner__scroll:hover { color: white; }
.hero-banner__scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.0), rgba(255,255,255,0.7));
  animation: hero-scroll-pulse 2s ease-in-out infinite;
}
@keyframes hero-scroll-pulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* Hero animations always play (overrides system reduced-motion).
   Set very long durations to remain accessibility-friendly. */
@media (prefers-reduced-motion: reduce) {
  .hero-banner .banner-section__bg { animation-duration: 90s; }
  .hero-banner__line { animation-duration: 60s; }
  .hero-banner__pulse,
  .hero-banner__pulse::before { animation-duration: 4s; }
  /* word-by-word and fade-in still play normally so user sees the hero come alive */
}

/* Body scroll lock when mobile nav or modal is open */
html.nav-locked,
html.nav-locked body,
html.modal-locked,
html.modal-locked body { overflow: hidden; touch-action: none; }

/* Clip oversized hero kinetic text only at the hero scope — keeps body free of
   overflow:hidden which would break position:sticky on the header */
.hero { overflow-x: clip; }
@supports not (overflow-x: clip) { .hero { overflow: hidden; } }

@media (max-width: 920px) {
  .nav { display: none; }
  /* Keep topticker visible on mobile but hide the right-side cert text */
  .site-header__top { font-size: 10.5px; padding: 0 14px; gap: 14px; }
  .topticker__right { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn:not(.menu-toggle) { display: none; }
  .nav[data-open="true"] {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    background: var(--paper-2) !important;
    flex-direction: column;
    align-items: stretch;
    padding: 88px var(--pad) calc(40px + env(safe-area-inset-bottom));
    z-index: 200 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: navSlide 220ms var(--ease);
    gap: 0;
  }
  .nav[data-open="true"]::before {
    content: "— NAVIGATE";
    display: block;
    padding: 0 4px 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--steel);
  }
  .nav[data-open="true"] a {
    height: 56px;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid var(--rule-c);
    padding: 0 4px;
    background: transparent;
    border-radius: 0;
    justify-content: space-between;
  }
  .nav[data-open="true"] a::after { display: none; }
  .nav[data-open="true"] a[aria-current="page"] { color: var(--crimson); }
  /* In-menu CTA block (built via ::after on the nav itself, decorative — real buttons are in HTML) */
  .nav[data-open="true"]::before {
    content: "— NAVIGATE";
    display: block;
    padding: 14px 4px 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
  }
  .nav__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--rule-c);
  }
  .nav__cta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 4px;
  }
  .nav__cta .btn {
    height: 52px;
    width: 100%;
    justify-content: space-between;
    padding: 0 18px;
    border-radius: 2px;
  }
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
/* In-nav CTA: only visible inside the open mobile menu */
.nav__cta { display: none; }
@media (max-width: 920px) {
  .nav[data-open="true"] .nav__cta { display: flex; }
}

/* Sticky bottom CTA bar (mobile only) */
.mobile-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-top: 1px solid var(--rule-c);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  gap: 10px;
  transform: translateY(110%);
  transition: transform 320ms var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn {
  flex: 1;
  height: 48px;
  font-size: 14px;
  justify-content: center;
  padding: 0 16px;
}
@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  /* Reserve bottom space only while the sticky bar is actually visible,
     otherwise it leaves a blank gap below the footer. */
  body:has(.mobile-bar.is-visible) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .site-footer__bottom { padding-bottom: 12px; }
}

/* Smaller phones: brand lockup tightens but stays visible */
@media (max-width: 540px) {
  .brand__name strong { font-size: 13px; }
  .brand__name-flip { font-size: 8px; min-width: 0; }
  .brand__name-flip__opt:nth-child(2) { display: none; }
  .brand__name-flip__opt:nth-child(1) { animation: none; opacity: 1; transform: none; }
  .brand__logo { height: 30px; }
  .site-header__main { padding: 0 14px; gap: 10px; height: 60px; }
}
@media (max-width: 360px) {
  .brand__name strong { font-size: 12px; }
  .brand__name-flip { font-size: 7.5px; }
}

/* Footer — deep variant of the logo blue + crimson accents */
.site-footer {
  background: #14334A;
  color: #B8C7D6;
  padding: clamp(48px, 6vw, 80px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
}
.site-footer__cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: end;
}
.site-footer__cta h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: white;
  margin: 0;
  text-wrap: balance;
}
.site-footer__cta h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: #5391BC;
}
.site-footer__cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.site-footer__cta h2 { line-height: 1.05; }
.site-footer__cta-actions .btn { justify-content: space-between; }
.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(32px, 4vw, 48px) 0;
}
.site-footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFD3DA;
  margin: 0 0 18px;
  font-weight: 500;
  padding-left: 10px;
  border-left: 2px solid var(--crimson);
}
.site-footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__cols a:hover { color: white; }
.site-footer__cols p { font-size: 14px; line-height: 1.55; margin: 0 0 12px; color: #C7CCD4; }
.site-footer__cols address { font-style: normal; font-size: 13px; line-height: 1.6; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7588;
  letter-spacing: 0.04em;
  padding-top: 24px;
}
@media (max-width: 800px) {
  .site-footer__cta { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Custom checkbox for sidebar filters */
.checkbox-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--rule-c);
  border-radius: 2px;
  background: white;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.checkbox-list input[type="checkbox"]::before {
  content: "";
  width: 10px; height: 10px;
  background: white;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
  transition: transform 150ms var(--ease);
}
.checkbox-list input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}
.checkbox-list input[type="checkbox"]:checked::before { transform: scale(1); }
.checkbox-list input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}
.checkbox-list label:hover { color: var(--navy); }

/* Card */
.card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--rule-c);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(53, 118, 158, 0.18);
}
.card:hover .card__arrow { transform: translate(2px, -2px); }
.card:hover .card__title { color: var(--navy); }
.card__media {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--slate-2);
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
}
.card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 400ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__media .pill { position: absolute; top: 12px; left: 12px; }
.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--rule-c);
  flex: 1;
}
.card__brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.card__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  transition: color 200ms var(--ease);
}
.card__desc {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px dashed var(--rule-c);
}
.card__arrow {
  transition: transform 250ms var(--ease);
  color: var(--ink);
}

/* Blueprint grid bg */
.blueprint-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(53, 118, 158, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53, 118, 158, 0.05)  1px, transparent 1px);
  background-size: 56px 48px;
  background-position: 28px 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Tick markers */
.tick-row {
  display: flex;
  height: 12px;
  align-items: end;
  gap: 7px;
  overflow: hidden;
  margin-bottom: 24px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1100ms var(--ease);
  will-change: clip-path;
}
.tick-row[data-shown="true"],
[data-shown="true"] .tick-row,
[data-shown="true"] + .tick-row,
.section-head + .tick-row { clip-path: inset(0 0 0 0); }
/* Fallback: if no IntersectionObserver shown state, show fully */
@media (prefers-reduced-motion: reduce) {
  .tick-row { clip-path: none; transition: none; }
}
.tick-row span {
  display: block;
  flex: 0 0 1px;
  background: var(--rule-c);
  height: 6px;
}
.tick-row span:nth-child(5n+1) {
  height: 12px;
  background: var(--steel);
}

/* Section header.
   Two-column layout: large headline on the left, supporting line on the
   right. `minmax(0, ...)` keeps the title column from being pushed wider
   than its share by long headlines, and reserves a minimum 220px for
   the right column so the supporting line never visually crashes into
   the wrapped headline. Stacks at 920px for a calmer narrow layout. */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  align-items: end;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 14px;
  margin-bottom: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  min-width: 0;
}
.section-head__sub {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 44ch;
  margin: 0 0 6px;
  min-width: 0;
}
@media (max-width: 920px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 14px;
  }
  .section-head__sub { margin-bottom: 0; max-width: 60ch; }
}

/* Marquee */
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 35s linear infinite;
  align-items: center;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 45s;
}
.marquee--clients .marquee__track { animation-duration: 30s; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
/* Marquee logos — uniform frames so mixed-aspect logos look consistent */
.marquee img {
  width: 120px;
  height: 56px;
  object-fit: contain;
  padding: 4px 12px;
  filter: grayscale(1) opacity(0.6);
  transition: filter 250ms var(--ease), opacity 250ms var(--ease);
  background: transparent;
}
.marquee img:hover { filter: grayscale(0) opacity(1); }
.marquee--clients img { width: 110px; height: 44px; opacity: 0.65; }
.marquee__track { gap: 12px; }

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Empty state for products page */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 48px 32px;
  border: 1px dashed var(--rule-c);
  background: var(--slate-2);
}
.empty-state h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.empty-state p { margin: 0; color: var(--steel); }

/* Skip to content */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  z-index: 999;
  transition: top 200ms var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }

/* Reveal on scroll */
/* Staggered reveal: container with [data-stagger] hides children, then JS adds .is-staggered to fade them in one-by-one */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: calc(var(--stagger-i, 0) * 70ms);
}
[data-stagger].is-staggered > * { opacity: 1; transform: translateY(0); }

/* Image scale-in on reveal — applies to figures/photos that have data-reveal */
figure[data-reveal] img,
[data-reveal-scale] img {
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms var(--ease);
  transform: scale(1.06);
  opacity: 0.85;
  will-change: transform;
}
figure[data-reveal][data-shown="true"] img,
[data-reveal-scale][data-shown="true"] img {
  transform: scale(1);
  opacity: 1;
}

/* Slide-from-side — alternating cards inside grids that opt-in via [data-slide-alt] */
[data-slide-alt] > *:nth-child(odd) {
  opacity: 0; transform: translateX(-24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-slide-alt] > *:nth-child(even) {
  opacity: 0; transform: translateX(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-slide-alt].is-staggered > *,
[data-slide-alt][data-shown="true"] > * {
  opacity: 1; transform: translateX(0);
}

/* Sticky-fade headlines — h-1 inside a [data-headline-rise] container slides up on enter */
[data-headline-rise] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
[data-headline-rise][data-shown="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* Section-head auto-reveal: applies to .section-head as it enters viewport */
.section-head { transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.section-head:not([data-shown="true"]) {
  opacity: 0;
  transform: translateY(20px);
}
[data-shown="true"] > .section-head,
.section-head[data-shown="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* Card grid: each child fades + lifts in sequence (subtle chevron) */
[data-cards-rise] > * {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--rise-i, 0) * 90ms);
}
[data-cards-rise].is-staggered > * { opacity: 1; transform: translateY(0) scale(1); }

/* Section-on-enter: fade-in + slight scale to feel "alive" */
.section[data-reveal-section] {
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
}
.section[data-reveal-section][data-shown="true"] {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .section-head,
  [data-cards-rise] > *,
  .section[data-reveal-section] {
    opacity: 1; transform: none; transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-stagger] > *,
  figure[data-reveal] img,
  [data-reveal-scale] img,
  [data-slide-alt] > *,
  [data-headline-rise] {
    opacity: 1; transform: none; transition: none;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal][data-shown="true"] {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  /* Marquees still move (slower) so visual still feels alive */
  .marquee__track { animation-duration: 120s !important; }
  .marquee--reverse .marquee__track { animation-duration: 150s !important; }
  /* Kinetic parallax still off (could trigger vestibular issues) */
  .kinetic { transform: none !important; }
  /* data-reveal still animates (subtle fade-up not vestibular) */
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--rule-c);
  gap: 0;
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.tab-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.05em;
}
.tabpanel { display: block; }
.tabpanel[hidden] { display: none; }

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--rule-c);
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--steel);
  background: var(--paper-2);
  text-transform: uppercase;
  font-weight: 500;
}
.pill--accent {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.pill--crimson {
  background: #FFE9EC;
  color: var(--crimson);
  border-color: #FFD2D8;
}

/* Coordinate label */
.coord {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
/* Mockup-aligned: hero coord pinned top-right of hero */
.hero .coord {
  position: absolute;
  top: 20px;
  right: var(--pad);
  z-index: 5;
  margin-bottom: 0;
  gap: 18px;
}
@media (max-width: 768px) {
  .hero .coord { position: static; right: auto; top: auto; margin-bottom: 16px; gap: 12px; }
}
.coord span:first-child {
  color: var(--crimson);
  font-weight: 600;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}
.modal-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper-2);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--rule-c);
  position: relative;
  transform: translateY(8px);
  transition: transform 280ms var(--ease);
}
.modal-backdrop[data-open="true"] .modal { transform: translateY(0); }
.modal__head {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal__close {
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--rule-c);
  border-radius: 2px;
  display: grid;
  place-items: center;
}
.modal__close:hover { border-color: var(--ink); }
.modal__body { padding: 24px; display: grid; gap: 16px; }
.modal__body h3 { margin: 0 0 4px; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.modal__body .lede { font-size: 14px; color: var(--steel); margin: 0; }
.modal__body .actions { display: flex; gap: 8px; padding-top: 8px; }

/* Industry filter strip */
.industry-bar {
  position: sticky;
  top: 105px;
  z-index: 50;
  background: white;
  border-top: 1px solid var(--rule-c);
  border-bottom: 1px solid var(--rule-c);
}
.industry-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 14px;
  background: linear-gradient(to bottom, rgba(15, 22, 36, 0.07), transparent);
  pointer-events: none;
}
/* Push content below filter bar away from being half-covered when scrolling */
.industry-bar + .section { scroll-margin-top: 170px; }
.industry-bar + .section > .container > * { scroll-margin-top: 170px; }
@media (max-width: 920px) {
  .industry-bar { top: 73px; }
}
.industry-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--pad);
}
.industry-bar__inner::-webkit-scrollbar { display: none; }
.industry-bar__label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-right: 4px;
}
.industry-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--rule-c);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: white;
  min-height: 34px;
  cursor: pointer;
  transition: all 200ms var(--ease);
  font-family: inherit;
  white-space: nowrap;
}
.industry-chip:hover { border-color: var(--ink); }
.industry-chip[aria-pressed="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.industry-chip__count {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.6;
}

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.field input,
.field textarea,
.field select {
  height: 44px;
  border: 1px solid var(--rule-c);
  background: white;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  border-radius: 2px;
  transition: border 200ms var(--ease);
}
.field textarea { height: auto; padding: 14px; resize: vertical; min-height: 100px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(53, 118, 158, 0.12);
}
.field input:invalid:not(:placeholder-shown):not(:focus),
.field textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(200, 16, 46, 0.5);
}
.field input[readonly] { background: var(--slate-2); color: var(--steel); }
.honeypot { position: absolute; left: -9999px; }

/* ========== HOMEPAGE HERO ========== */
.hero {
  position: relative;
  padding: clamp(24px, 3.5vw, 56px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--rule-c);
  isolation: isolate;
}

/* Animated instrument-trace backdrop */
.hero-scope {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 32%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
}
@media (max-width: 720px) {
  /* On mobile keep the trace but compact and aligned */
  .hero-scope { height: 22%; opacity: 0.20; }
}
@media (max-width: 768px) {
  .industry-chip { height: 44px; min-height: 44px; padding: 0 16px; font-size: 14px; }
}
.hero-scope__trace {
  stroke-dasharray: 30 6000;
  animation: scope-trace 16s linear infinite;
}
.hero-scope__trace--b {
  animation-duration: 22s;
  animation-direction: reverse;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scope__trace { animation: none; stroke-dasharray: none; opacity: 0.3; }
}
.hero-scope__trace--b {
  animation-duration: 22s;
  animation-direction: reverse;
}
@keyframes scope-trace {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -3200; }
}
.hero-scope__pts circle {
  transform-origin: center;
  transform-box: fill-box;
  animation: scope-pulse 3.6s ease-in-out infinite;
}
.hero-scope__pts circle:nth-child(2) { animation-delay: 0.6s; }
.hero-scope__pts circle:nth-child(3) { animation-delay: 1.2s; }
.hero-scope__pts circle:nth-child(4) { animation-delay: 1.8s; }
@keyframes scope-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50%      { opacity: 1;    transform: scale(1.6); }
}

/* Slow scanning beam across the hero */
.hero-scan {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(53, 118, 158, 0.35) 30%,
    rgba(200, 16, 46, 0.25) 60%,
    transparent 100%);
  box-shadow: 0 0 24px 4px rgba(53, 118, 158, 0.18);
  animation: hero-scan 14s linear infinite;
  left: 0;
}
@keyframes hero-scan {
  0%   { left: -2%;  opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

/* Live indicator */
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}
.hero__live .mono {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.hero__live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: live-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scope__trace,
  .hero-scope__pts circle,
  .hero-scan,
  .hero__live-dot { animation: none !important; }
  .hero-scan { display: none; }
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.hero__feature {
  /* No card chrome — let the product float on the page. */
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  perspective: 1400px;
  position: relative;
  z-index: 3;
}
/* corner crosshairs as subtle compositional guides */
/* Mockup-style offset shadow background behind feature card */
.hero__feature {
  background: var(--paper-2);
  border: 1px solid var(--rule-c);
  padding: 16px;
  box-shadow: 6px 6px 0 0 var(--slate-2), 6px 6px 0 1px var(--rule-c);
}
@media (max-width: 920px) {
  .hero__feature { box-shadow: 4px 4px 0 0 var(--slate-2), 4px 4px 0 1px var(--rule-c); padding: 14px; }
}
.hero__feature::before,
.hero__feature::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--rule-c);
  pointer-events: none;
}
.hero__feature::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.hero__feature::after  { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.hero__feature-img {
  aspect-ratio: 1/1;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 24px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
/* radial spotlight behind the product */
.hero__feature-img::before {
  content: "";
  position: absolute;
  inset: 6% 6% 14% 6%;
  background: radial-gradient(ellipse at 50% 40%, rgba(53, 118, 158, 0.18) 0%, rgba(53, 118, 158, 0) 60%);
  z-index: 0;
  pointer-events: none;
}
/* floor shadow under the product */
.hero__feature-img::after {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 18%;
  right: 18%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(10, 37, 64, 0.32) 0%, rgba(10, 37, 64, 0) 70%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
  transform: translateZ(-40px);
  animation: hero-shadow 6s ease-in-out infinite;
}
.hero__feature-img img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(10, 37, 64, 0.22)) drop-shadow(0 6px 8px rgba(10, 37, 64, 0.12));
  animation: hero-float 6s ease-in-out infinite;
  transition: opacity 280ms var(--ease), transform 250ms var(--ease);
  transform-style: preserve-3d;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0)    rotateZ(0deg); }
  50%      { transform: translateY(-10px) rotateZ(0.5deg); }
}
@keyframes hero-shadow {
  0%, 100% { transform: translateZ(-40px) scaleX(1); opacity: 1; }
  50%      { transform: translateZ(-40px) scaleX(0.86); opacity: 0.7; }
}
.hero__feature-progress {
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
  margin-top: 14px;
  opacity: 0.8;
}
.hero__feature-meta {
  padding: 14px 0 0;
  border-top: 1px solid var(--rule-c);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.hero__feature-meta strong { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.hero__feature .spec-table { background: transparent; }
.hero__feature .spec-table th,
.hero__feature .spec-table td { padding: 10px 0; }
.hero__feature .spec-table tr { border-top-color: var(--rule-c); }
.hero__feature .spec-table tr:first-child { border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero__feature-img img,
  .hero__feature-img::after { animation: none !important; }
}
.spec-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.spec-table tr { border-top: 1px solid var(--rule-c); }
.spec-table tr:first-child { border-top: 0; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 20px; vertical-align: top; }
.spec-table th { color: var(--navy); text-transform: uppercase; width: 38%; font-weight: 500; }
.spec-table td { color: var(--ink); }

.kinetic {
  position: absolute;
  bottom: -2vw;
  left: -2vw;
  font-family: var(--font-sans);
  font-size: 22vw;
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-c);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  user-select: none;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(32px, 4.5vw, 56px);
  border-top: 1px solid var(--rule-c);
  border-bottom: 1px solid var(--rule-c);
  position: relative;
  z-index: 3;
  background: var(--paper-2);
}
.hero__stat {
  padding: 24px 20px;
  border-left: 1px solid var(--rule-c);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__stat:first-child { border-left: 0; }
.hero__stat .num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.hero__stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(3) { border-left: 0; }
  .hero__stat:nth-child(3), .hero__stat:nth-child(4) { border-top: 1px solid var(--rule-c); }
  .kinetic { font-size: 32vw; }
}

/* ========== HERO ENHANCEMENTS ========== */
/* Floating molecule decorations */
.hero-molecules {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  color: var(--navy);
}
.hero-molecule {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.18;
  will-change: transform;
}
.hero-molecule--1 { top: 14%;  right: 6%;  animation: drift-a 18s ease-in-out infinite; }
.hero-molecule--2 { top: 48%;  left: 4%;   animation: drift-b 22s ease-in-out infinite; width: 64px; height: 64px; }
.hero-molecule--3 { top: 70%;  right: 12%; animation: drift-c 26s ease-in-out infinite; width: 72px; height: 72px; opacity: 0.14; }
@keyframes drift-a {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%     { transform: translate(-22px, 18px) rotate(60deg); }
}
@keyframes drift-b {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%     { transform: translate(28px, -16px) rotate(-45deg); }
}
@keyframes drift-c {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%     { transform: translate(-18px, -22px) rotate(80deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-molecule { animation: none; }
}

/* Word-by-word headline reveal */
.hero__title { display: block; }
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  margin-right: 0.2em;
}
.hero__title.is-revealed .word { opacity: 1; transform: translateY(0) rotate(0); }
.hero__title .word:nth-child(1) { transition-delay: 80ms; }
.hero__title .word:nth-child(2) { transition-delay: 200ms; }
.hero__title .word:nth-child(3) { transition-delay: 320ms; }
.hero__title .word:nth-child(4) { transition-delay: 440ms; }
.hero__title .word:nth-child(5) { transition-delay: 560ms; }
.hero__title .word:nth-child(6) { transition-delay: 680ms; }
.hero__title .word:nth-child(7) { transition-delay: 800ms; }
.hero__title .word:nth-child(8) { transition-delay: 920ms; }
@media (prefers-reduced-motion: reduce) {
  .hero__title .word { opacity: 1; transform: none; transition: none; }
}

/* Eyebrow with pulsing dot */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--crimson);
  border-radius: 50%;
  position: relative;
}
.hero__eyebrow-dot::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0.4;
  animation: hero-eyebrow-pulse 2s ease-out infinite;
}
@keyframes hero-eyebrow-pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

/* Hero lede — slightly larger, bold accent */
.hero__lede strong { color: var(--ink); font-weight: 600; }

/* Bigger CTA */
.btn--lg {
  height: 56px;
  padding: 0 26px;
  font-size: 15px;
}
.hero__cta { gap: 14px; }

/* Trust strip with mini partner logos */
.hero__trust {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-c);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__trust-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
}
.hero__trust-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.hero__trust-logos img {
  height: 22px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  padding: 0 16px;
  filter: grayscale(1) opacity(0.55);
  transition: filter 250ms var(--ease);
  border-right: 1px solid var(--rule-c);
}
.hero__trust-logos img:first-child { padding-left: 0; }
.hero__trust-logos img:hover { filter: grayscale(0) opacity(1); }
.hero__trust-more {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.04em;
  padding-left: 16px;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .hero__trust-logos img:nth-child(n+4) { display: none; }
}

/* Featured product card — 3D tilt + glow */
.hero__feature {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease);
  perspective: 1400px;
}
.hero__feature[data-tilt-active] {
  transition: none;
}
.hero__feature-glow {
  position: absolute;
  inset: -10% -8% -2%;
  background: radial-gradient(ellipse at 50% 60%, rgba(53, 118, 158, 0.20) 0%, rgba(53, 118, 158, 0) 60%);
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}
.hero__feature-img {
  position: relative;
  z-index: 1;
}
.hero__feature-meta,
.hero__feature .spec-table,
.hero__feature-progress {
  position: relative;
  z-index: 2;
}
.hero__feature-badge {
  position: absolute;
  top: -12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  background: white;
  border: 1px solid var(--rule-c);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 2px 8px -2px rgba(10, 37, 64, 0.08);
}
.hero__feature-badge .hero__live-dot {
  width: 6px; height: 6px; background: #16A34A; border-radius: 50%;
  position: relative;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Live activity ticker */
.hero-ticker {
  margin-top: 32px;
  padding: 14px 0;
  border-block: 1px solid var(--rule-c);
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  z-index: 3;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.hero-ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-ticker__track strong {
  color: var(--crimson);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.hero-ticker__sep {
  color: var(--rule);
}
.hero-ticker:hover .hero-ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ticker__track { animation: none; }
}

@media (max-width: 920px) {
  .hero-molecule { display: none; }
  .hero__trust-logos { gap: 16px; }
  .hero__trust-logos img { height: 20px; }
  .hero__feature-badge { top: -10px; left: 8px; }
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .products-grid { grid-template-columns: 1fr; } }

/* ========== INDUSTRIES — mockup mosaic (1 big feature + 5 regular tiles) ========== */
.industries-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: repeat(3, minmax(190px, auto));
  gap: 1px;
  background: var(--rule-c);
  border: 1px solid var(--rule-c);
}
.industry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-2);
  border: 0;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  gap: 24px;
  overflow: hidden;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.industry-card:hover { background: var(--navy); color: white; }
.industry-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  z-index: 2;
  position: static;
}
.industry-card:hover .industry-card__num { color: rgba(255,255,255,0.55); }
.industry-card__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: transparent !important;
  border: 0;
  padding: 0;
  aspect-ratio: auto;
  min-height: 0;
  flex: 1;
}
.industry-card__hero::before { display: none; }
.industry-card__big {
  width: 76px;
  height: 76px;
  color: var(--navy);
  opacity: 0.16;
  transition: opacity 250ms var(--ease), color 250ms var(--ease);
}
.industry-card:hover .industry-card__big { opacity: 0.5; color: white; }
.industry-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.industry-card h3 {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--ink);
}
.industry-card:hover h3 { color: white; }
.industry-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--steel-2);
  line-height: 1.5;
  max-width: 38ch;
}
.industry-card:hover p { color: rgba(255,255,255,0.7); }
.industry-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.industry-card:hover .industry-card__foot { color: rgba(255,255,255,0.6); }
.industry-card__foot .mono { font-size: inherit; letter-spacing: inherit; color: inherit; }
.industry-card__foot [data-industry-count] { color: var(--ink); font-weight: 600; }
.industry-card:hover .industry-card__foot [data-industry-count] { color: white; }
.industry-card__arrow {
  color: var(--steel);
  transition: transform 250ms var(--ease), color 200ms var(--ease);
}
.industry-card:hover .industry-card__arrow { transform: translate(2px, -2px); color: white; }

/* First card = big dark navy "flagship" tile (mockup .tile--lg) */
.industry-card:first-child {
  grid-column: 1 / span 1;
  grid-row: 1 / span 2;
  background: var(--navy);
  color: white;
  padding: 36px;
}
.industry-card:first-child:hover { background: var(--navy-deep); }
.industry-card:first-child::after {
  content: "★ FLAGSHIP";
  position: absolute;
  top: 36px; right: 36px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--crimson);
  font-weight: 600;
}
.industry-card:first-child .industry-card__num { color: rgba(255,255,255,0.55); }
.industry-card:first-child .industry-card__big { width: 110px; height: 110px; opacity: 0.32; color: white; }
.industry-card:first-child h3 { color: white; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.022em; }
.industry-card:first-child p { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 44ch; }
.industry-card:first-child .industry-card__foot { color: rgba(255,255,255,0.6); }
.industry-card:first-child .industry-card__foot [data-industry-count] { color: white; }
.industry-card:first-child .industry-card__arrow { color: white; }

/* Override the per-color industry-card--c1..c6 modifiers (no longer needed in mosaic) */
.industry-card[class*="industry-card--c"] .industry-card__hero { background: transparent !important; }
.industry-card[class*="industry-card--c"] .industry-card__big { color: var(--navy); }

@media (max-width: 1024px) {
  .industries-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .industry-card:first-child { grid-column: 1 / span 2; grid-row: 1 / span 1; min-height: 280px; }
}
@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry-card { padding: 24px; }
  .industry-card:first-child { grid-column: 1 / span 1; padding: 28px; min-height: 260px; }
  .industry-card:first-child::after { top: 24px; right: 24px; }
}

/* ========== PANORAMIC BANNER ========== */
.banner-section {
  position: relative;
  padding: clamp(80px, 10vw, 160px) 0;
  overflow: hidden;
  isolation: isolate;
  color: white;
}
/* Opening hero variant: full-bleed dramatic banner at very top of homepage.
   Sized to FIT viewport (no scroll needed to see headline + lede + stats). */
.hero-banner {
  padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 72px);
  min-height: clamp(520px, 70dvh, 760px);
  display: flex;
  align-items: center;
}
.hero-banner .banner-section__bg { filter: saturate(0.9) contrast(1.05); }
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(20, 53, 72, 0.82) 0%, rgba(20, 53, 72, 0.6) 55%, rgba(20, 53, 72, 0.4) 100%),
    linear-gradient(180deg, rgba(20, 53, 72, 0.20) 0%, rgba(20, 53, 72, 0.55) 100%);
}
.hero-banner .banner-section__inner { max-width: 920px; gap: 18px; }
.hero-banner .h-1 {
  font-size: clamp(34px, 4.6vw, 64px) !important;
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-banner .h-1 em {
  display: inline;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #FFD3DA;
  margin-right: 0.15em;
}
.hero-banner .body-lg {
  max-width: 56ch;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.hero-banner__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn--inverse {
  background: white;
  color: var(--ink);
  border: 1px solid white;
}
.btn--inverse:hover { background: rgba(255,255,255,0.9); color: var(--ink); }
@media (max-width: 540px) {
  .hero-banner__cta .btn { width: 100%; justify-content: center; }
}
.hero-banner .banner-section__stats {
  margin-top: 16px;
  padding-top: 24px;
}
.hero-banner .banner-section__stats > div {
  padding: 18px 24px 0 0;
}
.hero-banner .banner-section__stats .num {
  font-size: clamp(40px, 5vw, 68px) !important;
  margin-bottom: 4px;
}
.hero-banner .banner-section__stats .lbl { font-size: 10.5px; }
@media (max-width: 920px) {
  .hero-banner { min-height: clamp(480px, 80dvh, 640px); padding: 40px 0 32px; }
  .hero-banner .h-1 { font-size: clamp(28px, 6.6vw, 44px) !important; }
  .hero-banner .banner-section__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-banner .banner-section__stats .num { font-size: clamp(28px, 7vw, 44px) !important; }
}
@media (max-width: 540px) {
  .hero-banner .banner-section__stats { grid-template-columns: 1fr; }
  .hero-banner .banner-section__stats > div + div { border-left: 0; padding-left: 0; }
}
.banner-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.85);
}
.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(20, 53, 72, 0.92) 0%, rgba(53, 118, 158, 0.65) 60%, rgba(53, 118, 158, 0.4) 100%);
}
.banner-section__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 920px;
  position: relative;
}
.banner-section__inner .eyebrow { color: rgba(255,255,255,0.78); }
.banner-section__inner .eyebrow::before { background: rgba(255,255,255,0.55); }
.banner-section__inner .h-1 {
  color: white;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-weight: 500;
}
.banner-section__inner .h-1 em { color: #FFD3DA; font-weight: 400; }
.banner-section__inner .body-lg { color: rgba(255,255,255,0.78); max-width: 56ch; font-size: 17px; }
.banner-section__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  padding-top: 0;
  border-top: 0;
}
.banner-section__stats > div {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 22px 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.banner-section__stats > div + div { border-left: 1px solid rgba(255,255,255,0.10); padding-left: 24px; }
.banner-section__stats .num {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: white;
  display: block;
  margin-bottom: 6px;
  font-feature-settings: "tnum" 1;
}
/* Mockup signature: split number + "+" suffix into italic crimson Fraunces */
.banner-section__stats .num::after {
  content: "";
}
.banner-section__stats .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 600px) {
  .banner-section__stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ========== ABOUT HERO with photo ========== */
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
/* Flipped variant — photo on LEFT, copy on RIGHT (Application + Contact) */
.about-hero--flipped { grid-template-columns: 1fr 1.2fr; }
.about-hero--flipped .about-hero__photo { order: 0; }
.about-hero--flipped .about-hero__copy { order: 1; }
/* Tall photo variant for partners page (taller crop, different aspect) */
.about-hero--tall .about-hero__photo { aspect-ratio: 3/4; }
/* Wide photo variant for contact (wider photo, less tall) */
.about-hero--wide .about-hero__photo { aspect-ratio: 5/4; }
.about-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.about-hero__photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--rule-c);
  background: var(--slate-2);
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(53, 118, 158, 0.85) 100%);
  pointer-events: none;
}
.about-hero__photo figcaption {
  position: absolute;
  bottom: 14px; left: 18px;
  z-index: 1;
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 920px) {
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .about-hero__photo { aspect-ratio: 16/10; }
}

/* ========== ENGINEERING & SERVICE ========== */
.service-section {
  background: var(--slate-2);
  color: var(--ink);
  border-top: 1px solid var(--rule-c);
  border-bottom: 1px solid var(--rule-c);
}
.service-section .eyebrow { color: var(--navy); }
.service-section .h-1 { color: var(--ink); }
.service-section .h-1 em { color: var(--navy); }
.service-section .body-lg { color: var(--steel); max-width: 52ch; }
.service-section .body-lg strong { color: var(--ink); font-weight: 500; }
.service-section .btn--primary { background: var(--navy); color: white; }
.service-section .btn--primary:hover { background: var(--navy-deep); }

.service-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 32px 56px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.service-head__lhs { display: flex; flex-direction: column; gap: 14px; align-self: end; }
.service-head__rhs { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; align-self: end; }
.service-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
  position: relative;
  border: 1px solid var(--rule-c);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: white;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(53, 118, 158, 0.85) 100%);
  pointer-events: none;
}
.service-photo figcaption {
  position: absolute;
  bottom: 14px; left: 18px;
  z-index: 1;
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 1000px) {
  .service-head { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 24px; }
  .service-photo { grid-column: 1; grid-row: auto; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-c);
  border: 1px solid var(--rule-c);
}
.service-card {
  background: white;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 200ms var(--ease);
}
.service-card:hover { background: var(--paper); }
.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--crimson);
  font-weight: 500;
}
.service-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: white;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  transition: all 200ms var(--ease);
}
.service-card:hover .service-card__icon { background: var(--crimson); border-color: var(--crimson); }
.service-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
}
.service-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel);
}
.service-card p strong { color: var(--ink); font-weight: 500; }
.service-card__list {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--rule-c);
}
.service-card__list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-transform: uppercase;
}
.service-card__list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-weight: 600;
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
}
.service-stats > div {
  padding: 0 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--rule-c);
}
.service-stats > div:first-child { border-left: 0; padding-left: 0; }
.service-stats .num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.service-stats .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .service-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .service-stats { grid-template-columns: 1fr; gap: 0; }
  .service-stats > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-c); padding-top: 18px; padding-bottom: 4px; }
  .service-stats > div:first-child { border-top: 0; padding-top: 0; }
}

/* ========== STRENGTHS ========== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
}
.strength { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--rule-c); }
.strength__num { font-family: var(--font-mono); font-size: 11px; color: var(--crimson); letter-spacing: 0.1em; }
.strength__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.strength__desc { font-size: 14px; line-height: 1.5; color: var(--steel); margin: 0; }
@media (max-width: 820px) { .strengths-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .strengths-grid { grid-template-columns: 1fr; } }

/* ========== PULL QUOTE ========== */
.pull-quote {
  text-align: center;
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.pull-quote-attribution {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
  text-transform: uppercase;
  margin-top: 56px;
  position: relative;
  padding-top: 24px;
}
.pull-quote-attribution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 1px;
  background: var(--crimson);
}

/* ========== FINAL CTA BAND ========== */
.cta-band {
  background: var(--slate-2);
  text-align: center;
  border-top: 1px solid var(--rule-c);
  border-bottom: 1px solid var(--rule-c);
}
.cta-band__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-band__inner .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ========== TIMELINE (about) ========== */
.timeline { position: relative; padding-left: 32px; display: flex; flex-direction: column; gap: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--rule-c);
}
.timeline__row { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 32px; align-items: start; }
.timeline__row::before {
  content: "";
  position: absolute;
  left: -32px; top: 8px;
  width: 17px; height: 1px;
  background: var(--rule-c);
}
.timeline__row::after {
  content: "";
  position: absolute;
  left: -29px; top: 4px;
  width: 9px; height: 9px;
  background: white;
  border: 1px solid var(--navy);
  border-radius: 999px;
}
.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.timeline__body h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 6px; }
.timeline__body p { color: var(--steel); margin: 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) { .timeline__row { grid-template-columns: 1fr; gap: 6px; } }

/* ========== MAP / OFFICES ========== */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.office {
  border: 1px solid var(--rule-c);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper-2);
  transition: border-color 200ms var(--ease);
}
.office:hover { border-color: var(--ink); }
.office__head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 500;
}
.office h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.office address { font-style: normal; color: var(--steel); font-size: 14px; line-height: 1.55; }
.office__phone { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.office__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--rule-c);
}
.office__link:hover { color: var(--crimson); }
@media (max-width: 820px) { .offices-grid { grid-template-columns: 1fr; } }

/* ========== PRODUCTS PAGE ========== */
.brand-strip {
  margin: 32px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule-c);
  border-bottom: 1px solid var(--rule-c);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}
.brand-strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.brand-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  align-items: center;
}
.brand-strip__logos button {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 200ms var(--ease);
  position: relative;
}
.brand-strip__logos button::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.brand-strip__logos button:hover { color: var(--ink); }
.brand-strip__logos button:hover::after,
.brand-strip__logos button[aria-pressed="true"]::after { transform: scaleX(1); }
.brand-strip__logos button[aria-pressed="true"] { color: var(--ink); }

/* Standard shortcut chips (procurement-by-standard) */
.standard-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.standard-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: white;
  border: 1px solid var(--rule-c);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms var(--ease);
}
.standard-chip .mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-transform: lowercase;
}
.standard-chip:hover { border-color: var(--ink); }
.standard-chip[aria-pressed="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.standard-chip[aria-pressed="true"] .mono { color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
  .standard-chip { height: 40px; min-height: 40px; }
}
@media (max-width: 720px) {
  .brand-strip { grid-template-columns: 1fr; gap: 12px; }
}

.products-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.products-sidebar__reset {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 8px;
}
.products-sidebar__reset .btn--sm {
  width: 100%;
  height: 36px;
  font-size: 12px;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.products-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
}
.products-sidebar::-webkit-scrollbar { width: 6px; }
.products-sidebar::-webkit-scrollbar-thumb { background: var(--rule-c); border-radius: 999px; }
.products-sidebar::-webkit-scrollbar-thumb:hover { background: var(--steel); }
.products-sidebar h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 12px;
  font-weight: 500;
}
.products-sidebar__group { padding-bottom: 24px; border-bottom: 1px solid var(--rule-c); }
.products-sidebar__group:last-child { border-bottom: 0; }
.products-sidebar input[type="search"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--rule-c);
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  border-radius: 2px;
}
.products-sidebar input[type="search"]:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(53, 118, 158, 0.12);
}
.checkbox-list { display: grid; gap: 8px; }
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
}
.checkbox-list input { accent-color: var(--navy); }
.checkbox-list .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.04em;
}
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.products-toolbar__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-transform: uppercase;
}
.products-toolbar__count strong {
  color: var(--ink);
  font-weight: 600;
}
.products-toolbar select {
  height: 38px;
  border: 1px solid var(--rule-c);
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  background: white;
  border-radius: 2px;
}
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1200px) {
  .products-layout { grid-template-columns: 240px 1fr; gap: 32px; }
  .products-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; }
  .products-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .products-page-grid { grid-template-columns: 1fr; }
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb .sep { color: var(--rule); margin: 0 8px; }

/* ========== MICRO-INTERACTIONS POLISH ========== */
/* Button arrow: smoother slide on hover */
.btn .arrow {
  display: inline-block;
  transition: transform 280ms var(--ease);
  will-change: transform;
}
.btn:hover .arrow,
.btn:focus-visible .arrow { transform: translateX(4px); }

/* Cards: smooth lift across all card types */
.card,
.industry-card,
.brand-card,
.testimonial,
.service-card,
.office {
  will-change: transform;
}

/* Animated link underline (use .link-anim class) */
.link-anim {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.link-anim::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}
.link-anim:hover::after { transform: scaleX(1); transform-origin: left; }

/* Subtle scroll-progress indicator at top of page */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: var(--progress, 0%);
  background: var(--crimson);
  z-index: 200;
  transition: width 80ms linear;
  pointer-events: none;
}

/* Office card — feature variant for ICV-certified Abu Dhabi */
.office--feature {
  position: relative;
  background: var(--paper-2);
  outline: 1px solid var(--rule-c);
  padding-top: 28px !important;
}
.office--feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--crimson);
}
.office--feature .office__head { color: var(--crimson); }
.office__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--steel);
  padding: 10px 12px;
  background: rgba(200, 16, 46, 0.06);
  border-left: 2px solid var(--crimson);
}

/* ========== CAPABILITIES / "What we deliver" ========== */
.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--rule-c);
  background: var(--rule-c);
}
.capability {
  background: var(--paper-2);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 220ms var(--ease);
  overflow: hidden;
}
.capability:hover { background: var(--slate-2); }
.capability__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.capability__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--crimson);
  font-weight: 600;
  text-transform: uppercase;
}
.capability__icon {
  width: 32px;
  height: 32px;
  color: var(--navy);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 350ms var(--ease), color 220ms var(--ease);
}
.capability:hover .capability__icon { color: var(--crimson); transform: rotate(-3deg) scale(1.1); }
.capability h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
  color: var(--ink);
}
.capability p {
  margin: 0;
  font-size: 14px;
  color: var(--steel);
  line-height: 1.55;
  flex: 1;
}
.capability__link {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-c);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms var(--ease);
}
.capability__link:hover { color: var(--crimson); }
.capability__link .arrow { transition: transform 250ms var(--ease); }
.capability__link:hover .arrow { transform: translateX(4px); }
/* Featured (project) capability gets crimson top accent */
.capability--feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--crimson);
}
.capability--feature .pill { font-size: 9px; height: 22px; padding: 0 8px; }
@media (max-width: 1100px) {
  .capabilities { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .capability { padding: 24px 22px 22px; }
}
@media (max-width: 600px) {
  .capabilities { grid-template-columns: 1fr; }
  .capability { padding: 22px 20px; }
  .capability h3 { font-size: 17px; }
}

/* ========== ACADEMIC focus section ========== */
.academic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-c);
  border: 1px solid var(--rule-c);
  margin-top: 12px;
}
.academic-card {
  background: var(--paper-2);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 200ms var(--ease);
}
.academic-card:hover { background: var(--slate-2); }
.academic-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--crimson);
  text-transform: uppercase;
  font-weight: 600;
}
.academic-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.2;
}
.academic-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--steel);
}
@media (max-width: 1024px) { .academic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .academic-grid { grid-template-columns: 1fr; } }

/* ========== PROMPTBOX (homepage search → products page) ========== */
.promptbox {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--rule-c);
  padding: 24px;
  position: relative;
  margin-top: 8px;
}
.promptbox::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 3px;
  background: var(--crimson);
}
.promptbox__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}
.promptbox__label .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--crimson);
  text-transform: uppercase;
  font-weight: 500;
}
.promptbox__label b {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-sans);
}
.promptbox__input {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 6px 4px;
  width: 100%;
  outline: none;
  transition: border-color 200ms var(--ease);
}
.promptbox__input:focus { border-bottom-color: var(--crimson); }
.promptbox__input::placeholder {
  color: var(--steel);
  font-weight: 400;
}
.promptbox__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.promptbox__chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  transition: all 200ms var(--ease);
}
.promptbox__chips .chip:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.promptbox__chips .chip b {
  color: var(--crimson);
  font-weight: 600;
}
.promptbox__chips .chip:hover b {
  color: #FFD3DA;
}
@media (max-width: 920px) {
  .promptbox { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .promptbox__label { min-width: 0; }
  .promptbox__input { font-size: 16px; }
}

/* Header phone button */
.header-cta__phone {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  font-feature-settings: "tnum" 1;
}
@media (max-width: 920px) {
  .header-cta__phone { display: none; }
}

/* ========== PROCESS / "How we work" ========== */
.process {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--rule-c);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper-2);
  transition: background 220ms var(--ease);
  overflow: hidden;
}
.process__step:last-child { border-right: 0; }
.process__step:hover { background: var(--slate-2); }
/* Connector arrow between steps */
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 14px; height: 14px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule-c);
  border-right: 1px solid var(--rule-c);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.process__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--crimson);
  font-weight: 600;
}
.process__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.process__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
  margin: 0;
  flex: 1;
}
.process__icon {
  margin-top: auto;
  width: 36px;
  height: 36px;
  color: var(--navy);
  opacity: 0.85;
  transition: transform 350ms var(--ease), opacity 220ms var(--ease);
}
.process__step:hover .process__icon {
  transform: translateY(-2px);
  opacity: 1;
  color: var(--crimson);
}
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step { border-right: 0; border-bottom: 1px solid var(--rule-c); padding: 24px 20px 26px; }
  .process__step:nth-child(odd) { border-right: 1px solid var(--rule-c); }
  .process__step:nth-last-child(-n+2) { border-bottom: 0; }
  .process__step::after { display: none !important; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process__step,
  .process__step:nth-child(odd) { border-right: 0; }
  .process__step { border-bottom: 1px solid var(--rule-c); padding: 22px 20px; }
  .process__step:last-child { border-bottom: 0; }
}

/* ========== FAQ accordion ========== */
.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-c);
}
.faq-item {
  border-bottom: 1px solid var(--rule-c);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 22px 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 200ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--crimson); }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--steel);
  font-weight: 400;
  transition: transform 250ms var(--ease), color 200ms var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; color: var(--crimson); }
.faq-item[open] summary { color: var(--ink); }
.faq-item__body {
  padding: 0 8px 24px;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}
.faq-item__body p { margin: 0 0 12px; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body strong { color: var(--ink); font-weight: 500; }

/* ========== Standards reference table ========== */
.standards-ref {
  display: grid;
  grid-template-columns: 160px 1fr 200px;
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
}
.standards-ref__row {
  display: contents;
}
.standards-ref__row > * {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule-c);
  font-size: 13.5px;
  background: var(--paper-2);
  transition: background 180ms var(--ease);
}
.standards-ref__row:last-child > * { border-bottom: 0; }
.standards-ref__row--head > * {
  background: var(--slate-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}
.standards-ref__row:hover:not(.standards-ref__row--head) > * { background: var(--slate-2); }
.standards-ref__code {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.standards-ref__instr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--navy);
}
@media (max-width: 720px) {
  .standards-ref { grid-template-columns: 1fr; }
  .standards-ref__row > * { padding: 8px 14px; border-bottom: 0; }
  .standards-ref__row > *:first-child { padding-top: 16px; font-weight: 600; }
  .standards-ref__row > *:last-child { padding-bottom: 16px; border-bottom: 1px solid var(--rule-c); }
  .standards-ref__row--head { display: none; }
}

/* ========== Department contacts grid ========== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-c);
  border: 1px solid var(--rule-c);
}
.dept-card {
  background: var(--paper-2);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 200ms var(--ease);
}
.dept-card:hover { background: var(--slate-2); }
.dept-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--crimson);
  font-weight: 500;
  text-transform: uppercase;
}
.dept-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dept-card__desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.dept-card__contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-c);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dept-card__contact a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  transition: color 200ms var(--ease);
}
.dept-card__contact a:hover { color: var(--crimson); }
.dept-card__contact a::before {
  content: "→";
  color: var(--steel);
  font-size: 13px;
}
@media (max-width: 1000px) { .dept-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .dept-grid { grid-template-columns: 1fr; } }

/* ========== TESTIMONIALS ========== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.testimonial {
  position: relative;
  margin: 0;
  padding: 32px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--rule-c);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.testimonial:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -22px rgba(10, 37, 64, 0.18);
}
.testimonial__quote {
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--crimson);
  opacity: 0.35;
  pointer-events: none;
}
.testimonial blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}
.testimonial figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-c);
}
.testimonial figcaption strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testimonial figcaption .mono {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-transform: uppercase;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .testimonials { grid-template-columns: 1fr; } }

/* ========== CERTIFICATIONS BAND ========== */
.cert-band {
  background: var(--paper-2);
  border-block: 1px solid var(--rule-c);
}
.cert-band__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.cert-badge {
  padding: 26px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--rule-c);
  color: var(--navy);
  transition: background 200ms var(--ease);
  position: relative;
}
.cert-badge:last-child { border-right: 0; }
.cert-badge:hover { background: var(--paper); }
/* Featured ICV badge — crimson top stripe */
.cert-badge--feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--crimson);
}
.cert-badge--feature strong { color: var(--crimson); }
.cert-badge svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--navy);
}
.cert-badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cert-badge strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cert-badge span {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .cert-band__inner { grid-template-columns: repeat(3, 1fr); }
  .cert-badge { border-bottom: 1px solid var(--rule-c); }
  .cert-badge:nth-child(3n) { border-right: 0; }
  .cert-badge:nth-child(n+4) { border-bottom: 0; }
  .cert-badge:nth-child(4), .cert-badge:nth-child(5) { border-right: 1px solid var(--rule-c); }
  .cert-badge:nth-child(5) { border-right: 0; }
}
@media (max-width: 720px) {
  .cert-band__inner { grid-template-columns: 1fr 1fr; }
  .cert-badge { border-right: 0; border-bottom: 1px solid var(--rule-c); }
  .cert-badge:nth-child(odd) { border-right: 1px solid var(--rule-c); }
  .cert-badge:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .cert-band__inner { grid-template-columns: 1fr; }
  .cert-badge,
  .cert-badge:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--rule-c); }
  .cert-badge:last-child { border-bottom: 0; }
}

/* ========== PARTNERS WALL (text-only, mockup signature) ========== */
.partners-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule-c);
  border: 1px solid var(--rule-c);
  margin-top: 24px;
}
.partners-wall__cell {
  aspect-ratio: 3/2;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
  transition: background 200ms var(--ease), color 200ms var(--ease);
  text-decoration: none;
}
.partners-wall__cell:hover { background: var(--slate-2); color: var(--ink); }
.partners-wall__cell::after {
  content: attr(data-since);
  position: absolute;
  bottom: 8px; right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--steel);
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.partners-wall__cell:hover::after { opacity: 1; }
@media (max-width: 1024px) { .partners-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .partners-wall { grid-template-columns: repeat(2, 1fr); } }

/* ========== PARTNERS — brand cards ========== */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-c);
  border: 1px solid var(--rule-c);
}
.brand-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: background 200ms var(--ease);
  min-height: 180px;
}
.brand-card:hover { background: var(--slate-2); }
.brand-card:hover .brand-card__arrow { color: var(--crimson); transform: translate(2px, -2px); }
.brand-card:hover .brand-card__logo img { filter: none; }
.brand-card__logo {
  display: grid;
  place-items: center;
  padding: 24px 16px;
  border-right: 1px solid var(--rule-c);
  background: var(--paper-2);
}
.brand-card__logo img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1) opacity(0.7);
  transition: filter 250ms var(--ease);
}
.brand-card__wordmark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: center;
}
.brand-card__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brand-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.brand-card__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-card__country {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.brand-card__focus {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
  flex: 1;
}
.brand-card__foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--rule-c);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.brand-card__foot strong { color: var(--ink); }
.brand-card__arrow {
  color: var(--steel);
  transition: transform 250ms var(--ease), color 200ms var(--ease);
}
@media (max-width: 1100px) { .brand-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .brand-cards { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 110px 1fr; min-height: 140px; }
  .brand-card__logo { padding: 16px 10px; }
  .brand-card__body { padding: 16px 18px; }
}

/* ========== PRODUCT DETAIL ========== */
.pdp-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.pdp-gallery { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 12px; }
.pdp-gallery__main {
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pdp-gallery__thumbs button {
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
  aspect-ratio: 1/1;
  padding: 8px;
  cursor: pointer;
  transition: border-color 200ms var(--ease);
}
.pdp-gallery__thumbs button:hover { border-color: var(--ink); }
.pdp-gallery__thumbs button[aria-pressed="true"] { border-color: var(--navy); border-width: 2px; }
.pdp-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { display: flex; flex-direction: column; gap: 20px; }
.pdp-info__brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crimson); font-weight: 500; }
.pdp-info__title { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; margin: 0; }
.pdp-info__desc { color: var(--steel); font-size: 16px; line-height: 1.55; }
.pdp-info__cta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }

@media (max-width: 920px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; }
}

/* Stat strip helper */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule-c);
}
.stat-strip > div {
  padding: 24px 28px;
  border-left: 1px solid var(--rule-c);
}
.stat-strip > div:first-child { border-left: 0; }
.stat-strip .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.stat-strip .val { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
@media (max-width: 720px) { .stat-strip { grid-template-columns: 1fr; } .stat-strip > div { border-left: 0; border-top: 1px solid var(--rule-c); } .stat-strip > div:first-child { border-top: 0; } }


/* Generic util */
.flex { display: flex; }
.grid { display: grid; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; } .gap-5 { gap: 48px; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; align-items: center; }
.text-muted { color: var(--fg-muted); }
.text-accent { color: var(--crimson); }
.relative { position: relative; }
.full-width { width: 100%; }
[hidden] { display: none !important; }

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Map block (about) */
.map-block {
  background: var(--slate-2);
  border: 1px solid var(--rule-c);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.map-block svg { width: 100%; height: auto; }
.map-frame {
  position: relative;
  border: 1px solid var(--rule-c);
  background: white;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }
.map-frame__cred {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(255,255,255,0.95);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule-c);
}
.map-frame__cred:hover { color: var(--crimson); border-color: var(--ink); }

/* Custom branded SVG map */
.map-frame--custom {
  aspect-ratio: 7/5;
  background: transparent;
  border: 1px solid var(--rule-c);
  padding: 0;
  overflow: hidden;
}
.gulf-map { display: block; width: 100%; height: 100%; }
.gulf-map .gulf-pin { cursor: pointer; }
.gulf-map .gulf-pin__dot {
  fill: var(--steel);
  transition: fill 250ms var(--ease), r 250ms var(--ease);
}
.gulf-map .gulf-pin__halo {
  fill: rgba(71, 85, 105, 0.18);
  transform-origin: center center;
  transition: fill 250ms var(--ease);
}
.gulf-map .gulf-pin__ring {
  fill: rgba(71, 85, 105, 0.10);
  transform-origin: center center;
  animation: pin-pulse 2.6s ease-out infinite;
}
.gulf-map .gulf-pin--anchor .gulf-pin__dot { fill: var(--crimson); }
.gulf-map .gulf-pin--anchor .gulf-pin__halo { fill: rgba(200, 16, 46, 0.22); }
.gulf-map .gulf-pin--anchor .gulf-pin__ring {
  fill: rgba(200, 16, 46, 0.16);
  animation-duration: 2.2s;
}
.gulf-map .gulf-pin:hover .gulf-pin__dot,
.gulf-map .gulf-pin.is-active .gulf-pin__dot { fill: var(--crimson); }
.gulf-map .gulf-pin:hover .gulf-pin__halo,
.gulf-map .gulf-pin.is-active .gulf-pin__halo { fill: rgba(200, 16, 46, 0.32); }
@keyframes pin-pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gulf-map .gulf-pin__ring { animation: none; opacity: 0.3; }
}
.map-frame__legend {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  pointer-events: none;
}

.map-block .pin { cursor: pointer; transition: padding-left 200ms var(--ease), border-color 200ms var(--ease); }
.map-block .pin:hover,
.map-block .pin.is-active {
  padding-left: 12px;
  border-color: var(--ink);
}
.map-block .pin:hover .pin-num,
.map-block .pin.is-active .pin-num { color: var(--crimson); }
.map-block .pin-list { display: flex; flex-direction: column; gap: 18px; }
.map-block .pin {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--rule-c);
}
.map-block .pin:last-child { border-bottom: 0; }
.map-block .pin .pin-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--crimson);
  letter-spacing: 0.06em;
}
.map-block .pin h4 { margin: 0 0 4px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.map-block .pin p { margin: 0; font-size: 13px; color: var(--steel); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ========== IMPRESSIONS ========== */
.impressions-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.impressions-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 8px;
}
.impressions-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rule-c);
  isolation: isolate;
  grid-column: span 6;
  grid-row: span 1;
  background: var(--ink);
}
.impressions-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 700ms var(--ease), filter 350ms var(--ease);
}
.impressions-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,21,40,0) 30%, rgba(5,21,40,0.55) 65%, rgba(5,21,40,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.impressions-tile:hover img { transform: scale(1.04); filter: saturate(1) contrast(1.04); }
.impressions-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px 24px 22px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.impressions-tile figcaption .mono {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.impressions-tile__title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: white;
}
.impressions-tile__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-top: 4px;
}

.impressions-tile--tall  { grid-column: span 5; grid-row: span 2; }
.impressions-tile--wide  { grid-column: span 7; grid-row: span 1; }

/* row 2: two equal squares fill the right column under the wide tile */
.impressions-grid > .impressions-tile:nth-child(3),
.impressions-grid > .impressions-tile:nth-child(4) {
  grid-column: span 3.5;
}
.impressions-grid > .impressions-tile:nth-child(3) { grid-column: 6 / span 4; }
.impressions-grid > .impressions-tile:nth-child(4) { grid-column: 10 / span 3; }

@media (max-width: 1100px) {
  .impressions-grid { grid-auto-rows: 200px; }
  .impressions-tile--tall { grid-column: span 6; grid-row: span 2; }
  .impressions-tile--wide { grid-column: span 6; grid-row: span 1; }
  .impressions-grid > .impressions-tile:nth-child(3) { grid-column: 7 / span 6; grid-row: auto; }
  .impressions-grid > .impressions-tile:nth-child(4) { grid-column: span 12; }
}
@media (max-width: 720px) {
  .impressions-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 12px; }
  .impressions-tile,
  .impressions-tile--tall,
  .impressions-tile--wide,
  .impressions-grid > .impressions-tile:nth-child(3),
  .impressions-grid > .impressions-tile:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}

.impressions-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-c);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.impressions-cta .mono {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ========== FEATURED SECTION (products page) ========== */
.featured-section {
  background: var(--paper);
}
.featured-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.featured-head h2 { margin: 8px 0 0; }
.featured-head .section-head__sub {
  text-align: right;
  margin: 0;
  max-width: 48ch;
  justify-self: end;
}
@media (max-width: 820px) {
  .featured-head { grid-template-columns: 1fr; }
  .featured-head .section-head__sub { text-align: left; justify-self: start; }
}

/* Inline (non-sticky) variant of the industry bar — used inside the featured section */
.industry-bar--inline {
  position: static;
  border: 1px solid var(--rule-c);
  background: var(--paper-2);
  margin-bottom: 28px;
}
.industry-bar--inline::after { display: none; }
.industry-bar--inline .industry-bar__inner { padding-inline: 18px; height: 52px; }
@media (max-width: 720px) { .map-block { grid-template-columns: 1fr; } }

/* ========== MOBILE BUG FIXES ========== */
/* iOS auto-zoom: inputs need 16px min on mobile */
@media (max-width: 768px) {
  .field input,
  .field textarea,
  .field select,
  .products-sidebar input[type="search"] {
    font-size: 16px;
  }
  /* Larger touch targets */
  .modal__close { width: 40px; height: 40px; }
  .industry-chip { height: 40px; min-height: 40px; }
  .btn--sm { height: 40px; }
}

/* Contact form action buttons stack on narrow screens */
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 600px) {
  .form-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* Hero CTA stack on small phones */
@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* Footer columns: collapse 2x2 to single column on phones */
@media (max-width: 600px) {
  .site-footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__cta h2 { font-size: clamp(24px, 7vw, 32px); }
}

/* Products sidebar: when stacked on mobile, drop sticky max-height so filters
   don't get trapped in inner scroll */
@media (max-width: 820px) {
  .products-sidebar {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* On phones the long checkbox list of filters wastes scroll space and pushes
   the actual product grid far down the page. Keep only the search box. */
@media (max-width: 768px) {
  .products-sidebar__group:not(:first-of-type) { display: none; }
  .products-sidebar__group:first-of-type { padding-bottom: 0; border-bottom: 0; }
}

/* Modal padding tighter on phones */
@media (max-width: 480px) {
  .modal-backdrop { padding: 12px; }
  .modal__head { padding: 16px 16px 0; }
  .modal__body { padding: 16px; }
  .modal__body .actions { flex-direction: column; align-items: stretch; }
  .modal__body .actions .btn { width: 100%; justify-content: center; }
}

/* Topticker: tighten on phones (already overflow:hidden marquee, but reduce height) */
@media (max-width: 600px) {
  .topticker { font-size: 10px; }
}

/* Industry bar offset matches mobile header height */
@media (max-width: 600px) {
  .industry-bar + .section { scroll-margin-top: 130px; }
  .industry-bar + .section > .container > * { scroll-margin-top: 130px; }
}
