/* ================================================================
   SPY ENGINEERING — front v2
   Direction: bright precision atelier (light sky-blue, editorial)
   Rides on top of Bootstrap 5.3 (loaded before this file)
   ================================================================ */

:root {
  --sky-50: #f4f8fc;
  --sky-100: #e8f0f8;
  --sky-150: #d8e4f1;
  --sky-200: #c5d6e8;
  --sky-300: #9fb6ce;
  --blue-400: #5d8fd2;
  --blue: #1e5eb8;
  --blue-600: #16498f;
  --blue-700: #0f3568;
  --cobalt: #081f3f;
  --ink: #14273b;
  --body: #465a6d;
  --muted: #71849a;
  --coral: #c62032;
  --coral-600: #9f1827;
  --white: #ffffff;
  --line: #d5e0eb;
  --line-2: #c2cfdb;
  --steel-50: #eff4f8;
  --steel-100: #e5edf3;

  --font-display: "Kanit", system-ui, sans-serif;
  --font-body: "Prompt", system-ui, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm:
    0 2px 8px rgba(8, 31, 63, 0.06), 0 12px 24px -18px rgba(8, 31, 63, 0.18);
  --shadow:
    0 24px 48px -30px rgba(8, 31, 63, 0.28),
    0 8px 20px -16px rgba(8, 31, 63, 0.16);
  --shadow-lg: 0 42px 78px -34px rgba(8, 31, 63, 0.34);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --bs-primary: #1e5eb8;
  --bs-body-font-family: "Prompt", system-ui, sans-serif;
  --bs-body-color: #465a6d;
  --bs-body-bg: #f4f8fc;
  --bs-border-color: #d5e0eb;
  --bs-link-color: #16498f;
  --bs-link-hover-color: #0f3568;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--sky-50);
  line-height: 1.7;
  font-size: 16.5px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue-700);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.015em;
}
p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}
strong,
b {
  font-weight: 500;
}
::selection {
  background: var(--coral);
  color: #fff;
}

/* keep our container sizing over Bootstrap's */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 38px);
}

/* eyebrow-as-brand-label (used sparingly, not every section) */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--blue-700);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
}
.kicker.on-brand {
  color: #fff;
}
.kicker.on-brand::before {
  background: var(--coral);
}

/* ---------- buttons (override bootstrap .btn base) ---------- */
.btn {
  --bg: var(--blue);
  --fg: #fff;
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.1;
  padding: 0.82em 1.55em;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bd);
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.25s,
    color 0.25s;
  box-shadow: 0 12px 22px -16px rgba(30, 94, 184, 0.72);
}
.btn:hover {
  transform: translateY(-2px);
  color: var(--fg);
  box-shadow: 0 18px 32px -18px rgba(30, 94, 184, 0.74);
}
.btn:focus-visible {
  outline: 3px solid var(--sky-300);
  outline-offset: 2px;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
}
.btn-amber {
  --bg: var(--coral);
  box-shadow: 0 12px 22px -16px rgba(198, 32, 50, 0.82);
}
.btn-amber:hover {
  background: var(--coral-600);
}
.btn-ghost {
  --bg: transparent;
  --fg: var(--blue-700);
  --bd: var(--line-2);
  box-shadow: none;
}
.btn-ghost:hover {
  --bd: var(--blue);
  color: var(--blue-700);
  background: var(--sky-100);
  box-shadow: none;
}
.btn-on-navy {
  --bg: var(--sky-100);
  --fg: var(--blue-700);
  --bd: transparent;
  box-shadow: none;
}
.btn-on-navy:hover {
  --bg: var(--sky-200);
  box-shadow: none;
}
.btn-white {
  --bg: #fff;
  --fg: var(--blue-700);
  box-shadow: 0 10px 24px -12px rgba(11, 61, 158, 0.5);
}
.btn-outline-white {
  --bg: transparent;
  --fg: #fff;
  --bd: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.btn-outline-white:hover {
  --bg: rgba(255, 255, 255, 0.14);
  --bd: #fff;
  box-shadow: none;
}
.btn-lg {
  padding: 0.95em 1.9em;
  font-size: 1.08rem;
}

/* ================================================================
   NAV  (custom bar, Bootstrap offcanvas for mobile)
   ================================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 84px;
}
.nav.solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(1.35);
  box-shadow: 0 18px 32px -28px rgba(8, 31, 63, 0.45);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-right: auto;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-700));
  box-shadow: 0 12px 22px -14px rgba(8, 31, 63, 0.5);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.brand-mark.brand-mark-logo {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-mark.brand-mark-logo img {
  width: clamp(60px, 7vw, 84px);
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 8px 18px rgba(8, 31, 63, 0.12));
}
.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}
.brand-txt b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-txt span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5em 0.9em;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--ink);
  transition:
    color 0.2s,
    background 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: var(--blue-700);
  background: var(--sky-100);
}
.nav-links a.active {
  color: var(--blue-700);
  font-weight: 500;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.9em;
  right: 0.9em;
  bottom: 0.28em;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--ink);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* mobile offcanvas (bootstrap) themed */
.offcanvas.spy-oc {
  background: linear-gradient(160deg, #fff, var(--sky-100));
  width: min(86vw, 350px);
}
.spy-oc .offcanvas-header {
  padding: 1.3rem 1.4rem 0.6rem;
}
.spy-oc .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 1.4rem 1.6rem;
}
.spy-oc .oc-link {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.spy-oc .oc-link.active {
  color: var(--coral-600);
}
.spy-oc .oc-cta {
  margin-top: auto;
}

/* ================================================================
   HERO (light)
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vh, 200px) 0 clamp(56px, 9vh, 96px);
  background: linear-gradient(180deg, #f8fbfe 0%, var(--steel-50) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      122deg,
      rgba(15, 53, 104, 0.08) 0 16%,
      transparent 16% 100%
    ),
    radial-gradient(
      56% 58% at 86% 12%,
      rgba(30, 94, 184, 0.16),
      transparent 64%
    ),
    radial-gradient(
      44% 56% at 8% 92%,
      rgba(197, 214, 232, 0.84),
      transparent 72%
    );
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 0 54%,
      rgba(198, 32, 50, 0.08) 54% 56%,
      transparent 56% 100%
    ),
    linear-gradient(
      128deg,
      transparent 0 62%,
      rgba(15, 53, 104, 0.09) 62% 67%,
      transparent 67% 100%
    );
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-kicker {
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 0.2rem;
}
.hero h1 .hl {
  color: var(--blue-600);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.16em;
  background: var(--coral);
  opacity: 0.55;
  border-radius: 3px;
  z-index: -1;
}
.hero h1 .en {
  display: block;
  font-size: 0.44em;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0;
  margin-top: 0.7rem;
}
.hero-lead {
  color: var(--body);
  font-weight: 300;
  font-size: 1.14rem;
  max-width: 50ch;
  margin: 1.5rem 0 2.1rem;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* engineered spec panel (light card) */
.hero-spec {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.hero-spec::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), var(--coral));
}
.hero-spec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line-2);
}
.hero-spec-h span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.hero-spec-h b {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
}
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sky-100);
}
.spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.spec-k {
  color: var(--body);
  font-size: 0.95rem;
}
.spec-v {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.06rem;
  white-space: nowrap;
}
.spec-v em {
  color: var(--blue-600);
  font-style: normal;
}

