:root {
  --black: #050806;
  --black-soft: #080d09;
  --panel: #0b120d;
  --panel-strong: #0e1710;
  --green: #b8ff32;
  --green-soft: #78d943;
  --green-deep: #1b622d;
  --white: #f3f6f2;
  --text: #c0c8c0;
  --muted: #778178;
  --line: rgba(184, 255, 50, 0.17);
  --line-soft: rgba(243, 246, 242, 0.1);
  --rail-width: 70px;
  --header-height: 78px;
  --scroll-position: 0%;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--green);
  color: var(--black);
}

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

.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;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: 0.4rem;
  background: var(--green);
  color: var(--black);
  font-weight: 800;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.content-shell {
  width: min(1240px, calc(100% - 12rem));
  margin-inline: auto;
}

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--rail-width);
  border-right: 1px solid var(--line-soft);
  background: rgba(5, 8, 6, 0.9);
  backdrop-filter: blur(14px);
}

.rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line), var(--line-soft) 45%, var(--line));
}

.rail-dot {
  position: absolute;
  top: clamp(18px, var(--scroll-position), calc(100% - 18px));
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green), 0 0 24px rgba(184, 255, 50, 0.55);
  transform: translate(-50%, -50%);
  transition: top 80ms linear;
}

.rail-brand {
  position: absolute;
  top: 104px;
  left: 14px;
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.rail-progress {
  position: absolute;
  right: 12px;
  bottom: 20px;
  display: flex;
  align-items: end;
  gap: 0.35rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.rail-progress strong {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

.rail-progress span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--rail-width);
  z-index: 70;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 8, 6, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  width: min(1540px, calc(100% - 3.5rem));
  min-height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 18px rgba(184, 255, 50, 0.04);
}

.brand > span:last-child {
  font-size: 0.88rem;
}

.identity-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 680px;
  padding: 0.52rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.identity-pill i {
  color: var(--muted);
  font-style: normal;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.7rem);
}

nav a {
  position: relative;
  padding-block: 0.5rem;
  color: #c9d0c9;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a.is-active {
  color: var(--green);
}

nav a:hover::after,
nav a:focus-visible::after,
nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 1.05rem;
  height: 1px;
  margin: 0.32rem auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 2.2rem);
  border-bottom: 1px solid var(--line-soft);
  background: var(--black);
}

#network-canvas,
.perspective-grid,
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#network-canvas {
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 76% 36%, rgba(184, 255, 50, 0.08), transparent 29%),
    linear-gradient(90deg, rgba(5, 8, 6, 0.99) 0%, rgba(5, 8, 6, 0.91) 38%, rgba(5, 8, 6, 0.34) 73%, rgba(5, 8, 6, 0.78) 100%);
}

.perspective-grid {
  z-index: -1;
  top: 52%;
  background-image:
    linear-gradient(rgba(184, 255, 50, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 50, 0.075) 1px, transparent 1px);
  background-size: 72px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 76%, transparent);
  transform: perspective(520px) rotateX(58deg) scale(1.35);
  transform-origin: center top;
  opacity: 0.48;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 2.2rem);
  flex-direction: column;
}

.identity-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(110deg, rgba(14, 23, 16, 0.98), rgba(7, 13, 9, 0.9));
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3), inset 0 0 70px rgba(184, 255, 50, 0.025);
}

.circuit {
  position: absolute;
  inset: 0 auto auto 0;
  width: 72%;
  height: 100%;
  opacity: 0.36;
}

.circuit path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1;
}

.circuit circle {
  fill: var(--green);
  filter: drop-shadow(0 0 5px var(--green));
}

.identity-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 1.6rem 2.1rem;
}

