:root {
  --color-background: #06090d;
  --color-background-alt: #0b1117;
  --color-surface: #101923;
  --color-surface-raised: #14202b;
  --color-text: #eaf7f0;
  --color-text-muted: #91a39a;
  --color-green: #41ff9a;
  --color-cyan: #42d9ff;
  --color-yellow: #e9ce63;
  --color-border: rgba(65, 255, 154, 0.24);
  --color-border-muted: rgba(145, 163, 154, 0.18);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --page-pad: clamp(1rem, 4vw, 2.25rem);
  --section-space: clamp(5rem, 10vw, 8.75rem);
  --header-height: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-background);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(66, 217, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 217, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 100;
  content: "";
  pointer-events: none;
  opacity: 0.17;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(234, 247, 240, 0.018) 4px
  );
}

main {
  flex: 1;
  min-width: 0;
}

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

h1,
h2,
h3,
p,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

p {
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-green);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

::selection {
  color: var(--color-background);
  background: var(--color-green);
}

.container {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--color-background);
  background: var(--color-green);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  color: var(--color-background);
  transform: translateY(0);
}

.eyebrow,
.section-label,
.panel-id,
.hero-note,
.project-kicker,
.project-category,
.project-slogan,
.location-label,
.legal-updated,
.notice-label,
.card-index {
  font-family: var(--font-mono);
}

.eyebrow,
.section-label {
  margin-bottom: 1.35rem;
  color: var(--color-green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
}

.eyebrow::before,
.section-label::before {
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  margin-right: 0.65rem;
  vertical-align: 0.25em;
  content: "";
  background: currentColor;
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  display: inline-block;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0.85rem rgba(65, 255, 154, 0.72);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--color-border-muted);
  background: rgba(6, 9, 13, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand {
  width: fit-content;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--color-text);
  text-decoration: none;
}

.brand:hover {
  color: var(--color-text);
}

.brand-name {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1;
}

.wordmark-stem,
.wordmark-tech {
  transition: color 180ms ease;
}

.wordmark-stem {
  color: var(--color-text);
}

.wordmark-tech {
  color: var(--color-green);
  text-shadow: 0 0 1.1rem rgba(65, 255, 154, 0.1);
}

.wordmark:hover .wordmark-stem {
  color: #cfe1d8;
}

.wordmark:hover .wordmark-tech {
  color: var(--color-cyan);
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.system-status .status-dot {
  animation: status-pulse 2.8s ease-in-out infinite;
}

.site-nav {
  justify-self: end;
}

.nav-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.2vw, 1.8rem);
  list-style: none;
}

.nav-link {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact-item {
  margin-left: 0.2rem;
}

.header-contact {
  min-height: 2.75rem;
  padding: 0.55rem 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(65, 255, 154, 0.42);
  color: var(--color-green);
  background: rgba(65, 255, 154, 0.035);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-contact:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(66, 217, 255, 0.055);
}

.nav-toggle {
  min-width: 5.6rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: var(--color-surface);
  font: 700 0.68rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle-icon {
  width: 1rem;
  display: grid;
  gap: 0.2rem;
}

.nav-toggle-icon span {
  width: 100%;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(880px, calc(100vh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-muted);
  background:
    radial-gradient(circle at 78% 36%, rgba(66, 217, 255, 0.07), transparent 30%),
    radial-gradient(circle at 72% 70%, rgba(65, 255, 154, 0.05), transparent 34%);
}

.hero::before {
  position: absolute;
  top: 4%;
  right: -8rem;
  width: min(56vw, 780px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(66, 217, 255, 0.08);
  transform: rotate(45deg);
  box-shadow:
    0 0 0 80px rgba(65, 255, 154, 0.014),
    0 0 0 160px rgba(66, 217, 255, 0.012);
}

.hero-grid {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 11vh, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}

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

.hero h1 {
  max-width: 780px;
  margin-bottom: 2rem;
  font-size: clamp(3.3rem, 6.7vw, 6.6rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--color-green);
  text-shadow: 0 0 2.4rem rgba(65, 255, 154, 0.16);
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 2.25rem;
  color: #b5c8be;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  position: relative;
  min-height: 3.15rem;
  padding: 0.75rem 1.1rem 0.75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: rgba(16, 25, 35, 0.7);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}

.button::before,
.button::after {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  transition: border-color 180ms ease;
}

.button::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color-cyan);
  border-left: 2px solid var(--color-cyan);
}

.button::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--color-cyan);
  border-bottom: 2px solid var(--color-cyan);
}