/* hero banner carousel (when banners exist) */
.hero-carousel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.hero-carousel .ratio-hero {
  aspect-ratio: 4/3;
}
.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   BANNER HERO (full-bleed slider driven by backend banners)
   ================================================================ */
.banner-hero {
  position: relative;
  background: var(--cobalt);
}
.banner-hero .carousel-item {
  position: relative;
}
.banner-media {
  display: block;
  position: relative;
  height: clamp(500px, 82vh, 800px);
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      96deg,
      rgba(8, 31, 63, 0.9) 0%,
      rgba(8, 31, 63, 0.62) 38%,
      rgba(8, 31, 63, 0.16) 70%,
      rgba(8, 31, 63, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(8, 31, 63, 0.55),
      rgba(8, 31, 63, 0) 22%,
      rgba(8, 31, 63, 0) 78%,
      rgba(8, 31, 63, 0.35)
    );
}
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.banner-text {
  max-width: 640px;
  color: #fff;
  padding-top: 84px;
  pointer-events: auto;
}
.banner-text .kicker.on-brand {
  color: #fff;
  margin-bottom: 1.2rem;
}
.banner-text .kicker.on-brand::before {
  background: var(--coral);
}
.banner-text h1 {
  color: #fff;
  font-size: clamp(2rem, 5.2vw, 3.7rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.banner-text h1 .hl {
  color: #fff;
  position: relative;
  white-space: nowrap;
}
.banner-text h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.16em;
  background: var(--coral);
  opacity: 0.75;
  border-radius: 3px;
  z-index: -1;
}
.banner-text p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 54ch;
  margin-bottom: 1.9rem;
  text-wrap: pretty;
}

.banner-hero .carousel-control-prev,
.banner-hero .carousel-control-next {
  width: auto;
  opacity: 1;
  z-index: 3;
}
.banner-hero .carousel-control-prev {
  left: clamp(6px, 2vw, 22px);
}
.banner-hero .carousel-control-next {
  right: clamp(6px, 2vw, 22px);
}
.bh-arrow {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(8, 31, 63, 0.38),
    rgba(8, 31, 63, 0.2)
  );
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 36px -24px rgba(4, 14, 29, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  transition:
    transform 0.22s var(--ease),
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.banner-hero .carousel-control-prev:hover .bh-arrow,
.banner-hero .carousel-control-next:hover .bh-arrow,
.banner-hero .carousel-control-prev:focus-visible .bh-arrow,
.banner-hero .carousel-control-next:focus-visible .bh-arrow {
  background: linear-gradient(
    180deg,
    rgba(198, 32, 50, 0.96),
    rgba(166, 18, 35, 0.96)
  );
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 40px -22px rgba(106, 8, 20, 0.95);
  transform: translateY(-1px) scale(1.04);
}
.banner-hero .carousel-control-prev:active .bh-arrow,
.banner-hero .carousel-control-next:active .bh-arrow {
  transform: scale(0.98);
}
.bh-arrow svg {
  width: 24px;
  height: 24px;
}
.carousel-indicators.bh-dots {
  z-index: 3;
  margin-bottom: 1.4rem;
  gap: 0.28rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(8, 31, 63, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  width: max-content;
  margin-inline: auto;
}
.carousel-indicators.bh-dots [data-bs-target] {
  position: relative;
  display: block !important;
  flex: 0 0 auto !important;
  width: 38px !important;
  height: 22px !important;
  min-width: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-clip: border-box !important;
  text-indent: -9999px !important;
  overflow: hidden;
  cursor: pointer;
  opacity: 1 !important;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.24s var(--ease);
}
.carousel-indicators.bh-dots [data-bs-target]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition:
    width 0.24s var(--ease),
    background 0.24s var(--ease),
    border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease),
    transform 0.24s var(--ease);
}
.carousel-indicators.bh-dots [data-bs-target]:hover,
.carousel-indicators.bh-dots [data-bs-target]:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}
.carousel-indicators.bh-dots [data-bs-target]:hover::before,
.carousel-indicators.bh-dots [data-bs-target]:focus-visible::before {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.9);
}
.carousel-indicators.bh-dots [data-bs-target].active::before {
  width: 30px;
  background: linear-gradient(90deg, var(--coral), var(--coral-600));
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 22px -14px rgba(198, 32, 50, 0.95);
}

