:root {
  color-scheme: dark;
  --bg: #050a08;
  --panel: rgba(7, 18, 15, 0.76);
  --panel-strong: rgba(8, 21, 18, 0.92);
  --line: rgba(182, 255, 52, 0.2);
  --text: #f5fff4;
  --muted: #95a99b;
  --soft: #667c70;
  --accent: #b6ff34;
  --cyan: #52ffd2;
  --green: #b6ff34;
  --orange: #ff9f38;
  --pink: #ff70a6;
  --violet: #7762ff;
  --radius: 8px;
  --display-font: "Manrope", "Noto Sans SC", sans-serif;
  --body-font: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --scene-x: 0px;
  --scene-y: 0px;
  --scene-scale: 1.03;
  --grid-y: 0px;
  --hud-y: 0px;
  --hud-rotate: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 255, 170, 0.14), transparent 32rem),
    linear-gradient(180deg, #030705 0%, #07120e 46%, #020504 100%);
  color: var(--text);
  font-family: var(--body-font);
  letter-spacing: 0;
}

.game-scene,
.scene-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.game-scene {
  z-index: -3;
  overflow: hidden;
  background: #030705;
}

.scene-layer {
  will-change: transform, opacity;
}

.scene-image {
  background:
    linear-gradient(90deg, rgba(1, 6, 4, 0.28) 0%, rgba(1, 6, 4, 0.16) 42%, rgba(1, 6, 4, 0.74) 100%),
    linear-gradient(180deg, rgba(1, 6, 4, 0.08), rgba(1, 6, 4, 0.82)),
    url("./hero-yomi-innerlog.png") center top / cover no-repeat;
  opacity: 0.82;
  transform: scale(var(--scene-scale)) translate3d(var(--scene-x), var(--scene-y), 0);
  transition: transform 80ms linear;
}

.scene-grid {
  top: 42%;
  height: 75%;
  background-image:
    linear-gradient(rgba(182, 255, 52, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 52, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.14;
  transform: perspective(620px) rotateX(66deg) translate3d(0, var(--grid-y), 0) scale(1.45);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, transparent 88%);
  animation: gridPulse 5.5s ease-in-out infinite;
}

.scene-hud {
  opacity: 0.24;
  transform: translate3d(0, var(--hud-y), 0) rotate(var(--hud-rotate));
  transition: transform 90ms linear;
}

.scene-hud::before,
.scene-hud::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(182, 255, 52, 0.14);
  box-shadow: 0 0 26px rgba(182, 255, 52, 0.04);
}

.scene-hud::before {
  left: 6vw;
  top: 18vh;
  width: 150px;
  height: 92px;
  clip-path: polygon(0 0, 72% 0, 100% 44%, 100% 100%, 0 100%);
}

.scene-hud::after {
  right: 7vw;
  top: 22vh;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border-style: dashed;
  animation: hudSpin 18s linear infinite;
}

.hud-ring,
.hud-line,
.hud-chip {
  position: absolute;
  display: block;
}

.hud-ring {
  border: 1px solid rgba(182, 255, 52, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(82, 255, 210, 0.05), 0 0 24px rgba(182, 255, 52, 0.08);
}

.ring-a {
  right: 18vw;
  bottom: 20vh;
  width: 170px;
  height: 170px;
  animation: hudFloat 7s ease-in-out infinite;
}

.ring-b {
  left: 54vw;
  top: 18vh;
  width: 82px;
  height: 82px;
  border-style: dashed;
  animation: hudSpin 12s linear infinite reverse;
}

.hud-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 255, 52, 0.5), transparent);
  transform-origin: center;
}

.line-a {
  left: 8vw;
  top: 68vh;
  width: 42vw;
  animation: scanLine 4.2s ease-in-out infinite;
}

.line-b {
  right: 5vw;
  top: 44vh;
  width: 28vw;
  animation: scanLine 5.8s ease-in-out infinite reverse;
}

