:root {
  --kg-bg: #081019;
  --kg-bg-soft: #0d1620;
  --kg-panel: rgba(11, 19, 28, 0.88);
  --kg-panel-soft: rgba(14, 24, 35, 0.8);
  --kg-line: rgba(255, 255, 255, 0.08);
  --kg-line-strong: rgba(255, 255, 255, 0.14);
  --kg-text: #edf3f6;
  --kg-muted: #9ca8b3;
  --kg-subtle: #72808d;
  --kg-accent: #d7a04a;
  --kg-accent-soft: rgba(215, 160, 74, 0.16);
  --kg-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  --kg-radius: 22px;
  --kg-radius-sm: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(88, 216, 255, 0.08), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(215, 160, 74, 0.1), transparent 26%),
    radial-gradient(circle at 50% 80%, rgba(33, 89, 119, 0.08), transparent 34%),
    linear-gradient(180deg, #071019 0%, #0a141d 48%, #061018 100%);
  color: var(--kg-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
  opacity: 0.34;
}

.masthead,
.page__footer {
  background: transparent;
}

#main {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page {
  float: none;
  width: 100%;
  padding-right: 0;
}

.page__inner-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.archive,
.page {
  width: 100%;
}

.sidebar {
  display: none;
}

.page__content {
  font-size: 1rem;
}

.kg-showcase {
  display: grid;
  gap: 16px;
  padding: 12px 0 44px;
}

.kg-shell {
  width: min(1440px, calc(100vw - 28px));
  margin: 0 auto;
}

.kg-masthead-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(7, 12, 18, 0.74);
  backdrop-filter: blur(18px);
}

.kg-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1600px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.kg-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--kg-text) !important;
  text-decoration: none !important;
}

.kg-brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.08), transparent 34%),
    linear-gradient(180deg, rgba(23, 32, 42, 0.96), rgba(10, 15, 22, 0.98));
  border: 1px solid rgba(215, 160, 74, 0.24);
  color: var(--kg-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kg-brand__text {
  display: grid;
  gap: 2px;
}

.kg-brand__text strong {
  color: var(--kg-text);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.kg-brand__text small {
  color: var(--kg-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.kg-site-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.kg-site-nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(15, 22, 31, 0.82), rgba(8, 13, 18, 0.78));
  color: var(--kg-text) !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: transform 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.kg-site-nav__link:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 160, 74, 0.24);
  background: linear-gradient(180deg, rgba(20, 29, 40, 0.92), rgba(10, 16, 22, 0.88));
}

.kg-hero,
.kg-section,
.kg-system-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--kg-radius);
  border: 1px solid var(--kg-line);
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.88), rgba(7, 13, 20, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.03), transparent 24%);
  box-shadow: var(--kg-shadow);
}

.kg-hero::before,
.kg-section::before,
.kg-system-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.04), transparent 32%),
    radial-gradient(circle at 88% 12%, var(--kg-accent-soft), transparent 24%);
}

.kg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  gap: 14px;
  padding: 18px;
}

.kg-hero__copy,
.kg-hero__visual,
.kg-section__head,
.kg-system-section__head {
  position: relative;
  z-index: 1;
}

.kg-hero__copy {
  align-self: center;
}

.kg-kicker {
  margin: 0;
  color: var(--kg-accent);
  letter-spacing: 0.18em;
  font-size: 11px;
}

.kg-hero h1,
.kg-section h2,
.kg-system-section h2,
.kg-panel__head h2,
.kg-panel__head h3,
.kg-arch-card h3,
.kg-loop-card h3,
.kg-detail-card h3,
.kg-model-card h3,
.kg-material-card h3,
.kg-deploy-card h3 {
  margin: 0;
  color: var(--kg-text);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.kg-hero h1 {
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -0.045em;
  margin-bottom: 10px;
  white-space: nowrap;
}

.kg-hero__lead,
.kg-section__lead,
.kg-system-section__lead {
  max-width: 800px;
}

.kg-hero__lead,
.kg-section__lead,
.kg-system-section__lead,
.kg-arch-card p,
.kg-loop-card p,
.kg-detail-card li,
.kg-material-card li,
.kg-model-card__head p,
.kg-model-card__insight,
.kg-deploy-card p,
.kg-panel p,
.kg-stat-card p,
.kg-mini-card p {
  color: var(--kg-muted);
  line-height: 1.62;
}

.kg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.kg-hero__systems {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kg-hero__systems span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--kg-text);
  font-size: 13px;
}

