/* ============================================================
   Darkfall Commission — public site
   Dark, editorial, flat. Full-width rhythm, big imagery, quiet motion.
   No framework; this file is the whole system.
   ============================================================ */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }

:root {
  --bg: #060708;
  --bg-2: #0a0b0e;
  --bg-3: #0d0f13;
  --surface: #0f1116;
  --surface-2: #15171d;
  --border: #1e222a;
  --border-soft: #16181e;
  --text: #b4bcc8;
  --heading: #f2f5fa;
  --muted: #737a88;
  --brand: #6f93c4;
  --brand-strong: #8fabd2;
  --brand-deep: #3f5372;
  --brand-glow: rgba(111, 147, 196, 0.30);
  --danger: #cc7373;
  --ok: #6bb891;

  --font: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --nav-h: 74px;
  --wide: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--heading); font-weight: 650; line-height: 1.12; letter-spacing: -0.022em; }

a { color: var(--brand-strong); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: #b4c6e2; }

/* ---------- layout helpers ---------- */
.container-x { width: min(var(--wide), 90vw); margin-inline: auto; }
.muted { color: var(--muted); }
.text-brand { color: var(--brand); }

/* uppercase tracked label used for eyebrows, kickers, button text */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--brand-deep); }

/* ---------- buttons (flat, squared, tracked) ---------- */
.btn-df, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
}
.btn-df {
  background: var(--brand);
  color: #05070a;
  padding: 15px 26px;
  transition: background .2s var(--ease), gap .2s var(--ease);
}
.btn-df:hover { background: var(--brand-strong); color: #05070a; gap: 14px; }
.btn-df svg { transition: transform .2s var(--ease); }
.btn-df:hover svg { transform: translateX(2px); }
/* secondary: no box, no outline — a tracked text control with an underline */
.btn-ghost {
  padding: 15px 2px;
  color: var(--heading);
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.btn-ghost:hover { color: #fff; }
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

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

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), opacity .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.nav.revealed { border-bottom-color: var(--border-soft); }
body.home.at-top .nav { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav-inner { width: min(var(--wide), 90vw); margin-inline: auto; display: flex; align-items: center; gap: 8px; }
.nav-logo { height: 44px; width: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted);
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 1px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--heading); }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }
.nav-links a.active { color: var(--heading); }
.nav-cta { margin-left: 12px; background: var(--brand); color: #05070a !important; border-radius: 2px; padding: 11px 20px; transition: background .2s var(--ease); }
.nav-cta:hover { background: var(--brand-strong); }
.nav-toggle { display: none; margin-left: auto; color: var(--text); }

/* ---------- hero (full-bleed photo + parallax + scrim) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 118px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  background: url('../img/hero-car.jpg') no-repeat center center;
  background-size: cover;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,7,8,0.94) 0%, rgba(6,7,8,0.80) 30%, rgba(6,7,8,0.34) 62%, rgba(6,7,8,0.08) 100%),
    linear-gradient(180deg, rgba(6,7,8,0.60) 0%, rgba(6,7,8,0) 26%, rgba(6,7,8,0) 55%, var(--bg) 100%),
    radial-gradient(50% 46% at 24% 32%, rgba(111,147,196,0.10), transparent 62%);
}
.hero-inner { position: relative; z-index: 2; width: min(var(--wide), 90vw); margin-inline: auto; }
.hero h1 {
  font-size: clamp(31px, 4.6vw, 54px);
  font-weight: 680;
  max-width: 16ch;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}
.hero .lead { font-size: 17px; color: var(--text); max-width: 44ch; margin-bottom: 32px; }
.scroll-hint {
  position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.32em;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- sections & rhythm ---------- */
.section { padding: 120px 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--border-soft); }
.section.tight { padding: 90px 0; }
.section h2 { font-size: clamp(24px, 3.2vw, 37px); font-weight: 660; margin: 16px 0 18px; max-width: 20ch; text-wrap: balance; }
.section .lead { color: var(--muted); font-size: 18px; max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 54px; }

.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 6px;
  overflow: hidden;
}
.page-head h1 { font-weight: 680; }
.page-head > .container-x { position: relative; z-index: 1; }
/* Same whisper of hex as the home hero, so every page opens the same way. */
.page-head .hero-tex { inset: -30% -8%; }

/* Centred closing block, matched to the home page's .closing rhythm. */
.page-close { padding: 96px 0; border-top: 1px solid var(--border-soft); text-align: center; }
.page-close h2 {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 620;
  letter-spacing: -0.028em;
  max-width: 22ch;
  margin: 14px auto 18px;
  text-wrap: balance;
}
.page-close .lead { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }

