/* ==========================================================================
   Zenexus Global — Trust Beyond Borders
   Design system + site styles
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Base & typography
   3.  Layout primitives
   4.  Buttons, eyebrows, links
   5.  Header / navigation
   6.  Hero
   7.  Marquee
   8.  Sections: intro, stats, products, services, reasons, process
   9.  Quote, CTA band
   10. Forms
   11. Footer
   12. Motion / reveal
   13. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* brand */
  --navy-900: #05101f;
  --navy-800: #0a1c36;
  --navy-700: #0b2145;
  --navy-600: #143164;
  --navy-500: #1e4a8f;

  --green-700: #075c2f;
  --green-600: #0b7a3e;
  --green-500: #128a45;
  --green-400: #22a35b;

  --gold-700: #8f6a2f;
  --gold-600: #a97c3d;
  --gold-500: #be8d48;
  --gold-300: #dcb878;

  /* surfaces */
  --paper: #fbfaf7;
  --paper-2: #f3f1ea;
  --paper-3: #eae7dd;
  --white: #ffffff;

  /* ink */
  --ink: #0d1a2b;
  --ink-2: #33404f;
  --muted: #5d6877;
  --muted-2: #8b94a1;

  --line: rgba(11, 33, 69, 0.12);
  --line-soft: rgba(11, 33, 69, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* metrics */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(11, 33, 69, 0.05), 0 6px 18px -12px rgba(11, 33, 69, 0.28);
  --shadow-md: 0 2px 6px rgba(11, 33, 69, 0.06), 0 22px 48px -28px rgba(11, 33, 69, 0.35);
  --shadow-lg: 0 40px 90px -50px rgba(5, 24, 56, 0.55), 0 8px 24px -18px rgba(5, 24, 56, 0.3);
}

/* 2. Base & typography ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* faint paper grain — keeps large flat areas from looking synthetic */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--navy-700);
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-600);
  font-variation-settings: "SOFT" 8, "WONK" 1;
}

.lead {
  text-wrap: pretty;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-2);
}

.muted { color: var(--muted); }
.small { font-size: 0.9rem; line-height: 1.6; }

::selection { background: var(--navy-700); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--navy-700);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  border-radius: var(--radius);
}
.skip-link:focus { left: 16px; }

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

/* 3. Layout primitives ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: 1440px; }
.wrap--narrow { max-width: 900px; }

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--navy-800); color: rgba(255, 255, 255, 0.82); }
/* every dark surface flips heading colour — headings carry their own colour,
   so inheriting from the section is not enough */
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.quote-band h1, .quote-band h2, .quote-band h3, .quote-band h4,
.cta h1, .cta h2, .cta h3, .cta h4,
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4,
.footer h1, .footer h2, .footer h3, .footer h4 { color: #fff; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
}

/* 4. Eyebrow, buttons, links ------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  flex: 0 0 34px;
  margin-top: 0.62em;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--gold { color: var(--gold-600); }
.eyebrow--light { color: var(--gold-300); }
.eyebrow--plain::before { display: none; }

.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.35s ease;
  font-family: inherit;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--green-600), var(--green-500) 60%, var(--gold-600));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.985); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-700);
  border-color: var(--line);
}
.btn--ghost:hover { --btn-fg: #fff; border-color: transparent; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-700);
}
.btn--light:hover { --btn-fg: #fff; }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  padding-bottom: 5px;
  position: relative;
}
.arrow-link svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease); }
.arrow-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.arrow-link:hover::after { transform: scaleX(1); }
.arrow-link:hover svg { transform: translate(4px, -4px); }
.arrow-link--light { color: #fff; }
.arrow-link--green { color: var(--green-600); }

/* 5. Header ---------------------------------------------------------------- */
.topbar {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 40px;
}
.topbar__tag {
  font-family: var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--gold-300);
}
.topbar__links { display: flex; align-items: center; gap: 24px; }
.topbar a { transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: 0.75; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(11, 33, 69, 0.7);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 88px;
  transition: height 0.45s var(--ease);
}
.site-header.is-stuck .site-header__inner { height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img {
  height: 46px;
  width: auto;
  transition: height 0.45s var(--ease);
}
.site-header.is-stuck .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { color: var(--navy-700); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--navy-700); }
.nav a.is-active::after { transform: scaleX(1); background: var(--gold-500); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 22px; font-size: 0.84rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 14px;
  width: 18px; height: 1.5px;
  background: var(--navy-700);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle span:nth-child(3) { top: 30px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-800);
  color: #fff;
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
body.nav-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.drawer__nav a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
}
body.nav-open .drawer__nav a {
  animation: drawerIn 0.7s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--i) * 0.06s);
}
.drawer__nav a span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-300);
  letter-spacing: 0.2em;
}
.drawer__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 28px;
}
@keyframes drawerIn { to { opacity: 1; transform: none; } }