.hud-chip {
  padding: 7px 10px;
  border: 1px solid rgba(182, 255, 52, 0.28);
  border-radius: 999px;
  background: rgba(3, 10, 8, 0.42);
  color: rgba(223, 255, 193, 0.7);
  font: 800 11px var(--body-font);
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.chip-a {
  right: 18vw;
  top: 14vh;
  animation: hudFloat 6s ease-in-out infinite -1.2s;
}

.chip-b {
  left: 12vw;
  bottom: 21vh;
  animation: hudFloat 7.4s ease-in-out infinite -2s;
}

.scene-vignette {
  z-index: 2;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(182, 255, 52, 0.06) 50%, transparent 51%),
    radial-gradient(circle at 72% 36%, rgba(182, 255, 52, 0.08), transparent 26rem),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, transparent 0 62%, rgba(5, 10, 8, 0.76) 78%, rgba(5, 10, 8, 0.96) 92%, #050a08 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 255, 170, 0.14), transparent 32rem),
    linear-gradient(180deg, transparent, rgba(2, 5, 4, 0.42));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 62%, rgba(255, 248, 231, 0.9) 88%, #fff8e7 100%);
  background:
    linear-gradient(rgba(182, 255, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 52, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.28;
  mix-blend-mode: screen;
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.48;
  }
}

@keyframes hudSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hudFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes scanLine {
  0%, 100% {
    opacity: 0.18;
    transform: translateX(-16px);
  }

  50% {
    opacity: 0.72;
    transform: translateX(24px);
  }
}

body.theme-sky {
  --accent: #9cffef;
  --cyan: #24b9e8;
  --text: #16304a;
  --muted: #607890;
}

body.theme-orbit {
  color-scheme: dark;
  --accent: #b6ff34;
  --text: #f8fbff;
  --muted: #b6bfd0;
  --soft: #8290a8;
  --panel: rgba(17, 24, 44, 0.82);
  --panel-strong: rgba(19, 25, 45, 0.94);
  --line: rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, #090a18 0%, #101829 52%, #080912 100%);
}

main::before {
  position: fixed;
  right: clamp(20px, 5vw, 80px);
  top: 48%;
  z-index: -1;
  content: "YOMI";
  color: transparent;
  font-family: var(--display-font);
  font-size: clamp(96px, 18vw, 290px);
  font-weight: 900;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(182, 255, 52, 0.1);
  text-stroke: 1px rgba(182, 255, 52, 0.1);
  transform: translateY(-50%);
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 28px));
  min-height: 52px;
  margin: 10px auto 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(9, 16, 14, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.topbar:hover {
  background: rgba(9, 16, 14, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 22px 58px rgba(16, 24, 40, 0.24);
  transform: translateY(-1px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  padding-right: 12px;
  color: #101827;
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(182, 255, 52, 0.26);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 62px);
  padding: 128px 0 30px;
}

.hero-copy {
  max-width: 980px;
  padding-top: 8vh;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1080px;
  margin-bottom: 18px;
  color: #f7fbff;
  font-family: var(--display-font);
  font-size: clamp(60px, 12vw, 154px);
  font-weight: 900;
  line-height: 0.86;
  overflow-wrap: anywhere;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero-text {
  max-width: 680px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.75;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(780px, 100%);
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(182, 255, 52, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 10, 8, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-status span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-status strong {
  color: #fff;
  font-size: 18px;
}

.hero-status ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-status li {
  padding: 7px 11px;
  border: 1px solid rgba(182, 255, 52, 0.28);
  border-radius: 999px;
  color: #dfffc1;
  font-size: 12px;
  font-weight: 800;
}

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

.primary-action,
.secondary-action,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 220ms cubic-bezier(.2, .7, .2, 1), box-shadow 220ms ease, background 220ms ease;
}

.primary-action:hover,
.secondary-action:hover,
.contact-actions a:hover {
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.22);
  transform: translateY(-3px);
}

.primary-action {
  background: var(--accent);
  color: #101827;
}

.secondary-action,
.contact-actions a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(16px);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 28px;
}

.signal-row div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 22, 34, 0.3);
  backdrop-filter: blur(16px);
}

.signal-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 26px;
}

