:root {
  color-scheme: dark;
  --ink: #f5f7f1;
  --muted: #b7beb0;
  --soft: #7f8979;
  --void: #030503;
  --charcoal: #0b0f0c;
  --panel: rgba(12, 18, 14, 0.62);
  --panel-strong: rgba(16, 24, 18, 0.82);
  --line: rgba(255, 255, 255, 0.14);
  --line-hot: rgba(145, 190, 0, 0.42);
  --lime: #91be00;
  --lime-bright: #c7ff2e;
  --cyan: #7ef7ff;
  --amber: #ffcf5a;
  --danger: #ff5f7a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(145, 190, 0, 0.14), transparent 30vw),
    radial-gradient(circle at 86% 18%, rgba(126, 247, 255, 0.1), transparent 28vw),
    linear-gradient(180deg, #020302 0%, #0b0f0c 52%, #050705 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

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

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

.site-shell {
  min-height: 100svh;
}

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 9, 6, 0.66);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(1.35);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px 4px 4px;
}

.brand img {
  width: clamp(150px, 18vw, 215px);
  height: auto;
  max-height: 44px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 720;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.nav-cta {
  color: var(--void);
  background: linear-gradient(135deg, var(--lime-bright), var(--lime));
  box-shadow: 0 16px 44px rgba(145, 190, 0, 0.22);
}

.button.primary {
  color: var(--void);
  background: linear-gradient(135deg, var(--lime-bright), var(--lime) 62%, #6a9200);
  box-shadow: 0 22px 70px rgba(145, 190, 0, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.button span,
.nav-cta span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  opacity: 0.78;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--line-hot);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px 24px 46px;
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 62% 45%, rgba(145, 190, 0, 0.18), transparent 24%),
    radial-gradient(circle at 76% 22%, rgba(126, 247, 255, 0.12), transparent 25%),
    linear-gradient(130deg, rgba(2, 4, 2, 0.8), rgba(9, 14, 11, 0.86));
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 4, 2, 0.94), rgba(2, 4, 2, 0.48) 43%, rgba(2, 4, 2, 0.16)),
    linear-gradient(0deg, rgba(2, 4, 2, 0.92), transparent 38%),
    linear-gradient(180deg, rgba(2, 4, 2, 0.66), transparent 18%);
}

.hero-inner,
.section,
.contact-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.hero-project-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1000px;
}

.float-project {
  position: absolute;
  width: clamp(170px, 16vw, 270px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 12, 9, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  opacity: 0.42;
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  animation: float-card 9s ease-in-out infinite;
}

.float-project img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.12);
}

.float-project-one {
  left: 47%;
  top: 37%;
  transform: rotateX(16deg) rotateY(-26deg) rotateZ(-3deg);
}

.float-project-two {
  right: 3%;
  bottom: 12%;
  animation-delay: -2.7s;
  transform: rotateX(18deg) rotateY(18deg) rotateZ(4deg);
}

.float-project-three {
  left: 6%;
  bottom: 6%;
  animation-delay: -5.2s;
  transform: rotateX(18deg) rotateY(24deg) rotateZ(-5deg);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3.45rem, 7.2vw, 6.75rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  color: var(--lime-bright);
  text-shadow: 0 0 44px rgba(145, 190, 0, 0.36);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lede,
.split p,
.hub-copy p,
.governance-copy p,
.contact-inner p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
}

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

.command-surface,
.ai-panel,
.module,
.artifact,
.metrics-grid,
.timeline article,
.loop-strip article,
.contact-inner {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 44%, rgba(145, 190, 0, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(1.28);
}

.command-surface {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 22px;
}

.command-surface::before,
.ai-panel::before,
.artifact::before,
.contact-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 58%),
    radial-gradient(circle at 72% 10%, rgba(145, 190, 0, 0.22), transparent 32%);
  opacity: 0.38;
}

.surface-topline,
.panel-header,
.approval-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime-bright);
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-bright);
  box-shadow: 0 0 24px var(--lime);
}

