:root {
  --bg: #090b08;
  --bg-soft: #10130e;
  --ink: #f3ead6;
  --ink-soft: rgba(243, 234, 214, 0.72);
  --paper: #f6ecd8;
  --line: rgba(184, 223, 47, 0.12);
  --line-strong: rgba(243, 234, 214, 0.12);
  --panel: rgba(78, 54, 10, 0.82);
  --panel-strong: rgba(88, 61, 12, 0.92);
  --dark: #090b08;
  --dark-2: #10130e;
  --dark-3: #171c15;
  --accent: #b7db2b;
  --accent-soft: rgba(183, 219, 43, 0.16);
  --blue: #768b55;
  --coral: #d59e35;
  --shadow-soft: 0 22px 56px rgba(12, 15, 18, 0.08);
  --shadow-strong: 0 30px 80px rgba(5, 7, 10, 0.24);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: min(1240px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183, 219, 43, 0.12), transparent 24%),
    radial-gradient(circle at right 14%, rgba(110, 133, 56, 0.14), transparent 26%),
    linear-gradient(180deg, #080a07 0%, var(--bg) 100%);
}

body.command-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(183, 219, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 219, 43, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(rgba(0, 0, 0, 0.48) 0.45px, transparent 0.45px);
  background-size: 20px 20px;
  mix-blend-mode: multiply;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--max);
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 8px -10px;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(11, 13, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  opacity: 0.92;
  object-fit: contain;
}

.brand {
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 239, 0.12);
  color: rgba(247, 244, 239, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-nav a {
  color: rgba(247, 244, 239, 0.84);
  font-size: 0.86rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
}

.site-nav a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 5px;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta,
.button,
.system-link,
.detail-link,
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(247, 244, 239, 0.1);
  border-radius: 999px;
  background: rgba(243, 234, 214, 0.04);
  color: rgba(247, 244, 239, 0.84);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-jump:hover,
.header-jump:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(183, 219, 43, 0.2);
  background: rgba(243, 234, 214, 0.08);
  color: var(--paper);
}

.header-jump-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(247, 244, 239, 0.05);
  color: rgba(247, 244, 239, 0.64);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.header-cta,
.button-primary,
.page-link,
.system-link,
.detail-link {
  background: var(--accent);
  color: #0b0d08;
  font-weight: 700;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible,
.system-link:hover,
.system-link:focus-visible,
.detail-link:hover,
.detail-link:focus-visible,
.page-link:hover,
.page-link:focus-visible {
  transform: translateY(-1px);
}

.button-copy {
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(183, 219, 43, 0.14);
  background: rgba(20, 25, 18, 0.3);
  color: var(--paper);
  font-size: 0.9rem;
}

.button-copy:hover,
.button-copy:focus-visible {
  border-color: rgba(183, 219, 43, 0.28);
  background: rgba(20, 25, 18, 0.5);
}

.button {
  border: 1px solid transparent;
  font-weight: 700;
}

.button-secondary {
  border-color: rgba(243, 234, 214, 0.08);
  background: rgba(243, 234, 214, 0.04);
  color: var(--paper);
}

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

.section {
  padding: 88px 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: rgba(243, 234, 214, 0.04);
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(183, 219, 43, 0.45) 0%, rgba(183, 219, 43, 1) 70%, rgba(243, 234, 214, 0.88) 100%);
  box-shadow: 0 0 18px rgba(183, 219, 43, 0.35);
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 84px 16px 24px;
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.command-open .command-palette {
  opacity: 1;
  pointer-events: auto;
}

.command-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(5, 7, 6, 0.74);
  backdrop-filter: blur(18px);
}

.command-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100svh - 108px);
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border-radius: 30px;
  border: 1px solid rgba(183, 219, 43, 0.12);
  background: linear-gradient(180deg, rgba(18, 22, 16, 0.98) 0%, rgba(10, 12, 9, 0.98) 100%);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.42);
  transform: translateY(12px) scale(0.985);
  transition: transform 220ms ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 219, 43, 0.6) rgba(243, 234, 214, 0.08);
}

body.command-open .command-dialog {
  transform: translateY(0) scale(1);
}

.command-dialog::-webkit-scrollbar {
  width: 12px;
}

.command-dialog::-webkit-scrollbar-track {
  background: rgba(243, 234, 214, 0.06);
  border-radius: 999px;
}

