:root {
  --bg: #cdd0cc;
  --bg-deep: #bec3bf;
  --surface: #d8dad6;
  --ink: #151715;
  --ink-soft: #2d322f;
  --muted: #4b514e;
  --line: rgba(21, 23, 21, 0.18);
  --line-strong: rgba(21, 23, 21, 0.44);
  --blue: #2447ba;
  --coral: #91332c;
  --mint: #22584f;
  --amber: #674900;
  --max: 1280px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
h1,
h2,
h3,
p {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  background: #b9c9f5;
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(17, 23, 20, 0.12);
  background: rgba(201, 206, 202, 0.78);
  backdrop-filter: blur(18px) saturate(1.12);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.va-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.va-glyph {
  position: absolute;
  top: 6px;
  left: 50%;
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  transform: translateX(-50%);
}

.va-crossbar {
  position: absolute;
  top: 17px;
  right: 10px;
  left: 10px;
  height: 1px;
  background: currentColor;
}

.wordmark-name {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 180ms ease;
}

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

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: left;
  animation: line-in 520ms ease both;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.point-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.point-field canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 900ms ease;
}

.point-field.is-rendered canvas {
  opacity: 1;
}

.point-field.is-fallback::after {
  position: absolute;
  inset: 12% 8%;
  border: 1px solid var(--line);
  content: "";
  transform: rotate(-9deg);
}

/* Index */

.page-home {
  min-height: 100svh;
  background: var(--bg);
}

.spatial-main,
.spatial-hero {
  min-height: 100svh;
}

.spatial-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--header-height);
}

.spatial-hero::before,
.spatial-hero::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.spatial-hero::before {
  top: var(--header-height);
  right: 0;
  width: 48%;
  height: 48%;
  background: #bdc6ce;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 76%);
}

.spatial-hero::after {
  bottom: 0;
  left: 0;
  width: 56%;
  height: 34%;
  background: #d1cac0;
  clip-path: polygon(0 20%, 78% 0, 100% 100%, 0 100%);
}

.point-field-home {
  inset: var(--header-height) 0 0;
}

.field-readout {
  position: absolute;
  top: calc(var(--header-height) + 24px);
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(17, 23, 20, 0.56);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.field-readout span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.field-readout span:first-child::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 85, 215, 0.13);
  content: "";
  animation: pulse 2.4s ease-in-out infinite;
}

.spatial-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  padding: 46px 0 20px;
}

.spatial-intro {
  width: min(660px, 56vw);
  align-self: center;
  padding: 32px 0 24px;
}

.cover-kicker,
.axis-label,
.axis-item > span,
.spatial-footer {
  font-family: "IBM Plex Mono", monospace;
}

.cover-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.spatial-intro h1 {
  margin: 24px 0 0;
  font-size: clamp(68px, 8.4vw, 116px);
  font-weight: 500;
  line-height: 0.84;
}

.spatial-intro h1 span {
  display: block;
}

.spatial-intro p {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.28;
}

.spatial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.spatial-actions a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
  transition: border-color 180ms ease, color 180ms ease;
}

.spatial-actions a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.spatial-axis {
  background: transparent;
}

.axis-label a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.axis-label a:hover,
.axis-label a:focus-visible {
  color: var(--blue);
}

.axis-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 10px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

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

.axis-item {
  display: block;
  position: relative;
  min-width: 0;
  padding: 13px 28px 12px 0;
  color: inherit;
  text-decoration: none;
}

.axis-item + .axis-item {
  padding-left: 28px;
}

