:root {
  color-scheme: dark;
  --ink: #05070A;
  --panel: #0C1118;
  --line: #1F2A36;
  --lime: #C6FF00;
  --deep-teal: #0B3B3A;
  --indigo: #2B1B52;
  --wine: #3A1220;
  --cyan: #00E5FF;
  --orange: #FF5A1F;
  --paper: #E8EDF2;
  --muted: #8A97A6;
  --max: 1480px;
  --gutter: clamp(16px, 3vw, 44px);
  --grid-gap: clamp(14px, 1.7vw, 26px);
  --section-y: clamp(56px, 8vw, 112px);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(198, 255, 0, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 0, 0.028) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-open-nav {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4,
strong {
  font-weight: 800;
}

ul,
ol {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  cursor: pointer;
}

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

img {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

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

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

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

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

/* Header */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid var(--lime);
}

.skip-link:focus {
  top: 12px;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 10, 0.97);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0 10%, var(--cyan) 10% 12%, transparent 12% 100%);
  pointer-events: none;
}

.header-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
  min-height: 112px;
  padding-block: 17px 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  transition: min-height 0.22s ease, padding 0.22s ease;
}

.header-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-rail--end {
  justify-content: flex-end;
}

.masthead-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  color: var(--paper);
  line-height: 1;
  text-align: center;
}

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