.command-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(183, 219, 43, 0.9) 0%, rgba(213, 158, 53, 0.72) 100%);
  border: 2px solid rgba(10, 12, 9, 0.98);
  border-radius: 999px;
}

.command-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.command-title {
  margin: 8px 0 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.command-close {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(243, 234, 214, 0.04);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.command-search {
  display: block;
  margin-top: 20px;
}

.command-input {
  width: 100%;
  min-height: 64px;
  padding: 0 22px;
  border: 1px solid rgba(247, 244, 239, 0.1);
  border-radius: 22px;
  background: rgba(243, 234, 214, 0.05);
  color: var(--paper);
  font: inherit;
  font-size: 1.02rem;
}

.command-input::placeholder {
  color: rgba(243, 234, 214, 0.42);
}

.command-input:focus {
  outline: none;
  border-color: rgba(183, 219, 43, 0.28);
  box-shadow: 0 0 0 4px rgba(183, 219, 43, 0.08);
}

.command-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.command-meta p {
  margin: 0;
  color: rgba(243, 234, 214, 0.62);
  font-size: 0.92rem;
  line-height: 1.6;
}

.command-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(183, 219, 43, 0.14);
  background: rgba(183, 219, 43, 0.1);
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
}

.command-results {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.command-result {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: rgba(243, 234, 214, 0.04);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.command-result:hover,
.command-result.is-selected {
  transform: translateY(-1px);
  border-color: rgba(183, 219, 43, 0.14);
  background: rgba(183, 219, 43, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.command-result-group {
  color: rgba(183, 219, 43, 0.74);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.command-result-title {
  color: var(--paper);
  font-size: 1.02rem;
}

.command-result-body {
  color: rgba(243, 234, 214, 0.66);
  line-height: 1.6;
}

.command-empty {
  padding: 22px;
  border-radius: 22px;
  background: rgba(243, 234, 214, 0.04);
  color: rgba(243, 234, 214, 0.62);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 28px;
  align-items: start;
  min-height: clamp(680px, calc(100svh - 110px), 820px);
  padding: 56px 32px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(200, 238, 115, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(156, 184, 255, 0.18), transparent 22%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--paper);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 680px;
  padding: 28px 12px 24px 0;
}

.hero-signal-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 35% 40%, rgba(0, 0, 0, 0.95), transparent 90%);
}

.eyebrow,
.board-overline,
.contact-label,
.capability-number,
.process-step,
.proof-value,
.system-label,
.page-kicker,
.page-section-label,
.page-stat-label,
.page-mini-title {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(247, 244, 239, 0.66);
  font-size: 0.75rem;
}

.eyebrow-dark {
  color: rgba(183, 219, 43, 0.72);
}

.hero h1,
.page-title,
.section-heading h2,
.manifesto h2,
.pressure-copy h2,
.contact-copy h2,
.proof-copy h2,
.page-hero h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.94;
}

.hero h1 span,
.page-title span {
  color: var(--accent);
  font-style: italic;
}

.hero-body,
.page-summary {
  max-width: 42rem;
  margin: 22px 0 0;
  color: rgba(247, 244, 239, 0.86);
  font-size: clamp(1.05rem, 1.85vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions,
.page-hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-tags,
.chip-list,
.fit-list,
.system-metrics,
.page-statbar,
.page-chip-list,
.page-list,
.page-checklist,
.page-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-tags li,
.chip-list li,
.fit-list li,
.system-metrics li,
.page-chip-list li,
.page-checklist li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero-tags li {
  border: 1px solid rgba(247, 244, 239, 0.12);
  background: rgba(247, 244, 239, 0.06);
  color: rgba(247, 244, 239, 0.84);
}

.hero-board {
  position: relative;
  z-index: 2;
  min-height: 0;
}

.board-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 18px;
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(247, 244, 239, 0.1);
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.06), rgba(247, 244, 239, 0.02)),
    rgba(247, 244, 239, 0.02);
  overflow: hidden;
}

.board-shell::before,
.board-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.board-shell::before {
  background-image:
    linear-gradient(rgba(247, 244, 239, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 239, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.5;
}

.board-shell::after {
  background: radial-gradient(circle at 20% 18%, rgba(200, 238, 115, 0.18), transparent 24%);
}

.board-topline,
.board-core,
.board-nodes {
  position: relative;
  z-index: 1;
}

.board-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-overline {
  margin: 0;
  color: rgba(247, 244, 239, 0.58);
  font-size: 0.74rem;
}

.board-status {
  margin: 0;
  max-width: 220px;
  text-align: right;
  color: rgba(247, 244, 239, 0.64);
  font-size: 0.82rem;
  line-height: 1.5;
}

.board-core {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(247, 244, 239, 0.05);
}

.board-index {
  display: block;
  margin-bottom: 6px;
  color: rgba(200, 238, 115, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.board-core h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.02;
}

.board-core p {
  max-width: 28rem;
  margin: 14px 0 0;
  color: rgba(247, 244, 239, 0.8);
  line-height: 1.7;
}

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

.board-node {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(247, 244, 239, 0.04);
}

.board-node h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.board-node p {
  margin: 0;
  color: rgba(247, 244, 239, 0.74);
  line-height: 1.58;
}

.proof-shell,
.manifesto {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(85, 58, 11, 0.94) 0%, rgba(68, 46, 9, 0.96) 100%);
  border: 1px solid rgba(183, 219, 43, 0.08);
  box-shadow: var(--shadow-soft);
}

.proof-copy h2,
.section-heading h2,
.manifesto h2,
.pressure-copy h2,
.contact-copy h2,
.page-hero h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.9rem);
  line-height: 0.98;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-lede,
.page-section-copy,
.page-panel p,
.page-panel li,
.page-summary-list li,
.page-caption {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.section-lede {
  max-width: 44rem;
  margin: 0;
}

.section-lede-compact {
  max-width: 33rem;
}

.section-lede-dark,
.section-lede-contact {
  color: rgba(247, 244, 239, 0.74);
}

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

.proof-stat {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(183, 219, 43, 0.08);
  background: rgba(20, 25, 18, 0.42);
  box-shadow: var(--shadow-soft);
}

.proof-value {
  display: block;
  margin-bottom: 10px;
  color: rgba(183, 219, 43, 0.72);
  font-size: 0.74rem;
}

.proof-stat p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.35;
}

.proof-stat,
.system-card,
.detail-card,
.additional-card,
.capability-card,
.pressure-card,
.process-card,
.principal-card,
.contact-card,
.page-panel,
.page-hero-card,
.page-art-card,
.quote-block {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.proof-stat::before,
.system-card::before,
.detail-card::before,
.additional-card::before,
.capability-card::before,
.pressure-card::before,
.process-card::before,
.principal-card::before,
.contact-card::before,
.page-panel::before,
.page-hero-card::before,
.page-art-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -36% 28%;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 219, 43, 0.18) 0%, rgba(183, 219, 43, 0.05) 36%, transparent 72%);
  opacity: 0.72;
  filter: blur(6px);
  pointer-events: none;
  animation: panelGlowDrift 14s ease-in-out infinite;
}

.proof-stat::after,
.system-card::after,
.detail-card::after,
.additional-card::after,
.capability-card::after,
.pressure-card::after,
.process-card::after,
.principal-card::after,
.contact-card::after,
.page-panel::after,
.page-hero-card::after,
.page-art-card::after,
.quote-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: -24%;
  width: 148px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 219, 43, 0.56), transparent);
  opacity: 0.44;
  pointer-events: none;
  animation: panelSweep 9s linear infinite;
}

