@font-face {
  font-family: Hack;
  src: url('../assets/fonts/HackNerdFontMono-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Hack;
  src: url('../assets/fonts/HackNerdFontMono-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #090a0e;
  --panel: #0e1016;
  --panel2: #12141c;
  --line: #292d39;
  --text: #e5e8ef;
  --muted: #9b9fac;
  --violet: #b69bff;
  --green: #a3ff85;
  --cyan: #81efdf;
  --scroll: 0;
  --chapter-color: #b69bff;
  --font: Hack, 'Courier New', monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  font: 14px/1.7 var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
::selection {
  background: var(--violet);
  color: #090a0e;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h2 {
  font-size: clamp(29px, 3.5vw, 49px);
  line-height: 1.2;
  letter-spacing: -2px;
  margin-bottom: 0;
}
p {
  margin-bottom: 0;
}
.green {
  color: var(--green);
}
.violet {
  color: var(--violet);
}
.muted {
  color: var(--muted);
}
.nerd {
  font-family: Hack;
  font-size: 18px;
}
.shell {
  max-width: 1390px;
  width: calc(100% - 176px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: var(--green);
  color: #000;
}
.skip:focus {
  top: 15px;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 10%, #44337418, transparent 45%),
    linear-gradient(#ffffff02 1px, transparent 1px);
  background-size:
    auto,
    100% 5px;
}
.scroll-progress {
  height: 2px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--violet), var(--green));
  transform: scaleX(var(--scroll));
  transform-origin: left;
  z-index: 100;
}
.cookie-dock { position: fixed; z-index: 90; right: 18px; bottom: 16px; width: 300px; }
.cookie-dock summary { display: inline-flex; float: right; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); background: #0e1016; color: var(--muted); cursor: pointer; font-size: 10px; list-style: none; }
.cookie-dock summary::-webkit-details-marker { display: none; }
.cookie-dock[open] summary { border-color: var(--violet); border-bottom-color: transparent; color: var(--violet); }
.cookie-panel { clear: both; padding: 16px; border: 1px solid var(--violet); background: #0e1016f7; box-shadow: 0 16px 55px #000b; }
.cookie-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--violet); font-size: 9px; }
.cookie-panel strong { color: var(--green); font-weight: 400; }
.cookie-panel p { margin: 6px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.cookie-panel small { display: block; padding: 7px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.cookie-actions { display: flex; gap: 8px; margin-top: 14px; }
.cookie-actions button { border: 1px solid var(--line); padding: 8px 10px; background: transparent; color: var(--text); font: inherit; font-size: 10px; }
.cookie-actions button[data-consent='accept'] { border-color: var(--green); background: var(--green); color: #090a0e; }
@media (max-width: 600px) { .cookie-dock { right: 12px; bottom: 12px; width: min(300px, calc(100vw - 24px)); } }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 36px;
  background: #090a0eeb;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 15px;
  letter-spacing: -0.5px;
}
.logo-mark {
  display: inline-flex;
  margin-right: 16px;
  border: 1px solid var(--violet);
  width: 30px;
  height: 29px;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  font-size: 17px;
  line-height: 1;
  transform: skew(-8deg);
}
.logo-mark span {
  font-size: 12px;
  margin-left: -3px;
  transform: translateY(4px);
}
.topbar nav {
  display: flex;
  gap: 34px;
  font-size: 11px;
  color: var(--muted);
}
.topbar nav a:hover,
.topbar nav a.active {
  color: var(--green);
}
#motion-toggle {
  background: none;
  border: 1px solid #434552;
  padding: 6px 10px;
  font-size: 10px;
}
#fx-state {
  color: var(--green);
  margin-left: 7px;
}
.side-rail {
  position: fixed;
  top: 29%;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  z-index: 10;
}
.side-rail a {
  font-size: 9px;
  color: #737985;
  padding: 5px;
  border-left: 1px solid #373b45;
}
.side-rail a.active {
  color: var(--green);
  border-left-color: var(--green);
}
.rail-line {
  height: 60px;
  width: 1px;
  background: #303340;
}
.rail-label {
  font-size: 8px;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  color: #7b8191;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px #a3ff8540;
  vertical-align: middle;
  margin-right: 8px;
}
.hero {
  padding-top: 35px;
  padding-bottom: 0;
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
.hero-body {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: 45px;
  padding: 50px 0 55px;
}
.prompt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.prompt span {
  margin-right: 2px;
}
h1 {
  font-size: clamp(48px, 6.5vw, 102px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -6px;
  margin: 0 0 26px;
  position: relative;
}
h1 span {
  color: var(--violet);
}
h1 b {
  font-weight: 400;
  color: var(--green);
  display: block;
  font-size: 0.48em;
  height: 14px;
  line-height: 0;
  margin-top: 18px;
}
.hero-subtitle {
  font-size: clamp(21px, 2.1vw, 31px);
  line-height: 1.45;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero-description {
  max-width: 470px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-top: 29px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  padding: 14px 18px;
  border: 1px solid #424852;
  background: transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.button:hover {
  border-color: var(--green);
  background: #a3ff850b;
  transform: translateY(-2px);
}
.button-primary {
  background: var(--green);
  color: #10180c;
  border-color: var(--green);
  font-weight: 700;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}
.button-primary:hover {
  background: #c0ffac;
  color: #111;
}
.button-quiet {
  border-color: transparent;
  padding-inline: 10px;
  color: var(--muted);
}
.hero-note {
  font-size: 9px;
  color: #969baa;
  margin-top: 34px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.core-window {
  border: 1px solid #363143;
  background: linear-gradient(135deg, #1813259c, #0c1015);
  position: relative;
  min-width: 0;
  box-shadow: 0 0 70px #9c74ff05;
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.3;
  min-height: 38px;
}
.window-bar > span:first-child:not(.green) {
  display: flex;
  gap: 5px;
}
.window-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555564;
}
.window-bar i:first-child {
  background: #bd8fff;
}
.window-bar i:nth-child(2) {
  background: #7a608e;
}
.window-bar i:nth-child(3) {
  background: #47414f;
}
.core-stage {
  aspect-ratio: 1.1;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse, #9e78ff0f, transparent 65%),
    linear-gradient(#b69bff08 1px, transparent 1px),
    linear-gradient(90deg, #b69bff08 1px, transparent 1px);
  background-size:
    auto,
    38px 38px,
    38px 38px;
}
.neural-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.core-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: var(--violet);
  z-index: -1;
}
.canvas-ready + .core-fallback {
  display: none;
}
.core-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #817596;
  border-style: solid;
}
.corner-tl {
  top: 25px;
  left: 25px;
  border-width: 1px 0 0 1px;
}
.corner-br {
  bottom: 25px;
  right: 25px;
  border-width: 0 1px 1px 0;
}
.core-label {
  position: absolute;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #b8adc9;
}
.core-label.top {
  top: 34px;
  padding-left: 12px;
}
.core-label.bottom {
  bottom: 34px;
  padding-right: 12px;
}
.core-footer {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--muted);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #969cab;
  letter-spacing: 1px;
}
.hero-bottom a {
  font-size: 20px;
  color: var(--green);
}
.signal-strip {
  border-block: 1px solid #343a32;
  background: #a3ff8505;
  overflow: hidden;
  padding: 20px 0;
  margin-top: 20px;
}
.signal-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  transform: translateX(var(--ticker-shift, 0px));
  will-change: transform;
}
.signal-track span {
  font-size: 12px;
  letter-spacing: 3px;
  color: #abb5a7;
}
.signal-track b {
  font-size: 23px;
  font-weight: 400;
  color: var(--green);
}
.profile {
  padding-top: 95px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
.section-label span:first-child {
  color: var(--green);
}
.profile-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.profile-intro > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.95;
}
.world-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
  margin-top: 85px;
}
.world-sticky {
  position: sticky;
  top: calc(50svh - 235px);
  border: 1px solid #363443;
  background: var(--panel);
  overflow: hidden;
}
.world-view {
  height: 355px;
  position: relative;
  background: radial-gradient(ellipse at 60% 45%, #64519215, transparent 65%);
}
.world-overlay {
  position: absolute;
  left: 25px;
  bottom: 28px;
  pointer-events: none;
}
.world-overlay > span {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--chapter-color);
  display: block;
  margin-bottom: 9px;
}
.world-overlay strong {
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 400;
  text-shadow: 0 2px 10px #090a0e;
}
.world-cross {
  position: absolute;
  right: 20px;
  top: 20px;
  bottom: 20px;
  display: flex;
  align-items: stretch;
  line-height: 135px;
  color: #615f71;
}
.world-status {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--muted);
}
#world-progress {
  color: var(--chapter-color);
  letter-spacing: 3px;
}
.chapter {
  padding: 90px 0 110px;
  min-height: 65svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.38;
  transition: opacity 0.4s;
}
.chapter.active {
  opacity: 1;
}
.chapter:first-child {
  padding-top: 65px;
}
.chapter-number {
  font-size: 10px;
  color: var(--chapter-color);
  margin-bottom: 24px;
}
.chapter h3 {
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -1.7px;
  line-height: 1.2;
  margin: 0 0 23px;
}
.chapter p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 480px;
}
.micro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 28px;
}
.micro-tags span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #a6a9b8;
  border-bottom: 1px solid #373a44;
  padding-bottom: 6px;
}
.backlog {
  border: 1px solid var(--line);
  background: var(--panel);
  margin: 40px 0 95px;
}
.backlog > summary {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}
.backlog > summary::-webkit-details-marker {
  display: none;
}
.backlog-summary {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 35px;
  align-items: center;
}
.details-plus {
  font-size: 23px;
  color: var(--violet);
  transition: transform 0.2s;
}
.backlog[open] .details-plus {
  transform: rotate(45deg);
}
.backlog-inner {
  padding: 0 24px 24px;
  font-size: 11px;
}
.backlog-inner > p {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 20px;
}
.idea {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px dashed #30343d;
}
.idea-index {
  color: var(--green);
  font-size: 10px;
}
.idea h3 {
  font-size: 13px;
  margin-bottom: 7px;
}
.idea p {
  color: var(--muted);
  font-size: 11px;
  max-width: 730px;
}
.idea-area {
  font-size: 8px;
  display: block;
  margin-top: 10px;
  color: var(--violet);
}
.idea-state {
  font-size: 8px;
  padding: 2px 7px;
  border: 1px solid #524768;
  color: var(--violet);
  align-self: start;
}
.stack-section {
  border-block: 1px solid var(--line);
  background: #101117;
  padding: 80px 0;
}
.stack-heading {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  margin-bottom: 40px;
}
.stack-heading p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 22px;
}
.stack-counter {
  display: flex;
  gap: 18px;
  align-items: center;
}
.stack-counter strong {
  font-size: 65px;
  font-weight: 400;
  line-height: 1;
  color: var(--green);
  letter-spacing: -4px;
}
.stack-counter > span {
  font-size: 8px;
  color: var(--muted);
}
.stack-controls {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  border-block: 1px solid var(--line);
  padding: 18px 0;
}
.tool-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tool-filters button {
  border: 1px solid transparent;
  background: none;
  font-size: 9px;
  color: var(--muted);
  padding: 7px 9px;
}
.tool-filters button[aria-pressed='true'] {
  background: #a3ff8510;
  color: var(--green);
  border-color: #a3ff8559;
}
.tool-filters button:hover {
  color: var(--text);
}
.tool-search {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 7px 10px;
  color: var(--green);
}
.tool-search input {
  width: 165px;
  min-width: 0;
  background: none;
  border: 0;
  font-size: 10px;
  color: var(--text);
  outline-offset: 8px;
}
.tool-search input::placeholder {
  color: #9b9fac;
}
.tool-results {
  font-size: 9px;
  color: var(--muted);
  padding: 19px 0;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tool-card {
  background: #101117;
  padding: 24px 19px;
  display: flex;
  gap: 16px;
  align-items: start;
  position: relative;
  transition: background 0.2s;
}
.tool-card:hover {
  background: #191a23;
}
.tool-card:after {
  content: '+';
  position: absolute;
  top: 6px;
  right: 8px;
  color: #575763;
  font-size: 9px;
}
.tool-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px #b59aff0f);
}
.tool-card h3 {
  font-size: 11px;
  line-height: 1.5;
  margin: 0 0 5px;
}
.tool-card p {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.65;
}
.tool-card .tool-category {
  font-size: 7px;
  letter-spacing: 0.7px;
  display: block;
  margin-top: 10px;
  color: #afb6c2;
}
.empty-tools {
  padding: 30px;
  background: var(--panel);
  font-size: 12px;
  color: var(--muted);
  grid-column: 1/-1;
}
.stack-expand {
  text-align: center;
  margin-top: 26px;
}
.stack-expand button {
  font-size: 10px;
}
.terminal-section {
  padding-block: 85px;
}
.terminal-section .section-label {
  margin-bottom: 20px;
}
.terminal-window {
  border: 1px solid #3d3e4d;
  background: #0b0d12;
  box-shadow: 0 15px 65px #0002;
}
.terminal-window h2 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
#terminal-output {
  padding: 26px 25px 12px;
  max-height: 280px;
  overflow: auto;
  min-height: 115px;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
