/* SDW IT-Services — Stylesheet v2
   System: tactical / technical. Off-white + near-black, Geist + Geist Mono,
   red as functional indicator only. No editorial italics. */

:root {
  /* Color — cooler, less warm */
  --bg: #F4F5F2;
  --bg-2: #ECEDE8;
  --surface: #FFFFFF;
  --ink: #0A0B0E;
  --ink-2: #1B1D24;
  --ink-3: #3A3D47;
  --muted: #5B6070;
  --muted-2: #8A8F9C;
  --line: rgba(10, 11, 14, 0.10);
  --line-2: rgba(10, 11, 14, 0.18);
  --line-3: rgba(10, 11, 14, 0.30);
  --red: #E0312A;
  --red-dark: #B7261F;
  --red-soft: rgba(224, 49, 42, 0.08);
  --dark: #0A0B0E;
  --dark-2: #14161B;
  --dark-3: #1F2229;
  --on-dark: #E6E7EA;
  --on-dark-2: rgba(230, 231, 234, 0.65);
  --on-dark-3: rgba(230, 231, 234, 0.40);
  --grid-dot: rgba(10, 11, 14, 0.10);
  --grid-dot-dark: rgba(230, 231, 234, 0.08);

  /* Type scale */
  --type-display-xl: clamp(60px, 8.6vw, 140px);
  --type-display-l: clamp(44px, 6vw, 96px);
  --type-display-m: clamp(36px, 4.2vw, 68px);
  --type-h1: clamp(32px, 3.4vw, 52px);
  --type-h2: clamp(26px, 2.4vw, 38px);
  --type-h3: 22px;
  --type-body-l: 18px;
  --type-body: 16px;
  --type-small: 13px;
  --type-mono: 12px;
  --type-mono-s: 11px;

  /* Spacing */
  --container: 1360px;
  --container-narrow: 1080px;
  --pad-x: clamp(24px, 4vw, 72px);
  --pad-section: clamp(96px, 11vw, 180px);

  /* Misc */
  --radius: 4px;
  --radius-sm: 2px;
  --radius-tag: 0;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }

/* Type helpers */
.mono { font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace; }

.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--type-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 0;
}
.kbd {
  font-family: "Geist Mono", monospace;
  font-size: var(--type-mono-s);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.022em; line-height: 1.04; }
p { margin: 0; }
.lead { font-size: var(--type-body-l); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.narrow { max-width: var(--container-narrow); }
section { padding-block: var(--pad-section); position: relative; }

/* Corner brackets — schematic frame */
.bracketed {
  position: relative;
}
.bracketed::before,
.bracketed::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--line-3);
  border-style: solid;
  border-width: 0;
}
.bracketed::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.bracketed::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 245, 242, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  font-family: "Geist Mono", monospace;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { background: var(--ink); color: var(--bg); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--muted);
  padding: 0 4px;
}
.lang a { color: var(--muted); padding: 6px 4px; }
.lang a.active { color: var(--ink); }
.lang a:hover { color: var(--red); }
.lang .sep { color: var(--line-2); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 16px 10px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s var(--ease);
  border: 1px solid var(--ink);
}
.nav-cta:hover { background: var(--red) !important; border-color: var(--red); }
.nav-cta::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  display: inline-block;
}
.nav-cta:hover::after { background: var(--bg); }