.kg-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.kg-hero-mini {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(15, 23, 34, 0.92), rgba(10, 15, 22, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.03), transparent 24%);
}

.kg-hero-mini span {
  display: block;
  color: var(--kg-subtle);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.kg-hero-mini strong {
  display: block;
  color: var(--kg-text);
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.kg-hero-mini p {
  margin: 0;
  color: var(--kg-muted);
  line-height: 1.6;
}

.kg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  transition: transform 0.26s ease, border-color 0.26s ease;
}

.kg-button:hover {
  transform: translateY(-2px);
}

.kg-button--primary {
  background: linear-gradient(135deg, #edc57c, #c07b44);
  color: #18120b !important;
}

.kg-button--ghost {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--kg-text) !important;
}

.kg-panel,
.kg-stat-card,
.kg-arch-card,
.kg-loop-card,
.kg-mini-card,
.kg-material-card,
.kg-detail-card,
.kg-model-card,
.kg-deploy-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(14, 24, 35, 0.94), rgba(8, 14, 21, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.03), transparent 20%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 44px rgba(0,0,0,0.2);
}

.kg-panel {
  padding: 18px;
}

.kg-panel--hero-scene svg,
.kg-panel--graph svg,
.kg-panel--graph-stage svg {
  width: 100%;
  display: block;
}

#kg-hero-scene {
  height: 380px;
}

#kg-overview-scene {
  height: 600px;
}

.kg-panel--graph-stage svg {
  height: 580px;
}

.kg-panel__head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

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

.kg-stat-card,
.kg-mini-card {
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.kg-stat-card strong,
.kg-mini-card strong {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  color: var(--kg-text);
}

.kg-stat-card span,
.kg-mini-card span,
.kg-arch-card__index {
  color: var(--kg-subtle);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kg-section,
.kg-system-section {
  padding: 18px;
}

.kg-section__head,
.kg-system-section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.kg-section h2,
.kg-system-section h2 {
  font-size: clamp(26px, 2.8vw, 42px);
}

.kg-architecture-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.kg-arch-card {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.kg-arch-card__index {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.kg-loop-board,
.kg-knowledge-grid,
.kg-material-grid,
.kg-system-grid,
.kg-deploy-grid {
  display: grid;
  gap: 12px;
}

.kg-loop-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kg-loop-card,
.kg-material-card,
.kg-deploy-card {
  padding: 14px;
}

.kg-knowledge-grid {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  margin-bottom: 12px;
}

.kg-overview-board {
  display: grid;
  gap: 10px;
}

.kg-overview-tier {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.kg-overview-tier:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 79px;
  bottom: -10px;
  width: 2px;
  height: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
}

.kg-overview-tier__head {
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(15, 23, 34, 0.96), rgba(9, 15, 22, 0.92));
  display: grid;
  gap: 8px;
}

.kg-overview-tier__head span {
  color: var(--kg-accent);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.kg-overview-tier__head strong {
  color: var(--kg-text);
  font-size: 18px;
}

.kg-overview-tier__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kg-overview-card {
  min-height: 90px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(14, 24, 35, 0.96), rgba(8, 14, 21, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.04), transparent 20%);
  display: grid;
  gap: 8px;
}

.kg-overview-card h4 {
  margin: 0;
  color: var(--kg-text);
  font-size: 15px;
  line-height: 1.35;
}

.kg-overview-card p {
  margin: 0;
  color: var(--kg-muted);
  line-height: 1.55;
}

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

.kg-material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kg-material-card ul,
.kg-detail-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.kg-system-section {
  --section-accent: #d7a04a;
}

.kg-system-section::before {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.04), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(255,255,255,0.05), transparent 18%),
    radial-gradient(circle at 8% 88%, color-mix(in srgb, var(--section-accent) 22%, transparent), transparent 26%);
}

.kg-system-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: start;
  margin-bottom: 12px;
}

