@font-face {
  font-family: "Manrope Local";
  src: url("/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Local";
  src: url("/fonts/inter-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Croogla 4F";
  src:
    url("/fonts/croogla-4f.woff2") format("woff2"),
    url("/fonts/croogla-4f.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --world: #050507;
  --world-rgb: 5, 5, 7;
  --ink: #f5f3ef;
  --muted: rgba(245, 243, 239, 0.62);
  --accent: #ff6846;
  --line: rgba(255, 255, 255, 0.16);
  --progress: 0%;
  --sketch-ui: 0;
  --cad-ui: 0;
  --draft-ui: 0;
  --xr-ui: 0;
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--world);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--world);
  color: #f5f3ef;
  font-family: "Inter Local", Inter, sans-serif;
  line-height: 1.45;
  transition: background-color 80ms linear;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
body.is-dragging { cursor: grabbing; user-select: none; }
body.dragging-model { cursor: grabbing; user-select: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: #070707; }

h1, h2, h3,
.brand,
.chapter-rail b {
  font-family: "Manrope Local", sans-serif;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 650;
}

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

#journey-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stage-overlays {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.sketch-overlay,
.cad-overlay,
.draft-overlay,
.xr-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 160ms linear;
}

.sketch-overlay {
  left: 46%;
  top: 20%;
  right: 3%;
  bottom: 15%;
  opacity: calc(var(--sketch-ui) * .07);
  border: 1px solid currentColor;
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, currentColor 43px 44px),
    repeating-linear-gradient(0deg, transparent 0 42px, currentColor 43px 44px);
  transform: perspective(900px) rotateX(4deg) rotateZ(-2deg);
}

.sketch-overlay i {
  position: absolute;
  left: 9%;
  width: 78%;
  height: 24%;
  border-top: 2px solid currentColor;
  border-radius: 50%;
}

.sketch-overlay i:nth-child(1) { top: 22%; transform: rotate(5deg); }
.sketch-overlay i:nth-child(2) { top: 39%; transform: rotate(-4deg); }
.sketch-overlay i:nth-child(3) { top: 57%; transform: rotate(3deg); }
.sketch-overlay i:nth-child(4) { top: 72%; transform: rotate(-2deg); opacity: .45; }

.cad-overlay { opacity: var(--cad-ui); }
.cad-grid {
  position: absolute;
  inset: 14% 2.5% 13% 43%;
  opacity: .11;
  background:
    repeating-linear-gradient(90deg, transparent 0 45px, var(--ink) 46px 47px),
    repeating-linear-gradient(0deg, transparent 0 45px, var(--ink) 46px 47px);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.cad-properties {
  position: absolute;
  top: 17%;
  right: 2.4%;
  width: 190px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: color-mix(in srgb, var(--world) 78%, transparent);
  box-shadow: 0 16px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 7px;
  letter-spacing: .045em;
}

.cad-properties header {
  padding: 2px 2px 9px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--accent);
}

.cad-properties dl { margin: 5px 0 0; }
.cad-properties dl div { padding: 7px 2px; display: flex; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); }
.cad-properties dt { opacity: .48; }
.cad-properties dd { margin: 0; }

