:root {
  --black: #030302;
  --void: #070604;
  --ink: #0e0b07;
  --cream: #fff8e8;
  --paper: #efe3ca;
  --muted: #b9ad9b;
  --dim: #766d60;
  --tan: #d8bd8a;
  --amber: #f2cc7a;
  --gold: #ffe3a6;
  --clay: #b98652;
  --line: rgba(216, 189, 138, .26);
  --line-soft: rgba(216, 189, 138, .13);
  --line-strong: rgba(216, 189, 138, .56);
  --max: 1320px;
  --ease: cubic-bezier(.22, .8, .26, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: clip;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

h1 {
  max-width: 10.5ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.2rem, 6.3vw, 6.9rem);
  line-height: .88;
  letter-spacing: 0;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  line-height: .94;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .65rem;
  font-size: clamp(1.18rem, 1.8vw, 1.6rem);
  line-height: 1.08;
}

.lede {
  max-width: 66ch;
  color: #d3c8b7;
  font-size: clamp(1.05rem, 1.35vw, 1.23rem);
  line-height: 1.66;
}

.body-copy,
.signal-step p,
.evidence-slot p,
.table-grid p {
  color: #b8ad9e;
  font-size: 1rem;
  line-height: 1.7;
}

.mono,
.route-line,
.mini-index,
.slot-state,
.field-readout,
.field-node b,
.field-path,
.visual-caption,
.map-note {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0;
}

::selection {
  background: rgba(216, 189, 138, .28);
  color: var(--cream);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  background: var(--cream);
  color: var(--black);
  padding: .75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.lane-one-world {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  pointer-events: none;
  background: #030302;
}

.lane-one-world::before {
  content: "";
  position: absolute;
  left: 2vw;
  right: 2vw;
  bottom: -30vh;
  height: 86vh;
  transform: perspective(820px) rotateX(68deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .15) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .7;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1), rgba(0,0,0,.68) 62%, transparent 96%);
}

.lane-one-world::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(216, 189, 138, .12) 9% calc(9% + 1px), transparent calc(9% + 1px) 91%, rgba(216, 189, 138, .12) 91% calc(91% + 1px), transparent calc(91% + 1px)),
    linear-gradient(180deg, rgba(255, 248, 232, .018), transparent 18rem);
  opacity: .92;
}

.world-axis,
.world-plane,
.world-room {
  position: absolute;
  display: block;
}

.world-axis {
  top: -12vh;
  bottom: -4vh;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 138, .52), transparent);
  transform-origin: bottom;
}

.axis-left {
  left: 25%;
  transform: skewX(-12deg);
}

.axis-center {
  left: 50%;
  opacity: .8;
}

.axis-right {
  right: 25%;
  transform: skewX(12deg);
}

.world-plane {
  border: 1px solid rgba(216, 189, 138, .24);
  box-shadow: 0 0 64px rgba(216, 189, 138, .045);
}

.plane-ceiling {
  left: 14%;
  right: 14%;
  top: -9%;
  height: 38%;
  transform: perspective(900px) rotateX(-58deg);
}

.plane-floor {
  left: 8%;
  right: 8%;
  bottom: -12%;
  height: 62%;
  transform: perspective(900px) rotateX(66deg);
}

.plane-left-wall {
  left: -8%;
  top: 3%;
  bottom: 8%;
  width: 30%;
  transform: perspective(900px) rotateY(54deg);
}

.plane-right-wall {
  right: -8%;
  top: 3%;
  bottom: 8%;
  width: 30%;
  transform: perspective(900px) rotateY(-54deg);
}

.world-room {
  left: 50%;
  border: 1px solid rgba(216, 189, 138, .28);
  transform: translateX(-50%) perspective(900px) rotateX(60deg);
}

.room-one {
  width: 72vw;
  height: 32vh;
  bottom: 4vh;
}

.room-two {
  width: 48vw;
  height: 24vh;
  bottom: 24vh;
  opacity: .76;
}

.room-three {
  width: 25vw;
  height: 18vh;
  bottom: 42vh;
  border-color: rgba(199, 112, 78, .28);
  opacity: .74;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .78rem clamp(1.1rem, 3.2vw, 2.45rem);
  border-bottom: 1px solid rgba(216, 189, 138, .18);
  background: #030302;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(216, 189, 138, .78);
  background:
    linear-gradient(90deg, transparent 47%, rgba(216, 189, 138, .84) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(216, 189, 138, .84) 47% 53%, transparent 53%);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: .6rem .78rem;
  border: 1px solid rgba(216, 189, 138, .34);
  background: rgba(3, 3, 2, .68);
  color: var(--cream);
  cursor: pointer;
}

.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.nav-link,
.nav-parent {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .64rem .76rem;
  color: #cfc3b1;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-parent:hover,
.nav-parent:focus-visible {
  color: var(--cream);
}

.nav-cta {
  border: 1px solid rgba(216, 189, 138, .48);
  color: var(--gold);
  background: #030302;
}

.nav-dropdown {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  width: min(31rem, 86vw);
  padding: 1rem;
  border: 1px solid rgba(216, 189, 138, .32);
  background: #030302;
  box-shadow: 0 36px 90px rgba(0,0,0,.62);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}

.nav-dropdown:hover .nav-panel,
.nav-dropdown:focus-within .nav-panel,
.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-panel p {
  margin: 0 0 .8rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: .88rem;
}

.nav-component {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .68rem;
  padding: .72rem .6rem;
  color: #d6cbb9;
  text-decoration: none;
  border-left: 1px solid transparent;
}

.nav-component:hover,
.nav-component:focus-visible {
  border-left-color: rgba(216, 189, 138, .68);
  background: rgba(216, 189, 138, .05);
}

.nav-component b {
  color: var(--clay);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .72rem;
}

.nav-component strong,
.nav-component span {
  display: block;
}

.nav-component span span {
  margin-top: .12rem;
  color: var(--dim);
  font-size: .8rem;
  line-height: 1.4;
}

.site-main {
  position: relative;
  isolation: isolate;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero {
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: center;
  position: relative;
  padding: clamp(3.2rem, 6vw, 5.4rem) 0 clamp(3rem, 5vw, 4.6rem);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(101deg, transparent 0 10%, rgba(216, 189, 138, .18) 10% calc(10% + 1px), transparent calc(10% + 1px) 100%),
    linear-gradient(79deg, transparent 0 18%, rgba(216, 189, 138, .14) 18% calc(18% + 1px), transparent calc(18% + 1px) 100%),
    linear-gradient(101deg, transparent 0 83%, rgba(216, 189, 138, .16) 83% calc(83% + 1px), transparent calc(83% + 1px) 100%),
    linear-gradient(180deg, transparent 0 76%, rgba(216, 189, 138, .18) 76% calc(76% + 1px), transparent calc(76% + 1px) 100%);
  opacity: .7;
}

.hero-grid {
  display: block;
  min-height: min(760px, calc(100svh - 120px));
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(41vw, 410px);
  padding-top: clamp(1rem, 4vw, 3rem);
}

.route-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
  color: #c8bdad;
  font-size: .92rem;
}

.route-line::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--clay);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.75rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .86rem 1.1rem;
  border: 1px solid rgba(216, 189, 138, .32);
  color: var(--cream);
  background: #030302;
  text-decoration: none;
  font-weight: 800;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 189, 138, .7);
  background: #050403;
}