/* nav readable over dark banner */
.nav.over-banner:not(.solid) .brand-txt b,
.nav.over-banner:not(.solid) .nav-links a {
  color: #fff;
}
.nav.over-banner:not(.solid) .brand-txt span {
  color: var(--sky-200);
}
.nav.over-banner:not(.solid) .nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.nav.over-banner:not(.solid) .nav-links a.active {
  color: #fff;
}
.nav.over-banner:not(.solid) .nav-links a.active::after {
  background: var(--coral);
}
.nav.over-banner:not(.solid) .nav-toggle {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

@media (max-width: 640px) {
  .banner-media {
    height: clamp(440px, 74vh, 620px);
  }
  .banner-text {
    padding-top: 72px;
  }
  .banner-text p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  padding: clamp(60px, 8.5vh, 108px) 0;
  position: relative;
}
.section.tint {
  background: linear-gradient(180deg, var(--steel-50), var(--sky-100));
}
.section.tint-2 {
  background: linear-gradient(180deg, var(--sky-50), var(--sky-150));
}
.section.brand {
  background: linear-gradient(135deg, var(--blue-700), var(--cobalt));
  color: #fff;
}
.section.brand h2,
.section.brand h3 {
  color: #fff;
}

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.sec-head.center .kicker {
  justify-content: center;
}
.sec-title {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  margin: 0.7rem 0 0.6rem;
  text-wrap: balance;
}
.sec-sub {
  color: var(--body);
  font-weight: 300;
  font-size: 1.07rem;
  text-wrap: pretty;
}
.section.brand .sec-sub {
  color: rgba(255, 255, 255, 0.82);
}

/* big translucent index number as design accent (used on ONE section) */
.big-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.8;
  color: var(--sky-200);
  letter-spacing: -0.04em;
}

/* ---------- intro split ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.intro-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow);
  background: var(--sky-150);
}
.intro-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-figure .badge-est {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.75rem 1.05rem;
  box-shadow: var(--shadow);
}
.intro-figure .badge-est b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--blue-600);
  line-height: 1;
}
.intro-figure .badge-est span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.intro-body p {
  color: var(--body);
  font-size: 1.07rem;
  font-weight: 300;
}
.intro-list {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.intro-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 400;
}
.intro-list svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: #fff;
  background: var(--blue);
  border-radius: 7px;
  padding: 4px;
  margin-top: 2px;
}

/* ================================================================
   STATS  (editorial, offset — not a mono metric band)
   ================================================================ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 1rem;
}
.stat {
  position: relative;
  padding-left: 1.1rem;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 4px;
  height: calc(100% - 0.5rem);
  border-radius: 4px;
  background: linear-gradient(var(--blue), var(--sky-200));
}
.stat:nth-child(3n + 1)::before {
  background: linear-gradient(var(--coral), var(--sky-200));
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1em 0.3em;
}
.stat-num.sm {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
}
.stat-num .u {
  font-size: 0.46em;
  color: var(--blue-600);
  font-weight: 500;
}
.stat-name {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 400;
}
.section.brand .stat-num {
  color: #fff;
}
.section.brand .stat-num .u {
  color: var(--sky-300);
}
.section.brand .stat-name {
  color: rgba(255, 255, 255, 0.72);
}
.section.brand .stat::before {
  background: linear-gradient(var(--coral), rgba(255, 255, 255, 0.2));
}

/* ================================================================
   SERVICES  (editorial numbered list)
   ================================================================ */
