@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fonts/fragment-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark light;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: #f0efe7;
  background: #102325;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --substrate: #102325;
  --substrate-deep: #081719;
  --substrate-raised: #183033;
  --cellulose: #f0efe7;
  --cellulose-soft: #e5e5dc;
  --copper: #c86f4a;
  --water: #8fcbc6;
  --graphite: #43585a;
  --fog: #b7c2bd;
  --line-dark: rgba(240, 239, 231, 0.18);
  --line-light: rgba(16, 35, 37, 0.2);
  --mono: "Fragment Mono", Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --shell: min(92rem, calc(100vw - 6rem));
  --gutter: max(1.5rem, calc((100vw - 92rem) / 2));
  --header-height: 7.6rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  background: var(--substrate);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--cellulose);
  background: var(--substrate);
}

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

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

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

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

button,
select,
input {
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--substrate);
  background: var(--water);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 3px;
}

pliego-adapter {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 1rem;
  left: 1rem;
  padding: 0.85rem 1rem;
  color: var(--substrate);
  background: var(--cellulose);
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

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

.site-root {
  min-height: 100svh;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--cellulose);
}

.corporate-line {
  display: flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-line {
  color: var(--water);
}

.header-shell {
  display: grid;
  width: var(--shell);
  min-height: 5.5rem;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(9rem, 0.8fr) auto minmax(9rem, 0.8fr);
  border-bottom: 1px solid var(--line-dark);
}

.brand-link {
  display: inline-flex;
  width: fit-content;
  min-height: 3rem;
  align-items: center;
}

.brand-link img {
  width: 9.6rem;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.35rem);
  font-size: 0.79rem;
}

.primary-nav a {
  position: relative;
  display: inline-grid;
  min-height: 3rem;
  place-items: center;
  color: rgba(240, 239, 231, 0.72);
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.42rem;
  left: 0;
  height: 1px;
  background: var(--water);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--cellulose);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  justify-self: end;
  gap: 2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(240, 239, 231, 0.62);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--substrate);
  border-color: var(--water);
  background: var(--water);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(54rem, 100svh);
  overflow: hidden;
  color: var(--cellulose);
  background:
    radial-gradient(circle at 72% 34%, rgba(143, 203, 198, 0.11), transparent 28%),
    linear-gradient(118deg, var(--substrate-deep) 0%, var(--substrate) 58%, #173032 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -10vw;
  bottom: -30vw;
  width: 60vw;
  height: 60vw;
  border: 1px solid rgba(200, 111, 74, 0.2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 7vw rgba(200, 111, 74, 0.025), 0 0 0 14vw rgba(143, 203, 198, 0.018);
}

.hero-gridlines {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 239, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 231, 0.045) 1px, transparent 1px);
  background-size: calc(100vw / 12) 6.5rem;
  mask-image: linear-gradient(to bottom, transparent 5%, #000 22%, #000 78%, transparent 100%);
}

pliego-adapter[data-pliego-id="verification-lattice"] {
  position: absolute;
  z-index: -2;
  top: 11rem;
  right: -4rem;
  width: min(58vw, 58rem);
  height: min(72svh, 46rem);
  opacity: 0.84;
  mask-image: radial-gradient(ellipse at center, #000 24%, rgba(0, 0, 0, 0.88) 48%, transparent 76%);
}

.lattice-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: lattice-enter 1.4s 300ms ease forwards;
}

.lattice-fallback {
  position: absolute;
  inset: 10%;
  opacity: 0.42;
  background:
    radial-gradient(circle at 18% 33%, var(--copper) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 24%, var(--water) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 76%, var(--water) 0 3px, transparent 4px),
    repeating-linear-gradient(28deg, transparent 0 3.4rem, rgba(143, 203, 198, 0.12) 3.45rem 3.5rem),
    repeating-linear-gradient(94deg, transparent 0 4.2rem, rgba(240, 239, 231, 0.08) 4.25rem 4.3rem);
}

pliego-adapter[data-lattice-mounted="true"] .lattice-fallback {
  opacity: 0.06;
}

.lattice-fallback__node {
  position: absolute;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid var(--water);
  background: var(--substrate);
  transform: rotate(45deg);
}

.lattice-fallback__node--a { top: 24%; left: 16%; }
.lattice-fallback__node--b { top: 51%; left: 54%; border-color: var(--copper); }
.lattice-fallback__node--c { right: 12%; bottom: 18%; }

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--shell);
  min-height: calc(100svh - 4rem);
  margin: 0 auto;
  padding-top: 12.5rem;
  padding-bottom: 7rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.72fr);
  gap: clamp(3rem, 7vw, 8rem);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  color: var(--water);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow > span:first-child:empty {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 7.6ch;
  margin: 0;
  font-size: clamp(4.9rem, 8.4vw, 9.2rem);
  font-weight: 520;
  letter-spacing: -0.068em;
  line-height: 0.79;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding: 0 0 0.08em;
}

.hero-line > span {
  display: block;
}

.hero h1 em {
  color: var(--copper);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 49rem;
  margin: 2.4rem 0 0;
  color: rgba(240, 239, 231, 0.76);
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 640;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button span {
  transition: transform 180ms ease;
}

.button:hover span,
.button:focus-visible span {
  transform: translate(0.16rem, -0.12rem);
}

.button--primary {
  color: var(--substrate);
  border-color: var(--cellulose);
  background: var(--cellulose);
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: var(--water);
  background: var(--water);
}

.button--quiet {
  color: var(--cellulose);
  border-color: rgba(240, 239, 231, 0.4);
  background: transparent;
}

.button--quiet:hover,
.button--quiet:focus-visible {
  color: var(--substrate);
  border-color: var(--water);
  background: var(--water);
}

.section--light .button--quiet,
.docs-page .button--quiet {
  color: var(--substrate);
  border-color: rgba(16, 35, 37, 0.45);
}

.hero-note {
  display: flex;
  max-width: 38rem;
  align-items: center;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.5;
}

.verified-dot {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--water);
  box-shadow: 0 0 0 0.26rem rgba(143, 203, 198, 0.12);
}

.proof-monitor {
  position: relative;
  width: min(100%, 28rem);
  justify-self: end;
  align-self: end;
  margin-bottom: 3rem;
  border: 1px solid rgba(240, 239, 231, 0.22);
  background: rgba(8, 23, 25, 0.76);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.proof-monitor::before {
  position: absolute;
  top: -0.25rem;
  right: 1.2rem;
  width: 3rem;
  height: 0.25rem;
  background: var(--copper);
  content: "";
}

.proof-monitor__bar,
.playground-result__bar {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.monitor-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--water);
}

.monitor-state::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.proof-monitor__query {
  display: grid;
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-family: var(--mono);
  font-size: 0.66rem;
}

.proof-monitor__query span {
  color: var(--graphite);
  text-transform: uppercase;
}

.proof-monitor__query strong {
  color: var(--cellulose);
  font-weight: 400;
}

.proof-monitor__results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-monitor__results li {
  display: grid;
  min-height: 3rem;
  align-items: center;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 2.2rem 1fr auto;
  font-family: var(--mono);
  font-size: 0.67rem;
}

.proof-monitor__results li.is-active {
  background: rgba(143, 203, 198, 0.07);
  box-shadow: inset 2px 0 0 var(--water);
}

.proof-monitor__results span {
  color: var(--graphite);
}

.proof-monitor__results strong {
  font-weight: 400;
}

.proof-monitor__results code {
  color: var(--water);
}

.proof-monitor__witness {
  display: grid;
  padding: 0.8rem 0.9rem;
  gap: 0.6rem;
}

.proof-monitor__witness span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.proof-monitor__witness b {
  color: var(--fog);
  font-weight: 400;
}

.proof-monitor small {
  display: block;
  padding: 0.8rem 0.9rem;
  border-top: 1px solid var(--line-dark);
  color: var(--graphite);
  font-size: 0.64rem;
  line-height: 1.5;
}

.hero-rail {
  position: absolute;
  right: -6%;
  bottom: 0;
  left: -6%;
  display: flex;
  min-width: 112%;
  min-height: 4rem;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--line-dark);
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
}

.hero-rail i {
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid var(--copper);
  transform: rotate(45deg);
}

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

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section--light {
  color: var(--substrate);
  background: var(--cellulose);
}

