/* ============================================================
   KedarHub — navy/gold cinematic landing
   Inspired by sui.io + aircenter.space motion language
   ============================================================ */

:root {
  --navy-deep: #071120;
  --navy: #0A1A2F;
  --navy-soft: #0E2036;
  --navy-line: #16304C;
  --gold: #C9A227;
  --gold-bright: #E3BE45;
  --ink: #E9EDF3;
  --ink-dim: #8FA0B5;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
  --header-bg: #F4F1E8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--navy-deep); }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain 6s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-2%,3%); }
  50% { transform: translate(3%,-2%); }
  75% { transform: translate(-3%,-3%); }
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.h-xl {
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.h-lg {
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.h-md {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gold { color: var(--gold); }
.dim { color: var(--ink-dim); }

.mono-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

section { position: relative; }

/* ---------- split-text mechanics ---------- */

.split .w {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split .c {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.split.is-in .c {
  transform: translateY(0);
  transition: transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

/* scroll-scrubbed word fill (aircenter style) */
.scrub-text {
  font-size: clamp(21px, 2.7vw, 34px);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.scrub-text .sw {
  color: var(--ink);
  opacity: 0.14;
  transition: opacity 0.35s linear;
}
.scrub-text .sw.lit { opacity: 1; }
.scrub-text .sw.lit.accent { color: var(--gold); }

/* generic reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  background: rgba(244, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 26, 47, 0.10);
}
.nav.is-solid {
  background: rgba(244, 241, 232, 0.97);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(10, 26, 47, 0.14);
  box-shadow: 0 6px 26px rgba(7, 17, 32, 0.12);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav-inner {
  width: min(1360px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 17px;
}
.brand svg { display: block; }
.brand .tld { color: var(--gold); }
.brand-mark {
  height: 34px;
  width: auto;
  display: block;
}
/* header uses the full lockup (icon + wordmark baked in) */
.brand-logo {
  height: 62px;
  width: auto;
  display: block;
}
/* footer uses the full lockup (icon + wordmark baked in) */
.brand-footer { gap: 0; }
.brand-full {
  height: auto;
  width: clamp(116px, 12vw, 148px);
  display: block;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #33475C;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--navy-deep); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--navy-deep); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-2px); }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  position: relative;
  z-index: 210;
}
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--navy-deep);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, background 0.3s ease;
}
.menu-open .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 24px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* fullscreen menu overlay */
.menu {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0% 0); visibility: visible; }
.menu a {
  font-size: clamp(34px, 8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 10px 0;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 18px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.menu-open .menu a { opacity: 1; transform: none; transition-delay: var(--d); }
.menu a small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}
.menu a.active { color: var(--gold); }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 64px;
  overflow: clip;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-zoom 24s ease-out both;
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,17,32,0.55) 0%, rgba(7,17,32,0.18) 40%, rgba(7,17,32,0.88) 100%),
    linear-gradient(90deg, rgba(7,17,32,0.5) 0%, transparent 55%);
}

.hero-coords {
  position: absolute;
  top: calc(var(--nav-h) + 28px);
  right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fade-in 1.2s ease 1.4s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

.hero-eyebrow {
  opacity: 0;
  animation: fade-in 1s ease 0.9s forwards;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
}

.hero-sub {
  margin-top: 28px;
  max-width: 640px;
  color: var(--ink-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  opacity: 0;
  animation: rise-in 1s var(--ease-out) 1.15s forwards;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  opacity: 0;
  animation: rise-in 1s var(--ease-out) 1.35s forwards;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 17px 32px;
  border-radius: 2px;
  position: relative;
  overflow: clip;
  transition: transform 0.35s var(--ease-out);
}
.btn-gold::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold-bright);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}
.btn-gold span { position: relative; z-index: 1; }
.btn-gold:hover::before { transform: translateX(0); }
.btn-gold:hover { transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(233,237,243,0.35);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 17px 32px;
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease-out);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
  transform: translateY(-2px);
}
.btn-ghost .arr { transition: transform 0.35s var(--ease-out); }
.btn-ghost:hover .arr { transform: translateX(5px); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1s ease 2s forwards;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--navy-line);
  background: var(--navy);
  overflow: clip;
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}
.ticker-item b { color: var(--ink); font-weight: 500; }
.ticker-item::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

/* ---------- statement ---------- */

.statement {
  padding: clamp(120px, 16vh, 200px) 0;
}
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.statement-title {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 32px;
}
.statement .scrub-text.statement-body {
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 52ch;
}

/* ---- statement visual (interlocking-rings schematic) ---- */
.statement-visual {
  position: relative;
  margin: 0;
}
.statement-visual svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.sv-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: var(--ink-dim);
  text-transform: uppercase;
}
.sv-label.hot { fill: var(--gold); font-size: 12px; }
.sv-dim {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  fill: var(--gold);
  text-transform: uppercase;
}
.sv-spin-cw, .sv-spin-ccw, .sv-spin-cw-slow {
  transform-box: fill-box;
  transform-origin: center;
}
.sv-spin-cw { animation: sv-spin 48s linear infinite; }
.sv-spin-ccw { animation: sv-spin 54s linear infinite reverse; }
.sv-spin-cw-slow { animation: sv-spin 90s linear infinite; }
@keyframes sv-spin { to { transform: rotate(360deg); } }
.sv-pulse { animation: sv-pulse 2.6s ease-in-out infinite; }
@keyframes sv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ---------- agent model + route ---------- */

