:root {
  --ink: #0a0a0a;
  --ink-soft: #121212;
  --bone: #f5f5f2;
  --muted: #b8b8b4;
  --faint: #9a9a96;
  --ink-muted: #454545;
  --rule: rgb(245 245 242 / 25%);
  --rule-light: rgb(10 10 10 / 28%);
  --signal: #f5f5f2;
  --section-text: var(--bone);
  --section-muted: var(--muted);
  --section-accent: var(--signal);
  --section-space-y: clamp(4.5rem, 8vw, 8rem);
  --page-gutter: clamp(1.25rem, 4vw, 4.5rem);
  --content-width: 77.5rem;
  --content-shell-width: calc(var(--content-width) + 2 * var(--page-gutter));
  --meta-size: 0.625rem;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', sans-serif;
  --mono: 'DM Mono', monospace;
  color: var(--section-text);
  background: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 0;
}

body {
  min-width: 320px;
  margin: 0;
  overscroll-behavior-y: none;
  background: var(--ink);
}

body::before,
body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: 15;
  height: 8rem;
  content: '';
  pointer-events: none;
}

body::before {
  backdrop-filter: blur(26px) saturate(120%);
  -webkit-backdrop-filter: blur(26px) saturate(120%);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgb(0 0 0 / 18%) 24%,
    rgb(0 0 0 / 48%) 52%,
    rgb(0 0 0 / 78%) 76%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgb(0 0 0 / 18%) 24%,
    rgb(0 0 0 / 48%) 52%,
    rgb(0 0 0 / 78%) 76%,
    #000 100%
  );
}

body::after {
  background:
    linear-gradient(to bottom, rgb(255 255 255 / 0%) 58%, rgb(255 255 255 / 3%) 100%),
    linear-gradient(to bottom, rgb(10 10 10 / 0%) 0%, rgb(10 10 10 / 8%) 100%);
  box-shadow: inset 0 -1px rgb(255 255 255 / 10%);
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  z-index: 40;
  padding: 0.75rem 1rem;
  background: var(--bone);
  color: var(--ink);
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(calc(-100% - 1rem));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Shared typography and controls */

.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo-lockup {
  display: block;
  width: 9rem;
  height: auto;
  flex: 0 0 auto;
}

.logo-accent {
  color: currentColor;
}

.text-link,
.header-link {
  color: var(--section-muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--section-text);
}

.arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 0.24em;
}

.arrow svg {
  width: 1em;
  height: 1em;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--section-accent);
  font: 400 0.65rem/1.35 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.55rem;
  background: var(--section-accent);
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 em,
h2 em {
  color: var(--section-accent);
  font-style: italic;
}

.button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  font: 400 0.72rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: transparent;
  color: var(--signal);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--bone);
}

.content-shell {
  width: min(100%, var(--content-shell-width));
  margin-inline: auto;
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
}

.inset-rule-top {
  position: relative;
}

.inset-rule-top::before {
  position: absolute;
  top: 0;
  right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--inset-rule-color, var(--rule));
  content: '';
  pointer-events: none;
}

.section-block {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-block: var(--section-space-y);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) 2fr;
  gap: clamp(2rem, 7vw, 9rem);
}

.theme-light {
  --section-text: var(--ink);
  --section-muted: var(--ink-muted);
  --section-accent: var(--ink);

  background: var(--bone);
  color: var(--section-text);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  color: var(--section-muted);
  font: 0.65rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--section-accent);
}

.section-label p {
  margin: 0;
}

.kicker {
  margin-bottom: 1.15rem;
}

.infrastructure h2,
.manifesto h2,
.applications h2,
.governance h2 {
  margin-bottom: 2.4rem;
  font-size: clamp(2.25rem, 3.6vw, 3.8rem);
  line-height: 1.03;
}

footer h2 {
  margin-bottom: 2.4rem;
  font-size: clamp(2.4rem, 4.6vw, 4.75rem);
  line-height: 1.03;
}

.lead {
  max-width: 38rem;
  margin: 0;
  color: var(--section-muted);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.6;
}

/* Header and hero */

.site-header {
  --header-text: var(--bone);
  --header-border: rgb(245 245 242 / 22%);
  --header-surface: rgb(245 245 242 / 4%);
  --header-highlight: rgb(255 255 255 / 9%);
  --header-hover-surface: var(--bone);
  --header-hover-text: var(--ink);
  --header-haze-sheen: rgb(255 255 255 / 7%);
  --header-haze-sheen-soft: rgb(255 255 255 / 2%);
  --header-haze-strong: rgb(10 10 10 / 68%);
  --header-haze-medium: rgb(10 10 10 / 49%);
  --header-haze-soft: rgb(10 10 10 / 26%);
  --header-haze-faint: rgb(10 10 10 / 9%);
  --header-menu-surface: rgb(10 10 10 / 70%);
  --header-menu-shadow: rgb(0 0 0 / 24%);

  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--header-text);
  isolation: isolate;
  transition: color 0.2s ease;
}

