/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --pitch: #0f0f0d;
  --slate: #2c3e50;
  --teal:  #3E6B7F;
  --bone:  #f2ede4;
  --stone: #8c8c84;
  --chalk: #ffffff;
  --rule:  #e0dbd2;
  --rule-dark: rgba(255,255,255,0.07);

  --f-d: 'Syne', sans-serif;
  --f-b: 'DM Sans', sans-serif;
  --f-m: 'Space Mono', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bone);
  color: var(--pitch);
  font-family: var(--f-b);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.wrap {
  max-width: min(1200px, 100%);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type { border-bottom: none; }

.eyebrow {
  font-family: var(--f-m);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--stone); display: block; margin-bottom: 20px;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 52px;
  background: var(--pitch);
  border-bottom: 1px solid var(--rule-dark);
  display: flex; align-items: center;
  padding: 0 var(--pad);
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--f-d); font-size: 16px; font-weight: 800;
  letter-spacing: -0.5px; color: var(--chalk);
  text-decoration: none; display: flex; align-items: baseline;
}
.nav-logo .von { color: rgba(255,255,255,0.28); font-weight: 400; }
.nav-logo .stu {
  font-family: var(--f-m); font-size: 8px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.16);
  margin-left: 10px; align-self: center;
}

.nav-cta {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--chalk);
  text-decoration: none; padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--teal); border-color: var(--teal); }
.nav-cta:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: 52px; /* nav height */
  background: var(--pitch);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Animated grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridshift 28s linear infinite;
}
@keyframes gridshift {
  to { background-position: 56px 56px; }
}

/* Ambient "KS" letterform */
.hero-bg-num {
  position: absolute;
  right: -0.04em; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-d); font-weight: 800;
  font-size: clamp(260px, 38vw, 540px);
  color: rgba(255,255,255,0.025);
  line-height: 1; letter-spacing: -0.05em;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}

/* Teal vertical accent */
.hero-accent {
  position: absolute; left: var(--pad); top: 52px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--teal) 45%, transparent 100%);
  opacity: 0.3;
}

/* ── Inner layout: CSS grid with heading zone expanding to fill space ── */
.hero-inner {
  flex: 1;
  position: relative; z-index: 1;
  max-width: min(1200px, 100%); margin: 0 auto; width: 100%;
  padding: 52px var(--pad) 44px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

/* Row 1 — eyebrow */
.hero-cat {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
  animation: fadeup 0.9s var(--ease) 0.05s both;
}
.hero-cat::before {
  content: '';
  width: 20px; height: 1px; background: var(--teal); flex-shrink: 0;
}

/* Row 2 — heading zone (1fr): heading anchors to the bottom of this zone */
.hero-h1 {
  font-family: var(--f-d);
  font-size: clamp(64px, 13vw, 210px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--chalk);
  align-self: end;
  padding-bottom: clamp(20px, 2.5vh, 36px);
  animation: fadeup 0.9s var(--ease) 0.18s both;
}
.hero-h1 .line2 {
  display: block;
  color: rgba(255,255,255,0.1);
  -webkit-text-stroke: 1px rgba(255,255,255,0.18);
}

/* Row 3 — rule */
.hero-divider {
  width: 100%; height: 1px;
  background: var(--rule-dark);
  animation: fadeup 0.9s var(--ease) 0.3s both;
}

/* Row 4 — CTA row */
.hero-bottom-row {
  padding-top: clamp(20px, 2.5vh, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeup 0.9s var(--ease) 0.4s both;
}

.hero-sub {
  font-family: var(--f-b);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--f-m); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--pitch);
  background: var(--chalk); text-decoration: none;
  padding: 16px 28px; display: inline-block;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--teal); color: var(--chalk); }
.btn-primary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.btn-ghost {
  font-family: var(--f-m); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  text-decoration: none; padding: 16px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.65); }