.axis-item + .axis-item::before {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.axis-item h2 {
  transition: color 220ms ease, transform 220ms ease;
}

.axis-item.is-active h2,
.axis-item:hover h2,
.axis-item:focus-visible h2 {
  color: var(--blue);
  transform: translateX(3px);
}

.axis-item:nth-child(2).is-active h2,
.axis-item:nth-child(2):hover h2,
.axis-item:nth-child(2):focus-visible h2 {
  color: var(--mint);
}

.axis-item:nth-child(3).is-active h2,
.axis-item:nth-child(3):hover h2,
.axis-item:nth-child(3):focus-visible h2 {
  color: var(--coral);
}

.axis-item > span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.axis-item h2 {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

.axis-item strong {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 600;
}

.axis-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.spatial-seeking {
  max-width: 46ch;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.45;
}

.spatial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spatial-meta a,
.spatial-meta span {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.spatial-meta a:hover,
.spatial-meta a:focus-visible {
  color: var(--blue);
  border-bottom-color: currentColor;
}

.spatial-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

/* Work */

.page-work {
  --ink: #11181d;
  --ink-soft: #26323a;
  --muted: #42515a;
  --line: rgba(17, 24, 29, 0.18);
  --line-strong: rgba(17, 24, 29, 0.44);
  background: #c2c7c7;
}

.work-spatial,
.ethos-spatial {
  position: relative;
  isolation: isolate;
}

.work-spatial::before,
.work-spatial::after,
.ethos-spatial::before,
.ethos-spatial::after {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  content: "";
}

.work-spatial::before {
  top: var(--header-height);
  right: 0;
  width: 48vw;
  height: 52vh;
  background: #b6c3cc;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 72%);
}

.work-spatial::after {
  bottom: 0;
  left: 0;
  width: 58vw;
  height: 38vh;
  background: #c8ccbd;
  clip-path: polygon(0 18%, 76% 0, 100% 100%, 0 100%);
}

.point-field-work,
.point-field-ethos {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: -1;
}

.point-field-work {
  opacity: 0.72;
}

.point-field-ethos {
  opacity: 0.64;
}

.page-work .site-header {
  background: rgba(188, 197, 199, 0.78);
}

.atlas-screen {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 48px);
  padding: 96px 0 24px;
}

.atlas-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 48px;
  align-items: end;
  margin-bottom: 16px;
}

.atlas-kicker,
.atlas-status,
.atlas-project-index,
.atlas-project-foot,
.atlas-preview-media > span,
.atlas-links,
.atlas-footer {
  font-family: "IBM Plex Mono", monospace;
}

.atlas-kicker {
  color: var(--coral);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.atlas-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
}

.atlas-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.atlas-board {
  height: calc(100svh - 202px);
  min-height: 480px;
  max-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(390px, 0.9fr);
  gap: 30px;
}

.atlas-preview {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  overflow: visible;
  background: transparent;
  color: var(--ink);
}

.atlas-preview-media {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
  align-self: start;
  overflow: hidden;
  background: #11181d;
}

.atlas-preview-media::after {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 29, 0.08);
  content: "";
  transition: background 280ms ease;
}

.atlas-preview:hover .atlas-preview-media::after {
  background: transparent;
}

.atlas-preview-media img,
.atlas-preview-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.atlas-preview-media img {
  filter: saturate(0.72) contrast(1.04);
  transform: scale(1.01);
  transition: filter 420ms ease, transform 5s ease;
}

.atlas-preview-media video {
  filter: saturate(0.96) contrast(1.05);
  transform: scale(1.01);
  transition: filter 420ms ease, transform 5s ease;
}

.atlas-preview-media [hidden] {
  display: none;
}

.atlas-preview:hover .atlas-preview-media img,
.atlas-preview.is-changing .atlas-preview-media img {
  filter: saturate(0.98) contrast(1.03);
  transform: scale(1.045);
}

.atlas-preview:hover .atlas-preview-media video,
.atlas-preview.is-changing .atlas-preview-media video {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.atlas-preview-media > span {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  padding: 5px 7px;
  background: rgba(17, 24, 29, 0.78);
  color: rgba(255, 255, 255, 0.84);
  font-size: 9px;
  text-transform: uppercase;
}

.atlas-preview-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-strong);
}

.atlas-preview-copy h2 {
  margin: 6px 0 0;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
}

.atlas-preview-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  align-self: center;
}

.atlas-status {
  color: var(--blue);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.atlas-status.modeled {
  color: var(--amber);
}

.atlas-status.validated {
  color: var(--mint);
}

.atlas-status.inferred {
  color: var(--coral);
}

.atlas-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  font-size: 10px;
}

.atlas-links a {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}

.atlas-stack {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  background: transparent;
}

.atlas-project {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 104px;
  gap: 14px;
  align-items: stretch;
  padding: 10px 10px 10px 0;
  background: transparent;
  color: var(--ink);
  cursor: default;
  transition: background 260ms ease, color 260ms ease, transform 260ms ease;
}

.atlas-project + .atlas-project {
  border-top: 1px solid var(--line-strong);
}

.atlas-project.is-active,
.atlas-project:hover,
.atlas-project:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateX(4px);
}

.atlas-project::before {
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 2px;
  background: var(--blue);
  content: "";
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 260ms ease;
}

.atlas-project.is-active::before,
.atlas-project:hover::before,
.atlas-project:focus-visible::before {
  transform: scaleY(1);
}

.atlas-project-index {
  padding: 4px 0 0 10px;
  color: var(--muted);
  font-size: 9px;
}

.atlas-project.is-active .atlas-project-index,
.atlas-project:hover .atlas-project-index,
.atlas-project:focus-visible .atlas-project-index {
  color: var(--muted);
}

.atlas-project-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.atlas-project-body h2 {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-project-body p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-project.is-active .atlas-project-body p,
.atlas-project:hover .atlas-project-body p,
.atlas-project:focus-visible .atlas-project-body p {
  color: var(--muted);
}

.atlas-project-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 8px;
}

.atlas-project-foot strong {
  color: inherit;
  font-weight: 500;
}

