:root {
  color-scheme: dark;
  --void: hsl(153 54% 3.5%);
  --void-2: hsl(150 46% 7%);
  --ink: hsl(96 26% 90%);
  --muted: hsl(140 15% 71%);
  --green: hsl(142 90% 58%);
  --emerald: hsl(158 74% 44%);
  --mint: hsl(122 82% 78%);
  --glass-border: hsl(140 42% 90% / 0.16);
  --glass: hsl(145 35% 92% / 0.07);
  --line: hsl(140 28% 78% / 0.14);
  --mx: 50%;
  --my: 42%;
  --max-width: 1180px;
  --display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(105% 72% at var(--mx) var(--my), hsl(150 78% 16% / 0.55), transparent 60%),
    radial-gradient(80% 68% at 84% 88%, hsl(142 85% 22% / 0.38), transparent 62%),
    radial-gradient(70% 55% at 10% 4%, hsl(168 62% 18% / 0.3), transparent 56%),
    linear-gradient(180deg, var(--void-2), var(--void) 64%);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

body::before {
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body::after {
  box-shadow: inset 0 0 220px 46px hsl(153 72% 2% / 0.82);
}

.spatial-paused *,
.spatial-paused *::before,
.spatial-paused *::after {
  animation-play-state: paused !important;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  color: var(--void);
  background: var(--green);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: var(--void);
  background: var(--green);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: hsl(153 54% 3.5% / 0.58);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border: 1px solid hsl(140 45% 92% / 0.25);
  background: hsl(150 42% 10% / 0.8);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 hsl(120 40% 96% / 0.18), 0 0 26px hsl(142 90% 50% / 0.14);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid var(--mint);
}

.brand-mark::before {
  top: 7px;
  left: 7px;
}

.brand-mark::after {
  right: 5px;
  bottom: 5px;
  border-color: var(--green);
}

.site-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 14px;
  align-items: center;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--glass-border);
  background: hsl(140 48% 92% / 0.07);
}

.eyebrow,
.card-kicker,
.micro-label,
.error-code {
  display: flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 700;
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  font-weight: 680;
  line-height: 1;
}

h3 {
  letter-spacing: -0.025em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, var(--mint), var(--green) 48%, var(--emerald));
  background-clip: text;
  -webkit-background-clip: text;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 20px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: hsl(153 54% 3.5%);
  border: 1px solid var(--green);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 34px hsl(142 90% 50% / 0.18);
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--mint);
  box-shadow: 0 0 42px hsl(142 90% 50% / 0.3);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--glass-border);
  background: hsl(140 48% 92% / 0.06);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: hsl(142 80% 70% / 0.4);
  background: hsl(140 48% 92% / 0.1);
}

