:root {
  --bg: #020304;
  --bg-2: #07090d;
  --surface: rgba(10, 13, 17, .78);
  --surface-2: rgba(16, 22, 29, .72);
  --surface-3: #0f151d;
  --ink: #f7f8f2;
  --muted: #cfd7d0;
  --faint: rgba(207, 215, 208, .64);
  --line: rgba(160, 196, 215, .18);
  --line-strong: rgba(205, 246, 255, .34);
  --gold: #ffd96a;
  --gold-2: #ff9f1c;
  --gold-hot: #ff6a00;
  --gold-soft: rgba(255, 159, 28, .18);
  --cyan: #bdfcff;
  --blue: #0b54ff;
  --blue-soft: #4f8dff;
  --orange: #ff6a00;
  --green: #8fcf8b;
  --red: #e18d78;
  --on-gold: #180b00;
  --max: 1200px;
  --section: 104px;
  --serif: 'Noto Serif SC', serif;
  --sans: 'Hanken Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(11, 84, 255, .12), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(255, 106, 0, .13), transparent 26rem),
    radial-gradient(circle at 48% 18%, rgba(189, 252, 255, .07), transparent 22rem),
    linear-gradient(180deg, #020304 0%, #07090d 48%, #020304 100%);
  color: var(--ink);
  font-family: var(--sans);
}

body.intro-active {
  overflow: hidden;
}

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

button {
  font-family: inherit;
}

::selection {
  background: var(--gold);
  color: var(--on-gold);
}

.wave-canvas,
.grain,
.cursor-ring {
  position: fixed;
  pointer-events: none;
}

.wave-canvas {
  inset: 0;
  z-index: 0;
  opacity: .88;
  mix-blend-mode: screen;
}

.grain {
  inset: 0;
  z-index: 1;
  opacity: .06;
  mix-blend-mode: screen;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.36'/%3E%3C/svg%3E");
  background-size: 260px 260px;
}

.cursor-ring {
  left: 0;
  top: 0;
  z-index: 60;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(189, 252, 255, .64);
  border-radius: 999px;
  opacity: .72;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor-ring.soft {
  z-index: 1;
  width: 190px;
  height: 190px;
  border: 0;
  background: radial-gradient(circle, rgba(189, 252, 255, .14), rgba(11, 84, 255, .1) 34%, rgba(255, 106, 0, .08) 52%, transparent 70%);
  filter: blur(4px);
  opacity: .9;
}

.site-shell {
  position: relative;
  z-index: 2;
  opacity: 1;
}

body.intro-active .site-shell {
  opacity: 0;
}

.site-header,
.hero .reveal {
  visibility: hidden;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(calc(100% - 40px), 1180px);
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 7, 10, .78);
  box-shadow: 0 20px 90px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(189, 252, 255, .04);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  scrollbar-width: none;
}

.static-header {
  visibility: visible;
}

.site-header::-webkit-scrollbar {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.brand-mark {
  width: 46px;
  height: 28px;
  overflow: visible;
  flex: 0 0 auto;
}

.brand-wave-main,
.brand-wave-ice,
.brand-wave-blue {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-wave-main {
  stroke: url(#brandWave);
  stroke-width: 8;
  filter: drop-shadow(0 0 8px rgba(255, 106, 0, .35));
}

.brand-wave-ice {
  stroke: var(--cyan);
  stroke-width: 1.8;
  opacity: .9;
}

.brand-wave-blue {
  stroke: var(--blue-soft);
  stroke-width: 1.3;
  opacity: .45;
}

.nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(174, 158, 117, .15);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
}

.nav a {
  position: relative;
  padding: 12px 13px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-soft), var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(189, 252, 255, .07);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.lang-toggle {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
}

.lang-toggle button {
  height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.lang-toggle button.active {
  background: rgba(189, 252, 255, .14);
  color: var(--cyan);
}

.icon,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.btn {
  position: relative;
  min-height: 44px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 28, .74);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .42) 45%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .55s ease;
}

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

.btn:hover::before {
  transform: translateX(110%);
}

.btn.primary {
  background: linear-gradient(135deg, #fff7cf 0%, #ffd96a 34%, #ff9f1c 72%, #ff6a00 100%);
  color: var(--on-gold);
  box-shadow: 0 0 32px rgba(255, 106, 0, .2), 0 0 38px rgba(189, 252, 255, .08);
}

.btn.ghost {
  background: rgba(189, 252, 255, .035);
  color: var(--cyan);
}

main {
  position: relative;
  z-index: 3;
}

.section {
  width: min(calc(100% - 160px), var(--max));
  margin: 0 auto;
  padding: var(--section) 0;
}

.hero {
  display: grid;
  min-height: 88vh;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 540px);
  gap: 70px;
  align-items: center;
  padding-top: 136px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.contact-card h2 {
  font-family: var(--serif);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 1.08;
}

.gold-word {
  color: transparent;
  background: linear-gradient(92deg, #fff8d6 0%, #ffd96a 32%, #ff9f1c 63%, #ff6a00 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 42px rgba(255, 106, 0, .22), 0 0 28px rgba(189, 252, 255, .1);
}

.hero-sub {
  max-width: 720px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.68;
}

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

.hero-console {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 75% 18%, rgba(11, 84, 255, .15), transparent 18rem),
    radial-gradient(circle at 24% 74%, rgba(255, 106, 0, .21), transparent 16rem),
    radial-gradient(circle at 48% 46%, rgba(189, 252, 255, .08), transparent 15rem),
    linear-gradient(180deg, rgba(10, 13, 17, .86), rgba(2, 3, 4, .82));
  box-shadow: inset 0 1px 0 rgba(189, 252, 255, .06), 0 24px 110px rgba(0, 0, 0, .42), 0 0 80px rgba(11, 84, 255, .06);
  backdrop-filter: blur(18px);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(189, 252, 255, .13);
  border-radius: 6px;
  pointer-events: none;
}

.hero-console::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: .2;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(255, 217, 106, .18), transparent 18rem),
    radial-gradient(circle at 78% 14%, rgba(189, 252, 255, .12), transparent 16rem);
}

.console-top,
.console-caption,
.console-readout {
  position: relative;
  z-index: 3;
}

.console-top {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px 0;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.console-stage {
  position: relative;
  min-height: 365px;
}

.signal-orbit {
  position: absolute;
  inset: 20px -36px 0;
  width: calc(100% + 72px);
  height: 100%;
}

.orbit-line {
  fill: none;
  stroke-linecap: round;
}

.orbit-line.plume {
  opacity: .66;
  filter: url(#orbitGlow);
}

.orbit-line.plume.blue {
  stroke: url(#orbitBlue);
  stroke-width: 48;
  opacity: .46;
}

.orbit-line.plume.hot {
  stroke: url(#orbitHot);
  stroke-width: 30;
  opacity: .68;
}

.orbit-line.main {
  stroke: url(#orbitGold);
  stroke-width: 18;
  filter: url(#orbitGlow);
  opacity: .96;
}

.orbit-line.sub {
  stroke: rgba(189, 252, 255, .58);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(11, 84, 255, .35));
}

.orbit-line.hair {
  stroke: rgba(164, 108, 255, .42);
  stroke-width: 1.2;
}

.orbit-node circle {
  fill: #f8ffff;
  filter: drop-shadow(0 0 12px rgba(189, 252, 255, .76)) drop-shadow(0 0 20px rgba(255, 106, 0, .32));
}

.orbit-node text {
  fill: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.signal-dot {
  fill: var(--orange);
  filter: drop-shadow(0 0 12px rgba(255, 106, 0, .82)) drop-shadow(0 0 18px rgba(189, 252, 255, .45));
}

.console-readout {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.console-readout span {
  min-height: 44px;
  padding: 13px 10px;
  border: 1px solid rgba(174, 158, 117, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}

.console-caption {
  display: grid;
  gap: 12px;
  padding: 0 30px 30px;
}

.console-caption strong {
  max-width: 410px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.console-caption span {
  max-width: 440px;
  color: var(--faint);
  line-height: 1.55;
}

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

.metric {
  min-height: 174px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin: 24px 0 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.metric p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.quote {
  width: min(1000px, calc(100% - 160px));
  margin: 0 auto;
  padding: 90px 0 96px;
  text-align: center;
}

.quote blockquote {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4.1vw, 66px);
  line-height: 1.2;
}

.quote cite {
  color: var(--faint);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.08;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.works,
.knowledge-band {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 106, 0, .1), transparent 34rem),
    radial-gradient(circle at 76% 12%, rgba(11, 84, 255, .08), transparent 28rem),
    linear-gradient(180deg, rgba(7, 9, 13, .96), rgba(2, 3, 4, .98));
}

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

.work-row {
  display: grid;
  grid-template-columns: 92px 1fr 230px;
  gap: 32px;
  align-items: center;
  min-height: 142px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background .28s ease, transform .28s ease;
}

.work-no,
.work-meta {
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.work-meta {
  text-align: right;
  line-height: 1.7;
}

.work-row h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.09;
  transition: color .28s ease;
}

.work-row p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.work-row:hover {
  background: linear-gradient(90deg, rgba(255, 159, 28, .055), rgba(11, 84, 255, .02) 46%, transparent 72%);
  transform: translateX(10px);
}

.work-row:hover h3 {
  color: var(--gold);
}

.harness-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 159, 28, .16), transparent 20rem),
    radial-gradient(circle at 70% 72%, rgba(11, 84, 255, .11), transparent 18rem),
    linear-gradient(180deg, rgba(8, 11, 15, .78), rgba(2, 3, 4, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.harness-map > * {
  position: relative;
  z-index: 2;
}

.harness-map .map-lines {
  position: absolute;
  z-index: 1;
}

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

.flow-path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
}

.flow-path.p1,
.flow-path.p2 {
  stroke: rgba(255, 159, 28, .58);
}

.flow-path.p3 {
  stroke: rgba(189, 252, 255, .48);
}

.flow-path.p4 {
  stroke: rgba(143, 207, 139, .42);
}

.map-node {
  position: absolute;
  z-index: 2;
  width: 245px;
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(174, 158, 117, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 217, 106, .055), transparent 10rem),
    rgba(7, 10, 14, .84);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.map-node span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-node strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

.map-node p {
  margin: 0;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.55;
}

.map-node.primary {
  border-color: rgba(255, 159, 28, .5);
  background: linear-gradient(180deg, rgba(54, 28, 7, .88), rgba(7, 10, 14, .82));
}

.n1 { left: 52px; top: 68px; }
.n2 { right: 54px; top: 76px; }
.n3 { left: 50%; top: 62%; transform: translate(-50%, -50%); }
.n4 { left: 72px; bottom: 64px; }
.n5 { right: 64px; bottom: 72px; }

.map-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 39%;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 159, 28, .42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 106, .2), rgba(255, 106, 0, .09) 44%, rgba(7, 10, 14, .72) 70%);
  color: var(--muted);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.map-core span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.map-core b {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.workflow-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 217, 106, .04), transparent 12rem),
    rgba(8, 11, 15, .76);
}

.workflow-card::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: 47%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 84, 255, .42), rgba(189, 252, 255, .62), rgba(255, 217, 106, .88), rgba(255, 106, 0, .76), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 106, 0, .48));
  transform: rotate(-9deg);
}

