:root {
  color-scheme: dark;
  --black: #000000;
  --ink: #080808;
  --panel: #111111;
  --panel-soft: #181818;
  --stone: #f0eee8;
  --white: #ffffff;
  --muted: #a9a9a3;
  --line: rgba(240, 238, 232, 0.14);
  --orange: #d65a31;
  --chrome: #b8bec9;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 142px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a:hover {
  color: var(--stone);
}

.nav-cta,
.button,
.contact-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.nav-cta,
.button.primary,
.contact-form button {
  color: var(--black);
  background: var(--stone);
}

.button.secondary {
  color: var(--stone);
  background: transparent;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px) 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6.5vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.8vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.lab-visual {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 560px;
  align-content: space-between;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 90, 49, 0.18), transparent 28%),
    linear-gradient(145deg, #171717, #050505);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lab-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 238, 232, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 238, 232, 0.065) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.visual-top,
.flow-row,
.console,
.metric-grid {
  position: relative;
  z-index: 1;
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 780;
}

.visual-top i {
  width: 46px;
  height: 16px;
  background: var(--orange);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: 10px;
  align-items: center;
}

.flow-node {
  min-height: 134px;
  padding: 16px;
  background: rgba(240, 238, 232, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-node.active {
  background: rgba(214, 90, 49, 0.14);
  border-color: rgba(214, 90, 49, 0.42);
}

.flow-node span,
.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node span {
  margin-bottom: 28px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.flow-node strong {
  margin-bottom: 8px;
}

.flow-node small {
  color: var(--muted);
  line-height: 1.4;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--orange));
}

.console {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.console p {
  margin: 0;
  color: var(--muted);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  line-height: 1.45;
}

.console b {
  color: var(--stone);
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid div {
  padding: 16px;
  background: rgba(240, 238, 232, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.86rem;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 clamp(18px, 5vw, 72px) 54px;
}

.signal-strip span {
  padding: 9px 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 720;
}

.section {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.statement {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  background: var(--stone);
  color: var(--black);
}

.statement .eyebrow {
  color: var(--orange);
}

.statement p:last-child,
.contact p {
  color: #595b5e;
  font-size: 1.08rem;
  line-height: 1.72;
}

.statement-media {
  position: relative;
  min-height: 430px;
  padding: 28px;
  background:
    radial-gradient(circle at 24% 22%, rgba(214, 90, 49, 0.18), transparent 26%),
    linear-gradient(145deg, #171717, #030303);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.statement-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 238, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 238, 232, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.media-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  transform: translate(-50%, -50%);
}

.media-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240, 238, 232, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.55);
}

.media-orbit span:nth-child(2) {
  border-color: rgba(214, 90, 49, 0.48);
  transform: rotate(52deg) scaleX(1.25);
}

.media-orbit img {
  position: relative;
  z-index: 1;
  width: 94px;
  height: auto;
}

.media-panel {
  position: absolute;
  z-index: 1;
  width: min(230px, 52%);
  padding: 14px;
  color: var(--stone);
  background: rgba(240, 238, 232, 0.08);
  border: 1px solid rgba(240, 238, 232, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.media-panel strong,
.media-panel small {
  display: block;
}

.media-panel small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.38;
}

.panel-one {
  top: 28px;
  left: 28px;
}

.panel-two {
  right: 28px;
  bottom: 28px;
}

.section-head {
  max-width: 940px;
  margin-bottom: 34px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.agent-grid article {
  min-height: 292px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agent-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 46px;
  color: var(--black);
  background: var(--stone);
  border-radius: 6px;
  font-weight: 900;
}

.agent-grid p,
.proof-list p,
.method-steps p {
  color: var(--muted);
  line-height: 1.58;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 74px);
  background: var(--stone);
  color: var(--black);
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list p {
  margin: 0;
  padding: 18px 0;
  color: #595b5e;
  border-top: 1px solid #d4d0c6;
}

.proof-list strong {
  color: var(--black);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.method-steps div {
  min-height: 230px;
  padding: 22px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.method-steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--stone);
  color: var(--black);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d4d0c6;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form button {
  color: var(--white);
  background: var(--black);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 136px;
}

@media (max-width: 1040px) {
  .hero,
  .statement,
  .split-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 16px;
  }

  .brand img {
    width: 128px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
  }

  .lab-visual {
    min-height: auto;
  }

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

  .flow-line {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

  .metric-grid,
  .agent-grid,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .statement-media {
    min-height: 360px;
  }

  .media-panel {
    width: min(210px, 62%);
  }
}
