﻿:root {
  --bg: #07080a;
  --bg-elev: #0e1014;
  --txt: #f4f1eb;
  --txt-muted: #b6b9c2;
  --light: #f1ece3;
  --light-panel: #f7f4ee;
  --ink: #0f1217;
  --accent: #c43d3d;
  --accent-soft: #5a1f1f;
  --beige: #d7c6ad;
  --radius-xl: 2.1rem;
  --radius-lg: 1.25rem;
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --content-max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at 16% 0%, #1a1f2a 0%, var(--bg) 44%);
  color: var(--txt);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  border-radius: calc(var(--radius-lg) - 0.4rem);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -120px;
  background: #fff;
  color: #000;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  z-index: 1000;
}

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

.site-shell {
  padding: clamp(0.45rem, 1.4vw, 1rem);
}

.panel-dark,
.panel-light {
  width: min(96vw, var(--content-max));
  margin: 0 auto clamp(1rem, 2vw, 1.4rem);
  border-radius: var(--radius-xl);
  overflow: clip;
}

.panel-dark {
  background: linear-gradient(145deg, #0e1218 0%, #090b0f 85%);
}

.panel-light {
  background: linear-gradient(145deg, var(--light-panel) 0%, var(--light) 100%);
  color: var(--ink);
}

.hero {
  min-height: clamp(680px, 84vh, 860px);
  padding: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(40vw, 620px);
  aspect-ratio: 1;
  right: -16%;
  top: -24%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(196, 61, 61, 0.33) 0%, rgba(196, 61, 61, 0) 68%);
  filter: blur(10px);
  animation: driftOrb 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 80%);
  opacity: 0.24;
  pointer-events: none;
  animation: gridShift 16s linear infinite;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
  padding: 0.35rem 0.3rem;
  border-bottom: 1px solid rgba(245, 245, 245, 0.13);
}

.brand {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.11em;
}

.nav-links {
  display: flex;
  gap: clamp(0.8rem, 2.5vw, 1.6rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--txt-muted);
  transition: color 220ms ease, transform 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--txt);
  transform: translateY(-1px);
}

.nav-pill {
  border: 1px solid rgba(217, 220, 226, 0.35);
  border-radius: 100px;
  padding: 0.44rem 0.95rem;
}

.menu-toggle {
  display: none;
}

.hero-grid {
  min-height: clamp(540px, 66vh, 720px);
  padding: clamp(1.4rem, 4.8vw, 4.8rem) clamp(0.55rem, 1.8vw, 1.4rem) clamp(1.2rem, 3.2vw, 2.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 560px);
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: end;
  position: relative;
}

.hero-badge {
  position: absolute;
  top: clamp(2rem, 7vw, 5rem);
  left: clamp(0.6rem, 1.8vw, 1.2rem);
  font-size: 0.73rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--beige);
}

.hero-word {
  position: absolute;
  inset: auto auto 0.4rem clamp(-0.08em, -1vw, -0.04em);
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(4.1rem, 18vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  line-height: 0.84;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1.03;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0;
  max-width: 52ch;
  color: var(--txt-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}

.hero-copy strong {
  color: #fff;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.btn {
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.72rem 1.3rem;
  border: 1px solid transparent;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d84a4a;
}

.btn-ghost {
  border-color: rgba(220, 223, 229, 0.4);
  color: var(--txt);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}

.terminal-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #12151b 0%, #0a0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: translateZ(0);
  overflow: hidden;
  animation: terminalFloat 5.2s ease-in-out infinite;
}

.terminal-card::after {
  content: "";
  position: absolute;
  inset: -120% 0 auto;
  height: 90%;
  background: linear-gradient(180deg, transparent 0%, rgba(196, 61, 61, 0.09) 50%, transparent 100%);
  animation: terminalScan 5.8s linear infinite;
  pointer-events: none;
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.85rem;
}

.terminal-head span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #313540;
}

.terminal-head span:first-child {
  background: #6f2424;
}

.terminal-head p {
  margin: 0 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--txt-muted);
  text-transform: uppercase;
}

.terminal-body {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  padding: 1rem 1rem 1.1rem;
  color: #d5d9e0;
  font-size: 0.86rem;
  min-height: 9.4rem;
}

