/* =========================================================
   TERNMAX LOGISTIC PRIVATE LIMITED — Design System
   Brand: Orange-Red #F8360B (movement) · Royal Blue #3529BE (connectivity)
   ========================================================= */

:root {
  --orange: #F8360B;
  --orange-deep: #D82C05;
  --blue: #3529BE;
  --blue-deep: #241B8F;
  --blue-night: #120D4A;
  --black: #111111;
  --ink: #1B1B22;
  --white: #FFFFFF;
  --gray: #F4F5F8;
  --gray-2: #E6E8EF;
  --steel: #6B6F80;

  --f-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --f-head: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-label: "Manrope", "Inter", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 24px 60px -24px rgba(18, 13, 74, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 9999;
  background: var(--orange); color: #fff; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.display {
  font-size: clamp(2.8rem, 7.4vw, 7rem);
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .92;
}
.h-xl { font-size: clamp(2.2rem, 5vw, 4.4rem); text-transform: uppercase; letter-spacing: -.03em; }
.h-lg { font-size: clamp(1.8rem, 3.4vw, 3rem); text-transform: uppercase; letter-spacing: -.025em; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.h-blue { color: var(--blue); }
.accent { color: var(--orange); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: #3d3f4c; max-width: 60ch; }
.muted { color: var(--steel); }
p { margin: 0 0 1em; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-label); font-weight: 800; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 22px;
}
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.label .num { color: var(--blue); }
.on-dark .label .num { color: #9C95FF; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff; --hover: var(--blue);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 28px; min-height: 52px;
  font-family: var(--f-label); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 0; border-radius: var(--radius);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover);
  transform: translateX(-101%) skewX(-18deg); transform-origin: left;
  transition: transform .55s var(--ease);
  width: 130%; left: -15%;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-18deg); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(53, 41, 190, .55); }
.btn .arr { width: 18px; height: 12px; transition: transform .4s var(--ease); flex: none; }
.btn:hover .arr { transform: translateX(5px); }
.btn--blue { --bg: var(--blue); --hover: var(--orange); }
.btn--blue:hover { box-shadow: 0 14px 30px -12px rgba(248, 54, 11, .55); }
.btn--ghost { --bg: transparent; --fg: #fff; --hover: var(--orange); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost-dark { --bg: transparent; --fg: var(--blue); --hover: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--ghost-dark:hover { --fg: #fff; color: #fff; }
.btn--sm { padding: 12px 20px; min-height: 44px; font-size: .72rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); border-bottom: 2px solid var(--orange); padding-bottom: 6px;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--orange); }
.on-dark .link-arrow { color: #fff; }

/* ---------- Approval tags (toggle in js/main.js) ---------- */
.approval-tag {
  display: none; align-items: center; gap: 6px; margin: 0 0 12px;
  font-family: var(--f-label); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep); background: #FFF1EC; border: 1px dashed var(--orange);
  padding: 4px 10px; border-radius: 3px; width: fit-content;
}
.approval-tag::before { content: "●"; font-size: .6rem; }
body.show-approval .approval-tag { display: inline-flex; }
.on-dark .approval-tag { background: rgba(248,54,11,.14); color: #FFB49F; }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  border-left: 3px solid var(--orange); background: var(--gray); padding: 16px 20px;
  font-size: .92rem; color: #33343f; border-radius: 0 4px 4px 0;
}
.notice svg { flex: none; margin-top: 3px; color: var(--orange); }
.on-dark .notice { background: rgba(255,255,255,.06); color: #d7d8e6; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--blue-night);
  display: grid; place-items: center; overflow: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__grid {
  position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
}
.loader__inner { position: relative; text-align: center; width: min(560px, 86vw); }
.loader__logo { background: #fff; padding: 14px 22px; border-radius: 6px; display: inline-block; margin-bottom: 34px; animation: loaderIn .6s var(--ease) both; }
.loader__logo img { width: 210px; height: auto; }
.loader__route { width: 100%; height: 60px; overflow: visible; }
.loader__route .track { stroke: rgba(255,255,255,.14); }
.loader__route .line { stroke: var(--orange); stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s var(--ease-io) .2s forwards; }
.loader__route .node { fill: var(--blue-night); stroke: #6F66F0; stroke-width: 2; opacity: .5; animation: nodeOn .3s forwards; }
.loader__route .node:nth-of-type(1) { animation-delay: .25s; }
.loader__route .node:nth-of-type(2) { animation-delay: .6s; }
.loader__route .node:nth-of-type(3) { animation-delay: .95s; }
.loader__route .node:nth-of-type(4) { animation-delay: 1.35s; }
.loader__route .cargo { fill: var(--orange); offset-path: path("M10 30 C 120 30, 140 8, 220 8 S 340 52, 420 30 S 520 20, 550 30"); animation: cargoMove 1.4s var(--ease-io) .2s forwards; }
.loader__text { margin-top: 22px; font-family: var(--f-label); font-weight: 800; letter-spacing: .32em; font-size: .72rem; color: #B9B5FF; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes nodeOn { to { opacity: 1; fill: var(--orange); stroke: #fff; } }
@keyframes cargoMove { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes loaderIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease), backdrop-filter .45s;
}
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.header.is-solid, body:not(.has-hero) .header {
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--gray-2), 0 10px 30px -20px rgba(18,13,74,.35);
}
.header.is-solid { height: 72px; }
.brand { flex: none; display: flex; align-items: center; }
.brand__chip { background: #fff; border-radius: 5px; padding: 7px 12px; display: flex; transition: padding .4s var(--ease), box-shadow .4s; box-shadow: 0 6px 20px -10px rgba(0,0,0,.4); }
.header.is-solid .brand__chip, body:not(.has-hero) .brand__chip { padding: 4px 0; box-shadow: none; }
.brand img { height: 44px; width: auto; }
.header.is-solid .brand img { height: 40px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a {
  position: relative; display: block; padding: 8px 0;
  font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; transition: color .3s;
}
.header.is-solid .nav a, body:not(.has-hero) .nav a { color: var(--black); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--orange) 0 60%, var(--blue) 60%);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--orange) !important; }
.nav a:hover { color: var(--orange); }
.header .btn { flex: none; }

.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: var(--orange); border-radius: 4px; cursor: pointer;
  position: relative; z-index: 1001;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; right: 19px; }