.site-header.is-over-light {
  --header-text: var(--ink);
  --header-border: rgb(10 10 10 / 20%);
  --header-surface: rgb(255 255 255 / 48%);
  --header-highlight: rgb(10 10 10 / 8%);
  --header-hover-surface: var(--ink);
  --header-hover-text: var(--bone);
  --header-haze-sheen: rgb(10 10 10 / 3%);
  --header-haze-sheen-soft: rgb(10 10 10 / 1%);
  --header-haze-strong: rgb(245 245 242 / 92%);
  --header-haze-medium: rgb(245 245 242 / 72%);
  --header-haze-soft: rgb(245 245 242 / 42%);
  --header-haze-faint: rgb(245 245 242 / 14%);
  --header-menu-surface: rgb(245 245 242 / 94%);
  --header-menu-shadow: rgb(10 10 10 / 14%);
}

.site-header::before {
  position: absolute;
  inset: 0 0 -7rem;
  z-index: -1;
  background:
    linear-gradient(
      110deg,
      var(--header-haze-sheen) 0%,
      var(--header-haze-sheen-soft) 34%,
      transparent 60%
    ),
    linear-gradient(
      to bottom,
      var(--header-haze-strong) 0%,
      var(--header-haze-medium) 20%,
      var(--header-haze-soft) 48%,
      var(--header-haze-faint) 72%,
      transparent 100%
    );
  box-shadow: inset 0 1px var(--header-highlight);
  content: '';
  pointer-events: none;
  opacity: 0.9;
  backdrop-filter: blur(30px) saturate(130%);
  -webkit-backdrop-filter: blur(30px) saturate(130%);
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgb(0 0 0 / 82%) 24%,
    rgb(0 0 0 / 52%) 50%,
    rgb(0 0 0 / 22%) 76%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgb(0 0 0 / 82%) 24%,
    rgb(0 0 0 / 52%) 50%,
    rgb(0 0 0 / 22%) 76%,
    transparent 100%
  );
  transition:
    opacity 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease;
}

.site-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.75rem;
}

.site-header .brand {
  min-height: 3.75rem;
}

.site-header.is-scrolled::before {
  opacity: 1;
  backdrop-filter: blur(36px) saturate(135%);
  -webkit-backdrop-filter: blur(36px) saturate(135%);
}

.site-header.is-menu-open::before {
  opacity: 1;
  backdrop-filter: blur(40px) saturate(125%);
  -webkit-backdrop-filter: blur(40px) saturate(125%);
}

.menu-toggle {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: clamp(1rem, 2vw, 2.25rem);
  margin-left: auto;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.68rem;
  border: 1px solid var(--header-border);
  background: var(--header-surface);
  box-shadow:
    inset 0 1px var(--header-highlight),
    0 1px 2px rgb(0 0 0 / 14%);
  color: var(--header-text);
  font: var(--meta-size)/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--header-hover-surface);
  background: var(--header-hover-surface);
  color: var(--header-hover-text);
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--header-text);
  white-space: nowrap;
}

.hero {
  --section-text: var(--ink);
  --section-muted: var(--ink-muted);
  --section-accent: var(--ink);

  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-light);
  background: var(--bone);
  color: var(--section-text);
}

.hero-shader {
  position: absolute;
  top: 50%;
  left: calc(50% + clamp(5rem, 12vw, 14rem));
  z-index: 0;
  width: min(38vw, 31rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgb(59 112 219 / 28%);
  border-radius: 50%;
  background: #8faaf0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero::after {
  position: absolute;
  top: 19%;
  right: -19rem;
  z-index: 0;
  width: min(58vw, 57rem);
  aspect-ratio: 1;
  border: 1px solid rgb(10 10 10 / 14%);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.hero-shader-runtime {
  width: 100%;
  height: 100%;
}

.hero-shader-canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-shader-runtime.is-ready .hero-shader-canvas {
  opacity: 0.94;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.hero-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 14vh, 9.5rem) 0 clamp(3.5rem, 8vh, 6rem);
}

h1 {
  max-width: 12ch;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  font-size: clamp(3rem, 6.9vw, 6.9rem);
  line-height: 0.98;
}

.hero-bottom {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 36rem;
}

.hero-bottom p {
  max-width: 34rem;
}

.hero .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone);
}

.hero .button:hover {
  background: transparent;
  color: var(--ink);
}

/* Scroll-driven system architecture */

.infrastructure {
  --section-text: var(--bone);
  --section-muted: var(--muted);
  --section-accent: var(--bone);

  position: relative;
  min-height: 500vh;
  min-height: 500svh;
  min-height: 500dvh;
  padding: 0;
  background: var(--ink);
  color: var(--section-text);
}

.infrastructure-sticky {
  position: sticky;
  top: 0;
  z-index: 16;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 38%, rgb(255 255 255 / 4%), transparent 27rem), var(--ink);
}

.infrastructure-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
  height: 100%;
}

.infrastructure-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(7rem, 13vh, 8.5rem) clamp(2.5rem, 5vw, 5.75rem) clamp(2.25rem, 5vh, 3.75rem) 0;
}

.infrastructure-intro {
  max-width: 37rem;
}

.infrastructure-intro .section-label {
  margin-bottom: clamp(1.25rem, 2.5vh, 2rem);
}

