:root {
  --primary-deep: #0B1E3A;
  --primary-electric: #00B4D8;
  --accent-orange: #FF7A00;
  --neutral-dark: #0A0F1A;
  --neutral-light: #F4F8FA;
  --surface-mid: #1B2A41;
  --surface-raised: #22334D;
  --border-highlight: #2A3E5C;
  --text-muted: #8A9BB0;
  --text-body: rgba(244, 248, 250, 0.88);
  --success: #20C997;
  --warning: #FFC107;
  --danger: #EF4444;
  --font-headline: "Barlow Condensed", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-data: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  --header-width: 224px;
  --content-max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--primary-deep);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

@media (min-width: 1024px) {
  body {
    margin-left: var(--header-width);
  }
}

main {
  display: block;
}

.page-main {
  min-height: 75vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.015em;
  color: var(--neutral-light);
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 7vw, 72px); }
h2 { font-size: clamp(30px, 4.5vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 26px); }
h4 { font-size: 20px; }

p {
  margin-bottom: 1em;
}

ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}

a {
  color: var(--primary-electric);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: var(--accent-orange);
}

strong, b {
  font-weight: 700;
  color: var(--neutral-light);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

blockquote {
  margin: 1.5em 0;
  padding: 6px 0 6px 18px;
  border-left: 3px solid var(--primary-electric);
  color: var(--text-muted);
}

::selection {
  background: var(--primary-electric);
  color: var(--neutral-dark);
}

:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent-orange);
  color: var(--neutral-dark);
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-220%);
  transition: transform 0.28s var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: 3px;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-electric) 0%, var(--success) 60%, var(--accent-orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: var(--header-width);
  background-color: var(--primary-deep);
  background-image:
    linear-gradient(rgba(42, 62, 92, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 62, 92, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  border-right: 1px solid var(--border-highlight);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 16px 16px;
  border-bottom: 1px solid var(--border-highlight);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--neutral-light);
}

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

.brand:hover .brand-name em {
  color: var(--accent-orange);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-electric);
  transform: skewX(-14deg);
  box-shadow: inset 0 0 0 1px rgba(11, 30, 58, 0.4);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  background: var(--accent-orange);
  border: 2px solid var(--primary-deep);
  transform: skewX(-14deg);
}

.brand-name {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--neutral-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--primary-electric);
  transition: color 0.25s ease;
}

.nav-toggle {
  position: relative;
  z-index: 105;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: var(--primary-deep);
  border: 1px solid var(--border-highlight);
  border-radius: 0;
}

.nav-toggle:hover {
  background: var(--surface-mid);
  border-color: var(--accent-orange);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-electric);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease;
}

.nav-toggle:hover .nav-toggle-line {
  background: var(--accent-orange);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 10px;
}

.nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px 10px;
}

.nav-head-title {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-head-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  background: var(--surface-mid);
  border: 1px solid var(--border-highlight);
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--primary-electric);
}

.nav-list {
  list-style: none;
  padding-left: 0;
  border-top: 1px solid var(--border-highlight);
}

.nav-item {
  border-bottom: 1px solid var(--border-highlight);
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 16px;
  border-left: 2px solid transparent;
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, padding-left 0.3s ease;
}

.nav-link .nav-num {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 400;
  color: var(--primary-electric);
  opacity: 0.55;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-link .nav-label {
  flex: 1;
  padding-right: 22px;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 16px;
  height: 2px;
  background: var(--accent-orange);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--neutral-light);
  background: var(--surface-mid);
  border-left-color: var(--accent-orange);
  padding-left: 22px;
}

.nav-link:hover .nav-num,
.nav-link:focus-visible .nav-num {
  opacity: 1;
  color: var(--accent-orange);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--neutral-light);
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.18), rgba(0, 180, 216, 0) 78%);
  border-left-color: var(--primary-electric);
}

.nav-link[aria-current="page"] .nav-num {
  opacity: 1;
  color: var(--primary-electric);
}

.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
  background: var(--primary-electric);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--border-highlight);
}

.nav-backdrop {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.1), 0 0 10px rgba(32, 201, 151, 0.45);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.status-text {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface-mid);
  border: 1px solid var(--border-highlight);
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vh, 120px);
  background-color: var(--primary-deep);
  background-image:
    linear-gradient(rgba(42, 62, 92, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 62, 92, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  border-top: 2px solid var(--primary-electric);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 22%;
  height: 2px;
  background: var(--accent-orange);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.4fr;
  gap: 40px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px var(--gutter) 48px;
}

.footer-logo .brand-name {
  font-size: 26px;
}

.footer-trust {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 36ch;
}

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

.footer-title {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-electric);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-highlight);
  margin-bottom: 14px;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li + li,
.footer-contact-list li + li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 6px;
}

.footer-contact {
  border-left: 1px solid var(--border-highlight);
  padding-left: 28px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-label {
  flex: 0 0 34px;
  padding-top: 2px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--primary-electric);
}

.contact-text {
  color: var(--neutral-light);
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--border-highlight);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-icp {
  font-family: var(--font-data);
  letter-spacing: 0.04em;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 900px;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section--tight {
  padding-block: clamp(28px, 4vw, 48px);
}

.section-heading {
  margin-bottom: 32px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-electric);
}

.kicker::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-orange);
}

.section-title {
  font-size: clamp(32px, 4.4vw, 44px);
  max-width: 18em;
}

.page-intro {
  padding: clamp(48px, 8vw, 88px) var(--gutter) clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--border-highlight);
}

.page-title {
  font-size: clamp(40px, 6.5vw, 66px);
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 60ch;
}

.prose {
  font-size: 16px;
  line-height: 1.8;
  max-width: 68ch;
}

.prose p + p {
  margin-top: 0.8em;
}

