/* ============================================================
   KRISHNARAJ ENTERPRISES — DESIGN SYSTEM (ke.css)
   Main stylesheet for the whole site: tokens, layout, components,
   motion and responsive rules. The chat assistant and the enquiry
   pop-up are styled in widgets.css; blog layout lives in blog.css.

   Contents
   01 Tokens            09 Page hero (inner)     17 Forms & contact
   02 Base & type       10 Home hero             18 FAQ
   03 Layout            11 Section headings      19 CTA
   04 Buttons           12 Cards                 20 Legal & prose
   05 Top bar           13 Editorial / split     21 Floating actions
   06 Header & mega     14 Specs, steps, stats   22 Motion system
   07 Mobile nav        15 Galleries & lightbox  23 Responsive
   08 Footer            16 Related & chips
   ============================================================ */

/* Inter, self-hosted: one variable font file covers weights 400-700 (latin subset) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 01 TOKENS ------------------------------------- */
:root {
  --navy-deep: #031A36;
  --navy: #062B5C;
  --navy-light: #0B376D;
  --graphite: #252B32;
  --steel: #5B6675;
  --steel-light: #A8B1BD;
  --orange: #F36A21;            /* brand accent: lines, marks, dark-bg text */
  --orange-strong: #B8450B;     /* AA-contrast orange for small text on white, off-white and tinted panels */
  --orange-hover: #B0420B;
  --orange-subtle: rgba(243, 106, 33, 0.09);

  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --light-grey: #F3F5F7;
  --cool-grey: #E6EAEF;
  --steel-bg: #EAEFF5;
  --border-color: #DCE2E9;
  --border-light: #ECF0F4;

  --text-dark: #0E1F36;
  --text-body: #3A4555;
  --text-muted: #5F6B7B;
  --text-light: #8894A4;

  --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(3, 26, 54, .06);
  --shadow-card: 0 10px 30px -12px rgba(3, 26, 54, .18);
  --shadow-hover: 0 24px 48px -18px rgba(3, 26, 54, .30);
  --shadow-menu: 0 28px 60px -24px rgba(3, 26, 54, .35);

  --container-max: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 76px;
  --topbar-h: 38px;

  --section-pad-xl: clamp(64px, 8vw, 128px);
  --section-pad-lg: clamp(56px, 6.5vw, 104px);
  --section-pad-md: clamp(40px, 4.5vw, 72px);
  --section-pad-sm: clamp(28px, 3vw, 48px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
  --transition-fast: .2s var(--ease-std);
  --transition-normal: .32s var(--ease-out);
  --transition-smooth: .6s var(--ease-out);
}

/* ---------- 02 BASE & TYPE -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-main);
  font-feature-settings: "cv05", "ss01";
  background: var(--white);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, picture, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 4.2vw + .6rem, 4.25rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 2.4vw + .6rem, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, .8vw + .85rem, 1.45rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
p { font-size: clamp(.97rem, .2vw + .92rem, 1.0625rem); line-height: 1.72; max-width: 68ch; }
strong { color: var(--text-dark); font-weight: 600; }
.text-lead { font-size: clamp(1.05rem, .45vw + .95rem, 1.25rem); line-height: 1.6; color: var(--text-dark); max-width: 60ch; }
.text-muted { color: var(--text-muted); }
.tnum { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--orange-strong); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-foot :focus-visible, .topbar :focus-visible,
.inner-page-hero :focus-visible, .hero-home :focus-visible, .cta-band :focus-visible,
.sec--navy :focus-visible { outline-color: #fff; }
:focus:not(:focus-visible) { outline: none; }

.skip-to-content {
  position: absolute; left: 12px; top: -80px; z-index: 10000;
  background: var(--navy-deep); color: #fff; font-weight: 600; font-size: .875rem;
  padding: 12px 18px; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-to-content:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 03 LAYOUT ------------------------------------- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { position: relative; padding-block: var(--section-pad-lg); }
.section-xl { padding-block: var(--section-pad-xl); }
.section-sm { padding-block: var(--section-pad-sm); }
.bg-white { background: var(--white); }
.bg-off-white, .bg-light { background: var(--off-white); }
.bg-light-grey { background: var(--light-grey); }
.bg-navy, .sec--navy { background: var(--navy-deep); color: rgba(255,255,255,.8); }
.sec--navy h2, .sec--navy h3, .sec--navy h4 { color: #fff; }
.sec--navy p { color: rgba(255,255,255,.76); }
.section-rule { border-top: 1px solid var(--border-color); }

/* Fine engineering grid used on tinted and navy bands */
.tech-grid { position: relative; isolation: isolate; }
.tech-grid::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}


.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
.stack > * + * { margin-top: 18px; }
.stack-sm > * + * { margin-top: 10px; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.center .section-desc, .center p { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }

/* ---------- 04 BUTTONS ------------------------------------ */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease-std), border-color .25s var(--ease-std),
              color .25s var(--ease-std), transform .25s var(--ease-out), box-shadow .25s var(--ease-std);
}
/* Light sweep */
.btn::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { left: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr, .link-arrow .arr { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover .arr, .link-arrow:hover .arr, a:hover > .link-arrow .arr, .card-link:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--orange-strong); border-color: var(--orange-strong); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; box-shadow: 0 12px 28px -10px rgba(201,76,14,.6); }
.btn-secondary, .btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-secondary::after, .btn-outline-navy::after { background: linear-gradient(100deg, transparent, rgba(6,43,92,.08), transparent); }
.btn-secondary:hover, .btn-outline-navy:hover { background: var(--navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(6,43,92,.55); }
.btn-navy { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-navy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--navy-deep); }
.btn-white:hover { background: var(--light-grey); border-color: var(--light-grey); color: var(--navy-deep); }
.btn-outline-white { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-white:hover { background: #fff; border-color: #fff; color: var(--navy-deep); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: .8125rem; }
.btn-lg { min-height: 54px; padding: 16px 30px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; color: var(--orange-strong);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease-out), color .2s;
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: calc(100% - 24px) 1px; color: var(--orange-hover); }
.on-dark .link-arrow, .sec--navy .link-arrow { color: #FF8A4C; }

/* ---------- 05 TOP BAR ------------------------------------ */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: .78rem; position: relative; z-index: 1010; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); }
.topbar__tag { letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; color: rgba(255,255,255,.55); white-space: nowrap; }
.topbar__links { display: flex; align-items: center; }
.topbar__link {
  display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; min-height: var(--topbar-h);
  color: rgba(255,255,255,.78); border-left: 1px solid rgba(255,255,255,.08); white-space: nowrap;
}
.topbar__link:first-child { border-left: 0; }
.topbar__link:hover { color: #fff; background: rgba(255,255,255,.05); }
.topbar__link svg { width: 13px; height: 13px; opacity: .75; }
.topbar__link--accent { color: #FF8A4C; font-weight: 600; }

/* ---------- 06 HEADER & MEGA MENU ------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s var(--ease-std), border-color .3s var(--ease-std), background-color .3s;
}
.site-head.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 8px 24px -16px rgba(3,26,54,.35); border-color: var(--border-color); }
.site-head__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img {
  height: 54px; width: auto; transform-origin: left center;
  transition: transform .35s var(--ease-out);
}
.site-head.is-scrolled .brand img { transform: scale(.88); }

.nav { margin-left: auto; height: 100%; }
.nav__list { display: flex; align-items: stretch; height: 100%; gap: 2px; }
.nav__item { position: static; display: flex; align-items: center; }
.nav__row { display: flex; align-items: center; height: 100%; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 100%;
  padding: 0 11px; font-size: .9rem; font-weight: 500; color: var(--text-dark); letter-spacing: -.005em;
}
.nav__link::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 20px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__item:hover .nav__link, .nav__item.is-open .nav__link { color: var(--navy); }
.nav__item:hover .nav__link::after, .nav__item.is-open .nav__link::after,
.nav__item.is-active .nav__link::after { transform: scaleX(1); }
.nav__item.is-active .nav__link { color: var(--navy); font-weight: 600; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 30px; margin-left: -8px; margin-right: 2px; color: var(--steel);
  border-radius: var(--radius-sm);
}
.nav__toggle svg { width: 11px; height: 11px; transition: transform .3s var(--ease-out); }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__item.is-open .nav__toggle, .nav__toggle:hover { color: var(--orange-strong); }

.head-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.head-cta .btn { min-height: 44px; padding: 10px 20px; }

/* Mega panel: full-width, flush with the header so the pointer never
   crosses a gap between the trigger and the panel. */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-menu);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease-std), transform .32s var(--ease-out), visibility 0s linear .32s;
  pointer-events: none;
}
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .22s var(--ease-std), transform .32s var(--ease-out), visibility 0s; }
.mega::before { /* hover bridge above panel */
  content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.mega__inner { display: grid; grid-template-columns: 260px minmax(0, 1fr) 320px; gap: 40px; padding-block: 34px 38px; }
.mega__intro .mega__kicker {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-strong);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.mega__intro .mega__kicker::before { content: ''; width: 18px; height: 2px; background: var(--orange); }
.mega__intro .mega__h { font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--text-dark); letter-spacing: -.02em; margin-bottom: 10px; max-width: none; }
.mega__intro p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.mega__list--single { grid-template-columns: minmax(0, 1fr); }
.mega__link {
  position: relative; display: grid; grid-template-columns: 30px 1fr 16px; gap: 4px 12px; align-items: start;
  padding: 13px 14px; border-radius: var(--radius-md);
  transition: background-color .2s var(--ease-std);
}
.mega__num { font-size: .72rem; font-weight: 600; color: var(--steel-light); font-variant-numeric: tabular-nums; padding-top: 3px; }
.mega__title { font-size: .94rem; font-weight: 600; color: var(--text-dark); line-height: 1.35; transition: color .2s; }
.mega__sub { grid-column: 2; font-size: .8rem; color: var(--text-muted); line-height: 1.45; }
.mega__link .arr { grid-row: 1; grid-column: 3; width: 14px; height: 14px; margin-top: 3px; color: var(--orange-strong); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .3s var(--ease-out); }
.mega__link:hover, .mega__link.is-hot, .mega__link:focus-visible { background: var(--light-grey); }
.mega__link:hover .mega__title, .mega__link.is-hot .mega__title { color: var(--navy); }
.mega__link:hover .arr, .mega__link.is-hot .arr, .mega__link:focus-visible .arr { opacity: 1; transform: none; }
.mega__link[aria-current="page"] { background: var(--orange-subtle); }
.mega__link[aria-current="page"] .mega__title { color: var(--orange-strong); }
.mega__link[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--orange); border-radius: 2px; }

