/* ==========================================================================
   KraftSoft — landing page styles
   Dark technical base, single lime accent, Geist / Geist Mono.
   ========================================================================== */

:root {
  --ink: #090b0a;
  --ink-2: #0c0f0d;
  --panel: #111411;
  --panel-2: #151915;
  --paper: #f2f4ee;
  --body: #b4bbb3;
  --muted: #8d958c;
  --line: #232823;
  --line-2: #2f352e;
  --lime: #c8ff3d;
  --lime-soft: #d9ff6b;
  --lime-dim: rgba(200, 255, 61, 0.12);

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 60px);
  --radius: 6px;
  --section-y: clamp(72px, 9vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.03em; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

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

.shell {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- shared bits ---------------------------------------------- */

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 22px;
}

.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 76px); }

.section-head h2,
.problem-lead h2,
.about-copy h2,
.contact-inner h2 {
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.038em;
  font-weight: 500;
}

.lead-text {
  color: var(--body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  margin-top: 22px;
  max-width: 62ch;
}

.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}
.section-head-split .lead-text { margin-top: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.01em;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.button-primary {
  background: var(--lime);
  color: var(--ink);
}
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--lime-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(200, 255, 61, 0.14);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper);
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.text-link span { color: var(--lime); transition: transform 0.18s ease; }
.text-link:hover, .text-link:focus-visible { color: var(--lime); border-color: var(--lime); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(9, 11, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(9, 11, 10, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--lime);
  border-radius: 3px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
}

.desktop-nav { display: none; gap: clamp(20px, 2.6vw, 38px); }
.desktop-nav a {
  font-size: 14.5px;
  color: #b3b9b1;
  transition: color 0.18s ease;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--lime); }

.header-cta {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 11px 18px;
  font-size: 14px;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.header-cta:hover, .header-cta:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-1px);
}

/* mobile menu (no framework, native details) */
.mobile-menu { position: relative; }
.mobile-menu summary {
  list-style: none;
  display: grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu[open] summary span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] summary span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(78vw, 280px);
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.mobile-menu nav a {
  padding: 13px 12px;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--body);
}
.mobile-menu nav a:hover { background: var(--panel-2); color: var(--paper); }
.mobile-menu nav .mobile-cta {
  margin-top: 6px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 570;
  text-align: center;
}
.mobile-menu nav .mobile-cta:hover { background: var(--lime-soft); color: var(--ink); }

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

.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 78% 12%, rgba(200, 255, 61, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(200, 255, 61, 0.035), transparent 42%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 28px;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 22px rgba(200, 255, 61, 0.5);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 520;
  max-width: 15ch;
}

.hero-lede {
  color: var(--body);
  font-size: clamp(16.5px, 1.35vw, 20px);
  line-height: 1.58;
  max-width: 58ch;
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin-top: 36px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }

/* lifecycle diagram */
.lifecycle-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)),
    var(--ink-2);
  padding: clamp(22px, 2.6vw, 34px);
}
.lifecycle-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.lifecycle-track { position: relative; padding-left: 30px; }
.lifecycle-track::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), var(--lime));
}

.stage { position: relative; padding: 20px 0 22px; }
.stage + .stage { border-top: 1px solid rgba(255, 255, 255, 0.035); }

.stage-node {
  position: absolute;
  left: -30px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink);
}
.stage-gate .stage-node,
.stage-final .stage-node {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.1);
}
.stage-final .stage-node { animation: nodeGlow 3.2s ease-in-out infinite; }
@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.1); }
  50% { box-shadow: 0 0 0 9px rgba(200, 255, 61, 0.045); }
}

.stage-idx {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 7px;
}
.stage-name {
  display: block;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: -0.028em;
  color: var(--paper);
}
.stage-final .stage-name { color: var(--lime); }
.stage-note {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.gate-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px solid rgba(200, 255, 61, 0.35);
  border-radius: 3px;
  background: var(--lime-dim);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

/* ---------- problem --------------------------------------------------- */

.problem { border-top: 1px solid var(--line); background: var(--ink-2); }
.problem-inner { display: grid; gap: clamp(40px, 5vw, 70px); }
.problem-lead h2 { max-width: 18ch; }

.problem-list { display: grid; gap: 0; }
.problem-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.25s ease;
}
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list li:hover { border-top-color: var(--line-2); }