.micro-label,
.section-kicker,
.section-index,
.project-type {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.micro-label {
  margin-bottom: 0.45rem;
}

.identity-name {
  margin-bottom: 0.1rem;
  font-size: clamp(1.75rem, 3.3vw, 3.25rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.055em;
}

.identity-name span {
  color: var(--green);
}

.identity-role {
  margin: 0.65rem 0 0.75rem;
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.09em;
}

.identity-focus {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.82rem;
}

.identity-focus i {
  margin-inline: 0.3rem;
  color: var(--green);
  font-style: normal;
}

.identity-sigil {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.identity-sigil::before,
.identity-sigil::after {
  position: absolute;
  right: 0;
  width: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--green), transparent);
}

.identity-sigil::before { top: 33%; }
.identity-sigil::after { bottom: 33%; }

.sigil-ring {
  position: relative;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--black-soft);
  box-shadow: 0 0 0 10px rgba(184, 255, 50, 0.035), 0 0 42px rgba(184, 255, 50, 0.1);
}

.sigil-ring::before {
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.sigil-ring span {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.sigil-ring small {
  position: absolute;
  bottom: 13px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 1120px;
  padding-block: clamp(3.5rem, 7vh, 6rem) 2.5rem;
}

.section-kicker {
  margin-bottom: 1.3rem;
}

h1 {
  max-width: 1130px;
  margin-bottom: 1.8rem;
  font-size: clamp(4.2rem, 7.5vw, 8.2rem);
  font-weight: 820;
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.outline-text {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--green);
  text-stroke: 2px var(--green);
  filter: drop-shadow(0 0 24px rgba(184, 255, 50, 0.06));
}

.hero-summary {
  max-width: 700px;
  margin-bottom: 1.8rem;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-solid {
  background: var(--green);
  color: var(--black);
}

.button-solid:hover {
  background: #d0ff6e;
}

.button-outline {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.button:focus-visible,
nav a:focus-visible,
.brand:focus-visible,
.contact-action a:focus-visible,
.footer-inner a:focus-visible,
summary:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.scroll-cue,
.availability {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.scroll-cue {
  color: var(--muted);
}

.scroll-cue span {
  color: var(--green);
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-transform: uppercase;
}

.availability span,
.system-state i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(184, 255, 50, 0.8);
}

.tech-ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #070b08;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 4.5rem;
  padding: 1.15rem 2.25rem;
  animation: ticker 34s linear infinite;
}

.ticker-track span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.73rem;
  white-space: nowrap;
}

.ticker-track b {
  color: var(--green);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  padding-block: clamp(6rem, 10vw, 10rem);
  border-bottom: 1px solid var(--line-soft);
  background: var(--black);
}

.section-raised {
  background: var(--black-soft);
}

.section-heading {
  max-width: 1050px;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.section-index {
  margin-bottom: 1.2rem;
}

.section h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-note {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 1rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(3rem, 9vw, 9rem);
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
}

.about-lead p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.5rem, 2.65vw, 2.55rem);
  font-weight: 580;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.about-detail p {
  color: var(--text);
}

.about-detail p:last-child {
  margin-bottom: 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.principle-grid article {
  min-height: 240px;
  padding: 1.6rem 1.5rem 2rem;
  border-right: 1px solid var(--line-soft);
}

.principle-grid article:first-child {
  border-left: 1px solid var(--line-soft);
}

.principle-grid article > span,
.skill-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.principle-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.skills-list {
  border-top: 1px solid var(--line-soft);
}

.skill-row {
  display: grid;
  grid-template-columns: 90px minmax(190px, 0.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 180ms ease, background 180ms ease;
}

.skill-row:hover {
  padding-inline: 1.2rem;
  background: rgba(184, 255, 50, 0.025);
}

.skill-number {
  margin: 0;
}

.skill-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.skill-row p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text);
}

.learning-path {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border: 1px solid rgba(184, 255, 50, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(184, 255, 50, 0.12), rgba(184, 255, 50, 0.02));
}

.learning-path h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.learning-path ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-path li {
  min-height: 96px;
  padding: 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.55rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.learning-path li span {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.63rem;
}

.lab-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(184, 255, 50, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 50, 0.025) 1px, transparent 1px),
    var(--black-soft);
  background-size: 32px 32px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.console-topbar {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1.35rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.system-state {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
}

.system-state i {
  display: block;
}

.lab-map {
  position: relative;
  height: 590px;
}

.lab-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-link {
  fill: none;
  stroke: rgba(184, 255, 50, 0.44);
  stroke-width: 1.5;
  stroke-dasharray: 7 11;
  animation: dash 14s linear infinite;
}

.map-link.faint {
  stroke: rgba(184, 255, 50, 0.13);
  stroke-dasharray: 3 14;
}

.map-pulse {
  fill: rgba(184, 255, 50, 0.018);
  stroke: rgba(184, 255, 50, 0.22);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulse 3.2s ease-in-out infinite;
}

.map-core {
  fill: var(--green);
}

.map-endpoint {
  fill: #82bc41;
  filter: drop-shadow(0 0 6px rgba(184, 255, 50, 0.52));
}

@keyframes dash {
  to { stroke-dashoffset: -180; }
}

@keyframes mapPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1); }
}