.terminal-body p {
  margin: 0 0 0.5rem;
}

.typed-line {
  color: #f4bcbc;
  text-shadow: 0 0 12px rgba(196, 61, 61, 0.24);
}

.node-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  padding: 0.9rem 0.2rem 0;
}

.node {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #232834;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.node::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: #647086;
  transition: transform 380ms ease, background 380ms ease;
}

.node.active::after {
  transform: scale(1.25);
  background: var(--accent);
}

section {
  padding: var(--section-pad) clamp(1.2rem, 3.5vw, 4rem);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(1.4rem, 3.6vw, 3rem);
}

.section-head h2 {
  font-family: "Sora", sans-serif;
  margin: 0.3rem 0 0.8rem;
  line-height: 1.05;
  font-size: clamp(1.75rem, 4.4vw, 3.3rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
}

.section-tag {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.78;
  margin: 0;
}

.about {
  display: grid;
  gap: 1rem;
  grid-template-columns: 120px 1fr;
  align-items: start;
}

.section-content p {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  margin: 0;
  max-width: 52ch;
}

.section-content .statement {
  margin-top: 1rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.13;
}

.where-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e2d9cb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.timeline-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.8rem;
  padding: 1.15rem 1rem;
  border-bottom: 1px solid #e5ddd0;
  transition: background 1100ms cubic-bezier(0.16, 0.72, 0.2, 1), transform 1100ms cubic-bezier(0.16, 0.72, 0.2, 1), border-color 1100ms cubic-bezier(0.16, 0.72, 0.2, 1);
  flex: 1;
}

.timeline-row:last-child {
  border-bottom: 0;
}

.year-pill {
  margin: 0;
  align-self: start;
  justify-self: start;
  min-width: 3.3rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 700;
  background: #ece7de;
  color: #687180;
  text-align: center;
}

.year-pill.now {
  background: #d9e8ff;
  color: #3a67a7;
}

.timeline-row h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.timeline-row h3 span {
  color: #6079a7;
  font-size: 0.78em;
}

.timeline-row p {
  margin: 0.5rem 0 0;
  color: #5f6875;
}

.timeline-row:hover {
  background: #f4efe7;
  transform: translateX(3px) translateY(-1px);
}

.signal-stack {
  display: grid;
  gap: 0.8rem;
  height: 100%;
  grid-template-rows: auto auto 1fr;
}

.signal-card {
  border-radius: var(--radius-lg);
  border: 1px solid #ddd4c7;
  background: #fff;
  padding: 0.85rem;
  transition: transform 1000ms cubic-bezier(0.16, 0.72, 0.2, 1), box-shadow 1000ms cubic-bezier(0.16, 0.72, 0.2, 1), border-color 1000ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

.signal-card:hover {
  transform: translateY(-3px);
  border-color: #cfbeaa;
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.08);
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.signal-head h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.signal-head a {
  color: #6d7786;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pill {
  margin: 0;
  color: #5f6873;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 0.33rem;
}

.status-pill span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #31c26f;
  box-shadow: 0 0 0 4px rgba(49, 194, 111, 0.15);
}

.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  gap: 0.22rem;
  margin-bottom: 0.45rem;
}

.heatmap-cell {
  aspect-ratio: 1.12;
  border-radius: 3px;
  background: #e6efe8;
}

.heatmap-cell.l0 {
  background: #e2ece3;
}

.heatmap-cell.l1 {
  background: #bde1c6;
}

.heatmap-cell.l2 {
  background: #94d6a8;
}

.heatmap-cell.l3 {
  background: #57c67c;
}

.heatmap-cell.l4 {
  background: #24b75e;
}

.heatmap-cell.is-glow {
  box-shadow: 0 0 0 1px rgba(36, 183, 94, 0.26), 0 0 14px rgba(36, 183, 94, 0.35);
}