.btn-ghost:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Stats bar */
.hero-stats {
  position: relative; z-index: 1;
  border-top: 1px solid var(--rule-dark);
  display: grid; grid-template-columns: repeat(3, 1fr);
  flex-shrink: 0;
}
.hs-item {
  padding: 18px var(--pad);
  border-right: 1px solid var(--rule-dark);
  display: flex; flex-direction: column; gap: 5px;
}
.hs-item:last-child { border-right: none; }
.hs-label {
  font-family: var(--f-m); font-size: 8px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.16);
}
.hs-val {
  font-family: var(--f-b); font-size: 13px;
  color: rgba(255,255,255,0.38); font-weight: 400;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ══════════════════════════════════════
   WHAT WE ARE
══════════════════════════════════════ */
.what-statement {
  font-family: var(--f-d);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800; letter-spacing: -2px; line-height: 1.0;
  color: var(--pitch); margin-bottom: 28px;
}

.what-scarcity {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--stone);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.what-scarcity::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.what-body {
  font-family: var(--f-b); font-size: 18px; font-weight: 400;
  line-height: 1.8; color: var(--pitch);
  max-width: 680px; margin-bottom: 16px;
}
.what-body strong { font-weight: 600; }
.what-body.muted { color: var(--stone); }

/* ══════════════════════════════════════
   FIT SECTION
══════════════════════════════════════ */
.fit-section { background: var(--pitch); }
.fit-section .eyebrow { color: rgba(255,255,255,0.2); }

.fit-h {
  font-family: var(--f-d); font-size: clamp(36px, 6vw, 60px);
  font-weight: 800; letter-spacing: -2px; color: var(--chalk);
  line-height: 1.05; margin-bottom: 40px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.fit-col {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.fit-col-yes { border-left: 4px solid var(--teal); background: rgba(42,148,176,0.08); }
.fit-col-no  { border-left: 4px solid rgba(255,255,255,0.15); }

.fit-col-label {
  font-family: var(--f-m); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px; display: block;
}
.fit-col-yes .fit-col-label { color: var(--teal); }
.fit-col-no  .fit-col-label { color: rgba(255,255,255,0.3); }

.fit-item {
  font-family: var(--f-m); font-size: 14px; letter-spacing: 0.5px;
  padding: 12px 16px; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
}
.fit-col-yes .fit-item { color: rgba(255,255,255,0.85); background: rgba(48,173,206,0.12); border-color: rgba(62,107,127,0.25); }
.fit-col-no  .fit-item { color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }


/* ══════════════════════════════════════
   SYSTEM MODEL
══════════════════════════════════════ */
.system-section { background: var(--slate); }
.system-section .eyebrow { color: rgba(255,255,255,0.22); }

.sys-h {
  font-family: var(--f-d); font-size: clamp(36px, 6vw, 60px);
  font-weight: 800; letter-spacing: -2px; color: var(--chalk);
  line-height: 1.0; margin-bottom: 48px;
}

.sys-nodes {
  display: grid; grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1px;
}

.sn {
  background: var(--slate); padding: 32px 24px;
  position: relative;
}
.sn-num {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
  display: block; margin-bottom: 16px;
}
.sn-verb {
  font-family: var(--f-d); font-size: clamp(24px, 4vw, 34px);
  font-weight: 800; letter-spacing: -0.5px; color: var(--chalk);
  margin-bottom: 8px;
}
.sn-domain {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  display: block; margin-bottom: 14px;
}
.sn-body {
  font-family: var(--f-b); font-size: 15px;
  color: rgba(255,255,255,0.45); line-height: 1.75;
}
.sn.own {
  background: #1f2b38;
  border-left: 4px solid var(--teal);
}
.sn.own .sn-num { color: #d6e6f0; }
.sn.own .sn-verb { color: #ffffff; }
.sn.own .sn-domain { color: rgba(255,255,255,0.65); }
.sn.own .sn-body { color: rgba(255,255,255,0.85); }
.sn-arrow {
  display: block; text-align: center;
  font-family: var(--f-m); font-size: 10px;
  color: rgba(255,255,255,0.15); padding: 8px;
  background: rgba(255,255,255,0.02);
}

.sys-outcome {
  padding: 22px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 6px;
}
.so-label {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
}
.so-val {
  font-family: var(--f-d); font-size: clamp(15px, 3vw, 20px);
  font-weight: 700; color: var(--chalk); letter-spacing: -0.3px;
}

/* ══════════════════════════════════════
   CAPABILITIES
══════════════════════════════════════ */
.cap-intro {
  font-family: var(--f-b); font-size: 17px;
  color: var(--stone); margin-bottom: 24px; line-height: 1.7;
  max-width: 600px;
}

.cap-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; margin-bottom: 2px;
}

.cap-card {
  padding: 36px 28px;
  background: var(--chalk); border: 1px solid var(--rule);
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.cap-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.cap-card:hover { border-color: var(--slate); transform: translateY(-2px); }
.cap-card:hover::after { transform: scaleX(1); }

.cap-num {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--stone);
  display: block; margin-bottom: 20px;
}
.cap-verb {
  font-family: var(--f-d); font-size: clamp(22px, 4vw, 30px);
  font-weight: 800; letter-spacing: -0.5px; color: var(--pitch);
  margin-bottom: 8px;
}
.cap-sub {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 18px;
}
.cap-body {
  font-family: var(--f-b); font-size: 15px;
  color: var(--stone); line-height: 1.8;
}
.cap-tags {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-m); font-size: 9px;
  letter-spacing: 1.5px; color: var(--stone);
}

.cap-cta {
  padding: 24px 28px; background: var(--pitch);
  display: flex; flex-direction: column; gap: 12px;
}
.cap-cta-text {
  font-family: var(--f-b); font-size: 16px;
  color: rgba(255,255,255,0.55); line-height: 1.7;
}
.cap-cta-text strong { color: var(--chalk); font-weight: 500; }
.cap-cta-tag {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}

/* ══════════════════════════════════════
   KRAVON REDIRECT
══════════════════════════════════════ */
.kravon-section { background: var(--bone); }

.kravon-card {
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color 0.2s;
}
.kravon-card:hover { border-color: var(--slate); }

.kc-top {
  background: var(--pitch); padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.kc-label {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.22);
}
.kc-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}
.kc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); animation: pulse 2s ease-in-out infinite;
}