.atlas-project-foot a {
  border-bottom: 1px solid currentColor;
}

.atlas-project.is-active .atlas-project-foot,
.atlas-project:hover .atlas-project-foot,
.atlas-project:focus-visible .atlas-project-foot {
  color: var(--muted);
}

.atlas-project-media {
  min-width: 0;
  display: block;
  overflow: hidden;
}

.atlas-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.58) contrast(1.04);
  transition: filter 300ms ease, transform 700ms ease;
}

.atlas-project.is-active .atlas-project-media img,
.atlas-project:hover .atlas-project-media img,
.atlas-project:focus-visible .atlas-project-media img {
  filter: grayscale(0.05) contrast(1.02);
  transform: scale(1.05);
}

.atlas-footer,
.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: rgba(205, 207, 202, 0.86);
  backdrop-filter: blur(12px);
}

.atlas-footer .shell,
.footer-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.page-work .atlas-footer {
  background: transparent;
}

/* Ethos */

.page-ethos {
  --ink: #1b1517;
  --ink-soft: #382b30;
  --muted: #554048;
  --line: rgba(27, 21, 23, 0.18);
  --line-strong: rgba(27, 21, 23, 0.44);
  --blue: #364b92;
  --coral: #784138;
  --mint: #285e58;
  background: #c8cdca;
}

.page-ethos .site-header {
  background: rgba(198, 205, 202, 0.78);
}

.ethos-spatial::before {
  top: var(--header-height);
  left: 0;
  width: 52vw;
  height: 48vh;
  background: #bec8ce;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 74%);
}

.ethos-spatial::after {
  right: 0;
  bottom: 0;
  width: 60vw;
  height: 44vh;
  background: #d0d1c4;
  clip-path: polygon(24% 0, 100% 18%, 100% 100%, 0 100%);
}

.ethos-hero,
.principles,
.ethos-close {
  position: relative;
  z-index: 2;
}

.ethos-hero {
  min-height: 72svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 56px) 0 54px;
  background: transparent;
}

.ethos-hero-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 10vw;
  align-items: end;
}

.eyebrow,
.section-index,
.principle-number,
.evidence-label,
.margin-note {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  color: var(--blue);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.ethos-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(68px, 9vw, 124px);
  font-weight: 500;
  line-height: 0.9;
}

.ethos-lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.18;
}

.ethos-lead span {
  color: var(--blue);
}

.principles {
  padding: 68px 0 78px;
  background: transparent;
}

.principles-heading {
  display: grid;
  grid-template-columns: 120px minmax(0, 680px);
  gap: 34px;
  align-items: start;
  padding-bottom: 38px;
}

