/* ============================================
   Direction B — Technical Crisp
   Off-white grid • pure ink • coral accent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #f7f6f3;
  --bg-2: #ffffff;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --ink: #0a0a0a;
  --ink-2: #2c2c2c;
  --ink-mute: #6a6a6a;
  --rule: #e6e3da;
  --rule-strong: #d4d1c6;
  --accent: #ff5a36;
  --accent-2: #ffa68a;
  --accent-deep: #c63d1c;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Slotted media — replaces the prototype's <image-slot>: fills the framed
   container exactly as the component did (full size, centered cover crop). */
.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =============== Layout =============== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; position: relative; }

/* =============== Type =============== */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,90,54,0.18);
}

.kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink-2);
}

/* =============== Nav =============== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 56px);
  max-width: 1240px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10,10,10,0.06);
  border-radius: 14px;
  padding: 10px 12px 10px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 20px -10px rgba(10,10,10,0.12);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 36px -12px rgba(10,10,10,0.18); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-mark {
  width: 26px; height: 26px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 7px;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 4px; right: 4px;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* New logo: QWERTY as keyboard keys + "solutions" wordmark */
.qkeys {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.key {
  width: 19px;
  height: 23px;
  border-radius: 4.5px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: lowercase;
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule), inset 0 0.5px 0 #ffffff;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 0.15s cubic-bezier(.2,.7,.2,1), box-shadow 0.15s ease;
  user-select: none;
}
.brand:hover .key {
  transform: translateY(-1px);
  box-shadow: 0 2px 0 var(--rule), inset 0 0.5px 0 #ffffff;
}
.brand:hover .key:nth-child(1) { transition-delay: 0ms; }
.brand:hover .key:nth-child(2) { transition-delay: 30ms; }
.brand:hover .key:nth-child(3) { transition-delay: 60ms; }
.brand:hover .key:nth-child(4) { transition-delay: 90ms; }
.brand:hover .key:nth-child(5) { transition-delay: 120ms; }
.brand:hover .key:nth-child(6) { transition-delay: 150ms; }
.key.accent {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 1px 0 #000, inset 0 0.5px 0 rgba(255,255,255,0.15);
  position: relative;
}
.key.accent::after {
  content: "";
  position: absolute;
  top: 3px; right: 3px;
  width: 3.5px; height: 3.5px;
  background: var(--accent);
  border-radius: 50%;
}
.brand-word {
  display: flex;
  justify-content: space-between;
  width: 124px; /* matches qkeys: 6 * 19 + 5 * 2 */
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1;
}
.brand-word > span { display: inline-block; }
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  padding: 7px 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(10,10,10,0.05); color: var(--ink); }
.nav-links a.active { color: var(--ink); background: rgba(10,10,10,0.05); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 2px 8px -2px rgba(10,10,10,0.3);
  white-space: nowrap;
}
.btn:hover { background: #1a1a1a; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 14px -4px rgba(10,10,10,0.4); }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(2px); }

.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); }

.btn-ghost {
  background: rgba(10,10,10,0.04);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(10,10,10,0.08); }

/* =============== Hero =============== */
.hero {
  padding: 140px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.hero-left { padding: 12px 0 32px; }
.hero h1 {
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-top: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.hero h1 .word.in { opacity: 1; transform: translateY(0); }

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease .5s, transform .8s ease .5s;
}
.hero-sub.in { opacity: 1; transform: translateY(0); }

.hero-ctas {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease .65s, transform .8s ease .65s;
}
.hero-ctas.in { opacity: 1; transform: translateY(0); }

.hero-bullets {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease .8s, transform .8s ease .8s;
}
.hero-bullets.in { opacity: 1; transform: translateY(0); }
.hero-bullets li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); font-family: var(--mono); }
.hero-bullets li::before {
  content: "✓";
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 700;
}