.infrastructure-intro .kicker {
  color: var(--faint);
}

.infrastructure h2 {
  margin-bottom: 1.5rem;
}

.infrastructure .lead {
  max-width: 35rem;
}

.infrastructure-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.infrastructure-steps::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.48rem;
  width: 1px;
  background: var(--rule);
  content: '';
}

.infrastructure-step {
  --step-accent: var(--bone);

  position: relative;
  min-height: 2.65rem;
  padding: 0.72rem 0 0.72rem 2.7rem;
  color: var(--faint);
  transition: color 0.3s ease;
}

.infrastructure-step::before,
.infrastructure-step::after {
  position: absolute;
  border-radius: 50%;
  content: '';
}

.infrastructure-step::before {
  top: 0.98rem;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border: 1px solid rgb(245 245 242 / 30%);
  background: var(--ink);
  opacity: 0.55;
  transition:
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.infrastructure-step::after {
  top: 1.24rem;
  left: 0.26rem;
  width: 0.43rem;
  height: 0.43rem;
  background: transparent;
  box-shadow: 0 0 0 0 transparent;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.infrastructure-step.is-active {
  color: var(--bone);
}

.infrastructure-step.is-active::before {
  border-color: var(--step-accent);
  opacity: 1;
}

.infrastructure-step.is-active::after {
  background: var(--step-accent);
  box-shadow:
    0 0 0 0.3rem rgb(245 245 242 / 10%),
    0 0 0.8rem rgb(245 245 242 / 35%);
}

.infrastructure-step-label {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  font: 0.63rem/1.2 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.infrastructure-step-label span {
  color: var(--step-accent);
}

.infrastructure-step h3 {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--bone);
  font: 400 clamp(1.65rem, 3vh, 2.25rem) / 1.06 var(--serif);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(0.45rem);
  transition:
    max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.25s ease,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.infrastructure-step > p:last-child {
  max-width: 31rem;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(0.45rem);
  transition:
    max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.25s ease 0.05s,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.infrastructure-step.is-active h3 {
  max-height: 3rem;
  margin: 0.75rem 0 0.65rem;
  opacity: 1;
  transform: translateY(0);
}

.infrastructure-step.is-active > p:last-child {
  max-height: 5rem;
  margin-bottom: 0.2rem;
  opacity: 1;
  transform: translateY(0);
}

.infrastructure-visual {
  position: relative;
  min-width: 0;
  border-left: 1px solid var(--rule);
}

.layer-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: radial-gradient(circle, rgb(245 245 242 / 20%) 0.7px, transparent 0.8px);
  background-position: center;
  background-size: 1.25rem 1.25rem;
}

.layer-stage::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, var(--ink), transparent 13%, transparent 86%, var(--ink)),
    linear-gradient(90deg, rgb(10 10 10 / 8%), transparent 30%, transparent 70%, rgb(10 10 10 / 8%));
  content: '';
  pointer-events: none;
}

.system-plate {
  --plate-index: 0;
  --plate-y: var(--plate-0-y);
  --plate-stroke: rgb(245 245 242 / 88%);
  --plate-stroke-width: 1px;
  --plate-border: var(--plate-stroke-width) solid var(--plate-stroke);

  position: absolute;
  isolation: isolate;
  top: 50%;
  left: 50%;
  width: min(40%, 20rem);
  aspect-ratio: 1.35;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%) translateY(var(--plate-y)) matrix(0.866, -0.5, 0.866, 0.5, 0, 0);
  will-change: transform;
}

.plate-shell {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--plate-stroke);
  pointer-events: none;
}

.plate-shell-face-left {
  fill: #0d0d0d;
}

.plate-shell-face-bottom {
  fill: #111;
}

.plate-shell-outline {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: var(--plate-stroke-width);
  vector-effect: non-scaling-stroke;
}

.plate-interface {
  --plate-index: 0;
  --plate-y: var(--plate-0-y);

  z-index: 4;
}

.plate-workforce {
  --plate-index: 1;
  --plate-y: var(--plate-1-y);

  z-index: 3;
}

.plate-operations {
  --plate-index: 2;
  --plate-y: var(--plate-2-y);

  z-index: 2;
}

.plate-intelligence {
  --plate-index: 3;
  --plate-y: var(--plate-3-y);

  z-index: 1;
}

.plate-pointers {
  --pointer-y: var(--plate-0-y);

  position: absolute;
  top: 50%;
  left: 50%;
  width: min(60%, 30rem);
  aspect-ratio: 1.732;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(var(--pointer-y));
  transition:
    opacity 0.16s ease-in,
    visibility 0s linear 0.16s;
  pointer-events: none;
}

.plate-pointers-interface {
  --pointer-y: var(--plate-0-y);

  z-index: 4;
}

.plate-pointers-workforce {
  --pointer-y: var(--plate-1-y);

  z-index: 3;
}

.plate-pointers-operations {
  --pointer-y: var(--plate-2-y);

  z-index: 2;
}

.plate-pointers-intelligence {
  --pointer-y: var(--plate-3-y);

  z-index: 1;
}