#terminal-output p {
  margin: 0 0 4px;
}
.terminal-echo {
  color: var(--green);
  margin-top: 15px !important;
}
#terminal-form {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 25px 24px;
  font-size: 12px;
}
#command {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  outline-offset: 5px;
}
#terminal-form button {
  background: none;
  border: 1px solid var(--line);
  color: var(--violet);
  padding: 4px 9px;
}
.command-shortcuts {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px 25px;
  flex-wrap: wrap;
}
.command-shortcuts button {
  background: none;
  color: var(--violet);
  border: 1px solid #383244;
  padding: 4px 10px;
  font-size: 9px;
}
.command-shortcuts button:hover {
  background: #b69bff15;
}
.command-shortcuts > span {
  margin-left: auto;
  font-size: 8px;
  color: var(--muted);
}
.contact {
  padding-top: 15px;
  padding-bottom: 90px;
}
.contact .prompt {
  margin-top: 60px;
}
.contact h2 {
  font-size: clamp(34px, 5.6vw, 78px);
  letter-spacing: -4px;
  line-height: 1.15;
}
.cursor {
  animation: cursor 1.3s step-end infinite;
}
.contact-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 35px;
}
.contact-bottom > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
  max-width: 50%;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid #514661;
  color: var(--violet);
  font-size: 10px;
  transition: background 0.2s;
}
.contact-links a:hover {
  background: #b69bff15;
}
.contact-links a:first-child {
  border-color: #62744f;
  color: var(--green);
}
.contact-links .contact-icon {
  font-size: 15px;
}
.contact-form {
  display: grid;
  grid-template-columns: minmax(235px, .72fr) minmax(0, 1.28fr);
  width: 100%;
  margin-top: 55px;
  border: 1px solid var(--line);
  background: #0e1016;
}
.contact-form-aside { padding: 28px; border-right: 1px solid var(--line); background: linear-gradient(145deg, #1c1628, #0e1016 68%); }
.contact-form-aside > span, .contact-form-actions > span { color: var(--violet); font-size: 9px; }
.contact-form h3 { margin: 10px 0 9px; color: var(--green); font-weight: 400; font-size: 24px; }
.contact-form-aside p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.contact-form-aside > div { margin-top: 28px; color: var(--muted); font-size: 10px; }
.contact-form-aside .status-dot { margin-right: 5px; }
.contact-form-fields { display: grid; align-content: start; gap: 16px; padding: 28px; }
.contact-form label { display: grid; gap: 7px; color: var(--violet); font-size: 11px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  background: #090a0e;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); outline: 0; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.contact-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-form .button { margin: 0; }
@media (max-width: 760px) { .contact-form { grid-template-columns: 1fr; } .contact-form-aside { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .contact-form-grid { grid-template-columns: 1fr; } .contact-form-actions { align-items: flex-start; flex-direction: column; } }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  padding-bottom: 66px;
  font-size: 9px;
  color: var(--muted);
}
footer .wordmark {
  color: var(--text);
  font-size: 13px;
}
footer > a:last-child:hover {
  color: var(--green);
}
.system-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 26px;
  z-index: 40;
  background: #101219f5;
  border-top: 1px solid var(--line);
  font-size: 8px;
  color: var(--muted);
  backdrop-filter: blur(12px);
}
#current-section {
  color: var(--violet);
}
.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s,
    transform 0.75s;
}
.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.motion-off .chapter {
  opacity: 1;
}
.motion-off .cursor {
  animation: none;
}
.motion-off .signal-track {
  transform: none !important;
}
.motion-off .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.motion-off .button,
.motion-off .tool-card {
  transition: none;
}
.motion-off .button:hover {
  transform: none;
}
html:has(.motion-off) {
  scroll-behavior: auto;
}
@keyframes cursor {
  50% {
    opacity: 0;
  }
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .hero-body {
    gap: 100px;
    padding-block: 75px;
  }
  .hero {
    min-height: 850px;
  }
  .world-view {
    height: 440px;
  }
  .world-sticky {
    top: calc(50svh - 280px);
  }
}
@media (max-width: 1150px) {
  .shell {
    width: calc(100% - 125px);
    margin-left: 85px;
    margin-right: 40px;
  }
  .hero-body {
    gap: 25px;
    grid-template-columns: 1.12fr 1fr;
  }
  .hero h1 {
    font-size: 6.3vw;
    letter-spacing: -4px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 12px 13px;
  }
  .hero-actions .button-quiet {
    padding-inline: 0;
  }
  .world-layout {
    gap: 45px;
  }
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stack-controls {
    flex-direction: column;
  }
  .tool-search {
    align-self: stretch;
  }
  .tool-search input {
    width: 100%;
  }
  .contact-bottom {
    display: block;
  }
  .contact-links {
    justify-content: start;
    max-width: 100%;
    margin-top: 25px;
  }
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 48px);
    margin-inline: auto;
  }
  .side-rail {
    display: none;
  }
  .topbar {
    padding: 16px 24px;
    gap: 15px;
  }
  .topbar nav {
    gap: 18px;
  }
  .hero {
    min-height: auto;
  }
  .hero-body {
    padding-top: 42px;
  }
  .hero h1 {
    font-size: 6.7vw;
    letter-spacing: -3px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .hero-description {
    font-size: 11px;
  }
  .hero-note {
    font-size: 8px;
  }
  .hero-actions {
    gap: 5px;
  }
  .core-label {
    font-size: 6px;
    left: 15px;
    right: 15px;
    letter-spacing: 1px;
  }
  .core-label.top {
    top: 25px;
  }
  .core-label.bottom {
    bottom: 25px;
  }
  .corner-tl {
    top: 16px;
    left: 16px;
  }
  .corner-br {
    bottom: 16px;
    right: 16px;
  }
  .core-footer {
    font-size: 6px;
    padding: 10px;
  }
  .profile-intro {
    gap: 30px;
  }
  .profile-intro > p {
    font-size: 11px;
  }
  .world-layout {
    gap: 30px;
  }
  .world-view {
    height: 310px;
  }
  .world-sticky {
    top: calc(50svh - 205px);
  }
  .world-overlay strong {
    font-size: 23px;
  }
  .chapter {
    min-height: 65svh;
  }
  .chapter h3 {
    font-size: 29px;
  }
  .chapter p {
    font-size: 11px;
  }
  .stack-counter strong {
    font-size: 50px;
  }
  .tool-card {
    padding: 20px 14px;
    gap: 12px;
  }
  .tool-icon {
    width: 28px;
    height: 28px;
  }
  .tool-card h3 {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 90px;
  }
  .shell {
    width: calc(100% - 36px);
  }
  .topbar {
    padding: 14px 18px;
    gap: 12px;
  }
  .wordmark {
    font-size: 12px;
  }
  .logo-mark {
    display: none;
  }
  .topbar nav {
    gap: 12px;
    font-size: 9px;
  }
  #motion-toggle {
    font-size: 8px;
    padding: 5px 7px;
  }
  #fx-state {
    margin-left: 3px;
  }
  .hero {
    padding-top: 25px;
  }
  .hero-topline {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .edition {
    display: none;
  }
  .hero-body {
    grid-template-columns: 1fr;
    padding: 35px 0 32px;
    gap: 32px;
  }
  .prompt {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(39px, 11vw, 66px);
    letter-spacing: -3.5px;
    margin-bottom: 22px;
  }
  .hero h1 b {
    margin-top: 12px;
    height: 10px;
  }
  .hero-subtitle {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  .hero-description {
    font-size: 11px;
    max-width: 400px;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 12px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 13px 15px;
  }
  .hero-note {
    margin-top: 21px;
    font-size: 8px;
  }
  .core-stage {
    aspect-ratio: 1.45;
  }
  .core-window {
    max-width: 100%;
    width: 100%;
  }
  .core-label {
    font-size: 7px;
    left: 20px;
    right: 20px;
  }
  .core-footer {
    font-size: 7px;
    padding: 12px 15px;
  }
  .hero-bottom {
    font-size: 7px;
    letter-spacing: 0.3px;
    padding-block: 15px;
  }
  .hero-bottom a {
    font-size: 16px;
  }
  .signal-strip {
    padding: 12px 0;
    margin-top: 0;
  }
  .signal-track {
    gap: 23px;
  }
  .signal-track span {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .signal-track b {
    font-size: 18px;
  }
  .profile {
    padding-top: 55px;
  }
  .section-label {
    font-size: 7px;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    gap: 10px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -1.7px;
  }
  .profile-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .profile-intro > p {
    font-size: 11px;
  }
  .world-layout {
    grid-template-columns: 1fr;
    margin-top: 38px;
    gap: 5px;
  }
  .world-sticky {
    top: 64px;
    z-index: 3;
    box-shadow: 0 15px 25px #090a0ecc;
  }
  .world-sticky .window-bar {
    padding: 10px 12px;
    font-size: 8px;
    min-height: 31px;
  }
  .world-view {
    height: 170px;
  }
  .world-overlay {
    left: 17px;
    bottom: 16px;
  }
  .world-overlay strong {
    font-size: 21px;
  }
  .world-overlay > span {
    font-size: 7px;
    margin-bottom: 6px;
  }
  .world-status {
    padding: 8px 12px;
    font-size: 7px;
  }
  .world-cross {
    line-height: 65px;
  }
  .world-chapters {
    position: relative;
  }
  .chapter {
    min-height: 68svh;
    padding: 80px 4px 70px;
    scroll-margin-top: 325px;
  }
  .chapter:first-child {
    padding-top: 45px;
  }
  .chapter-number {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .chapter h3 {
    font-size: 30px;
  }
  .chapter p {
    font-size: 11px;
  }
  .micro-tags {
    margin-top: 20px;
  }
  .micro-tags span {
    font-size: 7px;
  }
  .backlog {
    margin: 10px 0 55px;
  }
  .backlog > summary {
    padding: 17px 13px;
    font-size: 9px;
    gap: 10px;
  }
  .backlog-summary {
    font-size: 7px;
    gap: 10px;
  }
  .backlog-inner {
    padding: 0 14px 15px;
  }
  .idea {
    grid-template-columns: 23px 1fr;
    gap: 10px;
  }
  .idea h3 {
    font-size: 11px;
  }
  .idea p {
    font-size: 10px;
  }
  .idea-state {
    grid-column: 2;
    width: max-content;
  }
  .stack-section {
    padding-block: 55px;
  }
  .stack-heading {
    gap: 25px;
    align-items: end;
    margin-bottom: 25px;
  }
  .stack-heading h2 {
    font-size: 27px;
    letter-spacing: -1.5px;
  }
  .stack-heading p {
    font-size: 10px;
  }
  .stack-heading p br {
    display: none;
  }
  .stack-counter {
    display: block;
    padding-bottom: 4px;
  }
  .stack-counter strong {
    font-size: 38px;
    letter-spacing: -2px;
  }
  .stack-counter > span {
    display: block;
    font-size: 6px;
    margin-top: 5px;
  }
  .stack-controls {
    gap: 14px;
  }
  .tool-filters {
    gap: 3px;
  }
  .tool-filters button {
    padding: 6px 7px;
    font-size: 8px;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-card {
    padding: 18px 12px;
    display: block;
  }
  .tool-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
  .tool-card h3 {
    font-size: 11px;
  }
  .tool-card p {
    font-size: 9px;
  }
  .tool-card .tool-category {
    font-size: 7px;
  }
  .tool-results {
    font-size: 8px;
    padding-block: 16px;
  }
  .terminal-section {
    padding-block: 55px;
  }
  .terminal-window .window-bar {
    padding-inline: 12px;
  }
  .terminal-window h2 {
    font-size: 8px;
  }
  #terminal-output {
    font-size: 10px;
    padding: 20px 15px 10px;
    max-height: 260px;
  }
  #terminal-form {
    font-size: 10px;
    gap: 8px;
    padding: 15px;
  }
  #terminal-form label {
    font-size: 9px;
  }
  #terminal-form button {
    padding: 3px 7px;
  }
  .command-shortcuts {
    padding: 12px 15px;
    gap: 7px;
  }
  .command-shortcuts button {
    font-size: 8px;
    padding: 4px 8px;
  }
  .command-shortcuts > span {
    width: 100%;
    margin: 2px 0 0;
    font-size: 7px;
  }
  .contact {
    padding-top: 0;
    padding-bottom: 55px;
  }
  .contact .prompt {
    margin-top: 35px;
  }
  .contact h2 {
    font-size: clamp(32px, 8.6vw, 50px);
    letter-spacing: -2.5px;
  }
  .contact-bottom {
    margin-top: 23px;
  }
  .contact-bottom > p {
    font-size: 10px;
  }
  .contact-bottom > p br {
    display: none;
  }
  .contact-links {
    gap: 8px;
  }
  .contact-links a {
    padding: 11px 12px;
    font-size: 9px;
    gap: 10px;
  }
  footer {
    flex-wrap: wrap;
    gap: 15px;
    padding-block: 23px 65px;
    font-size: 8px;
  }
  footer > span {
    order: 3;
    width: 100%;
    font-size: 8px;
  }
  footer > a:last-child {
    margin-left: auto;
  }
  .system-bar {
    padding: 9px 12px;
    font-size: 6px;
    gap: 8px;
  }
  .system-bar .status-dot {
    width: 4px;
    height: 4px;
    margin-right: 5px;
  }
  .status-desktop {
    display: none;
  }
}
@media (max-width: 360px) {
  .topbar nav {
    gap: 8px;
    font-size: 8px;
  }
  .topbar {
    gap: 8px;
  }
  .wordmark {
    font-size: 11px;
  }
  .hero-actions .button {
    font-size: 9px;
    gap: 10px;
    padding: 12px;
  }
  .hero-note {
    font-size: 7px;
  }
  .stack-counter {
    display: none;
  }
  .backlog-summary {
    font-size: 0;
  }
  .details-plus {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .signal-track {
    transform: none !important;
  }
  .chapter {
    opacity: 1;
  }
}
#world-name {
  white-space: pre-line;
}
.terminal-links {
  max-width: 100%;
  justify-content: flex-start;
  margin: 10px 0 15px;
}
.terminal-links a {
  font-size: 10px;
}
.chapter {
  opacity: 1;
}
.motion-enabled .chapter {
  opacity: 0.4;
}
.motion-enabled .chapter.active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .motion-enabled .chapter {
    opacity: 1;
  }
}
.contact-address {
  display: inline-block;
  color: var(--text);
  margin-top: 8px;
}
.contact-address:hover {
  color: var(--green);
}
/* Archetype: presentation, services and independent project modules. */
.topbar {
  gap: 20px;
}
.topbar nav {
  gap: 22px;
  font-size: 10px;
}
.archetype {
  font-size: 10px;
  margin-left: 15px;
  color: var(--muted);
  letter-spacing: 1px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.language-switch {
  font-size: 10px;
  color: var(--text);
  white-space: nowrap;
}
.language-switch span {
  color: var(--violet);
}
.human-name {
  font-size: clamp(46px, 6.6vw, 96px) !important;
  letter-spacing: -5px !important;
}
.core-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.core-fallback {
  z-index: 0;
  pointer-events: none;
}
.canvas-ready + .core-fallback {
  display: none;
}
.section-space {
  padding-block: 80px;
}
.profile {
  padding-top: 80px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 40px;
}
.section-intro > p,
.prose p {
  font-size: 12px;
  line-height: 1.95;
  color: var(--muted);
}
.prose p + p {
  margin-top: 20px;
}
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}
.personal-panel {
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--panel);
}
.personal-panel > span {
  font-size: 10px;
}
.personal-panel h3 {
  font-size: 20px;
  margin: 18px 0 14px;
  line-height: 1.4;
}
.personal-panel p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}
.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--violet);
  font-size: 11px;
}
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 85px;
  align-items: start;
}
.process-panel {
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding-bottom: 25px;
}
.process-step {
  display: flex;
  gap: 20px;
  padding: 25px;
  border-bottom: 1px solid var(--line);
}
.process-step > span {
  font-size: 10px;
  color: var(--green);
}
.process-step h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.process-step p {
  font-size: 11px;
  color: var(--muted);
}
.process-panel > .button {
  margin: 25px 25px 0;
}
.service-item {
  padding: 10px 0 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--line);
}
.service-item h3 {
  font-size: 27px;
  line-height: 1.2;
  margin: 10px 0 15px;
  letter-spacing: -1px;
}
.service-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.service-item ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.service-item li {
  font-size: 9px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: #bcc2cc;
}
.project-section {
  border-block: 1px solid var(--line);
  background: #0c0e13;
}
.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.project-filters button {
  font-size: 10px;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 13px;
}
.project-filters button[aria-pressed='true'] {
  color: var(--green);
  border-color: #667f53;
  background: #a3ff8508;
}
.project-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 24px;
  padding: 29px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.project-index {
  align-self: start;
  font-size: 11px;
  color: var(--violet);
  padding-top: 3px;
}
.project-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 8px;
  color: var(--muted);
  flex-wrap: wrap;
}
.status-badge {
  font-size: 8px;
  border: 1px solid #574c6e;
  color: var(--violet);
  padding: 3px 7px;
  white-space: nowrap;
  width: max-content;
}
.project-info h3 {
  font-size: 20px;
  margin: 13px 0 10px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.project-info h3 a:hover {
  color: var(--green);
}
.project-info p {
  font-size: 11px;
  color: var(--muted);
}
.project-info .micro-tags {
  margin-top: 14px;
}
.project-info .micro-tags span {
  font-size: 8px;
}
.project-open {
  font-size: 10px;
  color: var(--green);
  padding: 10px 0 10px 10px;
  white-space: nowrap;
}
.stack-legend {
  display: flex;
  gap: 22px;
  font-size: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.legend-current {
  color: var(--green) !important;
}
.legend-learning {
  color: var(--violet) !important;
}
.legend-personal {
  color: var(--cyan) !important;
}
.code-tabs {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.code-tabs button {
  padding: 12px 18px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 10px;
  color: var(--muted);
}
.code-tabs button[aria-selected='true'] {
  color: var(--green);
  border-color: var(--green);
  background: #a3ff8506;
}
.code-viewer pre {
  margin: 0;
  padding: 25px;
  min-height: 310px;
  overflow: auto;
  tab-size: 2;
  line-height: 1.85;
  font-size: 11px;
  color: #cfc0ee;
}
.code-viewer code {
  font: inherit;
}
.code-note {
  padding: 13px 25px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.contact-bottom > div:first-child {
  max-width: 540px;
  font-size: 12px;
  color: var(--muted);
}
.contact .contact-links {
  max-width: 45%;
}
.demo-page {
  padding-top: 38px;
  padding-bottom: 65px;
}
.back-link {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 45px;
}
.back-link:hover {
  color: var(--green);
}
.demo-title {
  font-size: clamp(32px, 4.4vw, 58px);
  letter-spacing: -2px;
  line-height: 1.18;
  margin: 0 0 20px;
  font-weight: 400;
  max-width: 1000px;
}
.demo-lead {
  color: var(--muted);
  font-size: 13px;
  max-width: 850px;
}
.demo-page > .micro-tags {
  margin-top: 20px;
}
.demo-notice {
  display: flex;
  align-items: start;
  gap: 20px;
  border-left: 2px solid var(--violet);
  background: #b69bff07;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 35px;
}
.demo-notice p {
  font-size: 11px;
  color: #bbc0cd;
  line-height: 1.8;
}
.demo-workbench {
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 35px;
}
.demo-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  font-size: 12px;
  min-width: 0;
}
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
}
.demo-form input:not([type='checkbox']):not([type='range']),
.demo-form select,
.demo-form textarea {
  width: 100%;
  background: #0a0c11;
  border: 1px solid #414552;
  color: var(--text);
  padding: 11px;
  font: 12px var(--font);
  min-width: 0;
  border-radius: 0;
}
.demo-form input[type='range'] {
  width: 100%;
  accent-color: var(--green);
}
.demo-form .check-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}
.check-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.demo-form .button {
  align-self: start;
}
.demo-form output {
  color: var(--green);
  display: inline;
}
.demo-output {
  border-left: 1px solid var(--line);
  padding: 28px;
  min-width: 0;
  background: #090c12;
}
.demo-output h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}
.demo-output p {
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-line;
}
.demo-output pre {
  font: 11px/1.85 var(--font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #bfcfc5;
  max-height: 440px;
  overflow: auto;
}
.demo-footnote {
  font-size: 9px !important;
  color: var(--muted);
  margin-top: 20px;
}
.demo-number {
  display: block;
  font-size: 56px;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -3px;
  margin: 15px 0;
}
.progress-track {
  height: 5px;
  background: #303640;
  margin-bottom: 20px;
}
.progress-track > div {
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 0.3s;
}
.demo-toolbar {
  padding: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.monitor-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.monitor-summary > div {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.monitor-summary span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.monitor-summary strong {
  font-weight: 400;
  font-size: 30px;
  color: var(--green);
  display: block;
  margin-top: 10px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th,
td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.warning {
  color: #ffb66c;
}
.demo-message {
  padding: 20px 24px;
  font-size: 11px;
  color: var(--muted);
}
.part-preview,
.home-preview,
.robot-preview {
  width: 100%;
  height: auto;
  max-height: 350px;
}
.image-preview {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.sample-queries {
  display: flex;
  gap: 8px;
  padding: 0 28px 28px;
  flex-wrap: wrap;
}
.sample-queries button {
  font: 9px var(--font);
  color: var(--violet);
  border: 1px solid var(--line);
  background: none;
  padding: 7px 10px;
}
.source-result {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.source-result h3 {
  font-size: 12px;
  color: var(--violet);
  margin-bottom: 8px;
}
.next-step {
  padding: 30px 0;
  max-width: 850px;
}
.next-step h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
.next-step p {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.project-siblings {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.project-siblings a {
  font-size: 10px;
  color: var(--violet);
}
.source-code {
  border: 1px solid var(--line);
  margin-bottom: 35px;
}
.source-code summary {
  padding: 17px 22px;
  font-size: 12px;
  color: var(--green);
  cursor: pointer;
}
.source-code pre {
  padding: 0 22px 22px;
  overflow: auto;
  font: 10px/1.9 var(--font);
  max-height: 330px;
}
.spinning {
  animation: fan-spin 2s linear infinite;
}
.motion-off .spinning {
  animation: none;
}
@keyframes fan-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1150px) {
  .topbar nav {
    gap: 13px;
    font-size: 9px;
  }
  .archetype {
    display: none;
  }
  .service-layout {
    gap: 40px;
  }
  .section-intro {
    gap: 40px;
  }
  .shell {
    width: calc(100% - 80px);
    margin-inline: auto;
  }
  .header-actions {
    gap: 10px;
  }
  .contact .contact-links {
    max-width: 100%;
  }
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 48px);
  }
  .topbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 13px 24px;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .header-actions {
    margin-left: auto;
  }
  .section-intro {
    gap: 25px;
  }
  .service-layout {
    gap: 25px;
  }
  .process-step {
    padding: 20px;
    gap: 12px;
  }
  .project-row {
    gap: 15px;
    grid-template-columns: 25px 1fr;
  }
  .project-open {
    grid-column: 2;
    justify-self: start;
    padding-left: 0;
  }
  .demo-form,
  .demo-output {
    padding: 20px;
  }
  .demo-notice {
    display: block;
  }
  .demo-notice p {
    margin-top: 12px;
  }
  .demo-workbench .window-bar {
    font-size: 8px;
  }
  .process-panel {
    top: 115px;
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 36px);
  }
  .topbar {
    padding: 12px 18px;
  }
  .topbar nav {
    display: flex;
  }
  .topbar nav > a:nth-child(2) {
    display: block;
  }
  .topbar nav a {
    font-size: 8px;
  }
  .archetype {
    display: inline;
    font-size: 8px;
    margin-left: 8px;
  }
  .language-switch {
    font-size: 8px;
  }
  .human-name {
    font-size: clamp(39px, 11vw, 66px) !important;
    letter-spacing: -3px !important;
  }
  .hero-subtitle {
    font-size: 23px;
  }
  .hero-topline {
    font-size: 6px;
  }
  .hero-note {
    font-size: 8px;
  }
  .hero-bottom {
    font-size: 6px;
    letter-spacing: 0;
  }
  .section-space,
  .profile {
    padding-block: 50px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
  .section-intro > p,
  .prose p {
    font-size: 11px;
  }
  .personal-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
  }
  .personal-panel {
    padding: 23px;
  }
  .personal-panel h3 {
    font-size: 20px;
  }
  .service-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .process-panel {
    position: static;
  }
  .service-item h3 {
    font-size: 26px;
  }
  .service-item p {
    font-size: 11px;
  }
  .service-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  .project-filters {
    gap: 6px;
  }
  .project-filters button {
    font-size: 8px;
    padding: 8px;
  }
  .project-meta {
    font-size: 7px;
    gap: 8px;
  }
  .project-info h3 {
    font-size: 18px;
  }
  .project-info p {
    font-size: 10px;
  }
  .project-index {
    font-size: 9px;
  }
  .project-row {
    gap: 12px;
    padding-block: 24px;
  }
  .project-open {
    font-size: 10px;
  }
  .stack-legend {
    font-size: 8px;
    gap: 12px;
  }
  .code-tabs button {
    padding: 10px 12px;
    font-size: 8px;
  }
  .code-viewer pre {
    padding: 18px;
    font-size: 9px;
    min-height: 330px;
  }
  .code-note {
    font-size: 8px;
    padding: 12px 18px;
  }
  .contact h2 {
    font-size: 39px;
  }
  .contact-bottom > div:first-child {
    font-size: 11px;
  }
  .demo-page {
    padding-top: 25px;
  }
  .back-link {
    font-size: 10px;
    margin-bottom: 30px;
  }
  .demo-title {
    font-size: 32px;
    letter-spacing: -1.6px;
    line-height: 1.2;
  }
  .demo-lead {
    font-size: 11px;
  }
  .demo-notice {
    padding: 16px;
    margin-top: 25px;
  }
  .demo-notice p {
    font-size: 10px;
  }
  .demo-columns {
    grid-template-columns: 1fr;
  }
  .demo-output {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .demo-form {
    font-size: 11px;
    gap: 20px;
  }
  .demo-form label {
    font-size: 10px;
  }
  .demo-output h2 {
    font-size: 20px;
  }
  .demo-toolbar {
    padding: 15px;
    gap: 8px;
  }
  .demo-toolbar .button {
    font-size: 9px;
    padding: 11px;
  }
  .monitor-summary > div {
    padding: 15px 10px;
  }
  .monitor-summary span {
    font-size: 8px;
  }
  .monitor-summary strong {
    font-size: 23px;
  }
  th,
  td {
    padding: 15px;
    font-size: 10px;
  }
  .next-step h2 {
    font-size: 21px;
  }
  .next-step p {
    font-size: 11px;
  }
  .system-bar > span:nth-child(2) {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .source-code summary {
    font-size: 10px;
  }
  .source-code pre {
    font-size: 9px;
  }
  .contact-address {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinning {
    animation: none;
  }
  .progress-track > div {
    transition: none;
  }
}