.section-header {
  display: grid;
  max-width: 78rem;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
  grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 0.95fr) minmax(15rem, 0.55fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.section-header .eyebrow {
  margin: 0.45rem 0 0;
}

.section--light .eyebrow,
.brand-premise .eyebrow,
.brand-colors .eyebrow {
  color: var(--graphite);
}

.section-header h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.section-header > p:last-child {
  max-width: 42ch;
  margin: 0.4rem 0 0;
  color: var(--fog);
  font-size: 1rem;
  line-height: 1.72;
}

.section--light .section-header > p:last-child,
.brand-premise .section-header > p:last-child,
.brand-colors .section-header > p:last-child {
  color: var(--graphite);
}

.capability-grid {
  display: grid;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card {
  position: relative;
  min-height: 18rem;
  padding: 1.4rem;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.capability-card__index {
  display: block;
  margin-bottom: 4.8rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.capability-card h3 {
  max-width: 13ch;
  margin: 0 0 1rem;
  font-size: 1.42rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.capability-card p {
  max-width: 35ch;
  margin: 0;
  color: var(--graphite);
  font-size: 0.88rem;
  line-height: 1.65;
}

.capability-card__node {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--graphite);
  transform: rotate(45deg);
  transition: border-color 180ms ease, background 180ms ease;
}

.capability-card:hover .capability-card__node {
  border-color: var(--copper);
  background: var(--copper);
}

.why-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 49.96%, rgba(240, 239, 231, 0.09) 50%, transparent 50.04%),
    var(--substrate);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(4rem, 10vw, 11rem);
}

.why-statement h2 {
  max-width: 10ch;
  margin: 0 0 3rem;
  font-size: clamp(3.8rem, 6.5vw, 7rem);
  font-weight: 480;
  letter-spacing: -0.066em;
  line-height: 0.86;
}

.why-statement h2 em {
  color: var(--water);
  font-family: var(--serif);
  font-weight: 400;
}

.why-copy {
  padding-top: 4rem;
}

.why-copy > p {
  max-width: 44ch;
  margin: 0 0 1.6rem;
  color: rgba(240, 239, 231, 0.74);
  font-size: 1.05rem;
  line-height: 1.78;
}

.why-copy ul {
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.why-copy li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.proof-section {
  min-height: 60rem;
  background: #0c1d1f;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(30rem, 1.1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.proof-copy .section-header {
  display: block;
  margin-bottom: 2.5rem;
}

.proof-copy .section-header .eyebrow {
  margin-bottom: 1.5rem;
}

.proof-copy .section-header h2 {
  max-width: 10ch;
}

.proof-copy .section-header > p:last-child {
  margin-top: 1.7rem;
}

.proof-steps {
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.proof-steps li {
  display: grid;
  padding: 1rem 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 2.6rem 7rem 1fr;
  gap: 0.7rem;
}

.proof-steps span,
.proof-steps strong {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 400;
}

.proof-steps span { color: var(--copper); }
.proof-steps p { margin: 0; color: var(--fog); font-size: 0.82rem; line-height: 1.5; }

.proof-map {
  position: relative;
  min-height: 36rem;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(rgba(240, 239, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 231, 0.035) 1px, transparent 1px),
    rgba(16, 35, 37, 0.42);
  background-size: 4rem 4rem;
}

.proof-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.proof-map path {
  stroke: var(--water);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.proof-map path:last-child {
  stroke: var(--copper);
}

.proof-node {
  position: absolute;
  width: 9.5rem;
  padding: 0.8rem;
  border: 1px solid var(--line-dark);
  color: var(--cellulose);
  background: var(--substrate-deep);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.16);
}

.proof-node::before {
  position: absolute;
  top: -0.3rem;
  left: -0.3rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--water);
  background: var(--substrate-deep);
  content: "";
  transform: rotate(45deg);
}

.proof-node span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.proof-node strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 400;
}

.proof-node--query { top: 3.5rem; left: 2.2rem; }
.proof-node--snapshot { top: 10.5rem; right: 2.2rem; }
.proof-node--anchor { bottom: 10.5rem; left: 2.2rem; }
.proof-node--verify { right: 2.2rem; bottom: 3.5rem; }
.proof-node--verify::before { border-color: var(--copper); }

.architecture-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.2fr);
  gap: clamp(4rem, 8vw, 9rem);
  align-items: start;
}

.architecture-layout .section-header {
  display: block;
  margin: 0;
}

.architecture-layout .section-header .eyebrow { margin-bottom: 1.5rem; }
.architecture-layout .section-header > p:last-child { margin-top: 1.5rem; }

.architecture-stack {
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.architecture-stack > div {
  position: relative;
  display: grid;
  min-height: 7rem;
  padding: 1.2rem;
  align-items: center;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  grid-template-columns: 8rem 1fr;
  gap: 2rem;
}

.architecture-stack span {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.architecture-stack strong {
  font-size: 1.05rem;
  font-weight: 520;
}

.architecture-stack i {
  position: absolute;
  right: 1.2rem;
  bottom: -0.3rem;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--graphite);
  background: var(--cellulose);
  transform: rotate(45deg);
}

.use-cases {
  background: var(--substrate);
}

.use-case-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-case-list article {
  min-height: 22rem;
  padding: 1.6rem 2rem 2rem 0;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.use-case-list article:nth-child(even) {
  padding-right: 0;
  padding-left: 2rem;
  border-right: 0;
}

.use-case-list span {
  display: block;
  margin-bottom: 7rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.use-case-list h3 {
  max-width: 13ch;
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.use-case-list p {
  max-width: 42ch;
  margin: 0 0 2rem;
  color: var(--fog);
  line-height: 1.65;
}

.use-case-list a {
  color: var(--water);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.boundary-section {
  padding: 0;
  color: var(--substrate);
  background: var(--water);
}

.boundary-grid {
  display: grid;
  min-height: 42rem;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 0.75fr);
  gap: clamp(4rem, 9vw, 10rem);
}

.boundary-grid .eyebrow { color: var(--graphite); }

.boundary-grid h2 {
  max-width: 11ch;
  margin: 0 0 1.6rem;
  font-size: clamp(3.3rem, 5.6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.boundary-grid > div:first-child > p:last-child {
  max-width: 42ch;
  line-height: 1.65;
}

.boundary-compare {
  border-top: 1px solid rgba(16, 35, 37, 0.28);
}

.boundary-compare article {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(16, 35, 37, 0.28);
}

.boundary-compare span {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.boundary-compare strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.boundary-compare p {
  margin: 0;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.68fr) minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 9rem);
}

.faq-layout .section-header {
  display: block;
  margin: 0;
}

.faq-layout .section-header .eyebrow { margin-bottom: 1.5rem; }
.faq-layout .section-header > p:last-child { margin-top: 1.5rem; }

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq-list details {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 560;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 1.3rem;
  right: 0;
  color: var(--copper);
  content: "+";
  font-family: var(--mono);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list p {
  max-width: 58ch;
  margin: 0;
  padding: 0 3rem 1.5rem 0;
  color: var(--graphite);
  line-height: 1.7;
}

.final-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 45rem;
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 80% 50%, rgba(143, 203, 198, 0.12), transparent 30%),
    var(--substrate-deep);
}

.final-cta__mark {
  position: absolute;
  z-index: -1;
  right: -5rem;
  width: min(44vw, 40rem);
  opacity: 0.1;
  transform: rotate(-12deg);
}

.final-cta__content h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.8rem, 7vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.068em;
  line-height: 0.84;
}

.page-hero,
.docs-hero,
.brand-hero {
  position: relative;
  overflow: hidden;
  color: var(--cellulose);
  background:
    radial-gradient(circle at 78% 36%, rgba(143, 203, 198, 0.11), transparent 24%),
    linear-gradient(125deg, var(--substrate-deep), var(--substrate));
}

.page-hero::after,
.docs-hero::after,
.brand-hero::after {
  position: absolute;
  right: -10rem;
  bottom: -18rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(200, 111, 74, 0.2);
  border-radius: 50%;
  content: "";
}

.page-hero__shell,
.docs-hero__shell,
.brand-hero__shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
  padding: 13rem 0 clamp(5rem, 9vw, 9rem);
}

.page-hero h1,
.docs-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.7rem);
  font-weight: 500;
  letter-spacing: -0.066em;
  line-height: 0.86;
}

.page-hero__shell > p:last-child,
.docs-hero__shell > p:last-child {
  max-width: 58ch;
  margin: 2rem 0 0;
  color: var(--fog);
  font-size: 1.08rem;
  line-height: 1.7;
}

.breadcrumb {
  margin-bottom: 4rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 0.55rem;
  color: var(--copper);
  content: "/";
}

.breadcrumb a {
  color: var(--fog);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--water);
}

.section--light .breadcrumb li,
.docs-index .section--light .breadcrumb li { color: var(--graphite); }

.origin-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.origin-index {
  position: sticky;
  top: 2rem;
  height: fit-content;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}