.plate-pointers.is-active {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0s linear;
}

.plate-pointer {
  position: absolute;
  width: clamp(3.4rem, 6vw, 5rem);
  height: 1px;
  color: rgb(245 245 242 / 72%);
  background: currentcolor;
}

.plate-pointer::before {
  position: absolute;
  top: -0.16rem;
  width: 0.32rem;
  aspect-ratio: 1;
  border: 1px solid currentcolor;
  border-radius: 50%;
  background: var(--ink);
  content: '';
}

.plate-pointer::after {
  position: absolute;
  top: -0.22rem;
  width: 0;
  height: 0;
  content: '';
}

.plate-pointer-left {
  --pointer-settle-x: -0.28rem;

  top: 27%;
  left: 30.4%;
  transform: translateX(calc(-100% - 0.35rem));
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.plate-pointer-left::before {
  left: -0.16rem;
}

.plate-pointer-left::after {
  right: -0.04rem;
  border-top: 0.22rem solid transparent;
  border-bottom: 0.22rem solid transparent;
  border-left: 0.32rem solid currentcolor;
}

.plate-pointer-right {
  --pointer-settle-x: 0.28rem;

  bottom: 27%;
  left: 69.6%;
  transform: translateX(0.35rem);
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.plate-pointer-right::before {
  right: -0.16rem;
}

.plate-pointer-right::after {
  left: -0.04rem;
  border-top: 0.22rem solid transparent;
  border-right: 0.32rem solid currentcolor;
  border-bottom: 0.22rem solid transparent;
}

.plate-pointer > span {
  position: absolute;
  top: -0.7rem;
  color: var(--bone);
  font: 500 0.52rem var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.3rem);
  transition:
    opacity 0.22s ease-out,
    transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.plate-pointer-left > span {
  right: calc(100% + 0.6rem);
}

.plate-pointer-right > span {
  left: calc(100% + 0.6rem);
}

.plate-pointers.is-active .plate-pointer-left {
  transform: translateX(-100%);
}

.plate-pointers.is-active .plate-pointer-right {
  transform: translateX(0);
}

.plate-pointers.is-active .plate-pointer > span {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.plate-pointers.is-active .plate-pointer-right > span {
  transition-delay: 0.1s;
}

.plate-pointers.is-active .plate-pointer::after {
  animation: pointer-settle 0.32s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes pointer-settle {
  from {
    opacity: 0;
    transform: translateX(var(--pointer-settle-x));
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Sparse plate illustrations */

.plate-frame,
.agent-network,
.workflow-board,
.intelligence-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border: 0;
  background: #0b0b0b;
}

.plate-toolbar {
  display: flex;
  align-items: center;
  height: 14%;
  padding: 0 1rem;
  border-bottom: var(--plate-border);
  background: #101010;
}

.interface-workspace {
  display: grid;
  grid-template-columns: 24% 1fr;
  height: 86%;
}

.interface-nav {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem 0.8rem;
  border-right: var(--plate-border);
}

.interface-canvas {
  position: relative;
  padding: 1rem;
}

.interface-heading {
  display: flex;
  align-items: center;
}

.interface-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin: 0.85rem 0;
}

.interface-metrics span {
  height: 2rem;
  border: var(--plate-border);
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--plate-stroke) calc(50% - 0.5px),
      var(--plate-stroke) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    rgb(245 245 242 / 3%);
}

.plate-toolbar-rail {
  width: 38%;
  height: 0.3rem;
  margin-left: auto;
  background: var(--plate-stroke);
}

.interface-nav span {
  width: 78%;
  height: 0.28rem;
  background: var(--plate-stroke);
}

.interface-nav span:nth-child(2) {
  width: 58%;
}

.interface-nav span:nth-child(3) {
  width: 70%;
}

.interface-nav .is-selected {
  width: 100%;
  height: 1.15rem;
  border: var(--plate-border);
  background: rgb(245 245 242 / 6%);
}

.interface-heading span:first-child {
  width: 36%;
  height: 0.4rem;
  background: var(--plate-stroke);
}

.interface-chart {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 34%;
  height: 32%;
  padding: 0.45rem;
  border: var(--plate-border);
}

.interface-chart span {
  width: 11%;
  height: 38%;
  background: var(--plate-stroke);
}

.interface-chart span:nth-child(2) {
  height: 68%;
}

.interface-chart span:nth-child(3) {
  height: 50%;
}

.interface-chart span:nth-child(4) {
  height: 82%;
}

.code-field {
  display: grid;
  padding: 1.15rem;
  background: #0b0b0b;
}

.code-lines {
  display: grid;
  align-content: center;
  gap: 0.62rem;
  padding: 0 1rem;
}

.code-line {
  display: block;
  width: 48%;
  height: 0.44rem;
  border-radius: 999px;
  background: var(--plate-stroke);
}

.code-line-long {
  width: 88%;
}

.code-line-medium {
  width: 68%;
}

.code-line-short {
  width: 42%;
}

.code-line-indent {
  width: 54%;
  margin-left: 16%;
}

.orchestration-board {
  display: block;
  padding: 0;
  background: #0b0b0b;
}

.plate-connection-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--plate-stroke);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: var(--plate-stroke-width);
}

.plate-connection-lines path {
  vector-effect: non-scaling-stroke;
}

.orchestration-core,
.orchestration-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-content: center;
  border: var(--plate-border);
  background: #0b0b0b;
}