.signal-meta {
  margin: 0;
  color: #707b89;
  font-size: 0.73rem;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.repo-tile {
  border-radius: 0.9rem;
  border: 1px solid #e3d9cb;
  background: #fbfaf8;
  padding: 0.65rem;
  transition: transform 1000ms cubic-bezier(0.16, 0.72, 0.2, 1), border-color 1000ms cubic-bezier(0.16, 0.72, 0.2, 1), box-shadow 1000ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

.repo-tile:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: #c8b39a;
  box-shadow: 0 10px 18px rgba(27, 24, 19, 0.08);
}

.repo-tile h4 {
  margin: 0;
  font-size: 0.82rem;
  font-family: "Sora", sans-serif;
}

.repo-tile p {
  margin: 0.35rem 0 0.45rem;
  color: #677181;
  font-size: 0.77rem;
  line-height: 1.38;
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.repo-tags span {
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  font-size: 0.65rem;
  color: #707887;
  background: #ece8e0;
}

.chat-card {
  padding: 0.75rem;
}

.chat-shell {
  border: 1px solid #e7dfd3;
  border-radius: 0.9rem;
  background: #fbfaf9;
  padding: 0.72rem;
}

.chat-tag {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: #818b99;
}

.chat-bubble {
  width: fit-content;
  max-width: min(85%, 42ch);
  border-radius: 0.95rem;
  padding: 0.48rem 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.3;
}

.chat-bubble.left {
  color: #384250;
  background: #edf1f4;
}

.chat-bubble.right {
  margin-left: auto;
  color: #fff;
  background: #bf88ff;
}

.chat-input {
  margin-top: 0.35rem;
  border-radius: 999px;
  padding: 0.4rem 0.45rem 0.4rem 0.78rem;
  border: 1px solid #e1d8cc;
  color: #6d7887;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}

.chat-input button {
  border: 0;
  border-radius: 999px;
  background: #79b6ff;
  color: #fff;
  padding: 0.36rem 0.7rem;
  font-size: 0.72rem;
}

.systems-grid,
.project-grid,
.proof-grid {
  display: grid;
  gap: 1rem;
}

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

.system-card,
.project-card,
.meter-item,
.proof-card {
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.system-card {
  background: linear-gradient(170deg, #13171f 0%, #0b0f14 100%);
  border: 1px solid rgba(235, 238, 244, 0.12);
  transition: transform 1050ms cubic-bezier(0.16, 0.72, 0.2, 1), border-color 1050ms cubic-bezier(0.16, 0.72, 0.2, 1), box-shadow 1050ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 238, 244, 0.3);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.22);
}

.system-card h3,
.project-card h3,
.meter-item h3,
.proof-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.system-card p,
.project-card p,
.meter-item p,
.proof-card p {
  margin: 0.42rem 0 1rem;
  color: var(--txt-muted);
}

.system-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid rgba(240, 242, 246, 0.16);
}

.demo-surface {
  position: relative;
  height: 188px;
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #d9dde6;
  background: #f8f9fc;
  overflow: hidden;
  color: #101622;
}

.demo-head {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 0.5rem;
  padding: 0.62rem 0.8rem;
  border-bottom: 1px solid #e3e7ee;
  background: #f2f4f8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  color: #6f7787;
}

.agent-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.56rem 0.8rem 0.2rem;
  font-size: 0.73rem;
  border-bottom: 1px solid #edf0f5;
  position: relative;
}

.agent-name {
  font-weight: 600;
  color: #1a2230;
}

.agent-task {
  color: #4f5868;
}

.status-chip {
  justify-self: start;
  border-radius: 999px;
  padding: 0.2rem 0.54rem;
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  min-width: 70px;
  background: #e8ecf2;
  color: #4c5667;
  transition: background 240ms ease, color 240ms ease;
}

.status-value[data-state="queued"] {
  background: #e8ecf2;
  color: #5a6272;
}

.status-value[data-state="running"] {
  background: #f8e6e6;
  color: #972f2f;
}

.status-value[data-state="done"] {
  background: #e3f3ea;
  color: #1f7643;
}

.progress-track {
  grid-column: 1 / -1;
  margin-top: 0.3rem;
  height: 4px;
  border-radius: 999px;
  background: #e5eaf1;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2e3340 0%, #c43d3d 72%, #d35b5b 100%);
}

.pipeline-demo {
  background: #f7f9fc;
}

.pipeline-lines {
  position: absolute;
  inset: 0;
}

.line-main {
  fill: none;
  stroke: #adb6c5;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.line-dim {
  fill: none;
  stroke: #d9dfea;
  stroke-width: 2.2;
  stroke-dasharray: 5 6;
}

.flow-dot {
  fill: #c43d3d;
  filter: drop-shadow(0 0 6px rgba(196, 61, 61, 0.32));
}

.pipeline-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 0.7rem;
  border: 1px solid #d2d9e7;
  background: #ffffff;
  color: #273145;
  font-size: 0.67rem;
  padding: 0.36rem 0.58rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(20, 27, 36, 0.05);
}