.agent-ring {
  position: relative;
  z-index: 1;
  width: min(60vw, 258px);
  aspect-ratio: 1;
  margin: 22px auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(199, 255, 46, 0.18) 0 8%, transparent 9% 100%),
    conic-gradient(from 180deg, rgba(145, 190, 0, 0.18), rgba(126, 247, 255, 0.24), rgba(255, 207, 90, 0.16), rgba(145, 190, 0, 0.18));
  box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.08),
    0 0 80px rgba(145, 190, 0, 0.16);
  animation: slow-spin 18s linear infinite;
}

.agent-ring span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime-bright);
  box-shadow: 0 0 28px rgba(199, 255, 46, 0.8);
}

.agent-ring span:nth-child(1) {
  top: 20%;
  left: 12%;
}

.agent-ring span:nth-child(2) {
  right: 12%;
  top: 42%;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(126, 247, 255, 0.7);
}

.agent-ring span:nth-child(3) {
  left: 43%;
  bottom: 11%;
  background: var(--amber);
  box-shadow: 0 0 28px rgba(255, 207, 90, 0.7);
}

.signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.signal-grid div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.signal-grid dt {
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 0.72rem;
}

.signal-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 780;
}

.run-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.run-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.run-list span {
  color: var(--muted);
}

.run-list strong {
  color: var(--lime-bright);
  font-size: 0.86rem;
  white-space: nowrap;
}

.core-focus {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.core-focus div {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.core-focus span {
  display: block;
  margin-bottom: 5px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.core-focus strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 640;
}

.section {
  padding: clamp(76px, 12vw, 136px) 24px;
  scroll-margin-top: 108px;
}

.intro-band {
  padding-top: 86px;
}

.contact {
  scroll-margin-top: 108px;
}

.director {
  position: relative;
}

.director::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  width: min(76vw, 880px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 190, 0, 0.62), transparent);
  transform: translateX(-50%);
}

.director-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.director-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025), rgba(145, 190, 0, 0.08)),
    rgba(10, 15, 11, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.director-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(2, 4, 2, 0.88)),
    radial-gradient(circle at 82% 18%, rgba(145, 190, 0, 0.16), transparent 35%);
}

.director-portrait img {
  width: 100%;
  height: min(68vh, 720px);
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.06);
}

.director-portrait figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 9, 6, 0.66);
  backdrop-filter: blur(18px);
}

.director-portrait strong,
.director-portrait span {
  display: block;
}

.director-portrait strong {
  color: var(--ink);
  font-size: 1rem;
}

.director-portrait span {
  margin-top: 3px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.director-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.director-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.director-stats div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.director-stats span {
  display: block;
  margin-bottom: 22px;
  color: var(--lime-bright);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.loop-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.loop-strip article {
  min-height: 220px;
  padding: 22px;
}

.loop-strip span,
.module span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
}

.loop-strip p,
.module p,
.timeline p,
.artifact figcaption strong,
.metrics-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hub-section {
  position: relative;
}

.hub-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  width: min(86vw, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 190, 0, 0.72), transparent);
  transform: translateX(-50%);
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 13px;
  color: var(--ink);
}

.feature-list span {
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--lime-bright);
  box-shadow: 0 0 24px rgba(199, 255, 46, 0.64);
}

.hub-login {
  width: fit-content;
  margin-top: 30px;
}

.ai-panel {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 24px;
}

.flow-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 70px 0 62px;
}

.flow-map::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(145, 190, 0, 0.08), rgba(126, 247, 255, 0.62), rgba(145, 190, 0, 0.08));
  transform: translateY(-50%);
}