.workflow-card > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.workflow-card h3 {
  margin: 28px 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.16;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.steps {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.steps em {
  padding: 6px 8px;
  border: 1px solid rgba(174, 158, 117, .22);
  border-radius: 5px;
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.knowledge-column {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 16, 16, .68);
  backdrop-filter: blur(14px);
}

.knowledge-column h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.16;
}

.link-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(174, 158, 117, .18);
  color: var(--muted);
  line-height: 1.4;
}

.link-row small {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.knowledge-gateway {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 28, .36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 159, 28, .18), transparent 18rem),
    radial-gradient(circle at 82% 12%, rgba(189, 252, 255, .12), transparent 16rem),
    rgba(8, 11, 15, .7);
}

.knowledge-gateway::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(11, 84, 255, .42), rgba(189, 252, 255, .86), rgba(255, 217, 106, .9), rgba(255, 106, 0, .7), transparent);
  filter: drop-shadow(0 0 14px rgba(255, 106, 0, .42));
  transform: rotate(-3deg);
}

.knowledge-gateway span,
.knowledge-gateway em {
  position: relative;
  z-index: 2;
}

.knowledge-gateway small {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.knowledge-gateway strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.knowledge-gateway em {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.knowledge-page .site-shell {
  min-height: 100vh;
}

.knowledge-page main {
  padding-top: 104px;
}

.knowledge-hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 70px;
  align-items: center;
  padding-top: 90px;
}

.knowledge-hero h1 {
  max-width: 820px;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 82px);
  line-height: 1.08;
}