.signal-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 18px;
  align-items: end;
  margin-top: 30px;
  perspective: 1200px;
}

.portfolio-strip article {
  position: relative;
  min-height: 126px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.34)),
    linear-gradient(135deg, rgba(182, 255, 52, 0.36), rgba(82, 255, 210, 0.22));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition:
    transform 420ms cubic-bezier(.2, .7, .2, 1),
    box-shadow 420ms cubic-bezier(.2, .7, .2, 1),
    border-color 420ms ease;
}

.portfolio-strip article::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.36) 48%, transparent 62%);
  opacity: 0.8;
  transform: translateX(-38%);
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1), opacity 420ms ease;
}

.portfolio-strip article::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  content: "";
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.02)),
    var(--accent);
  box-shadow: 0 12px 24px rgba(182, 255, 52, 0.24);
}

.portfolio-strip article:nth-child(even) {
  transform: translateY(20px) rotateX(0deg);
}

.portfolio-strip article:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.4)),
    linear-gradient(135deg, rgba(82, 255, 210, 0.28), rgba(182, 255, 52, 0.24));
}

.portfolio-strip article:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.4)),
    linear-gradient(135deg, rgba(182, 255, 52, 0.24), rgba(255, 159, 56, 0.2));
}

.portfolio-strip article:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.4)),
    linear-gradient(135deg, rgba(41, 196, 137, 0.26), rgba(82, 255, 210, 0.24));
}

.portfolio-strip article:hover {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 30px 70px rgba(9, 16, 28, 0.38);
  transform: translateY(-10px) rotateX(4deg) rotateY(-3deg);
}

.portfolio-strip article:nth-child(even):hover {
  transform: translateY(6px) rotateX(4deg) rotateY(-3deg);
}

.portfolio-strip article:hover::before {
  opacity: 1;
  transform: translateX(34%);
}

.portfolio-strip span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 24px;
  color: #607086;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-strip strong {
  position: relative;
  z-index: 1;
  color: #111827;
  font-size: 20px;
  line-height: 1.24;
}

.console {
  position: relative;
  overflow: hidden;
  width: min(920px, 100%);
  margin: 48px auto 0;
  border: 1px solid rgba(182, 255, 52, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(8, 21, 18, 0.92), rgba(5, 12, 10, 0.82));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1), box-shadow 420ms ease;
}

.console:hover {
  box-shadow: 0 38px 120px rgba(42, 91, 137, 0.26);
  transform: translateY(-5px);
}

.theme-orbit .console {
  background: linear-gradient(145deg, rgba(19, 25, 36, 0.92), rgba(9, 12, 18, 0.9));
}

.console::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(182, 255, 52, 0.16), transparent);
  transform: translateX(-120%);
  animation: scan 6s linear infinite;
}

@keyframes scan {
  to {
    transform: translateX(120%);
  }
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 12px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
}

