/* ==========================================================================
   CGM Global Supplies — homepage
   Tokens · base · layout · components · sections · utilities
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/case-studies/concepts/_assets/509d1928cdc61d964804de38.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 87.5% 112.5%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("/case-studies/concepts/_assets/7c3fa306d81fc860b2cc5831.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallback so the swap to Archivo doesn't shift the layout */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 88%;
  descent-override: 21%;
  line-gap-override: 0%;
}

:root {
  /* Brand */
  --orange: #ff6600;            /* "SUPPLIES LIMITED" in the logo */
  --orange-hover: #ff7c24;
  --orange-deep: #b84900;       /* orange text on light backgrounds (5.3:1) */
  --ink: #0a1220;               /* logo black, warmed into the navy */

  /* Night (dark sections, matched to the dusk photography) */
  --night: #0b1626;
  --night-2: #10203a;
  --night-3: #17304f;
  --mist: #a7b4c6;              /* secondary text on night (8.6:1) */
  --mist-2: #7d8da3;            /* tertiary text on night (5.4:1) */
  --line-dark: rgba(167, 180, 198, 0.16);

  /* Day (light sections) */
  --white: #ffffff;
  --paper: #f4f2ec;
  --paper-2: #e9e5db;
  --steel: #546274;             /* secondary text on light (6.2:1) */
  --line: #dde2e9;
  --manila: #efe4c9;            /* the parts tag */
  --manila-2: #e3d4ae;
  --manila-ink: #6b5a36;

  /* Type */
  --font-sans: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: clamp(2.55rem, 1.1rem + 3.9vw, 4.9rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.55vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.75rem;

  /* Space & shape */
  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1280px;
  --section: clamp(80px, 9vw, 136px);
  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 60px -20px rgba(4, 10, 20, 0.45), 0 12px 24px -12px rgba(4, 10, 20, 0.3);
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
summary { cursor: pointer; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--orange); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --- Layout -------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
@media (min-width: 1025px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 112px);
    align-items: end;
    max-width: none;
  }
  .section-head--split .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section-head--split > p:not(.eyebrow) { margin: 0 0 6px; }
}
.section-head h2 { font-size: var(--fs-h2); }
.section-head > p:not(.eyebrow) { margin-top: 20px; font-size: var(--fs-lead); color: var(--steel); max-width: 640px; }
.section-head--center > p:not(.eyebrow) { margin-inline: auto; }
.section--night .section-head > p:not(.eyebrow) { color: var(--mist); }

/* --- Type helpers -------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}
.section--night .eyebrow,
.hero .eyebrow,
.stakes .eyebrow,
.on-dark .eyebrow { color: var(--orange); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.accent { color: var(--orange-deep); }
.section--night .accent, .on-dark .accent { color: var(--orange); }

/* The swoosh: a tapered stroke after the ring in the CGM mark */
.swoosh { position: relative; white-space: nowrap; display: inline-block; }
.swoosh svg {
  position: absolute;
  left: -2%;
  bottom: -0.2em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
  fill: var(--orange);
}
.swoosh svg path {
  clip-path: inset(0 100% 0 0);
  animation: swoosh-draw 1.1s 0.5s var(--ease) forwards;
}
@keyframes swoosh-draw { to { clip-path: inset(0 0 0 0); } }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 1rem;
  font-stretch: 104%;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover { --btn-bg: var(--orange-hover); }
.btn:hover svg.icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { box-shadow: 0 10px 24px -10px rgba(255, 102, 0, 0.6); }
.btn--primary:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.38);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--dark:hover { --btn-bg: #1b2a40; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { gap: 12px; color: var(--orange-deep); }
.on-dark .text-link, .section--night .text-link { color: var(--white); }
.on-dark .text-link:hover, .section--night .text-link:hover { color: var(--orange); }

/* --- Utility bar --------------------------------------------------------- */

.utility {
  background: #060d18;
  color: var(--mist);
  font-size: 0.8125rem;
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.utility__iso { display: inline-flex; align-items: center; gap: 10px; }
.utility__iso::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.22);
}
.utility__links { display: flex; gap: 22px; list-style: none; }
.utility__links a { text-decoration: none; color: var(--white); }
.utility__links a:hover { color: var(--orange); }
.utility__links span { color: var(--mist-2); margin-right: 6px; }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(10, 18, 32, 0.35); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .container { height: 72px; }