.problem-idx {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime);
  padding-top: 5px;
}
.problem-list h3 { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.028em; }
.problem-list p { color: var(--body); font-size: 15px; line-height: 1.62; max-width: 66ch; }

/* ---------- solutions ------------------------------------------------- */

.solutions { border-top: 1px solid var(--line); }
.solution-list { display: grid; gap: 18px; }

.solution {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: clamp(24px, 3vw, 40px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease, background 0.25s ease;
}
/* hidden only where scripting can reveal it again */
@media (scripting: enabled) {
  .solution.reveal { opacity: 0; transform: translateY(18px); }
  .solution.reveal.is-visible { opacity: 1; transform: none; }
}
.solution:hover { border-color: var(--line-2); background: var(--panel-2); }

.solution-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.solution-idx {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(200, 255, 61, 0.28);
  border-radius: 5px;
  background: var(--lime-dim);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.solution-head h3 {
  font-size: clamp(21px, 2.2vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.solution-meta {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.solution-body { display: grid; gap: 26px; }
.block-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.solution-block > p:not(.block-label) {
  color: var(--body);
  font-size: 15px;
  line-height: 1.62;
  max-width: 52ch;
}
.solution-deliverables ul { display: grid; gap: 9px; }
.solution-deliverables li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #cdd3ca;
}
.solution-deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 1px;
  background: var(--lime);
}

.solutions-note {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- expertise ------------------------------------------------- */

.expertise { border-top: 1px solid var(--line); background: var(--ink-2); }
.expertise-grid { display: grid; gap: 16px; }

.exp-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(22px, 2.4vw, 30px);
  background: rgba(255, 255, 255, 0.012);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.exp-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.exp-card h3 { font-size: 19px; letter-spacing: -0.03em; }
.exp-card > p { margin-top: 8px; color: var(--body); font-size: 14.5px; line-height: 1.55; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag-list li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #a9b0a7;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 9px;
  background: var(--ink);
}
.exp-wide { border-color: rgba(200, 255, 61, 0.22); background: linear-gradient(160deg, rgba(200, 255, 61, 0.05), transparent 60%); }
.exp-wide h3 { color: var(--lime); }

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

.process { border-top: 1px solid var(--line); }
.process-track { display: grid; gap: 0; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
@media (scripting: enabled) {
  .step.reveal { opacity: 0; transform: translateY(14px); }
  .step.reveal.is-visible { opacity: 1; transform: none; }
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--lime);
}
.step h3 { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.03em; }
.step p { color: var(--body); font-size: 15px; line-height: 1.6; max-width: 62ch; }

/* ---------- engagement ------------------------------------------------ */

.engagement { border-top: 1px solid var(--line); background: var(--ink-2); }
.engagement-grid { display: grid; gap: 18px; align-items: start; }

.engage {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(26px, 3vw, 42px);
  background: var(--panel);
}
.engage-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 4px 9px;
  margin-bottom: 20px;
}
.engage h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.038em; line-height: 1.12; }
.engage-lede { margin-top: 14px; color: var(--paper); font-size: 16px; line-height: 1.55; max-width: 46ch; }
.engage-note { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 52ch; }
.engage .button, .engage .text-link { margin-top: 28px; }

.check-list { display: grid; gap: 10px; margin-top: 24px; }
.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: #cdd3ca;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--lime);
  border-bottom: 1.5px solid var(--lime);
  transform: rotate(-45deg);
}

.engage-primary {
  border-color: rgba(200, 255, 61, 0.28);
  background:
    linear-gradient(165deg, rgba(200, 255, 61, 0.06), transparent 55%),
    var(--panel);
}
.engage-primary .engage-tag { color: var(--lime); border-color: rgba(200, 255, 61, 0.35); }
.engage-secondary { background: rgba(255, 255, 255, 0.014); }

/* ---------- why ------------------------------------------------------- */

.why { border-top: 1px solid var(--line); }
.why-list { display: grid; gap: 0; }
.why-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list h3 { font-size: 18px; letter-spacing: -0.03em; }
.why-list p { margin-top: 8px; color: var(--body); font-size: 14.5px; line-height: 1.6; }

/* ---------- about ----------------------------------------------------- */

.about { border-top: 1px solid var(--line); background: var(--ink-2); }
.about-inner { display: grid; gap: clamp(36px, 4vw, 64px); align-items: start; }
.about-copy p {
  margin-top: 22px;
  color: var(--body);
  font-size: clamp(15.5px, 1.1vw, 17px);
  line-height: 1.65;
  max-width: 60ch;
}

.about-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.about-facts > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.4fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.about-facts dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.about-facts dd { font-size: 15px; color: var(--paper); }

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

.contact { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.contact-inner { position: relative; text-align: center; }
.contact-inner h2 { max-width: 20ch; margin-inline: auto; }
.contact-inner .kicker { display: block; }

.contact-grid {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 220%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
}
.contact-grid i { border-left: 1px solid rgba(255, 255, 255, 0.04); }

.contact-lede {
  margin: 20px auto 0;
  max-width: 56ch;
  color: var(--body);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}
.contact-button { margin-top: 34px; }
.contact-note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.contact-meta a { color: var(--lime); transition: opacity 0.18s ease; }
.contact-meta a:hover { opacity: 0.75; }

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

.site-footer { border-top: 1px solid var(--line); padding-block: 48px; background: var(--ink); }
.footer-inner { display: grid; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 46ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-nav a { font-size: 14px; color: var(--body); transition: color 0.18s ease; }
.footer-nav a:hover { color: var(--lime); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.footer-meta a { transition: color 0.18s ease; }
.footer-meta a:hover { color: var(--lime); }

/* ---------- legal pages ----------------------------------------------- */

.legal { padding-block: clamp(56px, 7vw, 96px); }
.legal h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.038em; line-height: 1.08; }
.legal .updated { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legal h2 { font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.03em; margin-top: 44px; }
.legal p, .legal li { color: var(--body); font-size: 15.5px; line-height: 1.68; max-width: 72ch; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 1px;
  background: var(--lime);
}
.legal a { color: var(--lime); }
.legal .back { margin-top: 52px; }
.legal .back a { color: var(--paper); }
.header-cta-static { display: inline-flex; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 640px) {
  .problem-list li { grid-template-columns: 64px minmax(0, 1fr); }
  .step { grid-template-columns: 34px minmax(0, 1fr); }
}

@media (min-width: 860px) {
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp-wide { grid-column: span 2; }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .why-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .solution-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .solution-deliverables { grid-column: span 2; padding-top: 6px; border-top: 1px solid var(--line); }
  .about-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); }
  .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: start; }
  .footer-nav { justify-content: center; }
  .footer-meta { justify-content: flex-end; flex-direction: column; text-align: right; gap: 8px; }
}

@media (min-width: 1000px) {
  .desktop-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .mobile-menu { display: none; }

  .header-inner { height: 84px; }

  .hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.85fr); }

  .problem-inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .problem-lead { position: sticky; top: 112px; }

  .section-head-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; }

  .solution-body { grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.62fr) minmax(0, 1fr); gap: 40px; }
  .solution-deliverables { grid-column: auto; border-top: none; border-left: 1px solid var(--line); padding: 0 0 0 40px; }

  .engagement-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 22px; }

  .process-track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
  .step { display: block; padding: 30px 0 8px; border-top: none; }
  .step:last-child { border-bottom: none; }
  .step::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--lime);
  }
  .step-num { margin-bottom: 18px; }
  .step h3 { margin-bottom: 10px; }
  .step p { font-size: 14.5px; }
}

@media (min-width: 1200px) {
  .expertise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .exp-wide {
    grid-column: span 3;
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    column-gap: 40px;
    align-items: center;
  }
  .exp-wide h3 { grid-column: 1; grid-row: 1; align-self: end; }
  .exp-wide > p { grid-column: 1; grid-row: 2; align-self: start; }
  .exp-wide .tag-list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-content: center; }
}

/* stagger reveals */
.solution:nth-child(2) { transition-delay: 0.05s; }
.solution:nth-child(3) { transition-delay: 0.1s; }
.solution:nth-child(4) { transition-delay: 0.15s; }
.step:nth-child(2) { transition-delay: 0.06s; }
.step:nth-child(3) { transition-delay: 0.12s; }
.step:nth-child(4) { transition-delay: 0.18s; }
.step:nth-child(5) { transition-delay: 0.24s; }

/* ==========================================================================
   Motion & contrast preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .solution.reveal, .step.reveal { opacity: 1 !important; transform: none !important; }
}