.proof-stat,
.detail-card,
.additional-card,
.capability-card,
.pressure-card,
.process-card,
.principal-card,
.contact-card,
.page-panel,
.page-hero-card,
.page-art-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.proof-stat:hover,
.proof-stat:focus-within,
.detail-card:hover,
.detail-card:focus-within,
.additional-card:hover,
.additional-card:focus-within,
.capability-card:hover,
.capability-card:focus-within,
.pressure-card:hover,
.pressure-card:focus-within,
.process-card:hover,
.process-card:focus-within,
.principal-card:hover,
.principal-card:focus-within,
.contact-card:hover,
.contact-card:focus-within,
.page-panel:hover,
.page-panel:focus-within,
.page-hero-card:hover,
.page-art-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.quote-block {
  max-width: 38rem;
  margin-top: 26px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(183, 219, 43, 0.14);
}

.quote-block p {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.2;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.system-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.system-card:hover,
.system-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.system-card--ink {
  color: var(--paper);
  background: linear-gradient(180deg, #11161b 0%, #090b0d 100%);
}

.system-card--sand {
  color: var(--paper);
  background: linear-gradient(180deg, rgba(88, 61, 12, 0.98) 0%, rgba(71, 48, 9, 0.98) 100%);
}

.system-card--signal {
  color: var(--paper);
  background: linear-gradient(180deg, rgba(28, 39, 22, 0.98) 0%, rgba(17, 25, 14, 0.98) 100%);
}

.system-visual {
  display: grid;
  gap: 14px;
}

.system-label {
  color: currentColor;
  opacity: 0.6;
  font-size: 0.74rem;
  margin: 0;
}

.system-art {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 260ms ease, filter 260ms ease;
}

.system-card:hover .system-art,
.system-card:focus-within .system-art {
  transform: scale(1.02);
  filter: saturate(1.08) brightness(1.04);
}

.system-card--sand .system-art,
.system-card--signal .system-art {
  border-color: rgba(183, 219, 43, 0.12);
}

.system-body {
  display: grid;
  gap: 14px;
}

.system-card h3,
.capability-card h3,
.process-card h3,
.pressure-card h3,
.page-panel h2,
.page-panel h3,
.page-stat-value {
  margin: 0;
}

.system-card h3,
.capability-card h3,
.process-card h3,
.pressure-card h3,
.page-panel h3 {
  font-size: 1.5rem;
  line-height: 1.12;
}

.system-summary,
.detail-summary,
.capability-card p,
.process-card p,
.pressure-card p,
.contact-card,
.availability-note,
.page-panel p,
.page-panel li,
.page-summary-list li,
.page-caption {
  margin: 0;
}

.system-card--ink .system-summary,
.system-card--ink .system-metrics li,
.system-card--ink .chip-list li,
.system-card--sand .system-summary,
.system-card--sand .system-metrics li,
.system-card--sand .chip-list li,
.system-card--signal .system-summary,
.system-card--signal .system-metrics li,
.system-card--signal .chip-list li {
  color: rgba(243, 234, 214, 0.8);
}

.system-metrics,
.page-summary-list,
.page-list,
.page-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-metrics li,
.page-checklist li {
  background: rgba(243, 234, 214, 0.06);
  color: rgba(243, 234, 214, 0.82);
}

.system-card--ink .system-metrics li,
.system-card--ink .chip-list li,
.page-hero .page-checklist li {
  background: rgba(243, 234, 214, 0.08);
  color: rgba(243, 234, 214, 0.82);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list li,
.page-chip-list li {
  background: rgba(183, 219, 43, 0.08);
  color: rgba(183, 219, 43, 0.92);
}

.system-card--ink .system-link {
  background: var(--paper);
  color: var(--ink);
}

.detail-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(183, 219, 43, 0.08);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.detail-label {
  margin: 0;
  color: rgba(183, 219, 43, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.14;
}

.detail-summary {
  color: var(--ink-soft);
  line-height: 1.74;
}

.detail-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.detail-list li {
  padding-left: 18px;
  position: relative;
  color: rgba(243, 234, 214, 0.82);
  line-height: 1.65;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.detail-link {
  justify-self: start;
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.additional-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.additional-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(183, 219, 43, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.additional-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.12;
}

.additional-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(183, 219, 43, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.capability-card:nth-child(1),
.capability-card:nth-child(4) {
  grid-column: span 7;
}

.capability-card:nth-child(2),
.capability-card:nth-child(3) {
  grid-column: span 5;
}

.capability-head {
  display: grid;
  gap: 10px;
}

.capability-number,
.process-step,
.page-kicker,
.page-section-label,
.page-stat-label,
.page-mini-title {
  color: rgba(183, 219, 43, 0.72);
  font-size: 0.74rem;
}

.pressure-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--paper);
  box-shadow: var(--shadow-strong);
}

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

.pressure-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(247, 244, 239, 0.04);
}

.pressure-card h3 {
  color: var(--paper);
}

.pressure-card p {
  margin-top: 12px;
  color: rgba(247, 244, 239, 0.68);
  line-height: 1.72;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  border-top: 3px solid var(--accent);
  border-left: 1px solid rgba(183, 219, 43, 0.08);
  border-right: 1px solid rgba(183, 219, 43, 0.08);
  border-bottom: 1px solid rgba(183, 219, 43, 0.08);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.principal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--paper);
  box-shadow: var(--shadow-strong);
}

.principal-logo {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: 22px;
  opacity: 0.88;
}

.principal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.principal-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(247, 244, 239, 0.08);
  background: rgba(247, 244, 239, 0.04);
}

.principal-card h3 {
  margin: 0;
  color: var(--paper);
  font-size: 1.2rem;
}

.principal-card p {
  margin: 12px 0 0;
  color: rgba(247, 244, 239, 0.68);
  line-height: 1.72;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(88, 61, 12, 0.98) 0%, rgba(67, 45, 9, 0.98) 100%);
  color: var(--paper);
  box-shadow: var(--shadow-strong);
}

.availability-note {
  color: rgba(247, 244, 239, 0.62);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(183, 219, 43, 0.08);
  background: rgba(20, 25, 18, 0.28);
  color: rgba(243, 234, 214, 0.74);
  line-height: 1.72;
}

.contact-label {
  margin: 0 0 10px;
  color: rgba(247, 244, 239, 0.54);
  font-size: 0.74rem;
}

.contact-email {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--paper);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.fit-list {
  display: grid;
  gap: 10px;
}

.fit-list li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(20, 25, 18, 0.28);
  color: rgba(243, 234, 214, 0.78);
}