.kg-system-grid.is-reverse {
  grid-template-columns: minmax(480px, 1.12fr) minmax(0, 0.88fr);
}

.kg-system-grid.is-reverse .kg-system-grid__content {
  order: 2;
}

.kg-system-grid.is-reverse .kg-panel--graph-stage {
  order: 1;
}

.kg-system-grid__content {
  display: grid;
  gap: 10px;
}

.kg-detail-card {
  padding: 14px;
}

.kg-detail-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.kg-panel--graph-stage {
  min-height: 100%;
}

.kg-graph-story {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: opacity 0.18s ease;
}

.kg-graph-story h4 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--kg-text);
}

.kg-graph-story p {
  margin: 0;
  color: var(--kg-muted);
}

.kg-model-card {
  padding: 16px;
}

.kg-model-card__head {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.kg-bar-chart {
  display: grid;
  gap: 8px;
}

.kg-bar-row {
  display: grid;
  grid-template-columns: 28px 1fr 80px;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, border-color 0.2s;
}

.kg-bar-row:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.kg-bar-row__rank {
  color: var(--kg-subtle);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  opacity: 0.7;
}

.kg-bar-row__body {
  display: grid;
  gap: 6px;
}

.kg-bar-row__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.kg-bar-row__meta strong {
  color: var(--kg-text);
  font-size: 13px;
  line-height: 1.3;
}

.kg-bar-row__meta span {
  color: var(--kg-subtle);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.kg-bar-row__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}

.kg-bar-row__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(.2,.8,.2,1);
}

.kg-bar-row__value {
  color: var(--kg-text);
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}

.kg-model-card__insight {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
}

