:root {
  color-scheme: dark;
  --state-bg: #050706;
  --state-panel: rgba(13, 18, 16, 0.92);
  --state-panel-raised: rgba(21, 28, 25, 0.92);
  --state-line: rgba(224, 232, 226, 0.14);
  --state-line-strong: rgba(224, 232, 226, 0.24);
  --state-text: #f4f8f5;
  --state-muted: #9ba7a1;
  --state-faint: #68736e;
  --state-yellow: #f2b705;
  --state-cyan: #43b7c8;
  --state-green: #21d492;
  --state-red: #d56767;
  --state-violet: #a687ff;
  --state-rail: min(1180px, calc(100vw - 44px));
  --state-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --state-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.state-object-page {
  min-height: 100vh;
  margin: 0;
  color: var(--state-text);
  background:
    radial-gradient(circle at 14% -10%, rgba(67, 183, 200, 0.14), transparent 31rem),
    radial-gradient(circle at 92% 7%, rgba(242, 183, 5, 0.11), transparent 28rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    var(--state-bg);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  font-family: var(--state-sans);
}

.state-object-nav,
.state-object-shell,
.state-object-footer {
  width: var(--state-rail);
  margin-inline: auto;
}

.state-object-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--state-line);
}

.state-object-nav > a {
  color: var(--state-text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.state-object-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.state-object-nav nav a,
.state-object-footer a {
  color: var(--state-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.state-object-nav nav a:hover,
.state-object-footer a:hover {
  color: var(--state-text);
}

.state-object-shell {
  padding: 3.5rem 0 5rem;
}

.state-fixture-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(242, 183, 5, 0.34);
  border-radius: 0.7rem;
  background: rgba(242, 183, 5, 0.07);
  color: #e8d589;
  font-size: 0.76rem;
}

.state-fixture-banner strong {
  color: var(--state-yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-fixture-banner[data-status="held"] {
  border-color: rgba(213, 103, 103, 0.42);
  background: rgba(213, 103, 103, 0.08);
  color: #f1b4b4;
}

.state-object-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.state-eyebrow,
.state-section-kicker,
.state-identity-panel span,
.state-story-card span,
.state-atlas-card > span {
  color: var(--state-cyan);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.state-object-hero h1 {
  max-width: 900px;
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  font-weight: 730;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.state-object-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--state-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.state-identity-panel {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--state-line-strong);
  border-radius: 0.85rem;
  background: linear-gradient(150deg, rgba(67, 183, 200, 0.08), rgba(13, 18, 16, 0.92));
}

.state-identity-panel strong,
.state-identity-panel code {
  display: block;
}

.state-identity-panel strong {
  margin: 0.45rem 0 0.7rem;
  font-size: 1.1rem;
}

.state-identity-panel code,
.state-exact-id code {
  overflow-wrap: anywhere;
  color: #c4cfca;
  font-family: var(--state-mono);
  font-size: 0.72rem;
  line-height: 1.6;
}

.state-exact-id {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--state-line);
  border-radius: 0.85rem;
  background: var(--state-line);
}

.state-exact-id > div {
  min-width: 0;
  padding: 1rem;
  background: var(--state-panel);
}

.state-exact-id dt {
  margin-bottom: 0.5rem;
  color: var(--state-faint);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-exact-id dd {
  margin: 0;
}

.state-section {
  margin-top: 3.5rem;
}

.state-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.state-section-head h2 {
  max-width: 760px;
  margin: 0.45rem 0 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.state-section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--state-muted);
  line-height: 1.6;
}

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

.state-agent-lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.state-agent-context-card {
  border-color: rgba(67, 183, 200, 0.38);
  background: linear-gradient(145deg, rgba(67, 183, 200, 0.08), var(--state-panel));
}

.state-agent-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid var(--state-line);
  border-radius: 0.65rem;
  background: var(--state-line);
}

.state-agent-metrics > div {
  padding: 0.75rem;
  background: rgba(5, 7, 6, 0.72);
}

.state-agent-metrics dt {
  color: var(--state-muted);
  font-size: 0.65rem;
  line-height: 1.35;
}

.state-agent-metrics dd {
  margin: 0.35rem 0 0;
  color: var(--state-cyan);
  font-family: var(--state-mono);
  font-size: 1.05rem;
  font-weight: 800;
}

.state-agent-lab-boundary {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(242, 183, 5, 0.28);
  border-radius: 0.7rem;
  color: var(--state-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.state-agent-lab-boundary strong {
  flex: 0 0 auto;
  color: var(--state-yellow);
  text-transform: uppercase;
}

.state-story-card,
.state-atlas-card,
.state-proof-card,
.state-action-card {
  padding: 1.25rem;
  border: 1px solid var(--state-line);
  border-radius: 0.85rem;
  background: var(--state-panel);
}

.state-story-card h3,
.state-atlas-card h2,
.state-action-card h3 {
  margin: 0.55rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.state-story-card p,
.state-atlas-card p,
.state-action-card p,
.state-proof-card p {
  margin: 0;
  color: var(--state-muted);
  line-height: 1.65;
}

.state-vote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.state-vote {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--state-line);
  border-left: 3px solid var(--state-cyan);
  border-radius: 0.7rem;
  background: var(--state-panel);
}

.state-vote-partial {
  border-left-color: var(--state-yellow);
}

.state-vote-contradicted,
.state-vote-unavailable,
.state-vote-held {
  border-left-color: var(--state-red);
}

.state-vote strong {
  font-size: 1.05rem;
}

.state-vote small {
  color: var(--state-muted);
}

.state-frontier {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding-left: 1.4rem;
}

.state-frontier::before {
  position: absolute;
  inset: 0 auto 0 0.4rem;
  width: 1px;
  background: linear-gradient(var(--state-cyan), var(--state-yellow));
  content: "";
}

.state-frontier article {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--state-line);
  border-radius: 0.75rem;
  background: var(--state-panel);
}

.state-frontier article::before {
  position: absolute;
  top: 1.35rem;
  left: -1.36rem;
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid var(--state-bg);
  border-radius: 50%;
  background: var(--state-cyan);
  content: "";
}

.state-frontier article.is-excluded::before {
  background: var(--state-yellow);
}

.state-frontier span {
  color: var(--state-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.state-frontier .is-excluded span {
  color: var(--state-yellow);
}

.state-frontier time,
.state-frontier small {
  color: var(--state-muted);
  font-family: var(--state-mono);
  font-size: 0.7rem;
}

.state-frontier small {
  grid-column: 2;
  font-family: var(--state-sans);
  line-height: 1.5;
}

.state-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--state-line);
  border-radius: 0.85rem;
  background: var(--state-line);
}

.state-trust-grid > div {
  padding: 1rem;
  background: var(--state-panel);
}

.state-trust-grid dt {
  min-height: 2.5em;
  color: var(--state-muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.state-trust-grid dd {
  margin: 0.65rem 0 0;
  color: var(--state-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.state-trust-grid dd[data-trust-status="partial"],
.state-trust-grid dd[data-trust-status="not_applicable"] {
  color: var(--state-yellow);
}

.state-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.state-action-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  color: var(--state-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.state-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(67, 183, 200, 0.46);
  background: var(--state-panel-raised);
}

.state-action-card > span {
  margin-top: auto;
  color: var(--state-cyan);
  font-size: 0.75rem;
  font-weight: 800;
}

.state-json-details {
  overflow: hidden;
  border: 1px solid var(--state-line);
  border-radius: 0.85rem;
  background: #070a09;
}

.state-json-details summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  color: var(--state-text);
  font-weight: 750;
}

.state-json-details pre {
  max-height: 46rem;
  overflow: auto;
  margin: 0;
  padding: 1.2rem;
  border-top: 1px solid var(--state-line);
  color: #b9c6c0;
  font-family: var(--state-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.state-atlas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 1rem;
}

.state-atlas-card {
  display: block;
  color: var(--state-text);
  text-decoration: none;
}

.state-atlas-card-featured {
  min-height: 340px;
  padding: 1.7rem;
  background:
    radial-gradient(circle at 95% 5%, rgba(242, 183, 5, 0.14), transparent 20rem),
    linear-gradient(140deg, rgba(67, 183, 200, 0.08), var(--state-panel));
}

.state-atlas-card-featured h2 {
  max-width: 620px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.state-atlas-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.state-atlas-meta span {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--state-line);
  border-radius: 999px;
  color: var(--state-muted);
  font-size: 0.68rem;
}

.state-atlas-hold {
  display: grid;
  align-content: center;
  min-height: 340px;
  border-style: dashed;
}

.state-podcast-hero {
  max-width: 920px;
  margin: 2rem 0 3.5rem;
}

.state-podcast-hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.state-podcast-hero p {
  max-width: 740px;
  color: var(--state-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.state-proof-card code {
  display: block;
  margin-top: 0.8rem;
  overflow-wrap: anywhere;
  color: var(--state-cyan);
  font-family: var(--state-mono);
  font-size: 0.72rem;
}

.state-object-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--state-line);
  color: var(--state-faint);
  font-size: 0.72rem;
}

.state-corpus-boundary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(242, 183, 5, 0.3);
  border-radius: 0.75rem;
  background: rgba(242, 183, 5, 0.055);
  color: var(--state-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.state-corpus-boundary strong {
  flex: 0 0 auto;
  color: var(--state-yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-corpus-boundary[data-status="held"] {
  border-color: rgba(213, 103, 103, 0.4);
  background: rgba(213, 103, 103, 0.08);
  color: #f1b4b4;
}

.state-atlas-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.state-atlas-case-card {
  min-width: 0;
  background:
    linear-gradient(145deg, rgba(67, 183, 200, 0.055), transparent 42%),
    var(--state-panel);
}

.state-atlas-case-card:first-child {
  border-color: rgba(67, 183, 200, 0.34);
}

.state-atlas-case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.state-atlas-case-head small {
  color: var(--state-faint);
  font-family: var(--state-mono);
  font-size: 0.64rem;
}

.state-atlas-case-card > h2 {
  margin-top: 1rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.state-atlas-object-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 1.2rem;
  border: 1px solid var(--state-line);
  border-radius: 0.65rem;
  background: var(--state-line);
}

.state-atlas-object-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.75rem;
  background: rgba(5, 7, 6, 0.82);
  color: var(--state-text);
  text-decoration: none;
}

a.state-atlas-object-row:hover {
  background: rgba(67, 183, 200, 0.1);
}

.state-atlas-object-row strong {
  color: var(--state-cyan);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.state-atlas-object-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--state-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state-atlas-object-row code {
  color: #bdc8c3;
  font-family: var(--state-mono);
  font-size: 0.62rem;
}

.state-atlas-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.state-atlas-proof-list li {
  padding: 0.34rem 0.5rem;
  border: 1px solid var(--state-line);
  border-radius: 999px;
  color: var(--state-faint);
  font-size: 0.61rem;
}

/* Reduced v7 homepage: one canonical object first, implementation inventory elsewhere. */
.state-home-nav {
  position: relative;
  z-index: 2;
}

.state-home-shell {
  padding-top: 1.4rem;
}

.state-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: min(700px, calc(100vh - 150px));
  padding: clamp(2rem, 6vw, 5.5rem) 0;
}

.state-home-hero-copy h1 {
  max-width: 860px;
  margin: 1rem 0 1.25rem;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  font-weight: 710;
  letter-spacing: -0.072em;
  line-height: 0.86;
}

.state-home-hero-copy h1 span {
  color: var(--state-cyan);
}

.state-home-hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: var(--state-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.state-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.state-home-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--state-line-strong);
  border-radius: 0.65rem;
  background: rgba(13, 18, 16, 0.88);
  color: var(--state-text);
  font-size: 0.75rem;
  font-weight: 820;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.state-home-button:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 183, 200, 0.55);
  background: var(--state-panel-raised);
}

.state-home-button-primary {
  border-color: rgba(67, 183, 200, 0.52);
  background: var(--state-cyan);
  color: #041012;
}

.state-home-button-primary:hover {
  background: #5bc6d5;
}

.state-home-hero-copy .state-home-boundary-copy {
  max-width: 640px;
  margin-top: 1rem;
  color: var(--state-faint);
  font-family: var(--state-mono);
  font-size: 0.68rem;
  line-height: 1.55;
}

.state-home-instrument {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--state-line-strong);
  border-radius: 1rem;
  background: rgba(5, 8, 7, 0.92);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
}

.state-home-instrument::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(67, 183, 200, 0.1), transparent 35%, rgba(166, 135, 255, 0.07));
  content: "";
}

.state-home-instrument-head,
.state-home-instrument-read {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
}

.state-home-instrument-head {
  border-bottom: 1px solid var(--state-line);
  color: var(--state-muted);
  font-family: var(--state-mono);
  font-size: 0.63rem;
}

.state-home-instrument-head strong {
  color: var(--state-green);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.state-home-state-field {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
  height: 260px;
  padding: 2rem 1rem 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
}

.state-home-state-field i {
  display: block;
  height: 35%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(var(--state-cyan), rgba(67, 183, 200, 0.08));
}

.state-home-state-field i:nth-child(2) { height: 48%; }
.state-home-state-field i:nth-child(3) { height: 31%; }
.state-home-state-field i:nth-child(4) { height: 62%; background: linear-gradient(var(--state-yellow), rgba(242, 183, 5, 0.08)); }
.state-home-state-field i:nth-child(5) { height: 75%; background: linear-gradient(var(--state-yellow), rgba(242, 183, 5, 0.08)); }
.state-home-state-field i:nth-child(6) { height: 55%; }
.state-home-state-field i:nth-child(7) { height: 82%; background: linear-gradient(var(--state-violet), rgba(166, 135, 255, 0.08)); }
.state-home-state-field i:nth-child(8) { height: 92%; background: linear-gradient(var(--state-violet), rgba(166, 135, 255, 0.08)); }
.state-home-state-field i:nth-child(9) { height: 68%; background: linear-gradient(var(--state-violet), rgba(166, 135, 255, 0.08)); }

.state-home-phase-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--state-line);
  border-bottom: 1px solid var(--state-line);
  background: var(--state-line);
}

.state-home-phase-ribbon span,
.state-home-phase-ribbon strong {
  padding: 0.65rem;
  background: rgba(8, 12, 10, 0.96);
  color: var(--state-faint);
  font-size: 0.61rem;
  text-align: center;
  text-transform: uppercase;
}

.state-home-phase-ribbon strong {
  color: var(--state-violet);
}

.state-home-instrument-read {
  align-items: flex-start;
  flex-direction: column;
}

.state-home-instrument-read span {
  color: var(--state-faint);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-home-instrument-read strong {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.state-home-instrument-read code {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--state-muted);
  font-family: var(--state-mono);
  font-size: 0.61rem;
}

.state-home-exact-id {
  margin-top: 0;
}

.state-home-transition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 0.75rem;
  align-items: stretch;
}

.state-home-transition-state {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid var(--state-line);
  border-radius: 0.85rem;
  background: var(--state-panel);
}

.state-home-transition-state span {
  color: var(--state-faint);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-home-transition-state strong {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}

.state-home-transition-state.is-selected {
  border-color: rgba(166, 135, 255, 0.42);
  background: linear-gradient(145deg, rgba(166, 135, 255, 0.1), var(--state-panel));
}

.state-home-transition-arrow {
  align-self: center;
  color: var(--state-cyan);
  font-size: 1.7rem;
}

.state-home-transition-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.state-home-votes {
  margin-top: 0.75rem;
}

.state-home-projection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.state-home-projection-grid .state-action-card b {
  margin-top: auto;
  color: var(--state-cyan);
  font-size: 0.72rem;
}

.state-home-agent-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid var(--state-line);
  border-radius: 0.75rem;
  background: var(--state-line);
}

.state-home-agent-boundary > div {
  padding: 1rem;
  background: var(--state-panel);
}

.state-home-agent-boundary span {
  color: var(--state-cyan);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-home-agent-boundary > div:last-child span {
  color: var(--state-red);
}

.state-home-agent-boundary p {
  margin: 0.5rem 0 0;
  color: var(--state-muted);
  font-size: 0.78rem;
}

.state-home-atlas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.state-home-atlas-grid .state-atlas-case-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.state-home-atlas-grid .state-atlas-proof-list {
  margin-top: auto;
  padding-top: 1rem;
}

.state-home-section-action {
  margin-top: 1rem;
  text-align: right;
}

.state-home-trust {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--state-line-strong);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 95% 0, rgba(67, 183, 200, 0.12), transparent 26rem),
    var(--state-panel);
}

.state-home-trust h2 {
  margin: 0.55rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
}

.state-home-trust p {
  max-width: 680px;
  margin: 0;
  color: var(--state-muted);
  line-height: 1.65;
}

.state-home-trust-actions {
  display: grid;
  gap: 0.65rem;
}

.state-home-text-link {
  color: var(--state-muted);
  font-size: 0.72rem;
  text-align: center;
}

.state-home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .state-object-hero,
  .state-atlas-grid {
    grid-template-columns: 1fr;
  }

  .state-exact-id,
  .state-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .state-home-hero,
  .state-home-trust {
    grid-template-columns: 1fr;
  }

  .state-home-transition {
    grid-template-columns: 1fr auto 1fr;
  }

  .state-home-transition-story {
    grid-column: 1 / -1;
    min-height: 130px;
  }

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

@media (max-width: 620px) {
  :root {
    --state-rail: min(100% - 28px, 1180px);
  }

  .state-object-nav,
  .state-object-footer,
  .state-fixture-banner,
  .state-section-head,
  .state-corpus-boundary {
    align-items: flex-start;
    flex-direction: column;
  }

  .state-object-nav {
    padding: 1rem 0;
  }

  .state-object-shell {
    padding-top: 2rem;
  }

  .state-story-grid,
  .state-agent-lab-grid,
  .state-vote-grid,
  .state-trust-grid,
  .state-action-grid,
  .state-exact-id,
  .state-atlas-case-grid,
  .state-home-atlas-grid,
  .state-home-agent-boundary {
    grid-template-columns: 1fr;
  }

  .state-home-hero {
    min-height: 0;
    padding: 2.5rem 0 3rem;
  }

  .state-home-hero-copy h1 {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .state-home-actions,
  .state-home-actions .state-home-button {
    width: 100%;
  }

  .state-home-state-field {
    height: 210px;
  }

  .state-home-transition {
    grid-template-columns: 1fr;
  }

  .state-home-transition-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .state-home-transition-story {
    grid-column: auto;
  }

  .state-atlas-object-row {
    grid-template-columns: 1fr;
  }

  .state-atlas-object-row span {
    white-space: normal;
  }

  .state-home-section-action,
  .state-home-section-action .state-home-button {
    width: 100%;
  }

  .state-agent-lab-boundary {
    flex-direction: column;
  }

  .state-frontier article {
    grid-template-columns: 1fr;
  }

  .state-frontier small {
    grid-column: 1;
  }
}

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

  .state-action-card {
    transition: none;
  }
}