.btn.primary {
  color: #16110a;
  border-color: var(--gold);
  background: var(--tan);
}

.threshold-field {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -2vw;
  bottom: 0;
  left: min(40vw, 470px);
  min-height: auto;
  overflow: hidden;
}

.threshold-field::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -4%;
  bottom: -10%;
  height: 76%;
  transform: perspective(860px) rotateX(66deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .16) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .66;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.98), transparent 90%);
}

.threshold-field::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  background:
    linear-gradient(104deg, transparent 0 17%, rgba(216, 189, 138, .42) 17% calc(17% + 1px), transparent calc(17% + 1px) 100%),
    linear-gradient(76deg, transparent 0 23%, rgba(216, 189, 138, .34) 23% calc(23% + 1px), transparent calc(23% + 1px) 100%),
    linear-gradient(104deg, transparent 0 58%, rgba(216, 189, 138, .30) 58% calc(58% + 1px), transparent calc(58% + 1px) 100%),
    linear-gradient(76deg, transparent 0 72%, rgba(216, 189, 138, .42) 72% calc(72% + 1px), transparent calc(72% + 1px) 100%),
    linear-gradient(180deg, transparent 0 78%, rgba(216, 189, 138, .32) 78% calc(78% + 1px), transparent calc(78% + 1px) 100%);
  opacity: .92;
}

.threshold-vault,
.threshold-vault span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.threshold-vault::before,
.threshold-vault::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 138, .66), transparent);
}

.threshold-vault::before {
  left: 20%;
  transform: skewX(-14deg);
}

.threshold-vault::after {
  right: 20%;
  transform: skewX(14deg);
}

.threshold-vault span {
  left: 50%;
  top: 6%;
  width: 1px;
  height: 86%;
  background: linear-gradient(180deg, rgba(216, 189, 138, .48), transparent);
  transform-origin: bottom;
}

.threshold-vault span:nth-child(1) { transform: rotate(-32deg); }
.threshold-vault span:nth-child(2) { transform: rotate(-13deg); }
.threshold-vault span:nth-child(3) { transform: rotate(13deg); }
.threshold-vault span:nth-child(4) { transform: rotate(32deg); }

.field-readout {
  position: absolute;
  z-index: 3;
  top: 17%;
  color: rgba(216, 189, 138, .7);
  font-size: .7rem;
  text-transform: uppercase;
}

.top-left { left: 2%; }
.top-center { left: 50%; transform: translateX(-50%); }
.top-right { right: 4%; }

.field-node {
  position: absolute;
  z-index: 4;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 227, 166, .9);
  background: rgba(216, 189, 138, .2);
}

.field-node::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(216, 189, 138, .08);
}

.field-node b {
  position: absolute;
  left: 1.1rem;
  top: -.35rem;
  width: max-content;
  max-width: 10rem;
  color: rgba(255, 248, 232, .78);
  font-size: .68rem;
  line-height: 1.24;
  text-transform: uppercase;
}

.node-power { left: 16%; top: 29%; }
.node-avoid { left: 20%; bottom: 28%; }
.node-private { left: 48%; top: 52%; }
.node-repeat { right: 24%; bottom: 30%; }
.node-shared { right: 15%; top: 27%; }

.node-repeat b,
.node-shared b {
  left: auto;
  right: 1.1rem;
  text-align: right;
}

.field-path {
  position: absolute;
  z-index: 5;
  left: 3%;
  right: 4%;
  bottom: 11%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
}

.field-path span {
  min-height: 72px;
  display: grid;
  align-content: end;
  gap: .15rem;
  padding: .7rem;
  color: rgba(255, 248, 232, .84);
  font-size: .76rem;
  text-transform: uppercase;
  border-top: 1px solid rgba(216, 189, 138, .3);
  background: transparent;
}

.field-path b {
  color: var(--clay);
  font-size: .7rem;
}

.map-note {
  position: absolute;
  z-index: 6;
  left: 3%;
  right: 4%;
  bottom: 1.3rem;
  margin: 0;
  color: rgba(239, 227, 202, .82);
  font-size: .78rem;
  line-height: 1.5;
}

.section {
  position: relative;
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.section.tight {
  padding-block: clamp(3.8rem, 6vw, 5.4rem);
}

.section::before {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - var(--max)) / 2 - 2.5rem));
  top: 2.5rem;
  bottom: 2.5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 138, .34), transparent);
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 138, .16), transparent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .78fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.signal-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.85rem, 2vw, 1.2rem);
  position: relative;
  padding-top: 3.8rem;
}

.signal-steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 189, 138, .1), rgba(216, 189, 138, .76), rgba(199, 112, 78, .38));
}

.signal-step {
  min-height: 300px;
  position: relative;
  padding: 1.1rem 1.05rem;
  background: transparent;
  border-left: 1px solid rgba(216, 189, 138, .24);
}

.signal-step::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: -2.42rem;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 227, 166, .9);
  background: var(--black);
}

.signal-step::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0;
  height: var(--lift, 24%);
  border: 1px solid rgba(216, 189, 138, .34);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(216, 189, 138, .12), rgba(216, 189, 138, .025)),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(216, 189, 138, .12) 14px 15px);
  opacity: .46;
}

.mini-index,
.slot-state {
  color: var(--clay);
  font-size: .7rem;
  text-transform: uppercase;
}

.shape-lab {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.8rem, 5vw, 4.2rem);
  align-items: center;
  max-width: 100%;
  position: relative;
}

.shape-lab::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -6%;
  height: 64%;
  transform: perspective(780px) rotateX(66deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .12) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .28;
  pointer-events: none;
}

.shape-stage,
.shape-copy {
  position: relative;
  min-height: 520px;
}

.shape-stage {
  display: grid;
  place-items: center;
}

.shape-stage::before,
.shape-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .2);
}

.shape-stage::before {
  inset: 12%;
  transform: perspective(700px) rotateX(60deg);
}

.shape-stage::after {
  inset: 25%;
  transform: perspective(700px) rotateX(60deg);
  border-color: rgba(199, 112, 78, .22);
}

.shape-copy {
  display: grid;
  align-content: center;
}

.shape-object {
  width: min(62vw, 340px);
  aspect-ratio: 1;
  position: relative;
}

.shape-object::before,
.shape-object::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: all .45s var(--ease);
}

.shape-object[data-shape="line"]::before {
  top: 49%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tan), var(--gold), transparent);
}

