/* Telematics Techno Solutions — site styles.
   Visual language taken from the logo: bars with angled (chamfered) ends, parallel
   "wing" lines, one circular arc, logo red against graphite and white.
   Type: Archivo (variable width; expanded for display) + IBM Plex Mono for technical labels. */

:root {
  --ink: #0b0c0e;
  --ink-2: #16181c;
  --ink-3: #24272d;
  --text: #2b2f36;
  --grey: #6a707a;
  --grey-2: #9aa0a9;
  --bg: #f4f5f6;
  --white: #ffffff;
  --line: #dcdfe3;
  --line-dark: rgba(255, 255, 255, .14);

  --red: #e31b23;          /* logo red, for fills */
  --red-ink: #c8141c;      /* red for text on light backgrounds (contrast) */
  --red-dark: #a50f15;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1360px;
  --pad: clamp(16px, 4vw, 56px);
  --gut: clamp(16px, 2vw, 28px);
  --sec: clamp(80px, 11vw, 168px);
  --cut: 16px;
  --head: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
i[class^="ph-"] { line-height: 1; display: inline-block; }

/* Film grain over everything, very faint. */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.d1, .d2, .d3 { font-family: var(--sans); color: var(--ink); text-wrap: balance; }
.d1 { font-size: clamp(46px, 8.6vw, 148px); line-height: .9; font-weight: 650; font-stretch: 118%; letter-spacing: -.045em; }
.d2 { font-size: clamp(36px, 5.4vw, 88px); line-height: .95; font-weight: 620; font-stretch: 114%; letter-spacing: -.04em; }
.d3 { font-size: clamp(26px, 3vw, 44px); line-height: 1.05; font-weight: 580; font-stretch: 110%; letter-spacing: -.03em; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--text); font-stretch: 100%; letter-spacing: -.01em; }
.big { font-size: clamp(24px, 2.7vw, 40px); line-height: 1.22; color: var(--ink); font-weight: 450; letter-spacing: -.02em; text-wrap: pretty; }
.muted { color: var(--grey); }
.mono, .tag {
  font-family: var(--mono); font-size: 12px; line-height: 1.4; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em; color: var(--grey);
}
.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.tag::before { content: ""; width: 10px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%, 0 60%); }
.dark .tag, .red .tag { color: var(--white); }
.red .tag::before { background: var(--white); }
.red-text { color: var(--red-ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; position: relative; }
.sec-s { padding: calc(var(--sec) * .55) 0; position: relative; }
.white { background: var(--white); }
.dark { background: var(--ink); color: #b9bec6; }
.dark h1, .dark h2, .dark h3, .dark .d1, .dark .d2, .dark .d3, .dark .big { color: var(--white); }
.dark .mono, .dark .muted { color: #7f8690; }
.red { background: var(--red); color: rgba(255,255,255,.88); }
.red h2, .red h3, .red .d2, .red .d3, .red .big { color: var(--white); }
.red .mono { color: rgba(255,255,255,.75); }

.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px; }
.g12 > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 960px) {
  .c-lab { grid-column: 1 / 4 !important; }
  .c-main { grid-column: 4 / 13 !important; }
  .c-main-n { grid-column: 4 / 11 !important; }
  .c-l4 { grid-column: 1 / 5 !important; }
  .c-l5 { grid-column: 1 / 6 !important; }
  .c-l6 { grid-column: 1 / 7 !important; }
  .c-l7 { grid-column: 1 / 8 !important; }
  .c-r5 { grid-column: 8 / 13 !important; }
  .c-r6 { grid-column: 7 / 13 !important; }
  .c-r7 { grid-column: 6 / 13 !important; }
  .c-r8 { grid-column: 5 / 13 !important; }
  .sticky { position: sticky; top: calc(var(--head) + 32px); align-self: start; }
}
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 6vw, 88px); }
.sec-head .d2 { max-width: 14ch; }
.sec-head .tag { margin-bottom: 22px; }