.origin-index span {
  display: block;
  margin-bottom: 4rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.origin-index strong {
  display: block;
  max-width: 14ch;
  font-size: 1.3rem;
  font-weight: 520;
  line-height: 1.3;
}

.origin-points article {
  display: grid;
  min-height: 18rem;
  padding: 2rem 0;
  align-content: start;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: 4rem minmax(13rem, 0.55fr) minmax(16rem, 0.7fr);
  gap: 2rem;
}

.origin-points article:last-child { border-bottom: 1px solid var(--line-dark); }
.origin-points article > span { color: var(--copper); font-family: var(--mono); font-size: 0.64rem; }
.origin-points h2 { margin: 0; font-size: 2rem; font-weight: 520; letter-spacing: -0.04em; }
.origin-points p { margin: 0; color: var(--fog); line-height: 1.72; }

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.68fr) minmax(0, 1fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: end;
}

.manifesto-grid .section-header { display: block; margin: 0; }
.manifesto-grid .section-header .eyebrow { margin-bottom: 1.5rem; }
.manifesto-grid .section-header > p:last-child { margin-top: 1.5rem; }
.manifesto blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: 1.04; }

.boundary-matrix {
  background: var(--substrate-deep);
}

.boundary-matrix__grid {
  display: grid;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.boundary-matrix__grid > div {
  min-height: 10rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--fog);
  font-size: 0.92rem;
  line-height: 1.5;
}

.boundary-matrix__grid span {
  display: block;
  margin-bottom: 3rem;
  color: var(--copper);
  font-family: var(--mono);
}

.docs-index {
  color: var(--substrate);
  background: var(--cellulose);
}

.docs-index .page-hero { color: var(--cellulose); }

.callout {
  display: grid;
  margin: 0 0 3rem;
  padding: 1.2rem;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--water);
  grid-template-columns: minmax(12rem, 0.36fr) 1fr;
  gap: 2rem;
}

.callout--warning { border-left-color: var(--copper); }

.callout strong {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
}

.callout p {
  max-width: 68ch;
  margin: 0;
  color: var(--graphite);
  font-size: 0.87rem;
  line-height: 1.62;
}

.docs-card-grid {
  display: grid;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-card {
  display: flex;
  min-height: 21rem;
  padding: 1.4rem;
  flex-direction: column;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: color 180ms ease, background 180ms ease;
}

.docs-card:hover,
.docs-card:focus-visible {
  color: var(--cellulose);
  background: var(--substrate);
}

.docs-card > span {
  margin-bottom: 5rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.docs-card h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 540;
  letter-spacing: -0.04em;
}

.docs-card p {
  margin: 0 0 2rem;
  color: var(--graphite);
  font-size: 0.88rem;
  line-height: 1.65;
}

.docs-card:hover p,
.docs-card:focus-visible p { color: var(--fog); }
.docs-card strong { margin-top: auto; font-size: 0.72rem; font-weight: 600; }

.docs-path {
  color: var(--cellulose);
  background: var(--substrate);
}

.docs-path__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 9rem);
}

.docs-path .section-header { display: block; margin: 0; }
.docs-path .section-header .eyebrow { margin-bottom: 1.5rem; }
.docs-path .section-header > p:last-child { margin-top: 1.5rem; }
.docs-path ol { margin: 0; padding: 0; list-style: none; }

.docs-page {
  min-height: 100svh;
  color: var(--substrate);
  background: var(--cellulose);
}

.docs-hero {
  min-height: 34rem;
}

.docs-hero__shell {
  padding-bottom: 5rem;
}

.docs-layout {
  display: grid;
  width: var(--shell);
  margin: 0 auto;
  padding: 5rem 0 9rem;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
}

.docs-layout--single {
  grid-template-columns: minmax(0, 52rem);
  justify-content: center;
}

.policy-article {
  width: 100%;
}

.docs-nav {
  position: sticky;
  top: 2rem;
  display: grid;
  height: fit-content;
  border-top: 1px solid var(--line-light);
}

.docs-nav__label {
  padding: 1rem 0;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.docs-nav a {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-light);
  color: var(--graphite);
  font-size: 0.79rem;
}

.docs-nav a:hover,
.docs-nav a:focus-visible,
.docs-nav a[aria-current="page"] {
  color: var(--substrate);
}

.docs-nav a[aria-current="page"]::before {
  margin-right: 0.55rem;
  color: var(--copper);
  content: "◆";
  font-size: 0.48rem;
}

.docs-article {
  width: min(100%, 54rem);
}

.docs-section {
  margin: 0 0 6rem;
  scroll-margin-top: 2rem;
}

.docs-section h2 {
  max-width: 18ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.docs-section > p {
  max-width: 68ch;
  margin: 0 0 1.2rem;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.78;
}

.docs-section ul {
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.docs-section li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--graphite);
  line-height: 1.55;
}

.docs-section li::before {
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid var(--copper);
  content: "";
  transform: rotate(45deg);
}

.code-block {
  margin-top: 2rem;
  overflow: hidden;
  color: var(--cellulose);
  border: 1px solid rgba(16, 35, 37, 0.18);
  background: var(--substrate-deep);
}

.code-block__bar {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.57rem;
  text-transform: uppercase;
}

.code-block pre {
  margin: 0;
  padding: 1.3rem;
  overflow-x: auto;
}

.code-block code {
  color: #cfe2de;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.75;
  white-space: pre;
}

.next-guide {
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem;
  border: 1px solid var(--line-light);
  transition: color 180ms ease, background 180ms ease;
}

.next-guide:hover,
.next-guide:focus-visible {
  color: var(--cellulose);
  background: var(--substrate);
}

.next-guide span {
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.next-guide strong {
  font-size: 1.1rem;
  font-weight: 560;
}

.playground-page {
  color: var(--substrate);
  background: var(--cellulose);
}

.lab-section .callout {
  margin-bottom: 3rem;
}

.playground {
  display: grid;
  border: 1px solid var(--line-light);
  grid-template-columns: minmax(18rem, 0.34fr) minmax(0, 1fr);
}

.playground-controls {
  display: grid;
  align-content: start;
  padding: 1.4rem;
  border-right: 1px solid var(--line-light);
  gap: 1.2rem;
}

.playground-controls label {
  display: grid;
  gap: 0.5rem;
}

.playground-controls label > span {
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.playground-controls select,
.playground-controls input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  color: var(--substrate);
  background: transparent;
}

.playground-controls button,
.playground-command button {
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--substrate);
  border-radius: 2px;
  color: var(--cellulose);
  background: var(--substrate);
  font-size: 0.75rem;
  font-weight: 620;
}

.playground-controls button:hover,
.playground-controls button:focus-visible,
.playground-command button:hover,
.playground-command button:focus-visible {
  color: var(--substrate);
  border-color: var(--water);
  background: var(--water);
}

.playground-result {
  min-width: 0;
  color: var(--cellulose);
  background: var(--substrate-deep);
}

.playground-output {
  min-height: 30rem;
  max-height: 42rem;
  overflow: auto;
}

.playground-output pre {
  margin: 0;
  padding: 1.3rem;
}

.playground-output code,
.playground-command code {
  font-family: var(--mono);
  font-size: 0.69rem;
  line-height: 1.68;
  white-space: pre-wrap;
}

.playground-command {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border-top: 1px solid var(--line-dark);
}

.playground-command code {
  min-width: 0;
  overflow: hidden;
  color: var(--water);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playground-command button {
  flex: 0 0 auto;
  min-height: 2.5rem;
  color: var(--cellulose);
  border-color: var(--line-dark);
  background: transparent;
}

.lab-next {
  color: var(--cellulose);
  background: var(--substrate);
}

.lab-next__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 9rem);
}

.lab-next .section-header { display: block; margin: 0; }
.lab-next .section-header .eyebrow { margin-bottom: 1.5rem; }
.lab-next .section-header > p:last-child { margin-top: 1.5rem; }
.lab-next .code-block { margin: 0; border-color: var(--line-dark); }

.brand-hero {
  min-height: 44rem;
}

.brand-hero__shell {
  padding-bottom: 8rem;
}

.brand-hero__lockup {
  width: min(80vw, 52rem);
  height: auto;
  margin: 4rem 0 2rem;
}

.brand-hero__shell > p:last-child {
  margin: 0;
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-premise__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 9rem);
}

.brand-premise .section-header { display: block; margin: 0; }
.brand-premise .section-header .eyebrow { margin-bottom: 1.5rem; }
.brand-premise .section-header > p:last-child { margin-top: 1.5rem; }

.brand-principles {
  border-top: 1px solid var(--line-light);
}

.brand-principles article {
  display: grid;
  min-height: auto;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-light);
  grid-template-columns: 3rem 10rem 1fr;
  gap: 1rem;
}

