:root {
  --bg-main: #06070a;
  --bg-elev: #0b0d12;
  --bg-panel: #11141b;
  --bg-panel-soft: #0f1218;
  --text-main: #f3f5f8;
  --text-soft: #c6ccd7;
  --text-muted: #8f96a4;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent-ice: #d2e0ff;
  --accent-violet: #cbc8ff;
  --accent-glow: rgba(190, 208, 255, 0.2);
  --shadow-soft: 0 20px 44px rgba(0, 0, 0, 0.45);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: radial-gradient(920px 460px at 50% -12%, rgba(170, 194, 255, 0.13), transparent 68%),
    radial-gradient(760px 440px at 85% 0%, rgba(184, 170, 255, 0.06), transparent 60%),
    linear-gradient(170deg, #040507 0%, #06070a 42%, #07080d 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.03), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(0, 0, 0, 0.4), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.18;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.25));
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.container {
  width: min(1220px, calc(100% - 2.6rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 5.8rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-label::before {
  content: "";
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(234, 239, 255, 0.7), transparent);
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.95rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-intro {
  margin: 1rem 0 0;
  max-width: 74ch;
  color: var(--text-soft);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(8, 10, 14, 0.92), rgba(8, 10, 14, 0.66));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-row {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  transition: 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.header-link,
.header-btn {
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.84rem;
  transition: 0.22s ease;
}

.header-link {
  color: var(--text-muted);
  padding: 0.47rem 0.7rem;
}

.header-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
}

.header-btn {
  color: #0f141f;
  background: #eef2ff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.52rem 0.88rem;
  font-weight: 600;
}

.header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(220, 230, 255, 0.18);
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.4rem) 0 4.4rem;
}

.hero .container {
  width: 100%;
  max-width: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(580px 260px at 50% 16%, rgba(225, 235, 255, 0.12), transparent 75%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.44));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: start;
  width: 100%;
  padding-inline: clamp(1rem, 5vw, 5.5rem);
}

.hero-copy {
  max-width: min(1180px, 100%);
  margin-inline: auto;
  text-align: center;
}

.hero-pill {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  color: #d7dce7;
  background: rgba(255, 255, 255, 0.03);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: glow-breathe 6s ease-in-out infinite;
}

.hero-title {
  margin: 0;
  max-width: 18ch;
  margin-inline: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
  position: relative;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.hero-title-soft {
  margin-top: 0.25rem;
  color: rgba(246, 248, 252, 0.62);
  text-shadow: 0 0 10px rgba(225, 233, 255, 0.08);
}

.hero-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.09) 0,
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: soft-light;
  opacity: 0.18;
  pointer-events: none;
}

.hero-lead {
  margin: 1.4rem 0 0;
  color: #dfe5f1;
  font-size: clamp(1.02rem, 1.6vw, 1.4rem);
  max-width: 44ch;
  margin-inline: auto;
}

.hero-body {
  margin: 0.95rem 0 0;
  max-width: 65ch;
  color: var(--text-soft);
  margin-inline: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 11px;
  padding: 0.78rem 1.12rem;
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  color: #0d1422;
  background: #f1f4ff;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 26px rgba(210, 222, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(210, 222, 255, 0.26);
}

.btn-secondary,
.btn-ghost {
  color: #d8dce8;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(222, 230, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(208, 218, 255, 0.16) inset;
}

.about {
  border-top: none;
  padding-top: 1rem;
}

.about-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(17, 19, 26, 0.8), rgba(10, 12, 17, 0.9));
  padding: clamp(1.1rem, 2.3vw, 2rem);
}