.red { background: #ff5f57; }
.amber { background: #ffbd2e; }
.green { background: #28c840; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.78fr 0.78fr;
  gap: 12px;
  padding: 14px;
}

.panel {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 31, 25, 0.9), rgba(5, 13, 11, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(182, 255, 52, 0.16), transparent 14rem);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 46px rgba(0, 0, 0, 0.16);
}

.compact-dashboard .panel {
  min-height: 236px;
}

.panel-kicker {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-topline span,
.live-badge {
  padding: 5px 9px;
  border: 1px solid rgba(182, 255, 52, 0.28);
  border-radius: 999px;
  color: #dfff9d;
  font-size: 11px;
  font-weight: 900;
}

.ops-panel {
  grid-row: span 2;
}

.ops-panel h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: 30px;
  line-height: 1.18;
}

.pipeline {
  display: grid;
  gap: 10px;
}

.pipeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(182, 255, 52, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.pipeline-step::after {
  position: absolute;
  left: 37px;
  bottom: -12px;
  width: 1px;
  height: 12px;
  content: "";
  background: rgba(182, 255, 52, 0.28);
}

.pipeline-step:last-child::after {
  display: none;
}

.pipeline-step span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(182, 255, 52, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.pipeline-step strong {
  color: #fff;
  font-size: 18px;
}

.pipeline-step small {
  color: var(--muted);
  font-size: 12px;
}

.pipeline-step.active {
  border-color: rgba(182, 255, 52, 0.42);
  background: rgba(182, 255, 52, 0.075);
  box-shadow: 0 0 28px rgba(182, 255, 52, 0.05);
}

.compact-system-panel h2 {
  max-width: 720px;
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.12;
}

.compact-flow {
  display: grid;
  grid-template-columns: max-content 1fr max-content 1fr max-content 1fr max-content;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(182, 255, 52, 0.26);
  border-radius: 8px;
  background: rgba(182, 255, 52, 0.055);
}

.compact-flow span {
  display: grid;
  min-width: 64px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: rgba(182, 255, 52, 0.13);
  color: #f6ffe8;
  font-size: 14px;
  font-weight: 900;
}

.compact-flow i {
  height: 1px;
  background: linear-gradient(90deg, rgba(182, 255, 52, 0.12), rgba(182, 255, 52, 0.78));
}

.metric-stack {
  display: grid;
  gap: 9px;
}

.metric-stack div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.metric-stack strong {
  display: block;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.metric-stack span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.compact-deliver-panel h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
}

.compact-deliver-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.compact-deliver-panel li {
  padding: 12px 13px;
  border: 1px solid rgba(182, 255, 52, 0.18);
  border-radius: 8px;
  color: #f6ffe8;
  font-size: 14px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.045);
}

.outcome-panel {
  background:
    linear-gradient(180deg, rgba(16, 36, 29, 0.9), rgba(5, 13, 11, 0.92)),
    radial-gradient(circle at 78% 20%, rgba(82, 255, 210, 0.18), transparent 14rem);
}

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

.outcome-grid div {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.outcome-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 25px;
  line-height: 1;
}

.outcome-grid span,
.project-body span,
.steps p,
.intro-band p,
.insight-copy span {
  color: var(--muted);
}

.graph-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(50, 72, 105, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 72, 105, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.44);
  background-size: 24px 24px;
}

.theme-orbit .graph-panel {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(15, 20, 30, 0.9);
  background-size: 24px 24px;
}

.graph-panel p {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.node {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(83, 224, 255, 0.75);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.24);
  }
}

.n1 { left: 24%; top: 30%; }
.n2 { left: 62%; top: 22%; background: var(--green); animation-delay: -.4s; }
.n3 { left: 72%; top: 62%; background: var(--pink); animation-delay: -.8s; }
.n4 { left: 35%; top: 70%; background: var(--orange); animation-delay: -1.2s; }
.n5 { left: 48%; top: 46%; background: var(--violet); animation-delay: -1.6s; }

.link {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: rgba(83, 224, 255, 0.45);
}

.l1 { left: 27%; top: 34%; width: 126px; transform: rotate(-8deg); }
.l2 { left: 52%; top: 48%; width: 104px; transform: rotate(42deg); }
.l3 { left: 38%; top: 68%; width: 94px; transform: rotate(-32deg); }
.l4 { left: 50%; top: 48%; width: 92px; transform: rotate(-44deg); }

.task-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.task-panel li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.task-panel li span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(124, 255, 178, 0.6);
}

.task-panel li b {
  font-size: 14px;
}

.task-panel li em {
  color: var(--soft);
  font-size: 12px;
  font-style: normal;
}

.insight-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 18px;
  align-items: end;
}

.insight-panel .panel-kicker {
  grid-column: 1 / -1;
}

.insight-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 118px;
  padding: 12px 12px 0;
  border: 1px solid rgba(182, 255, 52, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(182, 255, 52, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 100% 24px;
}

.insight-chart span {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(82, 255, 210, 0.34));
  box-shadow: 0 0 18px rgba(182, 255, 52, 0.12);
}

.insight-copy strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.insight-copy span {
  display: block;
  line-height: 1.7;
}

.section {
  padding: 96px 0;
}

.timeline-section {
  padding-top: 118px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 40px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(182, 255, 52, 0.74), transparent);
}