.svc-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}
.svc {
  grid-column: span 4;
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-sm) + 6px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s;
  box-shadow: var(--shadow-sm);
}
.svc:first-child {
  grid-column: span 8;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--sky-300);
}
.svc-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fafd 0%, var(--steel-100) 100%);
}
.svc:first-child .svc-media {
  aspect-ratio: 21/10;
}
.svc-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(15, 53, 104, 0.1), transparent 44%),
    linear-gradient(0deg, rgba(8, 31, 63, 0.16), rgba(8, 31, 63, 0) 42%);
  z-index: 1;
  pointer-events: none;
}
.svc-media::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 32, 50, 0.22), transparent 66%);
  z-index: 1;
  pointer-events: none;
}
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    filter 0.35s var(--ease);
}
.svc:hover .svc-media img {
  transform: scale(1.04);
}
.svc-media.ph {
  display: grid;
  place-items: center;
}
.svc-media.ph img {
  width: min(46%, 180px);
  height: auto;
  object-fit: contain;
  opacity: 0.96;
  z-index: 2;
  filter: drop-shadow(0 16px 22px rgba(15, 53, 104, 0.12));
}
.svc-no {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
}
.svc-body {
  padding: 1.25rem 1.25rem 1.35rem;
  display: grid;
  gap: 0.8rem;
}
.svc-body::before {
  content: "";
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--blue));
}
.svc h3 {
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.24;
  margin: 0;
}
.svc:first-child h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}
.svc p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ================================================================
   SCOPES  (production mix bars)
   ================================================================ */
.scopes {
  display: grid;
  gap: 1.5rem;
  max-width: 780px;
}
.scope-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
  gap: 1rem;
}
.scope-head b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.06rem;
  color: var(--ink);
}
.scope-pct {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-600);
  font-size: 1.05rem;
}
.scope-bar {
  height: 14px;
  border-radius: 999px;
  background: var(--sky-150);
  overflow: hidden;
}
.scope-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-400));
  transform-origin: left center;
}
.scope:nth-child(2) .scope-fill {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
}
.scope:nth-child(3) .scope-fill {
  background: linear-gradient(90deg, var(--cobalt), var(--blue));
}
.scope:nth-child(4) .scope-fill {
  background: linear-gradient(90deg, var(--coral-600), var(--coral));
}
.scope:nth-child(5) .scope-fill {
  background: linear-gradient(90deg, var(--blue-400), var(--sky-300));
}
@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.js .scope-fill {
  animation: grow-x 1.1s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .js .scope-fill {
    animation: none;
  }
}
.scopes-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.scopes-aside {
  align-self: center;
}

/* ---- donut scope chart ---- */
.scope-chart {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.donut-wrap {
  position: relative;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.donut {
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.donut-track {
  stroke: var(--sky-150);
}
.donut-seg {
  transform-box: view-box;
  transform-origin: 100px 100px;
  stroke-linecap: butt;
  cursor: pointer;
  pointer-events: stroke;
  transition:
    stroke-width 0.3s var(--ease),
    opacity 0.3s;
}
.js .donut-seg {
  animation: donut-draw 1.1s var(--ease) both;
}
@keyframes donut-draw {
  from {
    stroke-dashoffset: var(--len);
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .donut-seg {
    animation: none;
  }
}
.scope-chart.hot .donut-seg:not(.on) {
  opacity: 0.3;
}
.donut-seg.on {
  stroke-width: 38;
  filter: drop-shadow(0 6px 12px rgba(11, 61, 158, 0.28));
}
.donut-center {
  position: absolute;
  text-align: center;
  pointer-events: none;
}
.donut-center b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.donut-center span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 8em;
}

.scope-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.scope-legend li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.scope-legend li:hover,
.scope-legend li.on {
  background: #fff;
  border-color: var(--line);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.section.tint .scope-legend li:hover,
.section.tint .scope-legend li.on {
  background: #fff;
}
.lg-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  flex: none;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent);
}
.lg-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  flex: 1;
}
.lg-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c);
}

@media (max-width: 640px) {
  .scope-chart {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .donut {
    max-width: 280px;
  }
  .scope-legend {
    width: 100%;
  }
}

/* ================================================================
   MACHINES
   ================================================================ */
.mcats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.2rem;
}
.mchip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55em 1.05em;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.93rem;
  transition: 0.25s;
}
.mchip:hover {
  border-color: var(--blue);
  color: var(--blue-700);
}
.mchip.on {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.mchip .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  opacity: 0.65;
}
.mchip.on .n {
  color: #fff;
  opacity: 1;
}

.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 1.3rem;
}
.mcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.mcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sky-200);
}
.mcard-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--sky-100);
  overflow: hidden;
}
.mcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.mcard:hover .mcard-img img {
  transform: scale(1.05);
}
.mcard-img.ph {
  display: grid;
  place-items: center;
}
.mcard-img.ph img {
  width: 46%;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
}
.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-700);
  padding: 0.32em 0.75em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.qty-pill {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  background: var(--coral);
  color: #fff;
  padding: 0.28em 0.6em;
  border-radius: 8px;
}
.mcard-body {
  padding: 1.05rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mcard-body h3 {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 0.3rem;
}
.mcard-meta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.6rem;
}
.mcard-meta b {
  color: var(--blue-700);
  font-weight: 500;
}

/* ================================================================
   CLIENTS — trust wall (inverted pyramid on brand band)
   ================================================================ */