.shape-object[data-shape="line"]::after {
  left: 14%;
  right: 14%;
  top: 44%;
  bottom: auto;
  height: 4.2rem;
  border: 1px solid rgba(216, 189, 138, .18);
  border-top: 0;
  transform: perspective(520px) rotateX(58deg);
}

.shape-object[data-shape="circle"]::before {
  border: 1px solid rgba(216, 189, 138, .68);
  border-radius: 50%;
  box-shadow: inset 0 0 44px rgba(216, 189, 138, .08);
}

.shape-object[data-shape="circle"]::after {
  inset: 12%;
  border: 1px solid rgba(199, 112, 78, .42);
  border-radius: 50%;
  transform: perspective(520px) rotateX(64deg);
}

.shape-object[data-shape="sphere"]::before {
  border-radius: 50%;
  border: 1px solid rgba(216, 189, 138, .72);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 248, 232, .22), transparent 13%),
    radial-gradient(circle at 38% 38%, rgba(216, 189, 138, .3), rgba(18, 16, 12, .95) 50%, #030303 78%);
  box-shadow: inset -30px -36px 60px rgba(0,0,0,.76), 0 36px 120px rgba(216, 189, 138, .14);
}

.shape-object[data-shape="sphere"]::after {
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 227, 166, .24);
  transform: translate(12%, 6%);
  box-shadow: -28px -18px 0 rgba(216, 189, 138, .055), 24px 22px 0 rgba(199, 112, 78, .04);
}

.shape-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.3rem 0;
}

.shape-controls button {
  border: 1px solid rgba(216, 189, 138, .28);
  background: rgba(3, 3, 2, .48);
  color: #d0c4b4;
  padding: .72rem .86rem;
  cursor: pointer;
  font-weight: 800;
}

.shape-controls button[aria-selected="true"],
.shape-controls button:hover {
  color: var(--cream);
  border-color: rgba(216, 189, 138, .68);
  background: rgba(216, 189, 138, .12);
}

.evidence-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.9rem, 2vw, 1.2rem);
  position: relative;
}

.artifact-wall {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.45rem);
}

.artifact-wall .evidence-slot {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}

.evidence-table::before {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  top: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 138, .46), transparent);
}

.evidence-slot {
  min-height: 335px;
  padding: 1.28rem;
  position: relative;
  background: transparent;
  border-top: 1px solid rgba(216, 189, 138, .26);
}

.evidence-slot::before,
.evidence-slot::after {
  content: "";
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border-color: rgba(216, 189, 138, .38);
  border-style: solid;
}

.evidence-slot::before {
  left: .4rem;
  top: .4rem;
  border-width: 1px 0 0 1px;
}

.evidence-slot::after {
  right: .4rem;
  bottom: .4rem;
  border-width: 0 1px 1px 0;
}

.slot-state {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .3rem .44rem;
  border: 1px solid rgba(216, 189, 138, .38);
  background: transparent;
}

.evidence-media {
  position: relative;
  margin: 0 0 1.1rem;
  border: 1px solid rgba(216, 189, 138, .22);
  background: #030302;
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.evidence-media.is-slide,
.evidence-media.is-video {
  aspect-ratio: 16 / 9;
}

.evidence-media.is-map {
  aspect-ratio: 16 / 10;
}

.evidence-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(3, 3, 2, .5), inset 0 -80px 80px rgba(3, 3, 2, .22);
}

.evidence-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: saturate(.82) contrast(1.05);
  transition: transform .5s var(--ease), filter .5s var(--ease);
}

.evidence-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #030302;
  filter: saturate(.82) contrast(1.05);
}

.evidence-slot:hover .evidence-media img,
.evidence-slot:focus-within .evidence-media img {
  transform: scale(1.035);
  filter: saturate(.92) contrast(1.1);
}

.artifact-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.artifact-list li {
  position: relative;
  padding-left: 1rem;
  color: #c9bfaf;
  line-height: 1.5;
}

.artifact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .67em;
  width: .38rem;
  height: .38rem;
  background: var(--clay);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.blueprint-visual {
  position: relative;
  min-height: 540px;
  overflow: visible;
}

.blueprint-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% 22%;
  border: 1px solid rgba(216, 189, 138, .18);
  transform: perspective(780px) rotateX(60deg) rotateZ(-7deg);
  box-shadow: inset 0 0 70px rgba(216, 189, 138, .04);
}

.blueprint-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 189, 138, .42), transparent);
}

.room-depth {
  position: absolute;
  inset: 10% 4% 22%;
  z-index: 2;
  perspective: 760px;
}

.room-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(216, 189, 138, .3);
  transform: translate(-50%, -50%) rotateX(62deg);
}

.room-plane.front {
  width: 86%;
  height: 68%;
}

.room-plane.mid {
  width: 60%;
  height: 47%;
  border-color: rgba(216, 189, 138, .42);
}

.room-plane.rear {
  width: 34%;
  height: 28%;
  border-color: rgba(199, 112, 78, .48);
}

.operating-bench {
  position: absolute;
  z-index: 4;
  left: 8%;
  right: 8%;
  bottom: 22%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .45rem;
}