.menu-toggle { display: none; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(60px, 10vh, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0) 0 0 / 28px 28px,
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

/* Tactical status bar above headline */
.hero-status {
  display: flex;
  gap: 0;
  align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
}
.hero-status .seg {
  padding: 0 16px;
  border-right: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-status .seg:first-child { padding-left: 0; }
.hero-status .seg:last-child { border-right: 0; }
.hero-status .dot {
  width: 7px; height: 7px; background: var(--red);
  display: inline-block;
  animation: blink 2s steps(2) infinite;
}
.hero-status .dot.ok { background: #0BAA5C; }
@keyframes blink {
  50% { opacity: 0.25; }
}

.hero-display {
  font-family: "Geist", sans-serif;
  font-size: var(--type-display-l);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--ink);
}
.hero-display .made {
  display: inline-block;
  font-family: "Geist Mono", monospace;
  font-size: 0.28em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: middle;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  margin-left: 12px;
  position: relative;
  top: -0.12em;
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-primary::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  display: inline-block;
  transition: background 0.2s var(--ease);
}
.btn-primary:hover::after { background: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-ghost::after {
  content: "→"; font-family: inherit; font-weight: 400;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0) 0 0 / 20px 20px,
    var(--surface);
}
/* Hero atmospheric image panel */
.hero-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 56%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.28) brightness(0.58);
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 78%;
  background: linear-gradient(to right, var(--bg) 12%, transparent 100%);
  z-index: 1;
}
.hero-panel::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
}

/* Hide old boxed hero visual */
.hero-visual { display: none; }

/* Hero grid: single-column, constrained width */
.hero-grid {
  grid-template-columns: 1fr;
  max-width: 740px;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Hero capability tags */
.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-tags span {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.55);
}

/* Hero claim */
.hero-claim {
  margin-top: 14px;
  margin-bottom: 0;
  font-family: "Geist", sans-serif;
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.02em;
  padding-left: 14px;
  border-left: 2px solid var(--red);
}

/* Section and tech background images */
.section-bg,
.tech-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.section-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.06;
}
.tech-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45) saturate(0.25);
  opacity: 0.65;
  mix-blend-mode: luminosity;
}