.button:hover {
  color: var(--color-text);
  border-color: rgba(65, 255, 154, 0.54);
  background: var(--color-surface-raised);
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--color-green);
  color: #04130b;
  background: var(--color-green);
  box-shadow: 0 0 1.6rem rgba(65, 255, 154, 0.09);
}

.button-primary::before,
.button-primary::after {
  border-color: var(--color-background);
}

.button-primary:hover {
  border-color: var(--color-green);
  color: #020a06;
  background: #74ffb4;
  box-shadow: 0 0 2rem rgba(65, 255, 154, 0.16);
}

.button-secondary {
  border-color: rgba(234, 247, 240, 0.25);
  background: transparent;
}

.hero-note {
  margin: 1.7rem 0 0;
  color: #6f8078;
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.system-panel {
  position: relative;
  min-width: 0;
  border: 1px solid var(--color-border);
  background: rgba(11, 17, 23, 0.84);
  box-shadow: 1.1rem 1.1rem 0 rgba(4, 7, 10, 0.7), 0 0 3.5rem rgba(65, 255, 154, 0.05);
}

.system-panel::before,
.system-panel::after {
  position: absolute;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  content: "";
  pointer-events: none;
}

.system-panel::before {
  top: -1px;
  right: -1px;
  border-top: 3px solid var(--color-cyan);
  border-right: 3px solid var(--color-cyan);
}

.system-panel::after {
  bottom: -1px;
  left: -1px;
  border-bottom: 3px solid var(--color-green);
  border-left: 3px solid var(--color-green);
}

.panel-bar,
.console-header {
  min-height: 2.7rem;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border-muted);
  background: rgba(20, 32, 43, 0.65);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-signal,
.console-lights {
  display: flex;
  gap: 0.32rem;
}

.panel-signal i,
.console-lights i {
  width: 0.38rem;
  height: 0.38rem;
  display: block;
  background: var(--color-green);
}

.panel-signal i:nth-child(2),
.console-lights i:nth-child(2) {
  opacity: 0.55;
}

.panel-signal i:nth-child(3),
.console-lights i:nth-child(3) {
  background: var(--color-cyan);
  opacity: 0.65;
}

.system-visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(65, 255, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 255, 154, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

.system-visual::before {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(66, 217, 255, 0.16);
  transform: rotate(45deg);
  box-shadow: 0 0 0 1.8rem rgba(66, 217, 255, 0.018), 0 0 3rem rgba(66, 217, 255, 0.055);
}

.system-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-paths {
  fill: none;
  stroke: rgba(65, 255, 154, 0.42);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.network-nodes {
  fill: var(--color-background-alt);
  stroke: var(--color-cyan);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.network-nodes .network-source {
  fill: var(--color-green);
  stroke: var(--color-green);
  filter: drop-shadow(0 0 0.7rem rgba(65, 255, 154, 0.32));
}

.axis {
  position: absolute;
  color: #62766c;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.axis-x {
  right: 0.8rem;
  bottom: 0.55rem;
}

.axis-y {
  top: 0.8rem;
  left: 0.55rem;
  writing-mode: vertical-rl;
}

.status-readout,
.metadata-list {
  margin: 0;
  padding: 0.5rem 0.9rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
}

.status-readout > div,
.metadata-list > div {
  min-width: 0;
  padding: 0.65rem 0.15rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.42fr) minmax(0, 1fr);
  gap: 0.75rem;
  border-bottom: 1px solid rgba(145, 163, 154, 0.11);
}

.status-readout > div:last-child,
.metadata-list > div:last-child {
  border-bottom: 0;
}

.status-readout dt,
.metadata-list dt {
  color: #73877c;
}

.status-readout dd,
.metadata-list dd {
  min-width: 0;
  margin: 0;
  color: #c9d9d0;
  overflow-wrap: anywhere;
}

.status-readout dd .status-dot,
.metadata-list dd .status-dot {
  margin-right: 0.5rem;
}

.terminal-cursor {
  width: 0.42rem;
  height: 0.95em;
  margin-left: 0.3rem;
  display: inline-block;
  vertical-align: -0.1em;
  background: var(--color-green);
  animation: cursor-blink 1.2s steps(1, end) infinite;
}

.hero-index {
  position: absolute;
  right: max(var(--page-pad), calc((100vw - var(--container)) / 2));
  bottom: 1.1rem;
  color: rgba(145, 163, 154, 0.45);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--color-border-muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 9vw, 8.5rem);
}

.section-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.section-body {
  padding-top: 2.25rem;
}

.lead {
  max-width: 680px;
  margin-bottom: 2.6rem;
  color: #bdcec5;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.75;
}

.metadata-strip {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  font: 0.69rem/1.5 var(--font-mono);
}

.metadata-strip > div {
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--color-border-muted);
}

.metadata-strip dt {
  color: #6f8378;
}

.metadata-strip dd {
  min-width: 0;
  margin: 0;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.capabilities-section,
.principles-section {
  background: rgba(11, 17, 23, 0.5);
}

.section-intro-row {
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-intro-row h2 {
  margin-bottom: 0;
}

.section-aside {
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  line-height: 1.65;
  text-align: right;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border-muted);
  background: var(--color-border-muted);
}

.capability-card {
  position: relative;
  min-width: 0;
  min-height: 410px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  background: var(--color-background-alt);
  transition: background 220ms ease, transform 220ms var(--ease);
}

.capability-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1rem;
  height: 1rem;
  content: "";
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transition: border-color 220ms ease;
}

.capability-card:hover {
  z-index: 1;
  background: var(--color-surface);
  transform: translateY(-0.35rem);
}

.capability-card:hover::after {
  border-color: var(--color-green);
}

.card-topline {
  margin-bottom: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #73877c;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card-topline span:first-child {
  color: var(--color-green);
}

.capability-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: auto;
  fill: none;
  stroke: var(--color-cyan);
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.capability-card h3 {
  margin-top: 3rem;
}

.capability-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--color-cyan);
}