.pipeline-node.decision {
  background: #f6f7fb;
}

.pipeline-node.success,
.pipeline-node.output {
  border-color: #d4b8b8;
}

.pipeline-node.muted {
  opacity: 0.54;
}

.n1 { left: 10%; top: 50%; }
.n2 { left: 30%; top: 50%; }
.n3 { left: 49%; top: 50%; }
.n4 { left: 72%; top: 50%; }
.n5 { left: 72%; top: 78%; }
.n6 { left: 91%; top: 50%; }

.data-demo {
  padding: 0.7rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.65rem;
}

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

.metric-card {
  border-radius: 0.72rem;
  border: 1px solid #dce2ed;
  background: #ffffff;
  padding: 0.48rem 0.55rem;
}

.metric-card p {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6f7785;
}

.metric-card strong {
  display: block;
  margin-top: 0.18rem;
  color: #1a2231;
  font-size: 0.88rem;
}

.metric-card.alerting {
  border-color: #dce2ed;
  box-shadow: none;
}

.data-bottom {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.58rem;
}

.log-stream {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  border: 1px solid #dde4ef;
  background: #ffffff;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.61rem;
  color: #424d62;
  position: relative;
  overflow: hidden;
  min-height: 92px;
}

.log-stream-track {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  will-change: transform;
}

.log-line {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.mini-chart {
  border-radius: 0.7rem;
  border: 1px solid #dde4ef;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.34rem;
  padding: 0.48rem;
  min-height: 92px;
  overflow: hidden;
}

.mini-chart span {
  display: block;
  width: 100%;
  align-self: end;
  border-radius: 999px;
  background: linear-gradient(180deg, #c43d3d 0%, #2b3343 100%);
  height: 35%;
  min-height: 12px;
}

.mini-chart span:nth-child(2) { height: 56%; }
.mini-chart span:nth-child(3) { height: 74%; }
.mini-chart span:nth-child(4) { height: 48%; }
.mini-chart span:nth-child(5) { height: 68%; }
.mini-chart span:nth-child(6) { height: 82%; }

.ops-demo {
  --ops-gap: 0.3rem;
  padding: 0.72rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.56rem;
  position: relative;
}

.ops-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ops-gap);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f7787;
}

.ops-columns span {
  text-align: center;
  border-radius: 999px;
  padding: 0.2rem 0.2rem;
  background: #ecf0f6;
}

.ops-card {
  width: calc((100% - (var(--ops-gap) * 3)) / 4);
  border-radius: 0.75rem;
  border: 1px solid #d5dde9;
  background: #ffffff;
  padding: 0.42rem 0.5rem;
  will-change: transform;
}

.ops-title {
  margin: 0;
  font-size: 0.69rem;
  font-weight: 700;
  color: #1e2736;
}

.ops-tags {
  margin-top: 0.34rem;
  display: flex;
  gap: 0.24rem;
}

.ops-tags span {
  font-size: 0.56rem;
  color: #4f5968;
  background: #eff3f8;
  border-radius: 999px;
  padding: 0.14rem 0.38rem;
}

.ops-status {
  margin: 0.34rem 0 0;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #2f724c;
}

.ops-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ops-gap);
}

.stage-dot {
  height: 6px;
  border-radius: 999px;
  background: #dfe4ec;
}