.orchestration-core {
  top: 50%;
  left: 50%;
  width: 19%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orchestration-core span:first-child {
  width: 1.8rem;
  aspect-ratio: 1;
  border: var(--plate-border);
  border-radius: 50%;
}

.orchestration-core span:last-child {
  position: absolute;
  inset: 26%;
  border: var(--plate-border);
  transform: rotate(45deg);
}

.orchestration-node {
  width: 21%;
  height: 17%;
  gap: 0.42rem;
  padding: 0.55rem;
}

.orchestration-node span {
  width: 100%;
  height: 0.25rem;
  background: var(--plate-stroke);
}

.orchestration-node span:last-child {
  width: 62%;
}

.node-east::before,
.node-south::before,
.node-west::before {
  place-self: center;
  content: '';
}

.node-east::before {
  width: 0.58rem;
  aspect-ratio: 1;
  border: var(--plate-border);
  border-radius: 50%;
}

.node-south::before {
  width: 0.52rem;
  aspect-ratio: 1;
  border: var(--plate-border);
  transform: rotate(45deg);
}

.node-west::before {
  width: 78%;
  height: 0.25rem;
  background: var(--plate-stroke);
}

.node-north {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.node-east {
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

.node-south {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.node-west {
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
}

.intelligence-field {
  background: #0b0b0b;
}

.intelligence-field .memory-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 21%;
  aspect-ratio: 1;
  padding: 0.65rem;
  border: var(--plate-border);
  border-radius: 50%;
  background: #0b0b0b;
  transform: translate(-50%, -50%);
}

.intelligence-field .memory-core span {
  place-self: center;
  width: 0.38rem;
  aspect-ratio: 1;
  border: var(--plate-border);
}

.intelligence-field .memory-node {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  width: 18%;
  height: 18%;
  place-content: center;
  padding: 0.55rem;
  border: var(--plate-border);
  background: #0b0b0b;
}

.intelligence-field .memory-node span {
  display: none;
}

.memory-documents::before,
.memory-documents::after,
.memory-models::before,
.memory-decisions::before,
.memory-conversations::before,
.memory-conversations::after {
  grid-area: 1 / 1;
  place-self: center;
  box-sizing: border-box;
  content: '';
}

.memory-documents::before,
.memory-documents::after {
  width: 0.9rem;
  height: 0.62rem;
  border: var(--plate-border);
  background: #0b0b0b;
}

.memory-documents::before {
  transform: translate(-0.12rem, 0.12rem);
}

.memory-documents::after {
  transform: translate(0.12rem, -0.12rem);
}

.memory-models::before {
  width: 0.86rem;
  aspect-ratio: 1;
  border: var(--plate-border);
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      var(--plate-stroke) calc(50% - 0.5px),
      var(--plate-stroke) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      transparent calc(50% - 0.5px),
      var(--plate-stroke) calc(50% - 0.5px),
      var(--plate-stroke) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
}

.memory-decisions::before {
  width: 0.68rem;
  aspect-ratio: 1;
  border: var(--plate-border);
  transform: rotate(45deg);
}

.memory-conversations::before,
.memory-conversations::after {
  width: 0.64rem;
  aspect-ratio: 1;
  border: var(--plate-border);
  border-radius: 50%;
  background: #0b0b0b;
}

.memory-conversations::before {
  transform: translateX(-0.22rem);
}

.memory-conversations::after {
  transform: translateX(0.22rem);
}

.intelligence-field .memory-documents {
  top: 8%;
  left: 8%;
}

.intelligence-field .memory-models {
  top: 8%;
  right: 8%;
}

.intelligence-field .memory-decisions {
  right: 8%;
  bottom: 8%;
}

.intelligence-field .memory-conversations {
  bottom: 8%;
  left: 8%;
}

.infrastructure-scroll-step {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  pointer-events: none;
}

@media (min-width: 821px) and (max-height: 680px) {
  .infrastructure-copy {
    padding-top: 5.5rem;
    padding-bottom: 1rem;
  }

  .infrastructure-intro .section-label {
    margin-bottom: 0.75rem;
  }

  .infrastructure-intro .kicker {
    display: none;
  }

  .infrastructure h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 6vh, 2.75rem);
  }

  .infrastructure .lead {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .infrastructure-step {
    padding-block: 0.45rem;
  }

  .infrastructure-step::before {
    top: 0.7rem;
  }

  .infrastructure-step::after {
    top: 0.96rem;
  }

  .infrastructure-step h3 {
    font-size: 1.45rem;
  }

  .infrastructure-step > p:last-child {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .infrastructure-step.is-active h3 {
    margin: 0.45rem 0;
  }

  .system-plate {
    width: min(36%, 17.5rem);
  }
}

/* Process */

.manifesto {
  --inset-rule-color: var(--rule-light);

  align-content: center;
  grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 2.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  background: var(--bone);
  box-shadow: 0 0 0 100vmax var(--bone);
  clip-path: inset(0 -100vmax);
}

.manifesto-content {
  max-width: 68rem;
}

.manifesto-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1vw, 1rem);
  margin-top: clamp(3rem, 6vw, 6rem);
}

.manifesto-steps article {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  min-width: 0;
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
  overflow: hidden;
  border: 1px solid rgb(245 245 242 / 17%);
  background: #050505;
  isolation: isolate;
}

.manifesto-steps article::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 30%, rgb(0 0 0 / 10%) 47%, rgb(0 0 0 / 94%) 84%),
    linear-gradient(90deg, rgb(0 0 0 / 28%), transparent 55%);
  content: '';
  pointer-events: none;
}