.brand { display: block; flex: none; border-radius: 4px; }
.brand img {
  width: auto;
  height: 66px;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .brand img { height: 56px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-radius: 4px;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  text-align: right;
}
.header-phone small { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.header-phone strong { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.header-phone:hover strong { color: var(--orange-deep); }

.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; }

.menu-toggle .bar { transition: transform 0.3s var(--ease), opacity 0.2s; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .bar--1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar--2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar--3 { transform: translateY(-5px) rotate(-45deg); }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(39, 77, 128, 0.55) 0%, rgba(11, 22, 38, 0) 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(255, 102, 0, 0.08) 0%, rgba(11, 22, 38, 0) 70%),
    var(--night);
  color: var(--white);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  /* faint engineering grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 0%, transparent 75%);
  opacity: 0.45;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(56px, 7vw, 104px) clamp(64px, 7vw, 112px);
}

.hero__copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: var(--fs-display);
  font-stretch: 104%;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero h1 .line { display: block; }
.hero h1 .muted { color: #c9d3e0; }
.hero__lead {
  max-width: 580px;
  font-size: var(--fs-lead);
  color: var(--mist);
  margin-bottom: 36px;
}
.hero__lead strong { color: var(--white); font-weight: 600; }

/* Quick quote: a parts-search-style form */
.quick {
  max-width: 640px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.quick__fields { display: grid; grid-template-columns: 1.45fr 1fr auto; gap: 8px; }
.quick__field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
  padding: 8px 14px 6px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: text;
}
.quick__field:focus-within { box-shadow: 0 0 0 3px var(--orange); }
.quick__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.quick__field input {
  width: 100%;
  border: 0;
  padding: 2px 0 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
}
.quick__field input::placeholder { color: #8792a0; font-weight: 400; }
.quick .btn { min-height: 60px; padding-inline: 22px; border-radius: 8px; }
.quick__note {
  margin: 12px 6px 4px;
  font-size: 0.875rem;
  color: var(--mist);
}
.quick__note a { color: var(--white); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.quick__note a:hover { color: var(--orange); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 40px;
  list-style: none;
  color: var(--mist);
  font-size: 0.9rem;
}
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust strong { color: var(--white); font-weight: 700; }
.hero__trust .iso {
  width: 46px; height: 46px;
  border-radius: 4px;
  background: var(--white);
  padding: 2px;
}
.hero__trust svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* The globe: the CGM mark (globe + orbit ring) built out at hero scale */
.globe {
  position: relative;
  width: min(110%, 680px);
  aspect-ratio: 1;
  margin-right: -6%;
  justify-self: center;
}
.globe__photo {
  position: absolute;
  inset: 18.75%;            /* globe = 62.5% of the box, matching the SVG */
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.22);
  background: var(--night-2);
}
.globe__photo img { width: 100%; height: 100%; object-fit: cover; }
.globe__photo::after {
  /* night-side shading so the sphere reads as a sphere */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 25%, rgba(255, 255, 255, 0) 45%, rgba(6, 13, 24, 0.55) 100%);
}
.globe__orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.globe__orbit--back { z-index: 0; }
.globe__orbit--front { z-index: 2; }
.globe__ring-back { fill: rgba(255, 102, 0, 0.6); }
.globe__ring-front { fill: var(--orange); }
.globe__guide { fill: none; stroke: rgba(167, 180, 198, 0.22); stroke-width: 1; stroke-dasharray: 2 6; }
.globe__dot { fill: var(--white); }
.globe__dot-glow { fill: rgba(255, 255, 255, 0.25); }

.globe__tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(11, 22, 38, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--mist);
  white-space: nowrap;
}
.globe__tag strong { display: block; color: var(--white); font-size: 0.875rem; }
.globe__tag svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.globe__tag--a { top: 13%; left: 3%; }
.globe__tag--b { bottom: 11%; right: 7%; }

/* --- Proof strip --------------------------------------------------------- */

.proof { background: var(--white); border-bottom: 1px solid var(--line); }
.proof__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.proof__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 34px 28px 34px 0;
}
.proof__item + .proof__item { padding-left: 28px; border-left: 1px solid var(--line); }
.proof__figure {
  font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 800;
  font-stretch: 96%;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.proof__figure span { color: var(--orange-deep); }
.proof__text { font-size: 0.9375rem; line-height: 1.45; color: var(--steel); margin: 0; }
.proof__item img { width: 52px; height: 52px; flex: none; }

/* --- Stakes -------------------------------------------------------------- */

.stakes {
  position: relative;
  background: #02060c;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.stakes__media { position: absolute; inset: 0; z-index: -1; }
.stakes__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.stakes__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 12, 0.96) 0%, rgba(2, 6, 12, 0.85) 38%, rgba(2, 6, 12, 0.15) 70%, rgba(2, 6, 12, 0.35) 100%);
}
.stakes__inner { padding-block: clamp(96px, 11vw, 168px); }
.stakes__copy { max-width: 600px; }
.stakes h2 { font-size: var(--fs-h2); margin-bottom: 28px; }
.stakes p:not(.eyebrow):not(.oohours__label) { font-size: var(--fs-lead); color: var(--mist); }
.stakes__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 40px; list-style: none; }
.stakes__list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d5dde8;
}
.oohours {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(16, 32, 58, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 102, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 600px;
}
.oohours__label { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.oohours__label svg { width: 26px; height: 26px; color: var(--orange); flex: none; }
.oohours__label small { display: block; font-weight: 400; color: var(--mist); font-size: 0.875rem; }
.oohours__numbers { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.oohours__numbers a { font-weight: 700; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; }
.oohours__numbers a:hover { color: var(--orange); }

/* --- Sectors ------------------------------------------------------------- */

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.sector { display: flex; flex-direction: column; }
.sector__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
}
.sector__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.sector:hover .sector__media img { transform: scale(1.045); }
.sector__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 24, 0) 40%, rgba(6, 13, 24, 0.88) 100%);
}
.sector__head {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 26px;
  color: var(--white);
}
.sector__num { color: var(--orange); margin-bottom: 10px; display: block; }
.sector__head h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: 10px; }
.sector__head p { margin: 0; color: #dbe2ec; font-size: 0.98rem; line-height: 1.5; }
.sector__body { padding: 22px 4px 0; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.sector__label { color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--paper-2);
  font-size: 0.875rem;
  font-weight: 500;
}
.sector .text-link { margin-top: auto; align-self: flex-start; }

.sectors__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--paper-2);
}
.sectors__more p { margin: 0; font-size: 1.0625rem; }
.sectors__more strong { font-weight: 700; }