/* Right: terminal-ish status card */
.hero-right {
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  position: relative;
  color: #e8e6df;
  border: 1px solid rgba(10,10,10,0.08);
  box-shadow: 0 24px 48px -16px rgba(10,10,10,0.25), 0 1px 0 rgba(255,255,255,0.05) inset;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
}
.hr-titlebar {
  background: rgba(255,255,255,0.04);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hr-dots { display: flex; gap: 6px; }
.hr-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hr-dots span:first-child { background: #ff5a36; }
.hr-dots span:nth-child(2) { background: #ffbe2e; }
.hr-dots span:nth-child(3) { background: #28c941; }
.hr-titlebar .ttl { font-size: 11.5px; color: rgba(255,255,255,0.5); letter-spacing: .04em; }

.hr-body { padding: 22px 20px 24px; }

.hr-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  padding: 8px 0;
  gap: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.hr-row:last-child { border-bottom: none; }
.hr-key { color: rgba(255,255,255,0.45); }
.hr-val { color: #f4f1ea; }
.hr-badge {
  font-size: 10.5px;
  padding: 3px 8px;
  background: rgba(40,201,65,0.14);
  color: #5be878;
  border-radius: 4px;
  letter-spacing: .03em;
}
.hr-badge.warn { background: rgba(255,190,46,0.14); color: #ffce63; }
.hr-badge.err { background: rgba(255,90,54,0.14); color: #ff8366; }

.hr-section-title {
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 16px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hr-section-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }

.hr-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
  margin: 14px 0 4px;
}
.hr-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(255,90,54,0.4));
  border-radius: 2px;
  transition: height .8s cubic-bezier(.2,.7,.2,1);
}

.hr-prompt {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.06);
}
.hr-prompt::before { content: "$ "; color: var(--accent); }

/* Neutral index chip used on hero capability rows (replaces "OK" badge) */
.hr-badge.idx {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2px 7px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

/* Multi-line CLI transcript in the hero terminal — chained typing via motion.js */
.hr-script {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.hr-script .hr-line {
  color: rgba(255,255,255,0.72);
  white-space: pre;
  min-height: 1.7em;
}
.hr-script .hr-line.cmd { color: rgba(255,255,255,0.95); }
.hr-script .hr-line.cmd::before { content: "$ "; color: var(--accent); }
.hr-script .hr-line.ok { color: #5be878; }
.cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* =============== System art frame =============== */
/* Holds the abstract system/architecture SVGs (assets/system/*). The SVG
   cover-fills via .media-img; subtle inner glow + 1px rule keeps it premium. */
.sys-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--bg-2);
  box-shadow: 0 1px 0 #ffffff inset, 0 24px 48px -28px rgba(10,10,10,0.18);
}
.sys-art .corner-tag {
  position: absolute;
  left: 16px; top: 16px;
  background: rgba(10,10,10,0.78);
  color: #fff;
  padding: 6px 10px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* =============== Logos marquee =============== */
/* Continuous left-scrolling stack of brand marks. Items are duplicated in
   HTML; translate -50% wraps seamlessly. Hover pauses; edge gradients fade
   the cut so the loop never reads as a hard reset. */
.logos-band {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0 32px;
  overflow: hidden;
  position: relative;
}
.logos-band .label {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.logos-band::before,
.logos-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.logos-band::before { left: 0;  background: linear-gradient(to right, var(--bg-2), rgba(255,255,255,0)); }
.logos-band::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), rgba(255,255,255,0)); }

.logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logosRoll 60s linear infinite;
}
.logos-band:hover .logos-track { animation-play-state: paused; }
@keyframes logosRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  display: inline-flex;
  align-items: center;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity .2s ease, transform .2s ease;
  color: var(--ink);
}
.logo-item:hover { opacity: 1; transform: translateY(-1px); }
/* Force monochrome for marquee uniformity — simple-icons SVGs are already
   ink-coloured (#0a0a0a), but devicon assets ship in brand colour. */
.logo-item img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0);
}

/* =============== Section =============== */
.section { padding: 100px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 16px;
}
.section-head h2 .accent { color: var(--accent); }
.section-head .lede {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 20px;
  max-width: 56ch;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =============== Services Grid =============== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
/* 5 capability cards: top row of 3, bottom row of 2, all flush via the
   1px-rule gap so the divided-panel aesthetic is preserved. */
.svc-grid .svc-card:nth-child(1),
.svc-grid .svc-card:nth-child(2),
.svc-grid .svc-card:nth-child(3) { grid-column: span 2; }
.svc-grid .svc-card:nth-child(4),
.svc-grid .svc-card:nth-child(5) { grid-column: span 3; }
.svc-card {
  background: var(--bg-2);
  padding: 36px 32px 32px;
  position: relative;
  transition: background .25s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.svc-card:hover { background: #fcfbf8; }
.svc-card .corner-mark {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
}
.svc-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg);
  margin-bottom: 24px;
  position: relative;
}
.svc-icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.svc-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.svc-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 42ch; }
.svc-meta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  border-top: 1px dashed var(--rule);
  margin-top: 28px;
}
.svc-meta .go {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease, gap .2s ease;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 13px;
}
.svc-card:hover .go { color: var(--accent); gap: 10px; }

/* =============== Process (terminal style) =============== */
.process {
  background: var(--bg-dark);
  color: #e8e6df;
}
.process .section-head .label { color: rgba(255,255,255,0.5); }
.process .section-head h2 { color: #fff; }
.process .section-head .lede { color: rgba(255,255,255,0.65); }

.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.proc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.proc-card:hover { border-color: rgba(255,90,54,0.35); transform: translateY(-3px); }
.proc-card .step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: .12em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proc-card .step-num::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,90,54,0.18);
}
.proc-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #fff;
}
.proc-card p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.proc-card .terminal {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.proc-card .terminal .cmt { color: rgba(255,255,255,0.4); }
.proc-card .terminal .acc { color: var(--accent-2); }
.proc-card .terminal .ok { color: #5be878; }

/* =============== CTA =============== */
.cta-big {
  padding: 120px 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-big::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255,90,54,0.15), transparent 60%),
    radial-gradient(ellipse at 20% 60%, rgba(255,90,54,0.08), transparent 60%);
  pointer-events: none;
}
.cta-big .wrap { position: relative; z-index: 1; text-align: center; }
.cta-big h2 {
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 16px auto 0;
  max-width: 16ch;
}
.cta-big h2 .accent { color: var(--accent); }
.cta-big p {
  max-width: 50ch;
  margin: 24px auto 40px;
  color: rgba(255,255,255,0.7);
  font-size: 17px;
}
.cta-big .label { color: rgba(255,255,255,0.55); justify-content: center; display: flex; }

/* =============== Footer =============== */
.footer {
  background: var(--bg);
  padding: 80px 0 32px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand p {
  margin-top: 16px;
  max-width: 36ch;
  color: var(--ink-mute);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}

/* =============== Generic page head =============== */
.pagehead {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.pagehead h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 18ch;
  margin-top: 20px;
}
.pagehead h1 .accent { color: var(--accent); }
.pagehead .lede {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

/* =============== Responsive =============== */
@media (max-width: 1180px) {
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc-card:nth-child(n) { grid-column: auto; }
  .proc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