.model {
  padding: clamp(90px, 12vh, 160px) 0;
  background: var(--navy);
  border-block: 1px solid var(--navy-line);
}
.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.model-copy p {
  color: var(--ink-dim);
  margin-top: 20px;
  max-width: 42ch;
}
.model-points {
  margin-top: 36px;
  display: grid;
  gap: 0;
}
.model-points div {
  padding: 18px 0;
  border-top: 1px solid var(--navy-line);
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.model-points div:last-child { border-bottom: 1px solid var(--navy-line); }
.model-points .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}

.route-figure { position: relative; }
.route-figure svg { width: 100%; height: auto; display: block; }
.route-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  fill: var(--ink-dim);
  text-transform: uppercase;
}
.route-label.hot { fill: var(--gold); }

/* ---------- process ---------- */

.process { padding: clamp(100px, 14vh, 180px) 0; }
.process-head { margin-bottom: clamp(56px, 8vh, 96px); }
.process-head .h-lg { max-width: 16ch; }

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 7vh, 88px) 0;
  border-top: 1px solid var(--navy-line);
}
.step:nth-child(even) .step-media { order: -1; }

.step-num {
  font-family: var(--mono);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.85;
}
.step h3 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step p {
  margin-top: 16px;
  color: var(--ink-dim);
  max-width: 44ch;
}
.step-media {
  overflow: clip;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  position: relative;
}
.step-media img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.step-media .tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(7,17,32,0.72);
  backdrop-filter: blur(6px);
  padding: 7px 12px;
  border-radius: 2px;
  border: 1px solid rgba(201,162,39,0.35);
}

/* ---------- markets rail ---------- */

.markets {
  padding: clamp(100px, 14vh, 180px) 0;
  background: var(--navy);
  border-block: 1px solid var(--navy-line);
  overflow: clip;
}
.markets-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.markets-head .hint {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  margin-right: calc((100vw - min(1240px, 100vw - 48px)) / -2);
  padding-right: 48px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy-soft);
  cursor: grab;
}
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-track { background: var(--navy-soft); }
.rail::-webkit-scrollbar-thumb { background: var(--gold); }

