:root {
  --ink: #07171a;
  --deep: #04454c;
  --cyan: #1faed6;
  --sky: #72dbe6;
  --lime-soft: #d7e26b;
  --lime: #c3d300;
  --paper: #f5f7f2;
  --steel: #b8c2c2;
  --graphite: #283234;
  --coral: #ff6b5e;
  --copper: #b87852;
  --header-h: 84px;
  --page-pad: max(24px, calc((100vw - 1440px) / 2));
}

/* Narrative upgrade: stable contrast while the 3D world crosses the copy. */
.threshold-lead,
.entry-lead,
.archive-lead,
.space-lead,
.service-hero > p:last-of-type,
.detail-hero .hero-summary {
  line-height: 1.62;
}

.method-sticky,
.method-steps li > div {
  position: relative;
  z-index: 2;
}

.method-steps li > div {
  max-width: 690px;
  padding: 32px 34px 36px;
  background: rgba(7, 23, 26, 0.9);
  border-left: 3px solid transparent;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: border-color 240ms ease, background-color 240ms ease;
}

.method-steps li.is-active > div {
  background: rgba(7, 23, 26, 0.97);
  border-left-color: var(--lime);
  text-shadow: none;
}

.method-steps h3 {
  font-size: 42px;
}

.method-steps p {
  max-width: 650px;
  color: #dce3e1;
  font-size: 21px;
  line-height: 1.65;
}

.activity-rail article {
  padding: 44px 34px;
  background: rgba(245, 247, 242, 0.95);
}

.activity-rail h3 {
  font-size: 40px;
}

.activity-rail p {
  max-width: 600px;
  font-size: 19px;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .method-steps li > div {
    padding: 24px 22px 28px;
  }

  .method-steps h3 {
    font-size: 32px;
  }

  .method-steps p,
  .activity-rail p {
    font-size: 18px;
  }

  .activity-rail article {
    padding-inline: 22px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--lime);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-160%);
}

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

.garage-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

#garage-canvas,
.world-fallback {
  width: 100%;
  height: 100%;
}

.experience-deferred #garage-canvas,
.experience-loading #garage-canvas {
  visibility: hidden;
}

.experience-deferred .world-fallback,
.experience-loading .world-fallback {
  display: block;
}

#garage-canvas {
  display: block;
}

.world-fallback {
  position: absolute;
  inset: 0;
  display: none;
  object-fit: cover;
  opacity: 0.22;
}

.world-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.no-webgl #garage-canvas {
  display: none;
}