.brand-principles article > span { color: var(--copper); font-family: var(--mono); }
.brand-principles h2 { margin: 0; font-size: 1.1rem; }
.brand-principles p { margin: 0; color: var(--graphite); font-size: 0.88rem; line-height: 1.6; }

.brand-symbol {
  background: var(--substrate-deep);
}

.brand-symbol__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(20rem, 0.72fr);
  gap: clamp(4rem, 10vw, 12rem);
  align-items: center;
}

.brand-symbol__specimen {
  display: grid;
  min-height: 36rem;
  place-items: center;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(rgba(240, 239, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 231, 0.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

.brand-symbol__specimen img { width: min(62%, 20rem); }
.brand-symbol .section-header { display: block; margin: 0; }
.brand-symbol .section-header .eyebrow { margin-bottom: 1.5rem; }
.brand-symbol .section-header > p:last-child { margin-top: 1.5rem; }

.brand-colors .section-header {
  grid-template-columns: minmax(11rem, 0.32fr) minmax(0, 0.8fr) minmax(15rem, 0.6fr);
}

.color-grid {
  display: grid;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.color-card {
  display: flex;
  min-height: 14rem;
  padding: 1.2rem;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.color-card strong { font-size: 1rem; }
.color-card code { font-family: var(--mono); font-size: 0.65rem; }
.color-card--substrate { color: var(--cellulose); background: var(--substrate); }
.color-card--cellulose { color: var(--substrate); background: var(--cellulose); }
.color-card--copper { color: var(--substrate); background: var(--copper); }
.color-card--water { color: var(--substrate); background: var(--water); }
.color-card--graphite { color: var(--cellulose); background: var(--graphite); }
.color-card--fog { color: var(--substrate); background: var(--fog); }

.typography-specimen {
  background: var(--substrate);
}

.typography-grid {
  display: grid;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: 1.2fr 0.8fr;
}

.typography-grid > div {
  min-height: 20rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.typography-grid > div:first-child { grid-row: span 2; min-height: 40rem; }
.typography-grid span { color: var(--water); font-family: var(--mono); font-size: 0.6rem; }
.typography-grid h2 { max-width: 8ch; margin: 9rem 0 0; font-size: clamp(4rem, 7vw, 7rem); font-weight: 500; letter-spacing: -0.065em; line-height: 0.85; }
.type-accent p { margin: 6rem 0 0; font-family: var(--serif); font-size: 3rem; font-style: italic; }
.type-data p { margin: 6rem 0 0; color: var(--fog); font-family: var(--mono); font-size: 0.72rem; line-height: 1.7; }

.brand-usage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem;
}

.brand-downloads__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid color-mix(in srgb, var(--substrate) 18%, transparent);
  background: color-mix(in srgb, var(--substrate) 18%, transparent);
}

.brand-download {
  min-height: 10rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--substrate);
  background: var(--cellulose);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.brand-download:hover,
.brand-download:focus-visible {
  color: var(--cellulose);
  background: var(--substrate);
}

.brand-download span {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  font-weight: 650;
}

.brand-download small {
  align-self: end;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-download:hover small,
.brand-download:focus-visible small { color: var(--fog); }

.brand-download strong {
  align-self: end;
  color: var(--copper);
  font-size: 1.25rem;
}

.brand-usage ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.brand-usage li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--graphite);
}

.about-grid {
  display: grid;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-grid article {
  min-height: 22rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.about-grid article .eyebrow { color: var(--graphite); }
.about-grid h2 { margin: 6rem 0 1rem; font-size: 1.7rem; font-weight: 540; }
.about-grid p { margin: 0; color: var(--graphite); line-height: 1.7; }

.stewardship { background: var(--substrate); }
.stewardship__grid { display: grid; grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr); gap: clamp(4rem, 8vw, 9rem); }
.stewardship .section-header { display: block; margin: 0; }
.stewardship .section-header .eyebrow { margin-bottom: 1.5rem; }
.stewardship .section-header > p:last-child { margin-top: 1.5rem; }
.stewardship ul { margin: 0; padding: 0; border-top: 1px solid var(--line-dark); list-style: none; }
.stewardship li { padding: 1rem 0; border-bottom: 1px solid var(--line-dark); color: var(--fog); }

.glossary-page { color: var(--substrate); background: var(--cellulose); }
.glossary-list { display: grid; margin: 0; border-top: 1px solid var(--line-light); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glossary-list > div { min-height: 13rem; padding: 1.5rem 2rem 1.5rem 0; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.glossary-list > div:nth-child(even) { padding-right: 0; padding-left: 2rem; border-right: 0; }
.glossary-list dt { margin-bottom: 3rem; color: var(--copper); font-family: var(--mono); font-size: 0.76rem; }
.glossary-list dd { max-width: 45ch; margin: 0; color: var(--graphite); line-height: 1.68; }

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  align-content: center;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(143, 203, 198, 0.12), transparent 26%),
    var(--substrate-deep);
}

.not-found > img { width: 6rem; margin-bottom: 2rem; }
.not-found .eyebrow { justify-content: center; }
.not-found h1 { max-width: 12ch; margin: 0; font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.88; }
.not-found > p:not(.eyebrow) { max-width: 48ch; margin: 1.5rem 0 0; color: var(--fog); line-height: 1.7; }
.not-found .hero-actions { justify-content: center; }

.site-footer {
  padding: 6rem var(--gutter) 2rem;
  border-top: 1px solid var(--line-dark);
  color: var(--cellulose);
  background: #071416;
}

.footer-statement {
  display: flex;
  max-width: 44rem;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-statement img { flex: 0 0 auto; }
.footer-statement strong { display: block; margin-bottom: 0.7rem; font-size: 1.5rem; font-weight: 540; }
.footer-statement p { margin: 0; color: var(--fog); line-height: 1.6; }

.footer-links {
  display: grid;
  margin: 6rem 0 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-label {
  margin-bottom: 1rem;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.footer-links a { width: fit-content; color: var(--fog); font-size: 0.82rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--water); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

/* Immersive proof chamber */

.page-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.page-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--water), var(--copper));
  box-shadow: 0 0 1rem rgba(143, 203, 198, 0.45);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

.hero--proof-chamber {
  min-height: max(58rem, 108svh);
  background: #061315;
}

.hero--proof-chamber::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 18, 0.98) 0%, rgba(5, 16, 18, 0.9) 29%, rgba(5, 16, 18, 0.36) 58%, rgba(5, 16, 18, 0.08) 100%),
    linear-gradient(0deg, #061315 0%, transparent 28%, transparent 77%, rgba(5, 16, 18, 0.54) 100%);
  content: "";
}

.hero--proof-chamber::after {
  z-index: 0;
  right: -17vw;
  bottom: -38vw;
  opacity: 0.55;
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  transform-origin: 74% 48%;
  will-change: transform;
}

.hero-art picture,
.hero-art img {
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: cover;
  object-position: 62% 50%;
  filter: saturate(0.92) contrast(1.06);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 46%, transparent 0 18%, rgba(7, 23, 25, 0.08) 44%, rgba(7, 23, 25, 0.4) 78%),
    linear-gradient(90deg, rgba(6, 19, 21, 0.98) 0%, rgba(6, 19, 21, 0.84) 31%, transparent 66%),
    linear-gradient(0deg, #061315 0%, transparent 22%, transparent 78%, rgba(6, 19, 21, 0.72) 100%);
  content: "";
}

.hero-art__scan {
  position: absolute;
  z-index: 2;
  top: 20%;
  right: 6%;
  width: min(52vw, 58rem);
  height: 1px;
  opacity: 0.62;
  background: linear-gradient(90deg, transparent, var(--water), transparent);
  box-shadow: 0 0 1.2rem rgba(143, 203, 198, 0.8);
  animation: proof-scan 5.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-art__reticle {
  position: absolute;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(143, 203, 198, 0.48);
  border-radius: 50%;
}

.hero-art__reticle::before,
.hero-art__reticle::after {
  position: absolute;
  background: var(--water);
  content: "";
}

.hero-art__reticle::before { top: 50%; left: -0.4rem; width: calc(100% + 0.8rem); height: 1px; }
.hero-art__reticle::after { top: -0.4rem; left: 50%; width: 1px; height: calc(100% + 0.8rem); }
.hero-art__reticle--a { top: 29%; right: 19%; }
.hero-art__reticle--b { right: 38%; bottom: 22%; width: 1.6rem; height: 1.6rem; border-color: rgba(200, 111, 74, 0.64); }

.hero-art__caption {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 8.1rem;
  display: grid;
  width: min(22rem, 30vw);
  padding: 0.85rem 0;
  border-top: 1px solid rgba(240, 239, 231, 0.32);
  border-bottom: 1px solid rgba(240, 239, 231, 0.14);
  gap: 0.4rem;
  font-family: var(--mono);
}

.hero-art__caption span { color: var(--copper); font-size: 0.56rem; letter-spacing: 0.1em; }
.hero-art__caption strong { max-width: 24ch; color: var(--fog); font-size: 0.62rem; font-weight: 400; line-height: 1.5; }

.hero-wordmark {
  position: absolute;
  z-index: -1;
  right: -0.025em;
  bottom: 0.12em;
  color: rgba(240, 239, 231, 0.055);
  font-size: clamp(11rem, 25vw, 30rem);
  font-weight: 720;
  letter-spacing: -0.09em;
  line-height: 0.72;
  pointer-events: none;
  white-space: nowrap;
}

.hero--proof-chamber .hero-shell {
  min-height: 100svh;
  padding-top: 13rem;
  padding-bottom: 10rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.58fr);
}

.hero--proof-chamber .hero-copy {
  align-self: center;
  text-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.32);
}

.hero--proof-chamber h1 {
  max-width: 7.2ch;
  font-size: clamp(5.6rem, 9.7vw, 11.2rem);
  line-height: 0.77;
}

.hero--proof-chamber .proof-monitor {
  align-self: end;
  margin: 0 0 5.5rem;
  background: rgba(5, 18, 20, 0.78);
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.34);
}

.hero--proof-chamber pliego-adapter[data-pliego-id="verification-lattice"] {
  z-index: -1;
  top: 13%;
  right: -4%;
  width: 62vw;
  height: 70%;
  opacity: 0.36;
  mix-blend-mode: screen;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  bottom: 5.1rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--fog);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll i {
  position: relative;
  width: 1px;
  height: 2.8rem;
  overflow: hidden;
  background: rgba(240, 239, 231, 0.18);
}

.hero-scroll i::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: var(--water);
  content: "";
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

/* Five-stage scroll narrative */

.proof-journey {
  --journey-stage: 0;
  --journey-progress: 0;
  position: relative;
  color: var(--cellulose);
  background:
    radial-gradient(circle at 44% 46%, rgba(143, 203, 198, 0.09), transparent 28%),
    linear-gradient(180deg, #071719 0%, #0c2022 48%, #071719 100%);
}

.proof-journey::before {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(240, 239, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 231, 0.035) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  content: "";
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  pointer-events: none;
}

.journey-intro {
  position: relative;
  z-index: 2;
  display: grid;
  padding: clamp(8rem, 12vw, 13rem) 0 clamp(5rem, 8vw, 8rem);
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 0.85fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.journey-intro .eyebrow { margin-top: 0.5rem; }
.journey-intro h2 { max-width: 11ch; margin: 0; font-size: clamp(3.8rem, 6.7vw, 7.6rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.86; }
.journey-intro > p { max-width: 36ch; margin: 0.6rem 0 0; color: var(--fog); line-height: 1.72; }

.journey-stage {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.journey-index {
  flex: 0 0 7rem;
  position: sticky;
  top: 24vh;
  display: grid;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}

.journey-index > span {
  display: grid;
  min-height: 3.2rem;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.56rem;
  grid-template-columns: 1.8rem 1fr;
  text-transform: uppercase;
  transition: color 240ms ease, transform 240ms ease;
}

.journey-index b { color: inherit; font-weight: 400; }
.journey-index > span.is-active { color: var(--water); transform: translateX(0.5rem); }

.journey-visual {
  flex: 1 1 0;
  min-width: 0;
  position: sticky;
  top: 12vh;
  min-height: 76vh;
  overflow: hidden;
  border: 1px solid rgba(240, 239, 231, 0.13);
  background:
    radial-gradient(circle at 50% 47%, rgba(143, 203, 198, 0.12), transparent 34%),
    rgba(5, 18, 20, 0.64);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.24), 0 3rem 9rem rgba(0, 0, 0, 0.18);
  perspective: 1000px;
}

.journey-visual::before,
.journey-visual::after {
  position: absolute;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  content: "LOCAL AUTHORITY";
}

.journey-visual::before { top: 1rem; left: 1rem; }
.journey-visual::after { right: 1rem; bottom: 1rem; content: "PORTABLE EVIDENCE"; }

.journey-chamber {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 52%;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-22deg);
  transform-style: preserve-3d;
}

.journey-slab {
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 17%;
  border: 1px solid rgba(143, 203, 198, 0.52);
  background: linear-gradient(135deg, rgba(143, 203, 198, 0.2), rgba(240, 239, 231, 0.025));
  box-shadow: inset 0 0 2rem rgba(143, 203, 198, 0.06), 1rem 1rem 2rem rgba(0, 0, 0, 0.24);
  transform: translateZ(0);
  transition: opacity 420ms ease, border-color 420ms ease, box-shadow 420ms ease, transform 420ms ease;
}

.journey-slab::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--water);
  background: #0b2022;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.journey-slab--1 { left: 0; transform: translate3d(0, 0, 0); }
.journey-slab--2 { left: 20.5%; transform: translate3d(0, 0, 1rem); }
.journey-slab--3 { left: 41%; transform: translate3d(0, 0, 2rem); }
.journey-slab--4 { left: 61.5%; transform: translate3d(0, 0, 3rem); }
.journey-slab--5 { left: 82%; transform: translate3d(0, 0, 4rem); }

html[data-proof-stage="1"] .journey-slab--1,
html[data-proof-stage="2"] .journey-slab--2,
html[data-proof-stage="3"] .journey-slab--3,
html[data-proof-stage="4"] .journey-slab--4,
html[data-proof-stage="5"] .journey-slab--5 {
  border-color: var(--copper);
  background: linear-gradient(135deg, rgba(200, 111, 74, 0.36), rgba(143, 203, 198, 0.08));
  box-shadow: 0 0 2.2rem rgba(200, 111, 74, 0.26);
  transform: translate3d(0, -0.65rem, 4.8rem);
}

.journey-beam {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 7%;
  width: calc(10% + (var(--journey-stage) * 20.5%));
  height: 2px;
  background: linear-gradient(90deg, var(--water), var(--copper));
  box-shadow: 0 0 1rem rgba(143, 203, 198, 0.72);
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-token {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: calc(8.5% + (var(--journey-stage) * 20.5%));
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--copper);
  border-radius: 50%;
  background: #0a1d1f;
  box-shadow: 0 0 0 0.5rem rgba(200, 111, 74, 0.08), 0 0 1.8rem rgba(200, 111, 74, 0.54);
  transform: translate(-50%, -50%);
  transition: left 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-orbit {
  position: absolute;
  top: 50%;
  left: calc(8.5% + (var(--journey-stage) * 20.5%));
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(200, 111, 74, 0.36);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 520ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: proof-orbit 5s linear infinite;
}

.journey-readout {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  left: 1.3rem;
  display: grid;
  align-items: end;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: 3.5rem 1fr auto;
  font-family: var(--mono);
}

.journey-readout span { color: var(--graphite); font-size: 0.56rem; text-transform: uppercase; }
.journey-readout strong { color: var(--cellulose); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.journey-readout code { color: var(--water); font-size: 0.58rem; }

.journey-copy {
  flex: 0 0 min(34%, 31rem);
  padding-bottom: 18vh;
}

.journey-step {
  display: flex;
  min-height: 88vh;
  flex-direction: column;
  justify-content: center;
  opacity: 0.24;
  transition: opacity 340ms ease, transform 340ms ease;
  transform: translateY(1.5rem);
}

.journey-step[data-active="true"] { opacity: 1; transform: translateY(0); }
.journey-step > span { margin-bottom: 1.3rem; color: var(--copper); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.journey-step h3 { max-width: 12ch; margin: 0; font-size: clamp(2.7rem, 4.4vw, 5.2rem); font-weight: 520; letter-spacing: -0.055em; line-height: 0.9; }
.journey-step p { max-width: 37ch; margin: 1.5rem 0 0; color: var(--fog); line-height: 1.72; }
.journey-step > code { width: fit-content; margin-top: 1.6rem; padding: 0.6rem 0; border-top: 1px solid var(--line-dark); color: var(--water); font-family: var(--mono); font-size: 0.62rem; }

/* Concrete query story */

.query-story {
  overflow: hidden;
}

.query-story::after {
  position: absolute;
  top: -18rem;
  right: -18rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(200, 111, 74, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 8rem rgba(200, 111, 74, 0.025), 0 0 0 16rem rgba(143, 203, 198, 0.02);
}

.query-story__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 36rem;
  grid-template-columns: 1fr 0.78fr 1fr;
}

.story-card {
  display: flex;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-light);
  border-right: 0;
}

.story-card:last-child { border-right: 1px solid var(--line-light); }
.story-card__label { color: var(--copper); font-family: var(--mono); font-size: 0.61rem; letter-spacing: 0.08em; }
.story-card h3 { max-width: 13ch; margin: 4rem 0 2rem; font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 540; letter-spacing: -0.045em; line-height: 0.96; }
.story-card pre { max-width: 100%; margin: auto 0 1.5rem; overflow-x: auto; }
.story-card code { color: inherit; font-family: var(--mono); font-size: 0.65rem; line-height: 1.75; }
.story-card small { color: var(--graphite); line-height: 1.5; }

.story-card--request { background: #e8e8df; }
.story-card--result { color: var(--cellulose); background: var(--substrate); }
.story-card--verify { color: #201916; background: var(--copper); }
.story-card--verify .story-card__label { color: #592c1d; }
.story-card--verify .button { margin-top: 2rem; border-color: rgba(32, 25, 22, 0.56); color: #201916; }

.story-card--result ol { margin: auto 0 2rem; padding: 0; border-top: 1px solid var(--line-dark); list-style: none; }
.story-card--result li { display: flex; min-height: 4rem; align-items: center; justify-content: space-between; padding: 0 1rem; border-bottom: 1px solid var(--line-dark); font-family: var(--mono); }
.story-card--result li.is-active { color: var(--water); background: rgba(143, 203, 198, 0.06); box-shadow: inset 2px 0 0 var(--water); }
.story-card--result dl { margin: 0; }
.story-card--result dl div { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--line-dark); }
.story-card--result dt { color: var(--graphite); font-family: var(--mono); font-size: 0.58rem; }
.story-card--result dd { margin: 0; color: var(--fog); font-family: var(--mono); font-size: 0.58rem; }

/* Research object and lineage */

.research-teaser {
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 52%, rgba(143, 203, 198, 0.12), transparent 25%),
    #071719;
}

.research-teaser__grid {
  display: grid;
  min-height: 46rem;
  align-items: center;
  grid-template-columns: minmax(24rem, 0.9fr) minmax(24rem, 0.75fr);
  gap: clamp(4rem, 9vw, 11rem);
  perspective: 1100px;
}

.paper-object {
  position: relative;
  width: min(88%, 34rem);
  aspect-ratio: 0.82;
  justify-self: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.paper-sheet {
  position: absolute;
  inset: 5%;
  display: flex;
  padding: 3rem;
  flex-direction: column;
  border: 1px solid rgba(240, 239, 231, 0.22);
  background: var(--cellulose);
  box-shadow: 1.5rem 2rem 5rem rgba(0, 0, 0, 0.28);
}

.paper-sheet--back { transform: translate3d(-2rem, 1.4rem, -4rem) rotate(-6deg); background: var(--substrate-raised); }
.paper-sheet--middle { transform: translate3d(1.5rem, 0.8rem, -2rem) rotate(4deg); background: #cfd6d0; }
.paper-sheet--front { color: var(--substrate); transform: translateZ(1rem) rotate(-1.5deg); }
.paper-sheet--front::before { position: absolute; top: 0; left: 0; width: 0.35rem; height: 100%; background: var(--copper); content: ""; }
.paper-sheet i { color: var(--copper); font-family: var(--mono); font-size: 0.58rem; font-style: normal; }
.paper-sheet b { max-width: 8ch; margin-top: auto; font-size: clamp(2.8rem, 4.6vw, 5rem); font-weight: 540; letter-spacing: -0.055em; line-height: 0.88; }
.paper-sheet small { max-width: 26ch; margin-top: 1.5rem; color: var(--graphite); font-family: var(--serif); font-size: 1rem; font-style: italic; line-height: 1.4; }
.paper-proof-line { position: absolute; z-index: 4; right: -12%; bottom: 12%; width: 56%; height: 2px; background: linear-gradient(90deg, var(--copper), var(--water)); box-shadow: 0 0 1rem rgba(143, 203, 198, 0.44); }

.research-teaser__copy h2 { max-width: 11ch; margin: 0; font-size: clamp(3.3rem, 5.5vw, 6.4rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.88; }
.research-teaser__copy h2 em { color: var(--copper); font-family: var(--serif); font-weight: 400; }
.research-teaser__copy > p { max-width: 43ch; margin: 2rem 0 0; color: var(--fog); line-height: 1.72; }
.research-teaser__copy .research-teaser__boundary { padding-left: 1rem; border-left: 2px solid var(--copper); color: var(--cellulose); font-family: var(--mono); font-size: 0.62rem; }
.research-teaser__copy .button { margin-top: 2rem; }

.research-hero {
  position: relative;
  min-height: max(54rem, 100svh);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 45%, rgba(143, 203, 198, 0.15), transparent 26%),
    #071719;
}

.research-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(240, 239, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 239, 231, 0.04) 1px, transparent 1px);
  background-size: calc(100vw / 12) 6rem;
  mask-image: radial-gradient(ellipse at 68% 46%, #000, transparent 72%);
}

.research-hero__shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding-top: 11rem;
  padding-bottom: 4rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.72fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem clamp(4rem, 8vw, 9rem);
  perspective: 1200px;
}

.research-hero__shell .breadcrumb { grid-column: 1 / -1; }
.research-hero__copy h1 { max-width: 10ch; margin: 0; font-size: clamp(4.8rem, 8vw, 9.5rem); font-weight: 500; letter-spacing: -0.07em; line-height: 0.8; }
.research-hero__copy h1 em { color: var(--copper); font-family: var(--serif); font-weight: 400; }
.research-hero__copy > p { max-width: 48ch; margin: 2.2rem 0 0; color: var(--fog); font-size: 1.05rem; line-height: 1.72; }

.research-hero__folio {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 0.78;
  justify-self: end;
  transform-style: preserve-3d;
}

.research-folio__shadow { position: absolute; right: -4%; bottom: -3%; width: 92%; height: 92%; background: rgba(0, 0, 0, 0.36); filter: blur(2rem); transform: translateZ(-4rem); }
.research-folio__page { position: absolute; inset: 0; display: flex; padding: clamp(2rem, 4vw, 4rem); flex-direction: column; overflow: hidden; border: 1px solid rgba(240, 239, 231, 0.3); color: var(--substrate); background: var(--cellulose); box-shadow: -2rem 3rem 8rem rgba(0, 0, 0, 0.42); transform: rotateY(-7deg) rotateX(2deg); }
.research-folio__page::before { position: absolute; top: 0; left: 0; width: 0.42rem; height: 100%; background: var(--copper); content: ""; }
.research-folio__page > span { color: var(--copper); font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.08em; }
.research-folio__page strong { max-width: 8ch; margin-top: auto; font-size: clamp(3rem, 4.6vw, 5.4rem); font-weight: 540; letter-spacing: -0.058em; line-height: 0.84; }
.research-folio__page em { max-width: 22ch; margin-top: 1.4rem; color: var(--graphite); font-family: var(--serif); font-size: 1.15rem; }
.research-folio__page small { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: 0.56rem; }
.research-folio__mark { position: absolute; right: 2rem; bottom: 2rem; width: 4rem; height: 4rem; border: 1px solid var(--copper); border-radius: 50%; }
.research-folio__mark::before,
.research-folio__mark::after { position: absolute; top: 50%; left: 50%; background: var(--copper); content: ""; transform: translate(-50%, -50%); }
.research-folio__mark::before { width: 1px; height: 130%; }
.research-folio__mark::after { width: 130%; height: 1px; }

.research-meta { display: grid; margin: 0; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.research-meta div { display: flex; min-height: 4rem; align-items: center; justify-content: space-between; padding: 0 1rem; border-right: 1px solid var(--line-dark); }
.research-meta div:last-child { border-right: 0; }
.research-meta dt { color: var(--graphite); font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; }
.research-meta dd { margin: 0; color: var(--fog); font-size: 0.72rem; }

.lineage-track { display: grid; grid-template-columns: 1fr 8rem 1fr; align-items: stretch; }
.lineage-track article { min-height: 28rem; padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--line-light); }
.lineage-track article > span { color: var(--copper); font-family: var(--mono); font-size: 0.61rem; }
.lineage-track article h2 { max-width: 13ch; margin: 7rem 0 1.2rem; font-size: clamp(2rem, 3.3vw, 3.8rem); font-weight: 540; letter-spacing: -0.05em; line-height: 0.96; }
.lineage-track article p { max-width: 39ch; color: var(--graphite); line-height: 1.68; }
.lineage-track article code { display: block; margin-top: 2rem; color: var(--graphite); font-family: var(--mono); font-size: 0.62rem; }
.lineage-bridge { position: relative; display: grid; place-items: center; }
.lineage-bridge::before { position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--line-light); content: ""; }
.lineage-bridge i { position: relative; z-index: 1; width: 1rem; height: 1rem; border: 2px solid var(--copper); background: var(--cellulose); transform: rotate(45deg); }

.research-thesis { background: var(--substrate-deep); }
.research-thesis__grid { display: grid; grid-template-columns: minmax(22rem, 0.9fr) minmax(28rem, 0.8fr); gap: clamp(4rem, 9vw, 10rem); }
.research-thesis__statement h2 { max-width: 12ch; margin: 0; font-size: clamp(3.5rem, 6vw, 6.8rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.88; }
.research-thesis__points { margin: 0; padding: 0; border-top: 1px solid var(--line-dark); list-style: none; }
.research-thesis__points li { display: grid; padding: 1.5rem 0; border-bottom: 1px solid var(--line-dark); grid-template-columns: 3rem 10rem 1fr; gap: 1rem; }
.research-thesis__points span { color: var(--copper); font-family: var(--mono); }
.research-thesis__points strong { font-size: 0.92rem; font-weight: 560; }
.research-thesis__points p { margin: 0; color: var(--fog); font-size: 0.84rem; line-height: 1.6; }

.paper-access__grid { display: grid; grid-template-columns: minmax(21rem, 0.72fr) minmax(28rem, 1fr); gap: clamp(4rem, 9vw, 10rem); }
.paper-access h2 { max-width: 10ch; margin: 0; font-size: clamp(3.4rem, 5.5vw, 6rem); font-weight: 520; letter-spacing: -0.06em; line-height: 0.88; }
.paper-access p { max-width: 42ch; margin: 1.5rem 0 0; color: var(--graphite); line-height: 1.7; }
.paper-access .button { margin-top: 2rem; }
.paper-integrity { margin: 0; border-top: 1px solid var(--line-light); }
.paper-integrity div { display: grid; padding: 1.2rem 0; border-bottom: 1px solid var(--line-light); grid-template-columns: 7rem 1fr; gap: 2rem; }
.paper-integrity dt { color: var(--graphite); font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; }
.paper-integrity dd { margin: 0; line-height: 1.6; }
.paper-integrity code { word-break: break-all; font-family: var(--mono); font-size: 0.61rem; }

@keyframes proof-scan {
  0%, 100% { transform: translateY(-3rem); opacity: 0; }
  12%, 82% { opacity: 0.62; }
  90% { transform: translateY(32rem); opacity: 0; }
}

@keyframes scroll-pulse {
  0% { transform: translateY(-120%); }
  55%, 100% { transform: translateY(210%); }
}

@keyframes proof-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes lattice-enter {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 0.9; transform: scale(1); }
}

.brand-chamber {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  background: #061315;
}

.brand-chamber picture,
.brand-chamber img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-chamber img {
  object-fit: cover;
  object-position: 68% 50%;
}

.brand-chamber::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 19, 21, 0.92), rgba(6, 19, 21, 0.22) 70%), linear-gradient(0deg, #061315, transparent 48%);
  content: "";
}

.brand-chamber__copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: clamp(4rem, 8vw, 8rem);
  left: 0;
}

.brand-chamber__copy h2 { max-width: 8ch; margin: 0; font-size: clamp(4rem, 8vw, 9rem); font-weight: 520; letter-spacing: -0.065em; line-height: 0.82; }
.brand-chamber__copy p { max-width: 40ch; margin: 1.7rem 0 0; color: var(--fog); line-height: 1.68; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 3rem, 92rem); }
  .header-shell { grid-template-columns: minmax(8rem, 0.7fr) auto minmax(8rem, 0.7fr); }
  .primary-nav { gap: 1.15rem; }
  .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.62fr); gap: 3rem; }
  .hero h1 { font-size: clamp(4.6rem, 9vw, 7.4rem); }
  .section-header { grid-template-columns: 10rem minmax(0, 0.9fr) minmax(15rem, 0.58fr); }
  .proof-layout { grid-template-columns: minmax(0, 0.8fr) minmax(26rem, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-height: 6.5rem; }
  .status-line { display: none; }
  .corporate-line { justify-content: center; }
  .header-shell { grid-template-columns: 1fr auto; }
  .primary-nav, .header-cta { display: none; }
  .mobile-menu { display: block; justify-self: end; }
  .mobile-menu summary { min-height: 2.75rem; padding: 0.75rem; border: 1px solid var(--line-dark); cursor: pointer; font-family: var(--mono); font-size: 0.65rem; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line-dark); background: rgba(8, 23, 25, 0.98); }
  .mobile-menu nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line-dark); }
  .hero-shell { min-height: auto; padding-top: 11rem; grid-template-columns: 1fr; }
  .hero-copy { max-width: 50rem; }
  .hero h1 { font-size: clamp(4.5rem, 13vw, 7.4rem); }
  .proof-monitor { width: min(100%, 34rem); justify-self: start; align-self: start; margin: 0; }
  pliego-adapter[data-pliego-id="verification-lattice"] { top: 8rem; right: -12rem; width: 45rem; height: 38rem; opacity: 0.5; }
  .hero-rail { position: relative; right: auto; bottom: auto; left: auto; min-width: 100%; padding: 0 1rem; gap: 1rem; overflow: hidden; }
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-header .eyebrow { margin: 0; }
  .section-header h2 { max-width: 13ch; }
  .capability-grid, .docs-card-grid, .color-grid, .brand-downloads__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .proof-layout, .architecture-layout, .faq-layout, .manifesto-grid, .docs-path__grid, .lab-next__grid, .brand-premise__grid, .brand-symbol__grid, .stewardship__grid { grid-template-columns: 1fr; }
  .why-section { background: var(--substrate); }
  .why-copy { padding-top: 0; }
  .proof-map { min-height: 34rem; }
  .architecture-layout .section-header, .faq-layout .section-header, .manifesto-grid .section-header, .docs-path .section-header, .lab-next .section-header, .brand-premise .section-header, .brand-symbol .section-header, .stewardship .section-header { max-width: 42rem; }
  .boundary-grid { min-height: auto; padding: 7rem 0; grid-template-columns: 1fr; }
  .origin-grid { grid-template-columns: 1fr; }
  .origin-index { position: static; }
  .origin-points article { grid-template-columns: 3rem minmax(10rem, 0.55fr) minmax(15rem, 0.8fr); }
  .boundary-matrix__grid, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-layout { grid-template-columns: 12rem minmax(0, 1fr); gap: 3rem; }
  .playground { grid-template-columns: 1fr; }
  .playground-controls { grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line-light); }
  .playground-controls button { grid-column: 1 / -1; }
  .typography-grid { grid-template-columns: 1fr; }
  .typography-grid > div:first-child { grid-row: auto; min-height: 28rem; }
  .typography-grid h2 { margin-top: 6rem; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 2rem, 92rem); }
  .corporate-line { font-size: 0.54rem; }
  .header-shell { min-height: 4.8rem; }
  .brand-link img { width: 8.2rem; }
  .hero { min-height: auto; }
  .hero-shell { padding-top: 9.5rem; padding-bottom: 4rem; }
  .hero h1 { max-width: 8ch; font-size: clamp(3.5rem, 18vw, 5.3rem); line-height: 0.82; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .proof-monitor { margin-top: 2rem; }
  .hero-rail { justify-content: flex-start; }
  .hero-rail span:nth-of-type(n + 4), .hero-rail i:nth-of-type(n + 4) { display: none; }
  .section { padding: 5.5rem 0; }
  .section-header { margin-bottom: 3.5rem; }
  .section-header h2 { font-size: 3rem; }
  .capability-grid, .docs-card-grid, .color-grid, .boundary-matrix__grid, .about-grid, .brand-downloads__grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 16rem; }
  .why-statement h2 { font-size: 3.8rem; }
  .proof-layout { gap: 4rem; }
  .proof-map { min-height: 30rem; }
  .proof-node { width: 8rem; }
  .proof-node--query, .proof-node--anchor { left: 1rem; }
  .proof-node--snapshot, .proof-node--verify { right: 1rem; }
  .proof-steps li { grid-template-columns: 2.2rem 5.2rem 1fr; }
  .architecture-stack > div { grid-template-columns: 6rem 1fr; gap: 1rem; }
  .use-case-list { grid-template-columns: 1fr; }
  .use-case-list article, .use-case-list article:nth-child(even) { min-height: 18rem; padding: 1.5rem 0; border-right: 0; }
  .use-case-list span { margin-bottom: 4rem; }
  .boundary-grid h2 { font-size: 3.6rem; }
  .faq-list summary { padding-right: 2rem; }
  .final-cta { min-height: 38rem; }
  .final-cta__content h2 { font-size: 4rem; }
  .page-hero__shell, .docs-hero__shell, .brand-hero__shell { padding-top: 10rem; padding-bottom: 5rem; }
  .page-hero h1, .docs-hero h1 { font-size: 3.8rem; }
  .breadcrumb { margin-bottom: 2.5rem; }
  .origin-points article { min-height: auto; grid-template-columns: 2.5rem 1fr; }
  .origin-points article p { grid-column: 2; }
  .callout { grid-template-columns: 1fr; gap: 0.8rem; }
  .docs-layout { display: block; padding-top: 0; }
  .docs-nav { position: relative; z-index: 5; top: auto; display: flex; width: calc(100% + 2rem); margin: 0 -1rem 4rem; padding: 0 1rem; overflow-x: auto; background: var(--cellulose); }
  .docs-nav__label { display: none; }
  .docs-nav a { flex: 0 0 auto; padding: 1rem 0.8rem; border-top: 0; border-bottom: 1px solid var(--line-light); }
  .docs-nav a[aria-current="page"]::before { display: none; }
  .docs-section { margin-bottom: 4.5rem; }
  .docs-section h2 { font-size: 2.6rem; }
  .playground-controls { grid-template-columns: 1fr; }
  .playground-controls button { grid-column: auto; }
  .playground-output { min-height: 27rem; }
  .playground-command { align-items: stretch; flex-direction: column; }
  .playground-command button { width: 100%; }
  .brand-hero { min-height: 34rem; }
  .brand-hero__lockup { width: 100%; margin-top: 3rem; }
  .brand-symbol__specimen { min-height: 24rem; }
  .brand-principles article { grid-template-columns: 2.5rem 1fr; }
  .brand-principles article p { grid-column: 2; }
  .typography-grid > div { min-height: 17rem; }
  .typography-grid > div:first-child { min-height: 24rem; }
  .typography-grid h2 { margin-top: 5rem; font-size: 4rem; }
  .type-accent p, .type-data p { margin-top: 4rem; }
  .brand-usage__grid { grid-template-columns: 1fr; gap: 3rem; }
  .glossary-list { grid-template-columns: 1fr; }
  .glossary-list > div, .glossary-list > div:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
  .footer-links { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

@media (prefers-contrast: more) {
  :root {
    --line-dark: rgba(240, 239, 231, 0.42);
    --line-light: rgba(16, 35, 37, 0.42);
  }
  .hero-lead,
  .section-header > p:last-child,
  .why-copy > p,
  .use-case-list p,
  .footer-statement p {
    color: currentColor;
  }
}

@media (max-width: 1120px) {
  .hero-art img { object-position: 58% 50%; }
  .hero-art__caption { width: 18rem; }
  .journey-stage { grid-template-columns: 5.5rem minmax(22rem, 0.9fr) minmax(18rem, 0.68fr); gap: 2rem; }
  .journey-readout { grid-template-columns: 3rem 1fr; }
  .journey-readout code { display: none; }
  .research-thesis__points li { grid-template-columns: 2.5rem 8rem 1fr; }
}

@media (max-width: 920px) {
  .hero--proof-chamber { min-height: 76rem; }
  .hero--proof-chamber .hero-shell { min-height: 74rem; padding-bottom: 10rem; grid-template-columns: 1fr; }
  .hero-art img { object-position: 67% 47%; }
  .hero-art::after { background: linear-gradient(90deg, rgba(6, 19, 21, 0.97), rgba(6, 19, 21, 0.7) 62%, rgba(6, 19, 21, 0.18)), linear-gradient(0deg, #061315, transparent 38%, rgba(6, 19, 21, 0.44)); }
  .hero-art__caption { right: 1.5rem; bottom: 7rem; }
  .hero--proof-chamber .proof-monitor { margin-bottom: 1rem; }
  .hero-wordmark { bottom: 0.2em; font-size: 28vw; }
  .journey-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .journey-intro h2 { max-width: 10ch; }
  .journey-intro > p { max-width: 45ch; }
  .journey-stage { display: grid; grid-template-columns: minmax(21rem, 1fr) minmax(17rem, 0.72fr); gap: 2rem; }
  .journey-index { display: none; }
  .journey-visual { top: 10vh; min-height: 72vh; }
  .journey-copy { min-width: 0; }
  .journey-step { min-height: 80vh; }
  .query-story__grid { grid-template-columns: 1fr; }
  .story-card { min-height: 26rem; border-right: 1px solid var(--line-light); border-bottom: 0; }
  .story-card:last-child { border-bottom: 1px solid var(--line-light); }
  .story-card h3 { margin-top: 3rem; }
  .research-teaser__grid { min-height: auto; padding: 4rem 0; grid-template-columns: 1fr; }
  .paper-object { width: min(78%, 29rem); }
  .research-teaser__copy { max-width: 42rem; }
  .research-hero__shell { padding-top: 10rem; grid-template-columns: 1fr; }
  .research-hero__folio { width: min(72vw, 29rem); justify-self: center; margin: 2rem 0 4rem; }
  .research-meta { grid-template-columns: 1fr; }
  .research-meta div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .lineage-track { grid-template-columns: 1fr; }
  .lineage-bridge { min-height: 6rem; }
  .lineage-bridge::before { top: 0; bottom: 0; left: 50%; width: 1px; height: auto; }
  .research-thesis__grid,
  .paper-access__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero--proof-chamber { min-height: 70rem; }
  .hero--proof-chamber .hero-shell { min-height: 68rem; padding-top: 10rem; padding-bottom: 9rem; }
  .hero--proof-chamber h1 { max-width: 7.5ch; font-size: clamp(4.1rem, 20vw, 6.2rem); }
  .hero-art { opacity: 0.72; }
  .hero-art img { object-position: 65% 36%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(6, 19, 21, 0.42), rgba(6, 19, 21, 0.8) 48%, #061315 88%); }
  .hero-art__caption,
  .hero-art__reticle--b { display: none; }
  .hero-art__reticle--a { top: 25%; right: 10%; }
  .hero-art__scan { right: 0; width: 100vw; }
  .hero--proof-chamber .proof-monitor { width: 100%; margin: 1rem 0 0; }
  .hero-scroll { bottom: 4.4rem; left: 1rem; }
  .hero-wordmark { bottom: 0.25em; font-size: 34vw; }
  .journey-intro { padding: 6rem 0 4rem; }
  .journey-intro h2 { font-size: 3.7rem; }
  .journey-stage { display: block; }
  .journey-visual { position: relative; top: auto; z-index: 3; min-height: 28rem; margin-bottom: 0; }
  .journey-chamber { width: 90%; height: 46%; }
  .journey-readout { grid-template-columns: 2.8rem 1fr; }
  .journey-step,
  .journey-step[data-active="true"] { min-height: auto; padding: 5rem 0; border-top: 1px solid var(--line-dark); opacity: 1; transform: none; }
  .journey-step h3 { font-size: 3.3rem; }
  .journey-copy { padding-bottom: 4rem; }
  .story-card { min-height: 24rem; padding: 1.5rem; }
  .story-card pre { white-space: pre-wrap; }
  .paper-object { width: 90%; }
  .paper-sheet { padding: 2rem; }
  .paper-sheet b { font-size: 3.1rem; }
  .research-teaser__copy h2 { font-size: 3.8rem; }
  .research-hero { min-height: auto; }
  .research-hero__copy h1 { font-size: 4.3rem; }
  .research-hero__folio { width: min(88vw, 25rem); }
  .research-meta div { align-items: flex-start; padding: 1rem 0; flex-direction: column; gap: 0.4rem; }
  .lineage-track article { min-height: 24rem; padding: 1.5rem; }
  .lineage-track article h2 { margin-top: 5rem; }
  .research-thesis__statement h2 { font-size: 3.8rem; }
  .research-thesis__points li { grid-template-columns: 2.5rem 1fr; }
  .research-thesis__points p { grid-column: 2; }
  .paper-integrity div { grid-template-columns: 1fr; gap: 0.6rem; }
  .brand-chamber { min-height: 44rem; }
  .brand-chamber img { object-position: 66% 50%; }
  .brand-chamber::after { background: linear-gradient(0deg, #061315 0%, rgba(6, 19, 21, 0.7) 58%, rgba(6, 19, 21, 0.18)); }
  .brand-chamber__copy h2 { font-size: 4.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .page-progress,
  .hero-art__scan,
  .hero-scroll i::after,
  .journey-orbit { display: none; }
  .hero-art,
  [data-paper-object] { transform: none !important; }
  .journey-stage { display: block; }
  .journey-index,
  .journey-visual { display: none; }
  .journey-copy { display: grid; padding: 0 0 6rem; gap: 1px; }
  .journey-step,
  .journey-step[data-active="true"] { min-height: auto; padding: 3rem 0; border-top: 1px solid var(--line-dark); opacity: 1; transform: none; }
}