.mega__feature {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-deep); min-height: 260px; color: #fff;
}
.mega__feature img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s var(--ease-std), transform 1.2s var(--ease-out);
}
.mega__feature img.is-next { opacity: 0; }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,26,54,0) 30%, rgba(3,26,54,.92) 100%);
}
.mega__feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 22px; }
.mega__feature-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #FF8A4C; font-weight: 700; }
.mega__feature-title { display: block; font-size: 1.05rem; font-weight: 600; margin-top: 6px; line-height: 1.35; }
.mega__feature-desc { display: block; font-size: .82rem; color: rgba(255,255,255,.78); margin-top: 6px; line-height: 1.5; }

/* Background image wash — fades to the hovered service's image (injected by navigation.js) */
.mega__inner { position: relative; z-index: 1; }
.mega__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mega__bg-layer { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.03); filter: blur(3px) saturate(.9); transition: opacity .55s var(--ease-std); }
.mega__bg-layer.is-on { opacity: 1; }
.mega__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.9) 100%); }
@media (prefers-reduced-motion: reduce) { .mega__bg-layer { transition: none; } }

/* Staggered content reveal on open */
.mega__intro, .mega__link, .mega__feature { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease-std), transform .4s var(--ease-out), background-color .2s; }
.nav__item.is-open .mega__intro, .nav__item.is-open .mega__link, .nav__item.is-open .mega__feature { opacity: 1; transform: none; }
.nav__item.is-open .mega__list li:nth-child(1) .mega__link { transition-delay: .03s, .03s, 0s; }
.nav__item.is-open .mega__list li:nth-child(2) .mega__link { transition-delay: .06s, .06s, 0s; }
.nav__item.is-open .mega__list li:nth-child(3) .mega__link { transition-delay: .09s, .09s, 0s; }
.nav__item.is-open .mega__list li:nth-child(4) .mega__link { transition-delay: .12s, .12s, 0s; }
.nav__item.is-open .mega__list li:nth-child(5) .mega__link { transition-delay: .15s, .15s, 0s; }
.nav__item.is-open .mega__list li:nth-child(6) .mega__link { transition-delay: .18s, .18s, 0s; }
.nav__item.is-open .mega__list li:nth-child(7) .mega__link { transition-delay: .21s, .21s, 0s; }
.nav__item.is-open .mega__feature { transition-delay: .1s; }

.nav-burger {
  display: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border: 1px solid var(--border-color);
}
.nav-burger span { width: 20px; height: 2px; background: var(--navy-deep); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 07 MOBILE NAV --------------------------------- */
.mnav-backdrop {
  position: fixed; inset: 0; z-index: 1190; background: rgba(3,26,54,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.mnav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.mnav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; width: min(420px, 100%);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .4s var(--ease-out), visibility 0s linear .4s; visibility: hidden;
  box-shadow: -24px 0 60px -30px rgba(3,26,54,.5);
}
.mnav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease-out); }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border-light); }
.mnav__head img { height: 44px; width: auto; }
.mnav__close { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 1.6rem; color: var(--navy-deep); border: 1px solid var(--border-color); }
.mnav__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 18px 24px; }
.mnav__item { border-bottom: 1px solid var(--border-light); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mnav__link { flex: 1; display: block; padding: 15px 0; font-size: 1.02rem; font-weight: 600; color: var(--text-dark); }
.mnav__item.is-active > .mnav__row .mnav__link, .mnav__item.is-active > .mnav__link { color: var(--orange-strong); }
.mnav__toggle { width: 44px; height: 44px; display: grid; place-items: center; color: var(--steel); border-radius: var(--radius-sm); }
.mnav__toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.mnav__sub > div { overflow: hidden; }
.mnav__sub.is-open { grid-template-rows: 1fr; }
.mnav__sublink { display: block; padding: 10px 0 10px 14px; font-size: .93rem; color: var(--text-body); border-left: 2px solid var(--border-light); }
.mnav__sublink:last-child { margin-bottom: 12px; }
.mnav__sublink[aria-current="page"] { color: var(--orange-strong); border-color: var(--orange); font-weight: 600; }
.mnav__foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-light); display: grid; gap: 10px; }
.mnav__contact { display: flex; gap: 10px; }
.mnav__contact a { flex: 1; }
body.nav-open { overflow: hidden; }
/* Drawer background image wash — reveals a service's image on tap/hover (injected by navigation.js) */
.mnav__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mnav__bg-layer { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.03); filter: blur(4px) saturate(.9); transition: opacity .5s var(--ease-std); }
.mnav__bg-layer.is-on { opacity: 1; }
.mnav__bg::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.9); }
.mnav__head, .mnav__body, .mnav__foot { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .mnav__bg-layer { transition: none; } }

