:root {
  --carbon: #14282c;
  --black: #0c1d21;
  --panel: #11272b;
  --panel-soft: #183238;
  --line: rgba(245, 245, 245, 0.12);
  --line-strong: rgba(245, 245, 245, 0.2);
  --smoke: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.66);
  --dim: rgba(245, 245, 245, 0.42);
  --teal: #24484f;
  --teal-bright: #8fc1c8;
  --iron: #cf2418;
  --iron-bright: #ff4f3f;
  --amber: #d8b75c;
  --green: #8fd98b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --page-pad: clamp(16px, 4vw, 72px);
  --page-pad-wide: clamp(18px, 5vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 54% 12%, rgba(143, 193, 200, 0.12), transparent 34rem),
    linear-gradient(180deg, #173238 0%, #10252a 48%, #132c31 100%);
  color: var(--smoke);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero > *,
.section > *,
.topbar > *,
.footer > * {
  min-width: 0;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, auto) minmax(160px, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 70px;
  margin: 0;
  padding: 12px var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 40, 44, 0.86);
  backdrop-filter: blur(18px);
}

main {
  padding-top: 70px;
}

section[id] {
  scroll-margin-top: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(88, 195, 208, 0.6);
  background: rgba(36, 72, 79, 0.82);
  color: var(--smoke);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-left: 1px solid var(--line);
  color: var(--smoke);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(10px, 0.85vw, 12px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.2vw, 22px);
  min-width: clamp(78px, 7vw, 128px);
  min-height: 34px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  background: rgba(245, 245, 245, 0.045);
  color: var(--smoke);
  font-weight: 600;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:nth-child(n + 4) {
  min-width: auto;
  background: transparent;
}

.nav-links small {
  color: var(--dim);
  font-size: 11px;
  font-weight: 500;
}

.nav-links a:hover {
  background: rgba(143, 193, 200, 0.12);
  color: #ffffff;
}

.nav-links a:hover small {
  color: var(--teal-bright);
}

.topbar > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(245, 245, 245, 0.9);
  border-radius: 2px;
  background: var(--smoke);
  color: #090a09;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.button-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(245, 245, 245, 0.05);
  color: var(--smoke);
}

.button-ghost:hover {
  border-color: rgba(88, 195, 208, 0.7);
  background: rgba(30, 103, 116, 0.18);
  color: var(--smoke);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  align-items: start;
  gap: 36px;
  width: 100%;
  min-height: calc(100vh - 70px);
  margin: 0;
  padding: clamp(22px, 3vw, 44px) var(--page-pad-wide) 48px;
  border-bottom: 1px solid var(--line);
}

#hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
}

#hero-canvas {
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero-grid {
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0, rgba(245, 245, 245, 0.045) 1px, transparent 1px),
    linear-gradient(transparent 0, rgba(245, 245, 245, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 62% 42%, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: clamp(36px, 5vh, 72px);
  padding-bottom: 24px;
}

.hero-content::before {
  position: absolute;
  inset: -30px -34px -24px -34px;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(20, 40, 44, 0.92), rgba(20, 40, 44, 0.58) 58%, transparent);
}