/* Corner markers on visual frame */
.hero-visual-frame::before,
.hero-visual-frame::after,
.hero-visual-frame > .corner-tl,
.hero-visual-frame > .corner-br {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 0 solid var(--ink);
}
.hero-visual-frame::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.hero-visual-frame::after { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.hero-visual-frame > .corner-tl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.hero-visual-frame > .corner-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
/* Frame label */
.hero-visual-label {
  position: absolute;
  top: -1px;
  left: 16px;
  background: var(--bg);
  padding: 0 8px;
  transform: translateY(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.hero-visual-coords {
  position: absolute;
  bottom: -1px;
  right: 16px;
  background: var(--bg);
  padding: 0 8px;
  transform: translateY(50%);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  z-index: 2;
}

/* Hero telemetry strip (right under the hero, full width) */
.telemetry {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.telemetry .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding-block: 20px;
}
.telemetry .t-cell {
  padding: 4px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.telemetry .t-cell:last-child { border-right: 0; }
.telemetry .t-cell:first-child { padding-left: 0; }
.telemetry .t-k {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.telemetry .t-v {
  font-family: "Geist", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.telemetry .t-v .acc { color: var(--red); }

/* === SECTION HEAD === */
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-bottom: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--ink);
}
.section-head > div:first-child { min-width: 0; }
.section-head h2 {
  font-family: "Geist", sans-serif;
  font-size: var(--type-display-m);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-top: 24px;
}
.section-head h2 .acc {
  color: var(--red);
}
.section-head .meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 48px);
}
.section-head .meta p {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.6;
}

/* === CAPABILITIES === */
.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.cap {
  background: var(--surface);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  position: relative;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.25s var(--ease);
}
.cap:hover { background: var(--bg-2); }
.cap .num {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.cap h3 {
  font-family: "Geist", sans-serif;
  font-size: clamp(26px, 1.9vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 8px;
}
.cap p { color: var(--ink-2); line-height: 1.6; max-width: 40ch; font-size: 15px; }
.cap .icon {
  position: absolute;
  top: 36px; right: 36px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
}
.cap ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.cap ul li {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px 4px 0;
  margin-right: 10px;
  border-right: 1px solid var(--line);
}
.cap ul li:last-child { border-right: 0; margin-right: 0; }
.cap ul li::before {
  content: "› ";
  color: var(--red);
}

/* === HOW IT WORKS / WORKFLOW === */
.how {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-diagram {
  margin-top: 0;
  padding: clamp(32px, 4vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line-2);
  position: relative;
}
.how-diagram::before {
  content: "DIAGRAM · 04.01 · DATA FLOW";
  position: absolute;
  top: -1px; left: 24px;
  background: var(--bg-2);
  padding: 0 8px;
  transform: translateY(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line-2);
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 28px 24px 28px 20px;
  border-right: 1px solid var(--line);
}
.how-step:last-child { border-right: 0; }
.how-step .step-n {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}
.how-step h4 {
  font-family: "Geist", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: 4px;
}
.how-step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  padding-right: 12px;
}

/* === INDUSTRIES === */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.ind {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.ind:hover { background: var(--ink); color: var(--on-dark); }
.ind:hover .ind-meta { color: var(--on-dark-3); }
.ind:hover .ind-icon { border-color: rgba(255,255,255,0.18); color: var(--red); }
.ind:hover h3 { color: var(--on-dark); }
.ind-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ind h3 {
  font-family: "Geist", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: auto;
}
.ind-meta {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

/* === TECHNOLOGY (dark) === */
.tech {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 1px 1px, var(--grid-dot-dark) 1px, transparent 0) 0 0 / 28px 28px;
  pointer-events: none;
}
.tech .container { position: relative; }
.tech .section-head { border-top-color: rgba(255,255,255,0.15); }
.tech .section-head::before { background: var(--on-dark); }
.tech .section-head h2 { color: var(--on-dark); }
.tech .section-head h2 .acc { color: var(--red); }
.tech .section-head .meta { border-left-color: rgba(255,255,255,0.1); }
.tech .section-head .meta p { color: var(--on-dark-2); }
.tech .eyebrow { color: var(--on-dark-3); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
}
.pillar {
  background: var(--dark);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  border-right: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.pillar .pillar-tag {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.pillar .pillar-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--on-dark);
  margin-bottom: 4px;
}
.pillar h3 {
  font-family: "Geist", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--on-dark);
}
.pillar p {
  color: var(--on-dark-2);
  font-size: 14px;
  line-height: 1.6;
}
.pillar ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 14px;
}
.pillar ul li {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--on-dark-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255,255,255,0.08);
}
.pillar ul li:last-child { border-bottom: 0; }
.pillar ul li::after {
  content: "✓";
  color: var(--red);
  font-size: 10px;
}

/* === COMPANY === */
.company {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.company-text { display: flex; flex-direction: column; gap: 22px; }
.company-text h2 {
  font-family: "Geist", sans-serif;
  font-size: var(--type-display-m);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.company-text h2 .acc {
  color: var(--red);
}
.company-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 52ch;
}
.company-card {
  background: transparent;
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--ink);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cc-since {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.cc-since::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--red);
  display: inline-block;
}
.cc-statement {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin: 0;
}
.cc-statement .acc { color: var(--red); font-weight: 600; }
.cc-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.cc-facts span {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.cc-facts span:last-child { border-bottom: 0; }
.company-visual {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--dark);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.company-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.82) saturate(0.6);
  display: block;
}
.company-visual .cv-corner-tl,
.company-visual .cv-corner-br {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 0 solid var(--red);
  z-index: 2;
}
.company-visual .cv-corner-tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.company-visual .cv-corner-br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }
.company-visual .cv-label {
  position: absolute;
  top: -1px;
  left: 16px;
  background: var(--bg);
  padding: 0 8px;
  transform: translateY(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.company-visual .cv-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(10,11,14,0.82), rgba(10,11,14,0));
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  z-index: 2;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.stat {
  background: var(--bg-2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  justify-content: flex-start;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.stat .n {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.3vw, 28px);
  line-height: 1.02;
  color: var(--ink);
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  min-height: 2.04em;
  display: grid;
  align-content: end;
}
.stat .n .acc { color: var(--red); }
.stat .l {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 30ch;
}
.stat .tag {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat .tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  display: inline-block;
}

/* === CONTACT === */
.contact {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 1px 1px, var(--grid-dot-dark) 1px, transparent 0) 0 0 / 28px 28px;
  pointer-events: none;
}
.contact .container { position: relative; }
.contact .eyebrow { color: var(--on-dark-3); }
.contact-head {
  font-family: "Geist", sans-serif;
  font-size: var(--type-display-l);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 18ch;
  color: var(--on-dark);
}
.contact-head .acc {
  color: var(--red);
}
.contact-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
}
.contact-block {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-block .label {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-block .label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  display: inline-block;
}
.contact-block .val {
  font-family: "Geist", sans-serif;
  font-size: clamp(18px, 1.4vw, 24px);
  color: var(--on-dark);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.contact-block a.val { transition: color 0.2s var(--ease); }
.contact-block a.val:hover { color: var(--red); }

/* === FOOTER === */
.footer {
  background: var(--dark-2);
  color: var(--on-dark-2);
  padding: 32px 0 28px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links a {
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.footer-links a:last-child { border-right: 0; padding-right: 0; }
.footer-links a:hover { color: var(--red); }
.footer-copy {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* === Legal page === */
.legal {
  padding-top: 160px;
  padding-bottom: 120px;
}
.legal .container { max-width: 880px; }
.legal h1 {
  font-family: "Geist", sans-serif;
  font-size: var(--type-display-m);
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -0.035em;
}
.legal h2 {
  font-family: "Geist", sans-serif;
  font-size: 26px;
  font-weight: 500;
  margin-top: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.legal h3 { font-size: 17px; margin-top: 28px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; margin-bottom: 12px; font-size: 15px; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:hover { color: var(--red-dark); }

/* === Reveal === */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; }

/* === Image strip === */
.image-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 0;
  overflow: hidden;
}
.image-strip-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
  border-left: 1px solid var(--line-2);
}
.image-strip-grid image-slot {
  height: 320px;
  display: block;
  border-right: 1px solid var(--line-2);
}
.image-strip-label {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.image-strip-label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--red);
  display: inline-block;
}

/* Company image slot */
.company-image-slot {
  grid-column: 1 / -1;
  margin-top: 40px;
  height: 260px;
  display: block;
  border: 1px solid var(--line-2);
}

/* === Responsive === */
@media (max-width: 1100px) {
  .telemetry .container { grid-template-columns: repeat(3, 1fr); }
  .telemetry .t-cell:nth-child(4),
  .telemetry .t-cell:nth-child(5) { display: none; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { margin: 0 auto; max-width: 440px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .section-head .meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .caps { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(2n) { border-right: 0; }
  .how-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .how-diagram { padding: clamp(20px, 4vw, 40px); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .nav-links { display: none; }
  .menu-toggle {
    display: inline-flex;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--ink);
    font-family: "Geist Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    align-items: center;
    gap: 8px;
  }
  .menu-toggle .bars {
    width: 14px; height: 10px;
    display: inline-flex; flex-direction: column; justify-content: space-between;
  }
  .menu-toggle .bars span {
    height: 1.5px; background: var(--ink); width: 100%;
  }
  .nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 12px var(--pad-x) 20px;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav-open .nav-links a { padding: 14px 12px; }
}
@media (max-width: 600px) {
  section { padding-block: 64px; }
  .how-steps, .industries-grid { grid-template-columns: 1fr; }
  .company-stats { grid-template-columns: 1fr; }
  .how-diagram > svg { display: none; }
  .how-diagram { padding: 24px 20px; }
  .how-diagram::before { position: static; display: block; margin-bottom: 18px; }
  .how-steps { margin-top: 24px; }
  .how-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .how-step:last-child { border-bottom: 0; padding-bottom: 0; }
  .contact-grid { margin-top: 40px; }
  .hero-display { font-size: clamp(40px, 11vw, 76px); }
  .hero-status { flex-wrap: wrap; }
  .hero-status .seg { padding: 4px 10px 4px 0; border-right: 0; }
  .telemetry .container { grid-template-columns: 1fr 1fr; }
  .telemetry .t-cell:nth-child(3) { display: none; }
}