.masthead-title {
  display: block;
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.masthead-call {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.masthead-call::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
  flex: 0 0 auto;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.quick-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.quick-link--data {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.quick-link--data:hover {
  background: #D9FF55;
  border-color: #D9FF55;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}

.nav-toggle__bars i {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}

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

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

.primary-nav {
  position: relative;
  background:
    linear-gradient(90deg, rgba(11, 59, 58, 0.34), transparent 30%, transparent 70%, rgba(43, 27, 82, 0.34)),
    var(--ink);
  border-top: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--paper);
}

.nav-link__index {
  color: #4C5A68;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.nav-link__label {
  font-weight: 700;
}

.nav-link__desc {
  display: none;
}

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

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 16px;
  height: 2px;
  background: var(--lime);
  transform: translateX(-50%);
}

.nav-link[aria-current="page"] .nav-link__index {
  color: var(--lime);
}

.nav-index {
  position: absolute;
  right: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.site-header.is-compact .header-shell {
  min-height: 56px;
  padding-block: 7px;
}

.site-header.is-compact .masthead-title {
  font-size: clamp(24px, 2.6vw, 36px);
}

.site-header.is-compact .masthead-call {
  display: none;
}

.site-header.is-compact .nav-toggle {
  display: inline-flex;
}

.site-header.is-compact .primary-nav:not([data-open="true"]) {
  display: none;
}

.site-header.is-compact .primary-nav[data-open="true"] {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--deep-teal);
  border-top: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

/* Shared page components */
.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--teal {
  background: var(--deep-teal);
  border-block: 1px solid rgba(232, 237, 242, 0.12);
}

.section--indigo {
  background: var(--indigo);
  border-block: 1px solid rgba(232, 237, 242, 0.12);
}

.section--wine {
  background: var(--wine);
  border-block: 1px solid rgba(232, 237, 242, 0.12);
}

.diagonal-band {
  position: relative;
  padding-block: clamp(28px, 5vw, 58px);
  background: var(--indigo);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

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

.grid-12 > * {
  min-width: 0;
}

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

.col-5 {
  grid-column: span 5;
}

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

.col-7 {
  grid-column: span 7;
}

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

.stack {
  --stack-gap: clamp(12px, 2vw, 22px);
}

.stack > * + * {
  margin-top: var(--stack-gap);
}

.display-title {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(22px, 3vw, 38px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-index,
.eyebrow,
.index-label {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-index {
  color: var(--muted);
  white-space: nowrap;
}

.lede {
  max-width: 38em;
  color: #C9D4DE;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.body-copy {
  max-width: 38em;
  color: #B9C4CF;
  font-size: 16px;
  line-height: 1.8;
}

.data-value {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.btn--lime:hover {
  background: #D9FF55;
  border-color: #D9FF55;
  color: var(--ink);
}

.btn--ghost {
  background: rgba(12, 17, 24, 0.72);
  border-color: rgba(232, 237, 242, 0.2);
}

.btn--line {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--line:hover {
  background: var(--lime);
  color: var(--ink);
}

.btn--small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--cyan);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.link-arrow::after {
  content: "→";
  color: var(--lime);
}

.link-arrow:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.panel {
  position: relative;
  padding: clamp(18px, 3vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
}

.panel--teal {
  background: var(--deep-teal);
  border-color: rgba(198, 255, 0, 0.22);
}

.panel--indigo {
  background: var(--indigo);
  border-color: rgba(0, 229, 255, 0.22);
}

.panel--wine {
  background: var(--wine);
  border-color: rgba(255, 90, 31, 0.26);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(232, 237, 242, 0.16);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel__body {
  color: #B9C4CF;
  font-size: 15px;
  line-height: 1.75;
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(232, 237, 242, 0.14);
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row__label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.metric-row__value {
  color: var(--lime);
  font-family: var(--mono);
  font-size: clamp(19px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
}

.filter-chip:hover {
  border-color: var(--cyan);
  color: var(--paper);
}

.filter-chip[aria-pressed="true"],
.filter-chip.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.image-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  isolation: isolate;
}

.image-frame__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(198, 255, 0, 0.12), transparent 36%),
    repeating-linear-gradient(115deg, rgba(0, 229, 255, 0.12) 0 1px, transparent 1px 26px),
    linear-gradient(145deg, var(--wine), var(--panel) 52%, var(--deep-teal));
}

.image-frame__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(198, 255, 0, 0.22) 58% 58.4%, transparent 58.4%),
    linear-gradient(115deg, transparent 0 66%, rgba(0, 229, 255, 0.18) 66% 66.3%, transparent 66.3%);
  pointer-events: none;
}

.image-frame__img,
.image-frame__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--wide .image-frame__media {
  aspect-ratio: 21 / 9;
}

.image-frame--square .image-frame__media {
  aspect-ratio: 1 / 1;
}

.image-frame--portrait .image-frame__media {
  aspect-ratio: 4 / 5;
}

.image-frame__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  background: rgba(5, 7, 10, 0.84);
  border-left: 3px solid var(--lime);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.55;
}

.image-frame__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 8px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs {
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: #4C5A68;
}

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

.breadcrumbs__link:hover {
  color: var(--lime);
}

.breadcrumbs__current {
  color: var(--paper);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--wine) 0 18%,
    var(--deep-teal) 18% 44%,
    var(--indigo) 44% 70%,
    var(--lime) 70% 76%,
    var(--ink) 76% 100%
  );
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.65fr);
  gap: clamp(30px, 6vw, 88px);
  padding-block: clamp(38px, 6vw, 76px);
}

.footer-brand {
  align-self: start;
}

.footer-logo {
  display: inline-block;
  color: var(--paper);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.footer-logo:hover {
  color: var(--lime);
}

.footer-kicker {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-coord {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 8px;
  border: 1px solid rgba(0, 229, 255, 0.38);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.footer-col h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-contact {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.footer-contact__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 3vw, 42px);
  padding-block: 20px;
}

.footer-label {
  padding-top: 2px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.footer-contact p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.footer-contact .mono {
  color: var(--paper);
  font-size: 0.95em;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.footer-legal a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.5);
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: var(--lime);
}

.back-top {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  border-radius: 0;
}

.back-top:hover {
  border-color: var(--lime);
  color: var(--lime);
}

@media (max-width: 1100px) {
  .nav-link {
    padding-inline: 10px;
  }

  .nav-index {
    display: none;
  }

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

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

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

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

@media (max-width: 860px) {
  .site-header .header-shell {
    min-height: 70px;
    padding-block: 10px 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .masthead-title {
    font-size: clamp(25px, 7.2vw, 38px);
  }

  .masthead-call {
    display: none;
  }

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

  .quick-link {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .site-header.is-compact .header-shell {
    min-height: 56px;
    padding-block: 7px;
  }

  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 900;
    padding: 110px var(--gutter) 36px;
    overflow-y: auto;
    background-color: var(--deep-teal);
    background-image:
      linear-gradient(rgba(0, 229, 255, 0.075) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 229, 255, 0.075) 1px, transparent 1px);
    background-size: 24px 24px;
    border-top: 0;
  }

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

  .site-header.is-compact .primary-nav[data-open="true"] {
    display: block;
    position: fixed;
    inset: 0;
    padding: 110px var(--gutter) 36px;
    overflow-y: auto;
    background-color: var(--deep-teal);
    border-top: 0;
    box-shadow: none;
  }

  .nav-inner {
    display: block;
    width: 100%;
    min-height: 0;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(232, 237, 242, 0.18);
  }

  .nav-list li {
    border-bottom: 1px solid rgba(232, 237, 242, 0.18);
  }

  .nav-link {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 2px 10px;
    padding: 15px 0;
    color: var(--paper);
    font-size: 21px;
    line-height: 1.2;
  }

  .nav-link:hover {
    color: var(--lime);
  }

  .nav-link__index {
    grid-row: 1 / span 2;
    padding-top: 5px;
    color: var(--lime);
    font-size: 11px;
  }

  .nav-link__label {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .nav-link__desc {
    display: block;
    color: #AFC0BE;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0.02em;
  }

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

  .nav-link[aria-current="page"]::after {
    left: 0;
    bottom: 11px;
    width: 24px;
    transform: none;
  }

  .nav-index {
    position: static;
    display: block;
    margin-top: 20px;
    color: var(--lime);
  }

  .display-title {
    max-width: 9ch;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

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

@media (max-width: 620px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-contact__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-legal {
    gap: 4px;
  }

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

  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8 {
    grid-column: span 1;
  }

  .display-title {
    max-width: 8ch;
    font-size: clamp(42px, 14vw, 68px);
  }

  .body-copy,
  .lede {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .quick-link {
    padding-inline: 5px;
    font-size: 8px;
    letter-spacing: 0.03em;
  }

  .nav-toggle {
    padding-inline: 7px;
  }

  .nav-toggle__text {
    display: none;
  }

  .masthead-title {
    font-size: 24px;
  }
}

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

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

  .scroll-meter__bar {
    transition: none;
  }

  .reveal-ready [data-reveal],
  .reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