.burger span:nth-child(3) { top: 29px; }
body.menu-open .burger { background: var(--blue); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.mnav {
  position: fixed; inset: 0; z-index: 1000; background: var(--blue-night); color: #fff;
  clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s .75s;
  display: flex; flex-direction: column; padding: 110px var(--gutter) 40px; overflow-y: auto;
}
body.menu-open .mnav { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .75s var(--ease-io); }
.mnav__route { position: absolute; right: -40px; top: 80px; width: 260px; opacity: .25; pointer-events: none; }
.mnav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mnav li { counter-increment: m; border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateX(-24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.menu-open .mnav li { opacity: 1; transform: none; }
body.menu-open .mnav li:nth-child(1) { transition-delay: .25s; } body.menu-open .mnav li:nth-child(2) { transition-delay: .29s; }
body.menu-open .mnav li:nth-child(3) { transition-delay: .33s; } body.menu-open .mnav li:nth-child(4) { transition-delay: .37s; }
body.menu-open .mnav li:nth-child(5) { transition-delay: .41s; } body.menu-open .mnav li:nth-child(6) { transition-delay: .45s; }
body.menu-open .mnav li:nth-child(7) { transition-delay: .49s; } body.menu-open .mnav li:nth-child(8) { transition-delay: .53s; }
.mnav li a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 7vw, 2.4rem); text-transform: uppercase; letter-spacing: -.02em; }
.mnav li a::before { content: "0" counter(m); font-family: var(--f-label); font-size: .7rem; letter-spacing: .2em; color: var(--orange); }
.mnav li a[aria-current="page"] { color: var(--orange); }
.mnav__foot { margin-top: auto; padding-top: 30px; display: grid; gap: 10px; font-size: .92rem; color: #C9C6F5; }
.mnav__foot .btn { justify-self: start; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--black); overflow: hidden; isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(17,17,17,.94) 0%, rgba(18,13,74,.86) 38%, rgba(36,27,143,.42) 70%, rgba(17,17,17,.35) 100%),
    linear-gradient(0deg, rgba(17,17,17,.85) 0%, transparent 45%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 75%);
}
.hero__route { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 9vh, 100px); }
.hero__tag {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px;
  font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .26em; color: #fff;
}
.hero__tag i { width: 10px; height: 10px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 0 rgba(248,54,11,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(248,54,11,0); } 100% { box-shadow: 0 0 0 0 rgba(248,54,11,0); } }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero.is-in h1 .ln > span { transform: none; }
.hero.is-in h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .accent { position: relative; }
.hero__sub { margin: 30px 0 38px; max-width: 54ch; font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: #DCDAF5; opacity: 0; transform: translateY(18px); transition: all .9s var(--ease) .45s; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; transform: translateY(18px); transition: all .9s var(--ease) .6s; }
.hero.is-in .hero__sub, .hero.is-in .hero__cta { opacity: 1; transform: none; }
.hero__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: clamp(40px, 8vh, 80px);
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--f-label); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #B9B6DD;
}
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 44px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.25); }
.hero__dots button::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: var(--orange); }
.hero__dots button.is-active::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll span { width: 1px; height: 40px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.illus-note { font-size: .62rem; letter-spacing: .14em; color: rgba(255,255,255,.4); }

/* ---------- Page hero (inner pages) ---------- */
.phero {
  position: relative; padding: calc(var(--header-h) + clamp(60px, 10vw, 120px)) 0 clamp(60px, 8vw, 100px);
  color: #fff; background: var(--blue-night); overflow: hidden; isolation: isolate;
}
.phero__img { position: absolute; inset: 0; z-index: -2; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: phzoom 14s ease-out forwards; }
@keyframes phzoom { to { transform: scale(1); } }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(17,17,17,.92) 0%, rgba(18,13,74,.88) 45%, rgba(53,41,190,.45) 100%); }
.phero::after {
  content: ""; position: absolute; right: -6%; bottom: -1px; width: 46%; height: 70px; z-index: 0;
  background: var(--orange); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: right; animation: swoosh 1.2s var(--ease) .3s both;
}
@keyframes swoosh { from { transform: scaleX(0); } }
.phero .crumbs { font-family: var(--f-label); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #A7A3E0; margin-bottom: 26px; }
.phero .crumbs a:hover { color: var(--orange); }
.phero .crumbs span { margin: 0 10px; color: var(--orange); }
.phero h1 { max-width: 16ch; }
.phero .lead { color: #D7D5F2; margin-top: 26px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--black); color: #fff; }
.section--blue { background: var(--blue-night); color: #fff; }
.section--tight { padding: clamp(60px, 7vw, 90px) 0; }
.on-dark .lead, .section--dark .lead, .section--blue .lead { color: #C8C6E6; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--single { grid-template-columns: 1fr; max-width: 900px; }

/* Route rail — the TERNMAX ROUTE SYSTEM spine */
.rail { position: fixed; left: max(18px, calc((100vw - var(--wrap)) / 2 - 40px)); top: 0; bottom: 0; width: 20px; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .6s; }
.rail.is-on { opacity: 1; }
.rail__track { position: absolute; left: 9px; top: 18vh; bottom: 18vh; width: 2px; background: repeating-linear-gradient(to bottom, rgba(53,41,190,.25) 0 6px, transparent 6px 12px); }
.rail__fill { position: absolute; left: 9px; top: 18vh; width: 2px; height: 0; background: linear-gradient(var(--blue), var(--orange)); }
.rail__cargo { position: absolute; left: 4px; top: 18vh; width: 12px; height: 12px; background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(248,54,11,.2); transition: top .1s linear; }
.rail__nodes { position: absolute; left: 0; top: 18vh; bottom: 18vh; width: 20px; }
.rail__node { position: absolute; left: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); transform: translateY(-50%); transition: background .3s, border-color .3s, transform .3s; pointer-events: auto; cursor: pointer; }
.rail__node.is-passed { background: var(--orange); border-color: var(--orange); }
.rail__node.is-current { transform: translateY(-50%) scale(1.5); }
.rail__node span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--f-label); font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); opacity: 0; transition: opacity .3s; background: #fff; padding: 3px 7px; border-radius: 2px; box-shadow: 0 4px 12px -6px rgba(0,0,0,.3); }
.rail__node:hover span, .rail__node.is-current span { opacity: 1; }

/* Intro split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
.figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.figure:hover img { transform: scale(1.05); }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure__cap { position: absolute; left: 0; bottom: 0; background: rgba(17,17,17,.75); color: #fff; font-family: var(--f-label); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; backdrop-filter: blur(4px); }
.figure__badge { position: absolute; top: 24px; right: -1px; background: var(--orange); color: #fff; padding: 14px 20px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); padding-left: 32px; }
.intro-art { position: relative; }
.intro-art .figure--tall { margin-left: 12%; }
.intro-art__sub { position: absolute; left: 0; bottom: -40px; width: 46%; aspect-ratio: 1; border: 8px solid #fff; box-shadow: var(--shadow); }

/* Image reveal */
.reveal-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-io); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.2); transition: transform 1.6s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }

/* Generic reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
.split-head .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-head .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.split-head.is-in .w > span { transform: none; }

/* ---------- Service explorer ---------- */
.explorer { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 4vw, 70px); align-items: start; transition: background .6s; }
.explorer__nav { position: sticky; top: 110px; }
.explorer__progress { height: 2px; background: var(--gray-2); margin-bottom: 18px; position: relative; }
.explorer__progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--orange); width: 12.5%; transition: width .6s var(--ease); }
.explorer__count { font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .2em; color: var(--steel); margin-bottom: 10px; }
.explorer__count b { color: var(--orange); }
.explorer__list { list-style: none; margin: 0; padding: 0; }
.explorer__list button {
  width: 100%; display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 10px;
  padding: 18px 0; border: 0; border-bottom: 1px solid var(--gray-2); background: none; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: -.01em; color: #9497A6;
  transition: color .35s, padding .35s var(--ease);
}
.explorer__list button small { font-family: var(--f-label); font-size: .7rem; letter-spacing: .14em; color: inherit; }
.explorer__list button svg { opacity: 0; transform: translateX(-8px); transition: all .35s var(--ease); color: var(--orange); }
.explorer__list button:hover { color: var(--blue); }
.explorer__list button[aria-selected="true"] { color: var(--blue); padding-left: 10px; }
.explorer__list button[aria-selected="true"] small { color: var(--orange); }
.explorer__list button[aria-selected="true"] svg { opacity: 1; transform: none; }
.explorer__stage { position: relative; }
.explorer__panel { display: none; }
.explorer__panel.is-active { display: block; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; } }
.explorer__panel .figure { aspect-ratio: 16 / 10; }
.explorer__panel.is-active .figure img { animation: imgIn 1.1s var(--ease); }
@keyframes imgIn { from { transform: scale(1.12); clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.explorer__body { display: grid; grid-template-columns: 90px 1fr; gap: 20px; margin-top: 34px; }
.explorer__num { font-family: var(--f-display); font-size: 4rem; font-weight: 700; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--orange); }
.explorer__panel.is-active h3 { animation: headIn .8s var(--ease) .1s both; }
.explorer__panel.is-active .explorer__desc { animation: headIn .8s var(--ease) .25s both; }
@keyframes headIn { from { opacity: 0; transform: translateY(18px); } }
.explorer__desc ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.explorer__desc li { position: relative; padding-left: 22px; font-size: .95rem; }
.explorer__desc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--orange); }