.node {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 86px;
  align-items: center;
  justify-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.node.active {
  color: var(--void);
  background: linear-gradient(135deg, var(--lime-bright), var(--lime));
  box-shadow: 0 18px 52px rgba(145, 190, 0, 0.24);
}

.approval-row {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-transform: none;
}

.approval-row strong {
  color: var(--lime-bright);
  font-size: 0.82rem;
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.artifact {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 12px;
}

.artifact img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: saturate(0.82) contrast(1.08);
}

.artifact figcaption {
  position: relative;
  z-index: 1;
  padding: 20px 8px 6px;
}

.artifact figcaption span {
  display: block;
  margin-bottom: 7px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.artifact figcaption strong {
  display: block;
  font-weight: 520;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.module {
  min-height: 260px;
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.module:hover {
  border-color: var(--line-hot);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035) 44%, rgba(145, 190, 0, 0.12)),
    var(--panel-strong);
  transform: translateY(-5px);
}

.module span {
  width: 42px;
  height: 42px;
  margin-bottom: 52px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  background: rgba(145, 190, 0, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  min-height: 440px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 44%, rgba(145, 190, 0, 0.1)),
    rgba(11, 16, 12, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.22);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -26% 26%;
  height: 180px;
  background: radial-gradient(circle, rgba(145, 190, 0, 0.24), transparent 65%);
  transform: rotate(-12deg);
}

.service-card:hover {
  border-color: var(--line-hot);
  transform: translateY(-6px) rotateX(1.5deg);
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-items: center;
  margin-bottom: 76px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  background: rgba(145, 190, 0, 0.08);
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--lime-bright);
  box-shadow: 0 0 18px rgba(199, 255, 46, 0.7);
}

.governance {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(34px, 8vw, 98px);
  align-items: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 1px;
}

.metrics-grid div {
  min-height: 260px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.16);
}

.metrics-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--lime-bright);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 0.95;
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 0.95fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.capability-copy > p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.tier-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.tier-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.tier-list span {
  grid-row: span 2;
  display: inline-grid;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  background: rgba(145, 190, 0, 0.08);
}

.tier-list strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.tier-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.tier-visual-stack {
  position: relative;
  min-height: 650px;
  perspective: 1200px;
}

.tier-img {
  position: absolute;
  width: min(68vw, 390px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  filter: saturate(0.88) contrast(1.08);
  transform-style: preserve-3d;
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

.tier-img:hover {
  z-index: 5;
  opacity: 1;
  transform: translate3d(0, 0, 46px) rotateX(0deg) rotateY(0deg) !important;
}

.tier-a {
  left: 4%;
  top: 0;
  transform: rotateX(13deg) rotateY(-20deg) rotateZ(-3deg);
}

.tier-b {
  right: 0;
  top: 118px;
  opacity: 0.9;
  transform: rotateX(12deg) rotateY(18deg) rotateZ(3deg);
}

.tier-c {
  left: 2%;
  top: 240px;
  opacity: 0.86;
  transform: rotateX(10deg) rotateY(-15deg) rotateZ(2deg);
}

.tier-d {
  right: 6%;
  top: 362px;
  opacity: 0.8;
  transform: rotateX(12deg) rotateY(14deg) rotateZ(-4deg);
}

.tier-e {
  left: 18%;
  bottom: 0;
  opacity: 0.74;
  transform: rotateX(13deg) rotateY(-8deg) rotateZ(3deg);
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.62fr);
  gap: 0;
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(10, 15, 11, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.featured-project figure,
.project-card img,
.proof-image {
  margin: 0;
}

.featured-project img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.08);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.8vw, 54px);
}

.featured-copy h3 {
  font-size: clamp(1.9rem, 3.6vw, 3.35rem);
  line-height: 1;
}

.featured-copy p:not(.eyebrow) {
  color: var(--muted);
}

.impact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.impact-tags span {
  padding: 8px 10px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  background: rgba(145, 190, 0, 0.08);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 18, 14, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.project-card:hover {
  border-color: var(--line-hot);
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.1);
}

.project-card div {
  padding: 20px;
}

.project-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-wall {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 15px;
  margin-top: 18px;
}

.proof-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 18, 14, 0.72);
  box-shadow: var(--shadow);
}

.proof-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

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

.timeline article {
  min-height: 250px;
  padding: 24px;
}

.timeline span {
  justify-content: start;
}

.contact {
  padding: 24px 24px 92px;
}

.contact-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 74px);
  background:
    linear-gradient(120deg, rgba(145, 190, 0, 0.16), rgba(126, 247, 255, 0.08), rgba(255, 255, 255, 0.04)),
    var(--panel-strong);
}

.contact-inner h2 {
  max-width: 900px;
}

