/* =========================================================================
   Douglas Group — design system
   Brand sampled from the DG monogram:
     royal blue #0741a2 · deep blue #05378c · signal red #df0013
     the D→G blend (#0741a2 → #571d4f → #df0013) is the signature accent
   ========================================================================= */

:root {
  --blue: #0741a2;
  --blue-deep: #05378c;
  --blue-soft: #2160d0;
  --sky: #8fb2ff;
  --red: #df0013;
  --red-deep: #b3000f;
  --plum: #571d4f;
  --navy-950: #030a22;
  --navy-900: #050f2e;
  --navy-800: #0a1a45;
  --navy-700: #12286a;
  --ink: #0b1430;
  --ink-2: #27304d;
  --muted: #5c6683;
  --line: #e3e7f0;
  --line-2: #d3d9e6;
  --mist: #f2f4f9;
  --mist-2: #e9edf5;
  --paper: #ffffff;
  --blend: linear-gradient(90deg, #0741a2 0%, #3a2a7a 42%, #571d4f 58%, #df0013 100%);
  --blend-diag: linear-gradient(135deg, #0741a2 0%, #571d4f 55%, #df0013 100%);

  --chart-1: #2160d0;
  --chart-2: #df0013;
  --chart-grid: #e6e9f1;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --frame: 12px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --shadow-1: 0 1px 2px rgba(5, 15, 46, .06), 0 6px 20px -8px rgba(5, 15, 46, .12);
  --shadow-2: 0 30px 60px -30px rgba(5, 15, 46, .35), 0 8px 24px -12px rgba(5, 15, 46, .18);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ------------------------------------------------------------ typography */
.display {
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 5.9rem);
  line-height: 1.0;
  letter-spacing: -.045em;
}
.h1 { font-weight: 300; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.06; letter-spacing: -.035em; }
.h3 { font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; }
.h4 { font-weight: 500; font-size: 1.08rem; letter-spacing: -.01em; }
.lede { font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--muted); line-height: 1.65; max-width: 52ch; }
.small { font-size: .88rem; color: var(--muted); }
.mono { font-family: var(--font-mono); letter-spacing: -.01em; }
.tone-grad {
  background: var(--blend); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tone-muted { color: #9aa3bb; }
.on-dark .tone-muted { color: rgba(255,255,255,.45); }

/* eyebrow pill, Uthao "Service Overview" style */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: .74rem; font-weight: 500; letter-spacing: .01em;
}
.eyebrow--ghost { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.eyebrow--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow--ghost .dot { background: var(--red); }

/* ---------------------------------------------------------------- buttons */
/* split button: label + detached arrow chip (Uthao) */
.btn {
  --bg: var(--red); --fg: #fff; --chip: var(--red-deep);
  display: inline-flex; align-items: stretch; gap: 3px;
  font-size: .92rem; font-weight: 500; line-height: 1;
  border-radius: 12px; isolation: isolate;
}
.btn__label, .btn__chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--fg);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.btn__label { padding: 15px 22px; border-radius: 12px 6px 6px 12px; position: relative; overflow: hidden; }
.btn__chip { width: 48px; border-radius: 6px 12px 12px 6px; overflow: hidden; position: relative; }
.btn__chip svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.btn__chip svg + svg { position: absolute; transform: translate(-220%, 220%); }
.btn:hover .btn__chip svg:first-child, .btn.is-iv .btn__chip svg:first-child { transform: translate(220%, -220%); }
.btn:hover .btn__chip svg + svg, .btn.is-iv .btn__chip svg + svg { transform: translate(0, 0); }
.btn:hover .btn__label, .btn.is-iv .btn__label { transform: translateX(-2px); }
.btn:hover .btn__chip, .btn.is-iv .btn__chip { transform: translateX(2px); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--glass { --bg: rgba(255,255,255,.14); --fg: #fff; }
.btn--glass .btn__label, .btn--glass .btn__chip { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22); }
.btn--blue { --bg: var(--blue); }
.btn--sm .btn__label { padding: 11px 16px; font-size: .84rem; }
.btn--sm .btn__chip { width: 38px; }
.btn--block { width: 100%; }
.btn--block .btn__label { flex: 1; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: gap .4s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover, .link-arrow.is-iv { gap: 16px; }

.circle-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.circle-btn svg { width: 16px; height: 16px; }
.circle-btn--line { background: transparent; border: 1px solid var(--line-2); }
.circle-btn:hover, .circle-btn.is-iv { background: var(--red); color: #fff; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ header */
.header {
  position: fixed; z-index: 50;
  top: calc(var(--frame) + 14px); left: calc(var(--frame) + 14px); right: calc(var(--frame) + 14px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 18px;
  color: #fff;
  transition: background .5s var(--ease), color .5s, box-shadow .5s, top .5s var(--ease), transform .6s var(--ease);
}
.header.is-solid {
  top: 10px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(11, 20, 48, .06), 0 14px 40px -18px rgba(5, 15, 46, .35);
}
.header.is-hidden { transform: translateY(-140%); }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand__mark { position: relative; width: 46px; height: 31px; }
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.brand__mark .on-light { opacity: 0; }
.header.is-solid .brand__mark .on-light, .header--light .brand__mark .on-light { opacity: 1; }
.header.is-solid .brand__mark .on-dark, .header--light .brand__mark .on-dark { opacity: 0; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-weight: 700; letter-spacing: .14em; font-size: .92rem; }
.brand__word span { font-size: .58rem; letter-spacing: .48em; color: var(--red); font-weight: 600; margin-top: 4px; }
.header:not(.is-solid):not(.header--light) .brand__word span { color: #ff8a93; }

.nav {
  display: flex; gap: 2px; padding: 5px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header.is-solid .nav, .header--light .nav { background: var(--mist); border-color: var(--line); }
.nav a {
  position: relative;
  padding: 9px 15px; border-radius: 8px;
  font-size: .86rem; font-weight: 450;
  transition: background .3s, color .3s;
}
.nav a:hover { background: rgba(255,255,255,.14); }
.header.is-solid .nav a:hover, .header--light .nav a:hover { background: #fff; }
.nav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.header__cta { justify-self: end; display: flex; gap: 8px; align-items: center; }
.header__phone { font-size: .84rem; opacity: .85; margin-right: 8px; display: inline-flex; align-items: center; gap: 8px; }
.header__phone svg { width: 15px; height: 15px; }
.burger { display: none; width: 40px; height: 40px; margin-right: -6px; background: none; border: 0; border-radius: 0; position: relative; color: inherit; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease), left .5s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 23px; left: 16px; }
.burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 8px; }
.menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19px; left: 8px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--navy-900); color: #fff;
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 50px) 50px);
  transition: clip-path .8s var(--ease-io);
  overflow: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); }
.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .brand__mark .on-dark { opacity: 1; } .menu-open .header .brand__mark .on-light { opacity: 0; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 300; letter-spacing: -.03em; }
.mobile-menu nav a small { font-family: var(--font-mono); font-size: .75rem; opacity: .5; }

/* ------------------------------------------------------------------- hero */
.frame { padding: var(--frame); }
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--frame) * 2);
  border-radius: var(--hero-r, 14px);
  background: var(--navy-900);
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1.0); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 10, 34, .82) 0%, rgba(3, 10, 34, .45) 42%, rgba(3, 10, 34, 0) 70%),
    linear-gradient(0deg, rgba(3, 10, 34, .9) 0%, rgba(3, 10, 34, 0) 45%),
    linear-gradient(180deg, rgba(3, 10, 34, .55) 0%, rgba(3, 10, 34, 0) 22%);
}
.hero__inner { padding: 150px clamp(20px, 4vw, 56px) 34px; display: grid; gap: 34px; }
.hero__copy { max-width: 820px; }
.hero__copy .display { margin: 20px 0 22px; }
.hero__copy .lede { color: rgba(255,255,255,.78); max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 330px) 1fr minmax(0, 300px); align-items: end; gap: 20px; }