.clients-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(145deg, #0a2f6d 0%, #082454 40%, #041731 100%);
}
.clients-band::before {
  content: "";
  position: absolute;
  left: -760px;
  top: -610px;
  width: 980px;
  height: 980px;
  border-radius: 50%;
  border: 1px solid rgba(162, 206, 255, 0.28);
  box-shadow: 0 0 34px rgba(139, 189, 255, 0.18);
  transform: rotate(14deg);
  pointer-events: none;
}
.clients-band::after {
  content: "";
  position: absolute;
  right: -700px;
  bottom: -620px;
  width: 920px;
  height: 920px;
  border-radius: 50%;
  border: 1px solid rgba(162, 206, 255, 0.24);
  box-shadow: 0 0 34px rgba(139, 189, 255, 0.14);
  transform: rotate(-14deg);
  pointer-events: none;
}
.clients-band .container {
  position: relative;
  z-index: 1;
}
.clients-band .sec-head {
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.clients-wall {
  position: relative;
}
.clients-grid {
  --client-divider: rgba(255, 255, 255, 0.14);
  --client-text: rgba(244, 248, 255, 0.94);
  row-gap: clamp(1rem, 2.6vw, 1.9rem);
}
.client-col {
  position: relative;
}
.client-col::after {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--client-divider) 18%, var(--client-divider) 82%, transparent);
}
.client-col:last-child::after {
  display: none;
}
.client-panel {
  height: 100%;
  padding: 1.1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.client-logo {
  width: min(100%, 186px);
  min-height: 60px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.client-logo img {
  max-height: 66px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-panel:hover .client-logo {
  transform: translateY(-5px);
}
.client-panel b {
  font-weight: 400;
  font-size: 1rem;
  color: var(--client-text);
  line-height: 1.65;
}
.client-panel.txt {
  justify-content: center;
}
.client-panel.txt b {
  width: min(100%, 186px);
  min-height: 88px;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.95));
  box-shadow:
    0 24px 44px -30px rgba(2, 9, 20, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .clients-band::before {
    left: -560px;
    top: -460px;
    width: 720px;
    height: 720px;
  }
  .clients-band::after {
    right: -500px;
    bottom: -420px;
    width: 640px;
    height: 640px;
  }
  .client-panel {
    padding: 0.85rem 0.7rem 1rem;
    gap: 0.8rem;
  }
  .client-logo {
    width: 100%;
    min-height: 52px;
    padding: 0;
  }
  .client-panel.txt b {
    width: 100%;
    min-height: 74px;
    padding: 0.8rem 0.75rem;
    border-radius: 14px;
  }
  .client-logo img {
    max-height: 52px;
  }
  .client-panel b {
    font-size: 0.93rem;
    line-height: 1.55;
  }
  .client-col:nth-child(2n)::after {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .client-col:nth-child(3n)::after {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .client-col:nth-child(4n)::after {
    display: none;
  }
}
@media (min-width: 1200px) {
  .client-col:nth-child(6n)::after {
    display: none;
  }
}

/* ================================================================
   POLICY SPOTLIGHT (photo + quote, strong color accents)
   ================================================================ */
.policy-spot {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
}
.policy-figure {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue), var(--cobalt));
  box-shadow: var(--shadow);
}
.policy-figure::before {
  content: "";
  position: absolute;
  inset: -12px auto auto -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.8;
}
.policy-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.policy-figure-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
}
.policy-figure-ph svg {
  width: 30%;
  height: 30%;
}
.policy-badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 26px -10px rgba(198, 32, 50, 0.55);
  border: 4px solid var(--sky-50);
}
.policy-badge svg {
  width: 30px;
  height: 30px;
}
.policy-content {
  display: grid;
  gap: 1rem;
}
.policy-head {
  display: grid;
  gap: 0.55rem;
}
.policy-content .kicker {
  margin-bottom: 0;
}
.policy-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.16;
  color: var(--ink);
}
.policy-card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.policy-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--coral), var(--blue));
}
.policy-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 0.7;
  color: var(--sky-200);
  margin-bottom: 0.4rem;
}
.policy-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.65vw, 1.14rem);
  color: var(--ink);
  line-height: 1.9;
  margin: 0;
  text-wrap: pretty;
}
.policy-source {
  margin-top: 1.2rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--blue-700);
}
.policy-source-line {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  flex: none;
}
.section.brand .policy-content .kicker {
  color: #fff;
}
.section.brand .policy-title {
  color: #fff;
}
.section.brand .policy-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.section.brand .policy-mark {
  color: rgba(255, 255, 255, 0.25);
}
.section.brand .policy-text {
  color: #fff;
}
.section.brand .policy-source {
  color: var(--sky-200);
  border-top-color: rgba(255, 255, 255, 0.12);
}
.section.brand .policy-figure::before {
  border-color: var(--coral);
  opacity: 1;
}

@media (max-width: 800px) {
  .policy-spot {
    grid-template-columns: 1fr;
  }
  .policy-figure {
    max-width: 320px;
    margin-inline: auto;
    aspect-ratio: 1;
  }
  .policy-content {
    gap: 0.85rem;
  }
  .policy-card::before {
    width: 100%;
    height: 5px;
    inset: 0 0 auto 0;
  }
}

/* ================================================================
   ORG chart — tree of command
   ================================================================ */