.timeline article {
  position: relative;
  padding: 24px 0 0;
}

.timeline article::before {
  position: absolute;
  top: -34px;
  left: 0;
  width: 15px;
  height: 15px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(182, 255, 52, 0.72);
}

.timeline span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.timeline h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 20px;
}

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

.intro-band,
.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band h2,
.contact-band h2,
.section-heading h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
}

.intro-band p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.9;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 16px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 21, 18, 0.86);
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1), box-shadow 420ms ease;
}

.project-card:hover {
  box-shadow: 0 18px 44px rgba(45, 116, 180, 0.14);
  transform: translateY(-6px);
}

.project-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #06120e;
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 50% 20%, transparent, rgba(0, 0, 0, 0.34));
}

.project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 520ms cubic-bezier(.2, .7, .2, 1), filter 520ms ease;
}

.project-card:hover .project-media img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.08);
}

.clean-media {
  display: grid;
  align-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(182, 255, 52, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 52, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(82, 255, 210, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(7, 23, 19, 0.94), rgba(2, 9, 7, 0.98));
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.clean-media::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.14));
}

.automation-preview {
  grid-template-columns: 0.8fr 64px 1.15fr;
  gap: 18px;
}

.signal-source,
.kanban-mini,
.tool-grid,
.doc-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.signal-source span {
  padding: 10px 12px;
  border: 1px solid rgba(182, 255, 52, 0.18);
  border-radius: 8px;
  color: #dfff9d;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.055);
}

.flow-core,
.assistant-orb {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(182, 255, 52, 0.34);
  border-radius: 50%;
  color: #06120e;
  background: var(--accent);
  font-size: 18px;
  font-weight: 1000;
  box-shadow: 0 0 34px rgba(182, 255, 52, 0.24);
}

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