.kc-body {
  padding: 32px 28px;
  background: var(--chalk); border-top: none;
  display: flex; flex-direction: column; gap: 16px;
}

.kc-name {
  font-family: var(--f-d); font-size: clamp(32px, 7vw, 64px);
  font-weight: 800; letter-spacing: -2px; color: var(--pitch);
  line-height: 0.95;
}

.kc-cat {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--stone);
}

.kc-desc {
  font-family: var(--f-b); font-size: 15px; font-weight: 400;
  color: var(--stone); line-height: 1.75; max-width: 500px;
}

.kc-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-m); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--chalk);
  text-decoration: none; padding: 14px 24px;
  background: var(--pitch);
  transition: background 0.2s;
  align-self: flex-start;
}
.kc-link:hover { background: var(--teal); }
.kc-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.kc-link::after { content: ' →'; }

/* ══════════════════════════════════════
   MODEL
══════════════════════════════════════ */
.model-section { background: var(--pitch); }
.model-section .eyebrow { color: rgba(255,255,255,0.2); }

.model-h {
  font-family: var(--f-d); font-size: clamp(36px, 6vw, 60px);
  font-weight: 800; letter-spacing: -2px; color: var(--chalk);
  line-height: 1.0; margin-bottom: 48px;
}

.model-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}
.mg-cell { background: var(--pitch); padding: 28px 24px; }
.mg-num {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.18);
  display: block; margin-bottom: 12px;
}
.mg-title {
  font-family: var(--f-d); font-size: 20px; font-weight: 800;
  letter-spacing: -0.5px; color: var(--chalk); margin-bottom: 10px;
}
.mg-body {
  font-family: var(--f-b); font-size: 15px;
  color: rgba(255,255,255,0.4); line-height: 1.7;
}

.model-stmt {
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--teal);
}
.ms-text {
  font-family: var(--f-b); font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.55); line-height: 1.8;
}
.ms-text strong { font-weight: 500; color: var(--chalk); }

/* ══════════════════════════════════════
   OPERATOR NOTE
══════════════════════════════════════ */
.operator-section { background: var(--bone); }

.op-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.op-photo-wrap {
  position: sticky;
  top: 100px;
}

.op-photo {
  width: 100%;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.op-inner {
  max-width: 600px;
}

@media (max-width: 860px) {
  .op-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .op-photo-wrap {
    position: static;
    max-width: 260px;
  }
}

.op-name {
  font-family: var(--f-d); font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px; color: var(--pitch); margin-bottom: 4px;
}
.op-title {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--stone); margin-bottom: 28px;
  display: block;
}