.org-chart-wrap {
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.org-chart {
  min-width: 940px;
}
.org-chart ul {
  display: flex;
  justify-content: center;
  padding: 28px 0 0;
  margin: 0;
  position: relative;
}
.org-chart > ul {
  padding-top: 0;
}
.org-chart ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 28px;
  border-left: 2px solid var(--line-2);
}
.org-chart li {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 7px 0;
}
.org-chart li::before,
.org-chart li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 28px;
  border-top: 2px solid var(--line-2);
}
.org-chart li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid var(--line-2);
}
.org-chart li:only-child {
  padding-top: 0;
}
.org-chart li:only-child::before,
.org-chart li:only-child::after {
  display: none;
}
.org-chart li:first-child::before,
.org-chart li:last-child::after {
  border: 0;
}
.org-chart li:last-child::before {
  border-right: 2px solid var(--line-2);
  border-radius: 0 10px 0 0;
}
.org-chart li:first-child::after {
  border-radius: 10px 0 0 0;
}
.oc-node {
  min-width: 150px;
  max-width: 200px;
  padding: 0.72rem 1rem 0.66rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s;
}
.oc-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--sky-300);
}
.oc-node b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--ink);
}
.oc-node span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.74rem;
  color: var(--muted);
}
.oc-node.lv0 {
  min-width: 190px;
  background: linear-gradient(145deg, var(--blue-700), var(--cobalt));
  border-color: transparent;
  box-shadow: var(--shadow);
}
.oc-node.lv0 b {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
.oc-node.lv0 span {
  color: var(--sky-300);
}
.oc-node.lv1 {
  min-width: 175px;
  background: linear-gradient(145deg, var(--blue), var(--blue-600));
  border-color: transparent;
}
.oc-node.lv1 b {
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}
.oc-node.lv1 span {
  color: var(--sky-200);
}
.oc-node.lv2 {
  border-top: 3px solid var(--blue);
}
.org-chart li:nth-child(3n + 2) > .oc-node.lv2 {
  border-top-color: var(--coral);
}
.org-chart li:nth-child(3n) > .oc-node.lv2 {
  border-top-color: var(--blue-400);
}
.oc-node.lv3 {
  min-width: 132px;
  padding: 0.55rem 0.85rem 0.5rem;
  border-radius: 10px;
}
.oc-node.lv3 b {
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--body);
}
.org-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  margin-top: 1.2rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.org-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.org-legend .ol {
  width: 14px;
  height: 14px;
  border-radius: 5px;
}
.org-legend .ol-exec {
  background: linear-gradient(145deg, var(--blue-700), var(--cobalt));
}
.org-legend .ol-mgr {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}
.org-legend .ol-op {
  background: #fff;
  border: 1px solid var(--line-2);
}
.org-hint {
  margin-left: auto;
  font-size: 0.8rem;
}
@media (min-width: 1080px) {
  .org-hint {
    display: none;
  }
}

/* ================================================================
   PRODUCTION LINES
   ================================================================ */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.3rem;
}
.line-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.line-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.line-card .lc-img {
  aspect-ratio: 16/10;
  background: var(--sky-100);
  overflow: hidden;
}
.line-card .lc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line-card.ph .lc-img {
  display: grid;
  place-items: center;
}
.line-card.ph .lc-img img {
  width: 40%;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
}
.line-card .lc-body {
  padding: 1.05rem 1.25rem 1.3rem;
}
.line-card .lc-no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky-300);
}
.line-card h3 {
  font-size: 1.08rem;
  font-weight: 500;
  margin-top: 0.2rem;
}
.line-card p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 0.3rem;
}

/* ================================================================
   PROJECTS
   ================================================================ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.proj-card {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  color: inherit;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.proj-card .pc-img {
  aspect-ratio: 3/2;
  background: var(--sky-100);
  overflow: hidden;
  position: relative;
}
.proj-card .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.proj-card:hover .pc-img img {
  transform: scale(1.05);
}
.proj-card.ph .pc-img {
  display: grid;
  place-items: center;
}
.proj-card.ph .pc-img img {
  width: 42%;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
}
.proj-card .pc-body {
  padding: 1.1rem 1.25rem 1.3rem;
}
.proj-card .pc-cat {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--blue-700);
}
.proj-card h3 {
  font-size: 1.12rem;
  font-weight: 500;
  margin: 0.3rem 0;
}
.proj-card p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.empty {
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
  background: #fff;
}
.empty svg {
  width: 56px;
  height: 56px;
  color: var(--sky-300);
  margin-bottom: 1rem;
}
.empty h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.empty p {
  color: var(--body);
  font-weight: 300;
}

/* project detail */
.pd-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.pd-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky-100);
  aspect-ratio: 4/3;
}
.pd-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-meta {
  display: grid;
  gap: 0;
  margin: 1.6rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pd-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.pd-meta div:last-child {
  border-bottom: 0;
}
.pd-meta dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}
.pd-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
.pd-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}
.pd-gallery img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ================================================================
   CTA band
   ================================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--blue-700), var(--cobalt));
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 32, 50, 0.3), transparent 62%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  text-wrap: balance;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-top: 1rem;
  font-size: 1.08rem;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* ================================================================
   CONTACT v2 — blueprint / RFQ sheet
   ================================================================ */
