:root {
  color-scheme: dark;
  --bg: #07100e;
  --bg-2: #0a1513;
  --surface: rgba(11, 19, 18, 0.82);
  --surface-strong: rgba(8, 15, 14, 0.96);
  --line: rgba(126, 235, 216, 0.16);
  --line-strong: rgba(126, 235, 216, 0.28);
  --text: #eff9f5;
  --muted: #96b0aa;
  --muted-strong: #bfd4cf;
  --accent: #4ee0c7;
  --accent-soft: rgba(78, 224, 199, 0.14);
  --accent-strong: #2cb8a0;
  --gold: #d7b064;
  --warning: #e18b6f;
  --shadow: 0 32px 86px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --accent-soft-solid: rgba(78, 224, 199, 0.16);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 18%, rgba(78, 224, 199, 0.12), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(215, 176, 100, 0.12), transparent 26%),
    radial-gradient(circle at 70% 82%, rgba(53, 154, 138, 0.1), transparent 24%),
    linear-gradient(180deg, #091210 0%, #05100d 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(transparent 0%, transparent 95%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 180px 180px, 180px 180px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
  opacity: 0.42;
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 224, 199, 0.12), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(215, 176, 100, 0.08), transparent 28%);
  filter: blur(28px);
  opacity: 0.56;
}

.app-shell {
  position: relative;
  width: min(1600px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 24px;
  opacity: 1;
  transform: none;
  z-index: 1;
}

body.is-ready .topbar,
body.is-ready .rail,
body.is-ready .hero,
body.is-ready .panel,
body.is-ready .footer {
  animation: enter 520ms var(--ease) both;
}

body.is-ready .rail {
  animation-delay: 40ms;
}

body.is-ready .hero {
  animation-delay: 80ms;
}

body.is-ready .panel {
  animation-delay: 120ms;
}

body.is-ready .footer {
  animation-delay: 160ms;
}

.background-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.background-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.22;
  animation: drift 18s var(--ease) infinite alternate;
}

.background-orbit-a {
  width: 36vw;
  height: 36vw;
  top: -12vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(78, 224, 199, 0.34), transparent 66%);
}

.background-orbit-b {
  width: 28vw;
  height: 28vw;
  left: -8vw;
  bottom: -10vw;
  background: radial-gradient(circle, rgba(215, 176, 100, 0.28), transparent 66%);
  animation-delay: -6s;
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 86%);
  opacity: 0.5;
}

.background-sheen {
  position: absolute;
  inset: auto 0 0 0;
  height: 40vh;
  background: linear-gradient(180deg, transparent, rgba(78, 224, 199, 0.05));
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 16, 14, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  flex: none;
  width: 60px;
  height: 60px;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(78, 224, 199, 0.16), rgba(215, 176, 100, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.26);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  min-width: 0;
}

.brand-kicker,
.eyebrow,
.panel-kicker,
.rail-note-label,
.footer-item span,
.section-index {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(191, 212, 207, 0.86);
}

.brand-copy h1 {
  margin: 2px 0 0;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.93rem;
  line-height: 1;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(78, 224, 199, 0.08);
}

.status-pill.muted {
  color: var(--muted);
}

.status-pill.muted::before {
  background: rgba(191, 212, 207, 0.5);
  box-shadow: none;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.topbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.topbar-button:hover,
.topbar-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(78, 224, 199, 0.42);
  background: rgba(78, 224, 199, 0.08);
  outline: none;
}

.link-button {
  color: var(--muted-strong);
}