.op-text-lg {
  font-family: var(--f-b); font-size: 20px; font-weight: 400;
  line-height: 1.75; color: var(--pitch); margin-bottom: 20px;
}
.op-text {
  font-family: var(--f-b); font-size: 17px; font-weight: 400;
  line-height: 1.8; color: var(--stone); margin-bottom: 16px;
}
.op-text.strong { color: var(--pitch); }

.op-linkedin {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 28px;
  padding: 10px 16px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--stone);
  font-family: var(--f-m); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.op-linkedin:hover { border-color: var(--pitch); color: var(--pitch); }
.op-linkedin:focus-visible { outline: 2px solid var(--pitch); outline-offset: 3px; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-section { background: var(--pitch); border-bottom: none; }
.contact-section .eyebrow { color: rgba(255,255,255,0.2); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.contact-left {
  padding-right: 64px;
}

.contact-right {
  padding: 40px 40px 40px 48px;
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.02);
}

.contact-h {
  font-family: var(--f-d); font-size: clamp(36px, 9vw, 80px);
  font-weight: 800; letter-spacing: -3px; line-height: 0.9;
  color: var(--chalk); margin-bottom: 28px;
}

.contact-sub {
  font-family: var(--f-b); font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.55); line-height: 1.7;
  max-width: 440px; margin-bottom: 36px;
}

.contact-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s, border-color 0.2s;
}
.contact-link:hover { background: rgba(255,255,255,0.07); border-color: var(--teal); }
.contact-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.cl-type {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal); min-width: 72px;
}
.cl-val {
  font-family: var(--f-b); font-size: 14px;
  color: rgba(255,255,255,0.6); font-weight: 400; flex: 1;
}
.cl-arr {
  font-family: var(--f-m); font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.contact-note {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(42,148,176,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}
.cn-label {
  font-family: var(--f-m); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 4px;
}
.cn-text {
  font-family: var(--f-b); font-size: 15px;
  color: rgba(255,255,255,0.7); line-height: 1.75;
}
.cn-items {
  margin-top: 6px; display: flex; flex-direction: column; gap: 8px;
}
.cn-row {
  font-family: var(--f-m); font-size: 13px; letter-spacing: 0.3px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  display: block;
  padding-left: 20px;
  position: relative;
}
.cn-row::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
  display: block;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--pitch);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px var(--pad);
  display: flex; flex-direction: column; gap: 20px;
}
.f-top {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-logo {
  font-family: var(--f-d); font-size: 15px; font-weight: 800;
  letter-spacing: -0.4px; color: var(--chalk);
}
.f-logo .von { color: rgba(255,255,255,0.25); font-weight: 400; }
.f-logo .stu {
  font-family: var(--f-m); font-size: 8px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.14);
  margin-left: 8px; vertical-align: middle;
}

.f-copy {
  font-family: var(--f-m); font-size: 9px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.18);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   TABLET 640px+
══════════════════════════════════════ */
@media (min-width: 640px) {
  :root { --pad: 36px; }

  .hero-bottom-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-sub { max-width: 520px; }
  .hero-actions { flex-direction: row; flex-shrink: 0; }

  .fit-grid { grid-template-columns: 1fr 1fr; }

  .sys-nodes { grid-template-columns: 1fr 1fr; }
  .sn-arrow { display: none; }

  .cap-grid { grid-template-columns: 1fr 1fr; }

  .model-grid { grid-template-columns: 1fr 1fr; }


  footer { flex-direction: row; align-items: center; }
  .f-copy { border-top: none; padding-top: 0; }
}

/* ══════════════════════════════════════
   TABLET / SMALL DESKTOP: 768px-1023px
══════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  section { padding: 64px 0; }

  /* Hero — tablet keeps grid layout, stats stay 3-col */
  .hero-h1 { font-size: clamp(64px, 11vw, 130px); }

  /* Section headings */
  .fit-h, .sys-h, .model-h {
    font-size: clamp(32px, 6vw, 52px);
    margin-bottom: 32px;
  }
  .what-statement { font-size: clamp(44px, 8vw, 72px); }
  .contact-h { font-size: clamp(36px, 8vw, 64px); }
  .contact-sub, .what-body { max-width: 100%; }

  /* Fit */
  .fit-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact — single column on tablet */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left { padding-right: 0; }
  .contact-right {
    padding: 40px 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: none;
  }
  .contact-links { gap: 12px; }
  .contact-note { padding: 16px; }
}