.stage-dot.active {
  background: linear-gradient(90deg, #2d3340 0%, #c43d3d 100%);
}

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

.project-card {
  background: #fff;
  border: 1px solid #e6ddd0;
  transition: transform 1100ms cubic-bezier(0.16, 0.72, 0.2, 1), box-shadow 1100ms cubic-bezier(0.16, 0.72, 0.2, 1), border-color 1100ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 15px 30px rgba(20, 20, 20, 0.1);
  border-color: #cdbca8;
}

.project-card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.project-visual {
  margin-top: 0.15rem;
  height: 180px;
  border-radius: 0.95rem;
  border: 1px solid #d9d2c7;
  background: #fdfcf9;
  overflow: hidden;
  position: relative;
}

.pv-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.58rem;
  border-bottom: 1px solid #e6dfd4;
  background: #f4efe7;
}

.pv-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #c2c8d3;
}

.pv-dot:first-child {
  background: #cf5757;
}

.pv-toolbar p {
  margin: 0 0 0 0.28rem;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6674;
}

.pv-surface {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 0.55rem;
  height: calc(100% - 35px);
  padding: 0.55rem;
}

.oc-flow {
  border-radius: 0.72rem;
  border: 1px solid #dfe5ef;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.36rem;
  padding: 0.4rem;
  position: relative;
}

.oc-flow::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, #cfd7e4 0%, #cf5f5f 50%, #cfd7e4 100%);
  transform: translateY(-50%);
  opacity: 0.5;
}

.oc-node {
  border-radius: 0.58rem;
  border: 1px solid #d9e0eb;
  background: #ffffff;
  padding: 0.33rem 0.44rem;
  position: relative;
}

.oc-node h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.64rem;
  color: #1d2738;
}

.oc-node p {
  margin: 0.2rem 0 0;
  font-size: 0.58rem;
  color: #5c6676;
}

.oc-node.route {
  border-color: #d8b8b8;
}

.oc-sidepanel {
  border-radius: 0.72rem;
  border: 1px solid #d7dfea;
  background: #ffffff;
  padding: 0.44rem 0.5rem;
  display: grid;
  align-content: start;
  gap: 0.26rem;
}

.oc-label {
  margin: 0 0 0.15rem;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7384;
}

.oc-sidepanel p {
  margin: 0;
  font-size: 0.61rem;
  color: #475162;
}

.oc-sidepanel strong {
  color: #192333;
}