.cad-measure {
  position: absolute;
  right: 12%;
  bottom: 14%;
  width: min(42vw, 590px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 8px;
}

.cad-measure::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.cad-measure b { margin: auto; padding: 3px 9px; background: var(--world); font-weight: 500; }

.cad-axis { position: absolute; right: 44%; bottom: 21%; width: 48px; height: 48px; color: var(--ink); }
.cad-axis i { position: absolute; left: 24px; top: 24px; width: 26px; height: 1px; background: #ff5c52; transform-origin: left; }
.cad-axis i:nth-child(2) { background: #5be89f; transform: rotate(-90deg); }
.cad-axis i:nth-child(3) { background: #5baaff; transform: rotate(145deg); }
.cad-axis b { position: absolute; font-size: 7px; font-weight: 500; }
.cad-axis b:nth-of-type(1) { right: -7px; top: 20px; }
.cad-axis b:nth-of-type(2) { left: 20px; top: -8px; }
.cad-axis b:nth-of-type(3) { left: -6px; bottom: 1px; }

.draft-overlay { opacity: var(--draft-ui); color: var(--ink); }
.draft-view {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: #f8f8f7;
  box-shadow: 0 18px 46px rgba(25,42,55,.08);
}

.draft-view img { width: 100%; height: 100%; display: block; object-fit: contain; }
.draft-view span {
  position: absolute;
  top: 8px;
  left: 9px;
  padding: 4px 7px;
  border-radius: 3px;
  background: rgba(17,29,39,.78);
  color: #fff;
  font-size: 7px;
  letter-spacing: .08em;
}
.draft-side { left: 5.4%; top: 17%; width: 27%; height: 30%; }
.draft-front { left: 34.2%; top: 17%; width: 17%; height: 30%; }
.draft-rear { left: 17.8%; top: 51%; width: 22%; height: 30%; }

.draft-title {
  position: absolute;
  left: 5.8%;
  bottom: 8.5%;
  width: 44.4%;
  height: 54px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid color-mix(in srgb, var(--ink) 48%, transparent);
  font-size: 7px;
  letter-spacing: .035em;
}

.draft-title strong,
.draft-title small,
.draft-title b,
.draft-title i { font: inherit; }
.draft-title strong { font-weight: 700; }
.draft-title small { opacity: .54; }
.draft-title b,
.draft-title i { padding-left: 10px; border-left: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); }
.draft-title i { opacity: .6; }
.chapter-automation .draft-status { opacity: 0; visibility: hidden; }

.xr-overlay { opacity: var(--xr-ui); }
.xr-overlay i {
  position: absolute;
  left: 69%;
  top: 54%;
  width: 35vw;
  height: 13vw;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-9deg);
}

.xr-overlay i:nth-child(2) { width: 42vw; height: 17vw; transform: translate(-50%, -50%) rotate(17deg); opacity: .55; }
.xr-overlay i:nth-child(3) { width: 29vw; height: 10vw; transform: translate(-50%, -50%) rotate(46deg); opacity: .35; }
.xr-overlay span { position: absolute; color: var(--accent); font-size: 8px; }
.xr-overlay span:nth-of-type(1) { left: 55%; top: 30%; }
.xr-overlay span:nth-of-type(2) { left: 82%; top: 31%; }
.xr-overlay span:nth-of-type(3) { left: 88%; top: 63%; }
.xr-overlay span:nth-of-type(4) { left: 55%; top: 70%; }

.world-light {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 48%, rgba(255,255,255,.085), transparent 24%),
    radial-gradient(circle at 50% 110%, rgba(0,0,0,.3), transparent 48%);
  mix-blend-mode: screen;
  opacity: .72;
}

.grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  background-image:
    radial-gradient(circle at 20% 30%, #fff .45px, transparent .55px),
    radial-gradient(circle at 70% 65%, #fff .4px, transparent .5px);
  background-size: 7px 9px, 11px 13px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 36px), var(--max));
  height: 62px;
  padding: 0 10px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 17px;
  background: rgba(10,10,12,.38);
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
  backdrop-filter: blur(22px) saturate(125%);
  transform: translateX(-50%);
  transition: height 300ms var(--ease), background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.site-header.scrolled { height: 56px; background: rgba(10,10,12,.68); }
.site-header.on-light { color: #101317; background: rgba(235,241,244,.58); border-color: rgba(20,35,48,.13); }

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Croogla 4F", "Manrope Local", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
}

.brand-j { color: rgb(206, 206, 206); }

.desktop-nav { display: flex; gap: 28px; color: inherit; font-size: 12px; opacity: .74; }
.desktop-nav a { transition: opacity 180ms ease; }
.desktop-nav a:hover { opacity: 1; }

.header-cta {
  padding: 10px 15px;
  border-radius: 11px;
  background: rgba(255,255,255,.94);
  color: #080808;
  font-size: 12px;
  font-weight: 650;
  transition: transform 220ms var(--ease), background 220ms ease;
}

.header-cta:hover { transform: translateY(-2px); background: #fff; }
.site-header.on-light .header-cta { background: #101317; color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.mobile-nav { display: none; }

.chapter-rail {
  position: fixed;
  z-index: 80;
  top: 50%;
  left: 24px;
  width: 72px;
  padding-left: 13px;
  display: grid;
  gap: 13px;
  transform: translateY(-50%);
  color: var(--ink);
  transition: color 220ms ease;
}

.rail-progress {
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: currentColor;
  opacity: .18;
}

.rail-progress i {
  position: absolute;
  inset: 0 0 auto;
  height: var(--progress);
  background: currentColor;
  opacity: 1;
}

.chapter-rail button {
  padding: 0;
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  opacity: .36;
  transition: opacity 200ms ease, transform 250ms var(--ease);
}

.chapter-rail button:hover,
.chapter-rail button.active { opacity: 1; transform: translateX(3px); }
.chapter-rail span { font: 9px/1.2 "SFMono-Regular", Consolas, monospace; }
.chapter-rail b { font-size: 9px; font-weight: 600; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }

.scroll-meter {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.08);
}

.scroll-meter i { display: block; width: var(--progress); height: 100%; background: var(--accent); }

#story { position: relative; z-index: 2; }

.chapter {
  position: relative;
  min-height: 132svh;
  color: var(--ink);
  --ink: #f5f3ef;
  --muted: rgba(245,243,239,.64);
  --accent: #ff6846;
}

.chapter-shell {
  position: sticky;
  top: 0;
  width: min(calc(100% - 44px), var(--max));
  height: 100svh;
  margin-inline: auto;
  padding: 110px 70px 58px 90px;
  display: grid;
  align-items: center;
}

.chapter-left { grid-template-columns: minmax(360px, .8fr) minmax(420px, 1.2fr); }
.chapter-right { grid-template-columns: minmax(420px, 1.2fr) minmax(360px, .8fr); }
.chapter-right .chapter-copy { grid-column: 2; }
.chapter-right > aside { grid-column: 1; grid-row: 1; }
.chapter-centered { justify-items: center; text-align: center; }

.chapter-origin { min-height: 148svh; --accent: #ff6742; }
.chapter-sketch { --ink: #171513; --muted: rgba(23,21,19,.62); --accent: #f04d30; }
.chapter-form { --ink: #eef8ff; --muted: rgba(224,241,255,.65); --accent: #55ddff; }
.chapter-cad { --ink: #f4f0ff; --muted: rgba(233,225,255,.65); --accent: #a98cff; }
.chapter-automation { --ink: #101b25; --muted: rgba(16,27,37,.62); --accent: #ff6f31; }
.chapter-xr { --ink: #f3eeff; --muted: rgba(231,220,255,.68); --accent: #6bf2cf; }
.chapter-contact { --ink: #f5f3ef; --muted: rgba(245,243,239,.62); --accent: #ff6846; min-height: 115svh; }

.origin-copy {
  align-self: start;
  max-width: 1120px;
  padding-top: clamp(30px, 7vh, 90px);
}

.kicker,
.phase {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker { justify-content: center; }
.kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.phase span { color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; }

.origin-copy h1 {
  margin: 0;
  font-size: clamp(72px, 11vw, 158px);
  font-weight: 590;
  line-height: .83;
  letter-spacing: -.085em;
}

.origin-copy h1 em,
.chapter-copy h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.56);
}

.origin-intro {
  max-width: 690px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 1.9vw, 25px);
  line-height: 1.38;
  letter-spacing: -.03em;
}

.round-link {
  min-height: 48px;
  margin-top: 32px;
  padding: 0 8px 0 19px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.round-link span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #050507;
}

.origin-index {
  width: min(100%, 720px);
  align-self: end;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.43);
  font: 9px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
}

.origin-index i { height: 1px; flex: 1; background: rgba(255,255,255,.17); }

.chapter-copy {
  position: relative;
  z-index: 4;
  max-width: 540px;
}

.chapter-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(58px, 7.2vw, 106px);
  font-weight: 600;
  line-height: .89;
  letter-spacing: -.078em;
}

.chapter-form .chapter-copy h2 em,
.chapter-xr .chapter-copy h2 em { -webkit-text-stroke-color: color-mix(in srgb, var(--accent) 78%, transparent); }

.chapter-lead {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
  letter-spacing: -.025em;
}

.chapter-tags,
.reality-modes {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chapter-tags span,
.reality-modes span {
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.data-card,
.constraint-card,
.draft-status,
.session-card,
.orbit-note {
  position: relative;
  z-index: 4;
  justify-self: end;
  width: 260px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  box-shadow: 0 25px 80px rgba(0,0,0,.12);
  backdrop-filter: blur(18px) saturate(120%);
}

.chapter-right > aside { justify-self: start; align-self: end; margin-bottom: 9vh; }

.card-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 9px "SFMono-Regular", Consolas, monospace; }
.card-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.data-card strong { display: block; margin-top: 20px; font-size: 18px; }
.data-card small { display: block; margin-top: 18px; color: var(--muted); font-size: 10px; }
.chapter-sketch .sketch-card { opacity: 0; visibility: hidden; }

.sketch-lines { height: 82px; margin-top: 16px; display: grid; align-content: center; gap: 9px; }
.sketch-lines i { height: 1px; width: var(--w); background: var(--ink); opacity: .38; transform: rotate(var(--r)); }
.sketch-lines i:nth-child(1){--w:82%;--r:-3deg}.sketch-lines i:nth-child(2){--w:58%;--r:2deg}
.sketch-lines i:nth-child(3){--w:91%;--r:-1deg}.sketch-lines i:nth-child(4){--w:45%;--r:4deg}

.chapter-stats {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.chapter-stats div { padding: 18px 14px 0 0; }
.chapter-stats dt { font-size: 24px; font-weight: 580; color: var(--accent); }
.chapter-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }

.orbit-note { width: 178px !important; display: flex; gap: 12px; align-items: center; }
.orbit-note span { color: var(--accent); font: 9px "SFMono-Regular", Consolas, monospace; }
.orbit-note b { font-size: 11px; font-weight: 500; line-height: 1.35; }

.cad-specs { margin-top: 34px; border-block: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.cad-specs div { min-height: 53px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.cad-specs div:last-child { border: 0; }
.cad-specs span { color: var(--muted); font-size: 11px; }
.cad-specs b { font-size: 12px; font-weight: 570; }

.constraint-card { width: 275px; }
.constraint-title { display: block; margin-bottom: 18px; color: var(--muted); font: 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; }
.constraint-card > div { position: relative; height: 45px; padding-top: 20px; display: grid; grid-template-columns: 1fr auto; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.constraint-card > div i { position: absolute; top: -1px; left: 0; width: var(--value); height: 1px; background: var(--accent); }
.constraint-card > div span { color: var(--muted); font-size: 10px; }
.constraint-card > div b { font-size: 12px; font-weight: 600; }

.automation-flow { margin-top: 34px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.automation-flow span { padding: 8px 9px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 7px; }
.automation-flow i { color: var(--accent); font-style: normal; }

.draft-status { width: 270px; }
.draft-status > div { margin-bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 5px; }
.draft-status > div span { color: var(--muted); font: 9px "SFMono-Regular", Consolas, monospace; }
.draft-status > div b { font-size: 10px; font-weight: 600; }
.draft-status > div i { grid-column: 1 / -1; height: 2px; background: linear-gradient(90deg, var(--accent) 76%, color-mix(in srgb, var(--ink) 12%, transparent) 76%); }
.draft-status p { margin: 0; min-height: 37px; display: flex; align-items: center; gap: 12px; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); color: var(--muted); font-size: 10px; }
.draft-status p strong { width: 32px; color: var(--ink); font-size: 16px; }

.text-action { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 15px; font-weight: 650; }

.session-card { width: 280px; }
.session-live { display: flex; align-items: center; gap: 8px; color: var(--accent); font: 9px "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; }
.session-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .35; } }
.session-card > strong { display: block; margin-top: 22px; font-size: 16px; }
.participants { margin-top: 22px; display: flex; }
.participants span,
.participants b { width: 35px; height: 35px; margin-left: -6px; display: grid; place-items: center; border: 2px solid color-mix(in srgb, var(--ink) 6%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--ink) 16%, transparent); font-size: 9px; }
.participants span:first-child { margin-left: 0; }
.participants b { color: var(--muted); font-weight: 500; }
.session-card p { margin: 16px 0 0; color: var(--muted); font-size: 10px; }

.contact-copy { align-self: center; max-width: 1050px; }
.contact-copy h2 { font-size: clamp(70px, 10vw, 145px); }
.contact-copy > p:not(.phase) { max-width: 620px; margin: 28px auto 0; color: var(--muted); font-size: clamp(18px, 2vw, 24px); }
.contact-copy .phase { justify-content: center; }

.contact-actions { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.primary-action {
  min-height: 52px;
  padding: 0 8px 0 21px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #090908;
  font-size: 13px;
  font-weight: 720;
}

.primary-action span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.12); }
.contact-actions > a:last-child { color: var(--muted); font-size: 13px; border-bottom: 1px solid currentColor; }

.footer {
  width: 100%;
  align-self: end;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.45);
  font-size: 10px;
}

.footer b { font-weight: inherit; }

.experience-note {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  opacity: .42;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity 300ms ease, color 250ms ease;
}

.experience-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.experience-note.hidden { opacity: 0; }

@media (max-width: 1040px) {
  .chapter-shell { padding-inline: 74px 34px; }
  .chapter-left,
  .chapter-right { grid-template-columns: minmax(320px,.8fr) minmax(360px,1.2fr); }
  .desktop-nav { display: none; }
}

@media (max-width: 780px) {
  .site-header { top: 10px; width: calc(100% - 20px); height: 56px; padding-left: 14px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    inset: 66px 0 auto;
    width: calc(100vw - 20px);
    min-height: calc(100svh - 76px);
    margin-left: calc((min(100vw - 20px, var(--max)) - (100vw - 20px)) / 2);
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(7,7,9,.97);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 240ms ease, visibility 240ms, transform 240ms ease;
  }

  .mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 25px; font-weight: 550; letter-spacing: -.04em; }
  .chapter-rail { display: none; }
  .chapter { min-height: 125svh; }
  .chapter-shell { width: calc(100% - 28px); padding: 96px 8px 42px; grid-template-columns: 1fr; align-items: start; }
  .chapter-left .chapter-copy,
  .chapter-right .chapter-copy { grid-column: 1; grid-row: 1; align-self: start; max-width: 92%; }
  .chapter-left > aside,
  .chapter-right > aside { grid-column: 1; grid-row: 1; justify-self: end; align-self: end; margin: 0 0 3vh; }
  .chapter-centered { align-items: center; }
  .origin-copy { align-self: start; padding-top: 30px; }
  .origin-copy h1 { font-size: clamp(64px, 18vw, 102px); }
  .origin-intro { font-size: 18px; }
  .origin-index { margin-bottom: 24px; }
  .chapter-copy h2 { font-size: clamp(55px, 15vw, 82px); }
  .chapter-lead { max-width: 440px; font-size: 16px; }
  .data-card,
  .constraint-card,
  .draft-status,
  .session-card { transform: scale(.86); transform-origin: bottom right; }
  .orbit-note { transform: scale(.9); transform-origin: bottom left; }
  .experience-note { display: none; }
  .contact-copy h2 { font-size: clamp(62px, 17vw, 100px); }

  .sketch-overlay { left: 6%; top: 43%; right: 6%; bottom: 9%; }
  .cad-grid { inset: 41% 4% 9%; }
  .cad-properties { display: none; }
  .cad-measure { right: 10%; bottom: 11%; width: 80%; }
  .cad-axis { right: 8%; bottom: 18%; }
  .draft-side { left: 4%; top: 42%; width: 46%; height: 20%; }
  .draft-front { left: 53%; top: 42%; width: 43%; height: 20%; }
  .draft-rear { left: 27%; top: 65%; width: 46%; height: 19%; }
  .draft-title { left: 4%; bottom: 7%; width: 92%; height: 48px; }
  .xr-overlay i { left: 50%; top: 67%; width: 76vw; height: 28vw; }
  .xr-overlay i:nth-child(2) { width: 88vw; height: 35vw; }
  .xr-overlay i:nth-child(3) { width: 64vw; height: 24vw; }
  .xr-overlay span:nth-of-type(1) { left: 16%; top: 50%; }
  .xr-overlay span:nth-of-type(2) { left: 78%; top: 49%; }
  .xr-overlay span:nth-of-type(3) { left: 84%; top: 78%; }
  .xr-overlay span:nth-of-type(4) { left: 14%; top: 80%; }
}

@media (max-width: 520px) {
  .chapter-shell { padding-top: 92px; }
  .phase { margin-bottom: 15px; font-size: 9px; }
  .chapter-copy h2 { font-size: clamp(50px, 15.5vw, 70px); }
  .chapter-lead { margin-top: 19px; font-size: 15px; }
  .chapter-tags,
  .reality-modes { margin-top: 20px; max-width: 95%; }
  .chapter-stats { margin-top: 24px; }
  .chapter-stats dt { font-size: 20px; }
  .chapter-stats dd { font-size: 8px; }
  .cad-specs { margin-top: 22px; }
  .automation-flow { max-width: 300px; flex-wrap: wrap; }
  .automation-flow i { transform: rotate(90deg); }
  .data-card,
  .constraint-card,
  .draft-status,
  .session-card { width: 235px; opacity: .78; }
  .contact-actions { flex-direction: column; gap: 18px; }
  .footer { align-items: center; flex-direction: column; }
}

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