.map-node {
  position: absolute;
  display: flex;
  min-width: 184px;
  flex-direction: column;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.6rem;
  background: rgba(7, 12, 8, 0.93);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.32);
}

.map-node span {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.map-node b {
  font-size: 0.86rem;
}

.map-node small {
  color: var(--muted);
  font-size: 0.67rem;
}

.node-core {
  top: 50%;
  left: 50%;
  min-width: 230px;
  border-color: rgba(184, 255, 50, 0.42);
  text-align: center;
  transform: translate(-50%, -50%);
}

.node-remote { top: 13%; left: 12%; transform: translate(-50%, -50%); }
.node-archive { top: 13%; right: 12%; transform: translate(50%, -50%); }
.node-clients { bottom: 12%; left: 12%; transform: translate(-50%, 50%); }
.node-services { right: 12%; bottom: 12%; transform: translate(50%, 50%); }

.console-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
}

.console-stats div {
  padding: 1.15rem 1.3rem;
  border-right: 1px solid var(--line-soft);
}

.console-stats div:last-child {
  border-right: 0;
}

.console-stats span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

.console-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.project-list {
  border-top: 1px solid var(--line-soft);
}

.project-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1.15fr) minmax(290px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 180ms ease, background 180ms ease;
}

.project-row:hover {
  padding-inline: 1.25rem;
  background: rgba(184, 255, 50, 0.025);
}

.project-id span,
.project-id b {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.project-id span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.project-id b {
  color: var(--green);
  font-size: 1.25rem;
}

.project-type {
  margin-bottom: 0.75rem;
  font-size: 0.63rem;
}

.project-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.2vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-copy > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--text);
}

.project-evidence {
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-evidence li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.77rem;
}

.project-evidence li:last-child {
  border-bottom: 0;
}

.project-evidence span {
  display: inline-block;
  min-width: 94px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-list {
  border-top: 1px solid var(--line-soft);
}

.case-list details {
  border-bottom: 1px solid var(--line-soft);
}

.case-list summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 100px 28px;
  gap: 1rem;
  align-items: center;
  min-height: 92px;
  cursor: pointer;
  list-style: none;
}

.case-list summary::-webkit-details-marker {
  display: none;
}

.case-id,
.case-state {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.case-id {
  color: var(--muted);
}

.case-title {
  font-size: 1.05rem;
  font-weight: 750;
}

.case-state {
  color: var(--green);
}

.case-toggle {
  color: var(--muted);
  font-size: 1.4rem;
  text-align: right;
  transition: color 160ms ease, transform 160ms ease;
}

details[open] .case-toggle {
  color: var(--green);
  transform: rotate(45deg);
}

.case-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 0 0 2.25rem 118px;
}

.case-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.case-body b {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 10vw, 10rem);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 78% 42%, rgba(184, 255, 50, 0.11), transparent 27%),
    linear-gradient(120deg, #091009, var(--black));
}

.contact::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(184, 255, 50, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 50, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.contact h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green);
  text-stroke: 1.5px var(--green);
}