.about-panel h2 {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(1.6rem, 2.7vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-panel p {
  margin: 1rem 0 0;
  color: var(--text-soft);
  max-width: 76ch;
}

.metrics {
  padding-top: 3.4rem;
  padding-bottom: 3.4rem;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1.9rem 0;
}

.metrics-row article {
  padding: 0.6rem 0.25rem;
  min-width: 0;
}

.metric-value {
  margin: 0;
  font-size: clamp(1.2rem, 2.05vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e6ebf7;
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.metric-label {
  margin: 0.42rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.projects {
  padding-top: 5.8rem;
}

.project-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 1.14rem;
}

.project-module {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  background: linear-gradient(175deg, rgba(17, 20, 27, 0.82), rgba(10, 12, 18, 0.92));
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-module:nth-of-type(even) {
  grid-template-columns: 1fr 1.06fr;
}

.project-module:nth-of-type(even) .project-preview {
  order: 2;
}

.project-module:nth-of-type(even) .project-info {
  order: 1;
}

.project-module:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 235, 255, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(206, 220, 255, 0.08) inset;
}

.project-preview {
  min-height: 248px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(13, 16, 22, 0.95), rgba(9, 12, 18, 0.98));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.66rem 0.74rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: #d5dbe7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.status-chip {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.14rem 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  color: #dce4f8;
}

.preview-body {
  flex: 1;
  position: relative;
}

.preview-note {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.58rem 0.74rem;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.preview-krypton {
  background: radial-gradient(circle at 22% 36%, rgba(196, 210, 255, 0.12), transparent 45%),
    linear-gradient(165deg, #0d1017, #0a0d14);
}

.secure-stream {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 0.6rem;
  padding: 0.72rem;
}

.stream-lines {
  display: grid;
  align-content: center;
  gap: 0.45rem;
}

.stream-lines span {
  display: block;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(221, 233, 255, 0.24), rgba(221, 233, 255, 0.04));
  animation: flow-line 5.5s ease-in-out infinite;
}

.stream-lines span:nth-child(1) {
  width: 94%;
}

.stream-lines span:nth-child(2) {
  width: 82%;
  animation-delay: 0.35s;
}

.stream-lines span:nth-child(3) {
  width: 68%;
  animation-delay: 0.7s;
}

.stream-lines span:nth-child(4) {
  width: 88%;
  animation-delay: 0.2s;
}

.stream-lines span:nth-child(5) {
  width: 74%;
  animation-delay: 0.55s;
}

.stream-nodes {
  position: relative;
  margin: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.stream-nodes::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16%;
  right: 16%;
  height: 1px;
  background: rgba(218, 230, 255, 0.28);
}

.stream-nodes i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(232, 239, 255, 0.4);
  background: rgba(233, 240, 255, 0.14);
  box-shadow: 0 0 10px rgba(196, 213, 255, 0.18);
  animation: node-pulse 4.2s ease-in-out infinite;
}

.stream-nodes i:nth-child(1) {
  left: 14%;
  top: calc(50% - 5px);
}

.stream-nodes i:nth-child(2) {
  left: 38%;
  top: calc(50% - 5px);
  animation-delay: 0.45s;
}

.stream-nodes i:nth-child(3) {
  left: 62%;
  top: calc(50% - 5px);
  animation-delay: 0.85s;
}

.stream-nodes i:nth-child(4) {
  left: 84%;
  top: calc(50% - 5px);
  animation-delay: 1.2s;
}

.preview-aether {
  background: radial-gradient(circle at 50% 50%, rgba(190, 210, 255, 0.09), transparent 58%),
    linear-gradient(165deg, #0e1219, #0a0d13);
}

.topology-map {
  position: relative;
  margin: 0.52rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, rgba(196, 214, 255, 0.08), rgba(255, 255, 255, 0.02) 62%);
  overflow: hidden;
}

.topo-ring {
  position: absolute;
  border: 1px solid rgba(233, 239, 255, 0.17);
  border-radius: 50%;
}

.topo-ring.ring-outer {
  inset: 13%;
}

.topo-ring.ring-inner {
  inset: 29%;
  border-style: dashed;
  opacity: 0.7;
}

.topo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, rgba(226, 236, 255, 0.34), rgba(226, 236, 255, 0.08));
  transform-origin: 0 0;
  z-index: 1;
}

.topo-link.link-n1 {
  transform: rotate(-140deg);
}

.topo-link.link-n2 {
  transform: rotate(-40deg);
}

.topo-link.link-n3 {
  transform: rotate(141deg);
}

.topo-link.link-n4 {
  transform: rotate(37deg);
}

.topo-node {
  position: absolute;
  min-width: 60px;
  padding: 0.18rem 0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(9, 12, 19, 0.82);
  text-align: center;
  z-index: 2;
}

.topo-node b {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: #d9e1f1;
  font-weight: 500;
}

.topo-core {
  left: calc(50% - 30px);
  top: calc(50% - 14px);
  z-index: 3;
  box-shadow: 0 0 14px rgba(190, 210, 255, 0.2);
}

.topo-n1 {
  left: 17%;
  top: 24%;
}

.topo-n2 {
  right: 14%;
  top: 24%;
}

.topo-n3 {
  left: 20%;
  bottom: 19%;
}

.topo-n4 {
  right: 16%;
  bottom: 19%;
}

.topo-status {
  position: absolute;
  left: 0.58rem;
  right: 0.58rem;
  bottom: 0.52rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.34rem;
  z-index: 4;
}

.topo-status span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.16rem 0.3rem;
  background: rgba(7, 10, 17, 0.84);
  color: #c7cfde;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.preview-verseops {
  background: linear-gradient(170deg, #10131a, #0a0d12);
}

.pipeline-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.74rem;
}