.work-area {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.rail {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rail-head {
  margin-bottom: 18px;
}

.rail-head h2,
.hero-copy h2,
.panel-head h3 {
  margin: 6px 0 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.rail-head h2 {
  font-size: 1.8rem;
}

.rail-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-nav {
  display: grid;
  gap: 10px;
}

.section-button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.section-button:hover,
.section-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  border-color: rgba(78, 224, 199, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.section-button.active {
  border-color: rgba(78, 224, 199, 0.3);
  background: linear-gradient(180deg, rgba(78, 224, 199, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.section-text {
  display: grid;
  gap: 4px;
}

.section-text strong {
  font-size: 0.98rem;
  font-weight: 650;
}

.section-text span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.rail-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.rail-note strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.rail-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.workspace {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 19, 18, 0.92), rgba(8, 15, 14, 0.88)),
    radial-gradient(circle at 20% 10%, rgba(78, 224, 199, 0.08), transparent 32%);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.hero-copy h2 {
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  line-height: 0.92;
}

.hero-summary {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-action,
.hero-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.hero-action {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #04110f;
}

.hero-action.secondary,
.hero-action-link {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-action:hover,
.hero-action-link:hover,
.hero-action:focus-visible,
.hero-action-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-action:hover,
.hero-action:focus-visible {
  box-shadow: 0 18px 32px rgba(78, 224, 199, 0.18);
}

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

.stat-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-orbit {
  position: relative;
  min-height: 380px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 50% 50%, rgba(78, 224, 199, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.orbit-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 50%, black 32%, transparent 72%);
  opacity: 0.18;
}

.orbit-ring,
.orbit-sweep,
.orbit-core {
  position: absolute;
  inset: 0;
}

.orbit-ring {
  margin: auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(78, 224, 199, 0.04);
}

.orbit-ring-large {
  width: 78%;
  height: 78%;
  animation: pulse 8s ease-in-out infinite;
}

.orbit-ring-medium {
  width: 58%;
  height: 58%;
  border-color: rgba(78, 224, 199, 0.16);
  animation: pulse 10s ease-in-out infinite reverse;
}

.orbit-ring-small {
  width: 34%;
  height: 34%;
  border-color: rgba(215, 176, 100, 0.16);
  animation: pulse 6s ease-in-out infinite;
}

.orbit-sweep {
  width: 48%;
  height: 48%;
  margin: auto;
  border-radius: 999px;
  background:
    conic-gradient(from 90deg,
      rgba(78, 224, 199, 0.02) 0deg,
      rgba(78, 224, 199, 0.26) 14deg,
      rgba(78, 224, 199, 0.02) 28deg,
      transparent 360deg);
  filter: blur(0.5px);
  animation: sweep 14s linear infinite;
  transform-origin: center;
}

.orbit-core {
  inset: 26%;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 30%, rgba(78, 224, 199, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.18);
}

.orbit-core span {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.orbit-core strong {
  display: block;
  margin-top: 6px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.orbit-tag {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 14, 0.72);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.orbit-tag-a {
  top: 22px;
  left: 22px;
}

.orbit-tag-b {
  top: 26px;
  right: 22px;
}

.orbit-tag-c {
  right: 26px;
  bottom: 28px;
}

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

.panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-width: 0;
}

.panel-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-head h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.02;
}

.panel-body {
  display: grid;
  gap: 18px;
}

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

.metric-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.surface-list {
  display: grid;
  gap: 0;
}

.surface-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.surface-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.surface-item:last-child {
  padding-bottom: 0;
}

.surface-item h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.surface-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.surface-item .surface-state {
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(78, 224, 199, 0.24);
  background: rgba(78, 224, 199, 0.08);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.inspector-stack {
  display: grid;
  gap: 16px;
}

.inspector-block {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inspector-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.inspector-title {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-strong);
}

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

.kv-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.kv-row span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.kv-row strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  word-break: break-word;
}

.record-list {
  display: grid;
  gap: 8px;
}

.record-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.record-item strong {
  font-size: 0.95rem;
}

.record-item span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 16, 14, 0.66);
  backdrop-filter: blur(16px);
}

.footer-item {
  min-width: 0;
}

.footer-item span {
  display: block;
  margin-bottom: 8px;
}

.footer-item strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.noscript {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(225, 139, 111, 0.08);
  color: var(--muted-strong);
}

.section-button.active .section-index,
.topbar-button:focus-visible,
.hero-action:focus-visible,
.hero-action-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(78, 224, 199, 0.16);
}

.is-loading .status-pill {
  opacity: 0.92;
}

.is-loading .status-pill::before {
  animation: pulseDot 1.4s ease-in-out infinite;
}

.switching .panel {
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  opacity: 0.96;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -14px, 0) scale(1.04);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes enter {
  from {
    transform: translateY(10px);
    opacity: 0.72;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1260px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 300px;
  }

  .work-area {
    grid-template-columns: 1fr;
  }

  .rail {
    position: static;
    max-height: none;
  }
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .topbar-actions,
  .status-strip {
    justify-content: flex-start;
  }

  .split,
  .footer,
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .surface-item,
  .kv-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 18px, 1600px);
    padding-top: 10px;
  }

  .topbar,
  .hero,
  .panel,
  .rail,
  .footer {
    border-radius: 20px;
  }

  .hero {
    padding: 22px;
  }

  .hero-copy h2 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
  }

  .metrics-grid,
  .split,
  .footer {
    grid-template-columns: 1fr;
  }

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

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

  .section-button {
    min-height: 86px;
  }

  .orbit-tag {
    font-size: 0.72rem;
  }
}

@media (min-width: 1480px) {
  .hero-stats,
  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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