/* 6. Hero ------------------------------------------------------------------
   Built around the brand's own device: the curved sweep used across the
   company profile, with the trade-network globe glowing behind the type.     */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 90vh, 940px);
  padding-block: clamp(72px, 9vw, 120px) clamp(64px, 8vw, 104px);
  color: #fff;
  background:
    radial-gradient(900px 620px at 12% 18%, rgba(30, 74, 143, 0.42), transparent 64%),
    linear-gradient(118deg, #04101f 0%, #08182e 38%, #0b2145 100%);
  background-color: #061224;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(104deg, #000 12%, transparent 58%);
  mask-image: linear-gradient(104deg, #000 12%, transparent 58%);
}

.hero__globe {
  position: absolute;
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(880px, 70vw);
  aspect-ratio: 1;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 78%);
}

/* photographic panel, clipped by the brand curve */
.hero__art {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(57%, 900px);
  z-index: 1;
  clip-path: url(#heroCurve);
}
.hero__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.04);
  animation: heroDrift 22s var(--ease) infinite alternate;
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(4, 14, 28, 0.99) 0%, rgba(5, 18, 36, 0.9) 16%, rgba(6, 22, 44, 0.34) 52%, rgba(4, 12, 24, 0.62) 100%),
    linear-gradient(0deg, rgba(4, 12, 24, 0.62), transparent 46%),
    linear-gradient(0deg, rgba(9, 28, 56, 0.26), rgba(9, 28, 56, 0.26));
}
@keyframes heroDrift { to { transform: scale(1.1) translate3d(-1.4%, -1%, 0); } }

/* the three brand stripes that ride the seam */
.hero__seam {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(57%, 900px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
/* wiped in from the top — a dash animation is unreliable here because the
   seam is non-uniformly scaled */
.hero__seam {
  clip-path: inset(0 0 100% 0);
  animation: seamWipe 1.5s var(--ease-out) 0.25s forwards;
}
.hero__seam path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.hero__seam .s-green { stroke: var(--green-500); stroke-width: 3.4; opacity: 0.9; }
.hero__seam .s-white { stroke: rgba(255, 255, 255, 0.8); stroke-width: 1.4; }
.hero__seam .s-gold  { stroke: var(--gold-500); stroke-width: 1.4; }
@keyframes seamWipe { to { clip-path: inset(0 0 0 0); } }

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  width: 100%;
}
.hero__copy { max-width: 580px; }

.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-500); opacity: 1; }

.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.05rem);
  margin-bottom: 26px;
  line-height: 1.06;
  color: #fff;
  text-wrap: normal;
}
.hero h1 em { color: var(--gold-300); }
/* the mask needs slack for descenders, then takes it back */
.hero__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.1em;
}
.hero__title-line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.05s var(--ease-out) forwards;
  animation-delay: calc(0.18s + var(--i, 0) * 0.11s);
}
@keyframes lineUp { to { transform: none; } }

.hero__lead {
  max-width: 50ch;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 530px;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.hero__pill svg { width: 16px; height: 16px; color: var(--gold-300); flex-shrink: 0; }

/* Card sits in the grid's second column, so it tracks the centred container
   instead of a fixed viewport offset — at wide widths a fixed offset walked
   straight into the copy. */
.hero__badge {
  grid-column: 2;
  align-self: end;
  justify-self: start;
  width: min(270px, 100%);
  margin-bottom: clamp(4px, 3vw, 46px);
  padding: 24px 26px;
  background: rgba(251, 250, 247, 0.97);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.hero__badge .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy-700);
  display: block;
  margin-bottom: 8px;
}
.hero__badge .cap { font-size: 0.8rem; color: var(--muted); line-height: 1.5; display: block; }

