:root {
  --bg: #000;
  --bg-alt: #050505;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --soft: #717171;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.075);
  --accent: #fff;

  --font-sans: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-md: 8px;
  --radius-sm: 5px;
  --radius-pill: 999px;

  --max-width: 1120px;
}

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

html,
body {
  min-height: 100%;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

html {
  background: #000;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1.5px);
  background-position: center top;
  background-size: 72px 72px, 72px 72px, 24px 24px;
  opacity: 0.18;
}

body::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), #000 88%),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 82%, #000 100%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.84) 52%, rgba(0, 0, 0, 0.92));
}

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.section {
  position: relative;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--line-soft);
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  opacity: 0.7;
}

.section--border {
  border-top: 1px solid var(--line-soft);
}

.section--compact {
  padding: 3.8rem 0 3.4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.055);
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--text);
}

.nav a::after {
  display: none;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.26rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #000;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, transform 0.12s ease-out;
}

.btn:hover {
  background: #000;
  color: var(--text);
  transform: translateY(-1px);
}

.btn--ghost {
  background: #000;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text);
}

.btn--small {
  min-height: 34px;
  padding: 0.48rem 0.82rem;
  font-size: 0.7rem;
}

.availability-pill,
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.72);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.availability-pill {
  gap: 0.45rem;
  padding: 0.34rem 0.7rem;
}

.availability-dot,
.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: #000;
}

.status-dot {
  margin-right: 0.35rem;
}

.pill {
  padding: 0.34rem 0.62rem;
}

.tag {
  padding: 0.12rem 0.45rem;
  font-size: 0.64rem;
  color: var(--soft);
}