.text-link,
.contact-email,
.footer-email {
  color: var(--mint);
  font-weight: 720;
  text-decoration-color: hsl(122 82% 78% / 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover,
.contact-email:hover,
.footer-email:hover {
  color: var(--green);
}

/* Static, content-first hero. JavaScript enhances this into the spatial stage. */
.spatial-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 83px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.spatial-stars {
  position: absolute;
  z-index: -2;
  inset: -8%;
  width: 116%;
  height: 116%;
  pointer-events: none;
}

.spatial-viewport {
  position: relative;
  display: grid;
  min-height: calc(100svh - 83px);
  padding: 70px 0 92px;
  place-items: center;
}

.spatial-stage {
  position: relative;
  display: grid;
  width: min(1120px, calc(100vw - 40px));
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.spatial-headline {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.spatial-headline h1 {
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 7vw, 6.1rem);
  text-shadow: 0 2px 44px hsl(142 90% 50% / 0.2);
}

.hero-sub {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 26px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-email {
  color: var(--mint);
  font-size: 0.92rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.spatial-card {
  position: relative;
  min-height: 190px;
  padding: 0;
  overflow: visible;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.card-toggle {
  display: none;
}

.js .card-toggle {
  position: absolute;
  z-index: 3;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 20px;
  cursor: pointer;
}

.card-glass,
.glass-panel {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(120% 92% at var(--mx) var(--my), hsl(120 60% 96% / 0.14), transparent 43%),
    linear-gradient(150deg, hsl(140 48% 92% / 0.1), hsl(140 48% 92% / 0.025));
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 hsl(120 40% 96% / 0.2),
    inset 0 0 24px hsl(150 60% 88% / 0.045),
    0 24px 60px hsl(153 72% 2% / 0.48);
  -webkit-backdrop-filter: blur(14px) saturate(1.7);
  backdrop-filter: blur(14px) saturate(1.7);
}

.card-glass {
  padding: 20px 20px 22px;
}

.card-glass::after,
.glass-panel::after {
  position: absolute;
  inset: 0;
  padding: 1px;
  content: "";
  pointer-events: none;
  opacity: 0.65;
  background: conic-gradient(from 210deg, transparent, hsl(142 90% 58% / 0.62), hsl(158 74% 44% / 0.1), hsl(122 82% 78% / 0.55), transparent 75%);
  border-radius: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.spatial-card:hover .card-glass,
.spatial-card:focus-within .card-glass,
.spatial-card.focused .card-glass {
  border-color: hsl(142 80% 70% / 0.46);
  box-shadow: inset 0 1px 0 hsl(120 40% 96% / 0.3), 0 0 0 1px hsl(142 90% 60% / 0.16), 0 30px 72px hsl(153 72% 2% / 0.62);
}

.card-kicker {
  margin-bottom: 8px;
  font-size: 0.64rem;
}

.card-title {
  display: block;
  margin: 0 0 8px;
  font-size: 1.22rem;
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.card-copy {
  display: block;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.card-more {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  color: hsl(140 18% 79%);
  border-top: 1px solid hsl(140 40% 80% / 0.12);
}

.spatial-core,
.orbit-system,
.spatial-hud,
.view-tick,
.spatial-hint,
.depth-label {
  display: none;
}

.js .spatial-viewport {
  perspective: 1300px;
  perspective-origin: var(--mx) var(--my);
  cursor: grab;
  touch-action: none;
}

.js .spatial-viewport.dragging {
  cursor: grabbing;
}

.js .spatial-stage {
  display: block;
  height: min(690px, calc(100svh - 118px));
  min-height: 620px;
  transform: translateZ(0) rotateX(6deg) rotateY(-8deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.js .depth-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}

.js .spatial-headline {
  z-index: 2;
  width: min(690px, 74vw);
  margin: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(0);
  transition: opacity 380ms ease, filter 380ms ease;
}

.js .hero-actions,
.js .hero-actions a {
  pointer-events: auto;
}

.js .spatial-card {
  z-index: 4;
  width: 224px;
  min-height: 0;
  transform: translate(-50%, -50%) translateZ(calc(var(--z) + var(--hover-z, 0px) + var(--focus-z, 0px))) scale(var(--scale, 1));
  transform-style: preserve-3d;
  transition: transform 540ms cubic-bezier(0.34, 1.4, 0.5, 1), opacity 350ms ease;
}

.js .spatial-card:hover {
  --hover-z: 28px;
}

.js .spatial-card.focused {
  --focus-z: 260px;
  --scale: 1.14;
  z-index: 24;
}

.js .spatial-stage.has-focus .spatial-card:not(.focused) {
  --focus-z: -50px;
  opacity: 0.27;
}

.js .spatial-stage.has-focus .spatial-headline {
  opacity: 0.2;
  filter: blur(1px);
}

.js .spatial-card .card-more {
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  border-top-color: transparent;
  transition: max-height 430ms ease, opacity 360ms ease, margin 430ms ease, padding 430ms ease;
}

.js .spatial-card.focused .card-more {
  max-height: 130px;
  margin-top: 12px;
  padding-top: 12px;
  opacity: 1;
  border-top-color: hsl(140 40% 80% / 0.12);
}

.js .card-one { --z: 72px; left: 16%; top: 23%; }
.js .card-two { --z: 136px; left: 83%; top: 30%; }
.js .card-three { --z: 38px; left: 20%; top: 79%; }
.js .card-four { --z: 150px; left: 82%; top: 78%; }

.js .spatial-core {
  display: block;
  z-index: 0;
  width: 152px;
  height: 152px;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(-38px);
  transition: opacity 380ms ease;
}

.core-ball {
  width: 100%;
  height: 100%;
  border: 1px solid hsl(140 50% 92% / 0.18);
  background:
    radial-gradient(circle at var(--mx) var(--my), hsl(120 60% 96% / 0.33), transparent 44%),
    radial-gradient(circle at 38% 32%, hsl(140 50% 96% / 0.16), hsl(150 60% 18% / 0.08) 60%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 2px 10px hsl(120 40% 96% / 0.23), 0 0 84px 12px hsl(150 85% 40% / 0.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: core-float 7s ease-in-out infinite;
}

.js .orbit-system {
  display: block;
  width: 1px;
  height: 1px;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(var(--orbit-z));
  transition: opacity 380ms ease;
}

.orbit-a { --orbit-z: 112px; }
.orbit-b { --orbit-z: 62px; }

.orbit-arm {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--radius);
  height: 1px;
  transform-origin: left center;
  transform-style: preserve-3d;
}

.orbit-a .orbit-arm {
  --radius: 270px;
  animation: orbit-a 26s linear infinite;
}

.orbit-b .orbit-arm {
  --radius: 190px;
  animation: orbit-b 18s linear infinite;
}

.orb {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transform: translate(50%, -50%);
  background: radial-gradient(circle at 34% 30%, #fff, var(--mint) 38%, hsl(150 72% 12%) 100%);
  box-shadow: 0 0 34px 5px hsl(122 82% 62% / 0.4);
}

.orbit-a .orb {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 32% 28%, #fff, var(--green) 34%, hsl(150 82% 13%) 100%);
  box-shadow: 0 0 42px 7px hsl(142 90% 50% / 0.35);
}

.js .spatial-stage.has-focus .spatial-core,
.js .spatial-stage.has-focus .orbit-system {
  opacity: 0.26;
}

.js .spatial-hud,
.js .view-tick,
.js .spatial-hint,
.js .depth-label {
  display: block;
  position: absolute;
  z-index: 8;
  pointer-events: none;
  color: hsl(120 14% 82% / 0.58);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spatial-hud {
  inset: 0;
}

.hud-item {
  position: absolute;
}

.hud-top-left { top: 20px; left: 22px; }
.hud-top-right { top: 20px; right: 22px; }
.hud-bottom-left { bottom: 20px; left: 22px; }
.hud-bottom-right { right: 22px; bottom: 20px; color: var(--green); }

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

.spatial-hint {
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 400ms ease;
}

.view-tick {
  width: 14px;
  height: 14px;
  border: 1px solid hsl(140 30% 82% / 0.2);
}

.tick-a { top: 12px; left: 14px; border-right: 0; border-bottom: 0; }
.tick-b { top: 12px; right: 14px; border-bottom: 0; border-left: 0; }
.tick-c { bottom: 12px; left: 14px; border-top: 0; border-right: 0; }
.tick-d { right: 14px; bottom: 12px; border-top: 0; border-left: 0; }

.depth-label {
  right: 24px;
  bottom: 48px;
}

.explore-link {
  position: absolute;
  z-index: 10;
  bottom: 22px;
  left: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

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

@keyframes pulse { 50% { opacity: 0.34; } }
@keyframes core-float { 50% { transform: translateY(7px); } }
@keyframes orbit-a { to { transform: rotateZ(360deg); } }
@keyframes orbit-b { to { transform: rotateZ(-360deg); } }

/* Site-wide editorial content */
.section {
  position: relative;
  padding: clamp(78px, 10vw, 132px) 0;
}

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

.section-heading {
  display: grid;
  margin-bottom: clamp(42px, 6vw, 76px);
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
}

.section-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
}

.section-heading > p,
.company-panel p,
.approach-item p,
.principle p,
.prose p,
.prose li,
.sticky-label > p:last-child {
  color: var(--muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid hsl(142 80% 70% / 0.26);
}

.approach-item {
  min-height: 240px;
  padding: 30px 26px 12px 0;
}

.approach-item + .approach-item {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.approach-item .micro-label {
  margin-bottom: 54px;
}

.approach-item h3,
.principle h3 {
  margin-bottom: 14px;
  font-size: 1.42rem;
  line-height: 1.12;
}

.company-panel {
  display: grid;
  padding: clamp(34px, 6vw, 72px);
  grid-template-columns: 1fr 0.78fr;
  align-items: end;
  gap: clamp(42px, 8vw, 110px);
}

.company-panel h2 {
  margin-bottom: 24px;
}

.company-panel .company-action p {
  max-width: 440px;
}

.page-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.page-hero::before {
  top: 12%;
  right: 9%;
  width: clamp(180px, 25vw, 380px);
  aspect-ratio: 1;
  border: 1px solid hsl(142 80% 70% / 0.18);
  background: radial-gradient(circle at 32% 28%, hsl(120 60% 96% / 0.16), hsl(150 60% 18% / 0.08) 60%, transparent);
  box-shadow: inset 0 2px 12px hsl(120 40% 96% / 0.16), 0 0 110px hsl(150 85% 40% / 0.2);
  transform: translateZ(0);
}

.page-hero::after {
  top: 30%;
  right: 22%;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 34% 30%, #fff, var(--green) 36%, hsl(150 72% 12%));
  box-shadow: 0 0 34px hsl(142 90% 50% / 0.4);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 610px;
  padding-block: 90px;
  justify-content: center;
  flex-direction: column;
}

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

.page-hero .hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.about-grid,
.contact-layout,
.privacy-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(48px, 10vw, 130px);
}

.sticky-label {
  align-self: start;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-bottom: 28px;
}

.prose h3 {
  margin: 50px 0 15px;
  font-size: 1.42rem;
}

.prose p,
.prose li {
  font-size: 1.08rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.principle {
  min-height: 230px;
  padding: clamp(28px, 4vw, 44px);
}

.principle .micro-label {
  margin-bottom: 44px;
}

.contact-card {
  min-height: 330px;
  padding: clamp(34px, 6vw, 64px);
}

.contact-company {
  margin-bottom: 48px;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.05rem, 3vw, 1.42rem);
  overflow-wrap: anywhere;
}

.privacy-meta {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--green);
  border: 1px solid hsl(142 80% 70% / 0.24);
  background: hsl(142 80% 60% / 0.07);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.error-page {
  display: grid;
  min-height: calc(100svh - 83px);
  padding: 80px 0;
  place-items: center;
}

.error-content {
  max-width: 820px;
}

.error-content h1 {
  font-size: clamp(3.8rem, 8vw, 7.2rem);
}

.error-content > p {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.13rem;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
  background: hsl(153 62% 2.6% / 0.7);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  padding-top: 26px;
  color: hsl(140 14% 64%);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

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

.footer-bottom a {
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .section-heading,
  .company-panel,
  .about-grid,
  .contact-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

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

  .approach-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .approach-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .js .spatial-stage {
    width: min(900px, calc(100vw - 32px));
  }

  .js .spatial-headline {
    width: min(600px, 66vw);
  }

  .js .spatial-card {
    width: 205px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    max-width: 148px;
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .brand-mark::before {
    top: 6px;
    left: 6px;
  }

  .site-nav ul {
    gap: 0;
  }

  .site-nav a {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .spatial-hero,
  .spatial-viewport {
    min-height: auto;
  }

  .spatial-viewport {
    padding: 72px 0 108px;
  }

  .spatial-stage,
  .js .spatial-stage {
    display: grid;
    width: min(calc(100vw - 32px), 560px);
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    transform: rotateX(2deg) rotateY(-2deg);
  }

  .spatial-headline,
  .js .spatial-headline,
  .spatial-card,
  .js .spatial-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    transform: translateZ(var(--z, 0px)) scale(var(--scale, 1));
  }

  .spatial-headline,
  .js .spatial-headline {
    margin-bottom: 26px;
    pointer-events: auto;
  }

  .spatial-headline h1 {
    font-size: clamp(3.05rem, 15vw, 4.9rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-email {
    font-size: 0.87rem;
  }

  .spatial-card,
  .js .spatial-card {
    --z: 12px;
  }

  .js .spatial-card:hover {
    --hover-z: 0px;
  }

  .js .spatial-card.focused {
    --focus-z: 70px;
    --scale: 1.025;
  }

  .js .spatial-stage.has-focus .spatial-card:not(.focused) {
    --focus-z: -12px;
    opacity: 0.35;
  }

  .js .spatial-stage.has-focus .spatial-headline {
    opacity: 0.45;
  }

  .js .spatial-core,
  .js .orbit-system,
  .js .hud-top-right,
  .js .hud-bottom-right,
  .js .view-tick,
  .js .depth-label {
    display: none;
  }

  .spatial-hint {
    bottom: 58px;
    width: 100%;
    text-align: center;
  }

  .explore-link {
    bottom: 22px;
  }

  .section-heading {
    gap: 24px;
  }

  .approach-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .approach-item,
  .approach-item + .approach-item,
  .approach-item:nth-child(3) {
    min-height: auto;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .approach-item .micro-label {
    margin-bottom: 34px;
  }

  .page-hero,
  .page-hero-inner {
    min-height: 540px;
  }

  .page-hero::before {
    top: 10%;
    right: -22%;
  }

  .page-hero::after {
    right: 18%;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }
}

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

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

  .js .spatial-viewport {
    cursor: default;
    touch-action: auto;
  }

  .spatial-stage,
  .js .spatial-stage {
    display: grid;
    width: min(calc(100vw - 40px), 980px);
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    transform: none !important;
  }

  .spatial-headline,
  .js .spatial-headline {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    grid-column: 1 / -1;
    margin-bottom: 26px;
    opacity: 1 !important;
    pointer-events: auto;
    filter: none !important;
    transform: none;
  }

  .spatial-card,
  .js .spatial-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .js .spatial-card .card-more {
    max-height: none;
    margin-top: 12px;
    padding-top: 12px;
    opacity: 1;
    border-top-color: hsl(140 40% 80% / 0.12);
  }

  .spatial-core,
  .orbit-system,
  .spatial-hud,
  .view-tick,
  .spatial-hint,
  .depth-label {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .spatial-stage,
  .js .spatial-stage {
    width: min(calc(100vw - 32px), 560px);
    grid-template-columns: 1fr;
  }
}