.hero__caption {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 3vw, 46px);
  bottom: clamp(26px, 3vw, 42px);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
}
.hero__caption b { display: block; color: var(--gold-300); font-weight: 500; }

.scroll-cue {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i {
  display: block;
  width: 1px; height: 64px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -64px; left: 0;
  width: 1px; height: 64px;
  background: var(--gold-500);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { to { top: 64px; } }

/* page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  padding-block: clamp(70px, 9vw, 128px) clamp(60px, 8vw, 104px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 82% 4%, rgba(30, 74, 143, 0.55), transparent 62%),
    radial-gradient(620px 380px at 4% 100%, rgba(11, 122, 62, 0.32), transparent 60%);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 26px;
}
.crumbs a:hover { color: var(--gold-300); }
.crumbs span { opacity: 0.4; }

/* 7. Marquee --------------------------------------------------------------- */
.marquee {
  background: var(--navy-700);
  color: rgba(255, 255, 255, 0.9);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
  flex-shrink: 0;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  display: inline-block;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* 8. Content sections ------------------------------------------------------ */

/* — intro / split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: start;
}
.split__sticky { position: sticky; top: 120px; }

.pointlist { display: grid; gap: 0; }
.pointlist li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
  list-style: none;
}
.pointlist li:first-child { border-top: 0; padding-top: 0; }
.pointlist .ic {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green-600);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), background 0.4s ease, color 0.4s ease;
}
.pointlist .ic svg { width: 21px; height: 21px; }
.pointlist li:hover .ic {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--navy-700);
  color: var(--gold-300);
  border-color: transparent;
}
.pointlist h3 { margin-bottom: 6px; }
.pointlist p { color: var(--muted); font-size: 0.96rem; }
.pointlist ul { margin: 0; padding: 0; }

/* — stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 3.4vw, 46px) clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
  line-height: 1;
  color: var(--navy-700);
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}
.stat__num sup {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-600);
  top: -1.4em;
}
.stat__label {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 22ch;
}
.stat__kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: block;
  margin-bottom: 16px;
}

/* — product cards */
.products { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(24px, 3.6vw, 64px);
  align-items: center;
  padding: clamp(26px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.5s ease;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--green-600), var(--gold-500));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.product:hover::before { transform: scaleY(1); }
.product:nth-child(even) .product__body { order: 2; }

.product__index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-600);
  display: block;
  margin-bottom: 16px;
}
.product h3 { margin-bottom: 8px; }
.product__sub {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 18px;
}
.product p { color: var(--muted); margin-bottom: 22px; }

.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.specs li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.specs svg { width: 16px; height: 16px; color: var(--green-500); margin-top: 4px; }

.product__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--paper-3);
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.8s ease;
}
.product:hover .product__media img { transform: scale(1.05); }
.product__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product__stack .product__media:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

/* — services interactive list
   The preview gets its own lane in the grid, so it can never land on top of
   the row's own copy. It is anchored to the row, not to the cursor.          */
.svc-list { border-top: 1px solid var(--line); position: relative; }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) clamp(230px, 21vw, 290px) 40px;
  gap: clamp(16px, 2.2vw, 34px);
  align-items: center;
  padding: clamp(22px, 2.4vw, 30px) 8px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.55s var(--ease), background 0.55s ease;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 33, 69, 0.035), rgba(11, 33, 69, 0));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.svc:hover { padding-inline: 22px; }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; z-index: 1; }
.svc__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gold-600);
  align-self: start;
  padding-top: 6px;
}
.svc__body { min-width: 0; }
.svc__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-700);
  margin-bottom: 8px;
  transition: transform 0.55s var(--ease);
}
.svc:hover .svc__title { transform: translateX(6px); }
.svc__title svg { width: 23px; height: 23px; color: var(--green-600); flex-shrink: 0; }
.svc__desc {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 54ch;
  transition: transform 0.55s var(--ease);
}
.svc:hover .svc__desc { transform: translateX(6px); }

/* The lane holds the column open; the image itself floats inside it, so the
   row height stays driven by the copy. */