.step {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #dbe1ee;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: -0.38rem;
  width: 0.3rem;
  height: 2px;
  background: rgba(231, 238, 255, 0.42);
}

.gate-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.58rem 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gate-row span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  padding: 0.2rem 0.38rem;
  color: #c9d1df;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
}

.preview-llm {
  background: radial-gradient(circle at 80% 26%, rgba(190, 201, 255, 0.11), transparent 44%),
    linear-gradient(170deg, #10131b, #0a0d13);
}

.semantic-map {
  position: relative;
  margin: 0.64rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.semantic-map::before {
  content: "";
  position: absolute;
  inset: 15% 18%;
  border: 1px solid rgba(226, 237, 255, 0.14);
  border-radius: 999px;
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.44rem 0.64rem;
  background: rgba(255, 255, 255, 0.04);
  color: #e1e8f7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.s-node {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 0.26rem 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  color: #ccd4e3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  animation: float-soft 5s ease-in-out infinite;
}

.s-node.s1 {
  left: 10%;
  top: 24%;
}

.s-node.s2 {
  right: 10%;
  top: 26%;
  animation-delay: 0.7s;
}

.s-node.s3 {
  left: 14%;
  bottom: 18%;
  animation-delay: 1.1s;
}

.s-node.s4 {
  right: 12%;
  bottom: 17%;
  animation-delay: 1.6s;
}

.preview-kando {
  background: linear-gradient(170deg, #10131a, #0a0d13);
}

.board-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.72rem;
}

.board-col {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 0.42rem;
  background: rgba(255, 255, 255, 0.02);
}

.board-col p {
  margin: 0 0 0.35rem;
  color: #ced5e3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.59rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.board-col span {
  display: block;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(223, 232, 255, 0.17), rgba(223, 232, 255, 0.04));
  animation: flow-line 6s ease-in-out infinite;
}

.board-col span + span {
  margin-top: 0.32rem;
  width: 78%;
  animation-delay: 0.5s;
}

.project-info h3 {
  margin: 0;
  font-size: clamp(1.32rem, 2.1vw, 1.88rem);
  letter-spacing: -0.01em;
}

.project-info p {
  margin: 0.72rem 0 0;
  color: var(--text-soft);
}

.tag-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-row span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 0.28rem 0.46rem;
  background: rgba(255, 255, 255, 0.03);
  color: #d1d8e8;
  font-size: 0.74rem;
}

.focus-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.focus-module {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1rem 0.95rem;
  background: linear-gradient(175deg, rgba(17, 20, 28, 0.8), rgba(10, 12, 18, 0.9));
  transition: 0.24s ease;
}

.focus-module:hover {
  border-color: rgba(226, 235, 255, 0.24);
  transform: translateY(-2px);
}