/* ══════════════════════════════════════
   DESKTOP 1024px+
══════════════════════════════════════ */
@media (min-width: 1024px) {
  :root { --pad: clamp(36px, 5vw, 80px); }

  section { padding: 112px 0; }

  /* Hero — desktop heading fills width naturally */

  .what-statement {
    font-size: clamp(56px, 9vw, 100px);
  }

  .contact-h {
    font-size: clamp(44px, 8vw, 80px);
  }

  .fit-h {
    font-size: clamp(40px, 6vw, 60px);
  }

  .what-inner {
    display: block;
  }

  .sys-nodes { grid-template-columns: repeat(4, 1fr); }

  .cap-grid { grid-template-columns: repeat(4, 1fr); }

  .model-grid { grid-template-columns: repeat(4, 1fr); }

  .contact-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
  }
}

/* ══════════════════════════════════════
   MOBILE: 0-768px (improved text scaling)
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Hero — phone ──
     Grid (1fr middle zone) doesn't scale down to phone because the heading
     is too short to fill it. Use plain flex-column from the top instead.
     Stats bar is pinned at the very bottom via the outer flex on .hero.     ── */
  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px var(--pad) 36px;
    gap: 0;
  }

  .hero-cat {
    margin-bottom: 20px;
  }

  .hero-h1 {
    font-size: clamp(52px, 15.5vw, 68px);
    letter-spacing: -0.025em;
    line-height: 0.9;
    align-self: auto;
    padding-bottom: 0;
  }

  .hero-divider {
    display: block;
    width: 100%; height: 1px;
    background: var(--rule-dark);
    margin: 24px 0;
    flex: none;
    align-items: unset;
  }
  /* clear any ::after from previous iteration */
  .hero-divider::after { display: none; }

  .hero-bottom-row {
    flex-direction: column;
    gap: 14px;
    padding-top: 0;
    margin-top: 0;
  }

  .hero-sub { font-size: 15px; }

  /* Stats: horizontal scroll strip — no stacking */
  .hero-stats {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hs-item {
    border-right: 1px solid var(--rule-dark);
    border-bottom: none;
    padding: 14px 20px;
    min-width: max-content;
    flex-shrink: 0;
  }
  .hs-item:last-child { border-right: none; }

  /* Section rhythm */
  section { padding: 56px 0; }

  /* Section headings — larger on mobile */
  .fit-h, .sys-h, .model-h {
    font-size: clamp(36px, 11vw, 56px);
    letter-spacing: -1.5px;
    margin-bottom: 28px;
  }

  .what-statement {
    font-size: clamp(40px, 12vw, 64px);
    line-height: 1.0;
    max-width: 100%;
  }

  /* Body text */
  .what-body {
    font-size: 17px;
    max-width: 100%;
  }

  .sn-verb { font-size: clamp(26px, 7vw, 36px); }
  .cap-verb { font-size: clamp(24px, 6vw, 32px); }
  .mg-title { font-size: 22px; }
  .kc-name  { font-size: clamp(40px, 11vw, 64px); }

  /* Card paddings */
  .cap-card { padding: 26px 20px; }
  .sn { padding: 24px 20px; }
  .mg-cell { padding: 22px 20px; }
  .kc-top { padding: 16px 20px; }
  .kc-body { padding: 26px 20px; }
  .cap-cta { padding: 22px 20px; }
  .model-stmt { padding: 20px 20px; }
  .sys-outcome { padding: 18px 20px; }
  .cap-intro { font-size: 16px; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-right {
    padding: 32px 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: none;
  }

  .contact-h {
    font-size: clamp(40px, 12vw, 64px);
    line-height: 1.0;
  }

  .contact-sub {
    max-width: 100%;
    font-size: 15px;
  }

  .contact-links {
    gap: 10px;
  }

  .contact-link {
    padding: 14px 16px;
  }

  .contact-note {
    padding: 18px 16px;
  }

  .what-inner,
  .contact-inner {
    display: block;
  }
}