.knowledge-hero p:not(.kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.7;
}

.signal-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.signal-stack::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold), var(--cyan), var(--blue-soft));
  filter: drop-shadow(0 0 14px rgba(255, 106, 0, .36));
}

.signal-card {
  position: relative;
  min-height: 150px;
  padding: 26px 28px 26px 78px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 14%, rgba(189, 252, 255, .08), transparent 12rem),
    rgba(8, 11, 15, .74);
}

.signal-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 32px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(255, 217, 106, .52);
}

.signal-card.hot::before {
  background: var(--gold-hot);
  box-shadow: 0 0 28px rgba(255, 106, 0, .62);
}

.signal-card.ice::before {
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(189, 252, 255, .62);
}

.signal-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.16;
}

.signal-card p {
  margin: 0;
  color: var(--faint);
  line-height: 1.55;
}

.article-board {
  padding-top: 40px;
}

.article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.article-filters button {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--faint);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-filters button.active,
.article-filters button:hover {
  border-color: rgba(255, 159, 28, .52);
  color: var(--gold);
}

.feature-article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 28, .32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 106, 0, .16), transparent 20rem),
    radial-gradient(circle at 86% 12%, rgba(11, 84, 255, .12), transparent 18rem),
    linear-gradient(180deg, rgba(14, 16, 18, .82), rgba(4, 6, 8, .84));
}