.contact-inner p {
  max-width: 680px;
  margin-bottom: 30px;
}

.login-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 22% 20%, rgba(145, 190, 0, 0.14), transparent 30vw),
    radial-gradient(circle at 84% 12%, rgba(126, 247, 255, 0.1), transparent 28vw),
    linear-gradient(180deg, #020302 0%, #0b0f0c 100%);
}

.login-shell {
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 32px 20px;
}

.login-brand {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 9, 6, 0.66);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(1.35);
  transform: translateX(-50%);
}

.login-brand img {
  width: min(56vw, 230px);
  max-height: 44px;
  object-fit: contain;
}

.login-card {
  width: min(100%, 540px);
  margin-top: 70px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025), rgba(145, 190, 0, 0.08)),
    rgba(10, 15, 11, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(1.24);
}

.login-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 7vw, 4.6rem);
  line-height: 0.95;
}

.login-card p {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.22);
  outline: none;
}

.login-form input:focus {
  border-color: var(--line-hot);
  box-shadow: 0 0 0 3px rgba(145, 190, 0, 0.12);
}

.login-form button {
  width: 100%;
  margin-top: 8px;
}

.login-status {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--lime-bright);
  font-size: 0.84rem;
}

.login-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.login-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  color: var(--lime-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  background: rgba(145, 190, 0, 0.08);
}

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

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

@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }

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

@keyframes float-card {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

@media (max-width: 1040px) {
  .hero-inner,
  .hub-layout,
  .governance,
  .split,
  .capability-layout,
  .director-layout,
  .featured-project {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .command-surface,
  .ai-panel {
    min-height: 460px;
  }

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

  .module-grid,
  .artifact-grid,
  .service-grid,
  .project-grid,
  .proof-wall,
  .director-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .metrics-grid div {
    min-height: 180px;
  }

  .hero-project-orbit {
    display: none;
  }

  .tier-visual-stack {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: min(54vw, 190px);
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 94svh;
    padding: 96px 18px 28px;
  }

  h1 {
    font-size: clamp(2.65rem, 12.2vw, 4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

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

  .section {
    padding: 74px 18px;
  }

  .loop-strip,
  .module-grid,
  .artifact-grid,
  .timeline,
  .service-grid,
  .project-grid,
  .proof-wall,
  .director-stats {
    grid-template-columns: 1fr;
  }

  .command-surface,
  .ai-panel {
    min-height: 0;
    padding: 18px;
  }

  .agent-ring {
    display: none;
  }

  .signal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 12px 0 0;
  }

  .signal-grid div {
    padding: 8px 6px;
  }

  .signal-grid dt {
    min-height: 30px;
    margin-bottom: 5px;
    font-size: 0.58rem;
    line-height: 1.08;
  }

  .signal-grid dd {
    font-size: 1rem;
  }

  .run-list {
    display: none;
  }

  .core-focus {
    display: none;
  }

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

  .flow-map {
    margin: 34px 0;
  }

  .flow-map::before {
    display: none;
  }

  .run-list div,
  .approval-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .module,
  .timeline article,
  .loop-strip article {
    min-height: 210px;
  }

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

  .service-icon {
    margin-bottom: 42px;
  }

  .director-portrait img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .director-stats div {
    min-height: 104px;
  }

  .hub-login {
    width: 100%;
  }

  .tier-list article {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .tier-list span {
    width: 36px;
    height: 36px;
  }

  .tier-visual-stack {
    min-height: 430px;
    margin-top: 22px;
  }

  .tier-img {
    width: min(74vw, 280px);
  }

  .tier-b {
    top: 82px;
  }

  .tier-c {
    top: 164px;
  }

  .tier-d {
    top: 246px;
  }

  .featured-project img {
    min-height: 250px;
  }

  .proof-image img {
    min-height: 220px;
  }

  .contact {
    padding: 18px 18px 70px;
  }

  .login-shell {
    padding: 96px 18px 28px;
  }

  .login-brand {
    top: 10px;
    width: calc(100% - 20px);
    justify-content: center;
  }

  .login-card {
    margin-top: 0;
  }
}

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