.svc__peek {
  display: block;
  position: relative;
  height: 0;
}
.svc__peek img {
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  height: clamp(132px, 10.5vw, 158px);
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-50%) translateY(12px) scale(0.94) rotate(-1.5deg);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: 0 0 0 rgba(11, 33, 69, 0);
}
.svc:hover { z-index: 2; }
.svc:hover .svc__peek img,
.svc:focus-visible .svc__peek img {
  opacity: 1;
  transform: translateY(-50%);
  box-shadow: var(--shadow-md);
}

.svc__go {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy-700);
  transition: background 0.45s ease, color 0.45s ease, transform 0.55s var(--ease), border-color 0.4s ease;
}
.svc__go svg { width: 15px; height: 15px; }
.svc:hover .svc__go {
  background: var(--navy-700);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}

/* — reason bento */
.reasons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.reason {
  grid-column: span 2;
  background: var(--paper);
  padding: clamp(26px, 2.8vw, 40px);
  transition: background 0.5s ease, transform 0.5s var(--ease);
  position: relative;
}
.reason:hover { background: var(--white); }
.reason--wide { grid-column: span 3; }
.reason__ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(18, 138, 69, 0.09);
  color: var(--green-600);
  margin-bottom: 22px;
  transition: background 0.5s ease, color 0.5s ease, transform 0.6s var(--ease);
}
.reason__ic svg { width: 21px; height: 21px; }
.reason:hover .reason__ic {
  background: var(--navy-700);
  color: var(--gold-300);
  transform: translateY(-3px);
}
.reason h3 { margin-bottom: 10px; font-size: 1.02rem; }
.reason p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.reason__no {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted-2);
  letter-spacing: 0.14em;
}

/* — value chips */
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.value {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.2vw, 30px);
  text-align: center;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.4s ease;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.value__ic {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--navy-700);
}
.value:nth-child(even) .value__ic { background: var(--green-600); }
.value__ic svg { width: 24px; height: 24px; }
.value h3 {
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.value p { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* — process */
.process { position: relative; display: grid; gap: 0; }
.process__line {
  position: absolute;
  left: 39px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.process__line i {
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: var(--p, 0%);
  background: linear-gradient(var(--green-500), var(--gold-500));
  transition: height 0.25s linear;
}
.step {
  display: grid;
  grid-template-columns: 80px 190px minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 40px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.step:last-child { border-bottom: 0; }
.step__dot {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy-700);
  margin-left: 12px;
  position: relative;
  z-index: 2;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.6s var(--ease);
}
.step__dot svg { width: 23px; height: 23px; }
.step.is-on .step__dot,
.step:hover .step__dot {
  background: var(--navy-700);
  color: var(--gold-300);
  border-color: transparent;
  transform: scale(1.06);
}
.step__no {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.step__title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  line-height: 1.45;
}
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; padding-top: 4px; }

/* mini rail (home teaser) */
.rail {
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); }
.rail__card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.rail__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rail__card .n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold-600);
  display: block;
  margin-bottom: 18px;
}
.rail__card h3 { font-size: 0.92rem; margin-bottom: 8px; }
.rail__card p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* 9. Quote & CTA ----------------------------------------------------------- */
.quote-band {
  background: var(--navy-800);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 88% 12%, rgba(30, 74, 143, 0.5), transparent 60%);
}
.quote-band .wrap { position: relative; z-index: 2; }
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 20ch;
}
.quote em { font-style: italic; color: var(--gold-300); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--green-400);
  display: block;
  margin-bottom: 8px;
}