.smoke-visual {
  background: linear-gradient(160deg, #f9f6f0 0%, #f4efe6 100%);
  border-color: #dfd3bf;
}

.smoke-stage {
  position: absolute;
  inset: 0;
  padding: 0.65rem;
}

.wood-stack {
  position: absolute;
  left: 0.85rem;
  bottom: 0.82rem;
  width: 44%;
  height: 64%;
}

.wood-stack span {
  position: absolute;
  width: 100%;
  height: 20%;
  border-radius: 0.36rem;
  background: linear-gradient(90deg, #4a2f20 0%, #8e5b3f 55%, #5b3a27 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wood-stack span:nth-child(1) { top: 8%; transform: rotate(-8deg); }
.wood-stack span:nth-child(2) { top: 30%; transform: rotate(5deg); }
.wood-stack span:nth-child(3) { top: 52%; transform: rotate(-4deg); }
.wood-stack span:nth-child(4) { top: 74%; transform: rotate(6deg); }

.pack-shot {
  position: absolute;
  right: 0.78rem;
  bottom: 0.78rem;
  width: 45%;
  border-radius: 0.75rem;
  border: 1px solid #d4c1a7;
  background: linear-gradient(180deg, #fffefb 0%, #f7f2e9 100%);
  padding: 0.48rem 0.52rem;
}

.pack-brand {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.77rem;
  color: #232220;
}

.pack-sub {
  margin: 0.22rem 0 0.34rem;
  font-size: 0.58rem;
  color: #6a6259;
}

.pack-tags {
  display: flex;
  gap: 0.24rem;
}

.pack-tags span {
  font-size: 0.52rem;
  border-radius: 999px;
  padding: 0.14rem 0.32rem;
  background: #ece4d7;
  color: #665f56;
}

.heat-pill {
  position: absolute;
  top: 0.68rem;
  right: 0.8rem;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  background: #f4dfdf;
  color: #8d3939;
  border: 1px solid #dfbaba;
}

.labs-visual {
  background: linear-gradient(165deg, #f9fafc 0%, #f1f4f8 100%);
}

.labs-board {
  position: absolute;
  inset: 0;
  padding: 0.62rem;
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 0.42rem;
}

.lab-ticket {
  border-radius: 0.7rem;
  border: 1px solid #d7dee9;
  background: #ffffff;
  padding: 0.4rem 0.48rem;
}

.lab-ticket h4 {
  margin: 0.08rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  color: #1f2838;
}

.lab-kicker {
  margin: 0;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7483;
}

.lab-meta {
  margin: 0.25rem 0 0;
  font-size: 0.57rem;
  color: #556072;
}

.lab-state {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.54rem;
  border-radius: 999px;
  padding: 0.14rem 0.34rem;
}

.lab-state.win {
  background: #e5f3ea;
  color: #2e7248;
}

.lab-state.test {
  background: #f3e8e8;
  color: #883b3b;
}

.lab-ticket.compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #666;
}

.featured {
  border: 1px solid #c8b7a2;
  background: linear-gradient(180deg, #fff 0%, #f8f2ea 100%);
}

.meter-list {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.meter-item {
  background: #11151b;
  border: 1px solid rgba(235, 238, 245, 0.14);
  transition: transform 1000ms cubic-bezier(0.16, 0.72, 0.2, 1), border-color 1000ms cubic-bezier(0.16, 0.72, 0.2, 1), box-shadow 1000ms cubic-bezier(0.16, 0.72, 0.2, 1);
}

.meter-item:hover {
  transform: translateY(-3px);
  border-color: rgba(235, 238, 245, 0.28);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.meter {
  height: 8px;
  background: #242a35;
  border-radius: 999px;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent) 100%);
  border-radius: inherit;
  transform: translateX(-100%);
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.meter-item.is-visible .meter span {
  transform: translateX(0);
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card {
  background: #fff;
  border: 1px solid #e5dbce;
}

.proof-card h3 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.proof-card p {
  color: #3e4650;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
}

.statement-panel {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 46vh;
}

.statement-panel p {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.footer {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.2rem, 3.5vw, 4rem);
}

.footer-main h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
}

.footer-main p {
  margin: 0.5rem 0 0;
  color: var(--txt-muted);
}

.footer-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
}

.footer-links a {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--txt-muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-meta {
  margin-top: 2rem;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
}

.cursor-orb-v3 {
  position: fixed;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: width 900ms cubic-bezier(0.16, 0.72, 0.2, 1), height 900ms cubic-bezier(0.16, 0.72, 0.2, 1), opacity 320ms ease;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  will-change: transform, width, height;
  overflow: hidden;
  isolation: isolate;
}

.cursor-orb-v3::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: transparent;
}

.cursor-orb-v3::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1.4px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(175%) contrast(120%);
  -webkit-backdrop-filter: blur(16px) saturate(175%) contrast(120%);
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 60%);
  mask: radial-gradient(circle, transparent 52%, #000 60%);
}

.cursor-orb-v3::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from 210deg,
    rgba(255, 255, 255, 0.4) 0deg,
    rgba(255, 255, 255, 0.08) 70deg,
    rgba(255, 255, 255, 0.34) 140deg,
    rgba(255, 255, 255, 0.1) 240deg,
    rgba(255, 255, 255, 0.4) 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 48%, #000 60%, #000 66%, transparent 78%);
  mask: radial-gradient(circle, transparent 48%, #000 60%, #000 66%, transparent 78%);
  mix-blend-mode: screen;
}

.cursor-orb-v3.is-visible {
  opacity: 0.98;
}

.cursor-orb-v3.is-active {
  width: 52px;
  height: 52px;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  box-shadow: none;
}

.cursor-orb-v3.is-bounce {
  animation: orbBounce 420ms cubic-bezier(0.18, 0.88, 0.2, 1);
}

.js body:not(.is-ready) .intro-fade {
  opacity: 0;
  transform: translateY(20px);
}

.js body:not(.is-ready) .intro-word {
  opacity: 0;
  transform: translateY(28px) scale(1.03);
}

.js body.is-ready .intro-fade {
  animation: introRise 850ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
  animation-delay: var(--intro-delay, 0ms);
}

.js body.is-ready .intro-word {
  animation: introWordIn 1250ms cubic-bezier(0.16, 0.72, 0.2, 1) both;
  animation-delay: 260ms;
}

.js body:not(.is-ready) .nav-links a {
  opacity: 0;
  transform: translateY(-10px);
}

.js body.is-ready .nav-links a {
  animation: introNavLink 620ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.js body.is-ready .nav-links a:nth-child(1) {
  animation-delay: 260ms;
}

.js body.is-ready .nav-links a:nth-child(2) {
  animation-delay: 320ms;
}

.js body.is-ready .nav-links a:nth-child(3) {
  animation-delay: 380ms;
}

.js body.is-ready .nav-links a:nth-child(4) {
  animation-delay: 440ms;
}

.js body.is-ready .nav-links a:nth-child(5) {
  animation-delay: 500ms;
}

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

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

@media (min-width: 1400px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 620px);
  }

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

@media (max-width: 1280px) {
  .where-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(3.2rem, 8vw, 4.8rem);
  }

  .hero-word {
    font-size: clamp(3.2rem, 22vw, 8rem);
    bottom: 0.9rem;
  }

  .hero-visual {
    max-width: 620px;
    justify-self: start;
  }

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

  .systems-grid,
  .meter-list {
    grid-template-columns: 1fr;
  }

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

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

  .timeline-row {
    grid-template-columns: 62px 1fr;
  }

  .heatmap-grid {
    grid-template-columns: repeat(20, minmax(0, 1fr));
  }

  .demo-surface {
    height: 196px;
  }
}

@media (max-width: 640px) {
  .demo-head,
  .agent-row {
    grid-template-columns: 1fr 1fr;
  }

  .agent-row .status-chip {
    grid-column: 1 / -1;
    margin-top: 0.1rem;
  }

  .pipeline-node {
    font-size: 0.58rem;
    padding: 0.28rem 0.44rem;
  }

  .data-bottom {
    grid-template-columns: 1fr;
  }

  .project-visual {
    height: 190px;
  }

  .pv-surface {
    grid-template-columns: 1fr;
  }

  .oc-sidepanel {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 0.5rem;
    align-items: center;
    overflow-x: auto;
  }

  .pack-shot {
    width: 52%;
  }

}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(239, 241, 245, 0.25);
    background: transparent;
    color: #fff;
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 1rem;
    left: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(235, 239, 244, 0.12);
    background: rgba(14, 18, 24, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.9rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 40;
  }

  .top-nav {
    position: relative;
  }

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

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

  .js body .intro-fade,
  .js body .intro-word,
  .js body .nav-links a {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .cursor-orb-v3 {
    transition: opacity 200ms ease !important;
    animation: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .water-cursor-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform, opacity;
    opacity: 1;
  }

  .water-cursor-ripple-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
  }

  .water-cursor {
    --edge-alpha: 0.2;
    --ring-alpha: 0.16;
    --shell-alpha: 0.1;
    --refract-alpha: 0.1;
    --meniscus-alpha: 0.11;
    --motion-skew: 0deg;
    --top-focus: 16%;

    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    overflow: hidden;
    transform-origin: center;
    pointer-events: none;
    will-change: transform, width, height, filter;

    background:
      radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.004) 0%,
        rgba(255, 255, 255, 0.008) 28%,
        rgba(255, 255, 255, 0.018) 48%,
        rgba(255, 255, 255, 0.05) 68%,
        rgba(255, 255, 255, 0.11) 84%,
        rgba(255, 255, 255, var(--edge-alpha)) 100%
      );

    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.035),
      0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11px) saturate(175%) contrast(1.1);
    -webkit-backdrop-filter: blur(11px) saturate(175%) contrast(1.1);
  }

  .water-cursor::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
      radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0) 48%,
        rgba(255, 255, 255, 0.018) 62%,
        rgba(255, 255, 255, var(--shell-alpha)) 80%,
        rgba(255, 255, 255, var(--edge-alpha)) 100%
      );
    opacity: 1;
    pointer-events: none;
  }

  .water-cursor.is-hovering {
    width: 66px;
    height: 66px;
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(13px) saturate(185%) contrast(1.12);
    -webkit-backdrop-filter: blur(13px) saturate(185%) contrast(1.12);
  }

  .water-cursor-refract-bands {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transform: skewX(var(--motion-skew));
    opacity: 1;
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.025) 10%,
        rgba(255, 255, 255, var(--refract-alpha)) 18%,
        rgba(255, 255, 255, 0.02) 28%,
        rgba(255, 255, 255, 0) 42%,
        rgba(255, 255, 255, 0) 58%,
        rgba(255, 255, 255, 0.02) 72%,
        rgba(255, 255, 255, var(--refract-alpha)) 82%,
        rgba(255, 255, 255, 0.025) 90%,
        rgba(255, 255, 255, 0) 100%
      );
    filter: blur(0.35px);
  }

  .water-cursor-top-meniscus {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse 78% 34% at 50% var(--top-focus),
        rgba(255, 255, 255, var(--meniscus-alpha)) 0%,
        rgba(255, 255, 255, 0.055) 32%,
        rgba(255, 255, 255, 0.018) 55%,
        rgba(255, 255, 255, 0) 78%
      );
    filter: blur(0.5px);
    opacity: 0.9;
  }

  .water-cursor-inner-clear {
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    pointer-events: none;
    background:
      radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 52%,
        rgba(255, 255, 255, 0.012) 74%,
        rgba(255, 255, 255, 0.028) 100%
      );
    opacity: 0.9;
  }

  .water-cursor-inner-ring {
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, var(--ring-alpha));
    opacity: 0.65;
    filter: blur(0.2px);
  }

  .water-cursor-ripple {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px) saturate(160%);
    -webkit-backdrop-filter: blur(4px) saturate(160%);
    animation: water-cursor-ripple-out 520ms ease-out forwards;
  }
}