.manifesto-step-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.manifesto-step-art picture,
.manifesto-step-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.manifesto-step-art img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-step-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.manifesto-steps span {
  display: block;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.4rem);
  color: rgb(245 245 242 / 68%);
  font: var(--meta-size) var(--mono);
  letter-spacing: 0.1em;
}

.manifesto-steps h3 {
  margin: 0 0 0.9rem;
  color: var(--bone);
  font: 400 clamp(1.9rem, 2.5vw, 2.6rem) / 1 var(--serif);
  letter-spacing: -0.02em;
}

.manifesto-steps p {
  max-width: 30ch;
  margin: 0;
  color: rgb(245 245 242 / 76%);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .manifesto-steps article:hover .manifesto-step-art img {
    transform: scale(1.025);
  }
}

/* Applications */

.applications {
  --application-duration: 8s;

  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgb(255 255 255 / 5%), transparent 32rem), var(--ink);
  color: var(--bone);
}

.applications-label {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.applications-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: stretch;
}

.applications-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.applications h2 {
  margin: 0 0 clamp(2.5rem, 4vw, 3.75rem);
  color: var(--bone);
}

.applications-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.applications-heading-row h2 {
  min-width: 0;
}

.applications-playback-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: var(--meta-size)/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.applications-playback-toggle:hover {
  color: var(--bone);
}

.applications-playback-toggle:focus-visible {
  color: var(--bone);
}

.case {
  position: relative;
  border-top: 1px solid var(--rule);
}

.case:last-child {
  border-bottom: 1px solid var(--rule);
}

.case-header {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
}

.case-trigger {
  display: block;
  min-width: 0;
  flex: 1;
  padding: 1.3rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.case h3 {
  margin: 0;
  color: var(--faint);
  font: 400 clamp(1.2rem, 1.65vw, 1.55rem) / 1.16 var(--serif);
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

.case.is-open h3,
.case-trigger:hover h3,
.case-trigger:focus-visible h3 {
  color: var(--bone);
}

.case-trigger:focus-visible {
  outline-offset: -0.25rem;
}

.case-cta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 2.75rem;
  margin-left: 1.5rem;
  color: var(--bone);
  white-space: nowrap;
}

.case-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.2s ease;
}

.case.is-open .case-detail {
  grid-template-rows: 1fr;
  opacity: 1;
}

.case-detail-content {
  min-height: 0;
  overflow: hidden;
}

.case.is-open .case-detail-content {
  padding: 0 0 1.65rem;
}

.case-detail p {
  max-width: 55ch;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.case-detail .case-statement {
  max-width: 34ch;
  margin-top: 0;
  color: var(--bone);
  font: 400 1.05rem/1.35 var(--serif);
  letter-spacing: -0.015em;
}

.case-detail ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
  list-style: none;
}

.case-detail li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.case-detail li svg {
  flex: 0 0 auto;
  color: var(--bone);
}

.case-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.case-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left center;
}

.applications.has-entered .case.is-open .case-progress-fill {
  animation: application-progress var(--application-duration) linear forwards;
}

.applications-visual {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--ink-soft);
  isolation: isolate;
}

.applications-visual::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid rgb(245 245 242 / 12%);
  content: '';
  pointer-events: none;
}

.application-art {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.application-art.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.application-art::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(10 10 10 / 4%), transparent 26%, rgb(10 10 10 / 42%)),
    linear-gradient(90deg, rgb(10 10 10 / 12%), transparent 24%);
  content: '';
  pointer-events: none;
}

.application-art picture {
  display: block;
  width: 100%;
  height: 100%;
}

.application-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-art figcaption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.4rem;
  left: 1.5rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font: 500 var(--meta-size) var(--mono);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0.7rem rgb(0 0 0 / 90%);
  text-transform: uppercase;
}

@keyframes application-progress {
  to {
    transform: scaleX(1);
  }
}

/* Governance and footer */

.governance {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: var(--bone);
  box-shadow: 0 0 0 100vmax var(--bone);
  clip-path: inset(0 -100vmax);
}

.governance-top h2 {
  margin-bottom: 1.5rem;
}

.governance-heading-copy {
  max-width: 48rem;
}

.governance-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.governance-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(25rem, 34vw, 31rem);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
  border: 1px solid rgb(245 245 242 / 22%);
  border-radius: 0;
  background: var(--ink);
  color: var(--bone);
  isolation: isolate;
}