.m-card {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
}
.m-card figure {
  overflow: clip;
  border-radius: 4px;
  aspect-ratio: 3 / 4.4;
  position: relative;
}
.m-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.8s ease;
  filter: saturate(0.92);
}
.m-card:hover img { transform: scale(1.06); filter: saturate(1.1); }
.m-card figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,17,32,0.8));
  pointer-events: none;
}
.m-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--navy-line);
  padding-top: 14px;
}
.m-meta h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.m-meta span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- trust ---------- */

.trust { padding: clamp(100px, 14vh, 180px) 0; }
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
}
.trust-copy .h-lg { max-width: 14ch; }
.trust-copy > p {
  margin-top: 24px;
  color: var(--ink-dim);
  max-width: 46ch;
}

.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--navy-line);
}
.stat { padding: 24px 18px 0 0; }
.stat .v {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat .v sup { font-size: 0.5em; }
.stat .l {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.trust-list { margin-top: 44px; display: grid; gap: 0; }
.trust-list div {
  border-top: 1px solid var(--navy-line);
  padding: 20px 0;
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.trust-list div:last-child { border-bottom: 1px solid var(--navy-line); }
.trust-list .tick { color: var(--gold); font-family: var(--mono); }
.trust-list p { color: var(--ink-dim); font-size: 15.5px; }
.trust-list b { color: var(--ink); font-weight: 500; display: block; font-size: 17px; }

.trust-media {
  position: relative;
  overflow: clip;
  border-radius: 4px;
  min-height: 480px;
}
.trust-media img {
  position: absolute; inset: 0;
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.trust-media .flag-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 8px 14px;
  border-radius: 2px;
  font-weight: 600;
}

/* ---------- final CTA ---------- */

.cta {
  min-height: 88svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: clip;
  padding: 120px 0;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(7,17,32,0.45) 0%, rgba(7,17,32,0.9) 100%);
}
.cta .h-xl { max-width: 14ch; margin-inline: auto; }
.cta p {
  margin-top: 24px;
  color: var(--ink-dim);
  max-width: 42ch;
  margin-inline: auto;
}
.cta .btn-gold { margin-top: 44px; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid rgba(10, 26, 47, 0.12);
  background: var(--header-bg);
  padding: 72px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
}
.foot-brand p {
  margin-top: 18px;
  color: #4A5A6E;
  max-width: 30ch;
  font-size: 15px;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9A7817;
  margin-bottom: 20px;
  font-weight: 500;
}
.foot-col a {
  display: block;
  padding: 7px 0;
  color: #4A5A6E;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}
.foot-col a:hover { color: var(--navy-deep); transform: translateX(6px); }

.foot-bar {
  border-top: 1px solid rgba(10, 26, 47, 0.12);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5A6675;
}

/* ---------- interior pages ---------- */

.page-hero {
  padding: calc(var(--nav-h) + clamp(72px, 12vh, 140px)) 0 clamp(56px, 8vh, 96px);
  border-bottom: 1px solid var(--navy-line);
}
.page-hero .crumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}
.page-hero p {
  margin-top: 24px;
  color: var(--ink-dim);
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 19px);
}

.page-body { padding: clamp(72px, 10vh, 120px) 0; }
.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.page-split .media {
  overflow: clip;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
}
.page-split .media img { width: 100%; height: 100%; object-fit: cover; }
.page-split .copy p { color: var(--ink-dim); margin-top: 18px; max-width: 46ch; }
.page-split .copy .btn-gold { margin-top: 36px; }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--navy-line);
  padding: 9px 16px;
  border-radius: 999px;
}
.soon::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* contact form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
}
.contact-info p { color: var(--ink-dim); margin-top: 18px; max-width: 38ch; }
.contact-info .mono-tag { display: block; margin-top: 36px; color: var(--gold); }
.contact-info .big-mail {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.contact-info .big-mail:hover { color: var(--gold); }

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--navy-soft);
  border: 1px solid var(--navy-line);
  border-radius: 2px;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  transition: border-color 0.3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 140px; resize: vertical; }

