:root {
  --bg: #0e1111;
  --bg-deep: #090b0b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f1e8;
  --muted: #bdb4a7;
  --accent: #de7a31;
  --accent-soft: #f0b270;
  --cool: #90b9ba;
  --section-max: 1320px;
  --page-gutter: clamp(1rem, 2.2vw, 1.5rem);
  --page-gutter-wide: clamp(1rem, 2.8vw, 1.75rem);
  --section-space: clamp(3.5rem, 7vw, 5.25rem);
  --section-space-tight: clamp(2.75rem, 5vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-deep);
  background:
    radial-gradient(circle at 82% 16%, rgba(222, 122, 49, 0.12), transparent 28%),
    radial-gradient(circle at 10% 34%, rgba(144, 185, 186, 0.12), transparent 24%),
    linear-gradient(180deg, #0a0d0d 0%, #0e1111 38%, #111616 100%);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.35));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  background: rgba(10, 13, 13, 0.8);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - (var(--page-gutter-wide) * 2)), var(--section-max));
  margin: 0 auto;
}

.header-inner {
  min-height: clamp(76px, 8vw, 82px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.brand,
.site-nav a,
.proof-links a,
.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: clamp(12.5rem, 21vw, 18.25rem);
  height: auto;
}

.brand-name,
.brand-role {
  display: block;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-role {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.45rem);
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.26rem;
  width: 1.1rem;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  min-height: calc(100dvh - 82px);
  padding: clamp(0.45rem, 1.4vw, 0.8rem) 0 clamp(1.25rem, 2vw, 1.6rem);
  overflow: clip;
}

.hero-inner {
  width: min(calc(100% - (var(--page-gutter-wide) * 2)), calc(var(--section-max) + 100px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: clamp(35rem, calc(100svh - 82px - 0.2rem), 52rem);
  min-height: clamp(35rem, calc(100dvh - 82px - 0.2rem), 52rem);
  display: flex;
  align-items: flex-start;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  align-items: stretch;
  min-height: 100%;
  gap: clamp(0.85rem, 2.4vh, 1.8rem);
  padding: clamp(0.65rem, 1.2vw, 0.85rem) 0 0.25rem;
  text-align: left;
}

.hero-copy-primary {
  grid-row: 1;
  justify-self: start;
  align-self: start;
  max-width: 43rem;
  margin-bottom: 0;
}

.hero-copy-secondary {
  grid-row: 2;
  justify-self: center;
  width: min(100%, 46rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(0.45rem, 2vh, 1.25rem);
  text-align: center;
}

.hero-tech-stack {
  position: absolute;
  top: clamp(3.4rem, 7vh, 4.2rem);
  right: 0;
  z-index: 3;
  width: clamp(15rem, 34vw, 31rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-tech-kicker {
  color: rgba(192, 238, 245, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-tech-orbit {
  --orbit-scale: clamp(0.62rem, 0.34rem + 0.78vw, 1rem);
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  font-size: var(--orbit-scale);
}

.hero-tech-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: orbit-drift 30s linear infinite;
}

.hero-tech-ring,
.hero-tech-axis {
  fill: none;
  stroke-linecap: round;
}

.hero-tech-ring-outer {
  stroke: rgba(222, 122, 49, 0.28);
  stroke-width: 8.5;
  stroke-dasharray: 10 18;
}

.hero-tech-ring-mid {
  stroke: rgba(240, 178, 112, 0.24);
  stroke-width: 7.25;
}

.hero-tech-ring-core {
  stroke: rgba(255, 179, 71, 0.24);
  stroke-width: 6.25;
}

.hero-tech-axis {
  stroke: rgba(240, 178, 112, 0.3);
  stroke-width: 6.75;
}

.hero-tech-node-dot {
  fill: #f0b270;
  filter: drop-shadow(0 0 8px rgba(240, 178, 112, 0.82));
}

.hero-tech-node-dot-warm {
  fill: #df7d31;
  filter: drop-shadow(0 0 8px rgba(223, 125, 49, 0.78));
}

.hero-tech-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10.8em;
  padding: 1em 1em 0.95em;
  border: 1px solid rgba(240, 178, 112, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
    rgba(8, 12, 14, 0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-tech-core span {
  color: rgba(240, 206, 163, 0.8);
  font-size: 0.72em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-tech-core strong {
  display: block;
  margin-top: 0.45em;
  font-size: 1.28em;
  letter-spacing: -0.03em;
}

.hero-tech-core p {
  margin: 0.45em 0 0;
  color: var(--muted);
  font-size: 0.82em;
  line-height: 1.5;
}

.hero-tech-track {
  position: absolute;
  inset: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hero-tech-track-outer {
  animation-name: tech-orbit;
  animation-duration: 30s;
}

.hero-tech-track-mid {
  animation-name: tech-orbit-reverse;
  animation-duration: 26s;
}

.hero-tech-track-diagonal {
  animation-name: tech-orbit;
  animation-duration: 34s;
}

.hero-tech-track-slow {
  animation-duration: 34s;
}

.hero-tech-track-fast {
  animation-duration: 24s;
}

.hero-tech-track-reverse {
  animation-name: tech-orbit-reverse;
}

.hero-tech-track-outer .hero-tech-node {
  animation: tech-counter-orbit 30s linear infinite;
}

.hero-tech-track-mid .hero-tech-node {
  animation: tech-counter-orbit-reverse 26s linear infinite;
}

.hero-tech-track-diagonal .hero-tech-node {
  animation: tech-counter-orbit 24s linear infinite;
}

.hero-tech-node {
  position: absolute;
  width: 11.8em;
  padding: 0.9em 1em 0.8em;
  border: 1px solid rgba(240, 178, 112, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01)),
    rgba(8, 12, 14, 0.46);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  transform-origin: center center;
}

.hero-tech-node strong {
  display: block;
  font-size: 1.08em;
  letter-spacing: -0.02em;
}

.hero-tech-node span {
  display: block;
  margin-top: 0.3em;
  color: var(--muted);
  font-size: 0.84em;
  line-height: 1.45;
}

.hero-tech-node-top {
  top: 0.25em;
  left: 50%;
  transform: translateX(-50%);
}

.hero-tech-node-right {
  top: 4.9em;
  right: -1em;
}

.hero-tech-node-left {
  left: -1em;
  bottom: 2em;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 11rem;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 14, 0) 0%,
    rgba(9, 13, 14, 0.46) 42%,
    rgba(8, 12, 13, 0.92) 100%
  );
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.35rem, 7.3vw, 6.35rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  text-align: left;
}

h2 {
  margin: 0;
  font-size: clamp(2.05rem, 2.7vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.hero-text,
.section p,
.project-body p,
.background-list,
.contact-note,
.systems-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 39rem;
  margin: 1.45rem 0 0;
  font-size: 1.12rem;
  text-align: left;
}

.hero-text-secondary {
  margin: 0 auto 1.2rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #17100a;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.hero-signals {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.35rem;
}

.hero-signals span,
.systems-track span {
  padding: 0.55rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-transform: lowercase;
}

.hero-canvas {
  position: absolute;
  inset: -1.5rem -12vw 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.78;
}

.hero-canvas-glow {
  position: absolute;
  inset: -4% -2%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 18%, rgba(255, 179, 71, 0.14), transparent 24%),
    radial-gradient(circle at 72% 42%, rgba(223, 125, 49, 0.13), transparent 18%),
    radial-gradient(circle at 36% 74%, rgba(240, 178, 112, 0.1), transparent 20%);
  filter: blur(64px);
}

.hero-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(96rem, 132vw, 176rem);
  height: auto;
  max-width: none;
  overflow: visible;
  opacity: 0.9;
  transform: translate(-50%, -50%);
}

.pcb-grid-line,
.pcb-trace,
.pcb-trace-live,
.pcb-bus,
.pcb-branch {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pcb-board {
  fill: rgba(8, 14, 20, 0.72);
  stroke: rgba(240, 178, 112, 0.2);
  stroke-width: 2;
}

.pcb-board-inner {
  fill: rgba(9, 16, 22, 0.82);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1.5;
}

.pcb-board-bloom {
  animation: pulse-glow 4.8s ease-in-out infinite;
}

.pcb-grid-line {
  stroke: rgba(137, 106, 76, 0.22);
  stroke-width: 0.75;
}

.pcb-trace,
.pcb-branch {
  stroke: rgba(122, 94, 67, 0.5);
  stroke-width: 2.6;
}

.pcb-bus {
  stroke: rgba(240, 178, 112, 0.14);
  stroke-width: 1.3;
  stroke-dasharray: 4 16;
}

.pcb-bus.faint {
  opacity: 0.56;
}

.pcb-trace-live {
  stroke: url(#pcb-trace-gradient);
  stroke-width: 1.55;
  stroke-dasharray: 10 180;
  animation: trace-run 5.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(223, 125, 49, 0.5));
}

.trace-delay-1 { animation-delay: 0.45s; }
.trace-delay-2 { animation-delay: 0.9s; }
.trace-delay-3 { animation-delay: 1.3s; }
.trace-delay-4 { animation-delay: 1.75s; }

.section {
  position: relative;
  padding: var(--section-space) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero + .section {
  padding-top: var(--section-space-tight);
  border-top-color: rgba(114, 211, 225, 0.08);
  background: linear-gradient(
    180deg,
    rgba(8, 12, 13, 0.72) 0%,
    rgba(10, 14, 14, 0.32) 26%,
    rgba(14, 17, 17, 0) 100%
  );
}

.section-heading {
  margin-bottom: clamp(1.85rem, 4vw, 2.35rem);
  text-align: left;
}

.section h2 {
  max-width: 19ch;
  text-wrap: pretty;
}

.section-heading .eyebrow,
.section-heading p {
  text-align: left;
}

.section-heading p {
  max-width: 44rem;
  margin-top: 0.85rem;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: 2rem;
  align-items: start;
}

.work-intro {
  padding-top: 1rem;
}

.work-intro p {
  max-width: 26rem;
  margin: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.5rem;
}

.work-grid > div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reality-strip,
.systems-track {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.reality-strip {
  margin-top: 1.8rem;
}

.reality-strip span {
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.9rem;
}

.projects-list {
  margin-top: 0.8rem;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(4rem, 5rem) minmax(0, 1fr) minmax(9rem, 12rem);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.project-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-kicker {
  color: var(--accent-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.project-note {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.proof-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
  align-items: stretch;
}

.proof-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(15rem, 30vw, 17rem);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.015)),
    rgba(8, 11, 11, 0.9);
}

.proof-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(144, 185, 186, 0.08), transparent 30%),
    linear-gradient(315deg, rgba(222, 122, 49, 0.09), transparent 32%);
  pointer-events: none;
}

.proof-panel-software {
  grid-row: span 2;
  min-height: clamp(30rem, 48vw, 37rem);
}

.proof-meta,
.proof-caption,
.surface-frame,
.hardware-frame,
.bench-frame,
.bench-photo {
  position: relative;
  z-index: 1;
}

.proof-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-caption {
  margin: 1rem 0 0;
  max-width: none;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.82;
}

.proof-caption p {
  margin: 0;
}

.proof-caption p + p {
  margin-top: 0.95rem;
}

.proof-panel-software .proof-caption {
  margin-top: 1rem;
}

.surface-frame,
.hardware-frame,
.bench-frame,
.bench-photo {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 12, 0.9);
}

.surface-frame {
  min-height: clamp(25rem, 48vw, 30rem);
  overflow: hidden;
}

.surface-frame::after,
.hardware-frame::after,
.bench-frame::after,
.bench-photo::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  opacity: 0.28;
  transform: translateY(-150%);
  animation: panel-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

.surface-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.2rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.surface-dots {
  display: flex;
  gap: 0.42rem;
}

.surface-dots span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.surface-title {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.surface-layout {
  display: grid;
  grid-template-columns: 5.8rem 1fr;
  min-height: calc(30rem - 3.2rem);
}

.surface-rail {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.surface-main {
  padding: 1rem;
}

.surface-status {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.status-pill {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill-live {
  border-color: rgba(222, 122, 49, 0.28);
  color: var(--accent-soft);
}

.surface-wave {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 0.6rem;
  min-height: 10rem;
  margin-top: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.surface-wave span {
  display: block;
  height: var(--bar);
  min-height: 1.4rem;
  background: linear-gradient(180deg, rgba(144, 185, 186, 0.28), rgba(222, 122, 49, 0.88));
  animation: wave-breathe 4.8s ease-in-out infinite;
}

.surface-wave span:nth-child(2n) {
  animation-delay: 0.22s;
}

.surface-wave span:nth-child(3n) {
  animation-delay: 0.46s;
}

.surface-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.surface-columns > div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.surface-label {
  color: var(--accent-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.surface-columns strong,
.bench-panel strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.surface-columns p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.hardware-frame {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  min-height: 21rem;
  padding: 1rem;
}

.hardware-stack {
  display: grid;
  gap: 0.9rem;
}

.rack-module {
  min-height: 5.15rem;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.rack-module span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rack-module strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.25rem;
}

.rack-module-accent {
  border-color: rgba(222, 122, 49, 0.28);
}

.control-map {
  width: 100%;
  height: 100%;
  min-height: 17rem;
}

.control-grid-line,
.control-trace,
.control-trace-live {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-board {
  fill: rgba(10, 18, 24, 0.72);
  stroke: rgba(120, 245, 255, 0.18);
  stroke-width: 1.5;
}

.control-board-inner {
  fill: rgba(9, 16, 22, 0.86);
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1.2;
}

.control-grid-line {
  stroke: rgba(196, 142, 85, 0.2);
  stroke-width: 1.2;
  stroke-dasharray: 4 10;
}

.control-trace {
  stroke: rgba(131, 97, 64, 0.72);
  stroke-width: 2.9;
}

.control-trace-delay {
  animation-delay: 0.38s;
}

.control-trace-delay-2 {
  animation-delay: 0.76s;
}

.control-trace-live {
  stroke: url(#control-pcb-gradient);
  stroke-width: 1.65;
  stroke-dasharray: 10 112;
  animation: trace-run 3.7s linear infinite;
  filter: drop-shadow(0 0 6px rgba(223, 125, 49, 0.68));
}

.control-chip {
  fill: rgba(13, 22, 30, 0.96);
  stroke: rgba(240, 178, 112, 0.24);
  stroke-width: 1.3;
}

.control-chip-core {
  stroke: rgba(255, 179, 71, 0.36);
}

.bench-photo {
  overflow: hidden;
}

.bench-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 23rem;
  object-fit: cover;
}

.about-photo {
  width: min(100%, 44rem);
}

.about-photo img {
  min-height: 0;
}

.about-identity-panel {
  width: min(100%, 44rem);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.015)),
    rgba(9, 12, 12, 0.88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.about-identity-panel h2 {
  width: auto;
  margin: 0.55rem 0 0;
}

.about-identity-panel p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.about-identity-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.about-identity-grid > div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-identity-grid strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
  line-height: 1.5;
}

.about-page .about-hero {
  min-height: auto;
  padding: 1.25rem 0 2rem;
  overflow: visible;
}

.about-page .hero-inner {
  width: min(calc(100% - 3rem), var(--section-max));
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 2rem;
  align-items: start;
}

.about-page .hero-copy {
  display: block;
  min-height: auto;
  padding: 0.85rem 0 0.25rem;
}

.about-page .hero-copy .hero-text {
  max-width: 42rem;
}

.about-page .hero-actions {
  justify-content: flex-start;
}

.about-page .hero-canvas {
  position: relative;
  inset: auto;
  z-index: 2;
  min-height: auto;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

.systems-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: center;
}

.systems-copy p {
  max-width: 39rem;
}

.systems-track {
  margin-top: 2rem;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.method-step {
  min-height: clamp(13.5rem, 24vw, 15rem);
  padding: 1.35rem 1.2rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    rgba(9, 12, 12, 0.85);
}

.method-index {
  color: var(--accent-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-step h3 {
  margin-top: 1.05rem;
  max-width: 12ch;
  font-size: 1.45rem;
}

.method-step p {
  margin: 0.8rem 0 0;
}

.background-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.background-proof {
  display: grid;
  gap: 1.4rem;
}

.skills-layout,
.credentials-grid {
  display: grid;
  gap: 1rem;
}

.skills-layout {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.credentials-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.skill-group,
.credential-card {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(10, 13, 13, 0.72);
}

.skill-group h3,
.credential-card h3 {
  margin: 0.45rem 0 0;
}

.skill-group p,
.credential-card p {
  margin: 0.8rem 0 0;
}

.skill-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.skill-tags span {
  padding: 0.56rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.88rem;
}

.skills-summary {
  margin-top: 1.4rem;
  max-width: 56rem;
}

.skills-summary p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.faq-item[open] {
  border-color: rgba(240, 178, 112, 0.28);
  background: rgba(255, 255, 255, 0.045);
}

.faq-item:hover {
  transform: translateY(-1px);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3.8rem 1.1rem 1.2rem;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--warm);
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
  max-width: 72ch;
}

.credential-card-wide {
  grid-column: span 2;
}

.credential-note,
.credential-detail {
  color: var(--muted);
}

.credential-detail {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.background-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.background-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.background-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-facts {
  display: grid;
  gap: 0.9rem;
}

.proof-facts > div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-facts strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.proof-links {
  display: flex;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.public-surfaces h2 {
  max-width: 18ch;
}

.proof-links a {
  color: var(--cool);
  border-bottom: 1px solid rgba(144, 185, 186, 0.35);
  padding-bottom: 0.2rem;
}

.section-contact h2 {
  max-width: 14ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
}

.contact-card-muted {
  opacity: 0.9;
}

.contact-label {
  color: var(--accent-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 1.2rem;
}

.contact-note-panel {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.contact-note-panel strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.2rem;
}

.contact-note-panel p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 0 2.5rem;
}

.footer-inner {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button,
.proof-links a,
.site-nav a,
.nav-toggle,
.contact-card,
.footer-links a,
.hero-canvas,
.method-step,
.proof-panel {
  transition:
    transform 220ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.button:hover,
.button:focus-visible,
.proof-links a:hover,
.proof-links a:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.nav-toggle:focus-visible {
  outline: 1px solid rgba(240, 178, 112, 0.55);
  outline-offset: 0.22rem;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ec8a45;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.proof-panel:hover,
.proof-panel:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

@keyframes signal-trace {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes trace-run {
  from {
    stroke-dashoffset: 168;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes orbit-drift {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(4deg);
  }
}

@keyframes tech-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes tech-orbit-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes tech-counter-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes tech-counter-orbit-reverse {
  from {
    transform: rotate(-360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes panel-sweep {
  0%,
  22% {
    transform: translateY(-150%);
  }

  42% {
    transform: translateY(280%);
  }

  100% {
    transform: translateY(280%);
  }
}

@keyframes wave-breathe {
  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.82;
  }

  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@keyframes node-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.84;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.66;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .work-layout,
  .proof-stage,
  .systems-layout,
  .background-layout,
  .about-page .hero-inner {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .method-list,
  .credentials-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 1.4rem;
  }

  .section h2 {
    width: auto;
  }

  .hero-inner {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: start;
  }

  .hero-copy {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0 0.35rem;
  }

  .hero-copy-primary {
    max-width: 36rem;
  }

  .hero-copy-secondary {
    width: min(100%, 38rem);
    align-items: flex-start;
    margin-top: 0.95rem;
    text-align: left;
  }

  .hero-tech-stack {
    position: relative;
    top: auto;
    right: auto;
    width: clamp(11.5rem, 25vw, 17rem);
    justify-self: end;
    align-self: start;
    margin-top: 0.25rem;
  }

  .hero-tech-orbit {
    --orbit-scale: clamp(0.46rem, 0.2rem + 0.72vw, 0.76rem);
  }

  .hero-text-secondary {
    margin: 0 0 1.1rem;
    text-align: left;
  }

  .hero-actions,
  .hero-signals {
    justify-content: flex-start;
  }

  .systems-graphic {
    min-height: auto;
  }

  .proof-panel-software {
    grid-row: auto;
    min-height: 0;
  }

  .surface-layout,
  .hardware-frame,
  .surface-columns {
    grid-template-columns: 1fr;
  }

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

  .project-note {
    text-align: left;
  }

  .surface-rail {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .background-list {
    margin-top: 0;
  }

  .credential-card-wide {
    grid-column: auto;
  }

  .about-page .hero-copy {
    padding: 0.7rem 0 0.2rem;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-bottom: 1.2rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 9vw, 5rem);
  }

  .hero-copy-primary,
  .hero-copy-secondary,
  .hero-text {
    max-width: 100%;
  }

  .hero-copy-primary {
    width: 100%;
    align-self: flex-start;
  }

  .hero-tech-stack {
    width: min(60vw, 15.25rem);
    align-self: center;
    align-items: center;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
  }

  .hero-tech-kicker {
    align-self: center;
  }

  .hero-tech-orbit {
    --orbit-scale: clamp(0.38rem, 0.14rem + 0.95vw, 0.62rem);
  }

  .hero-copy-secondary {
    width: min(100%, 36rem);
    align-self: center;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-text-secondary {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-signals {
    justify-content: center;
  }

  .hero-canvas {
    inset: -1rem -18vw 0;
    opacity: 0.66;
  }

  .hero-graphic {
    width: 168vw;
  }

  .proof-caption {
    font-size: 1.02rem;
    line-height: 1.72;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--section-max));
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1rem 0;
  }

  .brand-mark {
    width: min(15.5rem, 72vw);
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      padding-top 180ms ease;
  }

  .site-header.nav-open .site-nav {
    max-height: 28rem;
    opacity: 1;
    pointer-events: auto;
    padding-top: 0.95rem;
  }

  .site-header.nav-open .nav-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    padding-top: 1rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 11vw, 4.5rem);
  }

  .hero-canvas {
    inset: -1rem -16vw 0;
    opacity: 0.58;
  }

  .hero-canvas-glow {
    inset: -4% -6%;
  }

  .hero-graphic {
    top: 50%;
    left: 50%;
    width: 176vw;
    opacity: 0.5;
    transform: translate(-50%, -50%);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 12rem;
  }

  .work-grid,
  .method-list,
  .skills-layout,
  .credentials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-tech-stack {
    width: min(72vw, 13.75rem);
  }

  .hero-tech-orbit {
    --orbit-scale: clamp(0.3rem, 0.1rem + 1.05vw, 0.48rem);
  }

  .hero-copy-secondary {
    width: min(100%, 32rem);
  }

  .hero-signals {
    gap: 0.55rem;
  }

  .hero-signals span,
  .systems-track span {
    font-size: 0.92rem;
  }

  .proof-meta,
  .surface-status {
    gap: 0.5rem;
  }

  .surface-frame {
    min-height: 0;
  }

  .surface-layout {
    min-height: 0;
  }

  .project-row {
    gap: 0.4rem;
  }

  .about-page .about-hero {
    padding-top: 1rem;
  }

  .about-page .hero-canvas {
    inset: auto;
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .section {
    padding: clamp(2.8rem, 12vw, 3.6rem) 0;
  }

  .brand-mark {
    width: min(14rem, 72vw);
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .hero-copy {
    gap: 0.85rem;
  }

  .hero-tech-stack {
    width: min(76vw, 12.5rem);
  }

  .hero-tech-orbit {
    --orbit-scale: clamp(0.25rem, 0.08rem + 0.95vw, 0.4rem);
  }

  .hero-canvas {
    inset: -0.75rem -28vw 0;
    opacity: 0.48;
  }

  .hero-graphic {
    width: 210vw;
  }

  .hero-tech-orbit {
    grid-template-columns: 1fr;
  }

  .proof-panel,
  .skill-group,
  .credential-card,
  .contact-card,
  .contact-note-panel,
  .method-step {
    padding: 1rem;
  }

  .proof-caption {
    font-size: 0.98rem;
    line-height: 1.66;
  }
}