.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #eaf2fb;
  background: rgba(255, 255, 255, 0.05);
}
.badge-open .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37d67a;
  animation: open-pulse 2.2s infinite;
}
.badge-open.closed .dot {
  background: #9fb6ce;
  animation: none;
}
.badge-open.lite {
  border-color: var(--line-2);
  background: #fff;
  color: var(--body);
}
@keyframes open-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(55, 214, 122, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(55, 214, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(55, 214, 122, 0);
  }
}
.tape {
  background: var(--coral);
  color: #fff;
  overflow: hidden;
  padding: 0.68rem 0;
  position: relative;
  z-index: 2;
}
.tape-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tape-run 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}
.tape-track > span {
  display: inline-flex;
  align-items: center;
}
.tape-track i {
  font-style: normal;
  margin: 0 1.6rem;
  opacity: 0.55;
}
@keyframes tape-run {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track {
    animation: none;
  }
  .badge-open .dot {
    animation: none;
  }
}

.chan {
  border-top: 1px solid var(--line-2);
}
.chan-row {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.45rem 1.1rem;
  border-bottom: 1px solid var(--line-2);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.chan-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--sky-100), rgba(232, 240, 248, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
a.chan-row:hover::before {
  transform: scaleX(1);
}
.chan-k {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.chan-k svg {
  width: 18px;
  height: 18px;
  color: var(--blue-600);
  flex: none;
}
.chan-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.12rem, 2.4vw, 1.62rem);
  color: var(--ink);
  line-height: 1.3;
  overflow-wrap: anywhere;
  transition: color 0.3s;
}
.chan-v small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
a.chan-row:hover .chan-v {
  color: var(--blue-700);
}
.chan-go {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.chan-go svg {
  width: 19px;
  height: 19px;
}
a.chan-row:hover .chan-go {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateX(4px);
}
@media (max-width: 767px) {
  .chan-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.15rem 0.4rem;
  }
  .chan-k {
    grid-column: 1 / -1;
    margin-bottom: -0.5rem;
  }
}

.rfq-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}
.rfq-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    0 100%
  );
  filter: drop-shadow(0 24px 40px rgba(8, 31, 63, 0.12));
}
.rfq-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--sky-150);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.rfq-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.rfq-stamp {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--coral);
  border: 2px solid currentColor;
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  transform: rotate(-4deg);
  flex: none;
}
.rfq-head h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--ink);
  margin: 0;
}
.rfq-head p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.rfq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rfq-chips .chip {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.rfq-chips .chip:hover {
  border-color: var(--blue);
  color: var(--blue-700);
}
.rfq-chips .chip.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.04);
}
.rfq-card .form-label {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.rfq-card .form-control {
  background: var(--sky-50);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.rfq-card .form-control:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 0.22rem rgba(30, 94, 184, 0.14);
}
.rfq-card .form-control::placeholder {
  color: var(--muted);
}
.rfq-hint {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 26ch;
}
.geo-col {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1.1rem;
}
.geo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(
      70% 60% at 80% 10%,
      rgba(30, 94, 184, 0.4),
      transparent 65%
    ),
    linear-gradient(165deg, #0d2c57, var(--cobalt) 70%);
  color: #dbe7f5;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.geo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.geo-map {
  position: relative;
  flex: 1;
  min-height: 330px;
}
.geo-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.geo-photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.geo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.geo-photo:hover img {
  transform: scale(1.05);
}
.geo-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 31, 63, 0.42));
  pointer-events: none;
}
.geo-photo .geo-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(8, 31, 63, 0.45));
}
.geo-noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--steel-50);
  text-decoration: none;
}
.geo-noimg img {
  width: 96px;
  opacity: 0.9;
  margin-bottom: 0.9rem;
}
.geo-noimg b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.geo-noimg span span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--body);
  max-width: 34ch;
}
.geo-noimg .geo-noimg-cta {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  color: var(--blue-700);
  font-weight: 500;
  font-size: 0.9rem;
  transition:
    background 0.25s,
    color 0.25s;
}
.geo-noimg:hover .geo-noimg-cta {
  background: var(--blue);
  color: #fff;
}
.geo-pin {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
}
.geo-pin svg {
  width: 40px;
  height: 40px;
  color: #ffb454;
  position: relative;
  z-index: 1;
}
.geo-pin::before,
.geo-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 180, 84, 0.55);
  animation: ping 2.6s var(--ease) infinite;
}
.geo-pin::after {
  animation-delay: 1.3s;
}
@keyframes ping {
  0% {
    transform: scale(0.35);
    opacity: 1;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .geo-pin::before,
  .geo-pin::after {
    animation: none;
    opacity: 0.5;
  }
}
.geo-foot {
  position: relative;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.geo-foot .gf-k {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(219, 231, 245, 0.6);
}
.geo-foot .gf-v {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fff;
  font-size: 0.98rem;
  max-width: 40ch;
}
.geo-attach {
  position: relative;
  display: block;
  margin-top: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--steel-50);
}
.geo-attach img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}
.geo-attach:hover img {
  transform: scale(1.04);
}
.geo-attach .ga-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 31, 63, 0.75));
  pointer-events: none;
}
.geo-attach .ga-cap svg {
  width: 17px;
  height: 17px;
  color: #ffb454;
}
@media (max-width: 991px) {
  .rfq-wrap {
    grid-template-columns: 1fr;
  }
  .geo-col {
    position: static;
  }
  .geo {
    min-height: 0;
  }
  .geo-map {
    min-height: 300px;
  }
}