/* ---------- 08 FOOTER ------------------------------------- */
.site-foot { background: var(--navy-deep); color: rgba(255,255,255,.7); position: relative; overflow: hidden; }
.site-foot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.foot-cta { position: relative; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 44px; }
.foot-cta h2 { color: #fff; font-size: clamp(1.4rem, 1.5vw + .8rem, 2rem); max-width: 22ch; }
.foot-cta p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 8px; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.foot-brand__logo { background: #fff; border-radius: var(--radius-md); padding: 10px 14px; display: inline-block; }
.foot-brand__logo img { height: 46px; width: auto; }
.foot-brand p { font-size: .88rem; color: rgba(255,255,255,.66); margin-top: 18px; max-width: 34ch; line-height: 1.65; }
.foot-brand__links { margin-top: 20px; display: grid; gap: 10px; }
.foot-col h2, .foot-col h3 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-link { font-size: .88rem; color: rgba(255,255,255,.68); display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .25s var(--ease-out); }
.foot-link:hover { color: #fff; transform: translateX(3px); }
.foot-contact { display: grid; gap: 14px; font-size: .88rem; }
.foot-contact a, .foot-contact address { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.72); font-style: normal; line-height: 1.55; }
.foot-contact a:hover { color: #fff; }
.foot-contact svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #FF8A4C; }
.foot-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.08); }
.foot-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; font-size: .8rem; color: rgba(255,255,255,.5); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: rgba(255,255,255,.6); }
.foot-legal a:hover { color: #fff; }
.foot-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); max-width: none; }

/* ---------- 09 PAGE HERO (inner pages) -------------------- */
.inner-page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-deep); color: #fff;
  min-height: clamp(380px, 46vw, 540px);
  display: flex; align-items: flex-end;
}
.inner-page-hero__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, center);
  animation: ke-hero-zoom 1.6s var(--ease-out) both;
}
.inner-page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,26,54,.94) 0%, rgba(3,26,54,.82) 38%, rgba(3,26,54,.42) 72%, rgba(3,26,54,.2) 100%),
    linear-gradient(0deg, rgba(3,26,54,.7) 0%, transparent 45%);
}
.inner-page-hero__overlay::after {
  content: ''; position: absolute; inset: 0;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.inner-page-hero::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--orange) 0 22%, rgba(243,106,33,.25) 22% 100%);
  transform-origin: left; animation: ke-line 1.2s .5s var(--ease-out) both;
}
.inner-page-hero .container { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.inner-page-hero__content { max-width: 760px; }
.inner-page-hero__breadcrumb { margin-bottom: 22px; }
.hero-breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8rem; }
.hero-breadcrumb-item a { color: rgba(255,255,255,.72); transition: color .2s; }
.hero-breadcrumb-item a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-breadcrumb-sep { color: rgba(255,255,255,.35); }
.hero-breadcrumb-item.current { color: #fff; font-weight: 500; }
.inner-page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #FF8A4C;
}
.hero-tech-dot { width: 18px; height: 2px; background: var(--orange); display: inline-block; }
.hero-tech-num { color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.hero-tech-sep { color: rgba(255,255,255,.3); }
.inner-page-hero__title { color: #fff; font-size: clamp(2rem, 3vw + .6rem, 3.3rem); max-width: 18ch; margin-bottom: 18px; }
.inner-page-hero__description { color: rgba(255,255,255,.84); font-size: clamp(1rem, .35vw + .92rem, 1.15rem); max-width: 58ch; margin-bottom: 30px; }
.inner-page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.inner-page-hero__badge-line { display: none; }
.hero-tech-coords {
  position: absolute; right: var(--gutter); bottom: 26px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.62); padding: 6px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm);
  background: rgba(3,26,54,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.coords-bar { width: 1px; height: 10px; background: rgba(255,255,255,.3); }
/* Hero entrance sequence (pure CSS so it never depends on JS) */
.inner-page-hero__breadcrumb, .inner-page-hero__eyebrow, .inner-page-hero__title,
.inner-page-hero__description, .inner-page-hero__cta { animation: ke-rise .8s var(--ease-out) both; }
.inner-page-hero__eyebrow { animation-delay: .08s; }
.inner-page-hero__title { animation-delay: .16s; }
.inner-page-hero__description { animation-delay: .28s; }
.inner-page-hero__cta { animation-delay: .4s; }

/* ---------- 10 HOME HERO ---------------------------------- */
.hero-home {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-deep);
  min-height: min(calc(100svh - var(--header-h) - var(--topbar-h)), 860px);
  display: flex; align-items: center;
}
.hero-home__media { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero-home__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: ke-hero-zoom 2.2s var(--ease-out) both; }
.hero-home__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(95deg, rgba(3,26,54,.96) 0%, rgba(3,26,54,.88) 34%, rgba(3,26,54,.55) 62%, rgba(3,26,54,.35) 100%),
    linear-gradient(0deg, rgba(3,26,54,.85) 0%, transparent 38%);
}
.hero-home__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 20% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 50%, #000 20%, transparent 75%);
  animation: ke-fade 1.6s .6s both;
}
.hero-home__marks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-home__marks span {
  position: absolute; border: 1px solid rgba(243,106,33,.45);
  animation: ke-fade 1.2s both;
}
.hero-home__marks .m1 { width: 14px; height: 14px; border-width: 0 0 1.5px 1.5px; left: calc(var(--gutter) + 2px); bottom: 64px; animation-delay: 1s; }
.hero-home__marks .m2 { width: 1px; height: 120px; border: 0; background: linear-gradient(transparent, rgba(243,106,33,.7), transparent); right: 34%; top: 14%; animation: ke-drift 9s ease-in-out 1.2s infinite alternate, ke-fade 1s 1s both; }
.hero-home__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78);
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--orange); }
.hero-title { color: #fff; font-size: clamp(2.3rem, 3.4vw + .7rem, 4.1rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; animation: ke-line-up .95s var(--ease-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .18s; }
.hero-title .line:nth-child(2) > span { animation-delay: .3s; }
.hero-title .line:nth-child(3) > span { animation-delay: .42s; }
.hero-title .accent { color: #FF8A4C; }
.hero-lead { color: rgba(255,255,255,.84); font-size: clamp(1.02rem, .4vw + .94rem, 1.2rem); max-width: 54ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-facts li { padding: 18px 18px 0 0; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-facts b { display: block; color: #fff; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.hero-facts span { display: block; margin-top: 4px; font-size: .78rem; color: rgba(255,255,255,.62); line-height: 1.45; }
.seq { animation: ke-rise .9s var(--ease-out) both; animation-delay: calc(.55s + var(--i, 0) * .12s); }
.hero-eyebrow.seq { animation-delay: .05s; }

.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.hero-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hero-card:hover .hero-card__img img { transform: scale(1.04); }
.hero-card__label {
  position: absolute; left: 14px; top: 14px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  background: rgba(3,26,54,.78); color: #fff; padding: 6px 10px; border-radius: var(--radius-sm);
}
.hero-card__body { padding: 18px 20px 20px; }
.hero-card__title { color: #fff; font-size: 1rem; font-weight: 600; }
.hero-card__rows { margin-top: 12px; display: grid; gap: 8px; }
.hero-card__rows div { display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,.14); }
.hero-card__rows dt { color: rgba(255,255,255,.6); }
.hero-card__rows dd { color: #fff; font-weight: 500; text-align: right; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px;
  animation: ke-fade 1s 1.4s both;
}
.hero-scroll::after { content: ''; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: #fff; border-radius: 2px; animation: ke-scroll 1.8s ease-in-out infinite; }

/* ---------- 11 SECTION HEADINGS --------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-strong);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); flex: none; }
.eyebrow-navy, .eyebrow-green { color: var(--navy); }
.eyebrow-orange { color: var(--orange-strong); }
.sec--navy .eyebrow, .on-dark .eyebrow, .cta-band .eyebrow { color: #FF8A4C; }
.section-header { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-header.center, .center > .section-header { margin-inline: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-title { margin-bottom: 14px; }
.section-desc { color: var(--text-muted); font-size: clamp(1rem, .3vw + .94rem, 1.125rem); max-width: 62ch; }
.heading-divider { display: none; }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; max-width: none; }
.sec-head--split > div { max-width: 700px; }

/* ---------- 12 CARDS -------------------------------------- */
/* Premium media card: image, label, heading, copy, arrow, accent line */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card::before { /* accent line */
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; z-index: 3;
  background: var(--orange); transform: scaleX(.12); transform-origin: left; transition: transform .55s var(--ease-out);
}
a.card:hover, .card.is-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--cool-grey); }
a.card:hover::before, .card.is-link:hover::before { transform: scaleX(1); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--light-grey); }
.card__media--wide { aspect-ratio: 16 / 10; }
.card__media--square { aspect-ratio: 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3,26,54,.55)); opacity: .35; transition: opacity .45s; }
a.card:hover .card__media img { transform: scale(1.06); }
a.card:hover .card__media::after { opacity: .8; }
.card__label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(3,26,54,.82); padding: 6px 10px; border-radius: var(--radius-sm);
}
.card__num { position: absolute; right: 14px; top: 14px; z-index: 2; font-size: .75rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; opacity: .85; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange-strong); margin-bottom: 8px; }
.card__title { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 10px; transition: color .25s; }
a.card:hover .card__title { color: var(--navy); }
.card__text { font-size: .93rem; color: var(--text-muted); line-height: 1.62; }
.card__list { margin-top: 12px; display: grid; gap: 6px; }
.card__list li { position: relative; padding-left: 16px; font-size: .88rem; color: var(--text-body); }
.card__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 1.5px; background: var(--orange); }
.card__foot { margin-top: auto; padding-top: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--orange-strong); }
a.card:hover .card-link .arr { transform: translateX(5px); }
.card--flat { border-color: var(--border-light); background: var(--off-white); }
.card--plain::before { display: none; }