.eyebrow,
.section-kicker,
.service-card span,
.sector-grid span,
.method-grid span,
.console-line span {
  color: var(--teal-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 600;
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 600;
  line-height: 0.95;
}

.heading-bright,
.heading-muted {
  display: inline;
}

.heading-bright {
  color: var(--smoke);
}

.heading-muted {
  color: rgba(245, 245, 245, 0.48);
}

h3 {
  margin-bottom: 12px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-metrics div {
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 29, 33, 0.5);
}

.hero-metrics dt {
  margin-bottom: 18px;
  color: var(--iron-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.hero-console {
  position: relative;
  z-index: 2;
  margin-top: clamp(180px, 24vh, 260px);
  margin-bottom: 0;
  border: 1px solid var(--line-strong);
  background: rgba(17, 39, 43, 0.9);
  box-shadow: var(--shadow);
  touch-action: none;
  user-select: none;
}

.hero-console::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: rgba(143, 193, 200, 0.28);
  opacity: 0.65;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  cursor: grab;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.hero-console.is-dragging .console-top {
  cursor: grabbing;
}

.console-top span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
}

.console-top span:first-child {
  background: var(--iron-bright);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--teal-bright);
}

.console-top p {
  margin: 0 0 0 auto;
}

.console-body {
  padding: 18px;
}

.console-line {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  min-height: 42px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
}

.console-line strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 8px;
  height: 118px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(245, 245, 245, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.signal-bars i {
  display: block;
  min-height: 14px;
  background: rgba(143, 193, 200, 0.86);
  animation: pulseBar 2.8s ease-in-out infinite;
}

.signal-bars i:nth-child(2n) {
  background: rgba(225, 93, 82, 0.86);
}

.signal-bars i:nth-child(1) { height: 34%; animation-delay: -200ms; }
.signal-bars i:nth-child(2) { height: 72%; animation-delay: -700ms; }
.signal-bars i:nth-child(3) { height: 48%; animation-delay: -1100ms; }
.signal-bars i:nth-child(4) { height: 90%; animation-delay: -400ms; }
.signal-bars i:nth-child(5) { height: 54%; animation-delay: -900ms; }
.signal-bars i:nth-child(6) { height: 80%; animation-delay: -1300ms; }
.signal-bars i:nth-child(7) { height: 42%; animation-delay: -600ms; }
.signal-bars i:nth-child(8) { height: 68%; animation-delay: -1500ms; }

.section {
  width: 100%;
  margin: 0;
  padding: 96px var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}

.section-kicker {
  color: var(--smoke);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.2vw, 16px);
}

.section-label .section-number {
  color: var(--dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.34em;
  font-weight: 500;
  line-height: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact > .eyebrow,
.system-copy > .eyebrow,
.security-band .eyebrow,
.contact-copy > .eyebrow {
  color: var(--smoke);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: none;
}

.case-study-intro .case-copy > .eyebrow.section-label {
  margin-bottom: 14px;
  color: var(--smoke);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: none;
}

.section-heading.compact > .eyebrow {
  margin-bottom: 10px;
}

.section-heading p,
.system-copy p,
.method-grid p,
.service-card p,
.sector-grid p,
.security-band p,
.contact-copy p,
.contact-note span {
  color: var(--muted);
  line-height: 1.55;
}

.service-grid,
.sector-grid,
.method-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.service-subsection {
  margin-top: clamp(54px, 7vw, 86px);
}

.service-subsection .section-heading {
  margin-bottom: 24px;
}

.service-card,
.sector-grid article,
.method-grid article {
  min-height: 270px;
  padding: 24px;
  background: var(--panel);
}

.service-card span,
.sector-grid span,
.method-grid span {
  display: inline-block;
  margin-bottom: 72px;
}

.system-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.system-copy h2 {
  max-width: 520px;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  grid-template-rows: repeat(5, 70px);
  gap: 8px;
  min-height: 390px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(17, 39, 43, 0.72);
  overflow: hidden;
}

.pipeline::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}

.node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(17, 19, 15, 0.9);
  color: var(--smoke);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-align: center;
}

.node::after {
  position: absolute;
  z-index: -1;
  content: "";
  height: 1px;
  background: rgba(143, 193, 200, 0.75);
  transform-origin: left center;
}

.node.source:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.node.source:nth-child(2) { grid-column: 1 / 3; grid-row: 3; }
.node.source:nth-child(3) { grid-column: 1 / 3; grid-row: 5; }
.node.hub {
  grid-column: 4 / 6;
  grid-row: 3;
  border-color: rgba(88, 195, 208, 0.7);
  background: rgba(30, 103, 116, 0.26);
}
.node.model {
  grid-column: 6 / 8;
  grid-row: 3;
  border-color: rgba(235, 92, 77, 0.65);
  background: rgba(161, 33, 21, 0.22);
}
.node.output:nth-last-child(3) { grid-column: 7 / 9; grid-row: 1; }
.node.output:nth-last-child(2) { grid-column: 7 / 9; grid-row: 3; }
.node.output:nth-last-child(1) { grid-column: 7 / 9; grid-row: 5; }

.sector-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sector-grid article {
  min-height: 250px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: 100%;
  min-height: calc(100svh - 70px);
  padding: clamp(56px, 7vw, 108px) var(--page-pad-wide);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(12, 29, 33, 0.18), rgba(20, 40, 44, 0.52)),
    var(--carbon);
}

.case-study:nth-of-type(even) {
  background:
    linear-gradient(90deg, rgba(20, 40, 44, 0.58), rgba(12, 29, 33, 0.2)),
    var(--carbon);
}