.feature-article h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.08;
}

.feature-article p:not(.kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.article-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 217, 106, .055), transparent 12rem),
    rgba(8, 11, 15, .74);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.article-card::after {
  content: "";
  position: absolute;
  left: -24%;
  right: -24%;
  bottom: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 252, 255, .54), rgba(255, 217, 106, .8), rgba(255, 106, 0, .55), transparent);
  transform: rotate(-7deg);
}

.article-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 24px 0 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.article-card p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.62;
}

.article-card small {
  position: absolute;
  left: 30px;
  bottom: 26px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-card:hover {
  border-color: rgba(255, 159, 28, .44);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 159, 28, .09), transparent 14rem),
    rgba(10, 13, 17, .86);
  transform: translateY(-4px);
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 60px;
  border: 1px solid rgba(242, 202, 80, .3);
  border-radius: 10px;
  background:
    radial-gradient(circle at 80% 10%, rgba(11, 84, 255, .14), transparent 20rem),
    radial-gradient(circle at 18% 68%, rgba(255, 106, 0, .16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 159, 28, .13), rgba(8, 11, 15, .8) 44%, rgba(2, 3, 4, .78));
  text-align: center;
}

.contact-card h2 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.05;
}

.contact-card p:not(.kicker) {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-actions {
  justify-content: center;
}

footer {
  display: flex;
  width: min(calc(100% - 160px), var(--max));
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(242, 202, 80, .08), transparent 30rem),
    #050505;
}

.intro-layer.is-hidden {
  display: none;
}

.intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-skip {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242, 202, 80, .28);
  border-radius: 999px;
  background: rgba(18, 20, 20, .42);
  color: rgba(242, 202, 80, .78);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  opacity: .72;
  backdrop-filter: blur(12px);
  transition: opacity .25s ease, background .25s ease;
}

.intro-skip:hover {
  opacity: 1;
  background: rgba(242, 202, 80, .12);
}

@media (max-width: 1100px) {
  .section,
  .quote,
  footer {
    width: calc(100% - 48px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-console {
    min-height: 460px;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(1),
  .metric:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .harness-map {
    min-height: 700px;
  }

  .map-node {
    width: min(42vw, 270px);
  }

  .n1 { left: 28px; top: 50px; }
  .n2 { right: 28px; top: 50px; }
  .n4 { left: 28px; bottom: 54px; }
  .n5 { right: 28px; bottom: 54px; }
}

@media (max-width: 860px) {
  .site-header {
    left: 12px;
    right: 12px;
    width: auto;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 0 10px;
    transform: none;
  }

  .nav {
    flex: 0 0 auto;
  }

  .nav a {
    padding: 12px 10px;
    font-size: 11px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .section-head,
  .knowledge-layout,
  .knowledge-hero,
  .feature-article {
    grid-template-columns: 1fr;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .work-meta {
    text-align: left;
  }

  .console-readout {
    grid-template-columns: 1fr;
  }

  .cursor-ring {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --section: 76px;
  }

  .section,
  .quote,
  footer {
    width: calc(100% - 32px);
  }

  .site-header {
    top: 10px;
    height: 58px;
  }

  .icon {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.16;
  }

  .hero-sub {
    font-size: 18px;
  }

  .hero-console {
    min-height: 420px;
  }

  .signal-orbit {
    inset: 24px -80px 0;
    width: calc(100% + 160px);
  }

  .console-caption {
    padding: 0 22px 24px;
  }

  .console-caption strong {
    font-size: 24px;
  }

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

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .quote {
    padding: 72px 0;
  }

  .harness-map {
    min-height: auto;
    padding: 20px;
  }

  .map-lines,
  .map-core {
    display: none;
  }

  .map-node,
  .n1,
  .n2,
  .n3,
  .n4,
  .n5 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 12px;
    transform: none;
  }

  .map-node:last-child {
    margin-bottom: 0;
  }

  .workflow-card {
    min-height: 286px;
  }

  .knowledge-column,
  .contact-card {
    padding: 28px 20px;
  }

  .link-row {
    display: grid;
  }

  .knowledge-gateway {
    display: grid;
  }

  .knowledge-page main {
    padding-top: 84px;
  }

  .knowledge-hero {
    min-height: auto;
    gap: 34px;
    padding-top: 76px;
  }

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

  .feature-article {
    padding: 30px 22px;
  }

  .signal-card {
    padding-right: 20px;
  }

  footer {
    display: grid;
  }
}

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