.kg-deploy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kg-deploy-card {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.kg-scene-bg {
  fill: url(#kg-grid);
  opacity: 0.36;
}

.kg-scene-link {
  fill: none;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 2.1;
  stroke-dasharray: 10 8;
  animation: kg-flow 10s linear infinite;
  transition: opacity 0.65s ease, stroke 0.65s ease, stroke-width 0.65s ease;
}

.kg-scene-link.is-active {
  stroke: url(#kg-accent-line);
  stroke-width: 3.8;
}

.kg-scene-link.is-muted {
  opacity: 0.07;
}

.kg-scene-node {
  transition: opacity 0.65s ease;
  cursor: pointer;
}

.kg-scene-node__body {
  fill: rgba(12, 20, 29, 0.92);
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1.6;
  filter: url(#kg-glow);
}

.kg-scene-node__label {
  fill: var(--kg-text);
  text-anchor: middle;
  font-weight: 700;
  letter-spacing: 0.02em;
  stroke: rgba(6, 11, 16, 0.92);
  stroke-width: 3px;
  paint-order: stroke fill;
  text-rendering: geometricPrecision;
  dominant-baseline: middle;
}

.kg-scene-node--system .kg-scene-node__body {
  fill: color-mix(in srgb, var(--section-accent, var(--kg-accent)) 22%, rgba(12,20,29,0.92));
  stroke: color-mix(in srgb, var(--section-accent, var(--kg-accent)) 48%, rgba(255,255,255,0.12));
}

.kg-scene-node--unit .kg-scene-node__body { fill: rgba(67, 93, 139, 0.26); stroke: rgba(114, 167, 255, 0.32); }
.kg-scene-node--equipment .kg-scene-node__body { fill: rgba(36, 99, 117, 0.24); stroke: rgba(92, 224, 255, 0.3); }
.kg-scene-node--operation .kg-scene-node__body { fill: rgba(62, 84, 125, 0.24); stroke: rgba(154, 196, 255, 0.3); }
.kg-scene-node--fault .kg-scene-node__body { fill: rgba(110, 52, 48, 0.24); stroke: rgba(255, 143, 122, 0.34); }
.kg-scene-node--monitor .kg-scene-node__body { fill: rgba(22, 94, 86, 0.24); stroke: rgba(78, 215, 191, 0.34); }

.kg-scene-node.is-active .kg-scene-node__body {
  stroke: color-mix(in srgb, var(--section-accent, var(--kg-accent)) 70%, #ffffff);
  stroke-width: 2.8;
  filter: url(#kg-glow-active);
  animation: kg-node-pulse 2.5s ease-in-out infinite;
}

.kg-scene-node.is-muted {
  opacity: 0.12;
}

.kg-scene-particle {
  fill: var(--section-accent, var(--kg-accent));
  filter: url(#kg-glow);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.78s cubic-bezier(.2,.8,.2,1), opacity 0.78s cubic-bezier(.2,.8,.2,1);
}

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

@keyframes kg-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -180; }
}

@keyframes kg-node-pulse {
  0%, 100% { stroke-width: 2.8; }
  50% { stroke-width: 3.8; }
}

/* ── Floating Side Navigation ── */

.kg-sidenav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
}

.kg-sidenav__list {
  list-style: none;
  margin: 0;
  padding: 10px 6px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 16, 25, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kg-sidenav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 14px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.22s;
  flex-direction: row-reverse;
}

.kg-sidenav__link:hover {
  background: rgba(255,255,255,0.04);
}

.kg-sidenav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  flex-shrink: 0;
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}

.kg-sidenav__label {
  color: var(--kg-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
}

.kg-sidenav__link:hover .kg-sidenav__label {
  opacity: 1;
  transform: translateX(0);
}

.kg-sidenav__link.is-active .kg-sidenav__dot {
  background: var(--kg-accent);
  box-shadow: 0 0 14px rgba(215,160,74,0.45);
  transform: scale(1.35);
}

.kg-sidenav__link.is-active .kg-sidenav__label {
  color: var(--kg-text);
  opacity: 1;
  transform: translateX(0);
}

/* ── Graph Tooltip ── */

.kg-graph-tooltip {
  position: fixed;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 18, 28, 0.94);
  backdrop-filter: blur(14px);
  color: var(--kg-text);
  font-size: 13px;
  line-height: 1.55;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s;
  max-width: 240px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.kg-graph-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kg-graph-tooltip__kind {
  display: block;
  color: var(--kg-accent);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.kg-graph-tooltip__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--kg-text);
}

.kg-graph-tooltip__desc {
  display: block;
  color: var(--kg-muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.45;
}

@media (max-width: 1360px) {
  .kg-hero,
  .kg-knowledge-grid,
  .kg-system-grid,
  .kg-system-grid.is-reverse {
    grid-template-columns: 1fr;
  }

  .kg-overview-tier {
    grid-template-columns: 1fr;
  }

  .kg-overview-tier__items {
    grid-template-columns: 1fr;
  }

  .kg-architecture-grid,
  .kg-loop-board,
  .kg-material-grid,
  .kg-deploy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .kg-sidenav { display: none; }

  .kg-shell {
    width: min(100vw - 24px, 1460px);
  }

  .kg-masthead {
    flex-direction: column;
    align-items: flex-start;
  }

  .kg-site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .kg-hero,
  .kg-section,
  .kg-system-section {
    padding: 20px;
  }

  .kg-hero__meta {
    grid-template-columns: 1fr;
  }

  .kg-hero h1 {
    font-size: clamp(34px, 10vw, 56px);
    white-space: normal;
  }

  .kg-section h2,
  .kg-system-section h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .kg-stat-grid,
  .kg-knowledge-stats,
  .kg-architecture-grid,
  .kg-loop-board,
  .kg-material-grid,
  .kg-deploy-grid {
    grid-template-columns: 1fr;
  }

  .kg-model-card__head {
    grid-template-columns: 1fr;
  }

  .kg-bar-row {
    grid-template-columns: 1fr;
  }

  .kg-bar-row__rank {
    text-align: left;
  }

  .kg-bar-row__value {
    text-align: left;
  }

  #kg-hero-scene {
    height: 360px;
  }

  #kg-overview-scene,
  .kg-panel--graph-stage svg {
    height: 460px;
  }
}