.operating-bench span {
  min-height: 3.8rem;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(216, 189, 138, .3);
  background: transparent;
  color: rgba(246, 239, 226, .78);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.visual-caption {
  position: absolute;
  z-index: 5;
  left: 8%;
  right: 8%;
  bottom: 4%;
  margin: 0;
  color: rgba(239, 227, 202, .82);
  font-size: .78rem;
  line-height: 1.5;
}

.work-table {
  position: relative;
}

.work-table::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: -12%;
  bottom: -12%;
  z-index: -1;
  background:
    linear-gradient(rgba(216, 189, 138, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .032) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
  border-top: 1px solid rgba(216, 189, 138, .22);
  border-bottom: 1px solid rgba(216, 189, 138, .14);
  opacity: .82;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 1.5rem;
}

.table-grid > div {
  min-height: 170px;
  padding: 1rem;
  position: relative;
  border-left: 1px solid rgba(216, 189, 138, .3);
  background: transparent;
}

.table-grid > div::before {
  content: "";
  position: absolute;
  left: -4px;
  top: .95rem;
  width: 7px;
  height: 7px;
  background: var(--clay);
}

.footer {
  position: relative;
  border-top: 1px solid rgba(216, 189, 138, .18);
  padding: 2.4rem 0;
  color: var(--dim);
  background: rgba(3,3,2,.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer strong {
  display: block;
  color: var(--cream);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer a {
  color: #aaa094;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--cream);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s var(--ease);
}

body.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .section-head,
  .two-col {
    grid-template-columns: 1fr;
  }

  .threshold-field {
    min-height: 540px;
  }

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

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

@media (max-width: 840px) {
  .hero-grid {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: auto;
    padding-top: 0;
  }

  .threshold-field {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    min-height: 560px;
    margin-top: 2rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.3rem;
    background: rgba(3, 3, 2, .98);
    border-bottom: 1px solid rgba(216, 189, 138, .22);
  }

  .site-nav.is-open .nav-menu {
    display: grid;
    gap: .2rem;
  }

  .nav-link,
  .nav-parent {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-panel {
    position: static;
    width: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: .2rem 0 .8rem;
  }

  .nav-panel.is-open,
  .nav-dropdown:focus-within .nav-panel {
    display: block;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

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

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(var(--max), calc(100% - 2rem));
  }

  .threshold-field {
    min-height: 620px;
  }

  .field-node b {
    display: none;
  }

  .field-path {
    grid-template-columns: repeat(2, 1fr);
    bottom: 17%;
  }

  .map-note {
    bottom: 2%;
  }

  .signal-steps,
  .table-grid {
    grid-template-columns: 1fr;
  }

  .evidence-table {
    grid-template-columns: 1fr;
  }

  .artifact-wall .evidence-slot {
    grid-column: auto;
  }

  .signal-steps {
    padding-top: 0;
  }

  .signal-steps::before,
  .signal-step::before {
    display: none;
  }

  .shape-stage,
  .shape-copy {
    min-height: auto;
  }

  .shape-lab {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    overflow: hidden;
  }

  .shape-lab::before {
    left: -1rem;
    right: -1rem;
    top: 10rem;
    bottom: auto;
    height: 20rem;
    opacity: .2;
  }

  .shape-copy {
    order: 1;
    align-content: start;
  }

  .shape-stage {
    order: 2;
    min-height: min(70vw, 280px);
  }

  .shape-object {
    width: min(68vw, 250px);
  }

  .shape-stage::before {
    inset: 6%;
  }

  .shape-stage::after {
    inset: 20%;
  }

  .shape-controls button {
    min-height: 44px;
    flex: 1 1 6.5rem;
  }

  .actions .btn {
    width: 100%;
  }

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

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

body::before {
  z-index: 0;
  background:
    linear-gradient(rgba(216, 189, 138, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .3;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.52) 62%, transparent);
}

body::after {
  z-index: 0;
  background:
    linear-gradient(104deg, transparent 0 12%, rgba(216, 189, 138, .12) 12% calc(12% + 1px), transparent calc(12% + 1px) 100%),
    linear-gradient(76deg, transparent 0 78%, rgba(216, 189, 138, .1) 78% calc(78% + 1px), transparent calc(78% + 1px) 100%),
    linear-gradient(180deg, transparent 0 62%, rgba(216, 189, 138, .11) 62% calc(62% + 1px), transparent calc(62% + 1px) 100%);
  opacity: .78;
}

.site-main,
.footer {
  z-index: 1;
}

.home-facility {
  position: relative;
  overflow: clip;
}

.facility-entry {
  overflow: hidden;
}

.facility-entry::before {
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(216, 189, 138, .16) 14% calc(14% + 1px), transparent calc(14% + 1px) 86%, rgba(216, 189, 138, .16) 86% calc(86% + 1px), transparent calc(86% + 1px)),
    linear-gradient(180deg, transparent 0 64%, rgba(216, 189, 138, .16) 64% calc(64% + 1px), transparent calc(64% + 1px));
}

.facility-entry .hero-copy::after {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: -1.6rem;
  bottom: -1.6rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 138, .54), transparent);
}

.entry-depth,
.entry-depth span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.entry-depth span {
  border: 1px solid rgba(216, 189, 138, .18);
  transform: perspective(940px) rotateX(62deg);
}

.entry-depth span:nth-child(1) {
  inset: 8% 7% 16%;
}

.entry-depth span:nth-child(2) {
  inset: 17% 18% 25%;
  border-color: rgba(216, 189, 138, .28);
}

.entry-depth span:nth-child(3) {
  inset: 29% 31% 35%;
  border-color: rgba(255, 227, 166, .38);
}

.facility-room {
  min-height: min(860px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.facility-room::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(102deg, transparent 0 15%, rgba(216, 189, 138, .12) 15% calc(15% + 1px), transparent calc(15% + 1px)),
    linear-gradient(78deg, transparent 0 82%, rgba(216, 189, 138, .1) 82% calc(82% + 1px), transparent calc(82% + 1px)),
    linear-gradient(180deg, rgba(3, 3, 2, .1), transparent 18%, transparent 82%, rgba(3, 3, 2, .76));
}

.facility-room::after {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: -18%;
  z-index: -1;
  height: 48%;
  transform: perspective(920px) rotateX(67deg);
  transform-origin: bottom;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216, 189, 138, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .1) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .42;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95), transparent 94%);
}

.facility-room > .section-inner {
  z-index: 2;
}

.bottleneck-chamber {
  min-height: min(760px, 92svh);
}

.room-compression {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.room-compression span {
  position: absolute;
  top: 10%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 138, .34), transparent);
}

.room-compression span:nth-child(1) {
  left: 11%;
  transform: skewX(-10deg);
}

.room-compression span:nth-child(2) {
  left: 50%;
  background: linear-gradient(180deg, transparent, rgba(255, 227, 166, .42), transparent);
}

.room-compression span:nth-child(3) {
  right: 11%;
  transform: skewX(10deg);
}

.page-home .capability-runway {
  padding: 4.5rem 0 1rem;
}

.page-home .capability-runway::before {
  top: 2.4rem;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(216, 189, 138, .8), transparent),
    linear-gradient(90deg, rgba(216, 189, 138, .2), rgba(255, 227, 166, .78));
}

.page-home .capability-runway .signal-step {
  min-height: 330px;
  padding-top: 1.45rem;
  border-left: 0;
  border-top: 1px solid rgba(216, 189, 138, .28);
}

.page-home .capability-runway .signal-step::before {
  top: -2.75rem;
  left: 0;
}

.page-home .capability-runway .signal-step::after {
  left: 0;
  right: 0;
}

.capability-path-room .home-shape-room {
  min-height: min(720px, 86svh);
  padding: clamp(1rem, 3vw, 1.4rem) 0;
}

.capability-path-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.capability-path-lines span {
  position: absolute;
  border-color: rgba(216, 189, 138, .26);
  border-style: solid;
}

.capability-path-lines span:nth-child(1) {
  left: 3%;
  top: 22%;
  width: 12px;
  height: 12px;
  border-width: 1px;
  background: rgba(216, 189, 138, .12);
}

.capability-path-lines span:nth-child(2) {
  left: 16%;
  bottom: 22%;
  width: 18%;
  height: 1px;
  border-width: 1px 0 0;
  transform: rotate(-16deg);
}

.capability-path-lines span:nth-child(3) {
  left: 39%;
  top: 16%;
  width: 22%;
  height: 1px;
  border-width: 1px 0 0;
  transform: rotate(21deg);
}

.capability-path-lines span:nth-child(4) {
  right: 12%;
  top: 28%;
  width: 14px;
  height: 14px;
  border-width: 1px;
  background: rgba(255, 227, 166, .12);
}