.governance-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(10 10 10 / 2%) 36%, rgb(10 10 10 / 86%) 74%),
    linear-gradient(90deg, rgb(10 10 10 / 18%), transparent 55%);
  content: '';
  pointer-events: none;
}

.governance-card-number,
.governance-card-copy {
  position: relative;
  z-index: 3;
}

.governance-card-number {
  color: rgb(245 245 242 / 62%);
  font: 400 0.68rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.governance-card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.governance-visual {
  position: absolute;
  top: clamp(2.7rem, 9%, 4rem);
  left: 50%;
  width: min(112%, 28rem);
  aspect-ratio: 1;
  opacity: 0.88;
  transform: translateX(-50%);
}

.governance-visual-arrow-field {
  width: min(108%, 27rem);
  pointer-events: auto;
}

.governance-visual-arrow-field .governance-visual-canvas {
  pointer-events: auto;
}

.governance-visual-record {
  top: clamp(2.2rem, 7%, 3.2rem);
  width: min(120%, 30rem);
}

.governance-visual-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.governance-volume-fallback {
  position: absolute;
  inset: 0;
}

.governance-visual-canvas[hidden] {
  display: none;
}

.governance-card-copy {
  max-width: 21rem;
}

.governance-card h3 {
  max-width: 9ch;
  margin: 0 0 0.9rem;
  font: 400 clamp(2rem, 3vw, 3rem) / 1.03 var(--serif);
  letter-spacing: -0.02em;
}

.governance-card p {
  max-width: 32ch;
  margin: 0;
  color: rgb(245 245 242 / 72%);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  line-height: 1.55;
}

footer {
  --section-text: var(--bone);
  --section-muted: var(--muted);
  --section-accent: var(--bone);

  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: clamp(3rem, 6vw, 5.5rem) 0 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--section-text);
}

.footer-main h2 {
  margin: 1.5rem 0 3rem;
}

.footer-main h2 em {
  color: var(--section-muted);
}

.button-light {
  border-color: var(--section-text);
  background: var(--section-text);
  color: var(--ink);
}

.button-light:hover {
  background: transparent;
  color: var(--section-text);
}

.footer-bottom {
  --inset-rule-color: var(--rule);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 1.25rem;
  font: var(--meta-size) var(--mono);
  letter-spacing: 0.09em;
}

.footer-bottom a:last-child {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.footer-ascii-banner {
  width: 100vw;
  height: 11.25rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: clip;
  border-block: 1px solid var(--rule-light);
  background: var(--bone);
}

.ascii-signal-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 40em) {
  .footer-ascii-banner {
    height: 15.875rem;
  }
}