/* ---------- full-width parallax statement band ---------- */
.band {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: var(--bg);
  border-block: 1px solid var(--border-soft);
}
.band-bg {
  position: absolute; inset: -14% 0; z-index: 0; will-change: transform;
  background:
    radial-gradient(60% 120% at 78% 50%, rgba(111,147,196,0.16), transparent 60%),
    radial-gradient(50% 120% at 20% 40%, rgba(63,83,114,0.16), transparent 55%),
    linear-gradient(180deg, #070809, #0b0d11);
}
.band .container-x { position: relative; z-index: 1; }
.band h2 { font-size: clamp(28px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.band p { color: var(--muted); font-size: 18px; max-width: 54ch; margin-top: 22px; }

/* ---------- grids & flat cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* capability list: flat cells joined by hairlines (editorial, not floating cards) */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  overflow: hidden;
}
.cell {
  background: var(--bg);
  padding: 38px 34px;
  transition: background .25s var(--ease);
}
.cell:hover { background: var(--bg-3); }
.cell h3 { font-size: 18px; font-weight: 620; margin-bottom: 10px; letter-spacing: -0.01em; }
.cell p { color: var(--muted); font-size: 15px; }

/* standalone cards (service detail pages) — flat, hairline, no shadow/lift */
.card-df {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 30px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.card-df:hover { border-color: color-mix(in srgb, var(--brand) 34%, var(--border)); background: var(--surface-2); }
.card-df h3 { font-size: 19px; font-weight: 620; margin-bottom: 10px; letter-spacing: -0.012em; }
.card-df p { color: var(--muted); font-size: 15.5px; }
.card-df .kicker { color: var(--brand-strong); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
a.card-df { display: block; color: inherit; }
a.card-df:hover { color: inherit; }

/* flat square icon tile */
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 3px; margin-bottom: 18px;
  color: var(--brand-strong);
  background: rgba(111, 147, 196, 0.10);
}
.svc-icon svg { width: 23px; height: 23px; }

.card-link { margin-top: 20px; color: var(--brand-strong); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.card-link .arrow { transition: transform .2s var(--ease); }
a.card-df:hover .card-link { gap: 12px; }
a.card-df:hover .arrow { transform: translateX(4px); }

/* platform split — two big flat panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-soft); }
.split-panel {
  background: var(--bg-2);
  padding: 54px 44px;
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: background .3s var(--ease);
}
.split-panel:hover { background: var(--bg-3); }
.split-panel .kicker { color: var(--brand-strong); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.split-panel h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 680; margin: 10px 0 14px; }
.split-panel p { color: var(--muted); font-size: 15.5px; }
.split-panel .card-link { margin-top: auto; padding-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq-cat { margin-bottom: 6px; }
.faq-cat.level-0 { margin-top: 54px; }
.faq-cat.level-0:first-child { margin-top: 0; }
.faq-cat.level-0 > .faq-cat-head {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-strong);
  padding-bottom: 16px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.faq-cat.level-1 { margin: 20px 0 4px; padding-left: 22px; border-left: 1px solid var(--border-soft); }
.faq-cat.level-1 > .faq-cat-head,
.faq-cat.level-2 > .faq-cat-head {
  font-size: 15px; font-weight: 620; color: var(--heading); margin-bottom: 8px;
}
.faq-cat.level-2 { margin: 16px 0 4px; padding-left: 20px; border-left: 1px solid var(--border-soft); }

.qa { border-bottom: 1px solid var(--border-soft); }
.qa-q {
  width: 100%; text-align: left; position: relative;
  color: var(--heading); font-size: 16.5px; font-weight: 480;
  padding: 20px 40px 20px 0;
  transition: color .2s var(--ease);
}
.qa-q:hover { color: #fff; }
.qa-q .qa-mark { position: absolute; right: 2px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; color: var(--brand); transition: transform .35s var(--ease); }
.qa-q .qa-mark::before, .qa-q .qa-mark::after { content: ''; position: absolute; background: currentColor; transition: opacity .35s var(--ease); }
.qa-q .qa-mark::before { left: 0; right: 0; top: 6px; height: 1.5px; }
.qa-q .qa-mark::after { top: 0; bottom: 0; left: 6px; width: 1.5px; }
.qa.open .qa-q .qa-mark { transform: rotate(180deg); }
.qa.open .qa-q .qa-mark::after { opacity: 0; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a-inner { overflow: hidden; }
.qa-a-inner p {
  margin: 0; padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; white-space: pre-line;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease) .05s, transform .3s var(--ease) .05s;
}
.qa.open .qa-a-inner p { opacity: 1; transform: none; }

/* ---------- prose ---------- */
.prose a { color: var(--brand-strong); border-bottom: 1px solid rgba(143,171,210,.35); }
.prose a:hover { border-color: var(--brand-strong); }
.link { position: relative; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.link:hover::after { transform: scaleX(1); }

/* ---------- contact form ---------- */
.form-panel { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 3px; padding: 34px; }
.field { margin-bottom: 20px; }
.field:last-of-type { margin-bottom: 0; }
.form-panel label { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.form-control {
  width: 100%;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 2px; padding: 12px 14px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-control::placeholder { color: #565d69; }
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(111,147,196,0.16); }
textarea.form-control { resize: vertical; min-height: 140px; }
.char-count { font-size: 11px; color: var(--muted); text-align: right; margin-top: 6px; letter-spacing: 0.04em; }
.alert-df { border-radius: 2px; padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px; }
.alert-df.ok { background: rgba(107,184,145,0.12); border: 1px solid rgba(107,184,145,0.30); color: var(--ok); }
.alert-df.err { background: rgba(204,115,115,0.12); border: 1px solid rgba(204,115,115,0.30); color: var(--danger); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 62px 0 44px; background: var(--bg-2); color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.footer a { color: var(--muted); display: block; padding: 5px 0; }
.footer a:hover { color: var(--heading); }
.footer .cols { display: flex; gap: 68px; margin-left: auto; flex-wrap: wrap; }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 12px; }
.footer-logo { height: 38px; margin-bottom: 16px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .qa-a { transition: none; }
  .hero-bg, .band-bg, .hero-tex, .closing-tex { transform: none !important; }
  .scroll-hint { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .caps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .section { padding: 78px 0; }
  .band { padding: 104px 0; }
  .grid-3, .grid-2, .caps, .split { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-logo { height: 38px; }
  body.home.at-top .nav { transform: none; opacity: 1; pointer-events: auto; border-bottom-color: var(--border-soft); }
  .nav-links.open {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 5vw 16px;
  }
  .nav-links.open a { padding: 13px 6px; }
  .nav-links.open .nav-cta { margin: 8px 6px 0; justify-content: center; text-align: center; }
  .footer-grid { flex-direction: column; }
  .footer .cols { margin-left: 0; gap: 44px; }
}

/* ============================================================
   Editorial home layout
   Split hero, statement sections, media mosaic, indexed lists.
   Reuses the type scale + tokens above — nothing here restyles
   headings, only the structures that carry them.
   ============================================================ */

/* ---------- split hero: copy left, vehicle right ---------- */
.hero-split {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
/* A whisper of hex data drifting behind the hero. Deliberately near-invisible —
   it should register as texture, not decoration. Oversized so the parallax
   drift never exposes an edge, and masked away from the headline so type stays
   on clean ground. */
.hero-tex,
.closing-tex {
  position: absolute;
  inset: -22% -8%;
  z-index: 0;
  background-image: url('../img/tex-hex.svg');
  background-repeat: repeat;
  background-size: 240px 192px;
  pointer-events: none;
  will-change: transform;
}
.hero-tex {
  opacity: 0.055;
  -webkit-mask-image: linear-gradient(102deg, transparent 34%, #000 82%);
          mask-image: linear-gradient(102deg, transparent 34%, #000 82%);
}
.closing-tex {
  opacity: 0.05;
  -webkit-mask-image: radial-gradient(62% 66% at 50% 50%, transparent 12%, #000 82%);
          mask-image: radial-gradient(62% 66% at 50% 50%, transparent 12%, #000 82%);
}
.hero-split-inner {
  position: relative;
  z-index: 2;
  width: min(var(--wide), 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 64px;
}
.hero-split h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 20px 0 22px;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-split .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.media-frame {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {                      /* thin inner hairline for depth */
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  pointer-events: none;
}

/* ---------- statement: an oversized claim, set right of a label ---------- */
.statement { padding: 118px 0; }
.statement-inner {
  width: min(var(--wide), 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.statement h2 {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 620;
  letter-spacing: -0.028em;
  line-height: 1.18;
  max-width: 26ch;
  text-wrap: balance;
  margin: 0;
}
.statement .lead { color: var(--muted); font-size: 17px; max-width: 62ch; margin-top: 20px; }

/* three quiet columns under a statement */
.tri {
  width: min(var(--wide), 90vw);
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-block: 1px solid var(--border-soft);
}
.tri > div { background: var(--bg); padding: 34px 30px 38px; }
.tri h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 12px;
}
.tri p { color: var(--muted); font-size: 15px; margin: 0; }

/* Photographs are duotoned into the palette: stripped of their own colour,
   darkened, then re-tinted with the brand blue and vignetted. Stock shots come
   from all sorts of lighting (show floor, daylight forecourt) — this makes any
   of them sit in the same world as the drawn artwork. */
.media-frame.photo img {
  filter: grayscale(1) contrast(1.06) brightness(0.60);
}
.media-frame.photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--brand);
  mix-blend-mode: color;
  opacity: 0.9;
  pointer-events: none;
}
.media-frame.photo::after {
  background:
    radial-gradient(130% 105% at 50% 26%, transparent 26%, rgba(5, 7, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.30), rgba(5, 7, 10, 0.10) 40%);
  z-index: 2;
}

/* ---------- media mosaic: one tall, two stacked ---------- */
.mosaic {
  width: min(var(--wide), 90vw);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
}
.mosaic .m1 { grid-row: span 2; aspect-ratio: auto; }
.mosaic .media-frame { aspect-ratio: auto; min-height: 210px; }
.mosaic-note { width: min(var(--wide), 90vw); margin: 16px auto 0; font-size: 13px; color: var(--muted); }

/* ---------- capability list: media left, indexed rows right ---------- */
.capability { padding: 118px 0; background: var(--bg-2); border-block: 1px solid var(--border-soft); }
.capability-inner {
  width: min(var(--wide), 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: stretch;          /* both columns end together */
}
/* The media fills its column, so the frame is exactly as tall as the copy
   beside it rather than leaving a gap under a fixed-ratio image. */
.capability-media { display: flex; }
.capability .media-frame { aspect-ratio: auto; flex: 1; min-height: 420px; }
.rows { border-top: 1px solid var(--border); }
.row-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: start;
  padding: 26px 4px 26px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease);
}
.row-item:hover { background: rgba(111,147,196,0.035); }
.row-num {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-deep);
  padding-top: 4px;
}
.row-item h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 8px; }
.row-item p { color: var(--muted); font-size: 15px; margin: 0; max-width: 52ch; }
.row-mark { color: var(--brand-deep); font-size: 18px; line-height: 1; padding-top: 4px; text-align: right; }

/* ---------- process: three numbered stages ---------- */
.process { padding: 118px 0; }
.steps {
  width: min(var(--wide), 90vw);
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brand-deep);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.steps h3 { font-size: 19px; font-weight: 620; letter-spacing: -0.015em; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.process-note { width: min(var(--wide), 90vw); margin: 44px auto 0; font-size: 13px; color: var(--muted); }

/* ---------- closing call to action ---------- */
.closing {
  position: relative;
  padding: 128px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  text-align: center;
  overflow: hidden;
}
.closing > .container-x { position: relative; z-index: 1; }
.closing h2 {
  font-size: clamp(27px, 4.2vw, 50px);
  font-weight: 620;
  letter-spacing: -0.032em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 18px auto 20px;
  text-wrap: balance;
}
.closing .lead { color: var(--muted); font-size: 17px; max-width: 54ch; margin: 0 auto 34px; }

/* ---------- supply band: a single quiet line between two big sections ---------- */
.supply { padding: 30px 0; border-bottom: 1px solid var(--border-soft); }
.supply-inner {
  width: min(var(--wide), 90vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.supply .eyebrow { flex: 0 0 auto; }
.supply ul {
  flex: 1;                                  /* take the rest of the band ... */
  display: grid;
  grid-template-columns: repeat(3, 1fr);    /* ... and split it evenly */
  align-items: center;
  gap: 12px 26px;
}
.supply li {
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 26px;
}
.supply li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 1px;
  background: var(--brand-deep);
}

/* The wordmark sits in the footer now — a little larger than the old repeat. */
.footer-grid > div:first-child img { height: 42px !important; }

@media (max-width: 980px) {
  .hero-split-inner, .capability-inner { grid-template-columns: 1fr; gap: 44px; }
  .capability .media-frame { aspect-ratio: 16 / 10; min-height: 0; }
  .statement-inner { grid-template-columns: 1fr; gap: 22px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .m1 { grid-row: span 1; grid-column: span 2; min-height: 260px; }
}
@media (max-width: 760px) {
  .hero-split { padding: calc(var(--nav-h) + 44px) 0 66px; }
  .statement, .capability, .process { padding: 80px 0; }
  .closing { padding: 88px 0; }
  .tri, .steps { grid-template-columns: 1fr; }
  .supply-inner { gap: 16px; }
  .supply ul { grid-template-columns: 1fr; gap: 8px; }
  .tri > div { padding: 28px 22px 30px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .m1 { grid-column: span 1; }
  .row-item { grid-template-columns: 36px minmax(0, 1fr); }
  .row-mark { display: none; }
}

/* ---------- services hub: three numbered entry tiles ---------- */
.svc-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border-block: 1px solid var(--border-soft);
}
.svc-tile {
  display: block;
  background: var(--bg);
  padding: 40px 34px 34px;
  color: inherit;
  transition: background .25s var(--ease);
}
.svc-tile:hover { background: var(--bg-3); color: inherit; }
.svc-tile-num {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brand-deep);
  margin-bottom: 20px;
}
.svc-tile h2 {
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.svc-tile p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.svc-tile .card-link { font-size: 12px; }

@media (max-width: 900px) { .svc-tiles { grid-template-columns: 1fr; } }