.capability-path-lines span:nth-child(5) {
  right: 4%;
  bottom: 19%;
  width: 29%;
  height: 1px;
  border-width: 1px 0 0;
  transform: rotate(11deg);
}

.inspection-rooms .section-head {
  align-items: start;
}

.inspection-track {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.inspection-track span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .12);
  background: linear-gradient(180deg, rgba(216, 189, 138, .035), transparent);
}

.inspection-track span:nth-child(1) {
  left: 4%;
  top: 15%;
  width: 24%;
  height: 58%;
}

.inspection-track span:nth-child(2) {
  left: 38%;
  top: 9%;
  width: 24%;
  height: 64%;
}

.inspection-track span:nth-child(3) {
  right: 4%;
  top: 18%;
  width: 24%;
  height: 56%;
}

.inspection-rooms .artifact-wall .evidence-slot {
  background:
    linear-gradient(180deg, rgba(216, 189, 138, .04), transparent 36%),
    rgba(3, 3, 2, .36);
}

.method-door-room .two-col {
  align-items: center;
}

.method-door-copy {
  position: relative;
}

.method-door-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
  margin-top: 1.5rem;
}

.method-door {
  position: relative;
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: .3rem;
  padding: 1rem;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(216, 189, 138, .22);
  background: #030302;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.method-door::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 14%;
  height: 48%;
  border: 1px solid rgba(216, 189, 138, .22);
  border-bottom: 0;
  transform: perspective(520px) rotateX(54deg);
  transform-origin: bottom;
}

.method-door::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  bottom: 28%;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 227, 166, .46), transparent);
}

.method-door span,
.method-door strong,
.method-door p {
  position: relative;
  z-index: 2;
}

.method-door span {
  color: var(--clay);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
}

.method-door strong {
  font-size: 1.05rem;
}

.method-door p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.method-door:hover,
.method-door:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 227, 166, .7);
  background: rgba(216, 189, 138, .045);
}

.final-threshold {
  min-height: min(760px, 90svh);
}

.final-threshold-surface {
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border: 1px solid rgba(216, 189, 138, .24);
  background: rgba(3, 3, 2, .62);
}

.final-gate {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.final-gate span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .22);
  transform: perspective(760px) rotateX(60deg);
}

.final-gate span:nth-child(1) {
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 42%;
}

.final-gate span:nth-child(2) {
  left: 24%;
  right: 24%;
  bottom: 24%;
  height: 28%;
  border-color: rgba(216, 189, 138, .34);
}

.final-gate span:nth-child(3) {
  left: 42%;
  right: 42%;
  bottom: 38%;
  height: 18%;
  border-color: rgba(255, 227, 166, .48);
}

@media (max-width: 980px) {
  .method-door-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .facility-entry .hero-copy::after {
    left: -.75rem;
  }

  .entry-depth span:nth-child(1) {
    inset: 15% -8% 10%;
  }

  .entry-depth span:nth-child(2) {
    inset: 27% 8% 22%;
  }

  .entry-depth span:nth-child(3) {
    inset: 39% 23% 34%;
  }

  .facility-room {
    min-height: auto;
    align-items: start;
  }

  .room-compression {
    opacity: .45;
  }

  .page-home .capability-runway {
    padding: 1rem 0 0;
  }

  .page-home .capability-runway .signal-step {
    min-height: 190px;
    padding: 1rem 1rem 4.4rem;
    border-left: 1px solid rgba(216, 189, 138, .22);
    border-top: 0;
  }

  .page-home .capability-runway .signal-step::after {
    left: 1rem;
    right: 1rem;
  }

  .capability-path-room .home-shape-room {
    min-height: auto;
  }

  .capability-path-lines {
    opacity: .38;
  }

  .inspection-track {
    opacity: .32;
  }

  .method-door {
    min-height: 112px;
  }

  .final-threshold-surface {
    padding: 1.15rem;
  }
}

body:not(.page-home) .page-hero {
  min-height: min(760px, calc(100svh - 70px));
  padding-top: clamp(4.8rem, 8vw, 7rem);
}

body:not(.page-home) .page-hero::after {
  opacity: .36;
}

body:not(.page-home) .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.08fr);
  gap: clamp(2.1rem, 6vw, 5rem);
  align-items: center;
  min-height: auto;
}

body:not(.page-home) .hero-copy {
  width: auto;
  padding-top: 0;
}

body:not(.page-home) .hero-copy::before {
  content: none;
}

body:not(.page-home) h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 5.8vw, 5.8rem);
}

body:not(.page-home) h2 {
  max-width: 15ch;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: clamp(.9rem, 2vw, 1.2rem);
}

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

.field-card,
.route-card,
.trust-tile,
.artifact,
.book-page,
.map-device,
.studio-panel,
.contact-form {
  position: relative;
  border: 1px solid rgba(216, 189, 138, .2);
  background: rgba(3, 3, 2, .74);
}

.field-card,
.route-card,
.trust-tile,
.artifact {
  min-height: 190px;
  padding: 1.05rem;
}

.field-card::before,
.route-card::before,
.trust-tile::before,
.artifact::before {
  content: "";
  position: absolute;
  left: -.35rem;
  top: 1rem;
  width: .62rem;
  height: .62rem;
  border: 1px solid rgba(255, 227, 166, .84);
  background: var(--black);
}

.field-card h3,
.route-card h3,
.trust-tile h3,
.artifact h3 {
  color: var(--cream);
}

.field-card p,
.route-card p,
.trust-tile p,
.artifact p {
  color: #b9ad9b;
  line-height: 1.65;
}

.route-card {
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(216, 189, 138, .56);
  background: rgba(216, 189, 138, .045);
}

.method-stool {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 138, .22);
}

.method-stool::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -14%;
  height: 72%;
  transform: perspective(820px) rotateX(64deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .12) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .56;
}

.method-core,
.method-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(216, 189, 138, .34);
  background: rgba(3, 3, 2, .86);
}

.method-core {
  left: 50%;
  top: 50%;
  width: 11rem;
  height: 11rem;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .72rem;
  text-transform: uppercase;
}

.method-node {
  width: 10.5rem;
  min-height: 7.5rem;
  padding: .9rem;
}

.method-node strong,
.method-node span {
  display: block;
}

.method-node span {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .82rem;
}

.method-node.playbook { left: 8%; top: 12%; }
.method-node.enablement { right: 6%; top: 22%; }
.method-node.thinking { left: 29%; bottom: 9%; }

.operating-table,
.room-table,
.load-bearing-core,
.threshold-aperture,
.gap-structure,
.studio-wall,
.zone-artifact {
  position: absolute;
  z-index: 3;
}

.operating-table {
  left: 22%;
  right: 18%;
  top: 34%;
  height: 24%;
  border: 1px solid rgba(216, 189, 138, .46);
  transform: perspective(740px) rotateX(58deg) rotateZ(-5deg);
}

.seat-grid {
  position: absolute;
  inset: 16% 12% 24%;
  z-index: 4;
}

.seat-grid span {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 227, 166, .74);
  background: var(--black);
}