/* honeypot — invisible to humans, catches bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

#form-status { transition: color 0.3s ease; }
#form-status.is-error { color: #E0645A; }
#form-status.is-success { color: var(--gold); }

/* ============================================================
   REDESIGN — representative model sections
   ============================================================ */

/* ---- light-themed section ---- */
.section-light {
  background: var(--header-bg);
  color: var(--navy-deep);
}
.section-light .eyebrow { color: #9A7817; }
.section-light .eyebrow::before { background: #9A7817; }
.section-light .h-lg,
.section-light .h-md,
.section-light .h-xl { color: var(--navy-deep); }
.section-light .sec-intro,
.section-light p { color: #46586C; }

/* section header block */
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vh, 80px);
}
.sec-head .h-lg { max-width: 18ch; }
.sec-intro {
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 54ch;
}

/* ---- products grid (light) ---- */
.products { padding: clamp(90px, 13vh, 160px) 0; }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(10, 26, 47, 0.12);
  border: 1px solid rgba(10, 26, 47, 0.12);
}
.prod-card {
  background: var(--header-bg);
  padding: 34px 28px 40px;
  transition: background 0.4s ease;
}
.prod-card:hover { background: #EFEADC; }
.prod-icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 3px;
  margin-bottom: 22px;
}
.prod-icon svg { width: 30px; height: 30px; }
.prod-card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.prod-card p { font-size: 14.5px; line-height: 1.55; color: #566579; }
.prod-note {
  margin-top: 40px;
  font-size: 15.5px;
  color: #46586C;
}
.prod-note a {
  color: #9A7817;
  border-bottom: 1px solid rgba(154, 120, 23, 0.5);
  padding-bottom: 2px;
  transition: color 0.3s ease;
}
.prod-note a:hover { color: var(--navy-deep); }

/* ---- industries (dark) ---- */
.industries {
  padding: clamp(90px, 13vh, 160px) 0;
  background: var(--navy);
  border-block: 1px solid var(--navy-line);
}
.ind-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
}
.ind-grid li {
  background: var(--navy);
  padding: 26px 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.4s ease, color 0.4s ease;
}
.ind-grid li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
  transition: transform 0.4s var(--ease-out);
}
.ind-grid li:hover { background: var(--navy-soft); }
.ind-grid li:hover::before { transform: scale(1.6); }

/* ---- value props (light) ---- */
.valueprops { padding: clamp(90px, 13vh, 160px) 0; }
.vp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.vp-card {
  border-top: 2px solid rgba(201, 162, 39, 0.55);
  padding-top: 24px;
}
.vp-n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #9A7817;
}
.vp-card h3 {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}
.vp-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #46586C;
}

/* ---- quality & certifications (dark) ---- */
.quality {
  padding: clamp(90px, 13vh, 160px) 0;
}
.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.quality-copy .h-lg { max-width: 14ch; }
.quality-copy > p {
  margin-top: 22px;
  color: var(--ink-dim);
  max-width: 46ch;
}
.quality-list { margin-top: 36px; display: grid; }
.quality-list div {
  border-top: 1px solid var(--navy-line);
  padding: 18px 0;
  display: flex;
  gap: 14px;
  align-items: center;
}
.quality-list div:last-child { border-bottom: 1px solid var(--navy-line); }
.quality-list .tick { color: var(--gold); font-family: var(--mono); }
.quality-list p { color: var(--ink); font-size: 15.5px; }