.contact-action > p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.contact-action a {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 1.25rem 3.5rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(184, 255, 50, 0.035);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.contact-action a:hover {
  background: rgba(184, 255, 50, 0.08);
  transform: translateY(-3px);
}

.contact-action a span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-action a b {
  overflow-wrap: anywhere;
  font-size: clamp(0.92rem, 1.6vw, 1.15rem);
}

.contact-action a i {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  color: var(--green);
  font-size: 1.4rem;
  font-style: normal;
  transform: translateY(-50%);
}

footer {
  background: #030503;
}

.footer-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--green);
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1320px) {
  .identity-pill {
    display: none;
  }

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

@media (max-width: 1100px) {
  .content-shell {
    width: min(100% - 7rem, 1120px);
  }

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

  .project-evidence {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .project-evidence li {
    border: 1px solid var(--line-soft);
    border-radius: 0.45rem;
    padding: 0.75rem;
  }

  .project-evidence span {
    display: block;
    margin-bottom: 0.35rem;
  }

  .learning-path {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --rail-width: 0px;
    --header-height: 68px;
  }

  .side-rail {
    display: none;
  }

  .site-header {
    left: 0;
  }

  .header-inner {
    width: min(100% - 1.5rem, 760px);
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 8, 6, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
  }

  nav a:last-child {
    border-bottom: 0;
  }

  nav a::after {
    display: none;
  }

  .content-shell {
    width: min(100% - 3rem, 780px);
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .identity-banner {
    grid-template-columns: minmax(0, 1fr) 155px;
  }

  .section-heading.split,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .principle-grid article:nth-child(3),
  .principle-grid article:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .principle-grid article:nth-child(3) {
    border-left: 1px solid var(--line-soft);
  }

  .learning-path ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .lab-map {
    height: 520px;
  }

  .map-node {
    min-width: 158px;
    padding: 0.65rem 0.75rem;
  }

  .node-core {
    min-width: 200px;
  }
}

@media (max-width: 680px) {
  .content-shell {
    width: min(100% - 1.5rem, 620px);
  }

  .brand > span:last-child {
    font-size: 0.8rem;
  }

  .identity-banner {
    min-height: 234px;
    grid-template-columns: minmax(0, 1fr) 110px;
  }

  .identity-copy {
    padding: 1.25rem;
  }

  .identity-name {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .identity-focus {
    max-width: 260px;
    font-size: 0.72rem;
  }

  .identity-sigil {
    align-self: start;
    padding-top: 1.25rem;
  }

  .sigil-ring {
    width: 82px;
    height: 82px;
  }

  .sigil-ring span {
    font-size: 1.25rem;
  }

  .sigil-ring small {
    bottom: 7px;
    font-size: 0.5rem;
  }

  .circuit {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 62%;
  }

  .hero-copy {
    padding-block: 3.2rem 2rem;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
    line-height: 0.92;
  }

  .outline-text {
    -webkit-text-stroke-width: 1.4px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-footer {
    align-items: flex-start;
  }

  .availability {
    max-width: 190px;
    text-align: right;
    line-height: 1.45;
  }

  .section-heading,
  .section-heading.split {
    margin-bottom: 3.5rem;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(2.65rem, 12vw, 4.1rem);
  }

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

  .principle-grid article,
  .principle-grid article:first-child,
  .principle-grid article:nth-child(3) {
    min-height: 0;
    border-inline: 1px solid var(--line-soft);
    border-top: 1px solid var(--line-soft);
  }

  .principle-grid article > span {
    margin-bottom: 1.8rem;
  }

  .skill-row {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
  }

  .skill-row p {
    grid-column: 2;
  }

  .learning-path ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-map {
    display: grid;
    height: auto;
    gap: 0.7rem;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .lab-map svg {
    display: none;
  }

  .map-node,
  .node-core,
  .node-remote,
  .node-archive,
  .node-clients,
  .node-services {
    position: static;
    min-width: 0;
    transform: none;
    text-align: left;
  }

  .node-core {
    order: -1;
  }

  .console-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .console-stats div:nth-child(2) {
    border-right: 0;
  }

  .console-stats div:nth-child(3),
  .console-stats div:nth-child(4) {
    border-top: 1px solid var(--line-soft);
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 2.5rem;
  }

  .project-evidence {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .case-list summary {
    grid-template-columns: 78px minmax(0, 1fr) 24px;
    min-height: 80px;
  }

  .case-state {
    display: none;
  }

  .case-body {
    grid-template-columns: 1fr;
    padding: 0 0 1.8rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding-block: 1.25rem;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