.focus-index {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  padding: 0.14rem 0.32rem;
  color: #d7def0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.focus-module h3 {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.focus-module p {
  margin: 0.52rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.stack-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
}

.stack-group {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(175deg, rgba(17, 20, 28, 0.8), rgba(10, 12, 18, 0.9));
  padding: 1rem;
}

.stack-group h3 {
  margin: 0;
  font-size: 1rem;
}

.chips {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.chips span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: #d2d9e8;
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.24rem 0.42rem;
}

.edu-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.edu-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(175deg, rgba(17, 20, 28, 0.82), rgba(10, 12, 18, 0.9));
  padding: 0.85rem;
}

.edu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.edu-head h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.edu-head span {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.16rem 0.45rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: #d5ddf0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.edu-card p {
  margin: 0.68rem 0 0;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.edu-list {
  list-style: none;
  margin: 0.78rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.edu-list li {
  position: relative;
  padding-left: 0.82rem;
  color: #c9d1df;
  font-size: 0.78rem;
  line-height: 1.36;
}

.edu-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(220, 230, 255, 0.7);
}

.edu-note {
  margin-top: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(175deg, rgba(16, 19, 27, 0.8), rgba(10, 12, 18, 0.9));
  padding: 1rem;
}

.edu-note h3 {
  margin: 0;
  font-size: 1rem;
}

.edu-note p {
  margin: 0.62rem 0 0;
  color: var(--text-soft);
}

@media (max-width: 1400px) {
  .edu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.manifesto {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(18, 20, 28, 0.86), rgba(10, 12, 18, 0.93));
  padding: clamp(1.05rem, 3vw, 2.2rem);
}

.manifesto h2 {
  margin: 0;
  max-width: 35ch;
  font-size: clamp(1.52rem, 2.8vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.manifesto p {
  margin: 1rem 0 0;
  max-width: 80ch;
  color: var(--text-soft);
}

.contacts {
  padding-bottom: 6.6rem;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 12% 8%, rgba(200, 215, 255, 0.08), transparent 46%),
    linear-gradient(170deg, rgba(19, 22, 30, 0.86), rgba(10, 12, 18, 0.95));
  padding: clamp(1rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.15;
}

.contact-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-grid a {
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.76rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.22rem;
  transition: 0.22s ease;
}

.contact-grid a span {
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-grid a:hover {
  border-color: rgba(224, 232, 255, 0.33);
  transform: translateY(-2px);
}

.cta-actions {
  margin-top: 1rem;
}

.signature {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.site-footer {
  background: rgba(8, 10, 14, 0.9);
}

.site-footer p {
  margin: 0;
  padding: 1.08rem 0;
  color: #7e8593;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

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

.reveal[data-stagger="1"] {
  transition-delay: 0.06s;
}

.reveal[data-stagger="2"] {
  transition-delay: 0.12s;
}

.reveal[data-stagger="3"] {
  transition-delay: 0.18s;
}

.reveal[data-stagger="4"] {
  transition-delay: 0.24s;
}

.reveal[data-stagger="5"] {
  transition-delay: 0.3s;
}

@keyframes glow-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(214, 225, 255, 0);
  }
  50% {
    box-shadow: 0 0 16px rgba(198, 212, 255, 0.16);
  }
}

@keyframes flow-line {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.9;
  }
}

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

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1140px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .project-module,
  .project-module:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

  .project-module:nth-of-type(even) .project-preview,
  .project-module:nth-of-type(even) .project-info {
    order: initial;
  }

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

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

@media (max-width: 900px) {
  .header-link {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(1220px, calc(100% - 1.1rem));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 2px);
    left: 0.55rem;
    right: 0.55rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.14rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(9, 11, 16, 0.97);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.55);
    padding: 0.42rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 9px;
    padding: 0.62rem 0.7rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.7rem);
    padding-bottom: 3.2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .section {
    padding: 4.4rem 0;
  }

  .metrics-row,
  .focus-grid,
  .edu-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-preview {
    min-height: 220px;
  }

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

@media (max-width: 520px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

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

  .topo-status {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
