:root {
  --ink: #f2f0e8;
  --muted: #a6a196;
  --paper: #0b0b0a;
  --panel: #141413;
  --panel-2: #1b1a18;
  --line: #4b4740;
  --line-strong: #e8e1d3;
  --signal: #9fc7ff;
  --signal-dark: #14385d;
  --shadow: rgba(0, 0, 0, 0.72);
  --max: 1180px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--paper);
  background: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.85rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 10, 0.9);
  backdrop-filter: blur(12px);
  transition:
    min-height 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    box-shadow 240ms ease;
}

html.is-scrolled .site-header {
  min-height: 56px;
  border-color: rgba(159, 199, 255, 0.45);
  background: rgba(11, 11, 10, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.brand,
.site-nav,
.eyebrow,
.button,
.capability-code,
.intel-kicker,
.method-list span,
.footer-signal,
.lab-note,
.metric-row,
.metric-label,
.terminal-visual {
  font-family: var(--mono);
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.brand-case {
  display: inline;
  text-transform: none;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 43%, var(--signal) 43% 58%, transparent 58%),
    linear-gradient(0deg, transparent 43%, var(--signal) 43% 58%, transparent 58%);
  transition: transform 220ms ease, border-color 220ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  border-color: var(--signal);
  transform: rotate(90deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  font-size: 0.72rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(590px, 84svh, 820px);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/header.png");
  background-size: cover;
  background-position: center center;
  filter: saturate(0.72) contrast(1.08) brightness(0.56);
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, 0.98) 0%, rgba(11, 11, 10, 0.86) 36%, rgba(11, 11, 10, 0.32) 74%, rgba(11, 11, 10, 0.74) 100%),
    linear-gradient(0deg, rgba(11, 11, 10, 0.92) 0%, rgba(11, 11, 10, 0.12) 34%, rgba(11, 11, 10, 0.52) 100%);
}

.hero::after {
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(242, 240, 232, 0.22) 0,
    rgba(242, 240, 232, 0.22) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: overlay;
}

.hero-grid {
  width: min(var(--max), calc(100% - 2rem));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 12vh, 8.5rem) 0 clamp(3rem, 8vh, 5rem);
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--signal);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 800;
}

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

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-size: clamp(4.25rem, 14vw, 10rem);
  font-weight: 900;
  text-transform: uppercase;
}

#hero-title {
  text-transform: none;
}

#hero-title span {
  display: block;
}

#hero-title span:nth-child(2) {
  color: var(--signal);
  font-weight: 600;
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 4.25vw, 3.85rem);
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 850;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 1.6rem;
  color: var(--ink);
  font-size: clamp(1.08rem, 2.2vw, 1.48rem);
  font-weight: 700;
}

.hero-actions,
.signal-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: rgba(11, 11, 10, 0.55);
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  border-color: var(--signal);
  background: var(--signal-dark);
  box-shadow: 0 0 0 1px rgba(159, 199, 255, 0.14), 0 14px 38px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
  outline: none;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration-color: var(--signal);
  text-underline-offset: 0.35em;
}