.project-card,
.project-showcase {
  border: 1px solid var(--color-border);
  background: var(--color-background-alt);
  box-shadow: 1rem 1rem 0 rgba(3, 6, 9, 0.52);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.project-primary,
.project-showcase-main {
  min-width: 0;
  padding: clamp(2rem, 6vw, 5rem);
}

.project-badge {
  width: fit-content;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  padding: 0.5rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(233, 206, 99, 0.35);
  color: var(--color-yellow);
  background: rgba(233, 206, 99, 0.045);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-badge .status-dot {
  background: var(--color-yellow);
  box-shadow: 0 0 0.7rem rgba(233, 206, 99, 0.45);
}

.project-kicker,
.project-category {
  margin-bottom: 0.8rem;
  color: var(--color-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-primary h3,
.project-heading h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.project-description {
  max-width: 660px;
  margin-bottom: 1.4rem;
  color: #b8c9c0;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}

.project-slogan {
  margin-bottom: 2.2rem;
  color: var(--color-green);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

.project-console {
  min-width: 0;
  border-left: 1px solid var(--color-border-muted);
  background: var(--color-surface);
}

.project-card .project-console {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-orbit {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(66, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.project-orbit::before,
.project-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(65, 255, 154, 0.19);
}

.project-orbit::before {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.project-orbit::after {
  width: 42%;
  aspect-ratio: 1;
  transform: rotate(45deg);
}

.orbit-box {
  position: relative;
  z-index: 2;
  width: 6.2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-cyan);
  color: var(--color-green);
  background: rgba(6, 9, 13, 0.9);
  box-shadow: 0 0 2.2rem rgba(66, 217, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 3.3rem;
  font-weight: 800;
}

.orbit-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(66, 217, 255, 0.35);
  transform-origin: left;
}

.orbit-line-one {
  top: 29%;
  left: 12%;
  width: 46%;
  transform: rotate(28deg);
}

.orbit-line-two {
  right: 7%;
  bottom: 21%;
  width: 42%;
  transform: rotate(-38deg);
}

.orbit-node {
  position: absolute;
  z-index: 2;
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid var(--color-green);
  background: var(--color-surface);
}

.orbit-node-one {
  top: 20%;
  left: 17%;
}

.orbit-node-two {
  right: 13%;
  bottom: 13%;
}

.project-console dl {
  margin: 2rem 0 0;
  padding: 0;
  font: 0.68rem/1.5 var(--font-mono);
}

.project-console dl > div {
  padding: 0.7rem 0;
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--color-border-muted);
}

.project-console dt {
  color: #73877c;
}

.project-console dd {
  min-width: 0;
  margin: 0;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.principle {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.principle::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  content: "";
  background: var(--color-green);
}

.principle-number {
  margin-bottom: 3.5rem;
  display: block;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
}

.principle h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.principle p {
  margin-bottom: 0;
  line-height: 1.72;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(65, 255, 154, 0.035), transparent 45%),
    var(--color-background);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 9vw, 8.5rem);
}

.contact-intro > p:not(.section-label) {
  max-width: 500px;
  color: #b7c8bf;
  font-size: 1.1rem;
}

.location-block {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-left: 1rem;
  border-left: 2px solid var(--color-cyan);
}

.location-label {
  margin-bottom: 0.6rem;
  display: block;
  color: var(--color-cyan);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.location-block address {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.6;
}

.contact-directory {
  border-top: 1px solid var(--color-border);
}

.contact-row {
  min-height: 5.4rem;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 0.48fr minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border-muted);
  color: var(--color-text);
  text-decoration: none;
  transition: padding 180ms var(--ease), background 180ms ease;
}

.contact-row:hover {
  padding-inline: 1rem;
  color: var(--color-text);
  background: rgba(65, 255, 154, 0.035);
}

.contact-row > span {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.contact-row strong {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.6vw, 1.05rem);
  overflow-wrap: anywhere;
}

.contact-row i {
  color: var(--color-green);
  font-style: normal;
}

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  border-top: 1px solid var(--color-border);
  background: #05080b;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(300px, 1.35fr) minmax(120px, 0.45fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.footer-brand .brand {
  margin-bottom: 1.2rem;
}

.footer-brand .brand-name {
  font-size: 1.16rem;
}

.footer-brand p,
.footer-address,
.footer-nav {
  font-size: 0.75rem;
}

.footer-brand p {
  margin-bottom: 0;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.footer-address span:first-child {
  color: var(--color-text);
  font-family: var(--font-mono);
}

.footer-address a,
.footer-nav a {
  width: fit-content;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  font-family: var(--font-mono);
}

.footer-nav a[aria-current="page"] {
  color: var(--color-green);
}

.footer-status {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid var(--color-border-muted);
  color: #73877c;
  font: 0.64rem/1.4 var(--font-mono);
}

.page-hero {
  position: relative;
  padding-block: clamp(5.5rem, 11vw, 9.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-muted);
  background: rgba(11, 17, 23, 0.38);
}

.page-hero::after {
  position: absolute;
  top: -60%;
  right: 5%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(65, 255, 154, 0.08);
  transform: rotate(45deg);
  box-shadow: 0 0 0 70px rgba(66, 217, 255, 0.012), 0 0 0 140px rgba(65, 255, 154, 0.01);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.legal-header h1 {
  max-width: 970px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.page-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: #b9cac1;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.projects-index {
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

.project-showcase {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
}

.project-heading h2 {
  margin-bottom: 2rem;
}

.project-showcase .project-console,
.support-console {
  border-left: 1px solid var(--color-border-muted);
  background: var(--color-surface);
}

.project-showcase .metadata-list,
.support-console .metadata-list {
  padding: 1.2rem 1.5rem 1.5rem;
}

.product-notice {
  max-width: 850px;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 2rem;
  border-left: 2px solid var(--color-yellow);
  background: rgba(233, 206, 99, 0.045);
}

.product-notice p {
  margin: 0;
}

.notice-label {
  color: var(--color-yellow);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.portfolio-note {
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--color-border-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
}

.support-primary h2,
.contact-channels h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.support-lead {
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

.support-email {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.support-checklist {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.support-checklist h3 {
  font-size: 1.08rem;
}

.check-list {
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  position: absolute;
  top: 0.53em;
  left: 0;
  width: 0.62rem;
  height: 0.62rem;
  content: "";
  border: 1px solid var(--color-green);
  box-shadow: inset 0 0 0 2px var(--color-background);
  background: var(--color-green);
}

.support-console {
  border: 1px solid var(--color-border);
}

.support-console a {
  color: var(--color-green);
}

.contact-channels {
  background: rgba(11, 17, 23, 0.48);
}

.contact-card-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border-muted);
  background: var(--color-border-muted);
}

.contact-card {
  min-width: 0;
  min-height: 240px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--color-background-alt);
}

.card-index {
  margin-bottom: 3.5rem;
  color: var(--color-cyan);
  font-size: 0.65rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--color-green);
  overflow-wrap: anywhere;
}

.legal-page::after {
  opacity: 0.09;
}

.legal-main {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.legal-container {
  max-width: 1080px;
}

.legal-header {
  max-width: 920px;
  margin-bottom: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
  font-size: clamp(3.1rem, 8vw, 6.8rem);
}

.legal-updated {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 0.72rem;
}

.legal-updated span {
  color: var(--color-text-muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 6.5rem);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  padding: 1.25rem;
  border: 1px solid var(--color-border-muted);
  background: rgba(11, 17, 23, 0.72);
}

.legal-toc-title {
  margin-bottom: 1rem;
  color: var(--color-green);
  font: 700 0.68rem/1.4 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  list-style: none;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  min-height: 2.75rem;
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: center;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  text-decoration: none;
}

.legal-toc a::before {
  color: #73877c;
  content: counter(toc, decimal-leading-zero);
}

.legal-toc a:hover {
  color: var(--color-green);
}

.legal-content {
  min-width: 0;
  max-width: 720px;
}

.legal-section {
  padding-bottom: clamp(2.7rem, 6vw, 4.5rem);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.legal-section + .legal-section {
  padding-top: clamp(2.7rem, 6vw, 4.5rem);
  border-top: 1px solid var(--color-border-muted);
}

.legal-section h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.legal-section h2 span {
  margin-right: 0.55rem;
  color: var(--color-green);
  font-size: 0.68em;
  letter-spacing: 0;
}

.legal-section p,
.legal-section li {
  color: #adbbb4;
  font-size: 1.01rem;
  line-height: 1.78;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 1.4rem 0 0;
  padding-left: 1.4rem;
}

.legal-section li {
  margin-bottom: 0.55rem;
  padding-left: 0.35rem;
}

.legal-section li::marker {
  color: var(--color-green);
}

.legal-contact {
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--color-border) !important;
  background: var(--color-background-alt);
}

.legal-contact address {
  color: var(--color-text-muted);
  font-style: normal;
  line-height: 1.8;
}

.legal-email {
  min-height: 2.75rem;
  margin-bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  color: var(--color-green);
  font-family: var(--font-mono);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.error-page {
  display: grid;
  place-items: center;
}

.error-panel {
  width: 100%;
  padding-block: clamp(5rem, 12vw, 10rem);
  overflow: hidden;
}

.error-panel-inner {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  border: 1px solid var(--color-border);
  background: var(--color-background-alt);
}

.error-code {
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--color-border-muted);
  color: rgba(65, 255, 154, 0.11);
  background-image:
    linear-gradient(rgba(65, 255, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 255, 154, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  font-family: var(--font-mono);
  font-size: clamp(7rem, 17vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 1;
  text-indent: -0.12em;
}

.error-content {
  min-width: 0;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem) 0;
}

.error-content h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

.diagnostic-line {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-yellow);
  font: 0.72rem/1.4 var(--font-mono);
}

.status-dot-warning {
  background: var(--color-yellow);
  box-shadow: 0 0 0.75rem rgba(233, 206, 99, 0.45);
}

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

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.2rem);
  }

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

  .capability-card {
    min-height: 350px;
  }

  .project-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    min-height: var(--header-height);
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    margin-inline: calc(var(--page-pad) * -1);
    border-top: 1px solid var(--color-border-muted);
  }

  .nav-list {
    padding: 0.7rem var(--page-pad) 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    background: rgba(6, 9, 13, 0.98);
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(145, 163, 154, 0.13);
  }

  .nav-contact-item {
    margin-left: 0;
  }

  .header-contact {
    width: 100%;
  }

  .nav-link::after {
    right: 0.7rem;
    bottom: 0.28rem;
    left: 0.7rem;
  }

  .js .site-nav[data-open="false"] {
    display: none;
  }

  .js .site-nav[data-open="true"] {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 12vw, 6rem);
  }

  .system-panel {
    width: min(100%, 600px);
    margin-left: auto;
  }

  .system-visual {
    min-height: 360px;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-body {
    padding-top: 0;
  }

  .project-card,
  .project-showcase,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .project-console,
  .project-showcase .project-console,
  .support-console {
    border-top: 1px solid var(--color-border-muted);
    border-left: 0;
  }

  .project-card .project-console {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 2rem;
  }

  .project-orbit {
    min-height: 280px;
  }

  .principles-list {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }

  .principle-number {
    margin-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1.2fr);
  }

  .footer-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .legal-content {
    max-width: 100%;
  }

  .error-panel-inner {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 620px) {
  :root {
    --page-pad: 1.15rem;
  }

  .system-status {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-list {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .nav-link {
    justify-content: flex-start;
    padding-inline: 0.9rem;
  }

  .header-contact {
    justify-content: flex-start;
    padding-inline: 0.9rem;
  }

  .nav-link::after {
    right: auto;
    bottom: 0.38rem;
    left: 0.9rem;
    width: 2rem;
  }

  .hero-grid {
    padding-block: 4.75rem 5.5rem;
    gap: 3.25rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15.2vw, 5rem);
    line-height: 0.94;
  }

  .metadata-strip > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .hero-intro {
    font-size: 1.02rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button,
  .project-primary .button,
  .project-showcase-main .button,
  .error-content .button {
    width: 100%;
  }

  .system-panel {
    box-shadow: 0.55rem 0.55rem 0 rgba(3, 6, 9, 0.65);
  }

  .system-visual {
    min-height: 270px;
  }

  .status-readout > div,
  .metadata-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .section-intro-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .section-aside {
    text-align: left;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 340px;
  }

  .project-card,
  .project-showcase {
    box-shadow: 0.55rem 0.55rem 0 rgba(3, 6, 9, 0.52);
  }

  .project-primary,
  .project-showcase-main {
    padding: 2rem 1.35rem 2.4rem;
  }

  .project-badge {
    margin-bottom: 3.25rem;
  }

  .project-primary h3,
  .project-heading h2 {
    font-size: clamp(3.15rem, 17vw, 5rem);
  }

  .project-card .project-console {
    padding: 1.25rem;
    display: block;
  }

  .project-orbit {
    min-height: 245px;
  }

  .contact-row {
    padding-block: 1.15rem;
    grid-template-columns: 1fr auto;
  }

  .contact-row strong {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-row i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-nav,
  .footer-status {
    grid-column: auto;
  }

  .page-hero h1,
  .legal-header h1 {
    font-size: clamp(3.25rem, 18vw, 5.7rem);
  }

  .product-notice {
    padding: 1.15rem;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

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

  .contact-card {
    min-height: 210px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-contact {
    padding: 1.5rem;
  }

  .error-panel-inner {
    grid-template-columns: 1fr;
  }

  .error-code {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border-muted);
    font-size: clamp(7rem, 40vw, 10rem);
  }

  .error-content {
    padding: 2.2rem 1.35rem 2.6rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 1.2rem;
  }

  .nav-toggle {
    min-width: 5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .eyebrow,
  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.075em;
  }

  .metadata-strip > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .project-primary h3,
  .project-heading h2 {
    font-size: 3rem;
  }

  .support-email {
    padding-inline: 0.8rem;
    font-size: 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .terminal-cursor {
    opacity: 1;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body,
  .legal-contact {
    color: #111;
    background: #fff;
  }

  body::before,
  body::after,
  .site-header,
  .site-footer,
  .legal-toc {
    display: none;
  }

  .legal-main {
    padding: 0;
  }

  .legal-layout {
    display: block;
  }

  .legal-header,
  .legal-section,
  .legal-contact {
    border-color: #bbb !important;
  }

  .legal-header h1,
  .legal-section h2,
  .legal-section p,
  .legal-section li,
  .legal-contact address,
  .legal-updated {
    color: #111;
  }
}