/* Text-only feature tile */
.tile {
  position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
  height: 100%;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--cool-grey); }
.tile__icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--steel-bg); color: var(--navy); margin-bottom: 18px; transition: background-color .3s, color .3s; }
.tile:hover .tile__icon { background: var(--navy-deep); color: #fff; }
.tile__icon svg { width: 22px; height: 22px; }
.tile__num { font-size: .78rem; font-weight: 600; color: var(--orange-strong); letter-spacing: .08em; font-variant-numeric: tabular-nums; margin-bottom: 14px; display: block; }
.tile h3 { font-size: 1.08rem; margin-bottom: 10px; }
.tile p { font-size: .92rem; color: var(--text-muted); }
.sec--navy .tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.sec--navy .tile p { color: rgba(255,255,255,.68); }
.sec--navy .tile__icon { background: rgba(243,106,33,.14); color: #FF8A4C; }

/* Legacy component card (product pages) mapped onto the card system */
.component-card-grid { --gap: clamp(16px, 2vw, 24px); }
.product-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.component-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
a.component-card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; z-index: 3; background: var(--orange); transform: scaleX(.12); transform-origin: left; transition: transform .55s var(--ease-out); }
a.component-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
a.component-card:hover::before { transform: scaleX(1); }
.component-card-img { aspect-ratio: 1; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border-light); }
.component-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .9s var(--ease-out); }
a.component-card:hover .component-card-img img { transform: scale(1.06); }
.component-card-body { padding: 18px 20px 22px; }
.component-card-title { font-size: 1.02rem; line-height: 1.35; margin-bottom: 6px; }
.component-card-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }
a.component-card .component-card-body::after { content: 'View range →'; display: block; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--orange-strong); transition: transform .3s var(--ease-out); }
a.component-card:hover .component-card-body::after { transform: translateX(4px); }
.category-heading { font-size: 1.25rem; margin: 48px 0 18px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.category-heading:first-of-type { margin-top: 0; }

/* ---------- 13 EDITORIAL / SPLIT -------------------------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--light-grey); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--std { aspect-ratio: 4 / 3; }
.media-frame figcaption, .media-cap {
  position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2;
  font-size: .8rem; color: #fff; display: flex; align-items: center; gap: 10px;
}
.media-frame figcaption::before { content: ''; width: 18px; height: 2px; background: var(--orange); flex: none; }
.media-frame.has-cap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3,26,54,.75)); pointer-events: none; }
.media-stack { position: relative; padding: 0 0 12% 12%; }
.media-stack .media-frame:first-child { aspect-ratio: 4 / 3; }
.media-stack .media-frame--inset {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow-card);
}
.media-badge {
  position: absolute; right: -1px; top: 24px; z-index: 3; background: var(--navy-deep); color: #fff;
  padding: 16px 20px; border-radius: var(--radius-md) 0 0 var(--radius-md); max-width: 230px;
}
.media-badge b { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.media-badge span { display: block; font-size: .78rem; color: rgba(255,255,255,.72); margin-top: 4px; line-height: 1.45; }

.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.check-list li { position: relative; padding-left: 28px; font-size: .96rem; color: var(--text-body); line-height: 1.5; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23C94C0E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.sec--navy .check-list li { color: rgba(255,255,255,.82); }

/* Legacy editorial block (product pages) */
.editorial-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.editorial-img-box { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border-light); aspect-ratio: 1; }
.editorial-img-box img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease-out); }
.editorial-img-box:hover img { transform: scale(1.04); }
.editorial-title { font-size: clamp(1.6rem, 1.6vw + .8rem, 2.3rem); margin-bottom: 16px; }
.editorial-desc { color: var(--text-body); margin-bottom: 20px; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-bottom: 26px; }
.spec-item { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--text-body); line-height: 1.45; }
.spec-icon { width: 16px; height: 16px; flex: none; color: var(--orange-strong); margin-top: 2px; }