/* --- How it works -------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  list-style: none;
  counter-reset: step;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: calc(25% - 28px);
  height: 2px;
}
.steps::before { background: repeating-linear-gradient(90deg, #c3cad4 0 6px, transparent 6px 12px); }
.steps::after {
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.2s;
}
.steps.is-visible::after { transform: scaleX(1); }
.no-js .steps::after { transform: scaleX(1); }
.step { position: relative; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.steps.is-visible .step__num,
.no-js .step__num { background: var(--ink); color: var(--white); }
.steps.is-visible .step:nth-child(2) .step__num { transition-delay: 0.5s; }
.steps.is-visible .step:nth-child(3) .step__num { transition-delay: 1s; }
.steps.is-visible .step:nth-child(4) .step__num { transition-delay: 1.5s; background: var(--orange); color: var(--ink); box-shadow: none; }
.step h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.step p { color: var(--steel); margin: 0; }
.step__detail {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange-deep);
}

.steps-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.steps-cta p { margin: 0; color: var(--steel); }
.steps-cta a, .faq__intro p a {
  white-space: nowrap;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.steps-cta a:hover, .faq__intro p a:hover { color: var(--orange-deep); }

/* --- Why CGM: the four Ps on nameplates ---------------------------------- */

.why { overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  width: 1100px; height: 300px;
  right: -380px; top: 80px;
  border: 1px solid rgba(255, 102, 0, 0.22);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
}
.plates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  list-style: none;
}
.plate {
  --rivet: radial-gradient(circle, #33496a 0 2.5px, #0b1626 3px, transparent 3.5px);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 28px 30px;
  border-radius: 10px;
  background:
    var(--rivet) 12px 12px / 12px 12px no-repeat,
    var(--rivet) calc(100% - 12px) 12px / 12px 12px no-repeat,
    var(--rivet) 12px calc(100% - 12px) / 12px 12px no-repeat,
    var(--rivet) calc(100% - 12px) calc(100% - 12px) / 12px 12px no-repeat,
    linear-gradient(160deg, #182f4f 0%, #10213a 55%, #0d1b30 100%);
  box-shadow: inset 0 0 0 1px rgba(167, 180, 198, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 50px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.plate:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 102, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 60px -30px rgba(0, 0, 0, 0.8); }
.plate__id {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px dashed rgba(167, 180, 198, 0.25);
  color: var(--mist-2);
}
.plate__id b { color: var(--orange); font-weight: 400; }
.plate h3 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem); margin-bottom: 14px; }
.plate h3 em { font-style: normal; color: var(--orange); }
.plate p { color: var(--mist); margin: 0; font-size: 0.98rem; }

.why__extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(14px, 1.6vw, 22px);
}
.why__card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.why__card svg { width: 34px; height: 34px; color: var(--orange); flex: none; }
.why__card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.why__card p { margin: 0; color: var(--mist); font-size: 0.98rem; }