.hero-kicker,
.section-tagline,
.card-label,
.subheading,
.footer-brand {
  color: var(--soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.hero-kicker {
  margin: 1.5rem 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: 4rem;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: 2.15rem;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-lede {
  max-width: 45rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.highlight {
  color: var(--text);
  text-decoration: none;
}

.gradient-labs {
  display: inline-block;
  color: transparent;
  background: linear-gradient(
    115deg,
    rgb(255, 64, 129) 0%,
    rgb(255, 184, 77) 18%,
    rgb(120, 255, 120) 36%,
    rgb(58, 214, 255) 54%,
    rgb(146, 104, 255) 72%,
    rgb(255, 77, 217) 88%,
    rgb(255, 64, 129) 100%
  );
  background-size: 340% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: saturate(1.08);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
  animation: labsGradientShift 18s ease-in-out infinite, labsHueSpin 42s linear infinite;
}

@keyframes labsGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes labsHueSpin {
  0% {
    filter: saturate(1.08) hue-rotate(0deg);
  }

  100% {
    filter: saturate(1.08) hue-rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-labs {
    animation: none;
  }
}

.muted {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.small {
  font-size: 0.82rem;
}

.link {
  color: var(--text);
  text-decoration: none;
}

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

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(15rem, 0.45fr);
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-tagline {
  justify-self: end;
  max-width: 22rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.hero {
  padding-top: 4.8rem;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 3rem;
  padding-top: 1.8rem;
  padding-bottom: 3.2rem;
}

.hero-shell > * {
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-points {
  display: grid;
  gap: 0.52rem;
  max-width: 42rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-points li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--text);
  font-family: var(--font-mono);
}

.trust-line {
  margin-top: 1rem;
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.home-hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding-top: 3.4rem;
}

.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding-top: 2.4rem;
  padding-bottom: 3.6rem;
}

.home-hero .hero-copy {
  max-width: 940px;
}

.home-hero h1 {
  max-width: 900px;
}

.home-role {
  max-width: 45rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.identity-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    rgba(0, 0, 0, 0.68);
  background-size: 34px 34px;
}

.identity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.055), transparent 36%);
  pointer-events: none;
}

.identity-top,
.identity-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.identity-top {
  padding: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.identity-top span:first-child {
  color: var(--text);
}

.profile-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.16rem;
  margin: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.48);
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.profile-caption span:first-child {
  color: var(--text);
}

.profile-caption strong {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.identity-line {
  position: relative;
  z-index: 1;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.identity-stack {
  padding: 0.95rem;
  border-top: 1px solid var(--line-soft);
}

.identity-stack span {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.28rem 0.48rem;
  background: rgba(0, 0, 0, 0.55);
}

.build-board {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.build-board a {
  display: grid;
  grid-template-columns: 4rem minmax(180px, 0.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  padding: 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s ease-out, border-color 0.18s ease-out;
}

.build-board a:last-child {
  border-bottom: 0;
}

.build-board a:hover {
  background: rgba(255, 255, 255, 0.045);
}

.build-board span,
.build-board small,
.path-list span {
  color: var(--soft);
}

.build-board span,
.build-board strong,
.path-list a {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.build-board span {
  font-size: 0.72rem;
}

.build-board strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.build-board small {
  font-size: 0.9rem;
  line-height: 1.5;
}

.lab-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.34);
}

.lab-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.72;
  pointer-events: none;
}

.lab-core,
.lab-node {
  position: relative;
  z-index: 1;
}

.lab-core {
  display: grid;
  gap: 0.38rem;
  padding: 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lab-core span,
.lab-node span {
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.lab-core strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.lab-core p,
.lab-node p {
  max-width: 58rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

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

.lab-node {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-height: 150px;
  padding: 1rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.018);
}

.lab-node:nth-child(2n) {
  border-right: 0;
}

.lab-node:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.lab-node h3 {
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.35;
  text-transform: uppercase;
}

a.lab-node {
  transition: background 0.18s ease-out, border-color 0.18s ease-out, transform 0.12s ease-out;
}

a.lab-node:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.origin-note {
  display: grid;
  gap: 0.78rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(0, 0, 0, 0.34);
  background-size: 36px 36px;
}

.origin-note h2 {
  max-width: 780px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}


.products-page {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(4.2rem, 8vw, 6.4rem) 0;
}

.product-hero-block {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    rgba(0, 0, 0, 0.42);
  background-size: 36px 36px;
}

.product-hero-block h1 {
  max-width: 690px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 1.01;
}

.product-hero-block .muted {
  max-width: 620px;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.62;
}

.product-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.product-note-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-link-btn {
  justify-self: start;
  margin-top: 0.45rem;
}
.about-copy {
  margin-bottom: 1.25rem;
}

.about-copy .muted + .muted {
  margin-top: 1rem;
}

.about-belief,
.about-signature {
  margin-top: 1.25rem;
}

.contact-cta {
  margin-top: 1.25rem;
}

.dev-doc-label {
  margin-bottom: 1rem;
}

.dev-doc-header {
  align-items: start;
}

.dev-note-panel {
  display: grid;
  gap: 0.55rem;
  max-width: 760px;
  margin: 1.25rem 0 1.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    rgba(0, 0, 0, 0.34);
  background-size: 34px 34px;
}

.dev-note-panel p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.dev-note-panel--closing {
  max-width: none;
  margin-top: 1.5rem;
}

.dev-note-panel--closing h2 {
  max-width: 760px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.14;
}

.field-notes {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.field-note {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.field-note-number {
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
}

.field-note-body {
  display: grid;
  gap: 0.38rem;
  max-width: 820px;
}

.field-note-body h2 {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.field-note-body p,
.field-note-body strong {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.64;
}

.field-note-body strong {
  color: var(--text);
  font-weight: 600;
}

.field-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.field-signature p,
.field-signature strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.field-signature strong {
  color: var(--text);
}

.about-signature .hero-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.home-service {
  min-height: 170px;
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.path-list a {
  display: grid;
  gap: 0.35rem;
  min-height: 92px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(255, 255, 255, 0.024);
  font-size: 0.8rem;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, transform 0.12s ease-out;
}

.path-list a:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.048);
  transform: translateY(-1px);
}

.path-list span {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  text-transform: none;
}

.story-strip,
.final-cta {
  display: grid;
  gap: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding-top: 2rem;
  padding-bottom: 2rem;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(0, 0, 0, 0.34);
  background-size: 36px 36px;
}

.story-strip h2 {
  max-width: 900px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.story-strip .btn {
  justify-self: start;
}

.final-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: 430px;
}

.preview-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #020202;
  background-size: 38px 38px;
}

.preview-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 58% 36%, rgba(255, 255, 255, 0.11), transparent 34%);
  pointer-events: none;
}

.preview-header,
.preview-timeline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.preview-header {
  padding: 0.85rem 0.95rem;
}

.preview-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  padding: 1.1rem;
}

.state-map {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.48);
}

.state-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 34px;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #000;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.state-node--active {
  border-color: var(--text);
  color: var(--text);
}

.state-line {
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--text), var(--line));
  opacity: 0.74;
}

.signal-dot {
  position: absolute;
  top: 50%;
  left: 82px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: #000;
  transform: translateY(-50%);
  animation: signalMove 3.8s ease-in-out infinite;
}

.ui-preview-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  animation: previewLift 3.8s ease-in-out infinite;
}

.preview-card-top,
.preview-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.preview-card-top {
  color: var(--muted);
}

.preview-bars {
  display: grid;
  gap: 0.55rem;
}

.preview-bars span {
  display: block;
  height: 9px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  transform-origin: left;
}

.preview-bars span:nth-child(1) {
  width: 88%;
  animation: barPulse 3.8s ease-in-out infinite;
}

.preview-bars span:nth-child(2) {
  width: 66%;
  animation: barPulse 3.8s ease-in-out 0.18s infinite;
}

.preview-bars span:nth-child(3) {
  width: 44%;
  animation: barPulse 3.8s ease-in-out 0.36s infinite;
}

.preview-button {
  width: 100%;
  min-height: 42px;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #000;
}

.preview-timeline {
  align-items: end;
  padding: 0.95rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
}

.preview-timeline span {
  display: block;
  flex: 1 1 0;
  height: 34px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
}