/* ---------- 14 SPECS, STEPS, STATS ------------------------ */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: #fff; }
.spec-table { width: 100%; min-width: 520px; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table thead th { background: var(--navy-deep); color: #fff; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.spec-table tbody th { width: 32%; color: var(--text-dark); font-weight: 600; background: var(--off-white); }
.spec-table td { color: var(--text-body); }
.spec-table tbody tr { transition: background-color .2s; }
.spec-table tbody tr:hover td { background: var(--light-grey); }
.spec-note { font-size: .82rem; color: var(--text-muted); margin-top: 12px; }

.spec-fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.spec-fact { padding: 24px 26px; border-right: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); transition: background-color .25s; }
.spec-fact:hover { background: var(--off-white); }
.spec-fact:nth-child(3n) { border-right: 0; }
.spec-fact-label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.spec-fact-value { display: block; font-size: 1.08rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }

.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 26px 30px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--border-color); }
.step__num { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; color: var(--orange-strong); letter-spacing: .1em; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.step__num::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--orange), transparent); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease-out) .2s; }
.is-in .step__num::after, .is-in.step .step__num::after, .reveal-off .step__num::after, html:not(.js) .step__num::after { transform: scaleX(1); }
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--text-muted); }
.sec--navy .step + .step { border-color: rgba(255,255,255,.12); }
.sec--navy .step p { color: rgba(255,255,255,.66); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border-color); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--border-color); }
.stat__value { display: block; font-size: clamp(2rem, 2.4vw + .8rem, 3rem); font-weight: 700; letter-spacing: -.04em; color: var(--navy-deep); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .5em; letter-spacing: 0; margin-left: 2px; color: var(--orange-strong); }
.stat__label { display: block; margin-top: 10px; font-size: .86rem; color: var(--text-muted); line-height: 1.5; max-width: 26ch; }
.sec--navy .stats, .sec--navy .stat + .stat { border-color: rgba(255,255,255,.12); }
.sec--navy .stat__value { color: #fff; }
.sec--navy .stat__label { color: rgba(255,255,255,.62); }

/* Numbered capability rows (home) */
.cap-rows { border-top: 1px solid var(--border-color); }
.cap-row {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 104px 40px; gap: 24px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border-color); overflow: hidden;
}
.cap-row::before { content: ''; position: absolute; inset: 0; background: var(--off-white); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); z-index: -1; }
.cap-row { isolation: isolate; }
.cap-row:hover::before, .cap-row:focus-visible::before { transform: scaleY(1); }
.cap-row__num { font-size: .82rem; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; padding-left: 8px; transition: color .3s; }
.cap-row__title { font-size: clamp(1.1rem, .7vw + .9rem, 1.45rem); letter-spacing: -.02em; transition: color .3s, transform .45s var(--ease-out); }
.cap-row__text { font-size: .93rem; color: var(--text-muted); }
.cap-row__thumb { width: 104px; aspect-ratio: 3 / 2; border-radius: var(--radius-md); overflow: hidden; opacity: .0; transform: translateX(-12px) scale(.96); transition: opacity .4s var(--ease-std), transform .5s var(--ease-out); }
.cap-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cap-row__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-color); display: grid; place-items: center; color: var(--navy); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.cap-row__arrow svg { width: 15px; height: 15px; }
.cap-row:hover .cap-row__num, .cap-row:focus-visible .cap-row__num { color: var(--orange-strong); }
.cap-row:hover .cap-row__title { color: var(--navy); transform: translateX(6px); }
.cap-row:hover .cap-row__thumb, .cap-row:focus-visible .cap-row__thumb { opacity: 1; transform: none; }
.cap-row:hover .cap-row__arrow { background: var(--orange-strong); border-color: var(--orange-strong); color: #fff; transform: rotate(-45deg); }

/* ---------- 15 GALLERIES & LIGHTBOX ----------------------- */
/* Image grids: a fixed column count picked from the number of items (3 or 6
   items -> 3 columns, otherwise 4), every tile the same width, and an
   incomplete last row centred instead of leaving empty cells. */
.product-gallery { --gap: clamp(14px, 1.8vw, 22px); }
.product-gallery, .component-card-grid { --cols: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: var(--gap); }
.photo-gallery { --cols: 1; }
@media (min-width: 768px) {
  .product-gallery, .component-card-grid, .photo-gallery { --cols: 3; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .product-gallery:has(> :nth-child(4):last-child), .component-card-grid:has(> :nth-child(4):last-child) { --cols: 2; }
}
@media (min-width: 1025px) {
  .product-gallery, .component-card-grid { --cols: 4; }
  .product-gallery:has(> :last-child:nth-child(3n)):not(:has(> :last-child:nth-child(4n))),
  .component-card-grid:has(> :last-child:nth-child(3n)):not(:has(> :last-child:nth-child(4n))),
  .photo-gallery { --cols: 3; }
}
.product-gallery > *, .component-card-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.component-card-body { flex: 1; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border-color); cursor: zoom-in; display: flex; flex-direction: column; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.gallery-item .gallery-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 5%; background: #fff; transition: transform .9s var(--ease-out); }
.photo-gallery .gallery-item .gallery-img { aspect-ratio: 4 / 3; object-fit: cover; padding: 0; }
/* Catalogue photos are pre-squared with their own backdrop (tools/square-catalogue.ps1): show them edge to edge */
.product-gallery--plates .gallery-item .gallery-img { object-fit: cover; padding: 0; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-overlay { flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--border-light); background: #fff; position: relative; z-index: 2; }
.gallery-title { font-size: .98rem; margin-bottom: 4px; }
.gallery-caption { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }
.gallery-view-label { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--orange-strong); }
.gallery-view-label svg { transition: transform .3s var(--ease-out); }
.gallery-item:hover .gallery-view-label svg { transform: translateX(4px); }

.lightbox-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(3,26,54,.94); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.lightbox-modal.is-open, .lightbox-modal.active { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox-content { position: relative; width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox-img-wrapper { background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; display: flex; justify-content: center; }
.lightbox-img { max-height: 72vh; width: auto; height: auto; object-fit: contain; }
.lightbox-details { background: #fff; padding: 16px 20px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.lightbox-title { font-size: 1.05rem; }
.lightbox-desc { font-size: .9rem; color: var(--text-muted); }
.lightbox-close-btn { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; }
.lightbox-nav-btn { position: absolute; top: 40%; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy-deep); display: grid; place-items: center; box-shadow: var(--shadow-card); transition: transform .25s; }
.lightbox-nav-btn:hover { transform: scale(1.06); }
.lightbox-prev { left: -24px; } .lightbox-next { right: -24px; }

/* Client logos (home). Every logo file is the same 300x128 canvas with the
   artwork pre-balanced (tools/make-client-logos.ps1), so equal tiles give an
   even row; an incomplete last row is centred. */
.client-logos { --cols: 7; --gap: clamp(12px, 1.4vw, 18px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.client-logos > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.client-logo {
  display: flex; align-items: center; justify-content: center; height: 100%;
  padding: clamp(8px, .9vw, 12px) clamp(8px, .9vw, 12px);
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  transition: border-color .3s, box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.client-logo:hover { border-color: var(--cool-grey); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.client-logo img { display: block; width: 100%; height: auto; aspect-ratio: 300 / 128; }
.client-note { margin: 22px auto 0; text-align: center; font-size: .86rem; color: var(--text-muted); }
@media (max-width: 1024px) { .client-logos { --cols: 4; } }
@media (max-width: 600px) { .client-logos { --cols: 2; } }

/* ---------- 16 RELATED & CHIPS ---------------------------- */
.related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.related-item {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 56px 22px 22px;
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.related-item::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23C94C0E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .35s var(--ease-out);
}
.related-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--cool-grey); }
.related-item:hover::after { transform: translateX(5px); }
.related-item__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange-strong); }
.related-item__title { font-size: .98rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; font-size: .82rem; font-weight: 500; color: var(--navy); background: var(--steel-bg); border-radius: 999px; transition: background-color .2s, color .2s; }
a.chip:hover { background: var(--navy); color: #fff; }
.sec--navy .chip { background: rgba(255,255,255,.08); color: #fff; }

/* Anchor sub-nav for long pages */
.subnav { position: sticky; top: var(--header-h); z-index: 900; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: block; padding: 16px 14px; font-size: .86rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.subnav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s var(--ease-out); transform-origin: left; }
.subnav a:hover, .subnav a.is-current { color: var(--navy-deep); }
.subnav a:hover::after, .subnav a.is-current::after { transform: scaleX(1); }

/* ---------- 17 FORMS & CONTACT ---------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-panel { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-card); position: relative; }
.form-panel::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange) 0 30%, var(--navy) 30%); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-panel, .form-attach > * { min-width: 0; }
.form-attach a, .contact-method span, .foot-contact a, a[href^="mailto:"] { overflow-wrap: anywhere; }
.col-span-2 { grid-column: 1 / -1; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-dark); }
.form-label .required, .form-label .req { color: var(--orange-strong); }
.form-label .opt { font-weight: 400; color: var(--text-light); }
.form-input, .form-select, .form-textarea {
  width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: 12px 14px; font-size: .95rem; color: var(--text-dark);
  background: var(--off-white); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%235F6B7B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.form-textarea { min-height: 140px; resize: vertical; }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--steel-light); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(6,43,92,.12); }
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid { border-color: #C0392B; background: #FFF8F7; }
.form-error-msg { display: none; font-size: .78rem; color: #B03A2E; }
.is-invalid + .form-error-msg { display: block; }
.form-hint { font-size: .78rem; color: var(--text-muted); }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status-box { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 18px; }
.form-status-box.success { display: block; background: #E9F6EE; color: #17643A; border: 1px solid #BFE3CC; }
.form-status-box.error { display: block; background: #FDECEA; color: #8E2B20; border: 1px solid #F3C4BE; }
.form-attach { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px dashed var(--steel-light); border-radius: var(--radius-md); background: var(--off-white); font-size: .86rem; color: var(--text-body); }
.form-attach svg { width: 22px; height: 22px; color: var(--navy); flex: none; margin-top: 2px; }
.form-attach a { color: var(--orange-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-privacy { font-size: .78rem; color: var(--text-muted); }
.form-privacy a { text-decoration: underline; }

.contact-methods { display: grid; gap: 12px; margin-top: 28px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fff; transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s; }
.contact-method:hover { transform: translateX(4px); border-color: var(--navy); box-shadow: var(--shadow-card); }
.contact-method__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--steel-bg); color: var(--navy); display: grid; place-items: center; flex: none; transition: background-color .3s, color .3s; }
.contact-method:hover .contact-method__icon { background: var(--navy-deep); color: #fff; }
.contact-method__icon svg { width: 20px; height: 20px; }
.contact-method small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-method span { display: block; font-size: .98rem; font-weight: 600; color: var(--text-dark); word-break: break-word; }
.contact-method--wa .contact-method__icon { background: #E7F7EE; color: #178A4C; }
.map-wrapper { width: 100%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); aspect-ratio: 21 / 8; min-height: 300px; background: var(--light-grey); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 18 FAQ ---------------------------------------- */
.faq { border-top: 1px solid var(--border-color); }
.faq__item { border-bottom: 1px solid var(--border-color); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: clamp(1rem, .3vw + .95rem, 1.12rem); font-weight: 600; color: var(--text-dark); transition: color .2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--navy); }
.faq__icon { position: relative; width: 32px; height: 32px; flex: none; border: 1px solid var(--border-color); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--navy); transition: transform .35s var(--ease-out), background-color .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--navy-deep); border-color: var(--navy-deep); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 56px 24px 0; }
.faq__a p + p { margin-top: 10px; }
.faq__a p, .faq__a li { color: var(--text-body); font-size: .98rem; }
.faq__a a { color: var(--orange-strong); text-decoration: underline; text-underline-offset: 2px; }
.faq__item[open] .faq__a { animation: ke-rise .45s var(--ease-out) both; }

/* ---------- 19 CTA ---------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(243,106,33,.22), transparent 60%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 680px; }
.cta-title { color: #fff; font-size: clamp(1.7rem, 2vw + .8rem, 2.6rem); margin-bottom: 12px; }
.cta-subtitle, .cta-desc { color: rgba(255,255,255,.76); font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-deep); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: stretch;
}
.cta-card__body { padding: clamp(28px, 4vw, 56px); }
.cta-card__body h2, .cta-card__body h3 { color: #fff; }
.cta-card__body p { color: rgba(255,255,255,.76); margin-top: 12px; }
.cta-card__media { position: relative; min-height: 240px; }
.cta-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cta-card:hover .cta-card__media img { transform: scale(1.05); }
.cta-card__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy-deep), transparent 50%); }

/* ---------- 20 LEGAL & PROSE ------------------------------ */
.page-head { background: var(--off-white); border-bottom: 1px solid var(--border-color); padding-block: clamp(40px, 5vw, 72px); position: relative; }
.page-head h1 { font-size: clamp(2rem, 2.6vw + .8rem, 3rem); margin-bottom: 12px; }
.page-head p { color: var(--text-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .8rem; color: var(--text-muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { color: var(--steel-light); }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.3rem, .8vw + 1rem, 1.65rem); margin-top: 2.2em; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose p, .prose li { font-size: 1rem; line-height: 1.75; color: var(--text-body); }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--orange); }
.prose a { color: var(--orange-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { padding: 16px 18px; border-left: 3px solid var(--orange); background: var(--orange-subtle); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .92rem; color: var(--text-dark); }
.legal-meta { font-size: .85rem; color: var(--text-muted); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .86rem; }
.legal-toc strong { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: var(--text-muted); }
.legal-toc a { display: block; padding: 6px 0 6px 12px; border-left: 1px solid var(--border-color); color: var(--text-body); }
.legal-toc a:hover { color: var(--navy); border-color: var(--orange); }

/* 404 */
.err { position: relative; padding-block: clamp(64px, 10vw, 140px); overflow: hidden; }
.err__code { font-size: clamp(5rem, 16vw, 12rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--steel-light); }
.err h1 { font-size: clamp(2rem, 3vw + .6rem, 3rem); margin: 18px 0 14px; }

/* ---------- 21 FLOATING ACTIONS --------------------------- */
.scroll-progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 2000; background: var(--orange); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1900;
  width: 54px; height: 54px; border-radius: 50%; background: #1FA855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(16,110,56,.6);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); }
.whatsapp-float-tooltip { position: absolute; right: 66px; top: 50%; transform: translate(8px, -50%); background: var(--navy-deep); color: #fff; font-size: .78rem; padding: 7px 11px; border-radius: var(--radius-sm); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease-out); }
.whatsapp-float:hover .whatsapp-float-tooltip, .whatsapp-float:focus-visible .whatsapp-float-tooltip { opacity: 1; transform: translate(0, -50%); }
.back-to-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 1900; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--navy-deep); border: 1px solid var(--border-color); display: grid; place-items: center; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .35s var(--ease-out), visibility 0s linear .35s, background-color .25s, color .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease-out), background-color .25s, color .25s; }
.back-to-top:hover { background: var(--navy-deep); color: #fff; }
.back-to-top svg { width: 16px; height: 16px; }
/* Stack order, bottom-right: WhatsApp, chat assistant, back-to-top */
.chat-widget-wrapper { right: 20px !important; bottom: 88px !important; }
.back-to-top { bottom: 160px; }
body.nav-open .whatsapp-float, body.nav-open .back-to-top, body.nav-open .chat-widget-wrapper { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- 22 MOTION SYSTEM ------------------------------ */
/* Hidden states apply only when JS has confirmed it is running
   (html.js set inline in <head>). If the reveal script never
   initialises, html.reveal-off is added after 2.5 s and all
   content is shown. SEO text is always in the HTML. */
.js .reveal, .js .reveal-up, .js .reveal-fade, .js .reveal-scale, .js .reveal-mask, .js .reveal-card,
.js [data-stagger] > * {
  transition-property: opacity, transform, clip-path;
  transition-duration: .8s; transition-timing-function: var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal, .js .reveal-up, .js [data-stagger] > * { opacity: 0; transform: translateY(26px); }
.js .reveal-fade { opacity: 0; }
.js .reveal-card { opacity: 0; transform: translateY(30px) scale(.985); }
.js .reveal-scale { opacity: 0; transform: scale(1.06); transition-duration: 1.1s; }
/* The wipe is applied to the image, not the observed frame: a frame clipped
   to zero height never counts as intersecting, so it would never reveal. */
.js .reveal-mask > img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.1s var(--ease-out), transform 1.4s var(--ease-out); }
.js .is-in.reveal, .js .is-in.reveal-up, .js .is-in.reveal-fade, .js .is-in.reveal-card, .js .is-in.reveal-scale,
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js .is-in.reveal-mask > img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .reveal-line { display: block; overflow: hidden; }
.js .reveal-line > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out) var(--d, 0s); }
.js .is-in .reveal-line > span, .js .reveal-line.is-in > span { transform: none; }
.js .delay-100 { --d: .1s; } .js .delay-200 { --d: .2s; } .js .delay-300 { --d: .3s; } .js .delay-400 { --d: .4s; } .js .delay-500 { --d: .5s; }
html.reveal-off .reveal, html.reveal-off .reveal-up, html.reveal-off .reveal-fade, html.reveal-off .reveal-card,
html.reveal-off .reveal-scale, html.reveal-off .reveal-mask > img, html.reveal-off [data-stagger] > *,
html.reveal-off .reveal-line > span, html.reveal-off .reveal-mask img { opacity: 1 !important; transform: none !important; clip-path: none !important; }

@keyframes ke-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ke-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ke-line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes ke-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes ke-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ke-drift { from { transform: translateY(0); } to { transform: translateY(60px); } }
@keyframes ke-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-up, .js .reveal-fade, .js .reveal-card, .js .reveal-scale, .js [data-stagger] > *, .js .reveal-line > span, .js .reveal-mask img { opacity: 1; transform: none; }
  .js .reveal-mask > img { clip-path: none; }
  .hero-home__media { transform: none !important; }
}

/* ---------- 23 RESPONSIVE --------------------------------- */
@media (max-width: 1320px) {
  .nav__link { padding: 0 9px; font-size: .875rem; }
  .nav__link::after { left: 9px; right: 9px; }
  .mega__inner { grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 28px; }
}
@media (max-width: 1199px) {
  .topbar__tag { display: none; }
  .topbar__links { margin-left: auto; }
  .nav, .head-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .head-cta { margin-left: auto; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand__links { grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 28px; }
  .hero-home__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); }
  .cap-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr) 40px; }
  .cap-row__thumb { display: none; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { --cols: 2 !important; }
  .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--border-color); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; }
  .hero-home__inner { grid-template-columns: minmax(0, 1fr); }
  .hero-card { display: none; }
  .contact-grid, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .spec-fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-fact:nth-child(3n) { border-right: 1px solid var(--border-light); }
  .spec-fact:nth-child(2n) { border-right: 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* Two columns: centre an odd last card at the same width as the others */
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - clamp(20px, 2.4vw, 32px)) / 2); }
}
@media (max-width: 860px) {
  .split, .grid-2, .editorial-block { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .mega { display: none; }
  .cta-card { grid-template-columns: minmax(0, 1fr); }
  .cta-card__media { min-height: 200px; order: -1; }
  .cta-card__media::before { background: linear-gradient(0deg, var(--navy-deep), transparent 60%); }
  .foot-cta__inner { flex-direction: column; align-items: flex-start; }
  .cap-row { grid-template-columns: 40px minmax(0, 1fr) 40px; row-gap: 6px; }
  .cap-row__text { grid-column: 2; grid-row: 2; }
  .cap-row__arrow { grid-column: 3; grid-row: 1 / span 2; }
  .hero-tech-coords { display: none; }
  .media-stack { padding: 0 0 14% 8%; }
}
@media (max-width: 767px) {
  :root { --header-h: 66px; }
  .topbar__tag, .topbar__link--email, .topbar__link--intl { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; }
  .topbar__link { padding: 0 8px; }
  .brand img { height: 44px; }
  .grid-3, .grid-4, .product-category-grid { grid-template-columns: minmax(0, 1fr); }
  .component-card-grid, .product-gallery { --gap: 12px; }
  .component-card-body { padding: 14px; }
  .component-card-title { font-size: .92rem; }
  .component-card-desc { display: none; }
  .gallery-overlay { padding: 12px 14px; }
  .gallery-caption { font-size: .8rem; }
  .steps { --cols: 1 !important; }
  .step, .step + .step { padding: 22px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--border-color); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li, .hero-facts li + li { padding: 14px 0 0; border-left: 0; }
  .hero-facts li + li { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-actions .btn, .inner-page-hero__cta .btn, .cta-actions .btn, .actions .btn { flex: 1 1 100%; }
  .hero-scroll { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .check-list--2, .spec-list { grid-template-columns: minmax(0, 1fr); }
  .spec-fact-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-fact { border-right: 0 !important; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-block: 44px 28px; }
  .foot-brand__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col--contact { grid-column: 1 / -1; }
  .foot-bottom__inner { flex-direction: column; align-items: flex-start; padding-right: 72px; padding-bottom: 28px; } /* clear the floating chat/WhatsApp buttons */
  .foot-link { padding-block: 5px; }
  .foot-contact a { padding-block: 3px; }
  .foot-legal { gap: 2px 18px; }
  .foot-legal a { display: inline-block; padding-block: 6px; }
  .card__label, .related-item__tag { font-size: .72rem; }
  .faq__a { padding-right: 0; }
  .map-wrapper { aspect-ratio: 4 / 3; }
  .lightbox-prev { left: 4px; } .lightbox-next { right: 4px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .back-to-top { right: 18px; bottom: 140px; }
  .media-badge { position: static; border-radius: var(--radius-md); margin-top: 12px; max-width: none; }
}
@media (max-width: 600px) {
  /* Tables fit the screen instead of hiding half of each row off to the side */
  .spec-table { min-width: 0; }
  .spec-table th, .spec-table td { padding: 12px 14px; overflow-wrap: break-word; hyphens: auto; }
  /* Three-column tables: one card per row, each value labelled from its column heading */
  .spec-table--stack thead { display: none; }
  .spec-table--stack, .spec-table--stack tbody, .spec-table--stack tr, .spec-table--stack th, .spec-table--stack td { display: block; width: auto; }
  .spec-table--stack tbody tr { border-bottom: 1px solid var(--border-color); padding: 6px 0; }
  .spec-table--stack tbody tr:last-child { border-bottom: 0; }
  .spec-table--stack tbody th, .spec-table--stack tbody td { border-bottom: 0; padding-block: 6px; }
  .spec-table--stack tbody th { width: auto; background: none; font-size: 1rem; }
  .spec-table--stack tbody td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
  .spec-table--stack tbody tr:hover td { background: none; }
  /* Two-column label/value tables: label above its value; per-column header rows are dropped */
  .spec-table:not(.spec-table--stack) thead:has(th + th) { display: none; }
  .spec-table:not(.spec-table--stack) tbody tr, .spec-table:not(.spec-table--stack) tbody th, .spec-table:not(.spec-table--stack) tbody td { display: block; width: auto; }
  .spec-table:not(.spec-table--stack) tbody th { border-bottom: 0; padding-bottom: 2px; background: none; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
  .spec-table:not(.spec-table--stack) tbody td { padding-top: 0; }
  .spec-table:not(.spec-table--stack) tbody tr { border-bottom: 1px solid var(--border-light); }
  .spec-table:not(.spec-table--stack) tbody tr:last-child { border-bottom: 0; }
  .spec-table:not(.spec-table--stack) tbody tr td { border-bottom: 0; }
  .spec-table:not(.spec-table--stack) tbody tr:hover td { background: none; }
}
@media (max-width: 340px) {
  .component-card-grid, .product-gallery { --cols: 1; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { padding-left: 0; border-left: 0; margin-top: 20px; }
}
@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; }
}
@media print {
  .topbar, .site-head, .mnav, .whatsapp-float, .back-to-top, .chat-widget-wrapper, .scroll-progress-bar, .foot-cta { display: none !important; }
  .js .reveal, .js .reveal-up, .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}
.foot-contact a.foot-quote { display: inline-flex; margin-top: 6px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); color: #fff; font-weight: 600; width: max-content; transition: background-color .25s, border-color .25s; }
.foot-contact a.foot-quote:hover { background: var(--orange-strong); border-color: var(--orange-strong); }

/* ---------- 24 PAGE-LEVEL ADDITIONS ------------------------ */
.sec--navy p a, .on-dark p a { color: #FF8A4C; text-decoration: underline; text-underline-offset: 2px; }
.steps[style*="--cols:1"] .step, .steps[style*="--cols:1"] .step + .step { padding: 18px 0; border-left: 0; }
.steps[style*="--cols:1"] .step + .step { border-top: 1px solid var(--border-color); }
.media-frame--product { background: #fff; border: 1px solid var(--border-light); }
.media-frame--product img { object-fit: contain; padding: 6%; }
a.tile { display: block; }
a.tile h3 { transition: color .25s; }
a.tile:hover h3 { color: var(--navy); }
a.tile::after { content: ''; position: absolute; right: 22px; top: 26px; width: 18px; height: 18px; opacity: .35; transition: opacity .3s, transform .35s var(--ease-out);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23C94C0E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
a.tile:hover::after { opacity: 1; transform: translateX(4px); }
.tile .card__list { margin-top: 14px; }
.contact-method > span:last-child { min-width: 0; }
.gallery-zoom { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; border-radius: inherit; cursor: zoom-in; }
.gallery-zoom:focus-visible { outline: 2px solid var(--orange-strong); outline-offset: 3px; }
.spec-note .link-arrow { font-size: inherit; }
.card-link { transition: color .2s; }
figure { margin: 0; }
.card-link { white-space: nowrap; }
.card-link .arr, .foot-link .arr { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease-out); }
.card__media--square { background: #fff; }
.card__media--square::after { background: linear-gradient(180deg, transparent 70%, rgba(3,26,54,.18)); opacity: 1; }
a.card:hover .card__media--square::after { opacity: 1; }
@media (max-width: 1024px) { .contact-grid .form-panel { order: -1; } }
p.gallery-title { font-size: .98rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.lightbox-title { font-weight: 600; color: var(--text-dark); }

/* ---------- 25 GEAR MOTIF -------------------------------- */
/* A meshing pair of engineering-drawing gears (tools/make-gears.ps1).
   Geometry: large gear box = --g; small box = .5333 --g; small centre sits
   .65 --g from the large centre at 135deg, so with a 1:2 turning ratio the
   teeth stay engaged. Positioned from the top-right corner via --gx/--gy. */
.tech-grid, .inner-page-hero, .cta-band, .site-foot, .hero-home { --g: 620px; --gx: -210px; --gy: -230px; --go: .07; }
.tech-grid { overflow: hidden; }
.tech-grid::before, .tech-grid::after,
.inner-page-hero__overlay::before, .inner-page-hero__overlay::after,
.hero-home__grid::before, .hero-home__grid::after,
.site-foot::before, .site-foot::after,
.cta-band::after {
  content: ''; position: absolute; inset: auto; pointer-events: none;
  -webkit-mask-image: none; mask-image: none;
  background: url("../assets/web/brand/gear-lg-navy.svg") center / contain no-repeat;
  opacity: var(--go); will-change: transform;
}
.tech-grid::before, .inner-page-hero__overlay::after, .hero-home__grid::after, .site-foot::before, .cta-band::after {
  width: var(--g); height: var(--g); right: var(--gx); top: var(--gy);
  animation: ke-gear 180s linear infinite;
}
.tech-grid::after, .inner-page-hero__overlay::before, .hero-home__grid::before, .site-foot::after {
  width: calc(var(--g) * .5333); height: calc(var(--g) * .5333);
  right: calc(var(--gx) + var(--g) * .6929); top: calc(var(--gy) + var(--g) * .6929);
  background-image: url("../assets/web/brand/gear-sm-navy.svg");
  animation: ke-gear-rev 90s linear infinite;
}
.tech-grid::before, .tech-grid::after { z-index: -1; }
/* Dark surfaces use the white drawing */
.sec--navy.tech-grid::before, .inner-page-hero__overlay::after, .hero-home__grid::after, .site-foot::before, .cta-band::after { background-image: url("../assets/web/brand/gear-lg-white.svg"); }
.sec--navy.tech-grid::after, .inner-page-hero__overlay::before, .hero-home__grid::before, .site-foot::after { background-image: url("../assets/web/brand/gear-sm-white.svg"); }
.sec--navy, .inner-page-hero, .hero-home, .site-foot, .cta-band { --go: .075; }

/* Placement per surface */
.inner-page-hero { --g: 640px; --gx: -150px; --gy: -120px; }
.inner-page-hero__overlay::before, .inner-page-hero__overlay::after { opacity: .09; }
.hero-home { --g: 760px; --gx: -300px; --gy: 18%; }
.hero-home__grid { background: none; -webkit-mask-image: none; mask-image: none; overflow: hidden; }
.hero-home__grid::before, .hero-home__grid::after { opacity: .08; }
.cta-band { --g: 520px; --gx: -120px; --gy: -140px; }
.cta-band::before { background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(243,106,33,.22), transparent 60%); }
.cta-band::after { z-index: -1; }
.site-foot { --g: 600px; --gx: -190px; --gy: -210px; }
.site-foot::before, .site-foot::after { z-index: 0; -webkit-mask-image: none; mask-image: none; }
.site-foot > * { position: relative; z-index: 1; }
.page-head.tech-grid { --g: 480px; --gx: -120px; --gy: -170px; }
.bg-off-white.tech-grid, .bg-light-grey.tech-grid { --go: .075; }

@keyframes ke-gear { to { transform: rotate(360deg); } }
@keyframes ke-gear-rev { to { transform: rotate(-360deg); } }
@media (max-width: 767px) {
  .tech-grid, .inner-page-hero, .cta-band, .site-foot { --g: 420px; --gx: -190px; --gy: -170px; }
  .hero-home { --g: 520px; --gx: -300px; --gy: 55%; }
}.inner-page-hero__overlay::before, .inner-page-hero__overlay::after { opacity: .14; }
.hero-home__grid::before, .hero-home__grid::after { opacity: .15; }
.card__media--square::after { background: linear-gradient(180deg, transparent 78%, rgba(3,26,54,.08)); }
.media-team { position: relative; }
/* Team photo and plant entrance: shown whole (no crop), at their own proportion */
.media-frame--team, .media-frame--natural { aspect-ratio: auto; }
.media-frame--team img, .media-frame--natural img { height: auto; object-fit: contain; }

.media-team .media-badge { top: -22px; left: 24px; right: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
@media (max-width: 767px) { .media-team .media-badge { position: static; } }
/* Equal-column split; media top sits level with the heading (below the eyebrow row) */
@media (min-width: 861px) { .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.media-team--aligned { margin-top: 42px; }
@media (max-width: 860px) { .media-team--aligned { margin-top: 0; } }

/* ---------- 26 3D MOULD VIEWER (plastic-injection-moulding.html) ------ */
/* Kept here, not in widgets.css, because it is page content: widgets.css loads
   without blocking and would otherwise style the viewer late. */
/* ------------------------------------------------------------
   17. 3D MOULD VISUALIZATION
   ------------------------------------------------------------ */
/* ============================================================
   3D INTERACTIVE INJECTION MOULD SIMULATOR
   ============================================================ */
.mould-visual-container {
  background: linear-gradient(180deg, #0D1622 0%, #070D14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(3, 26, 54, 0.35);
  color: #FFFFFF;
}

.mould-3d-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.mould-3d-header h3 {
  color: #FFFFFF !important;
}

.mould-3d-badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.mould-3d-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  background: radial-gradient(circle at center, #1B2533 0%, #090E16 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
  user-select: none;
}

.mould-3d-wrapper:active {
  cursor: grabbing;
}

.mould-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mould-3d-hud-top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.mould-3d-hint {
  background: rgba(3, 26, 54, 0.8);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
}

.mould-3d-hud-btn {
  background: rgba(3, 26, 54, 0.8);
  backdrop-filter: blur(6px);
  color: var(--orange);
  border: 1px solid rgba(243, 106, 33, 0.4);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

.mould-3d-hud-btn.active,
.mould-3d-hud-btn:hover {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
}

.mould-3d-hud-bottom {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  pointer-events: none;
  z-index: 10;
}

.mould-3d-status-bar {
  background: rgba(3, 26, 54, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--orange);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: #E5EBF2;
  line-height: 1.4;
}

.mould-visual-container strong { color: #FFFFFF; }

.mould-3d-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mould-3d-btn {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.mould-3d-btn.active,
.mould-3d-btn:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(243, 106, 33, 0.35);
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .mould-visual-container { padding: 18px 14px; }
  .mould-3d-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Chat and enquiry pop-up are styled by widgets.css; hide them until it has loaded */
.chat-widget-wrapper, .intl-modal-overlay { visibility: hidden; }