.vm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.vm__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 42px);
  transition: background 0.5s ease, transform 0.5s var(--ease);
}
.vm__card:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }
.vm__card .ic {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-600);
  color: #fff;
  margin-bottom: 22px;
}
.vm__card:last-child .ic { background: var(--gold-600); }
.vm__card .ic svg { width: 23px; height: 23px; }
.vm__card h3 { margin-bottom: 12px; }
.vm__card p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.vm__card b { color: #fff; font-weight: 600; }

.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  inset: -12% 0 -12%;
  z-index: -2;
  will-change: transform;
}
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(5, 16, 31, 0.94) 22%, rgba(10, 28, 54, 0.82) 52%, rgba(10, 28, 54, 0.45));
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.cta h2 { max-width: 15ch; margin-bottom: 20px; }
.cta p { color: rgba(255, 255, 255, 0.76); max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta__mini {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta__mini div {
  background: rgba(9, 26, 50, 0.72);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta__mini svg { width: 20px; height: 20px; color: var(--gold-300); flex-shrink: 0; }
.cta__mini b { display: block; font-size: 0.94rem; font-weight: 600; color: #fff; }
.cta__mini span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); }

/* — small note card (light surfaces) */
.note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--green-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.note .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(18, 138, 69, 0.1);
  color: var(--green-600);
}
.note .ic svg { width: 19px; height: 19px; }
.note b { display: block; color: var(--navy-700); font-size: 0.95rem; margin-bottom: 2px; }
.note span { font-size: 0.88rem; color: var(--muted); }

/* 10. Forms ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.info-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-700);
  color: #fff;
  transition: transform 0.5s var(--ease);
}
.info-row:nth-child(even) .ic { background: var(--green-600); }
.info-row:hover .ic { transform: translateY(-3px) scale(1.04); }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row .k {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-row .v { font-size: 1.02rem; font-weight: 600; color: var(--navy-700); word-break: break-word; }
.info-row a.v:hover { color: var(--green-600); }

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { position: relative; display: grid; gap: 8px; }
.field label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  appearance: none;
}
.field textarea { min-height: 152px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6877' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(18, 138, 69, 0.12);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b3392f; box-shadow: 0 0 0 3px rgba(179, 57, 47, 0.1); }
.field__err {
  font-size: 0.78rem;
  color: #b3392f;
  display: none;
}
.field.has-error .field__err { display: block; }

.form__note { font-size: 0.82rem; color: var(--muted); }
.form-success {
  display: none;
  border: 1px solid rgba(18, 138, 69, 0.3);
  background: rgba(18, 138, 69, 0.07);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  gap: 16px;
  align-items: start;
}
.form-success.is-on { display: grid; grid-template-columns: 40px 1fr; }
.form-success svg { width: 30px; height: 30px; color: var(--green-600); }
.form-success h3 { margin-bottom: 6px; }
.form-success p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

/* 11. Footer --------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(56px, 6vw, 88px) 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 380px at 12% -10%, rgba(30, 74, 143, 0.32), transparent 62%);
}
.footer .wrap { position: relative; z-index: 2; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.85fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img { height: 66px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 0.92rem; max-width: 34ch; }
.footer__label {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300) !important;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a {
  font-size: 0.92rem;
  transition: color 0.3s ease, transform 0.4s var(--ease);
  display: inline-block;
}
.footer ul a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer__bottom .tag {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--gold-300);
}

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.5s var(--ease), background 0.35s ease;
  box-shadow: var(--shadow-md);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green-600); }
.to-top svg { width: 17px; height: 17px; }

/* 12. Motion / reveal ------------------------------------------------------ */
/* JS-gated: with scripting off, nothing is hidden */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.line-mask { overflow: hidden; display: block; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__title-line > span { transform: none; }
}

/* 13. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero { display: block; min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { width: 100%; clip-path: none; opacity: 0.42; }
  .hero__art::after { background: linear-gradient(180deg, rgba(5,16,31,.86), rgba(5,16,31,.94)); }
  .hero__seam, .hero__badge, .scroll-cue { display: none; }
  .hero__globe { left: 50%; transform: translate(-50%, -50%); width: min(680px, 108vw); opacity: 0.5; }
  .hero__caption { position: static; text-align: left; margin: 30px 0 0; padding-inline: var(--gutter); }
  .split { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .cta__inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 64px minmax(0, 1fr) 38px; }
  .svc__peek { display: none; }
  .reason, .reason--wide { grid-column: span 3; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .topbar__links a:not(.topbar__mail) { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vm { grid-template-columns: 1fr; }
  .product,
  .product:nth-child(even) .product__body { grid-template-columns: 1fr; order: 0; }
  .product__media { aspect-ratio: 16 / 9; }
  .step { grid-template-columns: 74px minmax(0, 1fr); }
  .step p { grid-column: 2; }
  .process__line { left: 36px; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .btn { padding: 15px 24px; }
  .topbar { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .g-2, .g-3, .g-4, .values { grid-template-columns: 1fr; }
  .reason, .reason--wide { grid-column: span 6; }
  .footer__top, .footer__brand { grid-template-columns: 1fr; grid-column: auto; }
  .svc { grid-template-columns: 44px minmax(0, 1fr); }
  .svc__go { display: none; }
  .quote { max-width: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}