/* ---------- Journey (horizontal interaction) ---------- */
.journey { position: relative; }
.journey__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 10px 0 50px; }
.journey__line { position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: rgba(255,255,255,.15); }
.journey__line i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, #6F66F0, var(--orange)); transition: width .8s var(--ease); }
.journey__truck { position: absolute; top: -22px; left: 10%; width: 34px; height: 24px; transform: translateX(-50%); transition: left .8s var(--ease); color: var(--orange); z-index: 2; }
.journey__stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; border: 0; background: none; color: #8F8BC9; cursor: pointer; padding: 0 6px; }
.journey__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-night); border: 2px solid rgba(255,255,255,.2); font-family: var(--f-label); font-weight: 800; font-size: .8rem; color: #fff; transition: all .5s var(--ease); position: relative; z-index: 1; }
.journey__stop.is-done .journey__dot { border-color: #6F66F0; background: var(--blue); }
.journey__stop.is-active .journey__dot { background: var(--orange); border-color: var(--orange); transform: scale(1.12); box-shadow: 0 0 0 8px rgba(248,54,11,.18); }
.journey__stop span { font-family: var(--f-label); font-weight: 800; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; transition: color .3s; }
.journey__stop.is-active span { color: #fff; }
.journey__panels { position: relative; min-height: 380px; }
.journey__panel { display: none; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.journey__panel.is-active { display: grid; animation: panelIn .6s var(--ease); }
.journey__panel .figure { aspect-ratio: 16/11; }
.journey__panel.is-active .figure img { animation: imgIn 1s var(--ease); }
.journey__panel h3 { margin: 8px 0 18px; }
.journey__panel .big-num { font-family: var(--f-display); font-size: 1rem; color: var(--orange); font-weight: 700; letter-spacing: .1em; }

/* ---------- Why (numbered editorial) ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 90px); }
.why__media { position: sticky; top: 110px; height: min(78vh, 680px); }
.why__media .figure { height: 100%; }
.why__media .figure img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease); transform: scale(1.08); }
.why__media .figure img.is-active { opacity: 1; transform: scale(1); }
.why__list { list-style: none; margin: 0; padding: 0; }
.why__item { display: grid; grid-template-columns: 100px 1fr; gap: 10px 20px; padding: 38px 0; border-top: 1px solid var(--gray-2); transition: opacity .4s; }
.why__item:last-child { border-bottom: 1px solid var(--gray-2); }
.why__n { font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: .9; color: var(--gray-2); transition: color .5s; }
.why__item.is-active .why__n { color: var(--orange); }
.why__item h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); text-transform: uppercase; color: var(--blue); margin: 4px 0 10px; }

/* ---------- Cards / tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gray-2); border: 1px solid var(--gray-2); }
.tile { background: #fff; padding: clamp(28px, 3vw, 44px); position: relative; overflow: hidden; transition: background .5s var(--ease), color .5s; }
.tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tile:hover::after { transform: scaleX(1); }
.tile:hover { background: var(--blue-night); color: #fff; }
.tile:hover h3 { color: #fff; }
.tile:hover p { color: #C8C6E6; }
.tile__n { font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .2em; color: var(--orange); margin-bottom: 40px; display: flex; justify-content: space-between; }
.tile h3 { font-size: 1.35rem; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; transition: color .5s; }
.tile p { color: #50525f; font-size: .96rem; margin: 0; transition: color .5s; }
.section--gray .tiles { background: #dfe1ea; }

/* Editorial rows (transport / freight / warehousing / fleet) */
.rows { display: grid; gap: clamp(70px, 9vw, 130px); }
.row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.row:nth-child(even) > .figure { order: 2; }
.row .figure { aspect-ratio: 5 / 4; }
.row__n { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--blue); opacity: .5; margin-bottom: 14px; }
.row h3 { text-transform: uppercase; color: var(--blue); font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Industry editorial */
.ind { display: grid; gap: 2px; }
.ind__item { position: relative; min-height: clamp(420px, 60vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.ind__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.ind__item:hover > img { transform: scale(1.05); }
.ind__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(18,13,74,.75) 50%, rgba(18,13,74,.15) 100%); }
.ind__item:nth-child(even)::before { background: linear-gradient(270deg, rgba(17,17,17,.92) 0%, rgba(18,13,74,.75) 50%, rgba(18,13,74,.15) 100%); }
.ind__in { width: 100%; padding-top: 70px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ind__item:nth-child(even) .ind__text { grid-column: 2; }
.ind__text h2 { margin: 6px 0 16px; }
.ind__text p { color: #D7D5F2; }
.ind__req { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; padding: 0; list-style: none; }
.ind__req li { font-family: var(--f-label); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 30px; }

/* Supply chain flow */
.flow { position: relative; max-width: 980px; margin: 0 auto; }
.flow__spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }
.flow__fill { position: absolute; left: 50%; top: 0; width: 2px; height: 0; transform: translateX(-50%); background: linear-gradient(#6F66F0, var(--orange)); }
.flow__stage { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; min-height: 190px; }
.flow__node { grid-column: 2; justify-self: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-night); border: 2px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #8F8BC9; transition: all .6s var(--ease); position: relative; z-index: 1; }
.flow__node svg { width: 26px; height: 26px; }
.flow__stage.is-active .flow__node { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 10px rgba(248,54,11,.15); }
.flow__card { padding: 26px 30px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 4px; opacity: .35; transform: translateX(-20px); transition: all .7s var(--ease); }
.flow__stage:nth-child(even) .flow__card { grid-column: 3; grid-row: 1; transform: translateX(20px); }
.flow__stage:nth-child(odd) .flow__card { grid-column: 1; grid-row: 1; }
.flow__stage.is-active .flow__card { opacity: 1; transform: none; border-color: rgba(248,54,11,.4); }
.flow__card small { font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; font-size: .68rem; color: var(--orange); }
.flow__card h3 { font-size: 1.5rem; text-transform: uppercase; margin: 6px 0 10px; }
.flow__card p { margin: 0; color: #C3C1E3; font-size: .95rem; }
.flow__bars { display: flex; gap: 4px; margin-top: 16px; height: 22px; align-items: flex-end; }
.flow__bars i { flex: 1; background: rgba(111,102,240,.35); height: 20%; transition: height .8s var(--ease); }
.flow__stage.is-active .flow__bars i { background: rgba(248,54,11,.55); }

/* Network map */
.netmap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.netmap__svg { width: 100%; height: auto; }
.netmap__svg .india { fill: rgba(111,102,240,.12); stroke: rgba(160,155,255,.55); stroke-width: 1.4; }
.netmap__svg .grid line { stroke: rgba(255,255,255,.05); }
.netmap__svg .route { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-dasharray: 4 6; animation: dash 18s linear infinite; opacity: .8; }
.netmap__svg .route--b { stroke: #8D85FF; animation-duration: 24s; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.netmap__svg .hub { cursor: pointer; }
.netmap__svg .hub circle.core { fill: var(--orange); }
.netmap__svg .hub circle.halo { fill: none; stroke: var(--orange); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: halo 2.4s infinite; }
.netmap__svg .hub--node circle.core { fill: #8D85FF; }
.netmap__svg .hub--node circle.halo { stroke: #8D85FF; }
.netmap__svg .hub.is-active circle.core { fill: #fff; }
.netmap__svg .hub text { fill: #D7D5F2; font-family: var(--f-label); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
@keyframes halo { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.netmap__svg .mover { fill: #fff; }
.netmap__info { padding: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: rgba(255,255,255,.03); }
.netmap__info h3 { text-transform: uppercase; font-size: 1.6rem; margin: 8px 0 12px; }
.legend { display: grid; gap: 10px; margin-top: 24px; font-size: .88rem; color: #C3C1E3; }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 22px; height: 2px; background: var(--orange); display: inline-block; }
.legend i.b { background: #8D85FF; }
.legend i.dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Tracking ---------- */
.track-box { background: #fff; border-radius: 6px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); margin-top: -90px; position: relative; z-index: 2; }
.track-form { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.track-result { margin-top: 30px; }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gray-2); border: 1px solid var(--gray-2); margin: 20px 0 30px; }
.track-grid div { background: #fff; padding: 18px 20px; }
.track-grid small { display: block; font-family: var(--f-label); font-weight: 800; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.track-grid strong { font-family: var(--f-display); font-size: 1.1rem; color: var(--blue); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gray-2); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.timeline li:first-child::before { background: var(--orange); box-shadow: 0 0 0 5px rgba(248,54,11,.2); }
.timeline time { font-size: .82rem; color: var(--steel); }
.skeleton { display: grid; gap: 12px; }
.skeleton i { height: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--gray) 0%, var(--gray-2) 50%, var(--gray) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: grid; gap: 8px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-label); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--black); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; background: var(--gray); border: 1.5px solid transparent; border-radius: 4px;
  font-size: 1rem; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233529BE' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53,41,190,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--orange); background: #FFF6F3; }
.field__err { font-size: .82rem; color: var(--orange-deep); font-weight: 600; min-height: 0; display: none; }
.field.has-error .field__err { display: block; }
.field input[type="file"] { padding: 12px; min-height: auto; cursor: pointer; }
.field input[type="file"]::file-selector-button { border: 0; background: var(--blue); color: #fff; padding: 9px 16px; border-radius: 3px; font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-right: 14px; cursor: pointer; }
.field__hint { font-size: .8rem; color: var(--steel); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 6px; }
.form__status { grid-column: 1 / -1; display: none; border-radius: 4px; padding: 20px 22px; font-size: .95rem; }
.form__status.is-shown { display: block; animation: headIn .5s var(--ease); }
.form__status--ok { background: #EEEDFC; border-left: 4px solid var(--blue); color: var(--blue-night); }
.form__status--warn { background: #FFF3EE; border-left: 4px solid var(--orange); color: #5a1d0b; }
.form__status--err { background: #FFEDE8; border-left: 4px solid var(--orange-deep); color: #5a1d0b; }
.form__status strong { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 4px; }
.form__status a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.hp { position: absolute; left: -9999px; }

.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.form-card { background: #fff; border-radius: 6px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 52px); }
.side-info { position: sticky; top: 110px; }
.side-info .steps { list-style: none; padding: 0; margin: 30px 0; counter-reset: s; }
.side-info .steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gray-2); }
.side-info .steps li::before { content: "0" counter(s); font-family: var(--f-display); font-weight: 700; color: var(--orange); font-size: 1.1rem; }

/* ---------- Contact ---------- */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ccard { position: relative; padding: 32px 28px; background: #fff; border: 1px solid var(--gray-2); border-radius: 4px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; display: flex; flex-direction: column; gap: 12px; }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange) 50%, var(--blue) 50%); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.ccard:hover::before { transform: scaleX(1); }
.ccard__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #EEEDFC; color: var(--blue); }
.ccard small { font-family: var(--f-label); font-weight: 800; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.ccard p, .ccard a.val { margin: 0; font-family: var(--f-head); font-weight: 700; color: var(--black); font-size: 1.02rem; line-height: 1.45; word-break: break-word; }
.ccard .link-arrow { margin-top: auto; align-self: flex-start; font-size: .68rem; }
.map { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--gray); border: 1px solid var(--gray-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { border: 1.5px solid var(--gray-2); background: #fff; padding: 11px 20px; border-radius: 40px; cursor: pointer; font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); transition: all .3s var(--ease); min-height: 44px; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.masonry { columns: 3; column-gap: 18px; }
.gitem { break-inside: avoid; margin: 0 0 18px; position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; display: block; width: 100%; border: 0; padding: 0; background: var(--gray-2); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.gitem img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,13,74,.85), transparent 55%); opacity: 0; transition: opacity .5s; }
.gitem:hover img { transform: scale(1.06); }
.gitem:hover::after, .gitem:focus-visible::after { opacity: 1; }
.gitem__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; text-align: left; transform: translateY(14px); opacity: 0; transition: all .5s var(--ease); }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { transform: none; opacity: 1; }
.gitem__cap small { font-family: var(--f-label); font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); display: block; }
.gitem__cap span { font-family: var(--f-head); font-weight: 700; font-size: .98rem; }
.gitem.is-hidden { display: none; }
.gitem.is-entering { opacity: 0; transform: translateY(16px); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,8,40,.96); display: none; align-items: center; justify-content: center; padding: 70px 80px; }
.lightbox.is-open { display: flex; animation: panelIn .35s var(--ease); }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: #C8C6E6; margin-top: 16px; font-size: .92rem; }
.lightbox figcaption b { color: var(--orange); font-family: var(--f-label); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; margin-right: 10px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb-btn:hover { background: var(--orange); border-color: var(--orange); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 34px; left: 30px; font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; font-size: .72rem; color: #8F8BC9; }

/* ---------- Careers ---------- */
.roles { display: grid; gap: 2px; background: var(--gray-2); border: 1px solid var(--gray-2); }
.role { background: #fff; display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 26px 30px; transition: background .4s; }
.role:hover { background: var(--gray); }
.role h3 { font-size: 1.25rem; color: var(--blue); text-transform: uppercase; }
.role .meta { font-size: .85rem; color: var(--steel); }

/* ---------- CTA band ---------- */
.ctaband { position: relative; background: var(--blue); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(70px, 9vw, 120px) 0; }
.ctaband::before { content: ""; position: absolute; left: -10%; top: 0; bottom: 0; width: 55%; background: var(--orange); clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); z-index: -1; opacity: .95; }
.ctaband__route { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .35; }
.ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ctaband h2 { max-width: 14ch; }
.ctaband .btn { --bg: #fff; --fg: var(--blue); --hover: var(--black); }
.ctaband .btn:hover { color: #fff; }

/* ---------- Marquee ---------- */
.marquee { background: var(--black); color: #fff; overflow: hidden; padding: 22px 0; border-top: 1px solid #222; }
.marquee__in { display: flex; gap: 50px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 50px; white-space: nowrap; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--orange); transform: rotate(45deg); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px #8D85FF; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; color: var(--blue); text-transform: uppercase; margin: 44px 0 14px; }
.legal p, .legal li { color: #3d3f4c; }
.legal ul { padding-left: 20px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; background: var(--blue-night); color: #fff; text-align: center; position: relative; overflow: hidden; padding: 120px var(--gutter) 60px; }
.nf__code { font-family: var(--f-display); font-weight: 700; font-size: clamp(7rem, 24vw, 18rem); line-height: .8; letter-spacing: -.05em; }
.nf__code span { color: var(--orange); }
.nf svg.nf__route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; z-index: 0; }
.nf > div { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--black); color: #B7B8C6; padding-top: clamp(70px, 8vw, 110px); overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange) 0 38%, var(--blue) 38%); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.2fr; gap: 40px 50px; padding-bottom: 60px; }
.footer__logo { background: #fff; display: inline-flex; padding: 10px 16px; border-radius: 5px; margin-bottom: 24px; }
.footer__logo img { height: 50px; width: auto; }
.footer p { font-size: .94rem; max-width: 40ch; }
.footer h4 { font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.footer h4::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .94rem; }
.footer a { transition: color .3s, padding .3s var(--ease); }
.footer ul a:hover { color: var(--orange); padding-left: 6px; }
.footer address { font-style: normal; font-size: .94rem; line-height: 1.7; }
.footer address strong { color: #fff; font-family: var(--f-head); }
.footer address a:hover { color: var(--orange); }
.footer__word { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.4rem, 13vw, 12rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px #2a2a33; text-transform: uppercase; white-space: nowrap; user-select: none; margin-bottom: -.12em; }
.footer__bar { border-top: 1px solid #24242c; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; letter-spacing: .06em; }
.footer__bar nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bar a:hover { color: var(--orange); }

/* ---------- Floating CTA ---------- */
.fcta {
  position: fixed; right: 26px; bottom: 26px; z-index: 800; display: inline-flex; align-items: center; gap: 12px;
  background: var(--blue-night); color: #fff; padding: 14px 22px 14px 16px; border-radius: 50px;
  font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 18px 40px -14px rgba(18,13,74,.7); transform: translateY(120px); transition: transform .6s var(--ease), background .4s;
}
.fcta.is-shown { transform: none; }
.fcta:hover { background: var(--orange); }
.fcta__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; position: relative; transition: background .4s; }
.fcta:hover .fcta__ic { background: var(--blue); }
.fcta__ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--orange); animation: halo 2.4s infinite; }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 10001; pointer-events: none; display: none; }
.has-cursor .cursor, .has-cursor .cursor-ring { display: block; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--orange); transition: opacity .3s, transform .2s; }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid transparent;
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .35s, background .35s, opacity .3s;
  font-family: var(--f-label); font-weight: 800; font-size: .58rem; letter-spacing: .14em; color: #fff; opacity: 0;
}
.cursor-ring span { opacity: 0; transition: opacity .2s; }
.cur-nav .cursor-ring { opacity: 1; border-color: var(--blue); width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cur-nav .cursor { transform: scale(.6); }
.cur-route .cursor-ring { opacity: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 0; border: 0;
  background: linear-gradient(var(--orange), var(--orange)) center/1.5px 100% no-repeat, linear-gradient(var(--orange), var(--orange)) center/100% 1.5px no-repeat; }
.cur-route .cursor { background: var(--blue); }
.cur-img .cursor-ring, .cur-cta .cursor-ring { opacity: 1; width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--blue); }
.cur-cta .cursor-ring { background: var(--orange); width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.cur-img .cursor-ring span, .cur-cta .cursor-ring span { opacity: 1; }
.cur-img .cursor, .cur-cta .cursor { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }

/* Image fallback (if a remote photo fails) */
.img-fallback { background: linear-gradient(135deg, var(--blue-night), var(--blue)) !important; position: relative; }
.img-fallback::before { content: "TERNMAX · IMAGE PLACEHOLDER"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); font-family: var(--f-label); font-size: .7rem; letter-spacing: .2em; z-index: 1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .reveal-img, .split-head .w > span, .hero h1 .ln > span, .hero__sub, .hero__cta { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__in { animation: none; }
}

/* Layout safety */
.explorer > *, .split > *, .why > *, .netmap > *, .form-shell > *, .row > *, .journey__panel > * { min-width: 0; }
.mnav { overflow-x: hidden; }
html, body { overflow-x: clip; }
.split-head .w { padding: 0 .02em .12em; margin-bottom: -.12em; }