.footer-logo-shell {
  margin-top: 0;
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

.footer-giant-logo {
  display: block;
  width: 100%;
  aspect-ratio: 162 / 49;
  overflow: hidden;
  color: var(--section-text);
  line-height: 0;
}

.footer-giant-logo .logo-lockup {
  width: 100%;
  max-width: none;
  height: auto;
}

/* Responsive layout */

@media (max-width: 860px) {
  .applications h2 {
    margin-bottom: 3.5rem;
  }

  .applications-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .case-detail-content {
    padding-left: 0;
  }

  .applications-visual {
    height: auto;
    min-height: clamp(18rem, 64vw, 29rem);
  }

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

  .governance-card {
    min-height: clamp(24rem, 56vw, 30rem);
  }

  .governance-card:last-child {
    grid-column: 1 / -1;
    min-height: clamp(22rem, 44vw, 27rem);
  }

  .governance-card:last-child .governance-card-copy {
    max-width: 27rem;
  }
}

@media (max-width: 820px) {
  .infrastructure {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-block: var(--section-space-y);
  }

  .infrastructure-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .infrastructure-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .infrastructure-copy {
    padding: 0;
  }

  .infrastructure-steps {
    margin-top: 3.5rem;
  }

  .infrastructure-step h3,
  .infrastructure-step > p:last-child {
    max-height: 6rem;
    opacity: 1;
    transform: translateY(0);
  }

  .infrastructure-step h3 {
    margin: 0.7rem 0 0.55rem;
  }

  .infrastructure-step > p:last-child {
    margin-bottom: 0.5rem;
  }

  .infrastructure-visual {
    min-height: clamp(31rem, 72vw, 36rem);
    margin-top: 3rem;
    border: 1px solid var(--rule);
  }

  .system-plate {
    left: 50%;
    width: min(46%, 18rem);
    transform: translate(-50%, -50%) translateY(calc(var(--plate-index) * 7.5rem - 11.25rem))
      matrix(0.866, -0.5, 0.866, 0.5, 0, 0);
  }

  .plate-pointers {
    display: none;
  }

  .plate-toolbar {
    padding-inline: 0.55rem;
  }

  .plate-toolbar-rail {
    height: 0.2rem;
  }

  .interface-nav {
    gap: 0.32rem;
    padding: 0.5rem 0.4rem;
  }

  .interface-nav .is-selected {
    height: 0.65rem;
  }

  .interface-canvas {
    padding: 0.5rem;
  }

  .interface-heading span:first-child {
    height: 0.24rem;
  }

  .interface-metrics {
    gap: 0.25rem;
    margin: 0.4rem 0;
  }

  .interface-metrics span {
    height: 0.9rem;
  }

  .interface-chart {
    right: 0.5rem;
    bottom: 0.5rem;
    height: 28%;
    padding: 0.25rem;
  }

  .code-field {
    padding: 0.6rem;
  }

  .code-lines {
    gap: 0.34rem;
    padding: 0 0.5rem;
  }

  .code-line {
    height: 0.24rem;
  }

  .orchestration-core span:first-child {
    width: 1rem;
  }

  .orchestration-node,
  .intelligence-field .memory-node {
    gap: 0.2rem;
    padding: 0.28rem;
  }

  .orchestration-node span,
  .intelligence-field .memory-node span {
    height: 0.16rem;
  }

  .intelligence-field .memory-core {
    padding: 0.32rem;
  }

  .infrastructure-scroll-step {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space-y: clamp(4rem, 10vw, 5rem);
  }

  .site-header-inner {
    min-height: 4.5rem;
  }

  .site-header .brand {
    min-height: 3rem;
  }

  .site-header .logo-lockup {
    width: 7.2rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 2.75rem;
    margin-left: auto;
    padding: 0.75rem;
    border: 1px solid var(--header-border);
    background: var(--header-surface);
    box-shadow: inset 0 1px var(--header-highlight);
    color: var(--header-text);
    cursor: pointer;
  }

  .menu-toggle svg {
    display: block;
  }

  .header-link {
    display: none;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding-top: 0.5rem;
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
    padding-bottom: 1rem;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--header-border);
    background:
      linear-gradient(135deg, var(--header-haze-sheen), transparent 52%), var(--header-menu-surface);
    box-shadow:
      inset 0 1px var(--header-highlight),
      0 1rem 2.5rem var(--header-menu-shadow);
    opacity: 0;
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    pointer-events: none;
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.2s;
  }

  .site-header.is-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.75rem 0;
    border: 0;
    border-bottom: 1px solid var(--header-border);
    font-size: 0.7rem;
  }

  nav a:last-child {
    border-bottom: 0;
  }

  nav a:hover,
  nav a:focus-visible {
    border-color: var(--header-border);
    background: transparent;
    color: var(--header-text);
  }

  .hero-shader {
    top: 42%;
    left: 60%;
    width: 18rem;
  }

  .hero-shader-runtime.is-ready .hero-shader-canvas {
    opacity: 0.8;
  }

  .hero-copy {
    padding-top: 5.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-label {
    margin-bottom: 0.3rem;
  }

  .manifesto-steps {
    grid-template-columns: 1fr;
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  .manifesto-steps article,
  .manifesto-steps article + article {
    min-height: clamp(28rem, 120vw, 38rem);
    padding: clamp(1.4rem, 6vw, 2rem);
    border: 1px solid rgb(245 245 242 / 17%);
  }

  .manifesto-steps article:last-child {
    border: 1px solid rgb(245 245 242 / 17%);
  }

  .governance-cards {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .governance-card,
  .governance-card:last-child {
    grid-column: auto;
    min-height: clamp(23rem, 112vw, 29rem);
  }

  .governance-card h3 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

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

  .footer-main h2 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }
}

@media (max-width: 420px) {
  .applications-heading-row {
    position: relative;
    display: flow-root;
  }

  .applications-playback-toggle {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
  }

  .case-cta {
    margin-left: 0.75rem;
    font-size: 0.68rem;
  }
}

.infrastructure.is-reduced-motion {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-block: var(--section-space-y);
}

.infrastructure.is-reduced-motion .infrastructure-sticky {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.infrastructure.is-reduced-motion .infrastructure-layout {
  height: auto;
}

.infrastructure.is-reduced-motion .infrastructure-copy {
  min-height: 46rem;
}

.infrastructure.is-reduced-motion .infrastructure-step h3,
.infrastructure.is-reduced-motion .infrastructure-step > p:last-child {
  max-height: 6rem;
  opacity: 1;
  transform: translateY(0);
}

.infrastructure.is-reduced-motion .infrastructure-step h3 {
  margin: 0.7rem 0 0.55rem;
}

.infrastructure.is-reduced-motion .infrastructure-step > p:last-child {
  margin-bottom: 0.5rem;
}

.infrastructure.is-reduced-motion .system-plate {
  transform: translate(-50%, -50%) translateY(calc(var(--plate-index) * 7.5rem - 11.25rem))
    matrix(0.866, -0.5, 0.866, 0.5, 0, 0);
}

.infrastructure.is-reduced-motion .plate-pointers {
  display: none;
}

.infrastructure.is-reduced-motion .infrastructure-scroll-step {
  display: none;
}

@media (max-width: 820px) {
  .infrastructure.is-reduced-motion .infrastructure-copy {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-copy h1 {
    animation-delay: 0s;
  }

  .hero-copy .hero-bottom {
    animation-delay: 0.1s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

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

  .case-progress-fill {
    transform: scaleX(1);
  }
}