.site-footer {
  width: var(--max);
  margin: 0 auto;
  padding: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(243, 234, 214, 0.56);
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panelGlowDrift {
  0%,
  100% {
    transform: translate3d(-2%, 0, 0) scale(0.96);
  }

  50% {
    transform: translate3d(2%, -10%, 0) scale(1.06);
  }
}

@keyframes panelSweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  18%,
  82% {
    opacity: 0.42;
  }

  100% {
    transform: translateX(980px);
    opacity: 0;
  }
}

.case-body .site-footer {
  padding-top: 0;
}

.case-body {
  background:
    radial-gradient(circle at top left, rgba(183, 219, 43, 0.12), transparent 24%),
    radial-gradient(circle at right 14%, rgba(110, 133, 56, 0.14), transparent 26%),
    linear-gradient(180deg, #080a07 0%, var(--bg) 100%);
}

.page-shell {
  padding: 36px 0 0;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.page-back:hover,
.page-back:focus-visible {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 999;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0d08;
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0;
  transition: top 200ms ease, opacity 200ms ease;
}

.skip-link:focus {
  top: 12px;
  opacity: 1;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
  padding: 36px 0 48px;
}

.page-hero-card,
.page-art-card,
.page-panel {
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.page-hero-card {
  padding: 32px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--paper);
}

.page-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.page-kicker {
  color: rgba(247, 244, 239, 0.58);
  margin: 0;
}

.page-snapshot {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(183, 219, 43, 0.2);
  background: rgba(183, 219, 43, 0.08);
  color: rgba(247, 244, 239, 0.76);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 13ch;
}

.page-art-card {
  padding: 22px;
  background: rgba(88, 61, 12, 0.92);
  border: 1px solid rgba(183, 219, 43, 0.08);
}

.page-art-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 22px;
}

.page-statbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.page-statbar li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(247, 244, 239, 0.05);
  border: 1px solid rgba(247, 244, 239, 0.08);
}