.seat-grid span:nth-child(1) { left: 16%; top: 12%; }
.seat-grid span:nth-child(2) { right: 18%; top: 18%; }
.seat-grid span:nth-child(3) { left: 8%; top: 55%; }
.seat-grid span:nth-child(4) { right: 10%; top: 58%; }
.seat-grid span:nth-child(5) { left: 44%; top: 3%; }
.seat-grid span:nth-child(6) { left: 45%; bottom: 0; }

.route-rail,
.carry-rail,
.architecture-rail,
.load-bearing-rail {
  position: absolute;
  z-index: 5;
  left: 8%;
  right: 8%;
  bottom: 18%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}

.route-rail span,
.carry-rail span,
.architecture-rail span,
.load-bearing-rail span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(216, 189, 138, .28);
  color: rgba(239, 227, 202, .82);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.chamber-arch {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(216, 189, 138, .28);
  transform: translate(-50%, -50%) perspective(760px) rotateX(58deg);
}

.arch-one { width: 78%; height: 66%; }
.arch-two { width: 56%; height: 48%; border-color: rgba(216, 189, 138, .38); }
.arch-three { width: 34%; height: 29%; border-color: rgba(185, 134, 82, .58); }

.load-bearing-core {
  left: 50%;
  top: 44%;
  width: 9rem;
  height: 9rem;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 227, 166, .72);
  color: var(--gold);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.threshold-aperture {
  left: 28%;
  right: 24%;
  top: 15%;
  bottom: 29%;
  border: 1px solid rgba(216, 189, 138, .44);
}

.threshold-aperture::before,
.threshold-aperture::after,
.threshold-aperture span {
  content: "";
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .28);
}

.threshold-aperture::before {
  inset: 10%;
}

.threshold-aperture::after {
  left: 50%;
  top: -18%;
  bottom: -18%;
  width: 1px;
  border: 0;
  background: rgba(255, 227, 166, .54);
}

.threshold-aperture span:nth-child(1) { left: -28%; top: 34%; width: 28%; height: 1px; border: 0; background: rgba(216, 189, 138, .42); }
.threshold-aperture span:nth-child(2) { right: -22%; top: 58%; width: 22%; height: 1px; border: 0; background: rgba(216, 189, 138, .42); }
.threshold-aperture span:nth-child(3) { left: 16%; right: 16%; bottom: -20%; height: 22%; }

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

.room-table {
  left: 18%;
  right: 18%;
  top: 37%;
  height: 24%;
  border: 1px solid rgba(216, 189, 138, .46);
  transform: perspective(740px) rotateX(58deg);
}

.signal-margin {
  position: absolute;
  z-index: 5;
  top: 18%;
  bottom: 18%;
  display: grid;
  align-content: space-around;
}

.signal-margin.left { left: 7%; }
.signal-margin.right { right: 7%; text-align: right; }

.signal-margin span {
  display: block;
  color: rgba(239, 227, 202, .72);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .66rem;
  text-transform: uppercase;
}

.gap-structure {
  left: 13%;
  right: 13%;
  top: 22%;
  bottom: 27%;
}

.gap-structure span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .32);
  background: rgba(3, 3, 2, .84);
}

.gap-structure span:nth-child(1) { left: 0; top: 6%; width: 30%; height: 38%; }
.gap-structure span:nth-child(2) { right: 0; top: 0; width: 38%; height: 44%; }
.gap-structure span:nth-child(3) { left: 9%; bottom: 0; width: 38%; height: 40%; }
.gap-structure span:nth-child(4) { right: 16%; bottom: 8%; width: 24%; height: 30%; border-color: rgba(255, 227, 166, .72); }

.map-device {
  padding: 1.2rem;
  min-height: 520px;
  overflow: hidden;
}

.capability-map {
  position: relative;
  min-height: 330px;
  margin-top: 1.2rem;
}

.map-ring {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(216, 189, 138, .32);
  color: var(--cream);
}

.map-ring.three { inset: 4%; }
.map-ring.two { inset: 18%; border-color: rgba(216, 189, 138, .46); }
.map-ring.one { inset: 34%; border-color: rgba(255, 227, 166, .72); }

.map-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
}

.map-chips span {
  padding: .55rem .45rem;
  border-top: 1px solid rgba(216, 189, 138, .28);
  color: var(--muted);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .65rem;
  text-align: center;
  text-transform: uppercase;
}

.book-stage {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(420px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.book-device {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  min-height: 430px;
  perspective: 900px;
}

.book-page {
  padding: 1.2rem;
  display: grid;
  align-content: center;
  transform: rotateY(var(--book-turn, 0deg));
}

.book-page:first-child {
  --book-turn: 6deg;
}

.book-page:nth-child(2) {
  --book-turn: -4deg;
}

.book-symbol {
  margin: 1.2rem 0;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  color: rgba(255, 227, 166, .86);
}

.book-tabs,
.shape-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.book-tabs button {
  min-height: 38px;
  padding: .55rem .68rem;
  border: 1px solid rgba(216, 189, 138, .26);
  color: var(--muted);
  background: var(--black);
}

.book-tabs button[aria-selected="true"],
.book-tabs button:hover {
  color: var(--cream);
  border-color: rgba(255, 227, 166, .66);
}

.studio-wall {
  left: 11%;
  right: 11%;
  top: 16%;
  bottom: 30%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.studio-wall span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 189, 138, .34);
  color: rgba(239, 227, 202, .82);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.signature-line {
  position: absolute;
  z-index: 5;
  left: 10%;
  right: 10%;
  bottom: 19%;
  padding-top: .8rem;
  border-top: 1px solid rgba(216, 189, 138, .34);
  color: var(--gold);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .74rem;
  text-transform: uppercase;
}

.trust-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}

.studio-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--black);
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.studio-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: min(62vw, 360px);
  height: min(62vw, 360px);
  border: 1px solid rgba(216, 189, 138, .44);
  position: relative;
  animation: studio-enter 1s var(--ease) both;
}

.loader-mark::before,
.loader-mark::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(216, 189, 138, .28);
}

.loader-mark::after {
  inset: 36%;
  border-color: rgba(255, 227, 166, .72);
}

@keyframes studio-enter {
  from { transform: scale(.82) rotate(-2deg); opacity: .3; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.thinking-entry {
  position: relative;
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}

.thinking-entry::before,
.repo-room::before,
.thinking-exit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216, 189, 138, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .48;
}

.thinking-entry-inner,
.repo-room-inner,
.thinking-exit-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
}

.thinking-entry-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(400px, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.page-thinking .thinking-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.35rem, 7.3vw, 7.8rem);
  line-height: .9;
}

.repo-threshold {
  position: relative;
  min-height: min(68svh, 680px);
  overflow: hidden;
  border: 1px solid rgba(216, 189, 138, .24);
  background: var(--black);
}

