:root {
  --ink: #06080f;
  --ink-2: #0b1119;
  --ink-3: #101823;
  --surface: #f7f9fb;
  --surface-2: #edf2f6;
  --paper: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(6, 8, 15, 0.12);
  --text: #101622;
  --muted: #526070;
  --muted-dark: #aab7c8;
  --cyan: #00d9ff;
  --green: #20e68b;
  --amber: #ffb020;
  --rose: #e24a6a;
  --shadow: 0 24px 70px rgba(4, 9, 18, 0.18);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(6, 8, 15, 0.92);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.header-shell {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #001016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 35px rgba(0, 217, 255, 0.25);
  font-size: 13px;
  font-weight: 950;
}

.brand-name {
  font-size: 21px;
}

.brand-name em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 750;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.status-chip i,
.terminal-online i,
.live-dot,
.footer-system i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 230, 139, 0.1), 0 0 18px rgba(32, 230, 139, 0.8);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: #001016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 45px rgba(0, 217, 255, 0.2);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-dark);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.btn-small {
  min-height: 42px;
  padding: 11px 14px;
  font-size: 14px;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: currentColor;
}

.hero-section {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  padding: 112px 0 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #05070d 0%, #091219 50%, #06110d 100%);
  background-size: 74px 74px, 74px 74px, auto;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 0 27%, rgba(0, 217, 255, 0.1) 47%, transparent 68%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.012) 3px 4px);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-one {
  width: 420px;
  height: 420px;
  right: 4%;
  top: 19%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.12), transparent 67%);
}

.orb-two {
  width: 330px;
  height: 330px;
  left: -10%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(32, 230, 139, 0.08), transparent 70%);
}

.hero-grid {
  min-height: calc(100svh - 172px);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  animation: blink 2s ease-in-out infinite;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 5.35vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 950;
}

h1 span {
  color: transparent;
  background: linear-gradient(110deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted-dark);
  font-size: 18px;
}

.hero-actions,
.access-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-signals span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.lab-window {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(5, 10, 17, 0.82);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(0, 217, 255, 0.08);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(6, 8, 15, 0.72);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose);
}

.window-dots span:nth-child(2) { background: var(--amber); }
.window-dots span:nth-child(3) { background: var(--green); }

.window-bar strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.build-number {
  justify-self: end;
  color: rgba(255, 255, 255, 0.4);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.lab-terminal {
  padding: 18px;
}

.terminal-head,
.log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.terminal-online {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.system-readout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), rgba(32, 230, 139, 0.04));
}

.readout-label {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.system-readout strong {
  display: block;
  font-size: 27px;
  line-height: 1.1;
}

.system-readout p {
  margin: 5px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.progress-ring {
  --value: calc(var(--progress) * 1%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) var(--value), rgba(255, 255, 255, 0.09) 0);
  position: relative;
}

.progress-ring::before {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0b151c;
}

.progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 950;
}

.progress-ring small {
  color: var(--muted-dark);
  font-size: 10px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 10px 0;
}

.mini-metrics div {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.mini-metrics span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-weight: 900;
}

.mini-metrics strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

.mini-metrics .cyan { color: var(--cyan); }

.activity-log {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
}

.log-head {
  margin-bottom: 10px;
}

.log-head span:last-child {
  color: var(--rose);
}

.activity-log p {
  display: grid;
  grid-template-columns: 66px 16px 1fr;
  gap: 7px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.activity-log time { color: rgba(255, 255, 255, 0.33); }
.log-ok { color: var(--green); }
.log-info { color: var(--cyan); }

.module-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.module-switcher button {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.module-switcher button:hover,
.module-switcher button.is-active {
  color: #fff;
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.08);
}

.module-switcher i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.hero-next {
  min-height: 48px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.54);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-next a { color: var(--cyan); }

.section-pad {
  padding: 100px 0;
}

.section-heading {
  max-width: 730px;
}

.section-heading > p:not(.eyebrow),
.intro-copy p,
.experiment-card p,
.process-track p,
.manifesto-layout > p,
.access-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 74px;
  align-items: start;
}

.intro-section {
  background: var(--paper);
}

.large-copy {
  margin-bottom: 34px;
  font-size: 21px !important;
  line-height: 1.5;
}

.principle-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line-light);
  padding: 18px 0;
}

.principle-row:last-child { border-bottom: 1px solid var(--line-light); }
.principle-row > span { color: var(--rose); font-weight: 950; }
.principle-row p { margin: 0; }
.principle-row strong { color: var(--text); }

.experiments-section {
  background:
    linear-gradient(90deg, rgba(6, 8, 15, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 8, 15, 0.03) 1px, transparent 1px),
    var(--surface-2);
  background-size: 70px 70px, 70px 70px, auto;
}