.page-stat-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1;
}

.page-stat-label {
  color: rgba(247, 244, 239, 0.58);
}

.page-section {
  padding: 0 0 22px;
}

.page-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.page-grid-2,
.page-grid-3 {
  display: grid;
  gap: 18px;
}

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

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

.page-panel {
  padding: 24px;
  border: 1px solid rgba(183, 219, 43, 0.08);
  background: rgba(88, 61, 12, 0.92);
}

.page-panel--dark {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--paper);
  border-color: rgba(247, 244, 239, 0.08);
  box-shadow: var(--shadow-strong);
}

.page-panel--dark p,
.page-panel--dark li,
.page-panel--dark .page-section-copy,
.page-panel--dark .page-caption,
.page-panel--dark .page-mini-title {
  color: rgba(247, 244, 239, 0.76);
}

.page-mini-title {
  display: block;
  margin-bottom: 12px;
}

.page-summary-list,
.page-list,
.page-checklist {
  display: grid;
  gap: 12px;
}

.page-summary-list li,
.page-list li {
  padding-left: 0;
}

.page-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-chip-list li {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

.page-cta {
  padding: 54px 0 88px;
}

.page-cta-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(88, 61, 12, 0.92);
  border: 1px solid rgba(183, 219, 43, 0.08);
  box-shadow: var(--shadow-soft);
}