.cert-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.badge {
  aspect-ratio: 1.4 / 1;
  border: 1px solid var(--navy-line);
  border-radius: 4px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out);
}
.badge:hover { border-color: var(--gold); transform: translateY(-4px); }
.badge-mark {
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.badge-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.foot-static {
  display: block;
  padding: 7px 0;
  color: #4A5A6E;
  font-size: 15px;
}

/* social icons */
.social { display: flex; gap: 10px; }
.social a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-line);
  border-radius: 4px;
  color: var(--ink);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out);
}
.social a:hover { color: var(--gold); border-color: var(--gold); background: rgba(201,162,39,0.08); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
footer .social { margin-top: 16px; }
footer .social a { background: var(--navy); border-color: var(--navy); color: var(--header-bg); }
footer .social a:hover { background: var(--navy-line); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.contact-info .social { margin-top: 8px; }

/* ============================================================
   QUALITY PAGE
   ============================================================ */

.quality-hero .qh-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
  border-top: 1px solid var(--navy-line);
}
.quality-hero .qh-stats > div { padding: 24px 18px 0 0; }
.quality-hero .qh-stats .v {
  display: block;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.quality-hero .qh-stats .v small { font-size: 0.5em; }
.quality-hero .qh-stats .l {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* certifications */
.certs-sec { padding: clamp(90px, 13vh, 160px) 0; }
.cert-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(10, 26, 47, 0.12);
  border: 1px solid rgba(10, 26, 47, 0.12);
}
.cert-card {
  background: var(--header-bg);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cert-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px; height: 74px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: #9A7817;
  text-align: center;
}
.cert-badge b { color: var(--navy-deep); font-weight: 600; font-size: 15px; }
.cert-card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.cert-card p { font-size: 14.5px; line-height: 1.55; color: #566579; }

/* quality framework steps */
.qms { padding: clamp(90px, 13vh, 160px) 0; }
.qms-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.qms-step {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}
.qms-n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.qms-step h3 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.qms-step p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-dim); }

/* quality commitments band */
.commitments {
  padding: clamp(90px, 13vh, 160px) 0;
  background: var(--navy);
  border-block: 1px solid var(--navy-line);
}
.commit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.commit-item {
  border-top: 1px solid var(--navy-line);
  padding-top: 22px;
}
.commit-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 50%;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 16px;
}
.commit-item h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.commit-item p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-dim); }

/* metrology */
.metro { padding: clamp(90px, 13vh, 160px) 0; }
.metro-grid-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.metro-copy .metro-facts {
  margin-top: 32px;
  display: flex;
  gap: 40px;
}
.metro-facts .v {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #9A7817;
}
.metro-facts .v small { font-size: 0.5em; }
.metro-facts .l {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #566579;
}
.metro-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(10, 26, 47, 0.12);
  border: 1px solid rgba(10, 26, 47, 0.12);
}
.metro-list li {
  background: var(--header-bg);
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 12px;
}
.metro-list li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

/* materials */
.materials { padding: clamp(90px, 13vh, 160px) 0; }
.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
}
.mat-card { background: var(--navy); padding: 30px 26px; }
.mat-card h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 12px;
}
.mat-card p {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.mat-note {
  margin-top: 32px;
  color: var(--ink-dim);
  max-width: 70ch;
  font-size: 15.5px;
}

/* documentation */
.docs { padding: clamp(90px, 13vh, 160px) 0; }
.doc-list { list-style: none; display: grid; }
.doc-list li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(10, 26, 47, 0.14);
}
.doc-list li:last-child { border-bottom: 1px solid rgba(10, 26, 47, 0.14); }
.doc-name { font-size: 17px; font-weight: 500; color: var(--navy-deep); letter-spacing: -0.01em; }
.doc-desc { font-size: 14.5px; color: #566579; }
.doc-tag {
  justify-self: end;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9A7817;
  border: 1px solid rgba(154, 120, 23, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* capability groups + chips (quality catalog) */
.insp, .docs2, .indstd { padding: clamp(90px, 13vh, 160px) 0; }

.cap-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.cap-groups.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--navy-line);
}
.cap-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
.cap-head h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.cap-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-chips li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 8px 13px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.cap-chips li:hover { border-color: var(--gold); color: var(--ink); }
.cap-note { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-dim); }