.glass {
  background: linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 30px 60px -30px rgba(0,0,0,.5);
}
.dispatch-card { border-radius: 18px; padding: 16px; }
.dispatch-card__who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dispatch-card__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.6); }
.dispatch-card__who b { display: block; font-weight: 500; font-size: .95rem; }
.dispatch-card__who span { font-size: .78rem; opacity: .7; display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62,224,143,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }

.hero-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-self: end; }
.hero-tab { text-align: left; color: rgba(255,255,255,.6); font-size: .8rem; padding-top: 12px; position: relative; transition: color .3s; }
.hero-tab::before, .hero-tab i { content: ""; position: absolute; top: 0; left: 0; height: 2px; border-radius: 2px; }
.hero-tab::before { right: 0; background: rgba(255,255,255,.22); }
.hero-tab i { width: 0; background: #fff; }
.hero-tab.is-active { color: #fff; }
.hero-tab.is-active i { animation: tabfill var(--slide-dur, 7s) linear forwards; }
.hero-tab b { font-family: var(--font-mono); font-weight: 400; margin-right: 6px; opacity: .7; }
@keyframes tabfill { to { width: 100%; } }

.stat-card { border-radius: 18px; padding: 10px; display: flex; gap: 12px; align-items: stretch; background: #fff; color: var(--ink); justify-self: end; width: 100%; }
.stat-card img { width: 92px; border-radius: 12px; object-fit: cover; }
.stat-card__num { font-size: 2.4rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.stat-card__num sup { font-size: .5em; color: var(--red); }
.stat-card p { font-size: .76rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.spark { margin-top: 8px; height: 26px; width: 100%; }

/* inner-page hero */
.page-hero { min-height: min(78svh, 720px); }
.page-hero .hero__inner { padding-bottom: 48px; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease-out) forwards; }
@keyframes settle { to { transform: scale(1); } }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero__meta .glass { padding: 12px 16px; border-radius: 14px; font-size: .84rem; display: flex; gap: 10px; align-items: center; }
.page-hero__meta .glass b { font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--flush-top { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { max-width: 16ch; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .h2 { max-width: 20ch; }
.section-head .eyebrow { margin-bottom: 20px; }
.stack > * + * { margin-top: 18px; }

.panel-dark {
  margin: 0 var(--frame);
  border-radius: var(--radius-xl);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden; position: relative; isolation: isolate;
}
.on-dark .lede, .panel-dark .lede { color: rgba(255,255,255,.68); }
.on-dark .small, .panel-dark .small { color: rgba(255,255,255,.6); }

/* ---------------------------------------------------- industries marquee */
.industries { padding: clamp(56px, 7vw, 90px) 0 clamp(20px, 3vw, 40px); text-align: center; }
.industries p { color: var(--muted); font-size: 1rem; margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; color: #1b2440; white-space: nowrap; }
.marquee__item svg { width: 30px; height: 30px; color: var(--blue); }
.marquee__item:nth-child(3n) svg { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------- overview + mosaic */
.overview { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.overview__copy .h2 { margin: 18px 0 24px; max-width: 14ch; }
.overview__copy p + p { margin-top: 14px; }
.overview__copy .btn { margin-top: 34px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / .92; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic figure:hover img, .mosaic figure.is-iv img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 7px 11px; border-radius: 10px;
  font-size: .74rem; color: #fff; display: flex; gap: 8px; align-items: center;
}
.mosaic figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--red); }
.stat p { color: var(--muted); font-size: .9rem; margin-top: 10px; max-width: 22ch; }
.on-dark .stat, .panel-dark .stat { border-color: rgba(255,255,255,.12); }

/* --------------------------------------------------------- mode cards */
.modes-wrap { position: relative; overflow-x: clip; }
.modes-bg-letter {
  position: absolute; right: -2%; top: -120px; z-index: -1;
  font-size: clamp(14rem, 34vw, 34rem); font-weight: 700; line-height: .8; letter-spacing: -.08em;
  color: transparent; -webkit-text-stroke: 1.5px var(--mist-2); pointer-events: none; user-select: none;
}
.modes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; cursor: grab; }
.modes::-webkit-scrollbar { display: none; }
.modes.is-drag { cursor: grabbing; scroll-snap-type: none; }
.mode {
  scroll-snap-align: start; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); aspect-ratio: .82; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
  isolation: isolate;
}
.mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.mode::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,10,34,.55) 0%, rgba(3,10,34,0) 34%, rgba(3,10,34,0) 55%, rgba(3,10,34,.85) 100%); transition: background .6s; }
.mode:hover img, .mode.is-iv img { transform: scale(1.07); }
.mode__top { display: flex; justify-content: space-between; align-items: center; font-size: .95rem; font-weight: 500; }
.mode__top span { font-family: var(--font-mono); font-size: .74rem; opacity: .7; }
.mode__body p { font-size: .86rem; color: rgba(255,255,255,.78); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.mode:hover .mode__body p, .mode.is-iv .mode__body p { max-height: 120px; opacity: 1; margin-bottom: 14px; }
.mode__body h3 { font-weight: 400; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 8px; }
.modes-nav { display: flex; gap: 8px; }

/* ------------------------------------- 3D object service cards (spec) */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-grid--3 { grid-template-columns: repeat(3, 1fr); }
.service-item {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--mist); border-radius: var(--radius-lg);
  padding: 30px 28px 32px; min-height: 420px;
  display: flex; flex-direction: column;
  transition: color .6s var(--ease);
}
.service-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(223, 0, 19, .38), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(33, 96, 208, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  transition: opacity .6s var(--ease);
}
.service-item .num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); transition: color .4s; display: flex; justify-content: space-between; }
.service-item .icon {
  width: 136px; height: 136px; object-fit: contain; margin: 18px 0 auto -10px;
  filter: drop-shadow(0 22px 18px rgba(6,22,52,.22)) drop-shadow(0 4px 4px rgba(6,22,52,.12));
  animation: float 7s ease-in-out infinite;
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.service-item:nth-child(2) .icon { animation-delay: -2.3s; }
.service-item:nth-child(3) .icon { animation-delay: -4.6s; }
.service-item:nth-child(4) .icon { animation-delay: -1.2s; }
@keyframes float { 50% { translate: 0 -18px; } }
.service-item h3 { margin-top: 36px; }
.service-item p { font-size: .92rem; color: var(--muted); max-width: 34ch; margin: 10px 0 24px; transition: color .6s; }
.service-item .link-arrow { align-self: flex-start; }
.service-item:hover, .service-item.is-iv { color: #fff; }
.service-item:hover::before, .service-item.is-iv::before { opacity: 1; }
.service-item:hover p, .service-item.is-iv p { color: rgba(255,255,255,.75); }
.service-item:hover .num, .service-item.is-iv .num { color: #ff8a93; }
.service-item:hover .icon, .service-item.is-iv .icon { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 30px 26px rgba(0,0,0,.45)) drop-shadow(0 6px 6px rgba(0,0,0,.2)); }

/* -------------------------------------------------------- world map */
.mapsec { padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.mapsec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 70% 30%, rgba(7,65,162,.45), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(223,0,19,.18), transparent 70%); }
.map { position: relative; margin-top: 20px; }
.map > img, .map > svg { width: 100%; height: auto; }
.map > svg { position: absolute; inset: 0; overflow: visible; }
.route { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.route--draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.is-visible .route--draw { animation: draw 2.4s var(--ease-io) forwards; animation-delay: var(--rd, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-ghost { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; stroke-linecap: round; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.map-label { font-family: var(--font-mono); font-size: 10px; fill: rgba(255,255,255,.72); letter-spacing: .02em; }
.light-map .map-label { fill: var(--muted); }
.map-tip {
  position: absolute; transform: translate(-50%, calc(-100% - 16px));
  padding: 10px 12px; border-radius: 12px; min-width: 150px;
  font-size: .78rem; line-height: 1.35; pointer-events: none; color: #fff;
  opacity: 0; transition: opacity .3s, transform .3s var(--ease);
}
.map-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 22px)); }
.map-tip b { display: block; font-size: .9rem; font-weight: 500; }
.map-tip span { opacity: .7; }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.1); }
.map-stats > div { background: var(--blue); padding: 26px 26px 24px; }
.map-stats > div:nth-child(2) { background: linear-gradient(135deg, var(--blue), var(--plum)); }
.map-stats > div:nth-child(3) { background: linear-gradient(135deg, var(--plum), var(--red)); }
.map-stats .stat__num { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.map-stats p { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 8px; }
.map-stats .arrow { display: inline-block; width: 22px; height: 22px; margin-right: 6px; vertical-align: 6px; }

/* -------------------------------------------------- efficiency split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px; align-items: stretch; }
.split__img { border-radius: var(--radius-xl); overflow: hidden; position: relative; min-height: 520px; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__img .glass { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 360px; padding: 16px 18px; border-radius: 16px; color: #fff; }
.split__card { background: var(--mist); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.split__card .h2 { margin: 18px 0 20px; max-width: 14ch; }
.split__card .eyebrow, .split__card > .btn { align-self: flex-start; }
.rings { display: flex; gap: 28px; margin: 32px 0; flex-wrap: wrap; }
.ring-stat { display: flex; align-items: center; gap: 14px; }
.ring-stat svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.ring-stat circle { fill: none; stroke-width: 6; }
.ring-stat .track { stroke: var(--line); }
.ring-stat .bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 226; stroke-dashoffset: 226; transition: stroke-dashoffset 2s var(--ease-io); }
.ring-stat__wrap { position: relative; }
.ring-stat__val { position: absolute; inset: 0; display: grid; place-items: center; font-size: .92rem; font-weight: 500; letter-spacing: -.02em; }
.ring-stat p { font-size: .88rem; line-height: 1.3; max-width: 13ch; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: .94rem; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }
.checks--light svg { color: #ff8a93; }

/* --------------------------------------------- Teamway-style tint cards */
.tint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tint {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 300px; padding: 22px 26px 26px;
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
}
.tint > div { max-width: 52%; position: relative; z-index: 1; }
.tint .h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0 0 12px; }
.tint p { font-size: .92rem; color: var(--ink-2); }
.tint .chip { display: inline-flex; gap: 10px; align-items: center; background: rgba(255,255,255,.75); padding: 9px 14px; border-radius: 10px; font-size: .84rem; align-self: flex-start; margin-bottom: 40px; backdrop-filter: blur(6px); }
.tint .chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.tint .link-arrow { align-self: flex-start; margin-top: 26px; }
.tint .art { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: 0; transition: transform 1.2s var(--ease); }
.tint:hover .art, .tint.is-iv .art { transform: translateX(-8px); }
.tint--red { background: #fbe9ea; --c: var(--red); }
.tint--steel { background: #eef0f4; --c: var(--ink); }
.tint--blue { background: #e7eefb; --c: var(--blue); }
.tint--navy { background: var(--navy-800); color: #fff; --c: #ff4d5e; }
.tint--navy p { color: rgba(255,255,255,.7); }
.tint--navy .chip { background: rgba(255,255,255,.1); color: #fff; }

/* ----------------------------------------------------- fleet / Condor */
.fleet { padding: clamp(64px, 8vw, 120px) 0; }
.fleet__top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.fleet__top .h1 { text-transform: uppercase; font-weight: 300; letter-spacing: -.03em; }
.fleet__obj { position: relative; aspect-ratio: 1.3; }
.fleet__obj img { position: absolute; width: 92%; left: 4%; top: 0; filter: drop-shadow(0 60px 50px rgba(0,0,0,.55)); animation: float 8s ease-in-out infinite; transform: rotate(-6deg); }
.fleet__obj::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 4%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(6px); animation: shadowPulse 8s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scaleX(.82); opacity: .6; } }
.rig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.rig-grid--light .rig { background: var(--mist); border-color: var(--line); color: var(--ink); }
.rig {
  position: relative; border-radius: var(--radius); padding: 20px 20px 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-height: 250px;
  transition: background .4s, border-color .4s, transform .6s var(--ease);
}
.rig:hover, .rig.is-iv { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); transform: translateY(-4px); }
.rig-grid--light .rig:hover, .rig-grid--light .rig.is-iv { background: #fff; box-shadow: var(--shadow-2); }
.rig__head { display: flex; justify-content: space-between; gap: 12px; }
.rig__head b { font-weight: 400; font-size: 1.2rem; letter-spacing: -.02em; display: block; }
.rig__head small { font-size: .74rem; opacity: .6; }
.rig__badge { width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 600; flex: none; }
.rig svg.rig-art { width: 100%; height: auto; align-self: center; color: currentColor; opacity: .85; }
.rig svg.rig-art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rig.is-visible svg.rig-art .draw { animation: drawp 2.2s var(--ease-io) forwards; }
@keyframes drawp { to { stroke-dashoffset: 0; } }
.rig__specs { display: flex; gap: 16px; font-size: .74rem; opacity: .7; font-family: var(--font-mono); flex-wrap: wrap; }

/* --------------------------------------------------- track teaser */
.track-teaser { position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr minmax(0, 400px); gap: 40px; align-items: center; color: #fff; isolation: isolate; min-height: 420px; }
.track-teaser > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.85) contrast(1.05); }
.track-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,15,46,.92), rgba(5,15,46,.55) 60%, rgba(5,15,46,.35)); }
.track-teaser .h2 { max-width: 12ch; }
.journey { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .8rem; }
.journey__line { flex: 1; max-width: 220px; height: 2px; background: rgba(255,255,255,.25); position: relative; border-radius: 2px; overflow: hidden; }
.journey__line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--blend); animation: travel 3s var(--ease-io) infinite; }
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.journey__node { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; }
.form-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-2); }
.form-card h3 { font-weight: 500; font-size: 1.1rem; text-align: center; margin-bottom: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.seg button { padding: 10px; border-radius: 9px; font-size: .86rem; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }

/* --------------------------------------------------------------- forms */
.field { display: grid; gap: 6px; }
.field label { font-size: .78rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); background: var(--mist);
  border-radius: 12px; padding: 14px 14px; font-size: .92rem; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #98a1b8; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue-soft); background: #fff; box-shadow: 0 0 0 4px rgba(33,96,208,.12); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b1430' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.textarea { min-height: 120px; resize: vertical; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.field.has-error .input, .field.has-error .select { border-color: var(--red); background: #fff5f5; }
.field .err { font-size: .74rem; color: var(--red); display: none; }
.field.has-error .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stepper { display: grid; grid-template-columns: 46px 1fr 46px; gap: 6px; }
.stepper button { border-radius: 12px; background: var(--mist); border: 1px solid var(--line); font-size: 1.2rem; transition: background .3s; }
.stepper button:hover { background: #fff; }
.stepper .input { text-align: center; padding: 14px 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 1px 0 0; flex: none; }

/* ---------------------------------------------- "Douglas standard" orb */
.standard { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.orb-stage {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 30% 25%, #3a6be0 0%, transparent 60%), radial-gradient(60% 60% at 85% 85%, #df0013 0%, transparent 65%), linear-gradient(135deg, #0741a2, #571d4f 60%, #a3001a);
}
.orb-stage::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px); z-index: -1; }
.orb-stage .orb-img { position: absolute; width: 62%; left: 19%; top: 16%; animation: float 9s ease-in-out infinite; filter: drop-shadow(0 50px 40px rgba(0,0,0,.35)); }
.glass-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), rgba(255,255,255,.12) 62%, rgba(255,255,255,.22) 74%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 40px 60px -30px rgba(3,10,34,.45), inset -14px -20px 40px rgba(3,10,34,.12);
}
.orb-stage .glass-orb { width: 26%; aspect-ratio: 1; right: 8%; top: 9%; animation: float 6s ease-in-out infinite; }
.orb-stage .glass-orb.two { width: 14%; left: 9%; top: auto; right: auto; bottom: 12%; animation-delay: -3s; }
.orb-stage .glass-chip { position: absolute; left: 7%; top: 8%; padding: 12px 14px; border-radius: 14px; color: #fff; font-size: .8rem; display: flex; gap: 10px; align-items: center; }
.orb-stage .glass-chip.b { left: auto; top: auto; right: 7%; bottom: 8%; }
.orb-stage .glass-chip b { font-size: 1.3rem; font-weight: 400; letter-spacing: -.03em; }
.pillars { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pillar img { width: 54px; height: 54px; object-fit: contain; transition: transform .8s var(--ease); }
.pillar:hover img, .pillar.is-iv img { transform: rotate(-14deg) scale(1.12); }
.pillar h3 { font-weight: 500; font-size: 1.05rem; }
.pillar p { font-size: .9rem; color: var(--muted); margin-top: 4px; }

/* ------------------------------------------------------------ CTA band */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); margin: 0 var(--frame); color: #fff; text-align: center; padding: clamp(90px, 12vw, 170px) var(--gutter); isolation: isolate; }
.cta > img:not(.cta__obj) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,10,34,.45), rgba(3,10,34,.7)); }
.cta .h1 { max-width: 16ch; margin: 22px auto 22px; }
.cta .lede { color: rgba(255,255,255,.78); margin: 0 auto 34px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__obj { position: absolute; width: clamp(110px, 14vw, 200px); filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); animation: float 8s ease-in-out infinite; z-index: -1; }