.page-cta-shell h2 {
  margin: 0 0 10px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

@media (max-width: 1180px) {
  .proof-shell,
  .manifesto,
  .page-hero,
  .pressure-shell,
  .principal-shell,
  .contact-shell,
  .hero {
    grid-template-columns: 1fr;
  }

  .proof-stats,
  .systems-grid,
  .detail-grid,
  .additional-grid,
  .page-grid-3,
  .page-statbar,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card,
  .capability-card:nth-child(1),
  .capability-card:nth-child(2),
  .capability-card:nth-child(3),
  .capability-card:nth-child(4) {
    grid-column: auto;
  }

  .capabilities-grid,
  .page-grid-2,
  .pressure-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress-bar,
  .system-card,
  .proof-stat,
  .detail-card,
  .additional-card,
  .capability-card,
  .pressure-card,
  .process-card,
  .principal-card,
  .contact-card,
  .page-panel,
  .page-hero-card,
  .page-art-card,
  .system-art,
  .button,
  .header-cta,
  .header-jump,
  .detail-link,
  .page-link,
  .command-palette,
  .command-dialog,
  .command-result {
    transition: none;
  }

  .hero-signal-field {
    display: none;
  }

  .proof-stat::before,
  .proof-stat::after,
  .system-card::before,
  .system-card::after,
  .detail-card::before,
  .detail-card::after,
  .additional-card::before,
  .additional-card::after,
  .capability-card::before,
  .capability-card::after,
  .pressure-card::before,
  .pressure-card::after,
  .process-card::before,
  .process-card::after,
  .principal-card::before,
  .principal-card::after,
  .contact-card::before,
  .contact-card::after,
  .page-panel::before,
  .page-panel::after,
  .page-hero-card::before,
  .page-hero-card::after,
  .page-art-card::before,
  .page-art-card::after,
  .quote-block::after {
    animation: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    order: 3;
  }

  .header-jump {
    display: none;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 5;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: max-height 350ms ease, padding 350ms ease;
  }

  .site-nav.is-open {
    max-height: 320px;
    padding: 12px 0 6px;
  }

  .site-nav a {
    display: block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: rgba(247, 244, 239, 0.06);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 24px;
  }

  .page-hero-card {
    padding: 28px 24px;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .proof-shell,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .pressure-shell,
  .principal-shell {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .proof-stats,
  .systems-grid,
  .detail-grid,
  .additional-grid,
  .capabilities-grid,
  .pressure-grid,
  .process-grid,
  .page-grid-2,
  .page-grid-3,
  .page-statbar {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .capability-card:nth-child(1),
  .capability-card:nth-child(2),
  .capability-card:nth-child(3),
  .capability-card:nth-child(4) {
    grid-column: auto;
  }

  .additional-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .board-nodes {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --max: min(100% - 20px, 1240px);
  }

  .brand-tag {
    display: none;
  }

  .site-header {
    gap: 10px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .command-palette {
    padding: 72px 10px 16px;
  }

  .command-dialog {
    max-height: calc(100svh - 88px);
    padding: 18px;
    border-radius: 24px;
  }

  .command-topline {
    flex-direction: column;
  }

  .command-close {
    width: 100%;
  }

  .site-header::before {
    inset: 6px -4px;
    border-radius: 28px;
  }

  .button,
  .system-link,
  .page-link {
    width: 100%;
  }

  .hero {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .proof-copy h2,
  .section-heading h2,
  .manifesto h2,
  .pressure-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .proof-shell,
  .manifesto {
    padding: 22px;
    border-radius: 24px;
  }

  .pressure-shell,
  .principal-shell {
    padding: 22px;
    border-radius: 24px;
  }

  .contact-shell {
    padding: 22px;
    border-radius: 24px;
  }

  .board-shell {
    padding: 16px;
    border-radius: 22px;
  }

  .board-core {
    padding: 18px;
    border-radius: 18px;
  }

  .board-core h2 {
    max-width: none;
  }

  .proof-stats {
    grid-template-columns: 1fr 1fr;
  }

  .contact-email {
    font-size: 1.4rem;
    overflow-wrap: anywhere;
  }

  .page-cta-shell {
    padding: 22px;
  }

  .section {
    padding: 56px 0;
  }

  .system-card,
  .detail-card,
  .additional-card,
  .capability-card,
  .pressure-card,
  .process-card,
  .principal-card {
    padding: 20px;
    border-radius: 22px;
  }

  .page-statbar {
    grid-template-columns: 1fr 1fr;
  }
}