/* --- The shorter chain --------------------------------------------------- */

.chain__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.chain__copy h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
.chain__copy > p:not(.eyebrow) { color: var(--steel); font-size: 1.0625rem; }
.chain__quote {
  margin: 32px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--orange);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.45;
}
.chain__quote cite { display: block; margin-top: 10px; font-style: normal; color: var(--steel); }

.route {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.route + .route { margin-top: 16px; }
.route--cgm { background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); }
.route__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.route__title .mono { color: var(--steel); }
.route--cgm .route__title .mono { color: var(--orange); }
.route__title b { font-size: 0.875rem; font-weight: 600; color: var(--steel); }
.route--cgm .route__title b { color: var(--mist); }
.route__nodes { display: flex; align-items: center; list-style: none; }
.route__node {
  flex: none;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.route__node small { display: block; font-weight: 400; color: var(--steel); font-size: 0.75rem; }
.route--cgm .route__node { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.route--cgm .route__node small { color: var(--mist); }
.route__node--cgm { background: var(--orange) !important; color: var(--ink); box-shadow: none !important; font-weight: 800; letter-spacing: 0.02em; }
.route__node--site { background: var(--white) !important; color: var(--ink); }
.route__link {
  position: relative;
  flex: 1;
  min-width: 14px;
  height: 2px;
  margin: 0 4px;
  background: repeating-linear-gradient(90deg, #b9c1cc 0 4px, transparent 4px 8px);
}
.route__link span {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: #b0412e;
  white-space: nowrap;
}
.route--cgm .route__link { height: 3px; background: var(--orange); }
.route__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; list-style: none; font-size: 0.875rem; color: var(--steel); }
.route--cgm .route__foot { color: var(--mist); }
.route__foot li { display: flex; align-items: center; gap: 8px; }
.route__foot svg { width: 16px; height: 16px; color: var(--orange); }

/* --- Coverage map -------------------------------------------------------- */

.coverage { overflow: hidden; }
.coverage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.coverage__copy h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
.coverage__copy > p:not(.eyebrow):not(.hq) { color: var(--mist); font-size: 1.0625rem; }
.regions { margin: 32px 0; list-style: none; border-top: 1px solid var(--line-dark); }
.regions li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.regions b { font-size: 1.125rem; font-weight: 700; }
.regions span { color: var(--mist-2); text-align: right; }
.regions .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-right: 12px; vertical-align: 2px; }
.regions .dot--hollow { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mist); }
.regions .dot--white { background: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.hq {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--mist);
}
.hq svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }
.hq strong { color: var(--white); }