.repo-threshold::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -22%;
  height: 72%;
  transform: perspective(900px) rotateX(66deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .14) 1px, transparent 1px);
  background-size: 48px 48px;
}

.repo-threshold::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 12%;
  bottom: 26%;
  border: 1px solid rgba(216, 189, 138, .2);
  transform: perspective(900px) rotateX(58deg);
}

.threshold-frame {
  position: absolute;
  inset: 14% 12% 20%;
  z-index: 3;
}

.threshold-frame span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .32);
}

.threshold-frame span:nth-child(1) { left: 8%; top: 8%; width: 28%; height: 52%; }
.threshold-frame span:nth-child(2) { right: 12%; top: 18%; width: 26%; height: 44%; }
.threshold-frame span:nth-child(3) { left: 42%; top: 2%; bottom: 8%; width: 1px; border: 0; background: rgba(255, 227, 166, .72); }
.threshold-frame span:nth-child(4) { left: 10%; right: 8%; top: 68%; height: 1px; border: 0; background: rgba(216, 189, 138, .28); }

.threshold-labels {
  position: absolute;
  z-index: 4;
  left: 12%;
  right: 12%;
  bottom: 16%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.threshold-labels span {
  min-height: 96px;
  display: grid;
  place-items: end center;
  padding: .85rem;
  border: 1px solid rgba(216, 189, 138, .3);
  color: rgba(239, 227, 202, .8);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .72rem;
  text-transform: uppercase;
}

.repo-rail {
  position: sticky;
  top: 70px;
  z-index: 12;
  display: flex;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-top: 1px solid rgba(216, 189, 138, .14);
  border-bottom: 1px solid rgba(216, 189, 138, .14);
  background: #030302;
}

.repo-rail a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .5rem .72rem;
  border: 1px solid rgba(216, 189, 138, .2);
  color: var(--muted);
  text-decoration: none;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .7rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.repo-rail a[aria-current="true"],
.repo-rail a:hover {
  color: var(--cream);
  border-color: rgba(255, 227, 166, .66);
}

.repo-room {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.repo-room::after {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - var(--max)) / 2 - 2.25rem));
  top: 9%;
  bottom: 9%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 189, 138, .38), transparent);
}

.repo-room-inner {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
}

.repo-room-inner.flip .repo-object {
  order: 2;
}

.repo-room-inner.flip .repo-wall {
  order: 1;
}

.repo-object {
  position: relative;
  min-height: min(72svh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 138, .24);
  background: #030302;
}

.repo-object::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -24%;
  height: 58%;
  transform: perspective(820px) rotateX(63deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .11) 1px, transparent 1px);
  background-size: 40px 40px;
}

.repo-object::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(216, 189, 138, .16);
}

.repo-object img {
  position: relative;
  z-index: 3;
  width: min(78%, 520px);
  max-height: min(58svh, 540px);
  object-fit: contain;
  border: 1px solid rgba(216, 189, 138, .3);
  background: var(--black);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .58);
}

.object-label {
  position: absolute;
  z-index: 4;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  color: rgba(239, 227, 202, .7);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.repo-wall {
  position: relative;
  min-height: min(72svh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.5rem) 0;
}

.repo-wall::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(216, 189, 138, .28);
}

.repo-kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .74rem;
  text-transform: uppercase;
}

.repo-wall h2 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 6.6vw, 7rem);
  line-height: .9;
  overflow-wrap: anywhere;
}

.repo-wall p:not(.repo-kicker) {
  max-width: 46rem;
  color: rgba(239, 227, 202, .83);
  font-size: clamp(1.06rem, 1.55vw, 1.32rem);
  line-height: 1.55;
}

.repo-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: .7rem .9rem;
  border: 1px solid rgba(216, 189, 138, .32);
  color: var(--cream);
  text-decoration: none;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .74rem;
  text-transform: uppercase;
}

.repo-link:hover,
.repo-link:focus-visible {
  border-color: rgba(255, 227, 166, .78);
}

.thinking-exit {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
}

.thinking-exit-inner {
  padding: clamp(1.2rem, 3vw, 1.6rem);
  border: 1px solid rgba(216, 189, 138, .22);
  background: #030302;
}

.thinking-exit h2 {
  max-width: 17ch;
}

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

.exit-grid div {
  min-height: 190px;
  padding: 1rem;
  border: 1px solid rgba(216, 189, 138, .2);
}

.exit-grid h3 {
  color: var(--cream);
}

.exit-grid p {
  color: #b9ad9b;
  line-height: 1.65;
}

.metaphor-station,
.studio-panel {
  min-height: 520px;
  overflow: hidden;
}

.zone-artifact {
  left: 12%;
  right: 12%;
  top: 12%;
  bottom: 18%;
}

.zone-artifact span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .34);
  background: var(--black);
}

.signal-field::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7%;
  bottom: 7%;
  width: 1px;
  background: rgba(255, 227, 166, .76);
}

.signal-field span:nth-child(1) { left: 12%; top: 16%; width: 28%; height: 24%; }
.signal-field span:nth-child(2) { right: 10%; top: 20%; width: 26%; height: 20%; }
.signal-field span:nth-child(3) { left: 18%; bottom: 12%; width: 22%; height: 26%; }
.signal-field span:nth-child(4) { right: 14%; bottom: 17%; width: 30%; height: 20%; }

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.form-intro h1 {
  max-width: 9ch;
}

.contact-form {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.contact-form form {
  display: grid;
  gap: .9rem;
}

.contact-form label {
  display: grid;
  gap: .4rem;
  color: rgba(239, 227, 202, .86);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .72rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(216, 189, 138, .24);
  background: #030302;
  color: var(--cream);
  padding: .82rem .85rem;
  outline: 0;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 227, 166, .72);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-status.error {
  color: #f0a184;
}

.page-thinking-experience {
  --experience-progress: 0;
  --experience-position: 0;
  --experience-rooms: 9;
}

.experience-gate {
  position: relative;
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
}

.experience-gate::before,
.experience-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.experience-gate::before {
  background-image:
    linear-gradient(rgba(216, 189, 138, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .48;
}

.experience-gate::after {
  background:
    linear-gradient(102deg, transparent 0 12%, rgba(216, 189, 138, .2) 12% calc(12% + 1px), transparent calc(12% + 1px)),
    linear-gradient(78deg, transparent 0 82%, rgba(216, 189, 138, .18) 82% calc(82% + 1px), transparent calc(82% + 1px));
}

.experience-gate-inner {
  width: min(var(--max), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.page-thinking-experience h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 7.6rem);
}

.experience-threshold {
  min-height: min(68svh, 680px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 138, .26);
  background: #030302;
}

.experience-threshold::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -24%;
  height: 76%;
  transform: perspective(900px) rotateX(66deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .13) 1px, transparent 1px);
  background-size: 48px 48px;
}

.experience-threshold span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .28);
}