/* -------------------------------------------------------------- footer */
.footer { margin: var(--frame); margin-top: clamp(14px, 2vw, 24px); border-radius: var(--radius-xl); background: var(--navy-950); color: #fff; overflow: hidden; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer__logo { width: 150px; background: #fff; border-radius: 18px; padding: 14px; }
.footer__news p { color: rgba(255,255,255,.65); font-size: .92rem; margin: 22px 0 16px; max-width: 34ch; }
.footer__news form { display: flex; gap: 6px; max-width: 380px; }
.footer__news .input { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #fff; }
.footer__news .input:focus { background: rgba(255,255,255,.1); box-shadow: none; border-color: rgba(255,255,255,.35); }
.footer h4 { font-family: var(--font-mono); font-weight: 400; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.footer li { padding: 5px 0; }
.footer li a, .footer address { color: rgba(255,255,255,.82); font-size: .94rem; font-style: normal; transition: color .3s; }
.footer li a:hover { color: #ff8a93; }
.footer__giant { font-size: clamp(5rem, 19.5vw, 19rem); font-weight: 700; letter-spacing: -.06em; line-height: .78; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); user-select: none; margin-top: 10px; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 80%); -webkit-background-clip: text; background-clip: text; white-space: nowrap; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__bar a:hover { color: #fff; }
.blend-rule { height: 3px; background: var(--blend); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .3s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 16px; height: 16px; }

/* ------------------------------------------------- services detail page */
.svc { display: grid; grid-template-columns: 90px 1fr 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); align-items: start; }
.svc__num { position: sticky; top: 110px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.svc__num b { display: block; font-family: var(--font); font-size: 3.6rem; font-weight: 300; letter-spacing: -.05em; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.svc__copy .h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin: 16px 0 18px; }
.svc__copy .checks { margin: 24px 0 30px; }
.svc__media { position: relative; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.svc__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.svc__media figure:first-of-type { grid-column: span 2; aspect-ratio: 1.45; }
.svc__media figure:not(:first-of-type) { aspect-ratio: 1.1; }
.svc__media figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc__media figure:hover img, .svc__media figure.is-iv img { transform: scale(1.05); }
.svc__media .obj { position: absolute; width: 132px; right: -26px; top: -46px; filter: drop-shadow(0 24px 22px rgba(6,22,52,.3)); animation: float 7s ease-in-out infinite; z-index: 2; }
.svc__media .glass { position: absolute; left: 14px; top: 14px; padding: 10px 14px; border-radius: 12px; color: #fff; font-size: .8rem; }
.pill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tags span { font-size: .78rem; padding: 7px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 20px; }
.process::before { content: ""; position: absolute; top: 27px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.12); }
.process__fill { position: absolute; top: 27px; left: 0; height: 2px; width: 0; background: var(--blend); transition: width 2.6s var(--ease-io); }
.is-visible .process__fill { width: 100%; }
.step { position: relative; padding-right: 20px; }
.step__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 1px solid rgba(255,255,255,.16); position: relative; z-index: 1; font-family: var(--font-mono); font-size: .8rem; margin-bottom: 24px; transition: background .5s, border-color .5s; }
.step:hover .step__dot, .step.is-iv .step__dot { background: var(--red); border-color: var(--red); }
.step h3 { font-weight: 500; font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: rgba(255,255,255,.62); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.12rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--red); border-color: var(--red); color: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 60px 26px 0; color: var(--muted); max-width: 70ch; }

/* -------------------------------------------------------- network page */
.netmap { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 12px; }
.corridors { display: grid; gap: 8px; align-content: start; }
.corridor {
  text-align: left; padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  transition: background .4s, border-color .4s;
}
.corridor b { font-weight: 500; font-size: 1rem; }
.corridor small { grid-column: 1; font-size: .78rem; color: rgba(255,255,255,.55); }
.corridor .mono { grid-row: span 2; font-size: .78rem; color: rgba(255,255,255,.7); text-align: right; }
.corridor i { width: 26px; height: 3px; border-radius: 2px; background: var(--blend); display: inline-block; margin-right: 10px; vertical-align: 4px; opacity: .4; transition: opacity .3s, width .4s var(--ease); }
.corridor:hover, .corridor.is-on, .corridor.is-iv { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.corridor.is-on i { opacity: 1; width: 38px; }
.netmap__canvas { position: relative; border-radius: var(--radius-lg); background: radial-gradient(80% 60% at 60% 40%, rgba(7,65,162,.35), transparent 70%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.netmap__canvas .map { margin: 0; }
.netmap__legend { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 16px; font-size: .74rem; color: rgba(255,255,255,.7); flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; }
.netmap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-hub { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(223,0,19,.6); }
.lg-port { width: 10px; height: 10px; border-radius: 3px; background: var(--sky); }
.lg-border { width: 10px; height: 10px; transform: rotate(45deg); border: 1.5px solid #ffb4ba; }
.lg-route { width: 22px; height: 3px; border-radius: 2px; background: var(--blend); }
.corridor-active path.route { opacity: .18; transition: opacity .4s; }
.corridor-active path.route.is-on { opacity: 1; stroke-width: 2.6; }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hub { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1.15; color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.hub::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(3,10,34,.88)); }
.hub:hover img, .hub.is-iv img { transform: scale(1.06); }
.hub h3 { font-weight: 400; font-size: 1.35rem; letter-spacing: -.02em; }
.hub p { font-size: .84rem; color: rgba(255,255,255,.75); margin-top: 4px; }
.hub .tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: .7rem; padding: 6px 10px; border-radius: 8px; }

/* ---------------------------------------------------------------- charts */
.chart-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 16px; position: relative; }
.chart-card--wide { grid-column: span 2; }
.chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.chart-card__head h3 { font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
.chart-card__head p { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.chart-card__kpi { text-align: right; }
.chart-card__kpi b { display: block; font-size: 1.7rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.chart-card__kpi small { font-size: .74rem; color: var(--muted); }
.delta { display: inline-flex; gap: 4px; align-items: center; font-size: .74rem; padding: 3px 7px; border-radius: 6px; background: #e8f7ef; color: #11734a; margin-top: 4px; }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--chart-grid); stroke-width: 1; }
.chart .axis text { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); }
.chart .bar { fill: var(--chart-1); transition: opacity .3s; }
.chart .bar.alt { fill: var(--chart-2); }
.chart .bar-label { font-size: 11px; fill: var(--ink); font-family: var(--font-mono); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { opacity: .14; }
.chart .ref { stroke: #9aa3bb; stroke-dasharray: 4 4; stroke-width: 1; }
.chart .ref-label { font-size: 10px; fill: var(--muted); font-family: var(--font-mono); }
.chart .band { fill: rgba(33,96,208,.07); }
.chart .xhair { stroke: var(--ink); stroke-width: 1; opacity: 0; }
.chart .dotm { stroke: #fff; stroke-width: 2; opacity: 0; }
.chart.is-hover .xhair, .chart.is-hover .dotm { opacity: 1; }
.chart .hit { fill: transparent; }
.chart .series-label { font-size: 11px; font-weight: 500; fill: var(--ink); }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 8px 10px; border-radius: 10px; font-size: .76rem; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .2s; z-index: 3; box-shadow: var(--shadow-2); }
.chart-tip.is-on { opacity: 1; }
.chart-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.chart-legend { display: flex; gap: 16px; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 14px; height: 3px; border-radius: 2px; }
.chart-table summary { cursor: pointer; font-size: .76rem; color: var(--muted); margin-top: 8px; display: inline-block; }
.chart-table table { width: 100%; border-collapse: collapse; font-size: .8rem; margin-top: 8px; }
.chart-table th, .chart-table td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.chart-table td:last-child, .chart-table th:last-child { text-align: right; font-family: var(--font-mono); }
.chart-note { font-size: .72rem; color: var(--muted); margin-top: 14px; font-style: italic; }

/* --------------------------------------------------------- tracking page */
.tracker { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 12px; align-items: start; }
.tracker__side { display: grid; gap: 12px; position: sticky; top: 100px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.card--mist { background: var(--mist); border-color: transparent; }
.card h3 { font-weight: 500; font-size: 1rem; }
.demo-ids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.demo-ids button { font-family: var(--font-mono); font-size: .74rem; padding: 7px 10px; border-radius: 8px; background: var(--mist); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.demo-ids button:hover { background: #fff; border-color: var(--blue-soft); }
.ship-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ship-head .mono { font-size: .8rem; color: var(--muted); }
.ship-head h2 { font-weight: 400; font-size: 1.6rem; letter-spacing: -.03em; margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 500; padding: 7px 11px; border-radius: 999px; background: #e8efff; color: var(--blue); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--done { background: #e8f7ef; color: #11734a; }
.status--hold { background: #fff4e0; color: #8a5300; }
.route-bar { margin: 22px 0 6px; }
.route-bar__ends { display: flex; justify-content: space-between; font-size: .8rem; }
.route-bar__ends b { display: block; font-size: 1rem; font-weight: 500; }
.route-bar__ends span { color: var(--muted); }
.route-bar__track { height: 6px; border-radius: 6px; background: var(--mist-2); margin: 12px 0; position: relative; }
.route-bar__fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--blend); width: 0; transition: width 1.6s var(--ease-io); }
.route-bar__truck { position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); display: grid; place-items: center; transform: translate(-50%, -50%); left: 0; transition: left 1.6s var(--ease-io); color: var(--red); }
.route-bar__truck svg { width: 16px; height: 16px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 16px; }
.kv div span { display: block; font-size: .74rem; color: var(--muted); }
.kv div b { font-weight: 500; font-size: .94rem; }
.timeline { position: relative; margin-top: 6px; }
.tl { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; padding: 12px 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 10px; top: 26px; bottom: -12px; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; position: relative; z-index: 1; margin-top: 1px; }
.tl.done i { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px #fff; }
.tl.done::before { background: var(--blue); }
.tl.now i { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 5px rgba(223,0,19,.15); }
.tl b { font-weight: 500; font-size: .92rem; display: block; }
.tl span { font-size: .8rem; color: var(--muted); }
.tl time { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); white-space: nowrap; }
.tracker__main { display: grid; gap: 12px; }
.trackmap { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); }
.trackmap .map { margin: 0; }
.trackmap__hud { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; pointer-events: none; }
.trackmap__hud .glass { padding: 10px 14px; border-radius: 12px; color: #fff; font-size: .78rem; }
.trackmap__hud .glass b { display: block; font-size: 1.05rem; font-weight: 500; }
.docs li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; gap: 12px; }
.docs li:last-child { border: 0; }
.docs .doc-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--mist); display: grid; place-items: center; color: var(--blue); flex: none; }
.docs .doc-ico svg { width: 16px; height: 16px; }
.docs li > div { display: flex; gap: 12px; align-items: center; }
.docs small { display: block; color: var(--muted); font-size: .76rem; }
.badge { font-size: .72rem; padding: 5px 9px; border-radius: 7px; background: var(--mist); color: var(--muted); }
.badge--ok { background: #e8f7ef; color: #11734a; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty img { width: 120px; margin: 0 auto 18px; animation: float 7s ease-in-out infinite; }
.demo-note { font-size: .76rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.demo-note svg { width: 14px; height: 14px; flex: none; }

/* ------------------------------------------------------------ about page */
.statement { font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.18; max-width: 26ch; }
.statement .w { opacity: .16; transition: opacity .4s; }
.statement .w.lit { opacity: 1; }
.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.era { border-radius: var(--radius-lg); background: var(--mist); padding: 24px; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: background .5s, color .5s; }
.era__year { font-size: 2.6rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; color: #b8c0d4; transition: color .5s; }
.era h3 { font-weight: 500; font-size: 1.02rem; margin-bottom: 6px; }
.era p { font-size: .88rem; color: var(--muted); transition: color .5s; }
.era:hover, .era.is-iv { background: var(--navy-800); color: #fff; }
.era:hover .era__year, .era.is-iv .era__year { color: #ff8a93; }
.era:hover p, .era.is-iv p { color: rgba(255,255,255,.7); }
.people { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 10px; }
.people figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.people figure:first-child { grid-row: span 2; }
.people figure:nth-child(4) { grid-column: span 2; }
.people img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.people figure:hover img, .people figure.is-iv img { transform: scale(1.05); }
.people figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; color: #fff; font-size: .78rem; }
.divisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.division { border-radius: var(--radius-lg); padding: 24px; min-height: 330px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .5s, border-color .5s; }
.division:hover, .division.is-iv { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.division img { width: 110px; height: 110px; object-fit: contain; margin: 8px 0 auto -6px; filter: drop-shadow(0 22px 20px rgba(0,0,0,.4)); transition: transform .8s var(--ease); }
.division:hover img, .division.is-iv img { transform: rotate(-12deg) scale(1.08); }
.division h3 { font-weight: 400; font-size: 1.35rem; letter-spacing: -.02em; margin-top: 24px; }
.division p { font-size: .88rem; color: rgba(255,255,255,.62); margin-top: 8px; }
.division .tag { font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.5); }
.division--core { background: linear-gradient(160deg, rgba(7,65,162,.55), rgba(223,0,19,.25)); border-color: rgba(255,255,255,.2); }

/* --------------------------------------------------------- contact page */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; align-items: start; }
.contact__info { display: grid; gap: 12px; position: sticky; top: 100px; }
.contact__lines li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact__lines li:last-child { border: 0; }
.contact__lines .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--red); flex: none; }
.contact__lines .ico svg { width: 18px; height: 18px; }
.contact__lines small { display: block; font-size: .76rem; color: var(--muted); }
.contact__lines b { font-weight: 500; }
.quote { background: var(--navy-900); color: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 3.4vw, 44px); }
.quote .field label { color: rgba(255,255,255,.6); }
.quote .input, .quote .select, .quote .textarea, .quote .stepper button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.quote .input::placeholder, .quote .textarea::placeholder { color: rgba(255,255,255,.38); }
.quote .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.quote .select option { color: var(--ink); }
.quote .select { background-repeat: no-repeat; background-position: right 14px center; }
.quote input[type=date] { color-scheme: dark; }
.quote .input:focus, .quote .select:focus, .quote .textarea:focus { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.quote .check { color: rgba(255,255,255,.65); }
.quote .field.has-error .input, .quote .field.has-error .select { background: rgba(223,0,19,.12); border-color: #ff4d5e; }
.quote .field .err { color: #ff8a93; }
.quote h2 { margin-bottom: 8px; }
.quote form { display: grid; gap: 16px; margin-top: 28px; }
.cargo-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cargo-types label { position: relative; cursor: pointer; }
.cargo-types input { position: absolute; opacity: 0; }
.cargo-types span { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 14px 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); font-size: .78rem; transition: background .3s, border-color .3s; }
.cargo-types svg { width: 22px; height: 22px; }
.cargo-types input:checked + span { background: rgba(223,0,19,.18); border-color: #ff4d5e; }
.cargo-types input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success img { width: 150px; margin: 0 auto 20px; animation: float 7s ease-in-out infinite; }
.quote.is-sent form { display: none; }
.quote.is-sent .form-success { display: block; }
.office-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); aspect-ratio: 1.25; }
.office-map .map { margin: 0; }

/* ------------------------------------------------------- corrugation rule */
.corrugate { height: 18px; margin: 0 var(--frame); border-radius: 6px; background: repeating-linear-gradient(90deg, var(--mist-2) 0 7px, #f8f9fc 7px 9px, var(--mist-2) 9px 16px, #dfe4ee 16px 18px); opacity: .8; }

/* ------------------------------------------------------------- reveals */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.split-words .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .wd > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.split-words.is-visible .wd > span { transform: none; }
.img-reveal { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.img-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }

/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--navy-900); transform: scaleY(0); transform-origin: bottom; }
.curtain::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blend); }
.is-leaving .curtain { transform: scaleY(1); transition: transform .55s var(--ease-io); }
.is-entering .curtain { transform: scaleY(1); transform-origin: top; }
.is-entered .curtain { transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease-io); }

/* scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; background: var(--blend); transform-origin: left; transform: scaleX(0); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1200px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
  .divisions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header { grid-template-columns: 1fr auto; }
  .header__cta { gap: 10px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .overview, .standard, .fleet__top, .split, .track-teaser, .contact, .tracker, .netmap { grid-template-columns: 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-card--wide { grid-column: auto; }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc__num { position: static; grid-column: span 2; display: flex; align-items: baseline; gap: 14px; }
  .svc__num b { font-size: 2.6rem; margin: 0; }
  .rig-grid, .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .history { grid-template-columns: repeat(2, 1fr); }
  .tracker__side, .contact__info { position: static; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
  .step__dot { grid-row: span 2; margin: 0; }
  .split__img { min-height: 420px; }
  .fleet__obj { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  :root { --frame: 8px; --hero-r: 4px; }
  .header { top: calc(var(--frame) + 8px); left: calc(var(--frame) + 8px); right: calc(var(--frame) + 8px); padding: 8px 8px 8px 12px; }
  .brand__word { display: none; }
  .hero__inner { padding: 120px 18px 24px; }
  .hero-tabs { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__actions .btn__label { flex: 1; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .service-grid, .service-grid--3 { grid-template-columns: 1fr; }
  .service-item { min-height: 0; }
  .service-item .icon { width: 104px; height: 104px; }
  .tint-grid { grid-template-columns: 1fr; }
  .tint > div { max-width: 62%; }
  .tint .art { width: 40%; opacity: .9; }
  .map-stats { grid-template-columns: 1fr; }
  .mosaic { aspect-ratio: .9; }
  .rig-grid, .hub-grid, .history, .divisions { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__num { grid-column: auto; }
  .svc__media .obj { width: 92px; right: -6px; top: -36px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: span 2; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cargo-types { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
  .people figure:first-child { grid-row: auto; grid-column: span 2; }
  .people figure:nth-child(4) { grid-column: span 2; }
  .faq details p { padding-right: 0; }
  .kv { grid-template-columns: 1fr 1fr; }
  .netmap__legend { position: static; margin: 0 12px 12px; }
  .modes { grid-auto-columns: 78%; }
}
@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__news { grid-column: auto; }
  .stats-row { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
}

@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], .split-words .wd > span { opacity: 1 !important; transform: none !important; }
  .img-reveal { clip-path: none !important; }
  .marquee__track { animation: none !important; }
}
@media (forced-colors: active) {
  .tone-grad { color: CanvasText; background: none; }
}

.check.has-error { color: #ff8a93; }
@media (max-width: 760px) {
  .track-teaser::before { background: linear-gradient(180deg, rgba(5,15,46,.92) 0%, rgba(5,15,46,.78) 55%, rgba(5,15,46,.6)); }
  .cta__obj { width: 84px; opacity: .85; }
  .cta__obj:nth-of-type(3) { display: none; }
  .cta__obj:nth-of-type(2) { top: 4% !important; left: 4% !important; }
}

/* ------------------------------------------- mobile translation layer */
/* short copy: .t-lg shows on desktop, .t-sm replaces it on phones */
.t-sm { display: none !important; }
@media (max-width: 760px) { .t-lg { display: none !important; } .t-sm { display: inline !important; } }

/* service-card corner patterns (industry motifs) */
.service-item .pat {
  position: absolute; top: 0; right: 0; z-index: -1; width: 62%; max-width: 210px; aspect-ratio: 1; pointer-events: none;
  fill: none; stroke: var(--navy-700, #0a2a6e); stroke-width: 1.1; opacity: .2;
  -webkit-mask-image: radial-gradient(115% 115% at 100% 0%, #000 35%, transparent 72%); mask-image: radial-gradient(115% 115% at 100% 0%, #000 35%, transparent 72%);
  transition: opacity .6s var(--ease), stroke .6s var(--ease);
}
.service-item .pat .pat__d circle { fill: currentColor; stroke: none; }
.service-item .pat { color: var(--navy-700, #0a2a6e); }
.service-item .pat .pat__a { fill: var(--red); stroke: none; }
.service-item .pat .pat__node { fill: var(--mist); stroke-width: 1.6; }
.service-item .pat .pat__fill rect { fill: var(--blue-soft, #2160d0); stroke: none; opacity: .45; }
.service-item .pat .pat__route { stroke-width: 2; stroke-dasharray: 6 6; animation: pat-dash 6s linear infinite; }
.service-item .pat .pat__sweep { transform-origin: 150px 30px; animation: pat-sweep 7s linear infinite; }
.service-item .pat .pat__sweep path { fill: rgba(223,0,19,.10); stroke: none; }
.service-item .pat .pat__ribs { animation: pat-ribs 9s ease-in-out infinite; }
@keyframes pat-dash { to { stroke-dashoffset: -120; } }
@keyframes pat-sweep { to { transform: rotate(360deg); } }
@keyframes pat-ribs { 50% { transform: translateX(-4px); } }
.service-item:hover .pat, .service-item.is-iv .pat { opacity: .55; stroke: rgba(255,255,255,.7); color: rgba(255,255,255,.75); }
.service-item:hover .pat .pat__node, .service-item.is-iv .pat .pat__node { fill: var(--navy-800); }
.service-item:hover .pat .pat__fill rect, .service-item.is-iv .pat .pat__fill rect { fill: #ff4d5e; opacity: .6; }
.service-item:hover .pat .pat__sweep path, .service-item.is-iv .pat .pat__sweep path { fill: rgba(255,77,94,.28); }
.service-item .num, .service-item .icon { position: relative; }
.service-item .num span:last-child { background: var(--mist); padding: 3px 9px; margin: -3px -9px 0 0; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); transition: background .6s var(--ease), box-shadow .6s var(--ease); }
.service-item:hover .num span:last-child, .service-item.is-iv .num span:last-child { background: rgba(5,15,46,.72); box-shadow: 0 0 0 1px rgba(255,255,255,.14); }

@media (max-width: 1100px) {
  /* hero cards: kept on tablet/phone, re-flowed instead of hidden */
  .hero__bottom { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero__bottom .hero-tabs { grid-column: 1 / -1; order: -1; }
  .hero__bottom .stat-card { justify-self: stretch; }
  /* process: the horizontal progress rail becomes a vertical one */
  .process::before, .process__fill { display: block; top: 0; left: 27px; right: auto; width: 2px; height: 100%; }
  .process__fill { height: 0; transition: height 2.6s var(--ease-io); }
  .is-visible .process__fill { width: 2px; height: 100%; }
}
@media (max-width: 760px) {
  .header__quote .btn__label { padding-inline: 12px 6px; }
  .hero__bottom { gap: 10px; }
  .dispatch-card { padding: 10px; border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; }
  .dispatch-card__who { gap: 8px; margin-bottom: 10px; }
  .dispatch-card__who img { width: 34px; height: 34px; }
  .dispatch-card__who b { font-size: .86rem; }
  .dispatch-card .btn__label { padding-inline: 10px 4px; font-size: .78rem; }
  .stat-card { padding: 8px; gap: 8px; border-radius: 14px; }
  .stat-card img { width: 40px; }
  .stat-card__num { font-size: 1.7rem; }
  .stat-card .spark { height: 22px; }
  .service-item .pat { width: 46%; }
}