.section-topline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.filter-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 5px;
  padding: 7px 12px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter-tabs button:hover,
.filter-tabs button.is-active {
  color: #fff;
  background: var(--ink);
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experiment-card {
  min-height: 580px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(6, 8, 15, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.experiment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(6, 8, 15, 0.1);
}

.experiment-card.is-hidden {
  display: none;
}

.card-featured {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.09), transparent 45%),
    var(--ink-2);
}

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

.project-index {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.card-featured .project-index { color: rgba(255, 255, 255, 0.42); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-beta {
  color: var(--green);
  border-color: rgba(32, 230, 139, 0.2);
  background: rgba(32, 230, 139, 0.08);
}

.status-prototype { color: #b47800; }
.status-concept { color: #a1425a; }

.project-icon {
  height: 154px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 22px 0 26px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(6, 8, 15, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 8, 15, 0.04) 1px, transparent 1px),
    var(--surface);
  background-size: 24px 24px, 24px 24px, auto;
}

.card-featured .project-icon {
  border-color: var(--line-dark);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(0, 0, 0, 0.2);
  background-size: 24px 24px, 24px 24px, auto;
}

.icon-order span {
  width: 58%;
  height: 19px;
  position: absolute;
  left: 21%;
  border: 1px solid rgba(0, 217, 255, 0.46);
  border-radius: 3px;
  background: rgba(0, 217, 255, 0.08);
}

.icon-order span:nth-child(1) { top: 34px; }
.icon-order span:nth-child(2) { top: 67px; width: 43%; }
.icon-order span:nth-child(3) { top: 100px; width: 31%; background: rgba(32, 230, 139, 0.16); border-color: rgba(32, 230, 139, 0.46); }

.icon-stock {
  grid-template-columns: repeat(2, 42px);
  grid-template-rows: repeat(2, 42px);
  gap: 8px;
}

.icon-stock span {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: rgba(255, 176, 32, 0.08);
  box-shadow: inset 0 -8px 0 rgba(255, 176, 32, 0.13);
}

.icon-stock span:nth-child(3) { opacity: 0.4; }

.icon-play::before {
  content: "";
  width: 116px;
  height: 67px;
  border: 3px solid var(--ink);
  border-radius: 34px 34px 20px 20px;
  box-shadow: 0 14px 0 rgba(226, 74, 106, 0.12);
}

.game-cross,
.game-cross::before {
  width: 28px;
  height: 8px;
  position: absolute;
  left: calc(50% - 38px);
  top: calc(50% - 4px);
  border-radius: 2px;
  background: var(--ink);
}

.game-cross::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }

.game-dot { width: 10px; height: 10px; position: absolute; border-radius: 50%; background: var(--rose); }
.game-dot.one { left: calc(50% + 26px); top: calc(50% - 12px); }
.game-dot.two { left: calc(50% + 40px); top: calc(50% + 2px); }

.card-category {
  margin-bottom: 7px;
  color: var(--rose) !important;
  font-size: 11px !important;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.experiment-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.card-featured p:not(.card-category) { color: var(--muted-dark); }

.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding: 20px 0;
}

.card-meta span {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.card-featured .card-meta span { color: #fff; }

.card-meta b {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-featured .card-meta b { color: rgba(255, 255, 255, 0.38); }

.project-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.card-featured .project-link { color: var(--cyan); border-color: var(--line-dark); }
.project-link.is-disabled { cursor: default; }

.next-slot {
  min-height: 116px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  border: 1px dashed rgba(6, 8, 15, 0.22);
  border-radius: var(--radius);
  padding: 20px 26px;
  background: rgba(255, 255, 255, 0.34);
}

.next-slot > span:first-child {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.next-slot strong { font-size: 17px; }
.next-slot p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.slot-mark { color: rgba(6, 8, 15, 0.18); font-size: 42px; font-weight: 250; }

.process-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px, 72px 72px, auto;
}

.process-heading {
  margin-bottom: 48px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 76px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  opacity: 0.45;
}

.process-track article {
  min-height: 300px;
  position: relative;
  z-index: 1;
  border-left: 1px solid var(--line-dark);
  padding: 0 24px 20px;
}

.process-track article:last-child { border-right: 1px solid var(--line-dark); }

.step-number {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--ink);
  box-shadow: 0 0 32px rgba(0, 217, 255, 0.13);
  font-size: 17px;
  font-weight: 900;
}

.process-track article:last-child .step-icon {
  color: var(--green);
  border-color: rgba(32, 230, 139, 0.42);
}

.process-track p { color: var(--muted-dark); font-size: 15px; }

.manifesto-section {
  background: var(--paper);
}

.manifesto-layout {
  max-width: 940px;
}

.manifesto-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 15px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.manifesto-layout blockquote {
  margin: 48px 0 28px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.manifesto-layout blockquote em {
  color: transparent;
  background: linear-gradient(110deg, #00a9cf, #0eaf70);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.manifesto-layout > p {
  max-width: 700px;
  margin-left: auto;
}

.access-section {
  background: var(--surface-2);
}

.access-panel {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 58px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 58px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 48%, rgba(0, 217, 255, 0.13), transparent 28%),
    linear-gradient(135deg, #06080f, #0b161c 67%, #07110d);
  box-shadow: var(--shadow);
}

.access-copy > p:not(.eyebrow) { max-width: 680px; color: var(--muted-dark); }
.access-actions { margin-top: 28px; }

.access-status {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.radar {
  width: 218px;
  height: 218px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.23);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(0, 217, 255, 0.14) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(0, 217, 255, 0.14) 50%, transparent calc(50% + 0.5px)),
    radial-gradient(circle, transparent 0 24%, rgba(0, 217, 255, 0.13) 24.5% 25%, transparent 25.5% 49%, rgba(0, 217, 255, 0.13) 49.5% 50%, transparent 50.5%);
}

.radar-line {
  width: 50%;
  height: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: 0 100%;
  background: linear-gradient(35deg, rgba(0, 217, 255, 0.3), transparent 65%);
  animation: radar 5s linear infinite;
}

.radar b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  z-index: 2;
  border-radius: 50%;
  color: #001016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 38px rgba(0, 217, 255, 0.38);
  font-size: 13px;
}

.ping {
  width: 7px;
  height: 7px;
  position: absolute;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.ping-one { left: 34px; top: 83px; }
.ping-two { right: 47px; top: 46px; }
.ping-three { right: 52px; bottom: 43px; }

.availability {
  text-align: center;
}

.availability > span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.availability i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.availability strong,
.availability small { display: block; }
.availability strong { margin: 5px 0; font-size: 18px; }
.availability small { color: var(--muted-dark); }

.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 52px 0 26px;
  color: #fff;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.65fr;
  gap: 30px;
}

.footer-brand { margin-bottom: 16px; }
.site-footer p { max-width: 360px; color: var(--muted-dark); }

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

.footer-links a {
  color: var(--muted-dark);
  font-weight: 750;
}

.footer-links a:hover { color: var(--cyan); }
.footer-legal { grid-template-columns: 1fr; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-system {
  display: flex;
  align-items: center;
  gap: 9px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

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

@media (max-width: 1080px) {
  .status-chip { display: none; }
  .site-nav { gap: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 48px 0; }
  .hero-copy { padding-top: 24px; }
  .lab-window { max-width: 660px; margin: 0 auto; transform: none; }
  .split-layout { grid-template-columns: 1fr; gap: 30px; }
  .experiment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experiment-card:last-child { grid-column: span 2; min-height: 520px; }
  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .process-track::before { display: none; }
  .process-track article:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .access-panel { padding: 46px; }
}

@media (max-width: 840px) {
  .header-shell { height: 68px; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(6, 8, 15, 0.98);
    box-shadow: var(--shadow);
  }
  body.nav-open .site-nav { display: grid; }
  .site-nav a { min-height: 46px; }
  .header-actions { display: none; }
  h2 { font-size: 34px; }
  .hero-section { padding-top: 88px; }
  .hero-grid { min-height: auto; }
  .section-topline { align-items: flex-start; flex-direction: column; }
  .filter-tabs { align-self: stretch; }
  .filter-tabs button { flex: 1; }
  .access-panel { grid-template-columns: 1fr; }
  .access-status { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }
  .section-pad { padding: 72px 0; }
  h1 { font-size: 42px; line-height: 1.02; }
  h2 { font-size: 29px; }
  h3 { font-size: 21px; }
  .hero-lead,
  .section-heading > p:not(.eyebrow),
  .intro-copy p,
  .experiment-card p,
  .manifesto-layout > p,
  .access-copy > p { font-size: 16px; }
  .hero-actions,
  .access-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn,
  .access-actions .btn { width: 100%; }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .window-bar strong { justify-self: end; }
  .build-number { display: none; }
  .system-readout { padding: 16px; }
  .progress-ring { width: 68px; height: 68px; }
  .progress-ring::before { width: 55px; height: 55px; }
  .activity-log p { grid-template-columns: 16px 1fr; }
  .activity-log time { display: none; }
  .experiment-grid { grid-template-columns: 1fr; }
  .experiment-card,
  .experiment-card:last-child { min-height: auto; grid-column: auto; }
  .next-slot { grid-template-columns: 1fr auto; gap: 12px; }
  .next-slot > span:first-child { grid-column: 1 / -1; }
  .process-track { grid-template-columns: 1fr; }
  .process-track article,
  .process-track article:nth-child(2),
  .process-track article:last-child { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 0 0 28px 20px; }
  .manifesto-code span:nth-child(2) { display: none; }
  .manifesto-layout blockquote { margin-top: 34px; font-size: 31px; }
  .access-panel { padding: 28px 22px; }
  .radar { width: 188px; height: 188px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}

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

/* Pestix Labs: önálló, fejlesztői-labor vizuális réteg */
:root {
  --radius: 3px;
}

html {
  scroll-padding-top: 116px;
}

::selection {
  color: #001016;
  background: var(--green);
}

.ecosystem-bar {
  height: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #03050a;
}

.ecosystem-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ecosystem-label {
  color: rgba(255, 255, 255, 0.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecosystem-sites {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.ecosystem-sites a {
  min-width: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.ecosystem-sites a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ecosystem-sites a span {
  color: rgba(255, 255, 255, 0.22);
  font-size: 8px;
}

.ecosystem-sites a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.ecosystem-sites a.is-current {
  position: relative;
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.07);
}

.ecosystem-sites a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.header-shell {
  height: 70px;
}

.site-header {
  background: rgba(6, 8, 15, 0.66);
  backdrop-filter: blur(10px);
}

.brand-mark {
  border-radius: 2px;
}

.brand-name em {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.hero-section {
  padding-top: 128px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 42%, rgba(0, 217, 255, 0.1), transparent 31%),
    linear-gradient(112deg, #03050a 0%, #071018 63%, #06100c 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.hero-grid {
  grid-template-columns: 58px minmax(0, 0.93fr) minmax(430px, 1.07fr);
  gap: 36px;
}

.hero-index {
  height: min(520px, 67vh);
  align-self: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line-dark);
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  writing-mode: vertical-rl;
}

.hero-index span,
.hero-index strong,
.hero-index small {
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-index strong {
  color: var(--cyan);
}

.hero-index i {
  width: 1px;
  min-height: 80px;
  flex: 1;
  background: linear-gradient(var(--cyan), rgba(0, 217, 255, 0.05));
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "<experiment>";
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.hero-copy::after {
  content: "</experiment>";
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.hero-copy h1 {
  font-size: clamp(48px, 5vw, 70px);
}

.lab-window {
  position: relative;
  border-radius: 2px;
  transform: perspective(1300px) rotateY(-3deg);
  box-shadow: 28px 34px 0 rgba(0, 0, 0, 0.14), 0 34px 100px rgba(0, 0, 0, 0.45), 0 0 70px rgba(0, 217, 255, 0.08);
}

.lab-window::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  right: -8px;
  bottom: -8px;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}

.intro-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    #080c12;
  background-size: 30px 30px;
}

.lab-notebook {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.16);
}

.notebook-bar {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line-dark);
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.36);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.notebook-bar span:nth-child(2) {
  color: var(--green);
}

.notebook-bar span:last-child {
  justify-self: end;
}

.lab-notebook .split-layout {
  padding: 46px;
}

.intro-section .large-copy,
.intro-section .principle-row p {
  color: var(--muted-dark);
}

.intro-section .principle-row {
  border-color: var(--line-dark);
}

.intro-section .principle-row strong {
  color: #fff;
}

.experiments-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6, 8, 15, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 8, 15, 0.04) 1px, transparent 1px),
    #eaf0f4;
  background-size: 38px 38px;
}

.experiments-section::before {
  content: "PROJECT_INDEX // LIVE";
  position: absolute;
  top: 28px;
  right: max(20px, calc((100vw - var(--shell)) / 2));
  color: rgba(6, 8, 15, 0.27);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

.experiment-card {
  position: relative;
  border-radius: 2px;
}

.experiment-card::before,
.experiment-card::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.experiment-card::before {
  left: -1px;
  top: -1px;
  border-left: 2px solid var(--rose);
  border-top: 2px solid var(--rose);
}

.experiment-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid rgba(6, 8, 15, 0.24);
  border-bottom: 2px solid rgba(6, 8, 15, 0.24);
}

.card-featured {
  min-height: 430px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 38px;
}

.card-featured .card-top {
  grid-column: 1 / -1;
}

.card-featured .project-icon {
  min-height: 310px;
  height: 100%;
  grid-column: 1;
  grid-row: 2 / 5;
}

.card-featured > div:nth-of-type(3) {
  align-self: end;
}

.card-featured .card-meta,
.card-featured .project-link {
  grid-column: 2;
}

.card-featured::before {
  border-color: var(--cyan);
}

.card-featured::after {
  border-color: var(--green);
}

.card-featured h3 {
  font-size: 42px;
}

.next-slot {
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.process-section {
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.065), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #04070c;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.manifesto-section {
  position: relative;
  overflow: hidden;
}

.manifesto-section::after {
  content: "“";
  position: absolute;
  right: 3vw;
  bottom: -210px;
  color: rgba(0, 217, 255, 0.055);
  font-family: Georgia, serif;
  font-size: 520px;
  line-height: 1;
  pointer-events: none;
}

.manifesto-layout {
  position: relative;
  z-index: 1;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .hero-index {
    grid-row: 1 / 3;
  }

  .hero-visual {
    grid-column: 2;
  }

  .card-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 102px;
  }

  .ecosystem-label {
    display: none;
  }

  .ecosystem-shell {
    justify-content: center;
  }

  .ecosystem-sites {
    width: 100%;
  }

  .ecosystem-sites a {
    min-width: 0;
    flex: 1;
  }

  .header-shell {
    height: 64px;
  }

  .site-nav {
    top: 96px;
  }

  .hero-section {
    padding-top: 116px;
  }

  .lab-notebook .split-layout {
    padding: 34px;
  }

  .notebook-bar {
    grid-template-columns: 1fr 1fr;
  }

  .notebook-bar span:last-child {
    display: none;
  }

  .card-featured {
    display: flex;
    min-height: 580px;
  }

  .card-featured .project-icon {
    min-height: 154px;
    height: 154px;
  }

  .card-featured h3 {
    font-size: 30px;
  }
}

@media (max-width: 620px) {
  .ecosystem-sites a {
    font-size: 9px;
  }

  .ecosystem-sites a span {
    display: none;
  }

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

  .hero-index {
    width: 100%;
    height: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 0 0 12px;
    writing-mode: initial;
  }

  .hero-index i {
    width: auto;
    min-height: 1px;
    background: linear-gradient(90deg, var(--cyan), rgba(0, 217, 255, 0.05));
  }

  .hero-index small {
    display: none;
  }

  .hero-visual {
    grid-column: 1;
  }

  .lab-window {
    transform: none;
    box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.16), 0 28px 70px rgba(0, 0, 0, 0.38);
  }

  .notebook-bar {
    grid-template-columns: 1fr auto;
    padding: 0 14px;
  }

  .lab-notebook .split-layout {
    padding: 26px 20px;
  }

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

/* Közös PestiX fejléc + eltérő Labs nyitókompozíció */
html {
  scroll-padding-top: 86px;
}

.site-header {
  background: transparent;
  backdrop-filter: none;
}

.header-shell {
  height: 76px;
}

.brand-mark,
.site-header .btn,
.site-header .nav-toggle,
.site-nav a {
  border-radius: 8px;
}

.site-nav a {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.text-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.text-link:hover {
  color: var(--green);
}

.hero-section {
  --pointer-x: 70%;
  --pointer-y: 42%;
  min-height: 100svh;
  padding-top: 112px;
}

.hero-section::before {
  background:
    radial-gradient(circle 330px at var(--pointer-x) var(--pointer-y), rgba(0, 217, 255, 0.16), transparent 72%),
    linear-gradient(118deg, transparent 0 27%, rgba(0, 217, 255, 0.06) 47%, transparent 68%);
  transition: background 120ms linear;
}

.hero-grid {
  min-height: auto;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: stretch;
  column-gap: 42px;
  row-gap: 42px;
  padding-top: 46px;
  padding-bottom: 58px;
}

.hero-index {
  height: auto;
  min-height: 760px;
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero-copy {
  max-width: none;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  grid-template-areas:
    "eyebrow eyebrow"
    "title lead"
    "title actions"
    "signals signals";
  align-items: start;
  column-gap: 64px;
}

.hero-copy::before,
.hero-copy::after {
  display: none;
}

.hero-copy .eyebrow {
  grid-area: eyebrow;
}

.hero-copy h1 {
  grid-area: title;
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(54px, 6.7vw, 86px);
}

.hero-copy .hero-lead {
  grid-area: lead;
  padding-top: 7px;
}

.hero-copy .hero-actions {
  grid-area: actions;
  align-self: end;
}

.hero-copy .hero-signals {
  grid-area: signals;
  margin-top: 38px;
}

.hero-visual {
  width: min(100%, 820px);
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.lab-window {
  transform: none;
  animation: lab-float 6s ease-in-out infinite;
}

.lab-terminal {
  position: relative;
  overflow: hidden;
}

.terminal-scan {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 18px;
  top: 54px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.85), transparent);
  box-shadow: 0 0 16px rgba(0, 217, 255, 0.65);
  pointer-events: none;
  animation: terminal-scan 5.2s ease-in-out infinite;
}

.lab-terminal.is-switching .system-readout,
.lab-terminal.is-switching .mini-metrics,
.lab-terminal.is-switching .activity-log {
  animation: data-switch 340ms ease;
}

.progress-ring {
  transition: transform 240ms ease, filter 240ms ease;
}

.lab-terminal.is-switching .progress-ring {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(32, 230, 139, 0.42));
}

.mini-metrics [data-metric="stage"] {
  font-size: 11px;
  letter-spacing: -0.02em;
}

.module-switcher button {
  position: relative;
  overflow: hidden;
}

.module-switcher button::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-100%);
}

.module-switcher button:hover::after {
  opacity: 1;
  transform: translateX(100%);
  transition: transform 420ms ease, opacity 120ms ease;
}

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

@keyframes terminal-scan {
  0%, 18% { top: 54px; opacity: 0; }
  24% { opacity: 0.78; }
  72% { top: calc(100% - 24px); opacity: 0.38; }
  78%, 100% { top: calc(100% - 24px); opacity: 0; }
}

@keyframes data-switch {
  0% { opacity: 0.5; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

  .hero-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "signals";
  }

  .hero-copy h1 {
    margin-bottom: 24px;
  }

  .hero-copy .hero-actions {
    margin-top: 8px;
  }

  .hero-index {
    min-height: 900px;
  }
}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 78px;
  }

  .header-shell {
    height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .hero-section {
    padding-top: 88px;
  }

  .hero-grid {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .hero-index {
    min-height: 820px;
  }
}

@media (max-width: 620px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .hero-index {
    min-height: 0;
  }

  .hero-copy {
    grid-column: 1;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-visual {
    width: 100%;
    grid-column: 1;
  }

  .lab-window {
    animation-duration: 7.5s;
  }
}

/* Labs 2.0 — signal stage */
:root {
  --acid: #a7ff1e;
  --acid-soft: rgba(167, 255, 30, 0.12);
}

.brand-context {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 2px;
  padding-left: 12px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-section {
  min-height: 100svh;
  padding: 0;
  background:
    radial-gradient(circle at 14% 32%, rgba(167, 255, 30, 0.08), transparent 24%),
    radial-gradient(circle at 82% 34%, rgba(0, 217, 255, 0.13), transparent 31%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(126deg, #030508 0%, #061119 58%, #06100c 100%);
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
}

.labs-hero-stage {
  position: relative;
  z-index: 2;
  padding-top: 132px;
  padding-bottom: 34px;
}

.hero-stage-top {
  display: grid;
  grid-template-columns: 66px minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: 34px;
  align-items: end;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 28px 0 34px;
}

.lab-coordinate {
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line-dark);
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.lab-coordinate i {
  width: 1px;
  min-height: 70px;
  flex: 1;
  background: linear-gradient(var(--cyan), transparent);
}

.hero-title-block h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.058em;
}

.hero-title-block h1 span {
  background: linear-gradient(105deg, var(--acid) 0%, var(--green) 42%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-intro-panel {
  border-left: 1px solid var(--line-dark);
  padding: 14px 0 6px 28px;
}

.intro-panel-code {
  display: block;
  margin-bottom: 18px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hero-intro-panel p {
  margin-bottom: 26px;
  color: var(--muted-dark);
  font-size: 17px;
}

.labs-text-action {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 850;
}

.labs-text-action:hover {
  color: var(--acid);
}

.hero-stage-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 246px;
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.hero-stage-main .hero-visual {
  width: 100%;
  max-width: none;
  grid-column: auto;
  grid-row: auto;
  justify-self: stretch;
}

.hero-stage-main .lab-window {
  height: 100%;
  animation: signal-window 7s ease-in-out infinite;
}

.hero-field-notes {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  background: rgba(3, 7, 11, 0.66);
}

.field-notes-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.field-notes-head b {
  color: var(--acid);
}

.hero-field-notes article {
  flex: 1;
  border-bottom: 1px solid var(--line-dark);
  padding: 16px;
}

.hero-field-notes article > span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.hero-field-notes strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.hero-field-notes p {
  margin: 4px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
}

.field-notes-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 900;
}

.field-notes-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero-ticker {
  overflow: hidden;
  margin-top: 18px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-ticker > div {
  width: max-content;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  animation: labs-ticker 24s linear infinite;
}

.hero-ticker b {
  color: var(--acid);
}

.hero-stage-main .lab-terminal {
  padding: 16px;
}

.hero-stage-main .system-readout {
  margin-top: 12px;
  padding: 17px 18px;
}

.hero-stage-main .activity-log {
  padding: 13px 15px;
}

.hero-stage-main .mini-metrics {
  margin: 9px 0;
}

.mini-metrics [data-signal-metric="mode"] {
  font-size: 10px;
}

@keyframes signal-window {
  0%, 100% { transform: translateY(0); box-shadow: 22px 28px 0 rgba(0, 0, 0, 0.14), 0 34px 100px rgba(0, 0, 0, 0.45); }
  50% { transform: translateY(-6px); box-shadow: 22px 36px 0 rgba(0, 0, 0, 0.1), 0 42px 110px rgba(0, 217, 255, 0.08); }
}

@keyframes labs-ticker {
  to { transform: translateX(-50%); }
}

/* Project gallery inspired by experimental showcase cards */
.experiments-section {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(167, 255, 30, 0.055), transparent 28%),
    #030504;
}

.experiments-section::before {
  color: rgba(167, 255, 30, 0.38);
}

.experiments-section .section-heading > p:not(.eyebrow) {
  color: var(--muted-dark);
}

.filter-tabs {
  border-color: rgba(167, 255, 30, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.filter-tabs button {
  color: rgba(255, 255, 255, 0.56);
}

.filter-tabs button:hover,
.filter-tabs button.is-active {
  color: #071000;
  background: var(--acid);
}

.experiment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.neon-project-card,
.experiment-grid .experiment-card:last-child {
  min-height: 590px;
  grid-column: auto;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(190, 220, 202, 0.19);
  border-radius: 20px;
  padding: 0;
  color: #fff;
  background: #07100c;
  box-shadow: none;
}

.neon-project-card::before,
.neon-project-card::after {
  display: none;
}

.neon-project-card:hover {
  border-color: rgba(167, 255, 30, 0.48);
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36), 0 0 36px rgba(167, 255, 30, 0.055);
}

.project-visual {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(190, 220, 202, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #020303;
  background-size: 34px 34px, 34px 34px, auto;
}

.visual-topline {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.visual-topline span {
  color: rgba(255, 255, 255, 0.78);
}

.visual-topline b {
  border-radius: 999px;
  padding: 7px 10px;
  color: #071000;
  background: var(--acid);
  font-size: 8px;
}

.visual-coordinate {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.project-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 20px;
  background:
    linear-gradient(135deg, rgba(167, 255, 30, 0.025), transparent 42%),
    #07100c;
}

.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.project-heading .card-category {
  margin: 0;
  color: rgba(255, 255, 255, 0.55) !important;
}

.project-state {
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--acid);
  background: var(--acid-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.neon-project-card h3 {
  margin: 14px 0 10px;
  font-size: 27px;
}

.neon-project-card .project-body > p {
  color: var(--muted-dark);
  font-size: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 6px 0 20px;
}

.project-tags span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 800;
}

.project-tags span:first-child {
  border-color: var(--acid);
  color: #071000;
  background: var(--acid);
}

.project-card-foot {
  min-height: 45px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.project-card-foot span {
  color: rgba(255, 255, 255, 0.35);
}

.project-card-foot b {
  color: var(--acid);
}

/* OrderFlow visual */
.visual-pos {
  background:
    radial-gradient(circle at 66% 50%, rgba(0, 217, 255, 0.16), transparent 34%),
    #020506;
}

.pos-screen {
  width: min(74%, 390px);
  height: 205px;
  position: absolute;
  left: 50%;
  top: 53%;
  display: grid;
  grid-template-columns: 54px 1fr;
  border: 1px solid rgba(0, 217, 255, 0.48);
  border-radius: 5px;
  background: #07131a;
  box-shadow: 0 0 0 9px rgba(0, 217, 255, 0.025), 0 28px 70px rgba(0, 217, 255, 0.14);
  transform: translate(-50%, -50%) perspective(700px) rotateX(5deg) rotateY(-8deg);
  transition: transform 300ms ease;
}

.neon-project-card:hover .pos-screen {
  transform: translate(-50%, -52%) perspective(700px) rotateX(1deg) rotateY(-3deg);
}

.pos-sidebar {
  display: grid;
  align-content: start;
  gap: 11px;
  border-right: 1px solid rgba(0, 217, 255, 0.18);
  padding: 18px 13px;
}

.pos-sidebar i {
  height: 6px;
  border-radius: 2px;
  background: rgba(0, 217, 255, 0.3);
}

.pos-orders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  align-content: start;
  padding: 18px 16px;
}

.pos-orders span {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), rgba(32, 230, 139, 0.035));
}

.pos-total {
  position: absolute;
  right: 16px;
  bottom: 12px;
  text-align: right;
}

.pos-total small,
.pos-total strong {
  display: block;
}

.pos-total small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 7px;
}

.pos-total strong {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

/* Stockroom visual */
.visual-stock {
  background:
    radial-gradient(circle at 50% 48%, rgba(167, 255, 30, 0.17), transparent 34%),
    #030403;
}

.stock-object {
  width: 220px;
  height: 190px;
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%) rotate(-4deg);
  transition: transform 360ms ease;
}

.neon-project-card:hover .stock-object {
  transform: translate(-50%, -54%) rotate(1deg) scale(1.04);
}

.stock-object span {
  width: 82px;
  height: 72px;
  position: absolute;
  border: 1px solid rgba(167, 255, 30, 0.7);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(167, 255, 30, 0.5), rgba(32, 230, 139, 0.08));
  box-shadow: inset -12px -14px 22px rgba(0, 0, 0, 0.35), 0 15px 30px rgba(167, 255, 30, 0.12);
  transform: skewY(-8deg);
}

.stock-object span:nth-child(1) { left: 12px; top: 18px; }
.stock-object span:nth-child(2) { left: 108px; top: 4px; }
.stock-object span:nth-child(3) { left: 2px; top: 102px; }
.stock-object span:nth-child(4) { left: 98px; top: 90px; }
.stock-object span:nth-child(5) { width: 30px; height: 30px; right: -8px; bottom: 12px; background: var(--acid); }

/* Arcade visual */
.visual-arcade {
  background:
    radial-gradient(circle at 50% 54%, rgba(226, 74, 106, 0.16), transparent 38%),
    #050307;
}

.arcade-orb {
  width: 188px;
  height: 188px;
  position: absolute;
  left: 50%;
  top: 53%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff, #c85cff 8%, #6e26d8 25%, #111 64%);
  box-shadow: 0 0 20px #c85cff, 0 0 78px rgba(200, 92, 255, 0.58);
  transform: translate(-50%, -50%);
  animation: arcade-pulse 3.4s ease-in-out infinite;
}

.arcade-orb span {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(200, 92, 255, 0.35);
  border-radius: 50%;
}

.arcade-orb span:nth-child(2) { inset: -38px; border-color: rgba(0, 217, 255, 0.2); }
.arcade-orb span:nth-child(3) { inset: 32px; border-style: dashed; animation: radar 7s linear infinite; }
.arcade-orb i { position: absolute; inset: 48%; border-radius: 50%; background: #fff; box-shadow: 0 0 22px #fff; }

@keyframes arcade-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.96); filter: hue-rotate(0deg); }
  50% { transform: translate(-50%, -50%) scale(1.04); filter: hue-rotate(24deg); }
}

/* Beta AI visual */
.visual-ai {
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.18), transparent 37%),
    #020507;
}

.ai-core {
  width: 220px;
  height: 220px;
  position: absolute;
  left: 50%;
  top: 53%;
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: radar 14s linear infinite;
}

.ai-core::before,
.ai-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.ai-core::before {
  inset: 34px;
  border: 1px dashed rgba(32, 230, 139, 0.46);
}

.ai-core::after {
  inset: 72px;
  background: radial-gradient(circle, #fff, var(--cyan) 16%, rgba(0, 217, 255, 0.1) 55%, transparent 70%);
  box-shadow: 0 0 54px rgba(0, 217, 255, 0.75);
}

.ai-core span {
  width: 12px;
  height: 12px;
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.ai-core span:nth-child(1) { left: 10px; top: 92px; }
.ai-core span:nth-child(2) { right: 18px; top: 44px; }
.ai-core span:nth-child(3) { left: 62px; bottom: 8px; }
.ai-core span:nth-child(4) { right: 54px; bottom: 22px; }
.ai-core i { position: absolute; left: 50%; top: -26px; width: 1px; height: 272px; background: linear-gradient(transparent, rgba(0, 217, 255, 0.4), transparent); }

@media (max-width: 980px) {
  .hero-stage-top {
    grid-template-columns: 46px 1fr;
  }

  .lab-coordinate {
    grid-row: 1 / 3;
  }

  .hero-intro-panel {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
  }

  .hero-stage-main {
    grid-template-columns: 1fr;
  }

  .hero-field-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .field-notes-head,
  .field-notes-status {
    grid-column: 1 / -1;
  }

  .hero-field-notes article {
    border-right: 1px solid var(--line-dark);
  }
}

@media (max-width: 760px) {
  .labs-hero-stage {
    padding-top: 94px;
  }

  .hero-stage-top {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .lab-coordinate {
    height: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 0 0 12px;
    writing-mode: initial;
  }

  .lab-coordinate i {
    width: auto;
    min-height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }

  .hero-title-block h1 {
    font-size: 50px;
  }

  .hero-intro-panel {
    grid-column: 1;
  }

  .hero-field-notes {
    grid-template-columns: 1fr;
  }

  .hero-field-notes article {
    border-right: 0;
  }

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

  .neon-project-card,
  .experiment-grid .experiment-card:last-child {
    min-height: 560px;
  }
}

@media (max-width: 520px) {
  .brand-context {
    padding-left: 9px;
    font-size: 9px;
  }

  .hero-title-block h1 {
    font-size: 42px;
  }

  .hero-intro-panel .hero-actions {
    align-items: flex-start;
  }

  .project-visual {
    min-height: 270px;
  }

  .project-body {
    padding: 22px 20px 18px;
  }

  .neon-project-card h3 {
    font-size: 23px;
  }

  .project-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .pos-screen {
    width: 84%;
  }
}