.no-webgl .world-fallback {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 12px var(--page-pad);
  border-bottom: 1px solid rgba(114, 219, 230, 0.24);
  background: rgba(7, 23, 26, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: 164px;
  min-width: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.desktop-nav a,
.contact-link,
.footer-contact,
.site-footer nav a {
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--cyan);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current]::after {
  right: 0;
}

.desktop-nav a[aria-current] {
  color: var(--lime);
}

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

.sound-toggle,
.sound-invite {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.sound-toggle {
  min-width: 0;
  padding: 5px 0;
  color: var(--paper);
  background: transparent;
  border-bottom: 1px solid rgba(245, 247, 242, 0.42);
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
  color: var(--lime);
  background: transparent;
  border-color: currentColor;
}

.sound-label {
  white-space: nowrap;
}

.contact-link {
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav {
  display: none;
}

.zone-indicator {
  position: fixed;
  z-index: 40;
  left: var(--page-pad);
  bottom: 24px;
  width: 210px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: end;
  pointer-events: none;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.zone-code {
  color: var(--sky);
  font-size: 10px;
}

.zone-name {
  font-size: 12px;
  font-weight: 500;
}

.zone-line {
  grid-column: 1 / -1;
  width: 100%;
  height: 2px;
  margin-top: 7px;
  background: rgba(245, 247, 242, 0.22);
}

.zone-line i {
  display: block;
  width: 16%;
  height: 100%;
  background: var(--lime);
  transition: width 250ms ease;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.story-zone {
  position: relative;
  padding-inline: var(--page-pad);
}

.signal-label {
  margin: 0 0 24px;
  color: var(--sky);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.threshold {
  min-height: 230svh;
  padding-top: var(--header-h);
}

.threshold-frame {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: 620px;
  padding-block: 54px 9svh;
}

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

.threshold-statement {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--lime);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 2px 24px var(--ink);
}

.threshold-lead {
  max-width: 560px;
  margin: 0;
  color: var(--paper);
  font-size: 19px;
  text-shadow: 0 2px 18px var(--ink);
}

.threshold-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.primary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}

.primary-action:hover {
  background: var(--lime-soft);
}

.sound-invite {
  min-height: 0;
  padding: 4px 0;
  color: var(--sky);
  background: transparent;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.sound-invite:hover {
  color: var(--lime);
  background: transparent;
}

.scroll-signal {
  position: absolute;
  left: 50%;
  top: calc(92svh - 48px);
  width: 1px;
  height: 72px;
  overflow: hidden;
  background: rgba(245, 247, 242, 0.24);
}

.scroll-signal span {
  display: block;
  width: 100%;
  height: 28px;
  background: var(--lime);
  animation: scan 1.9s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateY(-32px); }
  70%, 100% { transform: translateY(76px); }
}

.exchange {
  min-height: 180svh;
  padding-top: 22svh;
}

.exchange-intro {
  max-width: 840px;
  margin-left: auto;
  padding: 34px 0 120px;
}

.exchange h2,
.workbench h2,
.method h2,
.handoff h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.exchange-sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24vw;
  padding-block: 20svh;
}

.exchange-side {
  padding-top: 22px;
  border-top: 2px solid currentColor;
  text-shadow:
    0 2px 18px rgba(3, 13, 15, 0.96),
    0 1px 2px var(--ink);
}

.exchange-side span,
.activity-rail article > span,
.method-steps > li > span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.exchange-side h3 {
  margin: 24px 0 12px;
  font-size: 28px;
}

.exchange-side p {
  max-width: 470px;
  margin: 0;
}

.demand {
  color: var(--coral);
}

.demand p,
.supply p {
  color: var(--paper);
}

.supply {
  color: var(--sky);
}

.exchange-result {
  max-width: 780px;
  margin: 16svh auto 0;
  color: var(--lime-soft);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 42px;
  line-height: 1.1;
  text-align: center;
}

.route-selector {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 var(--page-pad) 120px;
  background: rgba(245, 247, 242, 0.76);
}

.route-selector a {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 8px 20px;
  padding: 32px;
  color: var(--ink);
  border-top: 1px solid var(--steel);
  border-right: 1px solid var(--steel);
  text-decoration: none;
}

.route-selector a:first-child {
  border-left: 1px solid var(--steel);
}

.route-selector a:hover {
  background: var(--lime-soft);
}

.route-selector span,
.route-selector small {
  grid-column: 1;
  font-family: "IBM Plex Mono", monospace;
}

.route-selector span {
  color: var(--deep);
  font-size: 12px;
}

.route-selector strong {
  font-size: 24px;
}

.route-selector small {
  color: var(--deep);
  font-size: 12px;
}

.route-selector i {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 26px;
  font-style: normal;
}

.workbench {
  min-height: 310svh;
  padding-top: 26svh;
  color: var(--ink);
  background: rgba(245, 247, 242, 0.84);
}

.workbench-heading {
  max-width: 1000px;
  padding: 32px 36px 38px;
  background: rgba(245, 247, 242, 0.9);
  border-left: 4px solid var(--lime);
}

.workbench .signal-label {
  color: var(--deep);
}

.workbench-heading > p:last-child {
  max-width: 680px;
  margin: 32px 0 0;
  font-size: 21px;
}

.activity-rail {
  width: min(720px, 58vw);
  display: grid;
  gap: 0;
  margin: 55svh 0 0 auto;
  padding-bottom: 32svh;
}

.activity-rail article {
  min-height: 52svh;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-content: center;
  padding: 42px 0;
  border-top: 1px solid rgba(4, 69, 76, 0.4);
  text-shadow: 0 1px 0 rgba(245, 247, 242, 0.82);
}

.activity-rail article > span {
  color: var(--deep);
}

.activity-rail h3,
.method-steps h3 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 38px;
  line-height: 1.05;
}

.activity-rail p {
  grid-column: 2;
  max-width: 540px;
  margin: 18px 0 0;
}

.method {
  min-height: 620svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 10vw;
  padding-top: 20svh;
  color: var(--paper);
  background: rgba(7, 23, 26, 0.68);
}

.method-sticky {
  position: sticky;
  top: calc(var(--header-h) + 10svh);
  height: max-content;
  text-shadow: 0 2px 18px var(--ink);
}

.method-progress {
  width: min(360px, 100%);
  height: 3px;
  margin-top: 40px;
  background: rgba(245, 247, 242, 0.2);
}

.method-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
}

.method-status {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  min-height: 92svh;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-content: center;
  opacity: 0.34;
  transition: opacity 280ms ease;
}

.method-steps li.is-active {
  opacity: 1;
}

.method-steps li.is-active > div {
  text-shadow: 0 2px 18px var(--ink);
}

.method-steps li > span {
  color: var(--sky);
}

.method-steps p {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 20px;
}

.handoff {
  min-height: 120svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--header-h);
  background: var(--paper);
  color: var(--ink);
}

.handoff .signal-label {
  color: var(--deep);
}

.handoff h2 {
  max-width: 900px;
}

.handoff > p:not(.signal-label) {
  max-width: 620px;
  margin: 28px 0;
  font-size: 20px;
}

.site-footer {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 60px;
  align-items: end;
  padding: 80px var(--page-pad);
  color: var(--paper);
  background: var(--deep);
}

.site-footer img {
  width: 230px;
  height: auto;
}