.experience-threshold span:nth-child(1) { left: 14%; top: 18%; width: 21%; height: 46%; }
.experience-threshold span:nth-child(2) { right: 13%; top: 24%; width: 24%; height: 40%; }
.experience-threshold span:nth-child(3) { left: 48%; top: 10%; bottom: 14%; width: 1px; border: 0; background: rgba(255, 227, 166, .78); }
.experience-threshold span:nth-child(4) { left: 18%; right: 16%; bottom: 30%; height: 1px; border: 0; background: rgba(216, 189, 138, .36); }
.experience-threshold span:nth-child(5) { left: 28%; right: 24%; top: 24%; bottom: 34%; transform: perspective(900px) rotateX(58deg); }

.experience-facility {
  position: relative;
  min-height: calc((var(--experience-rooms) + 1) * 100svh);
}

.experience-stage {
  position: sticky;
  top: 70px;
  height: calc(100svh - 70px);
  overflow: hidden;
  background: #030302;
}

.experience-stage::before,
.experience-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.experience-stage::before {
  background:
    linear-gradient(rgba(216, 189, 138, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .035) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: .64;
}

.experience-stage::after {
  background:
    linear-gradient(102deg, transparent 0 11%, rgba(216, 189, 138, .22) 11% calc(11% + 1px), transparent calc(11% + 1px)),
    linear-gradient(78deg, transparent 0 89%, rgba(216, 189, 138, .18) 89% calc(89% + 1px), transparent calc(89% + 1px)),
    radial-gradient(circle at 50% 22%, rgba(216, 189, 138, .08), transparent 28%);
}

.experience-track {
  height: 100%;
  display: flex;
  transform: translate3d(calc(var(--experience-position) * -100vw), 0, 0);
  transition: transform .42s var(--ease);
  will-change: transform;
}

.experience-room {
  flex: 0 0 100vw;
  min-width: 100vw;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.2rem) max(3rem, calc((100vw - var(--max)) / 2 + 2rem));
}

.experience-room::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8%;
  height: 34%;
  border: 1px solid rgba(216, 189, 138, .16);
  transform: perspective(900px) rotateX(62deg);
  transform-origin: bottom;
  pointer-events: none;
}

.experience-room::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 138, .34), transparent);
}

.experience-room.is-current .room-object,
.experience-room.is-current .room-architecture {
  border-color: rgba(255, 227, 166, .46);
  box-shadow: 0 0 90px rgba(216, 189, 138, .08);
}

.room-object,
.room-copy,
.room-architecture {
  position: relative;
  z-index: 3;
}

.room-object {
  min-height: min(62svh, 620px);
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(216, 189, 138, .24);
  background: #030302;
  overflow: hidden;
  transform: translateY(calc((var(--experience-progress) - .5) * -18px));
}

.room-object::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -22%;
  height: 52%;
  transform: perspective(820px) rotateX(62deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(216, 189, 138, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 138, .1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.room-object img {
  position: relative;
  z-index: 2;
  width: min(78%, 560px);
  max-height: min(54svh, 520px);
  object-fit: contain;
  border: 1px solid rgba(216, 189, 138, .34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .68);
}

.room-object figcaption {
  position: absolute;
  z-index: 3;
  left: 1rem;
  bottom: 1rem;
  color: rgba(239, 227, 202, .72);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.room-copy {
  max-width: 58rem;
}

.room-kicker {
  color: var(--gold);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .74rem;
  text-transform: uppercase;
}

.room-copy h2 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7vw, 8rem);
  line-height: .88;
}

.room-copy p:not(.room-kicker) {
  max-width: 48rem;
  color: rgba(239, 227, 202, .84);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.55;
}

.room-architecture {
  min-height: min(58svh, 560px);
  border: 1px solid rgba(216, 189, 138, .24);
}

.room-architecture span {
  position: absolute;
  border: 1px solid rgba(216, 189, 138, .28);
}

.room-architecture span:nth-child(1) { left: 12%; top: 18%; width: 28%; height: 42%; }
.room-architecture span:nth-child(2) { right: 14%; top: 28%; width: 28%; height: 34%; }
.room-architecture span:nth-child(3) { left: 18%; right: 12%; bottom: 20%; height: 1px; border: 0; background: rgba(255, 227, 166, .62); }

.experience-room.is-entry,
.experience-room.is-exit {
  grid-template-columns: minmax(360px, .8fr) minmax(0, 1fr);
}

.experience-hud {
  position: absolute;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  right: max(1rem, calc((100vw - var(--max)) / 2));
  top: 1rem;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  color: rgba(239, 227, 202, .76);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .68rem;
  text-transform: uppercase;
}

.hud-line {
  height: 1px;
  background: rgba(216, 189, 138, .18);
}

.hud-line i {
  display: block;
  width: calc(var(--experience-progress) * 100%);
  height: 1px;
  background: var(--gold);
}

@media (max-width: 1100px) {
  .grid-4,
  .trust-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-gate-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  body:not(.page-home) .hero-grid,
  .book-stage,
  .thinking-entry-inner,
  .repo-room-inner,
  .repo-room-inner.flip,
  .experience-room,
  .experience-room.is-entry,
  .experience-room.is-exit,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .repo-room-inner.flip .repo-object,
  .repo-room-inner.flip .repo-wall {
    order: initial;
  }

  .experience-facility {
    min-height: auto;
  }

  .experience-stage {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .experience-track {
    height: auto;
    display: grid;
    transform: none !important;
    transition: none;
  }

  .experience-room {
    min-width: 0;
    min-height: auto;
    padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 5vw, 2rem);
  }

  .experience-hud {
    display: none;
  }

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

  .blueprint-visual,
  .method-stool,
  .repo-threshold,
  .repo-object,
  .repo-wall,
  .experience-threshold,
  .room-object,
  .room-architecture,
  .metaphor-station,
  .studio-panel,
  .map-device {
    min-height: 480px;
  }

  .repo-wall::before {
    left: 0;
    right: 0;
    top: -.8rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .book-device {
    grid-template-columns: 1fr;
  }

  .book-page {
    min-height: 280px;
    transform: none;
  }
}

@media (max-width: 720px) {
  body:not(.page-home) h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .grid-4,
  .trust-wall,
  .table-grid,
  .map-chips,
  .threshold-labels {
    grid-template-columns: 1fr;
  }

  .route-rail,
  .carry-rail,
  .architecture-rail,
  .load-bearing-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-thinking-experience h1,
  .room-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4.55rem);
  }

  .experience-gate-inner {
    width: min(var(--max), calc(100% - 2rem));
  }

  .room-object {
    min-height: 360px;
  }

  .room-object img {
    width: min(84%, 420px);
  }

  .repo-rail {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 1.4rem), transparent);
  }

  .repo-rail::-webkit-scrollbar {
    display: none;
  }

  .repo-rail a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .threshold-labels {
    bottom: 10%;
  }

  .threshold-labels span {
    min-height: 58px;
    place-items: center;
  }

  .page-thinking .thinking-copy h1,
  .repo-wall h2 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }
}

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

  body.js-motion .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