.section-light .cap-head { border-bottom-color: rgba(10, 26, 47, 0.14); }
.section-light .cap-head h3 { color: var(--navy-deep); }
.section-light .cap-num { color: #9A7817; }
.section-light .cap-chips li { color: #4A5A6E; border-color: rgba(10, 26, 47, 0.16); }
.section-light .cap-chips li:hover { border-color: #9A7817; color: var(--navy-deep); }
.section-light .cap-note { color: #6A7686; }

/* materials grid on a light section */
.mat-grid-light { background: rgba(10, 26, 47, 0.12); border-color: rgba(10, 26, 47, 0.12); }
.mat-grid-light .mat-card { background: var(--header-bg); }
.mat-grid-light .mat-card h4 { color: #9A7817; }
.mat-grid-light .mat-card p { color: #566579; }

/* FAQ (home) */
.faq { padding: clamp(90px, 13vh, 160px) 0; }
.faq-list {
  max-width: 860px;
  border-top: 1px solid rgba(10, 26, 47, 0.14);
}
.faq-item {
  border-bottom: 1px solid rgba(10, 26, 47, 0.14);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  position: relative;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(#9A7817, #9A7817) center/12px 2px no-repeat,
    linear-gradient(#9A7817, #9A7817) center/2px 12px no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #9A7817; }
.faq-a {
  padding: 0 44px 28px 0;
  color: #46586C;
  font-size: 16px;
  line-height: 1.65;
  max-width: 68ch;
}
.faq-a a {
  color: #9A7817;
  border-bottom: 1px solid rgba(154, 120, 23, 0.4);
}
.faq-a a:hover { color: var(--navy-deep); }

/* industries page */
.ind-detail, .sectors { padding: clamp(90px, 13vh, 160px) 0; }
.ind-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(10, 26, 47, 0.12);
  border: 1px solid rgba(10, 26, 47, 0.12);
}
.ind-card {
  background: var(--header-bg);
  padding: 30px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ind-card-head { display: flex; align-items: baseline; gap: 12px; }
.ind-card-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: #9A7817; }
.ind-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--navy-deep); }
.ind-card > p { font-size: 14px; line-height: 1.55; color: #566579; }
.ind-card .cap-chips { margin-top: 6px; }
.sector-chips { gap: 10px; }
.sector-chips li { font-size: 12.5px; padding: 9px 15px; }

/* products page */
.custom, .machinery, .finishing { padding: clamp(90px, 13vh, 160px) 0; }
.cap-groups.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mat-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.custom .copy .cap-chips { margin-top: 24px; }
.custom .copy .btn-gold { margin-top: 32px; }
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(44px, 6vh, 68px);
  padding-top: 32px;
  border-top: 1px solid var(--navy-line);
}
.spec-row .v {
  display: block;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.spec-row .v small { font-size: 0.5em; }
.spec-row .l {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: block; }
  .model-grid, .trust-grid, .page-split, .contact-grid, .statement-grid, .quality-grid { grid-template-columns: 1fr; }
  .statement-visual { max-width: 420px; margin-top: 12px; }
  .step { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step-media { order: 0; }
  .trust-media { min-height: 380px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-coords { display: none; }
  .prod-grid, .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-badges { max-width: 420px; }
  .cert-cards, .qms-steps, .mat-grid, .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-groups.cols-3, .cap-groups.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metro-grid-wrap { grid-template-columns: 1fr; }
  .doc-list li { grid-template-columns: 1fr auto; }
  .doc-desc { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .prod-grid, .vp-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .cert-cards, .qms-steps, .mat-grid, .metro-list, .commit-grid { grid-template-columns: 1fr; }
  .cap-groups, .cap-groups.cols-3, .cap-groups.cols-4 { grid-template-columns: 1fr; }
  .ind-cards { grid-template-columns: 1fr; }
  .mat-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-hero .qh-stats { grid-template-columns: 1fr; }
  .metro-copy .metro-facts { gap: 28px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .split .c { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .scrub-text .sw { opacity: 1; }
  body::after { display: none; }
}