.site-footer p {
  max-width: 420px;
}

.site-footer .footer-legal {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(199, 220, 218, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.65;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer nav a:hover,
.footer-contact:hover {
  color: var(--lime);
}

.footer-contact {
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 170px 1fr auto;
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .contact-link {
    display: none;
  }

  .threshold h1 {
    font-size: 88px;
  }

  .threshold-statement {
    font-size: 50px;
  }

  .exchange h2,
  .workbench h2,
  .method h2,
  .handoff h2 {
    font-size: 52px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 70px;
    --page-pad: 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding-block: 9px;
  }

  .brand {
    width: 132px;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .sound-toggle {
    min-width: 0;
    font-size: 10px;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav summary {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 9px;
    border: 1px solid rgba(245, 247, 242, 0.36);
    border-radius: 4px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    display: block;
    height: 1px;
    background: var(--paper);
  }

  .mobile-nav nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    padding: 22px var(--page-pad) 30px;
    background: var(--ink);
    border-bottom: 1px solid var(--cyan);
  }

  .mobile-nav nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(245, 247, 242, 0.14);
    text-decoration: none;
    font-size: 18px;
  }

  .mobile-nav nav a[aria-current] {
    color: var(--lime);
    border-bottom-color: var(--lime);
  }

  .zone-indicator {
    left: 20px;
    bottom: 14px;
    width: 164px;
  }

  .threshold {
    min-height: 220svh;
  }

  .threshold-frame {
    min-height: calc(100svh - var(--header-h));
    max-width: 100%;
    justify-content: flex-end;
    padding-bottom: 76px;
  }

  .threshold h1 {
    font-size: 52px;
  }

  .threshold-statement {
    font-size: 36px;
  }

  .threshold-lead {
    font-size: 17px;
  }

  .threshold-actions {
    gap: 10px;
  }

  .primary-action {
    width: 100%;
  }

  .sound-invite {
    width: max-content;
  }

  .exchange {
    min-height: 210svh;
  }

  .exchange h2,
  .workbench h2,
  .method h2,
  .handoff h2 {
    font-size: 38px;
  }

  .exchange-sides {
    grid-template-columns: 1fr;
    gap: 55svh;
    padding-block: 22svh;
  }

  .exchange-result {
    font-size: 32px;
    text-align: left;
  }

  .route-selector {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .route-selector a {
    min-height: 190px;
    border-left: 1px solid var(--steel);
  }

  .workbench {
    min-height: 360svh;
    padding-top: 18svh;
  }

  .workbench-heading > p:last-child {
    font-size: 18px;
  }

  .workbench-heading {
    padding: 24px 20px 28px;
  }

  .activity-rail {
    width: 100%;
    margin-top: 65svh;
  }

  .activity-rail article {
    min-height: 58svh;
    grid-template-columns: 44px 1fr;
  }

  .activity-rail h3,
  .method-steps h3 {
    font-size: 30px;
  }

  .method {
    min-height: auto;
    display: block;
    padding-top: 14svh;
  }

  .method-sticky {
    position: relative;
    top: 0;
    padding-bottom: 22svh;
  }

  .method-steps li {
    min-height: 82svh;
    grid-template-columns: 42px 1fr;
  }

  .method-steps p {
    font-size: 17px;
  }

  .handoff {
    min-height: 110svh;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: start;
    min-height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-signal {
    display: none;
  }
}

.not-found-page {
  min-height: 100svh;
  color: var(--paper);
  background: var(--ink);
}

.not-found-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.not-found-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.not-found-backdrop span {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 26, 0.68);
}

.not-found-content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-h) + 12svh) var(--page-pad) 14svh;
}

.not-found-content h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 86px;
  line-height: 0.96;
}

.not-found-content > p:not(.signal-label) {
  max-width: 620px;
  margin: 28px 0;
  font-size: 20px;
}

.not-found-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.not-found-actions > a:not(.primary-action) {
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .not-found-content h1 {
    font-size: 48px;
  }

  .not-found-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.method-steps li > div {
  max-width: 690px;
  padding: 32px 34px 36px;
  background: rgba(7, 23, 26, 0.975);
  border-left: 3px solid transparent;
  box-shadow: 0 18px 50px rgba(3, 13, 15, 0.18);
}

.method-steps li.is-active > div {
  background: rgba(7, 23, 26, 0.995);
  border-left-color: var(--lime);
}

.method-steps h3 {
  font-size: 42px;
}

.method-steps p {
  max-width: 650px;
  color: #dce3e1;
  font-size: 21px;
  line-height: 1.65;
}

.activity-rail article {
  padding: 44px 34px;
  background: rgba(245, 247, 242, 0.95);
}

.activity-rail p {
  font-size: 19px;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .method-steps li > div {
    padding: 24px 22px 28px;
  }

  .method-steps h3 {
    font-size: 32px;
  }

  .method-steps p,
  .activity-rail p {
    font-size: 18px;
  }
}