.hero-intel {
  align-self: end;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.intel-kicker {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-intel ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-intel li {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-intel span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.brief {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #11100f 0%, #1b1a18 52%, #0b0b0a 100%);
  color: var(--ink);
}

.brief p {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.section,
.ownership-section,
.quote-section,
.signal-section {
  scroll-margin-top: 86px;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.ownership-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.ownership-copy p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.ownership-visual {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.media-parallax-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.ownership-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.08) brightness(0.82);
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.ownership-visual figcaption {
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ownership-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ownership-points article {
  display: grid;
  grid-template-rows: 4rem minmax(5.4rem, auto) 1fr;
  min-height: 300px;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.ownership-points article:nth-child(even) {
  background: var(--panel-2);
}

.ownership-points span {
  display: inline-flex;
  margin-bottom: 0;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
}

.ownership-points h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  text-transform: none;
}

.ownership-points p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability {
  display: grid;
  grid-template-rows: 4rem minmax(5.4rem, auto) 1fr;
  min-height: 330px;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.capability:nth-child(even) {
  background: var(--panel-2);
}

.capability-code {
  display: inline-flex;
  margin-bottom: 0;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 900;
}

.capability p,
.method-list p,
.signal-copy p,
.who-copy p,
.labs-hero-copy p,
.lab-case-copy p,
.lab-case-detail p,
.metric-detail,
.quote-section figcaption {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-art {
  position: relative;
  min-height: 330px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(242, 240, 232, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 240, 232, 0.04) 1px, transparent 1px),
    var(--panel);
  background-size: 38px 38px;
  overflow: hidden;
}

.quote-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.12) brightness(0.58);
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.quote-art::before {
  content: "POLICY / SYSTEM / LOSS";
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.quote-art::after {
  content: "";
  position: absolute;
  inset: 16%;
  z-index: 1;
  border: 1px dashed var(--line-strong);
  opacity: 0.35;
}

.quote-node,
.quote-line {
  position: absolute;
}

.quote-node {
  z-index: 2;
  width: 4.6rem;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  background: rgba(11, 11, 10, 0.74);
  box-shadow: 0 0 28px rgba(159, 199, 255, 0.08);
  transform: translate3d(0, calc(var(--media-y, 0px) * -0.45), 0);
  will-change: transform;
}

.node-a {
  left: 12%;
  bottom: 18%;
}

.node-b {
  right: 12%;
  top: 24%;
  background: var(--signal-dark);
}

.node-c {
  right: 20%;
  bottom: 18%;
}

.quote-line {
  z-index: 2;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left center;
}

.line-a {
  left: 28%;
  bottom: 34%;
  width: 45%;
  transform: rotate(-22deg);
}

.line-b {
  left: 31%;
  bottom: 30%;
  width: 52%;
  transform: rotate(8deg);
  opacity: 0.6;
}

.quote-section figure {
  margin: 0;
}

.quote-section blockquote {
  margin: 0 0 1.4rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3.2vw, 3rem);
  font-weight: 850;
  line-height: 1.05;
}

.quote-section figcaption {
  font-family: var(--mono);
  text-transform: uppercase;
}

.quote-endnote {
  display: block;
  padding-top: clamp(2.4rem, 6vw, 4rem);
  padding-bottom: clamp(2.6rem, 6vw, 4.5rem);
  border-top-color: var(--line);
  border-bottom: 0;
}

.quote-endnote figure {
  max-width: 900px;
  margin-left: auto;
  padding-top: 2.1rem;
  text-align: right;
}

.quote-endnote blockquote {
  position: relative;
  max-width: 860px;
  margin-left: auto;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.75vw, 1.42rem);
  font-weight: 300;
  line-height: 1.24;
}

.quote-endnote blockquote::before,
.quote-endnote blockquote::after {
  color: var(--signal);
  font-family: var(--sans);
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  font-weight: 900;
  line-height: 0;
}

.quote-endnote blockquote::before {
  content: "\201C";
  position: absolute;
  right: 0;
  top: -1.95rem;
}

.quote-endnote blockquote::after {
  content: "\201D";
  display: inline-block;
  margin-left: 0.35rem;
  vertical-align: -0.12em;
}

.quote-endnote figcaption {
  color: var(--signal);
  font-size: 0.82rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.method-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.method-list article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    border-color 220ms ease,
    padding-left 220ms ease;
}

.method-list span {
  color: var(--signal);
  font-size: 0.74rem;
  font-weight: 900;
}

.method-list h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.who-section {
  align-items: start;
}

.who-section .section-heading {
  grid-column: 2;
}

.who-section .who-copy {
  grid-column: 1;
  grid-row: 1;
}

.who-copy {
  display: grid;
  gap: 1rem;
  padding-top: 0.2rem;
}

.who-copy p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.team-section {
  scroll-margin-top: 86px;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

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

.team-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  min-height: 360px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.team-card:nth-child(even) {
  background: var(--panel-2);
}

.team-portrait {
  position: relative;
  min-height: 100%;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 34%, rgba(159, 199, 255, 0.34) 0 8%, transparent 9%),
    linear-gradient(135deg, transparent 0 45%, rgba(242, 240, 232, 0.16) 45% 46%, transparent 46% 100%),
    linear-gradient(90deg, rgba(242, 240, 232, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 34px 34px, auto;
}

.team-portrait span {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
}

.team-copy {
  padding: 1.2rem;
}

.team-copy .capability-code {
  margin-bottom: 4rem;
}

.team-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.signal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  border-top: 1px solid var(--line-strong);
}

.signal-section > div:first-child {
  grid-column: 2;
}

.signal-section .signal-copy {
  grid-column: 1;
  grid-row: 1;
}

.signal-copy {
  align-items: flex-start;
  flex-direction: column;
  max-width: 560px;
}

.signal-copy p {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.contact-intake {
  width: 100%;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.contact-intake .intel-kicker {
  margin-bottom: 0.85rem;
}

.contact-intake ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-intake li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-intake span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
}

.signal-section .button-primary {
  width: min(100%, 360px);
  min-height: 68px;
  margin-top: 0.6rem;
  padding: 1rem 1.2rem;
  gap: 0.45rem;
  justify-content: center;
  text-align: center;
  border-width: 2px;
  font-size: 0.9rem;
}

.labs-page {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.labs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  min-height: clamp(520px, 72svh, 720px);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
  border-bottom: 1px solid var(--line-strong);
}

.labs-hero h1 {
  max-width: 9.5ch;
  font-size: clamp(3.5rem, 10vw, 8.6rem);
}

.labs-hero-copy {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.labs-hero-copy strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.lab-note {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 800;
}

.lab-showcase {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.lab-case {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 1.2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}

.lab-case:last-child {
  border-bottom: 1px solid var(--line);
}

.lab-case .capability-code {
  margin-bottom: 2rem;
}

.lab-case-copy,
.lab-case-detail {
  display: grid;
  gap: 1.05rem;
  align-content: start;
}

.lab-case-copy {
  grid-column: 1;
  grid-row: 1;
}

.lab-case-detail {
  grid-column: 1;
  grid-row: 2;
}

.lab-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  align-content: center;
  gap: 0.75rem;
  min-height: 260px;
  padding: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(242, 240, 232, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 240, 232, 0.04) 1px, transparent 1px),
    var(--panel);
  background-size: 44px 44px;
  box-shadow: inset 0 0 0 1px rgba(159, 199, 255, 0.05);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.metric-row strong {
  color: var(--signal);
}

.site-matrix,
.status-board,
.flow-strip {
  margin-top: 0.85rem;
}

.site-matrix {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(11, 11, 10, 0.52);
}

.site-matrix span {
  aspect-ratio: 1;
  border: 1px solid rgba(159, 199, 255, 0.46);
  background: rgba(159, 199, 255, 0.12);
}

.site-matrix span:nth-child(3n) {
  background: var(--signal);
}

.site-matrix span:nth-child(5n) {
  background: var(--ink);
}

.bar-track {
  height: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.bar-track span {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--ink);
}

.demo-panel {
  margin-top: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(11, 11, 10, 0.72);
}

.demo-panel p,
.terminal-visual p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.radial-visual {
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
}

.memory-visual {
  align-content: center;
}

.memory-map {
  position: relative;
  min-height: 190px;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(159, 199, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(159, 199, 255, 0.08) 1px, transparent 1px),
    rgba(11, 11, 10, 0.44);
  background-size: 34px 34px;
  overflow: hidden;
}

.memory-map::before,
.memory-map::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 50%;
  height: 1px;
  background: var(--signal);
  opacity: 0.72;
}

.memory-map::after {
  left: 50%;
  right: auto;
  top: 18%;
  bottom: 18%;
  width: 1px;
  height: auto;
}

.memory-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 7.2rem;
  min-height: 2.55rem;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 19, 0.92);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.memory-node.source {
  left: 8%;
  top: 16%;
}

.memory-node.synthesis {
  right: 8%;
  top: 16%;
  color: var(--paper);
  background: var(--signal);
}

.memory-node.project {
  left: 8%;
  bottom: 16%;
}

.memory-node.private {
  right: 8%;
  bottom: 16%;
}

.radial {
  display: grid;
  place-items: center;
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--panel) 0 52%, transparent 53%),
    conic-gradient(var(--signal) var(--p), var(--line) 0);
}

.radial span {
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 900;
}

.metric-label {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.terminal-visual {
  align-content: start;
  gap: 1rem;
  color: var(--muted);
  text-transform: none;
}

.terminal-visual span {
  color: var(--signal);
}

.status-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.status-board span {
  min-height: 3rem;
  padding: 0.8rem 0.45rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.status-board span:nth-child(2) {
  color: var(--paper);
  background: var(--signal);
}

.freshness-bars {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.freshness-bars span {
  display: block;
  width: var(--w);
  height: 0.7rem;
  border: 1px solid rgba(159, 199, 255, 0.52);
  background: rgba(159, 199, 255, 0.22);
}

.freshness-bars span:first-child {
  background: var(--signal);
}

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

.flow-strip span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  padding: 0.45rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-strip span:last-child {
  border-right: 0;
  color: var(--paper);
  background: var(--signal);
}

.flow-strip span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.32rem;
  z-index: 1;
  width: 0.55rem;
  aspect-ratio: 1;
  border-top: 1px solid var(--signal);
  border-right: 1px solid var(--signal);
  background: var(--panel);
  transform: rotate(45deg);
}

.labs-contact {
  width: 100%;
}

@media (hover: hover) {
  body[data-page="home"] .capability:hover,
  body[data-page="home"] .ownership-points article:hover,
  body[data-page="home"] .team-card:hover {
    border-color: rgba(159, 199, 255, 0.58);
    background: #181817;
    transform: translateY(-4px);
  }

  body[data-page="home"] .method-list article:hover {
    padding-left: 0.55rem;
    border-color: rgba(159, 199, 255, 0.48);
  }
}

html.motion-ready body[data-page="home"] [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.82, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.motion-ready body[data-page="home"] [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: clamp(640px, 82svh, 780px);
    padding-top: clamp(4.5rem, 10vh, 6.5rem);
  }

  .hero-intel {
    max-width: 560px;
  }

  .split-section,
  .ownership-section,
  .quote-section,
  .signal-section,
  .labs-hero,
  .lab-case,
  .team-grid,
  .team-card {
    grid-template-columns: 1fr;
  }

  .ownership-points {
    grid-template-columns: 1fr;
  }

  .radial-visual {
    grid-template-columns: 1fr;
  }

  .lab-case-copy,
  .lab-case-detail,
  .lab-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .lab-case-copy,
  .lab-case-detail {
    gap: 1.15rem;
  }

  .lab-visual {
    align-self: stretch;
  }

  .who-section .section-heading,
  .who-section .who-copy,
  .signal-section > div:first-child,
  .signal-section .signal-copy {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-nav a {
    min-height: 32px;
    padding: 0 0.55rem;
    font-size: 0.68rem;
  }

  .hero-grid {
    width: min(100% - 1rem, var(--max));
    min-height: clamp(630px, 80svh, 730px);
    gap: 1.4rem;
    padding-top: 3.5rem;
    padding-bottom: 1.2rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 11, 10, 0.96) 0%, rgba(11, 11, 10, 0.74) 58%, rgba(11, 11, 10, 0.68) 100%),
      linear-gradient(0deg, rgba(11, 11, 10, 0.95) 0%, rgba(11, 11, 10, 0.24) 42%, rgba(11, 11, 10, 0.58) 100%);
  }

  h1,
  .labs-hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 14.2vw, 4.1rem);
  }

  #hero-title {
    font-size: clamp(3.2rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.85rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button,
  .signal-copy .button {
    width: 100%;
  }

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

  .capability {
    min-height: 270px;
  }

  .capability,
  .ownership-points article {
    grid-template-rows: 3rem minmax(4.6rem, auto) 1fr;
  }

  .method-list article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .method-list article p {
    grid-column: 2;
  }

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

  .team-portrait {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .team-copy .capability-code {
    margin-bottom: 2.5rem;
  }

  .quote-art {
    min-height: 230px;
  }

  .labs-page {
    width: min(100% - 1rem, var(--max));
  }

  .labs-hero {
    min-height: auto;
  }

  .lab-visual {
    min-height: 220px;
  }

  .radial {
    width: 150px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-backdrop,
  .ownership-visual img,
  .quote-art img,
  .quote-node,
  .button:hover,
  .button:focus-visible,
  .site-nav a:hover,
  .site-nav a:focus-visible,
  body[data-page="home"] .capability:hover,
  body[data-page="home"] .ownership-points article:hover,
  body[data-page="home"] .team-card:hover,
  html.motion-ready body[data-page="home"] [data-reveal],
  html.motion-ready body[data-page="home"] [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