@media (hover: none), (pointer: coarse) {
  .water-cursor-wrap,
  .water-cursor-ripple-layer {
    display: none !important;
  }
}

@keyframes introRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introWordIn {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(1.04);
    letter-spacing: -0.02em;
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introNavLink {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes terminalScan {
  0% {
    transform: translateY(-35%);
  }
  100% {
    transform: translateY(240%);
  }
}

@keyframes terminalFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes driftOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-32px, 22px, 0) scale(1.07);
  }
}

@keyframes gridShift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 52px, 52px 0;
  }
}

@keyframes state-queued {
  0%, 24% { opacity: 1; }
  27%, 100% { opacity: 0; }
}

@keyframes state-running {
  0%, 24% { opacity: 0; }
  28%, 63% { opacity: 1; }
  67%, 100% { opacity: 0; }
}

@keyframes state-done {
  0%, 63% { opacity: 0; }
  68%, 100% { opacity: 1; }
}

@keyframes row-progress {
  0%, 18% { width: 0%; }
  55% { width: 78%; }
  72%, 100% { width: 100%; }
}

@keyframes flow-move {
  0% { transform: translate(0, 0); opacity: 0; }
  6% { opacity: 1; }
  46% { transform: translate(265px, 0); opacity: 1; }
  84% { transform: translate(545px, 0); opacity: 1; }
  100% { transform: translate(545px, 0); opacity: 0; }
}

@keyframes threshold-alert {
  0%, 58%, 100% {
    border-color: #dce2ed;
    box-shadow: none;
  }
  64%, 82% {
    border-color: #d7a3a3;
    box-shadow: 0 0 0 1px rgba(196, 61, 61, 0.18), 0 0 14px rgba(196, 61, 61, 0.2);
  }
}

@keyframes log-shift {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(-2px); opacity: 1; }
}

@keyframes bars-rise {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

@keyframes ops-move {
  0%, 10% { transform: translateX(0%); }
  30%, 40% { transform: translateX(88%); }
  55%, 65% { transform: translateX(176%); }
  78%, 88% { transform: translateX(264%); }
  100% { transform: translateX(0%); }
}

@keyframes orbBounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.45, 0.78);
  }
  65% {
    transform: scale(0.92, 1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes water-cursor-ripple-out {
  from {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.5;
  }
  to {
    transform: translate(-50%, -50%) scale(3.2);
    opacity: 0;
  }
}