.case-copy {
  max-width: 620px;
}

.case-copy h2 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.25vw, 82px);
}

.case-copy p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.56;
}

.case-copy ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.case-copy li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: rgba(245, 245, 245, 0.74);
  line-height: 1.45;
}

.case-copy li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--iron-bright);
}

.case-media {
  position: relative;
  width: 100%;
  height: min(68svh, 700px);
  min-height: 430px;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: rgba(12, 29, 33, 0.58);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-media {
  background: rgba(12, 29, 33, 0.58);
}

.case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagram-media {
  display: grid;
  align-content: center;
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(18px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(143, 193, 200, 0.06), transparent),
    rgba(12, 29, 33, 0.8);
}

.diagram-media::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.diagram-stage,
.launch-core,
.launch-output,
.launch-grid div {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(245, 245, 245, 0.16);
  background: rgba(17, 39, 43, 0.88);
}

.diagram-stage {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: clamp(16px, 2vw, 24px);
}

.diagram-stage span,
.launch-core span,
.launch-output span,
.launch-grid span {
  color: var(--teal-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.diagram-stage strong,
.launch-core strong,
.launch-output strong {
  color: var(--smoke);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.08;
}

.diagram-stage small,
.launch-core small,
.launch-output small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.diagram-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.stage-wide {
  min-height: 116px;
}

.diagram-stage.accent,
.launch-core {
  border-color: rgba(255, 79, 63, 0.6);
}

.diagram-stage.output,
.launch-output {
  border-color: rgba(143, 193, 200, 0.58);
  background: rgba(24, 50, 56, 0.92);
}

.diagram-arrow {
  position: relative;
  z-index: 1;
  width: 1px;
  height: clamp(16px, 2.4vw, 28px);
  margin: -4px auto;
  background: rgba(143, 193, 200, 0.58);
}

.diagram-arrow::after {
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 1px solid rgba(143, 193, 200, 0.8);
  border-bottom: 1px solid rgba(143, 193, 200, 0.8);
  transform: translateX(-50%) rotate(45deg);
}

.creative-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr 1.1fr;
  gap: 10px;
  min-height: 84px;
}

.creative-strip i {
  display: block;
  border: 1px solid rgba(245, 245, 245, 0.14);
  background:
    linear-gradient(135deg, rgba(143, 193, 200, 0.16), rgba(255, 79, 63, 0.12)),
    rgba(17, 39, 43, 0.72);
}

.creative-strip i:nth-child(2) {
  background: rgba(175, 142, 108, 0.26);
}

.creative-strip i:nth-child(4) {
  background: rgba(255, 79, 63, 0.24);
}

.diagram-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.diagram-flow .diagram-stage {
  min-height: 148px;
}

.launch-diagram {
  grid-template-rows: auto 1fr auto;
}

.launch-core {
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(340px, 70%);
  min-height: 132px;
  margin: 0 auto;
  padding: 22px;
  text-align: center;
}

.launch-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launch-grid::before {
  position: absolute;
  inset: -26px 18%;
  z-index: -1;
  content: "";
  border: 1px solid rgba(143, 193, 200, 0.22);
}

.launch-grid div {
  display: grid;
  min-height: 92px;
  place-items: center;
  text-align: center;
}

.launch-grid div:nth-child(5),
.launch-grid div:nth-child(8) {
  border-color: rgba(255, 79, 63, 0.5);
}

.launch-output {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.method {
  padding-top: 108px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 720px;
}

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

.team-section {
  background:
    linear-gradient(180deg, rgba(143, 193, 200, 0.035), transparent 42%),
    rgba(20, 40, 44, 0.72);
}

.team-section .section-heading.compact {
  max-width: 980px;
}

.team-section h2,
.team-section p {
  overflow-wrap: break-word;
}

.team-section .section-heading.compact p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-card {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 560px;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.035), transparent),
    var(--panel);
}

.team-id {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.team-id span {
  color: var(--iron-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.team-id h3 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 58px);
}

.team-id p {
  margin: 0;
  color: var(--teal-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.team-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.team-card ul {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.team-card li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: rgba(245, 245, 245, 0.76);
  line-height: 1.42;
}

.team-card li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--iron-bright);
}

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  width: 100%;
  margin: 0;
  padding: 34px var(--page-pad-wide);
  border: 1px solid rgba(245, 245, 245, 0.16);
  background: var(--panel-soft);
}

.security-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.security-band p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: start;
  border-bottom: 0;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-note {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 44px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(245, 245, 245, 0.04);
}

.contact-note strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 39, 43, 0.86);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(245, 245, 245, 0.13);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.32);
  color: var(--smoke);
  outline: 0;
}