.prose ul,
.prose ol {
  margin-bottom: 1em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-highlight);
}

.prose a:hover {
  text-decoration-color: var(--accent-orange);
}

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--border-highlight);
  background: var(--surface-mid);
  color: var(--neutral-light);
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.2s var(--ease-out);
}

.btn:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: var(--neutral-dark);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  border-color: var(--primary-electric);
  background: var(--primary-electric);
  color: var(--neutral-dark);
}

.btn-primary:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: var(--neutral-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-electric);
}

.btn-ghost:hover {
  border-color: var(--primary-electric);
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-electric);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 15px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-highlight);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--primary-electric);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--neutral-light);
  font-weight: 600;
}

.card {
  position: relative;
  display: block;
  border: 1px solid var(--border-highlight);
  background: var(--surface-mid);
  border-radius: 0;
  transition: border-color 1s ease, background 0.5s ease;
}

.card:hover {
  border-color: var(--primary-electric);
  background: var(--surface-raised);
}

.card--flat {
  background: transparent;
}

.card--flat:hover {
  background: var(--surface-mid);
}

.card--light {
  background: var(--neutral-light);
  color: var(--neutral-dark);
}

.card--light:hover {
  background: var(--neutral-light);
}

.card--light .card-title,
.card--light h3 {
  color: var(--neutral-dark);
}

.card--light .card-text,
.card--light .card-body {
  color: #3E5266;
}

.card--accent {
  background: var(--primary-electric);
  color: var(--neutral-dark);
  border-color: transparent;
}

.card--accent:hover {
  background: var(--primary-electric);
  border-color: var(--accent-orange);
}

.card--accent .card-title,
.card--accent h3 {
  color: var(--neutral-dark);
}

.card-pad {
  padding: 24px;
}

.card-pad-lg {
  padding: clamp(24px, 4vw, 40px);
}

.card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.evidence-list {
  list-style: none;
  padding-left: 0;
  border-top: 1px solid var(--border-highlight);
}

.evidence-item {
  display: flex;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border-highlight);
}

.evidence-marker {
  flex: 0 0 26px;
  padding-top: 2px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--accent-orange);
}

.evidence-body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-highlight);
}

.data-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.data-value {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 22px;
  color: var(--neutral-light);
  letter-spacing: -0.02em;
}

.data-value--electric { color: var(--primary-electric); }
.data-value--orange { color: var(--accent-orange); }
.data-value--success { color: var(--success); }

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-left: 2px solid var(--primary-electric);
  background: rgba(0, 180, 216, 0.08);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-electric);
}

.data-chip--orange {
  border-left-color: var(--accent-orange);
  background: rgba(255, 122, 0, 0.08);
  color: var(--accent-orange);
}

.data-chip--success {
  border-left-color: var(--success);
  background: rgba(32, 201, 151, 0.08);
  color: var(--success);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--border-highlight);
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tag:hover {
  color: var(--neutral-light);
  border-color: var(--primary-electric);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-highlight);
  text-align: left;
}

.data-table th {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-electric);
  border-bottom: 2px solid var(--primary-electric);
}

.data-table td {
  color: var(--text-body);
}

.data-table tbody tr:hover td {
  background: var(--surface-mid);
}

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

.figure {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-mid);
  border: 1px solid var(--border-highlight);
}

.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--21x9 { aspect-ratio: 21 / 9; }
.figure--1x1 { aspect-ratio: 1; }
.figure--2x3 { aspect-ratio: 2 / 3; }

.figure img,
.figure video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  padding: 24px;
  background:
    repeating-linear-gradient(-45deg, rgba(42, 62, 92, 0.14) 0 10px, transparent 10px 20px),
    var(--surface-mid);
  border: 1px dashed var(--border-highlight);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: var(--neutral-dark);
  border: 1px solid var(--border-highlight);
  color: var(--neutral-light);
  border-radius: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-electric);
  background: #0F1B2E;
}

.input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

@media (max-width: 1023.98px) {
  .site-header {
    right: 0;
    bottom: auto;
    width: auto;
    height: 64px;
    background-image: none;
    border-right: none;
    border-bottom: 1px solid var(--border-highlight);
  }

  .header-top {
    width: 100%;
    height: 100%;
    padding: 0 16px;
    border-bottom: none;
  }

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

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 340px);
    z-index: 102;
    padding-top: 0;
    visibility: hidden;
    transform: translateX(-103%);
    transition: transform 0.32s ease, visibility 0s linear 0.32s;
    background-color: var(--primary-deep);
    background-image:
      linear-gradient(rgba(42, 62, 92, 0.16) 1px, transparent 1px),
      linear-gradient(90deg, rgba(42, 62, 92, 0.16) 1px, transparent 1px);
    background-size: 24px 24px;
    border-right: 2px solid var(--primary-electric);
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.32s ease;
  }

  .nav-head {
    padding: 76px 24px 12px;
    border-bottom: 1px solid var(--border-highlight);
  }

  .nav-list {
    border-top: 0;
  }

  .nav-link {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 24px;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    padding-left: 30px;
  }

  .nav-status {
    padding: 18px 24px 24px;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 101;
    width: auto;
    height: auto;
    background: rgba(10, 15, 26, 0.72);
    cursor: pointer;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-12 {
    grid-template-columns: repeat(8, 1fr);
  }

  .col-3,
  .col-4 {
    grid-column: span 4;
  }

  .col-6,
  .col-8 {
    grid-column: span 8;
  }
}

@media (max-width: 639.98px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-12 {
    grid-template-columns: repeat(4, 1fr);
  }

  .col-3 { grid-column: span 1; }
  .col-4 { grid-column: span 2; }
  .col-6 { grid-column: span 4; }
  .col-8 { grid-column: span 4; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
