/* Velmach Aerospace: home page. Breakpoints match VM.bp in js/vm-core.js: sm < 760, md < 1100, lg. */

:root {
  --ink: #07111D; --ink-2: #0B1928; --navy: #0B1B2B; --graphite: #1F2933;
  --steel: #56626E; --steel-2: #8A96A3; --mist: #C9D2DB; --dim: #9FB0C1;
  --paper: #F3F1EC; --paper-2: #EAE7E0; --white: #FBFBF9; --line: #DADBD8; --line-2: #C3C7C9;
  --blue: #0759A5; --blue-2: #0A6BC4; --sig: #6AA6E8; --aog: #E0442E; --aog-2: #FF8A73;
  --fs: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'Inter', system-ui, sans-serif;
  --fk: var(--fm);                      /* small uppercase labels (Inter in EN, Arabic face in AR) */
  --ls-k: .1em;
  --wrap: 1320px; --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dir: 1; --hdr: 160px;
}
[dir="rtl"] { --fs: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; --fk: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; --ls-k: 0; --dir: -1; }
@media (max-width: 1199px) { :root { --hdr: 123px; } }
@media (max-width: 759px) { :root { --hdr: 119px; } }

/* (unused since the switch to Inter) */
@font-face { font-family: 'VMAmp'; src: local('Helvetica Neue'), local('HelveticaNeue'), local('Arial'), local('Liberation Sans'); unicode-range: U+0026; }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html, body { margin: 0; padding: 0; background: var(--ink); }
body { font: 400 16px/1.6 var(--fs); color: var(--navy); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
[dir="rtl"] body { line-height: 1.85; }
#dc-root, #dc-root > .sc-host { height: auto !important; }   /* the runtime sizes its root for full-page components */
x-dc { display: none; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid #3D8BE0; outline-offset: 3px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
main { display: block; background: var(--white); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* icons: one family, stroke inherited into the sprite symbols */
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.arw { width: 18px; height: 18px; transform: translateX(calc(var(--ax, 0px) * var(--dir))) scaleX(var(--dir)); transition: transform .4s var(--ease); }

/* type */
.h2 { font: 500 clamp(30px, 3.5vw, 52px)/1.06 var(--fs); font-stretch: 108%; letter-spacing: -.024em; color: inherit; text-wrap: balance; max-width: 19ch; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: #4A5561; max-width: 52ch; text-wrap: pretty; }
.mono-k { font: 600 11.5px/1.4 var(--fk); letter-spacing: var(--ls-k); text-transform: uppercase; color: var(--steel); }
[dir="rtl"] .h2, [dir="rtl"] .hero-h { line-height: 1.35; letter-spacing: 0; }
[dir="rtl"] .mono-k { font-size: 13px; }

/* hero tag bar: framed strip, one cell per term (split from hero2_eyebrow by js/home.js) */
.tagbar { display: inline-flex; align-items: stretch; align-self: flex-start; max-width: 100%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .035); font: 500 13px/1 var(--fs); font-stretch: 112%; letter-spacing: .07em; text-transform: uppercase; color: #E2E9F0; }
[dir="rtl"] .tagbar { font-size: 14.5px; letter-spacing: 0; }
.tagbar-mark { position: relative; width: 34px; flex-shrink: 0; border-inline-end: 1px solid rgba(255, 255, 255, .16); }
.tagbar-mark::before { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; background: var(--sig); }
.tagbar-mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: 15px; height: 15px; border: 1px solid rgba(106, 166, 232, .45); }
.tagbar-items { display: flex; flex-wrap: wrap; align-items: center; padding: 11px 16px; }
.tagbar-items.is-split { padding: 0; }
.tagbar-item { display: flex; align-items: center; padding: 11px 16px; white-space: nowrap; }
.tagbar-item + .tagbar-item { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.tagbar-item:first-child { color: #fff; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding-inline: 24px; border: 0; border-radius: 0; font: 600 15px/1 var(--fs); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s; }
.btn:hover { --ax: 3px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.link-arrow:hover { --ax: 4px; }

/* sections */
.sec { position: relative; padding-block: clamp(72px, 10vw, 144px); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .lead { color: var(--dim); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h2 { max-width: 18ch; }

/* ========== 01 HERO ========== */
.hero { position: relative; display: flex; flex-direction: column; min-height: max(680px, min(100svh, 1000px)); padding-top: var(--hdr); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(48% 62% at 72% 52%, rgba(22, 40, 60, .55) 0%, rgba(8, 14, 22, .4) 45%, transparent 72%), linear-gradient(180deg, #050A10 0%, #020407 60%, #010203 100%); animation: fadeIn 1.2s both; }
[dir="rtl"] .hero-bg { transform: scaleX(-1); }
/* the engine's right edge mirrors the text's left margin: the stage is placed from the content edge, less the empty margin inside the drawing (~19% of its width) */
.hero-viz { position: absolute; z-index: -1; top: calc(50% + var(--hdr) / 2 - clamp(150px, 20vh, 250px)); --hv-w: min(54vw, 860px); inset-inline-end: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gut) - var(--hv-w) * .19); width: var(--hv-w); aspect-ratio: 9 / 7; transform: translateY(-50%); pointer-events: none; perspective: 1600px; }
/* stage: whole composition tilts with the pointer; each layer sits at its own depth and parallax rate */
.hv-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--mx, 0) * 3deg)) rotateX(calc(var(--my, 0) * -2.4deg)); transition: transform 1.2s var(--ease); }
.hv-layer { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.hv-back { transform: translate3d(calc(var(--mx, 0) * -6px), calc(var(--my, 0) * -5px), -160px) scale(1.1); animation: hvIn 1.8s .3s var(--ease) both; }
.hv-back svg { width: 100%; height: 100%; animation: hvPlate 34s ease-in-out infinite alternate; }
.hv-glow { transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px), -80px); background: radial-gradient(42% 46% at 52% 50%, rgba(106, 166, 232, .10), rgba(106, 166, 232, .03) 55%, transparent 72%); animation: fadeIn 2.4s .2s both; }
.hv-main { transform: translate3d(calc(var(--mx, 0) * -20px), calc(var(--my, 0) * -16px), 0); }
.hv-float { position: absolute; inset: 0; animation: hvRise 1.9s .15s var(--ease) both; }
.hv-bob { position: absolute; inset: 0; animation: hvFloat 12s ease-in-out infinite alternate; }
/* intro: a scan line sweeps across and uncovers the engine, then the schematic draws itself on */
.hv-engine { position: absolute; inset: 0; width: 100%; height: 100%; display: block; animation: hvReveal 2s .3s var(--ease-io) both; }
.hv-scan { position: absolute; top: 6%; bottom: 6%; inset-inline-start: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--sig) 18%, var(--sig) 82%, transparent); box-shadow: 0 0 18px 2px rgba(106, 166, 232, .45); opacity: 0; animation: hvScan 2s .3s var(--ease-io) both; }
.hv-callouts { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.hv-callouts.is-ready { opacity: 1; }
.hv-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-lead { stroke: rgba(200, 216, 232, .34); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .5s; }
.is-ready .hv-lead { animation: hvDraw .9s calc(1.7s + var(--i) * .14s) var(--ease-io) forwards; }
.hv-dot { fill: #0A1118; stroke: rgba(200, 216, 232, .7); stroke-width: 1.2; opacity: 0; transition: stroke .5s, fill .5s; }
.is-ready .hv-dot { animation: fadeIn .4s calc(1.6s + var(--i) * .14s) both; }
.hv-ring { fill: none; stroke: var(--sig); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hv-lead.is-on { stroke: rgba(106, 166, 232, .85); }
.hv-dot.is-on { stroke: var(--sig); fill: var(--sig); }
.hv-ring.is-on { animation: hvPing 1.3s var(--ease) 2; }
.hv-tag { position: absolute; top: 0; left: 0; display: flex; align-items: flex-start; gap: 7px; white-space: nowrap; font: 400 10px/1.35 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: #8794A1; opacity: 0; transition: color .5s; will-change: transform; }
.hv-tag.is-end { flex-direction: row-reverse; text-align: end; }
/* hover: the label lifts onto a framed panel, its leader thickens and the anchor keeps pinging */
.hv-tag { pointer-events: auto; cursor: default; isolation: isolate; }
.hv-tag::before { content: ""; position: absolute; z-index: -1; inset: -6px -9px; border: 1px solid transparent; background: transparent; transition: border-color .35s, background-color .35s, box-shadow .35s; }
.hv-tag::after { content: ""; position: absolute; inset-inline-start: -9px; top: -6px; width: 6px; height: 6px; border-top: 1px solid var(--sig); border-inline-start: 1px solid var(--sig); opacity: 0; transition: opacity .35s; }
.hv-tag.is-end::after { inset-inline-start: auto; inset-inline-end: -9px; border-inline-start: 0; border-inline-end: 1px solid var(--sig); }
.hv-tag.is-hover::before { border-color: rgba(106, 166, 232, .38); background-color: rgba(6, 12, 19, .82); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 24px rgba(106, 166, 232, .12); }
.hv-tag.is-hover::after { opacity: 1; }
.hv-tag.is-hover .hv-tag-n { color: #fff; text-shadow: 0 0 10px rgba(106, 166, 232, .8); }
.hv-tag-n, .hv-tag-t small { transition: color .35s, text-shadow .35s; }
.hv-lead.is-hover { stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(106, 166, 232, .6)); }
.hv-dot { transform-box: fill-box; transform-origin: center; }
.hv-dot.is-hover { transform: scale(1.6); }
.hv-dot { transition: stroke .5s, fill .5s, transform .35s var(--ease); }
.hv-ring.is-hover { animation: hvPing 1.3s var(--ease) infinite; }
.is-ready .hv-tag { animation: hvTagIn .7s calc(2.1s + var(--i) * .14s) var(--ease) both; }
.hv-tag-n { font-weight: 500; color: var(--sig); }
.hv-tag-t { display: flex; flex-direction: column; gap: 2px; }
.hv-tag-t small { font-size: 9px; letter-spacing: .08em; color: #56636F; }
.hv-tag.is-on { color: #fff; }
.hv-tag.is-on small { color: #A8B4C1; }
[dir="rtl"] .hv-tag { font-family: var(--fk); letter-spacing: 0; text-transform: none; font-size: 11.5px; }
[dir="rtl"] .hv-tag-t small { font-size: 10.5px; letter-spacing: 0; }
[dir="rtl"] .hv-engine { scale: -1 1; }
.hv-front { transform: translate3d(calc(var(--mx, 0) * -28px), calc(var(--my, 0) * -22px), 90px); }
.hv-corner { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(255, 255, 255, .26); animation: fadeIn 1.2s .5s both; }
.hv-corner--tl { top: 4%; left: 16%; border-top-width: 1px; border-left-width: 1px; }
.hv-corner--tr { top: 4%; right: 9%; border-top-width: 1px; border-right-width: 1px; }
.hv-corner--bl { bottom: 4%; left: 16%; border-bottom-width: 1px; border-left-width: 1px; }
.hv-corner--br { bottom: 4%; right: 9%; border-bottom-width: 1px; border-right-width: 1px; }
.hv-cap { position: absolute; right: 13%; bottom: 2.5%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: max-content; max-width: 62%; font: 400 10.5px/1.4 var(--fm); letter-spacing: .08em; color: #66747F; animation: fadeUp 1.2s .55s var(--ease) both; }
[dir="rtl"] .hv-cap { right: auto; left: 13%; align-items: flex-start; }
[dir="rtl"] .hv-cap-code { font-weight: 500; color: #E6ECF2; }
.hv-cap-rule { transform-origin: left; background: linear-gradient(270deg, transparent, rgba(255, 255, 255, .22)); }
[dir="rtl"] .hv-corner--tl, [dir="rtl"] .hv-corner--bl { left: 9%; }
[dir="rtl"] .hv-corner--tr, [dir="rtl"] .hv-corner--br { right: 16%; }
.hv-cap-rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22)); transform-origin: right; animation: hvRule 1.4s .6s var(--ease) both; }
.nd { position: relative; width: 100%; aspect-ratio: 1; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.nd-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nd-sweep { position: absolute; inset: 8.75%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 296deg, rgba(106, 166, 232, .04) 340deg, rgba(106, 166, 232, .10) 359.6deg, transparent 360deg); animation: ndSweep 12s linear infinite; }
.nd-flown { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .5s var(--ease-io) forwards; }
.nd-ahead { animation: dashRun 3.2s linear infinite; }
.nd-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
.nd-ac { animation: drift 16s ease-in-out infinite alternate, fadeIn 1.6s .2s both; }
.nd-labels, .nd-rings { animation: fadeIn 2s both; }

.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); align-items: center; padding-block: clamp(40px, 6vh, 88px); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 680px; }
/* the copy column lies over the engine drawing: only its content takes the pointer, so the callouts beside it can be hovered */
.hero-grid { pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy > .hero-h { pointer-events: none; }   /* its box runs well past the text, over the spinner callout */
.hero-copy > * { animation: fadeUp 1.1s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .2s; } .hero-copy > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3) { animation-delay: .33s; } .hero-copy > :nth-child(4) { animation-delay: .4s; } .hero-copy > :nth-child(5) { animation-delay: .48s; }
/* selection-bracket frame drawn around the heading on load, then left faint */
.hero-h { position: relative; width: fit-content; }
.hero-h::before { content: ""; position: absolute; inset: -10px -14px; pointer-events: none;
  background: linear-gradient(var(--sig), var(--sig)) top left / 12px 1px, linear-gradient(var(--sig), var(--sig)) top left / 1px 12px,
    linear-gradient(var(--sig), var(--sig)) top right / 12px 1px, linear-gradient(var(--sig), var(--sig)) top right / 1px 12px,
    linear-gradient(var(--sig), var(--sig)) bottom left / 12px 1px, linear-gradient(var(--sig), var(--sig)) bottom left / 1px 12px,
    linear-gradient(var(--sig), var(--sig)) bottom right / 12px 1px, linear-gradient(var(--sig), var(--sig)) bottom right / 1px 12px;
  background-repeat: no-repeat; opacity: .35; animation: hBox 1.6s .1s var(--ease) both; }
.hero-h { font: 500 clamp(38px, 4.5vw, 70px)/1.02 var(--fs); font-stretch: 106%; letter-spacing: -.03em; text-wrap: balance; max-width: 17ch; }
.hero-sub { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: #A8B4C1; max-width: 54ch; text-wrap: pretty; }

.psearch { position: relative; z-index: 5; margin-top: 10px; max-width: 620px; }   /* above .hero-aog and .hero-meta so the open Aircraft / Brand list is not covered */
.psearch-label { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font: 500 12px/1.4 var(--fk); letter-spacing: var(--ls-k); text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .psearch-label { font-size: 14px; }
.psearch-field { position: relative; display: flex; align-items: stretch; height: 64px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .22); transition: border-color .3s, background .3s; }
.psearch-field:hover { border-color: rgba(255, 255, 255, .34); }
.psearch-field:focus-within { border-color: var(--sig); background: rgba(255, 255, 255, .07); }
.psearch-ic { align-self: center; margin-inline: 18px 6px; color: var(--steel-2); }
.psearch input { flex: 1; min-width: 0; border: 0; padding-inline: 8px; background: transparent; color: #fff; font: 400 16px var(--fm); outline: none; }
[dir="rtl"] .psearch input { text-align: right; }
.psearch input::placeholder { color: #75828F; opacity: 1; font-family: var(--fs); }
.psearch input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.psearch-btn { height: auto; margin: 6px; padding-inline: 22px; }
.psearch-line { position: absolute; inset-inline: -1px; bottom: -1px; height: 2px; background: var(--sig); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .7s var(--ease); }
[dir="rtl"] .psearch-line { --origin: right; }
.psearch-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.psf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.psf-l { font: 500 11px/1.3 var(--fk); letter-spacing: var(--ls-k); text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .psf-l { font-size: 13px; }
.psf select { width: 100%; height: 44px; padding-inline: 12px 30px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 0; background: rgba(255, 255, 255, .045) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2375828F' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 11px 8px; color: #fff; font: 400 14px var(--fs); text-overflow: ellipsis; appearance: none; cursor: pointer; transition: border-color .3s; }
[dir="rtl"] .psf select { padding-inline: 12px 30px; background-position: left 12px center; }
.psf select:hover { border-color: rgba(255, 255, 255, .34); }
.psf select:focus-visible { outline: none; border-color: var(--sig); }
.psf select option { color: #0b1620; background: #fff; }
/* searchable list laid over the Aircraft / Brand selects (js/home-filters.js) */
.psf { position: relative; }
.psf .pcb-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pcb { position: relative; }
.pcb-btn { display: flex; align-items: center; width: 100%; height: 44px; padding-inline: 12px 30px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 0; background: rgba(255, 255, 255, .045) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2375828F' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 11px 8px; color: #fff; font: 400 14px var(--fs); text-align: start; cursor: pointer; transition: border-color .3s; }
[dir="rtl"] .pcb-btn { background-position: left 12px center; }
.pcb-btn:hover { border-color: rgba(255, 255, 255, .34); }
.pcb-btn:focus-visible, .pcb.is-open .pcb-btn { outline: none; border-color: var(--sig); }
.pcb-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcb-pop { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 4px); min-width: 260px; background: #fff; color: #0b1620; border: 1px solid #C3C7C9; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.pcb.is-up .pcb-pop { top: auto; bottom: calc(100% + 4px); }
.pcb-pop[hidden] { display: none; }
.psearch .pcb-q { display: block; flex: none; width: 100%; height: 42px; padding-inline: 12px; border: 0; border-bottom: 1px solid #E6E4DE; background: #F6F5F1; color: #0b1620; font: 400 14px var(--fm); outline: none; }
.psearch .pcb-q:focus { background: #fff; box-shadow: inset 0 -2px 0 var(--sig); }
.pcb-list { list-style: none; margin: 0; padding: 4px 0; max-height: var(--pcb-max, 300px); overflow-y: auto; overscroll-behavior: contain; }
.pcb-g { padding: 10px 12px 4px; font: 600 10.5px/1.3 var(--fk); letter-spacing: var(--ls-k); text-transform: uppercase; color: #56626E; position: sticky; top: -4px; background: #fff; }
.pcb-o { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 12px; font: 400 14px/1.35 var(--fs); cursor: pointer; }
.pcb-o small { flex: none; font: 400 12px var(--fm); color: #8A96A3; }
.pcb-o.is-act { background: #EEF4FA; }
.pcb-o[aria-selected="true"] { font-weight: 600; color: #0759A5; }
.pcb-o.is-off { color: #A9B1B8; cursor: default; }
.psearch .pcb-q::placeholder { color: #8A96A3; font-family: var(--fm); }
[dir="rtl"] .psearch .pcb-q { text-align: right; }
.psearch .pcb-q::-webkit-search-cancel-button { filter: none; opacity: .6; }
.pcb-none { padding: 12px; font-size: 14px; color: #56626E; }
/* Condition chips: code on top, full name below; several can be on at once */
.pcond { margin: 12px 0 0; padding: 0; border: 0; min-width: 0; }
.pcond legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0; margin-bottom: 6px; }
.pcond-hint { text-transform: none; letter-spacing: 0; color: #75828F; font-size: 12px; }
.pcond-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pcond-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 7px 4px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 0; background: rgba(255, 255, 255, .045); color: #fff; text-align: center; cursor: pointer; transition: border-color .25s, background .25s; }
.pcond-chip b { font: 600 14px/1 var(--fm); letter-spacing: .04em; }
.pcond-chip span { font: 400 10.5px/1.2 var(--fs); color: #A8B4C1; }
.pcond-chip:hover { border-color: rgba(255, 255, 255, .4); }
.pcond-chip:focus-visible { outline: 2px solid var(--sig); outline-offset: 1px; }
.pcond-chip[aria-pressed="true"] { border-color: var(--sig); background: rgba(7, 89, 165, .55); box-shadow: inset 0 -2px 0 var(--sig); }
.pcond-chip[aria-pressed="true"] span { color: #fff; }
.psearch-field:focus-within .psearch-line { transform: scaleX(1); }

.hero-aog { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 4px; }
.aog-link { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 16px 18px; border: 1px solid rgba(224, 68, 46, .65); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: background .3s, border-color .3s; }
.aog-link > .ic:first-child { color: var(--aog-2); }
.aog-link-247 { font: 500 12px var(--fm); color: var(--aog-2); letter-spacing: .06em; }
.aog-link .arw { width: 16px; height: 16px; color: var(--aog-2); }
.aog-link:hover { background: rgba(224, 68, 46, .14); border-color: var(--aog); color: #fff; --ax: 3px; }
.hero-note { font-size: 13.5px; line-height: 1.55; color: #7F8C99; max-width: 42ch; }

.hero-meta { position: relative; border-top: 1px solid rgba(170, 196, 222, .12); animation: fadeIn 1.4s .6s both; }
.hero-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; font: 400 11px/1.4 var(--fm); letter-spacing: .1em; color: #66747F; text-transform: uppercase; }
.hero-meta-pos { display: inline-flex; align-items: center; gap: 10px; color: var(--mist); }
.hero-meta-pos .ic { width: 15px; height: 15px; color: var(--sig); stroke-width: 1.8; }
[dir="rtl"] .hero-meta-org { font-family: var(--fk); letter-spacing: 0; font-size: 12.5px; }
.hero-meta-hdg { display: flex; gap: 18px; }
.hero-meta-hdg span:nth-child(2) { color: var(--sig); }
.hero-meta-hdg i { display: none; }
.hero-meta-scroll { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.hero-meta-scroll:hover { color: #fff; }
.scroll-bar { position: relative; width: 1px; height: 22px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.scroll-bar::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 8px; background: var(--sig); animation: scrollCue 2.4s var(--ease-io) infinite; }

/* ========== POSTER CAROUSEL (below the hero) ========== */
.pcar { --pcar-ms: 2000ms; background: var(--paper); padding-block: clamp(12px, 1.5vw, 20px) 0; }
.pcar + .loc { padding-top: clamp(28px, 3vw, 44px); }   /* carousel and location read as one block */
.pcar-frame { position: relative; }
.pcar-track { position: relative; aspect-ratio: 3 / 1; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.pcar-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.pcar-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; z-index: 1; }
.pcar-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 2.4s var(--ease); }
.pcar-slide.is-active img { transform: none; }
.pcar-slide:focus-visible { outline: 2px solid var(--sig); outline-offset: -4px; }
.pcar-slide::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0); transition: box-shadow .3s; }
.pcar-slide:hover::after { box-shadow: inset 0 0 0 1px rgba(106, 166, 232, .6); }
.pcar-btn { position: absolute; z-index: 2; top: 50%; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(7, 17, 29, .62); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .25s, border-color .25s; }
.pcar-btn:hover { background: var(--blue); border-color: var(--blue); --ax: 3px; }
.pcar-btn--prev { inset-inline-start: 16px; }
.pcar-btn--next { inset-inline-end: 16px; }
.pcar-btn--prev .arw { transform: translateX(calc(var(--ax, 0px) * var(--dir) * -1)) scaleX(calc(var(--dir) * -1)); }
.pcar-ctl { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.pcar-dots { display: flex; gap: 8px; flex: 1; max-width: 360px; }
.pcar-dot { position: relative; flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.pcar-dot::before, .pcar-dot i { content: ""; position: absolute; inset-inline: 0; top: 11px; height: 2px; }
.pcar-dot::before { background: var(--line-2); }
.pcar-dot i { background: var(--blue); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .pcar-dot i { transform-origin: right; }
.pcar-dot:hover::before { background: var(--steel-2); }
.pcar-dot.is-done i { transform: scaleX(1); }
.pcar-dot.is-active i { animation: pcarFill var(--pcar-ms) linear forwards; }
.pcar.is-paused .pcar-dot.is-active i { animation-play-state: paused; }
.pcar.is-static .pcar-dot.is-active i { animation: none; transform: scaleX(1); }
.pcar-pause { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line-2); background: transparent; color: var(--navy); cursor: pointer; }
.pcar-pause:hover { border-color: var(--navy); }
.pcar-pause svg { width: 12px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.pcar-pause .pcar-i-pause { fill: none; }
.pcar-i-play, .pcar.is-stopped .pcar-i-pause { display: none; }
.pcar.is-stopped .pcar-i-play { display: block; }
@keyframes pcarFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ========== 02 STRATEGIC LOCATION ========== */
.loc-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.loc-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.6fr); gap: clamp(16px, 1.6vw, 24px); align-items: stretch; }

/* map: land/borders image (assets/home/region-map.svg) + routes, markers and labels on top */
.map { margin: 0; display: flex; flex-direction: column; }
.map-frame { position: relative; aspect-ratio: 1087 / 670; overflow: hidden; background: #E3E8EC; border: 1px solid var(--line-2); }
.map-land, .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease-io), stroke-width .3s, opacity .3s; }
.map-halo path { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.9s var(--ease-io); }
.map.is-in .route, .map.is-in .map-halo path { stroke-dashoffset: 0; }
.map.is-in .route:nth-child(2), .map.is-in .map-halo path:nth-child(2) { transition-delay: .25s, 0s, 0s; }
.map.is-in .route:nth-child(3), .map.is-in .map-halo path:nth-child(3) { transition-delay: .5s, 0s, 0s; }
.map.is-in .route:nth-child(4), .map.is-in .map-halo path:nth-child(4) { transition-delay: .75s, 0s, 0s; }
.map[data-hl] .route { opacity: .25; }
.map[data-hl="0"] .route:nth-child(1), .map[data-hl="1"] .route:nth-child(2), .map[data-hl="2"] .route:nth-child(3), .map[data-hl="3"] .route:nth-child(4) { opacity: 1; stroke-width: 3.6; }
.map-end { opacity: 0; transition: opacity .6s 1.5s; }
.map.is-in .map-end { opacity: 1; }
.map-end-ring { fill: rgba(7, 89, 165, .14); stroke: none; transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease); }
.map[data-hl="0"] [data-end="0"] .map-end-ring, .map[data-hl="1"] [data-end="1"] .map-end-ring, .map[data-hl="2"] [data-end="2"] .map-end-ring, .map[data-hl="3"] [data-end="3"] .map-end-ring { transform: scale(1.6); }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.4s var(--ease) infinite; }
.map-tag { position: absolute; transform: translate(-50%, -50%); padding: 5px 10px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(11, 27, 43, .04); font: 600 14px/1.2 var(--fs); color: var(--ink); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.map[data-hl="0"] [data-tag="0"], .map[data-hl="1"] [data-tag="1"], .map[data-hl="2"] [data-tag="2"], .map[data-hl="3"] [data-tag="3"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.map-tag--ajm { left: calc(62.9% + 26px); top: calc(54.6% - 26px); transform: translateY(-100%); display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; background: var(--ink); border-color: var(--ink); color: #fff; }
.map-tag--ajm b { font: 500 12px/1.2 var(--fm); letter-spacing: .1em; color: var(--sig); }
.map-tag--ajm span { font: 400 11.5px/1.2 var(--fm); color: #C9D2DB; }
.map-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font: 400 10.5px/1.4 var(--fm); letter-spacing: .12em; color: var(--steel); text-transform: uppercase; }
[dir="rtl"] .map-cap span:last-child { font-family: var(--fk); letter-spacing: 0; font-size: 12px; }

/* origin panel */
.loc-panel { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 32px); background: var(--ink); color: #fff; overflow: hidden; }
.loc-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(150, 180, 210, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 210, .05) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.loc-panel > * { position: relative; }
.loc-panel .mono-k { color: var(--steel-2); }
.loc-panel-hd { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.loc-code { font: 500 12px/1 var(--fm); letter-spacing: .14em; color: var(--sig); padding: 5px 8px; border: 1px solid rgba(106, 166, 232, .4); }
.loc-coords { display: flex; flex-direction: column; margin: 22px 0 10px; font: 300 clamp(30px, 2.8vw, 44px)/1.08 var(--fm); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.loc-zone { font: 500 12px/1.4 var(--fm); letter-spacing: .16em; color: var(--sig); }
.loc-reg-k { margin-top: auto; padding-top: 26px; margin-bottom: 6px; }
.loc-regions li { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 500; font-size: 16px; color: #E2E9F0; cursor: default; outline: none; transition: color .3s, padding .4s var(--ease); }
.loc-regions li:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.loc-regions li::before { content: ""; width: 18px; height: 2px; flex-shrink: 0; background: var(--sig); transform: scaleX(.45); transform-origin: left; transition: transform .4s var(--ease); }
[dir="rtl"] .loc-regions li::before { transform-origin: right; }
.loc-regions li:hover, .loc-regions li:focus-visible, .loc-regions li.is-hl { color: #fff; padding-inline-start: 4px; }
.loc-regions li:hover::before, .loc-regions li:focus-visible::before, .loc-regions li.is-hl::before { transform: none; }
.loc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 12px; color: var(--steel-2); }
.loc-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.loc-legend i { flex-shrink: 0; }
.lg-origin { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #FBFBF9, 0 0 0 3.5px var(--sig); }
.lg-route { width: 18px; height: 2.5px; background: var(--sig); }

/* ========== 03 PRODUCT ECOSYSTEM ========== */
/* category cards: six equal cards, each led by a large product image panel */
.pcat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); }
/* five cards: three across, then the last two share the row at half width each */
.pcat { grid-column: span 2; }
.pcat:nth-child(4):nth-last-child(2), .pcat:nth-child(5):last-child { grid-column: span 3; }
.pcat:nth-child(4):nth-last-child(2) .pcat-media, .pcat:nth-child(5):last-child .pcat-media { aspect-ratio: 2 / 1; }
.pcat { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; overflow: hidden; transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease); }
.pcat::before { content: ""; position: absolute; z-index: 2; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: var(--blue); transition: width .8s var(--ease); }
.pcat:hover, .pcat:focus-visible { border-color: var(--line-2); box-shadow: 0 24px 56px rgba(11, 27, 43, .12); transform: translateY(-4px); color: var(--navy); --ax: 4px; }
.pcat:hover::before, .pcat:focus-visible::before { width: 100%; }
.pcat:focus-visible { outline-offset: -4px; }
.pcat-media { position: relative; display: grid; gap: 1px; aspect-ratio: 4 / 3; background: var(--line); border-bottom: 1px solid var(--line); }
.pcat-media--3 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.pcat-media--3 figure:first-child { grid-row: 1 / -1; }
.pcat-media--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcat-media--1 { grid-template-columns: minmax(0, 1fr); }
.pcat-media figure { position: relative; overflow: hidden; background: #fff; }
.pcat-media img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform 1s var(--ease); }
.pcat-media--3 figure:first-child img { padding: 9%; }
.pcat-media.is-photo img { object-fit: cover; padding: 0; }
.pcat:hover .pcat-media img { transform: scale(1.06); }
.pcat-media figcaption { position: absolute; bottom: 8px; inset-inline-start: 10px; font: 400 10.5px/1 var(--fm); letter-spacing: .05em; color: var(--steel); }
.pcat-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px) 20px; }
.pcat-head { display: flex; align-items: flex-start; gap: 14px; }
.pcat-ic { width: 26px; height: 26px; margin-top: 2px; color: var(--blue); stroke-width: 1.4; }
.pcat-t { font: 500 clamp(20px, 1.6vw, 24px)/1.18 var(--fs); font-stretch: 106%; letter-spacing: -.015em; }
.pcat-b { font-size: 15px; line-height: 1.6; color: #4A5561; }
.pcat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcat-tags li { padding: 5px 10px; border: 1px solid var(--line); background: #F7F6F2; font: 500 11px/1.4 var(--fk); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
[dir="rtl"] .pcat-tags li { letter-spacing: 0; font-size: 12.5px; }
.pcat-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: auto clamp(20px, 2vw, 28px) 0; padding-block: 18px 22px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--blue); }
.pcat-arw { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-2); transition: background .4s, border-color .4s, color .4s; }
.pcat:hover .pcat-arw { background: var(--blue); border-color: var(--blue); color: #fff; }
.eco-grid--wide { margin-top: clamp(16px, 1.6vw, 24px); }
.eco-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ecard { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 280px; padding: clamp(22px, 2.4vw, 36px); background: var(--white); color: var(--navy); text-decoration: none; overflow: hidden; transition: background .5s var(--ease); }
.ecard::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 2px; width: 32px; background: var(--blue); transition: width .8s var(--ease); }
.ecard:hover, .ecard:focus-visible { background: #F6F5F1; color: var(--navy); --ax: 4px; }
.ecard:hover::before, .ecard:focus-visible::before { width: 100%; }
.ecard:focus-visible { outline-offset: -4px; }
.ecard--wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 120px minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; background: var(--ink-2); color: #fff; }
.ecard--wide:hover, .ecard--wide:focus-visible { background: #0F2133; color: #fff; }
.ecard--wide::before { background: var(--sig); }
.ecard-top { display: flex; align-items: center; justify-content: flex-start; gap: 16px; }
.ecard--wide .ecard-top { flex-direction: column; align-items: flex-start; gap: 18px; }
.ecard-ic { width: 26px; height: 26px; color: var(--blue); stroke-width: 1.4; }
.ecard-ic--lg { width: 44px; height: 44px; stroke-width: .9; }
.ecard--wide .ecard-ic { color: var(--sig); }
.ecard-body { display: flex; flex-direction: column; gap: 10px; }
.ecard-t { font: 500 clamp(21px, 1.75vw, 26px)/1.15 var(--fs); font-stretch: 106%; letter-spacing: -.015em; transition: transform .6s var(--ease); }
.ecard:hover .ecard-t { transform: translateX(calc(4px * var(--dir))); }
.ecard-b { font-size: 15px; line-height: 1.6; color: #4A5561; max-width: 48ch; }
.ecard--wide .ecard-b { color: var(--dim); }
.meta { display: flex; flex-wrap: wrap; row-gap: 4px; }
.meta li { font: 500 11.5px/1.5 var(--fk); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
[dir="rtl"] .meta li { letter-spacing: 0; font-size: 13px; }
.meta li + li::before { content: "/"; margin-inline: 9px; color: var(--line-2); }
.ecard--wide .meta li { color: var(--mist); }
.ecard--wide .meta li + li::before { color: #3A4B5C; }
.ecard-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--blue); }
.ecard--wide .ecard-cta { margin: 0; padding: 0; border: 0; color: #fff; }
.ecard-arw { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-2); transition: background .4s, border-color .4s, color .4s; }
.ecard:hover .ecard-arw { background: var(--blue); border-color: var(--blue); color: #fff; }
.ecard--wide .ecard-arw { border-color: rgba(255, 255, 255, .3); }
.ecard--wide:hover .ecard-arw { background: var(--sig); border-color: var(--sig); color: var(--ink); }

/* ========== 04 WHY VELMACH ========== */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.why-aside { align-self: stretch; }
.why-sticky { position: sticky; top: 120px; }
.why-sticky .lead { margin-top: 20px; max-width: 38ch; }
.why-counter { display: flex; align-items: baseline; gap: 14px; margin-top: clamp(40px, 6vw, 88px); }
.why-counter-n { display: inline-block; font: 200 clamp(96px, 11vw, 176px)/.82 var(--fs); font-family: 'Inter', sans-serif; font-stretch: 112%; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; transition: opacity .35s, transform .5s var(--ease); }
.why-counter-n.is-swap { opacity: 0; transform: translateY(18px); transition: none; }
.why-counter-of { font: 400 13px var(--fm); color: var(--steel-2); letter-spacing: .1em; }
.why-list { border-top: 1px solid rgba(255, 255, 255, .14); }
.why-item { position: relative; display: grid; grid-template-columns: clamp(64px, 7vw, 104px) minmax(0, 1fr); gap: 20px; padding-block: clamp(28px, 3vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why-item::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 100%; height: 1px; background: var(--sig); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .9s var(--ease); }
[dir="rtl"] .why-item::after { --origin: right; }
.why-item.is-active::after { transform: scaleX(1); }
.why-n { font: 300 clamp(34px, 3.2vw, 50px)/1 var(--fs); font-family: 'Inter', sans-serif; font-stretch: 110%; letter-spacing: -.04em; color: #3A4D61; font-variant-numeric: tabular-nums; transition: color .5s; }
.why-item.is-active .why-n { color: #fff; }
.why-t { font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--fs); font-stretch: 104%; letter-spacing: -.012em; }
.why-b { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--dim); max-width: 54ch; }
.why-mail { display: inline-block; margin-top: 14px; font: 400 13.5px var(--fm); color: var(--sig); }
.why-mail:hover { color: #fff; }

/* background navigation drawing (cloned from the hero by js/home.js) */
.why, .ind { overflow-x: clip; isolation: isolate; }
.sec-nd { position: absolute; z-index: -1; width: min(60vw, 860px); pointer-events: none; opacity: .5; }
.sec-nd--why { top: 22%; inset-inline-start: calc(-1 * min(16vw, 230px)); }
.sec-nd--ind { top: -12%; inset-inline-end: calc(-1 * min(15vw, 220px)); }
.sec-nd.is-paused * { animation-play-state: paused !important; }
.sec-nd .nd-ac { animation: drift 16s ease-in-out infinite alternate; }
.sec-nd .nd-labels, .sec-nd .nd-rings { animation: none; }
.sec-nd .nd-flown { stroke-dashoffset: 0; animation: none; }
.ind-panel { background: rgba(10, 21, 34, .82); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

/* ========== 05 HOW IT WORKS: horizontal on lg, vertical below ========== */
.how .sec-head { grid-template-columns: minmax(0, 1fr); }
.tl { position: relative; }
.tl-track { position: absolute; top: 28px; inset-inline: 28px calc((100% - 96px) / 4 - 28px); height: 1px; background: var(--line-2); }
.tl-fill { position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: var(--origin, left); }
[dir="rtl"] .tl-fill { --origin: right; }
.tl-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tl-step { display: flex; flex-direction: column; gap: 14px; }
.tl-node { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; background: var(--paper); border: 1px solid var(--line-2); color: var(--steel); transition: background .5s, border-color .5s, color .5s; }
.tl-node .ic { width: 22px; height: 22px; stroke-width: 1.5; }
.tl-t { font: 500 clamp(20px, 1.7vw, 24px)/1.2 var(--fs); font-stretch: 104%; letter-spacing: -.012em; }
.tl-b { font-size: 15.5px; line-height: 1.6; color: #4A5561; max-width: 30ch; opacity: .5; transition: opacity .6s; }
.tl-step.is-on .tl-node { background: var(--blue); border-color: var(--blue); color: #fff; }
.tl-step.is-on .tl-b { opacity: 1; }

/* ========== 06 BUYER CONFIDENCE ========== */
.trust-grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.trust-head { position: sticky; top: 120px; }
.trust-head .lead { margin-top: 20px; max-width: 40ch; }
.trust-head .btn { margin-top: 32px; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); border-top: 1px solid var(--navy); }
.titem { display: flex; flex-direction: column; gap: 12px; padding-block: 28px 34px; border-bottom: 1px solid var(--line); }
.titem-hd { display: flex; align-items: center; margin-bottom: 6px; color: var(--blue); }
.titem-hd .ic { width: 26px; height: 26px; stroke-width: 1.35; }
.titem-t { font: 500 clamp(19px, 1.5vw, 22px)/1.25 var(--fs); font-stretch: 104%; letter-spacing: -.01em; }
.titem-b { font-size: 15px; line-height: 1.6; color: #4A5561; max-width: 42ch; }

/* ========== 07 INDUSTRIES ========== */
.ind-sel { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 96px); align-items: start; }
.ind-item { display: contents; }
.ind-h3 { grid-column: 1; margin: 0; font: inherit; }
.ind-item:first-of-type .ind-btn { border-top: 1px solid rgba(255, 255, 255, .12); }
.ind-btn { display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 12px; width: 100%; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #7E91A4; font: 500 clamp(19px, 1.9vw, 27px)/1.2 var(--fs); font-stretch: 104%; letter-spacing: -.012em; text-align: start; cursor: pointer; transition: color .35s; }
.ind-btn:hover, .ind-btn[aria-expanded="true"] { color: #fff; }
.ind-chev { color: var(--sig); opacity: 0; transform: translateX(calc(-6px * var(--dir))) scaleX(var(--dir)); transition: opacity .35s, transform .5s var(--ease); }
.ind-btn[aria-expanded="true"] .ind-chev { opacity: 1; transform: translateX(0) scaleX(var(--dir)); }
.ind-bar { position: absolute; inset-inline-start: calc(-1 * clamp(10px, 1.4vw, 22px)); top: 0; width: 2px; height: 0; background: var(--sig); transition: transform .6s var(--ease), height .6s var(--ease); }
.ind-panel { grid-column: 2; grid-row: 1 / span 6; padding: 0 clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px); border: 1px solid rgba(255, 255, 255, .12); animation: panelIn .7s var(--ease) both; }
.ind-vis { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(180px, 18vw, 260px); margin: 0 calc(-1 * clamp(24px, 3vw, 44px)) clamp(24px, 3vw, 36px); border-bottom: 1px solid rgba(255, 255, 255, .12); background-image: linear-gradient(rgba(150, 180, 210, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 210, .06) 1px, transparent 1px); background-size: 32px 32px; background-position: center; overflow: hidden; }
.ind-vis::before, .ind-vis::after { content: ""; position: absolute; background: rgba(106, 166, 232, .22); }
.ind-vis::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.ind-vis::after { top: 50%; left: 0; right: 0; height: 1px; }
.ind-glyph { position: relative; z-index: 1; width: clamp(120px, 12vw, 168px); height: clamp(120px, 12vw, 168px); stroke-width: .22; color: #DCE5EE; animation: glyphIn 1s var(--ease) both; }
.ind-short { font: 500 clamp(18px, 1.5vw, 21px)/1.4 var(--fs); color: #fff; }
.ind-body { margin: 12px 0 26px; font-size: 16px; line-height: 1.65; color: var(--dim); max-width: 58ch; }
.ind-panel .mono-k { color: var(--steel-2); margin-bottom: 4px; }
.ind-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-bottom: 28px; }
.ind-needs li { display: flex; align-items: baseline; gap: 10px; padding-block: 11px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; color: var(--mist); }
.ind-needs li::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; background: var(--sig); transform: translateY(-2px); }
.ind .link-arrow { color: var(--sig); }
.ind .link-arrow:hover { color: #fff; }

/* ========== 08 AOG ========== */
.aog { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 144px); background: #0A0E14; color: #fff; border-top: 2px solid var(--aog); isolation: isolate; }
.aog-lines { position: absolute; inset: 0; z-index: -1; }
.aog-lines svg { width: 100%; height: 100%; }
.aog-route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-io); }
.aog.is-in .aog-route { stroke-dashoffset: 0; }
.aog-grid { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); gap: 48px clamp(40px, 6vw, 112px); align-items: end; }
.aog-tag { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1.4 var(--fk); letter-spacing: .16em; text-transform: uppercase; color: var(--aog-2); }
[dir="rtl"] .aog-tag { letter-spacing: 0; font-size: 14px; }
.aog-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--aog); }
.aog-dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--aog); animation: pulse 2.8s var(--ease) infinite; }
.aog-big { display: flex; align-items: baseline; margin: 30px 0 14px; font: 200 clamp(104px, 15vw, 232px)/.8 'Inter', sans-serif; font-stretch: 116%; letter-spacing: -.055em; color: #fff; }
[dir="rtl"] .aog-big { justify-content: flex-end; }
.aog-slash { color: var(--aog); margin-inline: .02em; }
.aog-full { font: 500 clamp(14px, 1.2vw, 17px)/1.4 var(--fs); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
[dir="rtl"] .aog-full { letter-spacing: 0; font-size: 18px; }
.aog-h { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(26px, 2.6vw, 38px); max-width: 22ch; }
.aog .lead { margin-top: 16px; color: #A9B4BF; }
.aog-card { display: flex; flex-direction: column; background: #0A0E14; }
.aog-primary, .aog-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding: 24px 28px; text-decoration: none; color: #fff; transition: background .3s; }
.aog-primary { background: var(--aog); }
.aog-primary:hover { background: #C8381F; color: #fff; --ax: 4px; }
.aog-primary-k, .aog-row-k { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.aog-primary-v { grid-row: 2; font: 500 clamp(16px, 1.55vw, 21px)/1.3 var(--fm); overflow-wrap: anywhere; }
.aog-primary .arw, .aog-row .arw { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; }
.aog-row { border: 1px solid rgba(255, 255, 255, .16); border-top: 0; }
.aog-row:hover { background: rgba(255, 255, 255, .04); color: #fff; --ax: 4px; }
.aog-row-k { color: #A9B4BF; font-weight: 500; }
.aog-row-v { grid-row: 2; font: 400 clamp(16px, 1.45vw, 19px)/1.3 var(--fm); }
.aog-req { padding: 22px 28px 26px; border: 1px solid rgba(255, 255, 255, .16); border-top: 0; }
.aog-req .mono-k { color: var(--steel-2); margin-bottom: 12px; }
.aog-req ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.aog-req li { display: flex; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--mist); }
.aog-req li span:first-child { font: 500 11.5px var(--fm); color: var(--aog-2); }

/* ========== 09 REQUEST ========== */
.sec.rfq { padding-bottom: clamp(32px, 4vw, 56px); }
.sec.rfq { padding-block: clamp(48px, 5.5vw, 80px); }   /* slimmer than other sections */
.rfq-grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(32px, 4.5vw, 80px); align-items: center; }
.rfq-grid .rfq-co { order: -1; }   /* company card sits left of the request on wide screens; the form stays first on small ones */
.rfq-h { font-size: clamp(32px, 3.8vw, 56px); max-width: 16ch; }
.rfq-main .lead { margin-top: 14px; }
.rfq-form { margin-top: clamp(20px, 2.4vw, 32px); max-width: 720px; }
.rfq-form .mono-k { display: block; margin-bottom: 8px; }
.rfq-form:focus-within .mono-k { color: var(--blue); }
.rfq-field { display: flex; align-items: center; gap: 12px; height: 60px; border-bottom: 2px solid var(--navy); transition: border-color .3s; }
.rfq-field:focus-within { border-color: var(--blue); }
.rfq-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 400 clamp(17px, 1.6vw, 22px) var(--fm); color: var(--ink); outline: none; }
[dir="rtl"] .rfq-field input { text-align: right; }
.rfq-field input::placeholder { color: #9AA3AC; opacity: 1; }
.rfq-field input:focus-visible { outline: none; }
.rfq-hint { margin-top: 10px; font-size: 13.5px; color: var(--steel); }
.rfq-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 18px; }
.rfq-mail { display: inline-flex; align-items: center; gap: 10px; font: 400 13.5px var(--fm); color: var(--navy); }
.rfq-mail .ic { width: 18px; height: 18px; color: var(--blue); }
.rfq-mail:hover { color: var(--blue); }
.rfq-co { padding: clamp(24px, 2.6vw, 36px); background: var(--white); border: 1px solid var(--line-2); }
.rfq-logo { display: inline-block; }
.rfq-logo img { display: block; width: auto; height: 76px; }
.rfq-co-name { margin: 20px 0 14px; font: 600 18px/1.3 var(--fs); color: var(--ink); }
.rfq-docs div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.rfq-docs div:first-child { border-top: 1px solid var(--line); }
.rfq-docs dt { font-size: 13.5px; color: var(--steel); }
.rfq-docs dd { font: 500 13.5px var(--fm); color: var(--ink); unicode-bidi: isolate; text-align: end; }
.rfq-co .rfq-mail { margin-top: 20px; }

/* no-JS fallbacks */
.ns-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 12px var(--gut); background: #fff; }
.ns-bar nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ns-bar nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
.ns-foot { padding: 32px var(--gut); background: var(--ink); color: var(--mist); font-size: 14px; }
.ns-foot a { color: #fff; }
.js .ns-bar, .js .ns-foot { display: none; }

/* reveal on scroll (only when JS runs and motion is allowed) */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-rv].is-in { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dashRun { to { stroke-dashoffset: -26; } }
@keyframes ndSweep { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes drift { from { transform: translate(-4px, 5px); } to { transform: translate(6px, -8px); } }
@keyframes scrollCue { 0% { transform: translateY(-8px); } 100% { transform: translateY(24px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hvIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hvRise { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes hvFloat { from { transform: translate3d(0, -7px, 0) rotate(-.4deg); } to { transform: translate3d(0, 7px, 0) rotate(.4deg); } }
@keyframes hvPlate { from { transform: translate3d(-8px, 3px, 0); } to { transform: translate3d(8px, -4px, 0); } }
@keyframes hvReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hvScan { 0% { inset-inline-start: 4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { inset-inline-start: 96%; opacity: 0; } }
@keyframes hvDraw { to { stroke-dashoffset: 0; } }
@keyframes hvPing { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes hvTagIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(-12px); } }
@keyframes hvRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hBox { 0% { opacity: 0; transform: scale(1.04); } 40% { opacity: .9; transform: none; } 100% { opacity: .35; transform: none; } }
@keyframes glyphIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ========== md: 760-1099 ========== */
@media (max-width: 1099px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .hero { min-height: 0; }
  .hero-viz { position: relative; order: 2; top: auto; inset-inline-end: auto; align-self: center; width: min(92%, 760px); margin: -64px auto 8px; transform: none; }
  .hero-meta { order: 3; }
  .hero-meta-hdg { display: none; }
  .hero-copy > .hero-h { pointer-events: auto; }   /* the drawing sits below the copy here */
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .loc-grid, .why-grid, .trust-grid, .rfq-grid, .aog-grid { grid-template-columns: minmax(0, 1fr); }
  .rfq-grid .rfq-co { order: 0; }
  .why-sticky, .trust-head { position: static; }
  .why-counter { display: none; }
  .pcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcat, .pcat:nth-child(4):nth-last-child(2), .pcat:nth-child(5):last-child { grid-column: auto; }
  .pcat:nth-child(4):nth-last-child(2) .pcat-media { aspect-ratio: 4 / 3; }
  .pcat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pcat:last-child:nth-child(odd) .pcat-media { aspect-ratio: 8 / 3; }
  .eco-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ecard--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ecard--wide .ecard-top { flex-direction: row; align-items: center; grid-column: 1 / -1; }
  .ecard--wide .ecard-body { grid-column: 1 / -1; }
  /* vertical timeline */
  .tl-track { top: 28px; bottom: 28px; inset-inline-start: 28px; inset-inline-end: auto; width: 1px; height: auto; }
  .tl-fill { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .tl-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tl-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 24px; row-gap: 8px; padding-bottom: 44px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-node { grid-row: 1 / span 2; margin: 0; }
  .tl-b { max-width: 52ch; }
  /* industries: accordion */
  .ind-sel { display: block; }
  .ind-item { display: block; }
  .ind-bar { display: none; }
  .ind-panel { border-top: 0; margin-bottom: 8px; }
  .ind-chev { opacity: 1; transform: rotate(90deg); }
  .ind-btn[aria-expanded="true"] .ind-chev { transform: rotate(-90deg); }
}

/* ========== sm: < 760 ========== */
@media (max-width: 759px) {
  .hero { min-height: 0; }
  .hero-grid { padding-block: 36px 40px; }
  .hero-viz { width: 112%; margin: -44px -6% 0; perspective: none; }
  .hv-stage, .hv-layer { transform: none !important; }
  .hv-corner { display: none; }
  .hv-cap { bottom: 6%; max-width: 86%; }
  .hv-tag:nth-child(1), .hv-tag:nth-child(4), .hv-tag:nth-child(7), .hv-tag-t small { display: none; }
  .hv-tag { font-size: 9px; }
  .hero-meta { order: 3; }
  .hero-copy { gap: 22px; }
  .tagbar { font-size: 10.5px; letter-spacing: .04em; font-stretch: 104%; }
  .tagbar-mark { width: 26px; }
  .tagbar-items { flex-wrap: nowrap; }
  .tagbar-item { padding: 10px 9px; }
  .psearch-field { height: 58px; }
  .psearch-filters { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pcond-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pcb-pop { min-width: 0; }
  .psearch-ic { display: none; }
  .psearch input { padding-inline: 14px 6px; font-size: 15px; }
  .psearch-btn { padding-inline: 14px; font-size: 14px; }
  .psearch-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .psearch-btn .arw { width: 20px; height: 20px; }
  .hero-meta-org { display: none; }
  .aog-lines { display: none; }
  .pcar-btn { width: 38px; height: 38px; margin-top: -19px; }
  .pcar-btn--prev { inset-inline-start: 8px; }
  .pcar-btn--next { inset-inline-end: 8px; }
  .pcar-btn .arw { width: 15px; height: 15px; }
  .pcar-dots { max-width: none; }
  .sec-nd { width: 130%; opacity: .32; }
  .sec-nd--why { top: 8%; inset-inline-start: -45%; }
  .sec-nd--ind { top: 2%; inset-inline-end: -50%; }
  .loc-coords { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; font-size: clamp(28px, 8vw, 36px); }
  .map-tag { font-size: 11px; padding: 3px 6px; }
  .map-tag--ajm { display: none; }   /* the panel below carries AJM and its coordinates */
  .map-grat-l { display: none; }
  .map-cap span:first-child { max-width: 60%; }
  .pcat-grid { grid-template-columns: minmax(0, 1fr); }
  .pcat:last-child:nth-child(odd) .pcat-media { aspect-ratio: 4 / 3; }
  .eco-grid { grid-template-columns: minmax(0, 1fr); }
  .ecard--wide { display: flex; align-items: stretch; }
  .ecard--wide .ecard-top { flex-direction: row; align-items: center; }
  .ecard--wide .ecard-cta { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .why-item { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .trust-list { grid-template-columns: minmax(0, 1fr); }
  .ind-btn { grid-template-columns: minmax(0, 1fr) 20px; padding-block: 18px; }
  .ind-needs, .aog-req ol { grid-template-columns: minmax(0, 1fr); }
  .aog-primary, .aog-row, .aog-req { padding-inline: 20px; }
  .rfq-field { flex-wrap: wrap; height: auto; padding-bottom: 14px; }
  .rfq-field input { flex-basis: 100%; height: 56px; }
  .rfq-field .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .nd-flown, .route, .aog-route, .map-halo path { stroke-dashoffset: 0; }
  .map-end { opacity: 1; }
  .nd-sweep { display: none; }
  .hv-lead { stroke-dashoffset: 0; }
  .hv-dot, .hv-tag { opacity: 1; }
  .js [data-rv] { opacity: 1; transform: none; }
}

@media (max-width: 369px) {
  .tagbar-mark { display: none; }
  .tagbar-item { padding-inline: 8px; }
}

/* brands sit right under the carousel: tighter spacing than other sections */
.sec.bstrip-sec { padding-block: clamp(28px, 3.5vw, 48px) clamp(32px, 4vw, 56px); }
.bstrip-sec .sec-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.sec.loc { padding-top: clamp(40px, 5vw, 72px); }
/* brand strips: rows scrolling in alternating directions, keep moving on hover, pause only for keyboard focus (js/brand-strip.js) */
.bstrip-sec .sec-head { align-items: center; }
.bstrip-sec .link-arrow { justify-self: end; color: var(--blue); }
[dir="rtl"] .bstrip-sec .link-arrow { justify-self: start; }
.bstrip { display: flex; flex-direction: column; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bstrip-row { display: flex; overflow: hidden; }
.bstrip-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: bstripL 40s linear infinite; }
.bstrip-row--rev .bstrip-track { animation-name: bstripR; }
.bstrip:has(:focus-visible) .bstrip-track { animation-play-state: paused; }
@keyframes bstripL { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@keyframes bstripR { from { transform: translateX(calc(-50% - 7px)); } to { transform: translateX(0); } }
.bstrip-tile { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; width: 200px; height: 104px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); color: var(--navy); font: 600 17px/1.2 var(--fs); letter-spacing: -.01em; text-align: center; text-decoration: none; transition: border-color .2s, color .2s; }
.bstrip-tile:hover, .bstrip-tile:focus-visible { border-color: var(--blue); color: var(--blue); }
.bstrip-tile img { max-width: 80%; height: 44px; width: auto; object-fit: contain; display: block; }
.bstrip-tile img.is-dark { background: var(--navy); padding: 6px 12px; box-sizing: content-box; height: 32px; }
.bstrip-tile img + .bstrip-n { font-size: 13px; font-weight: 500; }
@media (max-width: 759px) { .bstrip-tile { width: 150px; height: 88px; font-size: 15px; } .bstrip-tile img { height: 34px; } }
@media (prefers-reduced-motion: reduce) { .bstrip-row { overflow-x: auto; } .bstrip-track { animation: none; } }
.sec.bstrip-sec--follow { padding-top: 0; }
.bstrip-sec--makers .sec-head .h2 { max-width: none; }
@media (min-width: 760px) { .bstrip-sec--makers .sec-head .h2 { white-space: nowrap; } }
.bstrip-lbl { margin-block: 0 4px; color: var(--navy); font: 600 clamp(20px, 2vw, 26px)/1.2 var(--fs); letter-spacing: -.01em; }
.bstrip-lbl:not(:first-child) { margin-top: 18px; }

/* ========== LIGHT HERO (Nov 2026 redesign): sky blue to soft orange, navy text ==========
   Kept as one override block so the earlier dark-hero rules above stay intact for reference. */
:root { --vm-navy: #0A2540; --vm-sky: #00A3E0; --vm-sky-2: #4682B4; --vm-orange: #FF6A00; --vm-orange-2: #E65100; --vm-off: #F8F9FA; }
.home { background: #DDF2FB; }
html:has(body.home) { background: #DDF2FB; }
.hero { background: #EAF6FC; color: var(--vm-navy); }
.hero-bg { background:
    radial-gradient(60% 55% at 88% 8%, rgba(0, 163, 224, .30) 0%, rgba(0, 163, 224, 0) 70%),
    radial-gradient(55% 50% at 6% 100%, rgba(255, 106, 0, .26) 0%, rgba(255, 106, 0, 0) 70%),
    linear-gradient(172deg, #BEE8FA 0%, #DDF2FB 30%, #F5F3F0 58%, #FFE6D2 82%, #FFCFA8 100%); }
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--vm-sky), var(--vm-orange)); }

.tagbar { border-color: rgba(10, 37, 64, .16); background: rgba(255, 255, 255, .55); color: #3A5068; backdrop-filter: blur(6px); }
.tagbar-mark { border-inline-end-color: rgba(10, 37, 64, .16); }
.tagbar-mark::before { background: var(--vm-orange); }
.tagbar-mark::after { border-color: rgba(255, 106, 0, .45); }
.tagbar-item + .tagbar-item { border-inline-start-color: rgba(10, 37, 64, .12); }
.tagbar-item:first-child { color: var(--vm-navy); }
.hero-h { color: var(--vm-navy); font-weight: 600; }
.hero-h::before { opacity: .5; }
.hero-sub { color: #3A5068; }

.psearch-label, .psf-l { color: #3A5068; }
.psearch-field { background: #FFFFFF; border-color: rgba(10, 37, 64, .18); border-radius: 6px; box-shadow: 0 14px 34px -18px rgba(10, 37, 64, .45); }
.psearch-field:hover { border-color: rgba(10, 37, 64, .32); }
.psearch-field:focus-within { border-color: var(--vm-sky); background: #FFFFFF; }
.psearch input { color: var(--vm-navy); }
.psearch input::placeholder { color: #6A7C8E; }
.psearch input::-webkit-search-cancel-button { filter: none; }
.psearch-btn { border-radius: 4px; background: var(--vm-orange-2); }
.psearch-btn:hover { background: #CC4800; }
.psearch-line { background: var(--vm-sky); }
.psf select, .pcb-btn { border-color: rgba(10, 37, 64, .18); border-radius: 4px; background-color: rgba(255, 255, 255, .78); color: var(--vm-navy); }
.psf select:hover, .pcb-btn:hover { border-color: rgba(10, 37, 64, .34); }
.pcb-pop { box-shadow: 0 18px 40px rgba(10, 37, 64, .22); }
.pcond-hint { color: #5A6E82; }
.pcond-chip { border-color: rgba(10, 37, 64, .16); border-radius: 4px; background: rgba(255, 255, 255, .7); color: var(--vm-navy); transition: all .3s ease-in-out; }
.pcond-chip span { color: #5A6E82; }
.pcond-chip:hover { border-color: var(--vm-sky); }
.pcond-chip[aria-pressed="true"] { border-color: var(--vm-navy); background: var(--vm-navy); color: #fff; box-shadow: inset 0 -3px 0 var(--vm-sky); }

.aog-link { border-color: rgba(230, 81, 0, .55); border-radius: 4px; background: rgba(255, 255, 255, .6); color: var(--vm-navy); }
.aog-link > .ic:first-child, .aog-link-247, .aog-link .arw { color: var(--vm-orange-2); }
.aog-link:hover { background: #FFF1E6; border-color: var(--vm-orange); color: var(--vm-navy); }
.hero-note { color: #4A5E72; }

.hero-meta { border-top-color: rgba(10, 37, 64, .12); }
.hero-meta-row { color: #4A5E72; }
.hero-meta-pos { color: var(--vm-navy); }
.hero-meta-pos .ic, .hero-meta-hdg span:nth-child(2) { color: var(--vm-orange-2); }
.hero-meta-scroll:hover { color: var(--vm-navy); }
.scroll-bar { background: rgba(10, 37, 64, .16); }
.scroll-bar::after { background: var(--vm-orange); }

/* engine drawing on a light ground */
.hv-glow { background: radial-gradient(42% 46% at 52% 50%, rgba(255, 255, 255, .75), rgba(0, 163, 224, .10) 55%, transparent 72%); }
.hv-back svg { filter: invert(1) hue-rotate(180deg); opacity: .8; }
.hv-corner { border-color: rgba(10, 37, 64, .3); }
/* light hero: drop the drafting marks (corner brackets, centre lines, ruler ticks, dashed ellipses) */
.hv-back, .hv-front, .hv-corner { display: none; }
.hv-lead { stroke: rgba(10, 37, 64, .35); }
.hv-lead.is-on { stroke: var(--vm-sky); }
.hv-dot { fill: #FFFFFF; stroke: rgba(10, 37, 64, .7); }
.hv-dot.is-on { stroke: var(--vm-sky); fill: var(--vm-sky); }
.hv-tag { color: #3A5068; }
.hv-tag-n { color: var(--vm-orange-2); }
.hv-tag-t small { color: #6A7C8E; }
.hv-tag.is-on { color: var(--vm-navy); }
.hv-tag.is-on small { color: #3A5068; }
.hv-tag.is-hover::before { border-color: rgba(0, 163, 224, .45); background-color: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(10, 37, 64, .18); }
.hv-tag.is-hover .hv-tag-n { color: var(--vm-orange-2); text-shadow: none; }
.hv-scan { background: linear-gradient(180deg, transparent, var(--vm-sky) 18%, var(--vm-sky) 82%, transparent); }

/* "Is this an AOG?" box under the hero search (js/home-aog.js) */
.paog { margin-top: 10px; border: 1px solid rgba(230, 81, 0, .35); border-radius: 6px; background: rgba(255, 255, 255, .62); transition: all .3s ease-in-out; }
.paog.is-on { border-color: var(--vm-orange); background: #FFF4EA; box-shadow: 0 10px 26px -16px rgba(230, 81, 0, .6); }
.paog-box { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; cursor: pointer; }
.paog-box input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.paog-tick { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--vm-orange-2); border-radius: 4px; background: #fff; transition: all .3s ease-in-out; }
.paog-box input:checked + .paog-tick { background: var(--vm-orange-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / 14px no-repeat; }
.paog-box input:focus-visible + .paog-tick { outline: 2px solid var(--vm-sky); outline-offset: 2px; }
.paog-t { font-size: 14.5px; line-height: 1.45; color: #3A5068; }
.paog-t b { color: var(--vm-orange-2); font-weight: 700; }
.paog-panel { padding: 0 14px 14px; animation: fadeUp .4s var(--ease) both; }
.paog-panel[hidden] { display: none; }
.paog-p { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13.5px; color: var(--vm-navy); }
.paog-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vm-orange); animation: aogPulse 1.8s infinite; }
@keyframes aogPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, .55); } 70% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); } }
.paog-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.paog-a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; border: 1px solid rgba(10, 37, 64, .2); border-radius: 4px; background: #fff; color: var(--vm-navy); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all .3s ease-in-out; }
.paog-a .ic { width: 16px; height: 16px; }
.paog-a:hover { border-color: var(--vm-sky); color: var(--vm-navy); box-shadow: 0 6px 16px -10px rgba(0, 163, 224, .8); }
.paog-a--main { background: var(--vm-orange-2); border-color: var(--vm-orange-2); color: #fff; }
.paog-a--main:hover { background: #CC4800; color: #fff; }

/* trust badges directly below the hero */
.tbadge { background: var(--vm-navy); color: #fff; padding-block: 26px 22px; }
.tbadge-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tbadge-i { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(0, 163, 224, .28); border-radius: 6px; background: rgba(255, 255, 255, .04); transition: all .3s ease-in-out; }
.tbadge-i:hover { transform: scale(1.02); border-color: var(--vm-sky); box-shadow: 0 10px 26px -12px rgba(0, 163, 224, .55); }
.tbadge-ic { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(0, 163, 224, .14); color: var(--vm-sky); }
.tbadge-ic .ic { width: 22px; height: 22px; }
.tbadge-i b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.tbadge-i small { display: block; font-size: 13px; line-height: 1.4; color: #A9BCD0; }
.tbadge-qc { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: #CFE0EE; text-align: center; }
.tbadge-qc .ic { width: 18px; height: 18px; color: #2BD47D; stroke-width: 2.4; }

/* Velmach speed metric grid */
.speed { background: var(--vm-off); padding-block: clamp(56px, 7vw, 96px); }
.speed-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.speed-k { font: 600 12px/1.4 var(--fk); letter-spacing: .12em; text-transform: uppercase; color: var(--vm-orange-2); }
.speed-h { font: 600 clamp(26px, 3vw, 42px)/1.12 var(--fs); letter-spacing: -.02em; color: var(--vm-navy); max-width: 24ch; text-wrap: balance; }
.speed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.speed-c { position: relative; padding: 28px 26px 26px; border: 1px solid #E1E7EE; border-radius: 8px; background: #fff; overflow: hidden; transition: all .3s ease-in-out; }
.speed-c::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--vm-sky), var(--vm-orange)); }
.speed-c:hover { transform: scale(1.02); border-color: rgba(0, 163, 224, .45); box-shadow: 0 18px 38px -18px rgba(0, 163, 224, .55); }
.speed-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: #E6F6FD; color: var(--vm-sky); }
.speed-ic .ic { width: 24px; height: 24px; }
.speed-big { margin-top: 18px; font: 700 clamp(30px, 3vw, 42px)/1 var(--fs); letter-spacing: -.02em; color: var(--vm-navy); }
.speed-t { margin: 8px 0 8px; font-size: 17px; font-weight: 600; color: var(--vm-orange-2); }
.speed-b { font-size: 15px; line-height: 1.6; color: #4A5E72; }

/* brand palette for shared buttons and hover micro-interactions */
.btn { border-radius: 4px; transition: all .3s ease-in-out; }
.btn--blue { background: var(--vm-navy); }
.btn--blue:hover { background: #123A63; }
.ind-panel { transition: all .3s ease-in-out; }
.ind-panel:hover { transform: scale(1.02); box-shadow: 0 18px 40px -18px rgba(0, 163, 224, .55); }

@media (max-width: 1099px) {
  .tbadge-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speed-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .tbadge-i { padding: 12px; gap: 10px; }
  .tbadge-ic { width: 34px; height: 34px; }
  .tbadge-i b { font-size: 13.5px; }
  .tbadge-i small { font-size: 12px; }
  .tbadge-qc { justify-content: flex-start; text-align: start; align-items: flex-start; }
  .paog-a { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) { .tbadge-row { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tbadge-i:hover, .speed-c:hover, .ind-panel:hover { transform: none; } }

/* route map: travelling light pulses and ringing destinations */
.map-pulses { opacity: 0; animation: fadeIn 1s 2.6s both; }
.map-end-ring { transform-box: fill-box; transform-origin: center; animation: mapRing 2.4s ease-out infinite; }
.map-end[data-end="1"] .map-end-ring { animation-delay: .6s; } .map-end[data-end="2"] .map-end-ring { animation-delay: 1.2s; } .map-end[data-end="3"] .map-end-ring { animation-delay: 1.8s; }
@keyframes mapRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pulses { display: none; } .map-end-ring { animation: none; } }

/* page speed: the first lines of the hero rise in without fading, so the heading counts as painted at first paint */
@keyframes riseIn { from { transform: translateY(16px); } to { transform: none; } }
.hero-copy > .tagbar, .hero-copy > .hero-h, .hero-copy > .hero-sub { animation-name: riseIn; }
/* the header is fixed on the home page: its runtime root never takes space (it held 60px while loading, shifting the hero) */
body.home > #dc-root { height: 0 !important; min-height: 0 !important; overflow: visible; }