.map { position: relative; width: 112%; margin: 0 -12% 0 0; aspect-ratio: 1000 / 419; }
.map > img, .map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map > img { opacity: 0.55; }
.map__route {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.js .map__route {
  stroke-dasharray: var(--len, 400) var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  transition: stroke-dashoffset 1.6s var(--ease) var(--d, 0s);
}
.js .map.is-visible .map__route { stroke-dashoffset: 0; }
.map__supply {
  fill: none;
  stroke: var(--mist);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0.55;
}
.js .map__supply { opacity: 0; transition: opacity 1s 1.2s; }
.js .map.is-visible .map__supply { opacity: 0.55; }
.map__node { fill: var(--orange); }
.map__node-ring { fill: none; stroke: var(--orange); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.map__supplier { fill: var(--night); stroke: var(--mist); stroke-width: 1.2; }
.map__origin { fill: var(--white); }
.map__origin-ring { fill: none; stroke: var(--white); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.map__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  fill: var(--mist);
  text-transform: uppercase;
  paint-order: stroke;
  stroke: var(--night);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map__label--origin { fill: var(--white); font-size: 12.5px; }
.map__label--region { fill: #e3e9f1; font-size: 13px; letter-spacing: 0.2em; }
@keyframes ping {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* --- About --------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5.5vw, 96px);
  align-items: center;
}
.about__media { position: relative; }
.about__media picture img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dataplate {
  position: absolute;
  right: clamp(-24px, -2vw, -12px);
  bottom: 28px;
  width: min(330px, 86%);
  padding: 22px 22px 18px;
  border-radius: 10px;
  background:
    radial-gradient(circle, #b9b2a1 0 2px, transparent 2.5px) 10px 10px / 10px 10px no-repeat,
    radial-gradient(circle, #b9b2a1 0 2px, transparent 2.5px) calc(100% - 10px) 10px / 10px 10px no-repeat,
    radial-gradient(circle, #b9b2a1 0 2px, transparent 2.5px) 10px calc(100% - 10px) / 10px 10px no-repeat,
    radial-gradient(circle, #b9b2a1 0 2px, transparent 2.5px) calc(100% - 10px) calc(100% - 10px) / 10px 10px no-repeat,
    linear-gradient(160deg, #fbfaf7, #efece4);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(10, 18, 32, 0.08);
}
.dataplate__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1.5px solid var(--ink);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dataplate__title span { color: var(--orange-deep); }
.dataplate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.dataplate dt, .dataplate dd { margin: 0; padding: 7px 0; border-bottom: 1px dashed #cfc9bb; font-size: 0.8125rem; }
.dataplate dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); padding-right: 16px; align-self: center; }
.dataplate dd { font-weight: 600; text-align: right; }
.dataplate dl > :nth-last-child(-n + 2) { border-bottom: 0; }

.about__copy h2 { font-size: var(--fs-h2); margin-bottom: 26px; }
.about__copy > p:not(.eyebrow) { color: var(--steel); font-size: 1.0625rem; }
.about__copy > p.lead { color: var(--ink); font-size: var(--fs-lead); font-weight: 500; }
.signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.signature__line { font-size: 1.5rem; font-weight: 800; font-stretch: 106%; letter-spacing: -0.02em; }
.signature__line span { color: var(--orange-deep); }
.signature small { display: block; color: var(--steel); font-size: 0.875rem; }
.iso-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.iso-card img { width: 72px; height: 72px; border-radius: 4px; flex: none; }
.iso-card p { margin: 0; font-size: 0.9375rem; color: var(--steel); }
.iso-card strong { color: var(--ink); }

/* --- FAQs ---------------------------------------------------------------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro h2 { font-size: var(--fs-h2); margin-bottom: 22px; }
.faq__intro p:not(.eyebrow) { color: var(--steel); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--orange-deep); }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--orange); box-shadow: none; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 64px 26px 0; color: var(--steel); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* --- RFQ / contact ------------------------------------------------------- */

.rfq { overflow: hidden; }
.rfq::before {
  content: "";
  position: absolute;
  width: 1300px; height: 360px;
  left: -520px; bottom: -40px;
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
}
.rfq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "copy tag" "contact tag";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.rfq__copy { grid-area: copy; }
.rfq .tag { grid-area: tag; }
.rfq__contact { grid-area: contact; }
.rfq__copy h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
.rfq__copy > p:not(.eyebrow) { color: var(--mist); font-size: var(--fs-lead); }
.assure { margin: 32px 0 40px; list-style: none; display: grid; gap: 14px; }
.assure li { display: flex; gap: 14px; align-items: flex-start; color: #d5dde8; }
.assure svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}
a.contact-card:hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 102, 0, 0.55); }
.contact-card svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.contact-card small { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist-2); }
.contact-card strong { display: block; font-size: 1.0625rem; font-weight: 700; }
.contact-card span { color: var(--mist); font-size: 0.9375rem; line-height: 1.5; }
.contact-card .numbers { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.contact-card .numbers a { text-decoration: none; font-weight: 700; color: var(--white); }
.contact-card .numbers a:hover { color: var(--orange); }

/* The parts tag */
.tag {
  position: relative;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85);
}
.tag__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px 22px 92px;
  border-radius: 16px 16px 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(107, 90, 54, 0.05) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, var(--manila), var(--manila-2));
  border-bottom: 2px dashed rgba(107, 90, 54, 0.35);
}
.tag__eyelet {
  position: absolute;
  left: 30px; top: 50%;
  width: 36px; height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 6px #c9b88f, 0 0 0 7px rgba(107, 90, 54, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.tag__string {
  position: absolute;
  left: -64px; top: 4px;
  width: 112px; height: 80px;
  overflow: visible;
  pointer-events: none;
}
.tag__string path { fill: none; stroke: #c9b88f; stroke-width: 2.5; stroke-linecap: round; }
.tag__title { font-weight: 800; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tag__title small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--manila-ink); }
.tag__ref { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--manila-ink); text-align: right; }

.form { padding: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 0.875rem;
  font-weight: 600;
}
.field label .req, .field legend .req { color: var(--orange-deep); }
.field .hint { font-size: 0.8125rem; color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #cdd4dd;
  border-radius: 8px;
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a1220' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa5b3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.45);
}
.field input::placeholder, .field textarea::placeholder { color: #8792a0; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #c0392b; }
.field__error { display: none; font-size: 0.8125rem; color: #b42318; font-weight: 600; }
.field.is-invalid .field__error { display: block; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.urgency { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.urgency label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1.5px solid #cdd4dd;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.urgency label small { font-weight: 400; color: var(--steel); font-size: 0.8125rem; }
.urgency input { position: absolute; opacity: 0; pointer-events: none; }
.urgency label:hover { border-color: #9aa5b3; }
.urgency input:checked + span { color: var(--ink); }
.urgency label:has(input:checked) { border-color: var(--ink); background: #fff6ef; box-shadow: inset 0 0 0 1px var(--ink); }
.urgency label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.45); }
.urgency label:has(input[value^="Critical"]:checked) { border-color: #c2410c; background: #fff1e8; box-shadow: inset 0 0 0 1px #c2410c; }

.file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px dashed #b8c1cd;
  border-radius: 10px;
  background: #f8f9fb;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.file:hover, .file.is-dragover { border-color: var(--orange); background: #fff8f2; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file svg { width: 26px; height: 26px; color: var(--orange-deep); flex: none; }
.file__text { font-size: 0.9375rem; line-height: 1.4; }
.file__text strong { display: block; }
.file__text span { color: var(--steel); font-size: 0.8125rem; }
.file:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.45); }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form__foot p { margin: 0; font-size: 0.8125rem; color: var(--steel); max-width: 330px; }
.form__foot a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Footer -------------------------------------------------------------- */

.site-footer { background: #060d18; color: var(--mist); font-size: 0.9375rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding-block: clamp(64px, 7vw, 96px) 48px;
}
.footer__brand img.logo-plate {
  width: 116px;
  height: auto;
  padding: 14px;
  border-radius: 10px;
  background: var(--white);
  box-sizing: content-box;
}
.footer__brand p { margin-top: 22px; max-width: 320px; }
.footer__brand .line { color: var(--white); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; margin-top: 24px; margin-bottom: 6px; }
.footer__brand .line span { color: var(--orange); }
.footer__col h2 {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-2);
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { color: var(--white); text-decoration: none; }
.footer__col a:hover { color: var(--orange); }
.footer__col address { line-height: 1.6; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--mist-2);
}
.footer__legal p { margin: 0; max-width: 780px; }
.footer__legal a { color: var(--mist); }
.footer__legal img { width: 64px; height: 64px; border-radius: 4px; }
.footer__badges { display: flex; align-items: center; gap: 16px; }

/* --- Mobile action bar --------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 10px; right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(10, 18, 32, 0.94);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.action-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}
.action-bar a.is-primary { background: var(--orange); color: var(--ink); }
.action-bar svg { width: 18px; height: 18px; }

/* --- Mobile menu --------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--night);
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease); }
.mobile-menu ul { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-menu li a span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--orange); letter-spacing: 0.1em; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu__foot p { margin: 8px 0 0; color: var(--mist); font-size: 0.9375rem; }
.mobile-menu__foot p a { color: var(--white); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--white); }

/* --- Inner pages (thank you, privacy, 404) ------------------------------- */

.page-hero {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(39, 77, 128, 0.5) 0%, rgba(11, 22, 38, 0) 70%),
    var(--night);
  color: var(--white);
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero::after {
  content: "";
  position: absolute;
  width: 900px; height: 240px;
  right: -260px; top: 40px;
  border: 1.5px solid rgba(255, 102, 0, 0.4);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); font-stretch: 104%; letter-spacing: -0.03em; max-width: 820px; }
.page-hero p:not(.eyebrow) { margin-top: 22px; max-width: 640px; font-size: var(--fs-lead); color: var(--mist); }
.page-hero .btn { margin-top: 36px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.page-hero__actions .btn { margin-top: 0; }

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
  counter-reset: next;
}
.next-steps li {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.next-steps .step__num { width: 48px; height: 48px; margin-bottom: 20px; background: var(--ink); color: var(--white); }
.next-steps h2 { font-size: 1.3rem; margin-bottom: 10px; }
.next-steps p { margin: 0; color: var(--steel); }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}
.callout p { margin: 0; color: var(--mist); }
.callout strong { color: var(--white); }
.callout a { color: var(--white); font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.callout a:hover { color: var(--orange); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3b4757; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a[href^="tel:"] { white-space: nowrap; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.prose .updated { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--steel); }

.simple-footer {
  padding-block: 32px;
  background: #060d18;
  color: var(--mist-2);
  font-size: 0.8125rem;
}
.simple-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.simple-footer a { color: var(--mist); }
.simple-footer p { margin: 0; }

@media (max-width: 860px) {
  .next-steps { grid-template-columns: 1fr; }
}

/* --- Reveal on scroll ---------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav__list a { padding-inline: 9px; font-size: 0.9rem; }
  .header-phone { display: none; }
  .plates { grid-template-columns: repeat(2, 1fr); }
  .proof__list { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .utility { display: none; }
  .nav, .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; gap: 8px; }
  .icon-btn { display: inline-flex; }
  .brand img { height: 56px; }
  .site-header.is-scrolled .container { height: 64px; }
  .site-header.is-scrolled .brand img { height: 50px; }

  .hero__inner { grid-template-columns: 1fr; padding-block: 48px 72px; }
  .globe { width: min(100%, 540px); margin: 8px auto 0; }
  .map { width: 100%; margin: 0; }
  .hero__copy { max-width: 720px; }

  .sectors__grid { grid-template-columns: 1fr; gap: 48px; }
  .sector { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
  .sector__body { padding: 0 0 8px; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }

  .chain__grid, .coverage__grid, .about__grid, .faq__grid, .rfq__grid { grid-template-columns: 1fr; }
  .rfq__grid { grid-template-areas: "copy" "tag" "contact"; row-gap: 40px; }
  .rfq .assure { margin-bottom: 0; }
  .faq__intro { position: static; }
  .about__media { max-width: 560px; }
  .dataplate { right: 12px; }
  .action-bar { display: grid; }
  body { padding-bottom: 84px; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 46px; }
  .site-header .container { gap: 12px; }

  .hero h1 { letter-spacing: -0.035em; }
  .quick__fields { grid-template-columns: 1fr; }
  .quick .btn { width: 100%; }
  .globe__tag { font-size: 0.75rem; padding: 8px 10px; }
  .globe__tag strong { font-size: 0.8125rem; }
  .globe__tag--a { top: 4%; }
  .globe__tag--b { bottom: 2%; }

  .proof__list { grid-template-columns: 1fr; }
  .proof__item, .proof__item + .proof__item { padding: 22px 0; border-left: 0; }
  .proof__item + .proof__item { border-top: 1px solid var(--line); }

  .stakes__media { bottom: auto; height: 360px; }
  .stakes__media img { object-position: 64% 40%; }
  .stakes__media::after { background: linear-gradient(180deg, rgba(2, 6, 12, 0.1) 0%, rgba(2, 6, 12, 0.35) 55%, #02060c 100%); }
  .stakes__inner { padding-top: 300px; }

  .sector { display: flex; }
  .sector__body { padding: 18px 2px 0; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step__num { grid-row: span 3; margin: 0; }
  .plates, .why__extra { grid-template-columns: 1fr; }
  .why__card { flex-direction: column; gap: 14px; }

  .route { padding: 20px 16px; }
  .route__nodes { flex-direction: column; align-items: stretch; }
  .route__link { width: 2px; height: 26px; min-width: 0; margin: 4px auto; flex: none; background: repeating-linear-gradient(180deg, #b9c1cc 0 4px, transparent 4px 8px); }
  .route__link span { left: 14px; bottom: 50%; transform: translateY(50%); }
  .route--cgm .route__link { width: 3px; height: 34px; background: var(--orange); }
  .route__title { flex-direction: column; gap: 4px; }

  .map { width: 190%; margin-left: -76%; }
  .regions li { flex-direction: column; gap: 2px; }
  .regions span { text-align: left; }

  .dataplate { position: relative; right: auto; bottom: auto; width: auto; margin: -64px 16px 0; }
  .faq__item summary { font-size: 1.0625rem; padding: 20px 0; }
  .faq__answer { padding-right: 0; }

  .form { padding: 22px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .urgency { grid-template-columns: 1fr; }
  .tag__head { padding: 18px 18px 18px 78px; }
  .tag__eyelet { left: 24px; width: 30px; height: 30px; margin-top: -15px; }
  .tag__string { display: none; }
  .tag__ref { display: none; }
  .form__foot .btn { width: 100%; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 400px) {
  .action-bar { grid-template-columns: 1fr 1fr 1.25fr; }
  .action-bar a { font-size: 0.875rem; gap: 6px; }
}

/* --- Motion & no-JS ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .swoosh svg path { clip-path: none; }
}

.no-js .nav { display: block; }
.no-js .menu-toggle { display: none; }

@media print {
  .utility, .site-header, .action-bar, .mobile-menu, .quick, .tag, .globe { display: none !important; }
  .section--night, .hero, .stakes { background: #fff !important; color: #000 !important; }
}