/* Column guide lines (blueprint feel) */
.guides { position: relative; }
.guides::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  margin: 0 auto; max-width: calc(var(--wrap) + var(--pad) * 2); left: 0; right: 0;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px) var(--pad) 0 / calc((100% - var(--pad) * 2) / 6) 100% repeat-x;
  -webkit-mask: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
          mask: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  opacity: .7;
}
.dark.guides::before { background: linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px) var(--pad) 0 / calc((100% - var(--pad) * 2) / 6) 100% repeat-x; }
.guides > * { position: relative; z-index: 1; }

/* ---------- Chamfer (logo bar ends) ---------- */
.chamfer { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* ---------- Buttons ---------- */
.btn {
  --c: 10px; position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: stretch; min-height: 54px; text-decoration: none;
  font: 600 15px/1 var(--sans); font-stretch: 108%; letter-spacing: -.005em; border: 0; cursor: pointer; padding: 0;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.btn span { display: flex; align-items: center; padding: 0 22px 0 24px; }
.btn i { display: grid; place-items: center; width: 54px; font-size: 20px; border-left: 1px solid rgba(255,255,255,.22); transition: transform .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover i { transform: rotate(45deg); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red::before { background: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink::before { background: var(--red); }
.btn-line { background: rgba(11,12,14,.07); color: var(--ink); }
.btn-line i { border-color: rgba(11,12,14,.14); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--white); }
.dark .btn-line, .red .btn-line, .on-img .btn-line { color: var(--white); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dark .btn-line i, .red .btn-line i, .on-img .btn-line i { border-color: rgba(255,255,255,.22); }
.dark .btn-line::before, .on-img .btn-line::before { background: var(--white); }
.dark .btn-line:hover, .on-img .btn-line:hover { color: var(--ink); }
.red .btn-ink::before { background: var(--white); }
.red .btn-ink:hover { color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-stretch: 108%; color: var(--ink); }
.arrow-link i { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 16px; transition: background .3s, transform .4s var(--ease); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.arrow-link:hover i { background: var(--red); transform: rotate(45deg); }
.dark .arrow-link { color: var(--white); }
.dark .arrow-link i { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--head);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(244,245,246,.86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-emblem { height: 38px; width: auto; }
.brand-name { display: flex; flex-direction: column; gap: 5px; }
.brand-word { height: 14px; width: auto; }
.brand-name span { font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  position: relative; padding: 10px 14px; text-decoration: none; background: none; border: 0; cursor: pointer;
  font: 500 14.5px/1 var(--sans); color: var(--ink); display: inline-flex; align-items: center; gap: 6px;
}
.nav > a::after, .nav-drop > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav-drop > button:hover::after, .nav a[aria-current]::after, .nav .is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-drop > button i { font-size: 12px; transition: transform .3s; }
.nav-drop:hover > button i, .nav-drop.open > button i { transform: rotate(45deg); }
.mega {
  position: fixed; left: 0; right: 0; top: var(--head); background: var(--white); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  box-shadow: 0 40px 60px -40px rgba(11,12,14,.35);
}
.nav-drop:hover .mega, .nav-drop:focus-within .mega, .nav-drop.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: 1fr 2.6fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; height: auto; align-items: start; }
.mega-intro .d3 { margin: 16px 0 24px; max-width: 12ch; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mega-grid a { padding: 22px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s; }
.mega-grid a:hover, .mega-grid a.is-active { background: var(--bg); }
.mega-grid i { font-size: 28px; color: var(--red); }
.mega-grid b { display: block; margin-top: 18px; font: 600 17px/1.2 var(--sans); font-stretch: 108%; color: var(--ink); letter-spacing: -.01em; }
.mega-grid small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; color: var(--grey); font-size: 13.5px; line-height: 1.45; }
.head-cta { display: none; }
.head-cta.btn { min-height: 44px; font-size: 14px; }
.head-cta.btn span { padding: 0 16px 0 18px; }
.head-cta.btn i { width: 44px; font-size: 17px; }
.menu-btn { margin-left: auto; width: 48px; height: 48px; border: 0; background: var(--ink); color: var(--white); display: grid; place-items: center; cursor: pointer; font-size: 22px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-menu { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--white); padding: calc(var(--head) + 24px) var(--pad) 40px;
  overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--ink); border-color: var(--line-dark); }
.menu-open .brand-word { filter: invert(1); }
.mobile-menu > a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font: 600 30px/1.1 var(--sans); font-stretch: 115%; letter-spacing: -.03em; }
.mobile-menu > a[aria-current] { color: var(--red); }
.mobile-menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 12px 0 8px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .sub a { padding: 9px 0; text-decoration: none; color: #b9bec6; font-size: 15px; }
.mobile-menu .btn { margin-top: 32px; width: 100%; justify-content: space-between; }
@media (min-width: 1100px) {
  .nav, .head-cta { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}
main { padding-top: var(--head); }

/* ---------- Images and placeholders ---------- */
.frame { position: relative; overflow: hidden; background: var(--ink-3); aspect-ratio: var(--ar, 4 / 5); }
.frame > img, .frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame[data-parallax] > img, .frame[data-parallax] > .ph { inset: -8% 0; height: 116%; }
.frame figcaption, .frame .cap {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 10px 14px; background: var(--white);
  font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.ph {
  display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.55);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(227,27,35,.30), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #2a2e35, #121417 70%);
}
.ph span { font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 14px; max-width: 30ch; }
.ph span b { display: block; color: var(--white); font-weight: 500; font-size: 12px; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.reveal-img.in { clip-path: inset(0); }
.reveal-img > img, .reveal-img > .ph { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.reveal-img.in > img, .reveal-img.in > .ph { transform: scale(1); }
.reveal-img[data-parallax].in > img, .reveal-img[data-parallax].in > .ph { transform: translateY(var(--py, 0)); }

/* ---------- Reveal motion ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 0; overflow: hidden; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 52px); }
.hero-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,27,35,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(227,27,35,0); } 100% { box-shadow: 0 0 0 0 rgba(227,27,35,0); } }
.hero .d1 { max-width: 12.5ch; }
.hbar { display: inline-block; width: 1.25em; height: .2em; background: var(--red); vertical-align: .22em; margin: 0 .08em 0 .02em; clip-path: polygon(.2em 0, 100% 0, calc(100% - .2em) 100%, 0 100%); transform-origin: left; animation: grow 1.2s .5s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero-row { margin-top: clamp(36px, 5vw, 72px); align-items: start; }
.hero-row .lead { margin-bottom: 32px; max-width: 34ch; }
.hero-frame { --ar: 16 / 9; }
@media (min-width: 960px) { .hero-frame { margin-right: calc(var(--pad) * -1); --ar: 16 / 8.6; } }

.marquee { background: var(--ink); color: var(--white); overflow: hidden; margin-top: clamp(48px, 6vw, 80px); border-top: 4px solid var(--red); }
.marquee-track { display: flex; width: max-content; animation: scroll-x 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 28px; padding: 26px 28px 26px 0; text-decoration: none; white-space: nowrap; font: 600 clamp(22px, 2.6vw, 38px)/1 var(--sans); font-stretch: 120%; letter-spacing: -.03em; transition: color .3s; }
.marquee a:hover { color: var(--red); }
.marquee a::after { content: ""; width: 34px; height: 10px; background: var(--red); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Scroll-filled statement ---------- */
.fill .fw { color: rgba(11,12,14,.16); transition: color .25s; }
.fill .fw.on { color: var(--ink); }
.dark .fill .fw { color: rgba(255,255,255,.16); }
.dark .fill .fw.on { color: var(--white); }

/* ---------- Horizontal service gallery ---------- */
.hgal { background: var(--ink); color: #b9bec6; position: relative; }
.hgal-sticky { position: relative; overflow: hidden; padding: var(--sec) 0; }
.hgal-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.hgal-head .d2 { color: var(--white); max-width: 12ch; margin-top: 22px; }
.hgal-head .count { font: 600 clamp(48px, 6vw, 96px)/.8 var(--sans); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); letter-spacing: -.04em; }
.hgal-track { display: flex; gap: var(--gut); padding: 0 var(--pad); will-change: transform; }
.hpanel { flex: 0 0 min(82vw, 440px); text-decoration: none; color: inherit; display: block; }
.hpanel .frame { --ar: 4 / 5; }
.hpanel .frame > img, .hpanel .frame > .ph { transition: transform 1s var(--ease); }
.hpanel:hover .frame > img, .hpanel:hover .frame > .ph { transform: scale(1.06); }
.hpanel-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 14px; border-bottom: 1px solid var(--line-dark); }
.hpanel-top i { font-size: 26px; color: var(--red); }
.hpanel h3 { color: var(--white); font: 600 clamp(24px, 2.2vw, 32px)/1.05 var(--sans); font-stretch: 112%; letter-spacing: -.03em; margin: 18px 0 12px; }
.hpanel p { font-size: 15.5px; line-height: 1.55; color: #9aa1ab; }
.hpanel .go { margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.hpanel .go i { color: var(--red); transition: transform .4s var(--ease); }
.hpanel:hover .go i { transform: rotate(45deg); }
.hgal-bar { height: 2px; background: var(--line-dark); margin: 48px var(--pad) 0; position: relative; }
.hgal-bar span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 959px) {
  .hgal-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .hgal-track::-webkit-scrollbar { display: none; }
  .hpanel { scroll-snap-align: start; }
  .hgal-bar { display: none; }
}
@media (min-width: 960px) {
  .hgal[data-ready] .hgal-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .hpanel { flex-basis: clamp(300px, 24vw, 390px); }
  .hgal .hpanel .frame { --ar: 1 / 1; }
  .hgal-head { margin-bottom: 32px; }
  .hgal-head .d2 { font-size: clamp(36px, 4.2vw, 68px); }
  .hpanel p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Red "why" band with logo wing lines ---------- */
.wings { position: absolute; right: -14%; top: 50%; width: min(64vw, 920px); transform: translateY(-50%); pointer-events: none; opacity: .16; }
.wings path, .wings circle { fill: none; stroke: #fff; stroke-width: 2; }
.why-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.35); }
.why-grid > div { padding: 32px 0 36px; border-bottom: 1px solid rgba(255,255,255,.35); display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
.why-grid i { font-size: 34px; color: var(--white); grid-row: span 2; }
.why-grid h3 { color: var(--white); font: 600 clamp(22px, 2vw, 28px)/1.15 var(--sans); font-stretch: 110%; letter-spacing: -.02em; margin-bottom: 10px; }
.why-grid p { color: rgba(255,255,255,.85); max-width: 42ch; }
@media (min-width: 800px) {
  .why-grid { grid-template-columns: 1fr 1fr; column-gap: var(--gut); }
}

/* ---------- Interactive list with sticky image ---------- */
.ilist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: il; }
.ilist li { border-bottom: 1px solid var(--line); }
.ilist a { position: relative; display: grid; grid-template-columns: 44px 1fr 40px; gap: 18px; align-items: center; padding: 22px 0; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.ilist a::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width .6s var(--ease); }
.ilist i:first-child { font-size: 28px; color: var(--ink); transition: color .3s; }
.ilist span { font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--sans); font-stretch: 104%; color: var(--ink); letter-spacing: -.015em; }
.ilist i:last-child { font-size: 20px; color: var(--grey-2); justify-self: end; transition: transform .4s var(--ease), color .3s; }
.ilist .is-on a, .ilist a:hover { padding-left: 14px; }
.ilist .is-on a::before, .ilist a:hover::before { width: 100%; }
.ilist .is-on i:first-child { color: var(--red); }
.ilist .is-on i:last-child, .ilist a:hover i:last-child { color: var(--red); transform: rotate(45deg); }
.stack-frames { position: relative; --ar: 4 / 5; }
.stack-frames .frame { position: absolute; inset: 0; opacity: 0; transition: opacity .6s, transform 1s var(--ease); transform: scale(1.03); }
.stack-frames .frame.is-on { opacity: 1; transform: none; }
.stack-frames::before { content: ""; display: block; aspect-ratio: var(--ar); }
@media (max-width: 959px) { .stack-frames { display: none; } }

/* ---------- Vision / mission ---------- */
.vm-row { padding: 36px 0; border-top: 1px solid var(--line-dark); }
.vm-row:last-child { border-bottom: 1px solid var(--line-dark); }
.vm-row .mono { color: var(--red); margin-bottom: 18px; display: block; }

/* ---------- CTA over image ---------- */
.cta { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.cta .bg { position: absolute; inset: 0; --ar: auto; aspect-ratio: auto; }
.cta .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,14,.92) 0%, rgba(11,12,14,.7) 50%, rgba(11,12,14,.35) 100%); }
.cta .wrap { position: relative; z-index: 2; padding-top: clamp(96px, 13vw, 200px); padding-bottom: clamp(80px, 10vw, 150px); }
.cta .d1 { color: var(--white); max-width: 13ch; font-size: clamp(42px, 6.6vw, 112px); }
.cta p { margin: 28px 0 40px; max-width: 46ch; color: rgba(255,255,255,.78); font-size: clamp(17px, 1.4vw, 20px); }
.cta-mini { background: var(--ink); color: #b9bec6; }
.cta-mini .wrap { display: grid; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.cta-mini .d3 { color: var(--white); max-width: 20ch; }
@media (min-width: 960px) { .cta-mini .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Inner page hero ---------- */
.phero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.crumb { display: flex; gap: 10px; align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--red-ink); }
.phero .d1 { max-width: 14ch; }
.phero-sub { margin-top: clamp(32px, 4vw, 56px); align-items: end; }
.phero-sub .d3 { margin-bottom: 22px; max-width: 18ch; }
.phero-sub .lead { margin-bottom: 32px; }
.phero .frame { --ar: 4 / 3; }
.full-title { margin-top: 18px; max-width: 60ch; }

/* Capability spec bar */
.spec { background: var(--ink); color: var(--white); }
.spec .wrap { display: grid; grid-template-columns: 1fr; }
.spec-label { padding: 28px 0 8px; }
.spec-items { display: grid; grid-template-columns: 1fr; }
.spec-items div { padding: 18px 0; border-top: 1px solid var(--line-dark); display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: #e6e8eb; }
.spec-items i { color: var(--red); font-size: 22px; flex-shrink: 0; }
@media (min-width: 960px) {
  .spec .wrap { grid-template-columns: 200px 1fr; }
  .spec-label { padding: 34px 0; border-right: 1px solid var(--line-dark); }
  .spec-items { grid-template-columns: repeat(5, 1fr); }
  .spec-items div { flex-direction: column; border-top: 0; border-right: 1px solid var(--line-dark); padding: 34px 22px; }
}

/* Who for */
.for { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 0 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.for i { font-size: 34px; color: var(--red); }
.for .mono { display: block; margin-bottom: 8px; color: var(--ink); }

/* Challenges list */
.clist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.clist li { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); font: 500 clamp(19px, 1.7vw, 24px)/1.3 var(--sans); color: var(--ink); letter-spacing: -.015em; overflow: hidden; isolation: isolate; transition: color .35s; }
.clist li::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.clist li:hover { color: var(--white); }
.clist li:hover::before { transform: none; }
.clist li .mono { padding-top: 6px; padding-left: 4px; }
.clist li:hover .mono { color: var(--red); }

/* Spec list (services offered, extras) */
.slist { border-top: 2px solid var(--ink); }
.slist > div { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.slist .mono { color: var(--red-ink); }
.slist h3 { font: 600 clamp(20px, 1.8vw, 26px)/1.15 var(--sans); font-stretch: 110%; letter-spacing: -.02em; }
.slist p { color: var(--text); max-width: 60ch; }
@media (min-width: 900px) {
  .slist > div { grid-template-columns: 80px minmax(0, 5fr) minmax(0, 6fr); gap: var(--gut); align-items: baseline; }
}
.dark .slist { border-color: var(--white); }
.dark .slist > div { border-color: var(--line-dark); }
.dark .slist p { color: #b9bec6; }
.note { display: grid; grid-template-columns: 30px 1fr; gap: 12px; margin-top: 36px; padding: 22px 24px; background: var(--white); border-left: 4px solid var(--red); color: var(--text); font-size: 15.5px; }
.note i { font-size: 24px; color: var(--red); }
.white .note { background: var(--bg); }

/* Stacking step cards (Simulation Lab) */
.steps-stack { display: grid; gap: 0; }
.step-card {
  position: sticky; top: calc(var(--head) + 24px + var(--i) * 14px); min-height: 300px;
  display: grid; grid-template-columns: 1fr; gap: 20px; padding: clamp(28px, 4vw, 52px);
  background: var(--white); border: 1px solid var(--line); margin-bottom: 28px; box-shadow: 0 -20px 40px -30px rgba(11,12,14,.35);
}
.step-card:nth-child(even) { background: var(--ink); color: #b9bec6; border-color: var(--ink); }
.step-card:nth-child(even) h3 { color: var(--white); }
.step-card .num { font: 650 clamp(64px, 8vw, 120px)/.8 var(--sans); font-stretch: 125%; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.step-card h3 { font: 600 clamp(24px, 2.4vw, 36px)/1.1 var(--sans); font-stretch: 112%; letter-spacing: -.03em; margin-bottom: 14px; }
.step-card p { font-size: clamp(16px, 1.3vw, 19px); max-width: 48ch; }
@media (min-width: 900px) { .step-card { grid-template-columns: 240px 1fr; align-items: start; } }

/* Benefits on red */
.blist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: var(--gut); border-top: 1px solid rgba(255,255,255,.4); }
.blist li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.4); color: var(--white); font: 500 clamp(18px, 1.6vw, 22px)/1.35 var(--sans); letter-spacing: -.01em; }
.blist i { font-size: 24px; margin-top: 2px; flex-shrink: 0; }
@media (min-width: 800px) { .blist { grid-template-columns: 1fr 1fr; } }

/* Pledge / principles */
.pledge { display: grid; grid-template-columns: 1fr; gap: 24px; padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); position: relative; }
.pledge::before { content: ""; position: absolute; left: 0; top: 0; width: 120px; height: 6px; background: var(--red); }
.pledge i { font-size: 44px; color: var(--red); }
.pledge h3 { font: 600 clamp(22px, 2vw, 28px)/1.15 var(--sans); font-stretch: 110%; letter-spacing: -.02em; margin-bottom: 12px; }
.pledge p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text); }
@media (min-width: 800px) { .pledge { grid-template-columns: 80px 1fr; } }

/* Next service */
.next { display: block; text-decoration: none; border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0; }
.next .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.next .d2 { transition: color .3s; }
.next:hover .d2 { color: var(--red-ink); }
.next .bigarrow { flex-shrink: 0; width: clamp(64px, 8vw, 120px); height: clamp(64px, 8vw, 120px); display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: clamp(28px, 3vw, 48px); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: background .3s, transform .5s var(--ease); }
.next:hover .bigarrow { background: var(--red); transform: rotate(-45deg); }

/* Service index with cursor image (services page) */
.sindex { border-top: 2px solid var(--ink); }
.sindex a { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.sindex .mono { color: var(--red-ink); }
.sindex h3 { font: 620 clamp(30px, 4.4vw, 68px)/.98 var(--sans); font-stretch: 116%; letter-spacing: -.04em; transition: transform .5s var(--ease), color .3s; }
.sindex p { color: var(--grey); max-width: 46ch; }
.sindex i { font-size: 30px; color: var(--ink); transition: transform .4s var(--ease), color .3s; }
.sindex a:hover h3 { transform: translateX(18px); color: var(--red-ink); }
.sindex a:hover i { transform: rotate(45deg); color: var(--red); }
@media (min-width: 960px) { .sindex a { grid-template-columns: 70px minmax(0, 6.5fr) minmax(0, 4fr) 40px; gap: var(--gut); align-items: center; } }
.cursor-img { position: fixed; left: 0; top: 0; z-index: 40; width: 280px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease); --ar: 4 / 5; }
.cursor-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-img .frame { position: absolute; inset: 0; opacity: 0; }
.cursor-img .frame.is-on { opacity: 1; }
.cursor-img::before { content: ""; display: block; aspect-ratio: var(--ar); }
@media (hover: none), (max-width: 959px) { .cursor-img { display: none; } }

/* Approach timeline */
.rail { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
.rail::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: var(--line-dark); }
.rail-fill { position: absolute; left: 27px; top: 0; width: 2px; height: 100%; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); margin-left: -.5px; }
.rail > div { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 0 0 48px; }
.rail .dot { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line-dark); font-size: 26px; color: var(--white); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background .4s; }
.rail > div.in .dot { background: var(--red); border-color: var(--red); }
.rail h3 { font: 600 clamp(24px, 2.4vw, 34px)/1.1 var(--sans); font-stretch: 112%; letter-spacing: -.03em; margin: 10px 0 10px; }
.rail .mono { display: block; margin-top: 4px; }
@media (min-width: 960px) {
  .rail { grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
  .rail::before { left: 0; right: 0; top: 27px; bottom: auto; width: auto; height: 1px; }
  .rail-fill { left: 0; top: 27px; width: 100%; height: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); margin: -.5px 0 0; }
  .rail > div { grid-template-columns: 1fr; padding: 0; gap: 26px; }
}

/* Ruled cell grid (values, engagements) */
.cells { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cells > * { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; text-decoration: none; transition: background .35s; }
.cells i { font-size: 36px; color: var(--red); }
.cells h3 { font: 600 clamp(20px, 1.8vw, 26px)/1.15 var(--sans); font-stretch: 110%; letter-spacing: -.02em; margin: 28px 0 10px; }
.cells p { color: var(--grey); }
.cells .mono { position: absolute; right: 22px; top: 22px; }
a.cell:hover { background: var(--white); }
a.cell .eng { font: 450 clamp(19px, 1.6vw, 23px)/1.35 var(--sans); color: var(--ink); letter-spacing: -.01em; margin-top: 10px; }
a.cell .tag { margin-top: 28px; }
a.cell .open { position: absolute; right: 22px; bottom: 22px; font-size: 22px; color: var(--grey-2); transition: transform .4s var(--ease), color .3s; }
a.cell:hover .open { color: var(--red); transform: rotate(45deg); }
@media (min-width: 700px) { .cells { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cells-3 { grid-template-columns: repeat(3, 1fr); } }
.white .cells > *:hover { background: var(--bg); }

/* Sector rows */
.srow { display: grid; grid-template-columns: 1fr; gap: 18px; padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--line); }
.srow:first-child { border-top: 2px solid var(--ink); }
.srow i.big-i { font-size: 48px; color: var(--red); }
.srow h3 { font: 620 clamp(26px, 3vw, 44px)/1 var(--sans); font-stretch: 114%; letter-spacing: -.035em; }
.srow p { font-size: clamp(17px, 1.4vw, 19px); color: var(--text); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; background: var(--white); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.chips a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (min-width: 960px) { .srow { grid-template-columns: 70px 90px minmax(0, 5fr) minmax(0, 6fr); gap: var(--gut); align-items: start; } }

/* Partner marquee (about) */
.pmarq { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pmarq .marquee-track { animation-duration: 36s; }
.pmarq span { display: inline-flex; align-items: center; gap: 26px; padding: 30px 26px 30px 0; font: 600 clamp(24px, 3vw, 44px)/1 var(--sans); font-stretch: 118%; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.pmarq span::after { content: ""; width: 14px; height: 14px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%, 0 60%); }

/* ---------- Forms ---------- */
.form h2 { margin-bottom: 10px; }
.form .sub { color: var(--grey); margin-bottom: 40px; }
.fields { display: grid; grid-template-columns: 1fr; gap: 30px var(--gut); }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field { position: relative; }
.field label { display: block; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--grey); margin-bottom: 10px; }
.field label i { font-style: normal; color: var(--red-ink); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  padding: 8px 0 12px; font: 400 19px/1.35 var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0c0e' stroke-width='1.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; padding-right: 28px; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.privacy { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 36px 0 32px; padding: 18px 20px; background: var(--bg); font-size: 14.5px; line-height: 1.55; color: var(--text); border-left: 3px solid var(--ink); }
.privacy i { font-size: 22px; color: var(--ink); }
.msg { margin-top: 20px; padding: 16px 18px; font-size: 15px; border-left: 3px solid; }
.msg[hidden] { display: none; }
.msg--ok { background: #eef6ef; border-color: #2f7d4a; color: #1d4f2f; }
.msg--warn { background: #fdecec; border-color: var(--red); color: var(--red-dark); }

.contact-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list i { font-size: 26px; color: var(--red); }
.contact-list .mono { display: block; margin-bottom: 6px; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; word-break: break-word; font-size: 17px; }
.contact-list a:hover { color: var(--red-ink); }
.todo { display: inline-block; padding: 3px 10px; border: 1.5px dashed var(--grey-2); color: var(--grey) !important; font: 500 12px/1.4 var(--mono) !important; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8d939c; padding-top: clamp(64px, 8vw, 112px); overflow: hidden; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
.foot-top .d3 { color: var(--white); max-width: 16ch; margin-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px var(--gut); }
.foot-cols h4 { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 18px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-cols a { text-decoration: none; color: #c8ccd2; transition: color .2s; }
.foot-cols a:hover { color: var(--white); }
.foot-contact { display: grid; gap: 10px; margin-top: 8px; }
.foot-contact div { display: flex; gap: 10px; align-items: flex-start; color: #c8ccd2; }
.foot-contact i { color: var(--red); font-size: 18px; margin-top: 2px; }
.foot-contact a { color: inherit; text-decoration: none; }
@media (min-width: 960px) { .foot-top { grid-template-columns: 5fr 7fr; } .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-mark { display: flex; align-items: end; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad); max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; }
.foot-mark .emb { width: clamp(64px, 11vw, 168px); height: auto; flex-shrink: 0; margin-bottom: clamp(2px, .5vw, 8px); }
.foot-mark .word { flex: 1 1 0; min-width: 0; width: 100%; height: auto; opacity: .95; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line-dark); }
.foot-base .mono { color: #6d737c; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .split .w > span, .reveal-img, .reveal-img > img, .reveal-img > .ph { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
.no-js .rv, .no-js .split .w > span { opacity: 1; transform: none; }
.no-js .reveal-img { clip-path: none; }

/* Headings in the narrow sticky column */
@media (min-width: 960px) { .c-l4 .d2 { font-size: clamp(34px, 3.6vw, 58px); } }

/* Mobile refinements */
.mobile-menu > a.btn { display: flex; padding: 0; border: 0; margin-top: 32px; font: 600 16px/1 var(--sans); font-stretch: 108%; letter-spacing: 0; color: var(--white); }
@media (max-width: 959px) {
  .hgal-track { scroll-padding: 0 var(--pad); }
  .hero-meta > span:last-child { display: none; }
}
