:root {
  --night-ink: #101020;
  --deep-panel: #202030;
  --panel-2: #181829;
  --strange-purple: #8f4dff;
  --true-cyan: #5fd8ff;
  --idea-gold: #ffd166;
  --help-green: #62f6a5;
  --minjerribah-aqua: #90f0e0;
  --soft-white: #f7f3ff;
  --ink-text: #17202a;
  --muted-light: #c9c3de;
  --paper: #f4fbfa;
  --line: rgba(144, 240, 224, 0.22);
  --heading: "Nunito Sans", "Avenir Next", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Source Sans 3", Arial, sans-serif;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night-ink);
  color: var(--soft-white);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: inherit;
}

code {
  color: var(--idea-gold);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.skip-link {
  background: var(--idea-gold);
  color: var(--ink-text);
  left: 1rem;
  padding: 0.6rem 0.8rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(16, 16, 32, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0.8rem 1.25rem;
}

.brand-mark {
  color: var(--soft-white);
  display: grid;
  font-family: var(--heading);
  font-weight: 900;
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark .brand-strange {
  color: var(--strange-purple);
  text-shadow: 0 0 12px rgba(143, 77, 255, 0.8);
}

.brand-mark .brand-but {
  color: var(--true-cyan);
  text-shadow: 0 0 12px rgba(95, 216, 255, 0.8);
}

.brand-mark .brand-true {
  color: var(--idea-gold);
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.7);
}

.brand-subtitle {
  color: var(--muted-light);
  font-size: 0.7rem;
  letter-spacing: 0;
  margin-top: 0.25rem;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.nav-links a {
  color: var(--muted-light);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--minjerribah-aqua);
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(247, 243, 255, 0.45);
  border-radius: 8px;
  color: var(--soft-white);
  display: none;
  font-family: var(--heading);
  font-weight: 800;
  padding: 0.55rem 0.75rem;
}

.hero {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  margin: 0 auto;
  max-width: var(--max-width);
  min-height: calc(88vh - 74px);
  padding: 4rem 1.25rem 3rem;
}

.compact-hero {
  min-height: auto;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  color: var(--help-green);
  font-family: var(--heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

h1 {
  color: var(--soft-white);
  font-size: clamp(2.6rem, 5.7vw, 5rem);
  max-width: 11ch;
}

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

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.hero-lede {
  color: var(--muted-light);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  margin-top: 1.35rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  border-radius: 8px;
  display: inline-flex;
  font-family: var(--heading);
  font-weight: 900;
  justify-content: center;
  min-width: 10rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: var(--strange-purple);
  box-shadow: 0 0 22px rgba(143, 77, 255, 0.72);
  color: var(--soft-white);
}

.button.secondary {
  border: 1px solid rgba(95, 216, 255, 0.75);
  color: var(--true-cyan);
}

.field-panel {
  background: linear-gradient(180deg, rgba(32, 32, 48, 0.95), rgba(24, 24, 41, 0.95));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 38px rgba(95, 216, 255, 0.16), 0 20px 70px rgba(0, 0, 0, 0.48);
  padding: 1.2rem;
}

.panel-head {
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
  padding-bottom: 1rem;
}

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

.stat-grid div {
  background: rgba(16, 16, 32, 0.72);
  border: 1px solid rgba(247, 243, 255, 0.09);
  border-radius: 8px;
  padding: 1rem;
}

.stat-grid dt {
  color: var(--muted-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.stat-grid dd {
  color: var(--idea-gold);
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 900;
  margin: 0.15rem 0 0;
}

.intro-band {
  background: var(--minjerribah-aqua);
  color: var(--ink-text);
  padding: 1rem 1.25rem;
}

.intro-band div {
  margin: 0 auto;
  max-width: var(--max-width);
}

.section {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 4rem 1.25rem;
}

.section-heading {
  max-width: 760px;
}

.page-heading {
  padding-bottom: 2rem;
}

.row-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: none;
}

.result-count,
.muted-copy {
  color: var(--muted-light);
}

.control-section {
  padding-bottom: 1.4rem;
}

.package-strip {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.controls {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(150px, 1fr));
  margin-top: 1.6rem;
}

.controls label {
  display: grid;
  gap: 0.4rem;
}

.controls span {
  color: var(--muted-light);
  font-family: var(--heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink-text);
  font: inherit;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

input:focus,
select:focus {
  border-color: var(--idea-gold);
  outline: none;
}

.catalogue-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.service-card {
  background: var(--deep-panel);
  border: 1px solid rgba(144, 240, 224, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.service-card p {
  color: var(--muted-light);
}

.card-link {
  color: var(--true-cyan);
  font-family: var(--heading);
  font-weight: 900;
  text-decoration: none;
}

.card-link:hover,
.card-link:focus {
  color: var(--idea-gold);
}

.doc-card {
  background: var(--deep-panel);
  border: 1px solid rgba(144, 240, 224, 0.18);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 250px;
  padding: 1rem;
}

.doc-card.is-selected {
  border-color: rgba(98, 246, 165, 0.8);
  box-shadow: 0 0 22px rgba(98, 246, 165, 0.16);
}

.doc-card h3 {
  color: var(--soft-white);
}

.doc-meta {
  color: var(--muted-light);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 0.4rem;
}

.badge {
  border: 1px solid rgba(247, 243, 255, 0.16);
  border-radius: 999px;
  color: var(--muted-light);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.24rem 0.55rem;
}

.badge.public {
  border-color: rgba(98, 246, 165, 0.55);
  color: var(--help-green);
}

.badge.review {
  border-color: rgba(255, 209, 102, 0.62);
  color: var(--idea-gold);
}

.badge.private {
  border-color: rgba(255, 145, 145, 0.55);
  color: #ffb1b1;
}

.doc-path {
  color: var(--true-cyan);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.select-row {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.select-row input {
  min-height: auto;
  width: auto;
}

.headings {
  color: var(--muted-light);
  font-size: 0.88rem;
  margin-top: auto;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.table-shell {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--idea-gold);
  font-family: var(--heading);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: var(--muted-light);
}

.domain-list {
  display: grid;
  gap: 0.55rem;
}

.domain-row,
.connection-row {
  align-items: center;
  background: rgba(32, 32, 48, 0.82);
  border: 1px solid rgba(144, 240, 224, 0.15);
  border-radius: 8px;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) 4.5rem;
  padding: 0.7rem 0.85rem;
}

.domain-row span:first-child {
  overflow-wrap: anywhere;
}

.domain-row span:last-child {
  color: var(--idea-gold);
  font-family: var(--heading);
  font-weight: 900;
  text-align: right;
}

.connection-list {
  display: grid;
  gap: 0.55rem;
}

.connection-row {
  grid-template-columns: minmax(0, 1fr) 4rem;
}

.connection-row strong {
  color: var(--soft-white);
}

.connection-row small {
  color: var(--muted-light);
  display: block;
  margin-top: 0.15rem;
}

.connection-row span:last-child {
  color: var(--idea-gold);
  font-family: var(--heading);
  font-weight: 900;
  text-align: right;
}

.map-link {
  color: var(--true-cyan);
  font-weight: 700;
  margin-top: 1rem;
}

.graph-section {
  max-width: min(1280px, 100%);
}

.graph-layout,
.package-layout {
  align-items: start;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  margin-top: 1.5rem;
}

.graph-layout-wide {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}

.graph-mode-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.graph-canvas-shell {
  background: radial-gradient(circle at 50% 45%, rgba(95, 216, 255, 0.08), rgba(16, 16, 32, 0.2) 45%, rgba(16, 16, 32, 0.85));
  border: 1px solid var(--line);
  border-radius: 8px;
  align-self: start;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.graph-canvas-3d-shell {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 209, 102, 0.2), transparent 26%),
    radial-gradient(circle at 82% 76%, rgba(98, 246, 165, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(95, 216, 255, 0.2), rgba(16, 16, 32, 0.12) 42%, rgba(16, 16, 32, 0.86));
}

.graph-canvas-3d {
  height: min(72vh, 680px);
  min-height: 460px;
  touch-action: none;
  width: 100%;
}

.graph-canvas-3d canvas {
  display: block;
  height: 100% !important;
  width: 100% !important;
}

.fallback-graph {
  display: none !important;
}

.webgl-failed .graph-canvas-3d {
  display: none;
}

.webgl-failed .fallback-graph {
  display: block !important;
}

.graph-canvas {
  display: block;
  height: min(70vh, 620px);
  min-height: 420px;
  width: 100%;
}

.graph-edge {
  stroke: rgba(144, 240, 224, 0.22);
  stroke-linecap: round;
}

.graph-node {
  cursor: pointer;
}

.graph-node circle {
  fill: var(--deep-panel);
  stroke: var(--true-cyan);
  stroke-width: 2;
}

.graph-node.is-active circle {
  fill: rgba(143, 77, 255, 0.82);
  stroke: var(--idea-gold);
  stroke-width: 3;
}

.graph-node text {
  fill: var(--soft-white);
  font-family: var(--body);
  font-size: 12px;
  pointer-events: none;
}

.graph-panel,
.package-card {
  background: rgba(32, 32, 48, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.graph-hud {
  align-items: center;
  bottom: 0.85rem;
  color: var(--muted-light);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.55rem;
  left: 0.85rem;
  pointer-events: none;
  position: absolute;
  right: 0.85rem;
}

.graph-hud span {
  background: rgba(16, 16, 32, 0.72);
  border: 1px solid rgba(144, 240, 224, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.keyword-cloud span {
  background: rgba(95, 216, 255, 0.11);
  border: 1px solid rgba(95, 216, 255, 0.28);
  border-radius: 999px;
  color: var(--true-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
}

.graph-file-tools {
  border-top: 1px solid rgba(144, 240, 224, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.connected-summary {
  border-top: 1px solid rgba(144, 240, 224, 0.16);
  margin-top: 1rem;
  padding-top: 1rem;
}

.compact-tool,
.compact-button {
  font-size: 0.84rem;
  min-height: 2.45rem;
  min-width: auto;
  padding: 0.55rem 0.7rem;
}

.compact-button span {
  color: var(--idea-gold);
  margin-left: 0.2rem;
}

.graph-file-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  max-height: 22rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.graph-file-item {
  align-items: start;
  border-bottom: 1px solid rgba(144, 240, 224, 0.14);
  color: var(--muted-light);
  display: grid;
  gap: 0.35rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding-bottom: 0.55rem;
}

.graph-file-item input {
  margin-top: 0.35rem;
  min-height: auto;
  width: auto;
}

.graph-file-item strong {
  color: var(--soft-white);
  display: block;
  font-size: 0.9rem;
}

.graph-file-item small {
  display: block;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.repo-pulse {
  padding-bottom: 0.6rem;
  padding-top: 0;
}

.repo-stat-grid {
  background: rgba(32, 32, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 0.45rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 0;
  padding: 0.55rem;
}

.repo-stat-grid div {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  min-height: 3.4rem;
  padding: 0.7rem 0.85rem;
}

.repo-stat-grid dt {
  font-size: 0.74rem;
  line-height: 1.1;
}

.repo-stat-grid dd {
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1;
  margin-top: 0;
  text-align: right;
}

.repo-atlas-layout {
  align-items: start;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}

.repo-atlas-layout > * {
  min-width: 0;
}

.repo-graph-shell {
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 209, 102, 0.14), transparent 28%),
    radial-gradient(circle at 80% 76%, rgba(95, 216, 255, 0.12), transparent 30%),
    rgba(16, 16, 32, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.repo-graph-3d {
  height: min(64vh, 620px);
  min-height: 430px;
}

.repo-graph {
  display: block;
  min-height: 380px;
  width: 100%;
}

.repo-list-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.repos-page .page-heading {
  padding-bottom: 0.75rem;
  padding-top: 2.25rem;
}

.repos-page .section {
  padding-bottom: 1.35rem;
  padding-top: 1.35rem;
}

.repos-page .page-heading h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.7rem);
  max-width: none;
}

.repos-page .page-heading .hero-lede {
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.55;
  margin-top: 0.75rem;
  max-width: 54rem;
}

.repos-page h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.repo-graph-bg {
  fill: transparent;
}

.repo-edge {
  stroke: rgba(144, 240, 224, 0.26);
  stroke-linecap: round;
}

.repo-node {
  cursor: pointer;
}

.repo-node-fill {
  fill: var(--deep-panel);
  stroke: var(--true-cyan);
  stroke-width: 2;
}

.repo-node.is-active .repo-node-fill {
  stroke: var(--idea-gold);
  stroke-width: 4;
}

.repo-colour-0 {
  fill: rgba(143, 77, 255, 0.72);
}

.repo-colour-1 {
  fill: rgba(95, 216, 255, 0.72);
}

.repo-colour-2 {
  fill: rgba(255, 209, 102, 0.72);
}

.repo-colour-3 {
  fill: rgba(98, 246, 165, 0.72);
}

.repo-colour-4 {
  fill: rgba(255, 122, 168, 0.72);
}

.repo-node text {
  fill: var(--soft-white);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(16, 16, 32, 0.92);
  stroke-width: 5px;
}

.repo-detail {
  background: rgba(32, 32, 48, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 1.4rem;
}

.repo-detail h4 {
  color: var(--idea-gold);
  font-family: var(--heading);
  margin: 1.1rem 0 0.55rem;
}

.repo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.repo-card {
  background: rgba(32, 32, 48, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 1rem;
}

.repo-card.is-active {
  border-color: var(--idea-gold);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.28);
}

.repo-card h3 {
  margin: 0;
}

.repo-card p {
  margin: 0;
}

.repo-card > p:not(.doc-meta):not(.doc-path) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.repo-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.repo-metrics span,
.language-row,
.sparkline {
  background: rgba(16, 16, 32, 0.72);
  border: 1px solid rgba(144, 240, 224, 0.18);
  border-radius: 8px;
}

.repo-metrics span {
  color: var(--muted-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
}

.detail-metrics {
  margin: 0.9rem 0;
}

.language-row {
  display: grid;
  gap: 0.3rem;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  padding: 0.45rem 0.55rem;
  position: relative;
}

.language-row span,
.language-row strong {
  position: relative;
  z-index: 1;
}

.language-row i {
  background: linear-gradient(90deg, rgba(95, 216, 255, 0.32), rgba(255, 209, 102, 0.24));
  bottom: 0;
  left: 0;
  position: absolute;
  top: 0;
}

.sparkline {
  align-items: end;
  display: flex;
  gap: 0.22rem;
  height: 4rem;
  padding: 0.45rem;
}

.sparkline span {
  background: var(--true-cyan);
  border-radius: 999px 999px 0 0;
  flex: 1;
  min-width: 0.35rem;
  opacity: 0.75;
}

.repo-card-actions,
.repo-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--true-cyan);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-align: left;
}

.mini-list,
.selection-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.mini-item,
.selection-item {
  border-bottom: 1px solid rgba(144, 240, 224, 0.14);
  color: var(--muted-light);
  font-size: 0.9rem;
  padding-bottom: 0.55rem;
}

.mini-item a {
  color: var(--true-cyan);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.mini-item a:hover,
.mini-item a:focus {
  color: var(--idea-gold);
}

.package-tools {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tool-button {
  background: transparent;
  border: 1px solid rgba(95, 216, 255, 0.75);
  border-radius: 8px;
  color: var(--true-cyan);
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 900;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
}

.tool-button:hover,
.tool-button:focus {
  border-color: var(--idea-gold);
  color: var(--idea-gold);
}

.contact-section {
  align-items: start;
  background: var(--minjerribah-aqua);
  color: var(--ink-text);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  margin-top: 2rem;
  padding: 4rem max(1.25rem, calc((100vw - var(--max-width)) / 2 + 1.25rem));
}

.contact-section .eyebrow {
  color: #17453d;
}

.contact-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(23, 32, 42, 0.15);
  border-radius: 8px;
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
}

.command-card {
  margin-top: 1rem;
}

.contact-card code {
  color: #32324a;
}

.site-footer {
  color: var(--muted-light);
  font-size: 0.9rem;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 2rem 1.25rem;
}

.to-top {
  background: var(--strange-purple);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 0 22px rgba(143, 77, 255, 0.45);
  color: var(--soft-white);
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 900;
  padding: 0.75rem 0.9rem;
  position: fixed;
  right: 1rem;
  z-index: 30;
}

.to-top:hover,
.to-top:focus {
  background: var(--idea-gold);
  color: var(--ink-text);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    background: var(--deep-panel);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1rem 1.25rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .split,
  .contact-section,
  .graph-layout,
  .repo-atlas-layout,
  .package-layout {
    grid-template-columns: 1fr;
  }

  .controls,
  .catalogue-grid,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .controls,
  .catalogue-grid,
  .service-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

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

  .repo-stat-grid div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .row-heading {
    align-items: start;
    flex-direction: column;
  }

  .graph-canvas-3d {
    height: 66vh;
    min-height: 390px;
  }

  .graph-hud {
    font-size: 0.75rem;
  }
}