.section-index {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.principles-heading h2 {
  margin: -4px 0 0;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.18;
}

.principle-row {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(230px, 0.82fr) minmax(280px, 1.18fr) minmax(150px, 0.48fr);
  gap: 30px;
  align-items: start;
  padding: 30px 18px 30px 0;
  background: transparent;
  transition: background 260ms ease, padding 260ms ease;
}

.principle-row + .principle-row {
  border-top: 1px solid var(--line-strong);
}

.principle-row.is-active,
.principle-row:hover,
.principle-row:focus-visible {
  padding-left: 18px;
  background: transparent;
}

.principle-row::before {
  position: absolute;
  top: 28%;
  bottom: 28%;
  left: 0;
  width: 2px;
  background: var(--blue);
  content: "";
  transform: scaleY(0);
  transition: transform 260ms ease;
}

.principle-row.is-active::before,
.principle-row:hover::before,
.principle-row:focus-visible::before {
  transform: scaleY(1);
}

.principle-number {
  color: var(--muted);
  font-size: 10px;
}

.evidence-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.evidence-label::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.evidence-label.modeled {
  color: var(--mint);
}

.evidence-label.inferred {
  color: var(--coral);
}

.principle-question h3 {
  margin: 11px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.principle-copy {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.margin-note {
  margin: 2px 0 0;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.65;
  text-transform: uppercase;
}

.ethos-close {
  padding: 86px 0;
  border-top: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.ethos-close-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 9vw;
}

.ethos-close .eyebrow {
  color: var(--blue);
}

.ethos-close h2 {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
}

.ethos-close-copy {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.ethos-close-copy strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.page-ethos .site-footer {
  background: transparent;
  color: var(--muted);
  border-top-color: var(--line);
}

.footer-links {
  display: flex;
  gap: 22px;
}

@keyframes line-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.78);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 64px;
  }

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

  .site-nav {
    gap: 20px;
  }

  .spatial-intro {
    width: min(680px, 72vw);
  }

  .atlas-board {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.9fr);
  }

  .atlas-preview-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principle-row {
    grid-template-columns: 60px minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }

  .principle-row .margin-note {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 60px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .site-nav {
    gap: 15px;
    font-size: 10px;
  }

  .wordmark-name,
  .desktop-link {
    display: none;
  }

  .va-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 23px;
  }

  .field-readout {
    top: calc(var(--header-height) + 15px);
    right: 16px;
  }

  .field-readout span:last-child {
    display: none;
  }

  .point-field-home {
    inset: var(--header-height) -38% 20% -42%;
    opacity: 0.72;
  }

  .spatial-hero::before {
    width: 74%;
    height: 42%;
  }

  .spatial-hero::after {
    width: 78%;
    height: 28%;
  }

  .work-spatial::before,
  .ethos-spatial::before {
    width: 78vw;
    height: 44vh;
  }

  .work-spatial::after,
  .ethos-spatial::after {
    width: 82vw;
    height: 34vh;
  }

  .spatial-shell {
    min-height: calc(100svh - var(--header-height));
    padding: 32px 0 14px;
  }

  .spatial-intro {
    width: 100%;
    align-self: center;
    padding: 38px 0 22px;
  }

  .spatial-intro h1 {
    margin-top: 18px;
    font-size: clamp(58px, 20vw, 82px);
    line-height: 0.86;
  }

  .spatial-intro p {
    max-width: 92%;
    margin-top: 22px;
    font-size: 18px;
  }

  .spatial-actions {
    margin-top: 22px;
  }

  .axis-label {
    padding: 7px 0;
  }

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

  .axis-item,
  .axis-item + .axis-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-left: 0;
  }

  .axis-item + .axis-item {
    border-top: 1px solid var(--line);
  }

  .axis-item + .axis-item::before {
    display: none;
  }

  .axis-item h2,
  .axis-item strong,
  .axis-item p {
    margin: 0;
  }

  .axis-item h2 {
    font-size: 14px;
  }

  .axis-item strong {
    font-size: 10px;
    text-align: right;
  }

  .axis-item p {
    display: none;
  }

  .spatial-footer {
    padding-top: 9px;
    font-size: 8px;
  }

  .spatial-footer span:last-child {
    display: none;
  }

  .point-field-work {
    opacity: 0.52;
  }

  .point-field-ethos {
    opacity: 0.48;
  }

  .atlas-screen {
    min-height: 100svh;
    padding: 84px 0 16px;
  }

  .atlas-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .atlas-heading h1 {
    font-size: 38px;
  }

  .atlas-heading > p {
    max-width: 90%;
    font-size: 11px;
  }

  .atlas-board {
    height: auto;
    min-height: 0;
    display: block;
  }

  .atlas-preview {
    display: none;
  }

  .atlas-stack {
    grid-template-rows: repeat(4, minmax(112px, auto));
  }

  .atlas-project {
    grid-template-columns: 30px minmax(0, 1fr) 76px;
    gap: 9px;
    min-height: 112px;
    padding: 10px 8px 10px 0;
  }

  .atlas-project.is-active,
  .atlas-project:hover,
  .atlas-project:focus-visible {
    transform: none;
  }

  .atlas-project-body h2 {
    font-size: 16px;
  }

  .atlas-project-body p {
    display: none;
  }

  .atlas-project-foot {
    gap: 8px;
  }

  .atlas-footer {
    display: none;
  }

  .ethos-hero {
    min-height: 76svh;
    padding: calc(var(--header-height) + 46px) 0 44px;
  }

  .ethos-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ethos-hero h1 {
    font-size: 70px;
  }

  .ethos-lead {
    font-size: 25px;
  }

  .principles {
    padding: 48px 0 56px;
  }

  .principles-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 30px;
  }

  .principles-heading h2 {
    font-size: 27px;
  }

  .principle-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .principle-row.is-active,
  .principle-row:hover,
  .principle-row:focus-visible {
    padding-right: 12px;
    padding-left: 12px;
  }

  .principle-question h3 {
    font-size: 20px;
  }

  .principle-copy {
    grid-column: 2;
    font-size: 12px;
  }

  .principle-row:not(.is-active) .principle-copy {
    display: none;
  }

  .ethos-close {
    padding: 62px 0;
  }

  .ethos-close-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ethos-close h2 {
    font-size: 36px;
  }

  .ethos-close-copy strong {
    font-size: 19px;
  }

  .footer-inner {
    min-height: 58px;
  }
}

@media (max-width: 420px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a:last-child {
    display: none;
  }

  .spatial-intro h1 {
    font-size: 60px;
  }

  .spatial-intro p {
    font-size: 16px;
  }

  .axis-item,
  .axis-item + .axis-item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
  }
}

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

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

/* --- receipt: the thesis shown as an artifact, not restated --- */
.spatial-receipt {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent, #147c74);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted, #5b6b77);
}
.spatial-receipt em {
  font-style: normal;
  color: var(--ink, #0e1b26);
}