/* ================================================================
   FOOTER  (deep cobalt)
   ================================================================ */
.footer {
  background: linear-gradient(180deg, #0b274e 0%, #081b36 100%);
  color: var(--sky-200);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.footer a {
  color: var(--sky-200);
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 1rem 0 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer .brand-mark.brand-mark-logo img {
  width: clamp(64px, 8vw, 88px);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}
.footer .brand-txt b {
  color: #fff;
}
.footer .brand-txt span {
  color: var(--sky-300);
}
.footer-about p {
  margin-top: 1rem;
  font-size: 0.93rem;
  font-weight: 300;
  max-width: 34ch;
  color: var(--sky-200);
}
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 300;
}
.footer .fc-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  font-weight: 300;
}
.footer .fc-row svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--sky-300);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  font-weight: 300;
}
.footer-bottom .admin-link {
  opacity: 0.6;
}
.footer-bottom .admin-link:hover {
  opacity: 1;
}

/* back to top */
#btn-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 1040;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}
#btn-top:hover {
  background: var(--blue-700);
  transform: translateY(-3px);
}
#btn-top svg {
  width: 20px;
  height: 20px;
}

/* ================================================================
   reveal (scroll-driven fade in/out; visible for crawlers/no-JS)
   ================================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .reveal.d1 {
  transition-delay: 0.08s;
}
.js .reveal.d2 {
  transition-delay: 0.16s;
}
.js .reveal.d3 {
  transition-delay: 0.24s;
}
.js .reveal.d4 {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================================
   section lazy render
   ================================================================ */
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

/* ================================================================
   PAGE HERO (inner pages, light)
   ================================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbfe 0%, var(--steel-50) 100%);
  padding: clamp(136px, 18vh, 180px) 0 clamp(44px, 7vh, 70px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      122deg,
      rgba(15, 53, 104, 0.08) 0 16%,
      transparent 16% 100%
    ),
    radial-gradient(
      52% 56% at 86% 10%,
      rgba(30, 94, 184, 0.14),
      transparent 64%
    ),
    radial-gradient(
      42% 56% at 7% 96%,
      rgba(197, 214, 232, 0.82),
      transparent 72%
    );
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 0 54%,
      rgba(198, 32, 50, 0.08) 54% 56%,
      transparent 56% 100%
    ),
    linear-gradient(
      128deg,
      transparent 0 62%,
      rgba(15, 53, 104, 0.09) 62% 67%,
      transparent 67% 100%
    );
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0.9rem 0 0.6rem;
  text-wrap: balance;
}
.page-hero p {
  color: var(--body);
  font-weight: 300;
  max-width: 60ch;
  font-size: 1.08rem;
}
.crumbs {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.crumbs a {
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--blue-700);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  .nav-links,
  .nav-cta-desk {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .hero-spec {
    max-width: 460px;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-figure {
    order: -1;
  }
  .svc {
    grid-column: span 6;
  }
  .svc:first-child {
    grid-column: span 12;
  }
  .svc:first-child .svc-media {
    aspect-ratio: 16/10;
  }
  .scopes-wrap,
  .cta-inner,
  .contact-grid,
  .pd-hero {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .svc-list {
    grid-template-columns: 1fr;
  }
  .svc,
  .svc:first-child {
    grid-column: 1 / -1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
  }
  .hero-cta {
    flex-direction: column;
  }
}

/* ================================================================
   BACKEND-CONTENT ADDONS (scope legend, machine modal, clients, org)
   ================================================================ */
.svc-star {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 18px -12px rgba(198, 32, 50, 0.9);
}

a.client-panel {
  text-decoration: none;
  color: inherit;
}
.client-short {
  font-size: 0.78rem;
  color: var(--client-text);
  opacity: 0.72;
  line-height: 1.5;
  margin-top: -0.55rem;
}

.lg-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent);
}
.lg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lg-detail {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
  line-height: 1.5;
}

.banner-text .hero-cta {
  margin-top: 0.4rem;
}

.mcard-click {
  cursor: pointer;
}
.mch-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}
.mch-modal .btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  box-shadow: var(--shadow-sm);
}
.mch-modal .carousel-item {
  position: relative;
}
.mch-modal .carousel-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #eef2f7;
}
.mg-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.2rem 0.85rem;
  color: #fff;
  font-size: 0.88rem;
  background: linear-gradient(180deg, transparent, rgba(8, 31, 63, 0.8));
}
.mg-body {
  padding: 1.3rem 1.5rem 1.5rem;
}
.mg-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.2rem;
  color: var(--ink);
}
.mg-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.mg-body p {
  margin: 0;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.oc-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.45rem;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.pd-gallery figure {
  margin: 0;
}
.pd-gallery figcaption {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.map-ph.has-img {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}
.map-ph.has-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.map-ph-tag {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.map-ph.has-img .map-ph-tag svg {
  width: 18px;
  height: 18px;
  margin: 0;
  color: var(--coral);
}