.kanban-mini span,
.tool-grid span,
.doc-stack span,
.trend-card {
  border: 1px solid rgba(182, 255, 52, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.kanban-mini span {
  height: 42px;
}

.dashboard-preview {
  grid-template-columns: 0.72fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.metric-line,
.trend-card {
  position: relative;
  z-index: 1;
}

.metric-line {
  padding: 15px;
  border: 1px solid rgba(182, 255, 52, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-line strong {
  display: block;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.metric-line span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.chart-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 132px;
  grid-row: span 2;
  padding: 12px;
  border: 1px solid rgba(82, 255, 210, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.chart-bars span {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(182, 255, 52, 0.26));
}

.chart-bars span:nth-child(1) { height: 35%; }
.chart-bars span:nth-child(2) { height: 52%; }
.chart-bars span:nth-child(3) { height: 44%; }
.chart-bars span:nth-child(4) { height: 70%; }
.chart-bars span:nth-child(5) { height: 88%; }

.trend-card {
  min-height: 58px;
}

.workbench-preview {
  grid-template-columns: 92px 1fr;
  gap: 18px;
}

.assistant-orb {
  width: 86px;
  height: 86px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--cyan) 28%, #1b3b34 72%);
}

.assistant-orb::before,
.assistant-orb::after {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #06120e;
  box-shadow: 20px 0 0 #06120e;
}

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

.tool-grid span {
  height: 44px;
}

.doc-stack {
  grid-column: 1 / -1;
}

.doc-stack span {
  height: 16px;
  border-radius: 999px;
}

.doc-stack span:nth-child(2) { width: 78%; }
.doc-stack span:nth-child(3) { width: 54%; }

.workbench-art span,
.portfolio-art span,
.prompt-art span {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.workbench-art span:nth-child(1) { left: 24px; top: 24px; width: 54%; height: 52px; }
.workbench-art span:nth-child(2) { right: 26px; top: 94px; width: 38%; height: 88px; }
.workbench-art span:nth-child(3) { left: 24px; bottom: 28px; width: 32%; height: 72px; }
.workbench-art span:nth-child(4) { left: 42%; bottom: 32px; width: 18%; height: 18px; background: var(--cyan); }
.portfolio-art span:nth-child(1) { left: 22px; top: 26px; width: 64%; height: 34px; }
.portfolio-art span:nth-child(2) { left: 22px; top: 82px; width: 38%; height: 106px; }
.portfolio-art span:nth-child(3) { right: 24px; bottom: 24px; width: 42%; height: 136px; background: rgba(255, 189, 107, 0.32); }
.prompt-art span { left: 26px; width: calc(100% - 52px); height: 18px; border-radius: 999px; }
.prompt-art span:nth-child(1) { top: 48px; }
.prompt-art span:nth-child(2) { top: 92px; width: 70%; }
.prompt-art span:nth-child(3) { top: 136px; width: 84%; background: rgba(83, 224, 255, 0.32); }

.project-body {
  padding: 22px;
}

.project-body p {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.project-body h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.25;
}

.project-body span {
  display: block;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 21, 18, 0.72);
  backdrop-filter: blur(14px);
  transition: transform 360ms cubic-bezier(.2, .7, .2, 1), background 360ms ease, box-shadow 360ms ease;
}

.steps article:hover {
  background: rgba(10, 28, 23, 0.86);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  transform: translateY(-5px);
}

.steps span {
  color: var(--orange);
  font-weight: 900;
}

.steps h3 {
  margin: 18px 0 12px;
  font-size: 23px;
}

.steps p {
  margin-bottom: 0;
  line-height: 1.8;
}

.contact-band {
  margin-bottom: 48px;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-actions a {
  border-color: var(--line);
  background: rgba(182, 255, 52, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  filter: blur(12px);
  transition:
    opacity 920ms cubic-bezier(.16, 1, .3, 1),
    transform 920ms cubic-bezier(.16, 1, .3, 1),
    filter 920ms cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

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

@media (max-width: 980px) {
  .intro-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    gap: 28px;
    padding-left: 22px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(182, 255, 52, 0.74), transparent);
  }

  .timeline article::before {
    top: 26px;
    left: -29px;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
    padding: 10px;
    border-radius: 22px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

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

  .hero-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-status ul {
    justify-content: flex-start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(48px, 15vw, 64px);
    line-height: 0.92;
  }

  .hero-text,
  .intro-band p {
    font-size: 16px;
  }

  .signal-row,
  .dashboard-grid,
  .outcome-grid,
  .insight-panel {
    grid-template-columns: 1fr;
  }

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

  .signal-row div {
    padding: 12px 10px;
  }

  .signal-row strong {
    font-size: 21px;
  }

  .signal-row span {
    font-size: 11px;
  }

  .portfolio-strip {
    display: flex;
    width: calc(100% + 28px);
    margin-right: -14px;
    margin-left: -14px;
    overflow-x: auto;
    padding: 0 14px 18px;
    scroll-snap-type: x mandatory;
  }

  .portfolio-strip article {
    min-width: 235px;
    min-height: 112px;
    scroll-snap-align: start;
  }

  .portfolio-strip article:nth-child(even) {
    transform: none;
  }

  .portfolio-strip article:nth-child(even):hover,
  .portfolio-strip article:hover {
    transform: translateY(-6px);
  }

  .dashboard-grid {
    gap: 10px;
    padding: 10px;
  }

  .console-title {
    display: none;
  }

  .panel {
    min-height: 132px;
    padding: 15px;
  }

  .ops-panel {
    grid-row: auto;
  }

  .ops-panel h2 {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .pipeline-step {
    grid-template-columns: 42px 1fr;
  }

  .pipeline-step small {
    grid-column: 2;
  }

  .compact-dashboard .panel {
    min-height: auto;
  }

  .compact-system-panel h2 {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .compact-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compact-flow i {
    width: 1px;
    height: 18px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(182, 255, 52, 0.12), rgba(182, 255, 52, 0.78));
  }

  .compact-flow span {
    width: 100%;
  }

  .task-panel li {
    grid-template-columns: 10px 1fr;
    align-items: start;
  }

  .task-panel li em {
    grid-column: 2;
  }

  .insight-chart {
    height: 92px;
  }

  .section {
    padding: 62px 0;
  }
}