.preview-timeline span:nth-child(2) {
  height: 54px;
}

.preview-timeline span:nth-child(3) {
  height: 42px;
}

.preview-timeline span:nth-child(4) {
  height: 70px;
}

@keyframes signalMove {
  0%,
  16% {
    left: 82px;
  }

  44%,
  58% {
    left: calc(50% - 4px);
  }

  86%,
  100% {
    left: calc(100% - 88px);
  }
}

@keyframes previewLift {
  0%,
  100% {
    transform: translateY(0);
    border-color: var(--line);
  }

  46%,
  62% {
    transform: translateY(-4px);
    border-color: var(--text);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleX(0.62);
    opacity: 0.62;
  }

  48%,
  64% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.journey-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(0, 0, 0, 0.35);
  background-size: 32px 32px;
}

.journey-intro {
  padding: 0.2rem 0.2rem 0.2rem 0;
}

.journey-intro h3 {
  max-width: 18rem;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 116px;
  padding: 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.024);
}

.journey-step {
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
}

.journey-item h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0.8;
  pointer-events: none;
}

.card h3 {
  margin-bottom: 0.62rem;
  font-family: var(--font-mono);
  font-size: 0.98rem;
}

.card--ghost {
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, transform 0.12s ease-out;
}

.card--ghost:hover {
  background: var(--panel-strong);
  border-color: var(--text);
  transform: translateY(-2px);
}

.card-label {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}

.list {
  margin: 0.45rem 0 0;
  padding-left: 0;
  list-style: none;
}

.list li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-family: var(--font-mono);
}

.work-grid .card h3 {
  margin-top: 0.24rem;
}

.channel-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.34);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.social-grid a,
.inline-links a,
.footer-socials a,
.card-title-link {
  color: var(--text);
  text-decoration: none;
}

.social-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 68px;
  padding: 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
  transition: border-color 0.18s ease-out, background 0.18s ease-out;
}

.social-grid a span {
  color: var(--soft);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: none;
  overflow-wrap: anywhere;
}

.social-grid a:hover,
.inline-links a:hover,
.footer-socials a:hover,
.card-title-link:hover {
  border-color: var(--text);
  color: var(--text);
}

.inline-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.inline-links {
  margin-top: 1rem;
}

.inline-links a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.25;
  text-transform: uppercase;
  transition: border-color 0.18s ease-out, color 0.18s ease-out;
}

.subheading {
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.5;
}

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

.domain-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.domain-card--featured {
  background: rgba(255, 255, 255, 0.045);
}

.domains-note {
  margin-top: 1.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2rem;
  background: #000;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-left {
  max-width: 42rem;
}

.footer-right {
  max-width: 24rem;
}

.footer-socials {
  justify-content: flex-end;
  margin-bottom: 0.8rem;
}

.footer-brand {
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3.3rem;
  }

  .home-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

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

@media (max-width: 900px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero-shell,
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .nav-links {
    position: absolute;
    inset: 64px 1.5rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #000;
  }

  .nav-links a {
    padding: 0.72rem 0.75rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

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

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

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

  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-tagline {
    justify-self: start;
  }

  .channel-panel {
    grid-template-columns: 1fr;
  }

  .journey-panel {
    grid-template-columns: 1fr;
  }

  .start-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .btn {
    justify-self: start;
  }

  .about-signature .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .header-shell {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .brand-text {
    max-width: 50vw;
  }

  .nav .btn--small {
    display: none;
  }

  .grid--2,
  .grid--3,
  .domains-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0 3.2rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .home-hero {
    padding-top: 4rem;
  }

  .home-role {
    font-size: 1rem;
  }

  .build-board a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    min-height: auto;
  }

  .lab-node-grid {
    grid-template-columns: 1fr;
  }

  .lab-node,
  .lab-node:nth-child(2n),
  .lab-node:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .lab-node:last-child {
    border-bottom: 0;
  }

  .path-list {
    grid-template-columns: 1fr;
  }

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

  .journey-timeline {
    grid-template-columns: 1fr;
  }

  .field-note {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .state-map {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .state-line {
    width: 1px;
    height: 24px;
    justify-self: center;
    background: linear-gradient(180deg, var(--line), var(--text), var(--line));
  }

  .state-node {
    width: 100%;
  }

  .signal-dot {
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    animation-name: signalMoveMobile;
  }

  h1 {
    font-size: 2.75rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-lede {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body::before {
    background-size: 56px 56px, 56px 56px, 20px 20px;
    opacity: 0.13;
  }

  .shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .header-shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .story-strip .btn,
  .final-cta .btn {
    justify-self: stretch;
  }

  .preview-window {
    background-size: 30px 30px;
  }

  .preview-header,
  .preview-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.25rem;
  }
}

@keyframes signalMoveMobile {
  0%,
  16% {
    top: 36px;
  }

  44%,
  58% {
    top: 94px;
  }

  86%,
  100% {
    top: 152px;
  }
}