.contact-form input {
  height: 42px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(88, 195, 208, 0.72);
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 32px var(--page-pad-wide) 44px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

@keyframes pulseBar {
  0%,
  100% {
    transform: scaleY(0.68);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1000px) {
  :root {
    --page-pad-wide: clamp(16px, 4vw, 40px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .case-study,
  .system-section,
  .contact-section,
  .security-band,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
  }

  .hero-console {
    margin-top: 0;
    margin-bottom: 0;
  }

  .section-heading,
  .service-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }

  .case-study {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .case-media {
    height: clamp(360px, 52vw, 560px);
    min-height: 0;
  }

  .team-card {
    min-height: auto;
  }

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

  .diagram-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1001px) and (max-width: 1320px) {
  .topbar {
    grid-template-columns: minmax(190px, 0.9fr) minmax(0, auto) minmax(145px, 0.7fr);
    gap: 14px;
    padding-right: clamp(18px, 3vw, 42px);
    padding-left: clamp(18px, 3vw, 42px);
  }

  .brand small,
  .nav-links small {
    display: none;
  }

  .nav-links a {
    min-width: auto;
    padding: 0 clamp(9px, 1vw, 12px);
  }

  .topbar > .button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    white-space: nowrap;
  }
}

@media (min-width: 1001px) and (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
    gap: 24px;
  }

  h1 {
    font-size: clamp(58px, 7.2vw, 82px);
  }

  .hero-copy {
    max-width: 54ch;
  }

  .hero-console {
    margin-top: clamp(150px, 22vh, 220px);
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad-wide: 12px;
  }

  .topbar > .button {
    display: none;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .case-study {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .team-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .case-copy h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .case-copy p,
  .case-copy li {
    font-size: 16px;
  }

  .case-media {
    height: 44svh;
    min-height: 280px;
  }

  .diagram-media {
    height: auto;
    min-height: 0;
    padding: 14px;
  }

  .diagram-row,
  .diagram-flow,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .diagram-stage,
  .diagram-flow .diagram-stage,
  .launch-grid div {
    min-height: 82px;
  }

  .diagram-stage strong,
  .launch-core strong,
  .launch-output strong {
    font-size: 18px;
  }

  .creative-strip {
    min-height: 48px;
  }

  .launch-core {
    width: 100%;
    min-height: 98px;
  }

  .launch-grid::before {
    display: none;
  }

  .hero-content,
  .hero-content h1,
  .hero-copy,
  .hero-content .eyebrow {
    width: 100%;
    max-width: 100%;
  }

  .hero-name {
    display: block;
  }

  .hero-line {
    display: block;
  }

  h1 {
    font-size: clamp(34px, 9.8vw, 38px);
    line-height: 1;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 35ch;
    overflow-wrap: normal;
  }

  .hero-content .eyebrow {
    max-width: 34ch;
    line-height: 1.45;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-console {
    width: 100%;
  }

  .console-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .console-top p {
    display: none;
  }

  .hero-metrics,
  .section-heading,
  .service-grid,
  .sector-grid,
  .method-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: auto;
  }

  .section {
    padding: 72px var(--page-pad-wide);
  }

  .team-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-kicker {
    margin-bottom: 16px;
  }

  .service-card,
  .sector-grid article,
  .method-grid article,
  .team-card {
    min-height: 220px;
  }

  .team-section .section-heading.compact p:last-child,
  .team-card > p {
    font-size: 16px;
  }

  .team-section h2 {
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.05;
  }

  .team-section .section-heading.compact {
    max-width: 100%;
  }

  .service-card span,
  .sector-grid span,
  .method-grid span {
    margin-bottom: 42px;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: auto;
  }

  .node,
  .node.source:nth-child(1),
  .node.source:nth-child(2),
  .node.source:nth-child(3),
  .node.hub,
  .node.model,
  .node.output:nth-last-child(3),
  .node.output:nth-last-child(2),
  .node.output:nth-last-child(1) {
    grid-column: auto;
    grid-row: auto;
    min-height: 74px;
  }

  .security-band,
  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
