:root {
  --ice-deep: #0B4F6C;
  --snow: #F7FBFE;
  --orange: #FF6A1A;
  --pine: #1F6B57;
  --ink: #0B2233;
  --slate: #5A7184;
  --ice: #D9F0FA;
  --frost: #EDF5F8;
  --alert: #C7362F;
  --orange-soft: #FFB088;
  --line: rgba(11, 79, 108, 0.16);
  --line-strong: rgba(11, 79, 108, 0.3);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Roboto Mono", "Cascadia Mono", monospace;
  --content-max: 1320px;
  --header-space: 126px;
  --radius: 2px;
  --shadow-soft: 0 18px 50px rgba(11, 34, 51, 0.08);
  --shadow-card: 0 12px 30px rgba(11, 34, 51, 0.07);
}

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

html {
  min-height: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.012em;
  background:
    radial-gradient(circle at 8% 2%, rgba(217, 240, 250, 0.98), transparent 30rem),
    repeating-linear-gradient(115deg, transparent 0 47px, rgba(11, 79, 108, 0.024) 47px 48px, transparent 48px 96px),
    linear-gradient(180deg, var(--snow) 0%, #FFFFFF 52%, var(--frost) 100%);
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

button {
  color: inherit;
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

[id] {
  scroll-margin-top: calc(var(--header-space) + 1rem);
}

:target {
  scroll-margin-top: calc(var(--header-space) + 1rem);
}

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.95rem;
  color: var(--ink);
  background: var(--orange);
  border: 2px solid var(--ink);
  font-weight: 900;
  transform: translateY(-220%);
  transition: transform 160ms ease;
}

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

.site-header {
  --header-fg: var(--ink);
  --header-muted: var(--slate);
  --header-bg: rgba(247, 251, 254, 0.62);
  --header-line: rgba(11, 79, 108, 0.14);
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  color: var(--header-fg);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  box-shadow: 0 1px 0 rgba(247, 251, 254, 0.25);
  backdrop-filter: blur(16px) saturate(1.24);
  -webkit-backdrop-filter: blur(16px) saturate(1.24);
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header[data-scrolled="true"] {
  --header-fg: var(--snow);
  --header-muted: rgba(247, 251, 254, 0.7);
  --header-bg: rgba(11, 79, 108, 0.96);
  --header-line: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(11, 34, 51, 0.2);
}

.header-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - clamp(1.5rem, 5vw, 5rem)), var(--content-max));
  margin-inline: auto;
  padding-block: 0.8rem 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.35rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.62rem;
  color: var(--snow);
  background: var(--ice-deep);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--orange-soft);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.site-header[data-scrolled="true"] .brand-mark {
  color: var(--ink);
  background: var(--orange);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.18);
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand-name {
  color: currentColor;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-tagline {
  overflow: hidden;
  color: var(--header-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--header-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.14);
  animation: statusPulse 2800ms ease-in-out infinite;
}

.status-copy {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  min-width: 0;
}

.status-label {
  color: var(--header-fg);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.status-note {
  overflow: hidden;
  max-width: 18rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.14);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 106, 26, 0);
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0.5rem 0.65rem;
  color: currentColor;
  background: transparent;
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.nav-toggle-line {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color 180ms ease;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle-line::before {
  top: -5px;
}

.nav-toggle-line::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - clamp(1.5rem, 5vw, 5rem)), var(--content-max));
  margin-inline: auto;
  padding: 0.18rem 0 0.7rem;
  border-top: 1px solid var(--header-line);
  transition: border-color 240ms ease;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.05rem;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--header-fg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.nav-list a:hover {
  color: var(--orange);
  border-color: var(--header-line);
}

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

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0.19rem;
  left: 0.7rem;
  height: 2px;
  background: currentColor;
}

.site-header[data-scrolled="true"] .nav-list a[aria-current="page"] {
  color: var(--orange-soft);
}

.nav-utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.utility-link {
  color: var(--header-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.utility-link:hover {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.46rem 0.9rem;
  color: var(--ink);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: #FF7F3D;
  transform: translateY(-1px);
}

#main-content {
  min-height: 70vh;
  padding-top: var(--header-space);
}

.content-container {
  width: min(calc(100% - clamp(1.5rem, 5vw, 5rem)), var(--content-max));
  margin-inline: auto;
}

.page-section {
  padding-block: clamp(2rem, 6vw, 5.5rem);
}

.section-band {
  background: rgba(247, 251, 254, 0.74);
  border-block: 1px solid var(--line);
}

.section-band--ice {
  background:
    linear-gradient(115deg, rgba(11, 79, 108, 0.06), transparent 42%),
    var(--ice);
  border-block-color: rgba(11, 79, 108, 0.1);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: start;
}

.asym-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.8vw, 2rem);
}

.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;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 2rem;
  height: 2px;
  background: var(--orange);
}

.section-title {
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.lede {
  max-width: 62ch;
  color: var(--slate);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.mono-index {
  color: var(--ice-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

.btn-primary:hover {
  background: #FF7F3D;
}

.btn-ghost {
  color: var(--ice-deep);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--ice);
}

.btn-compact {
  min-height: 2.2rem;
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.52rem;
  color: var(--ice-deep);
  background: var(--ice);
  border: 1px solid rgba(11, 79, 108, 0.12);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  white-space: nowrap;
}

.tag-orange {
  color: var(--ink);
  background: var(--orange-soft);
  border-color: rgba(255, 106, 26, 0.25);
}

.tag-pine {
  color: var(--snow);
  background: var(--pine);
  border-color: var(--pine);
}

.data-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.18rem 0.55rem;
  color: var(--ink);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 106, 26, 0.22);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.56rem;
  color: var(--snow);
  background: var(--pine);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.status-badge--soft {
  color: var(--ice-deep);
  background: var(--ice);
  border-color: rgba(11, 79, 108, 0.12);
}

.status-badge--alert {
  color: var(--ink);
  background: var(--orange);
  border-color: rgba(255, 106, 26, 0.28);
}

.glass-panel {
  padding: clamp(1rem, 2.4vw, 1.6rem);
  background: rgba(247, 251, 254, 0.64);
  border: 1px solid rgba(11, 79, 108, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.solid-card {
  position: relative;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.solid-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 2.6rem;
  height: 3px;
  background: var(--orange);
}

.editorial-note {
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--ice);
  border-left: 3px solid var(--orange);
  font-size: 0.92rem;
  line-height: 1.7;
}

.index-list {
  display: grid;
  gap: 0.15rem;
}

.index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.7rem;
  border-bottom: 1px dashed var(--line);
}

.index-item:last-child {
  border-bottom: 0;
}

.index-item a {
  color: var(--ink);
  font-weight: 800;
}

.index-item a:hover {
  color: var(--orange);
}

.breadcrumb {
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--slate);
  opacity: 0.6;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.filter-button {
  min-height: 2.25rem;
  padding: 0.4rem 0.72rem;
  color: var(--ice-deep);
  background: rgba(247, 251, 254, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button:hover {
  background: var(--ice);
  border-color: var(--line-strong);
}

.filter-button[aria-pressed="true"] {
  color: var(--snow);
  background: var(--ice-deep);
  border-color: var(--ice-deep);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(11, 79, 108, 0.08), transparent 44%),
    var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.media-caption {
  margin-top: 0.5rem;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 400ms ease, transform 400ms ease;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) 1.2rem;
  color: rgba(247, 251, 254, 0.78);
  background:
    radial-gradient(circle at 8% 12%, rgba(11, 79, 108, 0.65), transparent 30rem),
    linear-gradient(115deg, transparent 0 58%, rgba(31, 107, 87, 0.22) 58% 58.45%, transparent 58.45% 100%),
    var(--ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0 12%, var(--ice) 12% 70%, var(--pine) 70% 100%);
}

.footer-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  width: min(calc(100% - clamp(1.5rem, 5vw, 5rem)), var(--content-max));
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--snow);
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.6rem;
  color: var(--ink);
  background: var(--orange);
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  transform: skew(-6deg);
}

.footer-logo-text {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-brand-line {
  max-width: 22rem;
  color: rgba(247, 251, 254, 0.68);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  margin-top: 0.15rem;
  padding: 0.55rem 0.9rem;
  color: var(--snow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.footer-cta:hover {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.3rem, 3vw, 2.4rem);
  min-width: 0;
}

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

.footer-col-title,
.footer-contact-title {
  margin-bottom: 0.8rem;
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(247, 251, 254, 0.76);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a::before {
  content: "";
  width: 0.55rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.footer-links a:hover {
  color: var(--orange-soft);
  transform: translateX(2px);
}

.footer-contact {
  min-width: 0;
  padding-left: clamp(0rem, 2vw, 1.2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-item {
  display: grid;
  gap: 0.12rem;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.contact-label {
  color: rgba(247, 251, 254, 0.46);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.contact-value {
  color: rgba(247, 251, 254, 0.86);
  overflow-wrap: anywhere;
}

.footer-note {
  max-width: 22rem;
  margin-top: 0.8rem;
  color: rgba(247, 251, 254, 0.56);
  font-size: 0.78rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - clamp(1.5rem, 5vw, 5rem)), var(--content-max));
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copyright {
  color: rgba(247, 251, 254, 0.58);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  color: rgba(247, 251, 254, 0.58);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.footer-legal a {
  color: rgba(247, 251, 254, 0.7);
}

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

.footer-legal li {
  display: inline-flex;
  align-items: center;
}

.footer-legal li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.8em;
  margin-right: 0.9rem;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1024px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-list a {
    padding-inline: 0.55rem;
    font-size: 0.84rem;
  }

  .nav-list a[aria-current="page"]::after {
    right: 0.55rem;
    left: 0.55rem;
  }

  .footer-split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

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

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 0.8rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-space: 112px;
  }

  .site-header {
    --header-bg: rgba(247, 251, 254, 0.92);
  }

  .header-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.38rem 1rem;
    padding-block: 0.62rem 0.58rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-status {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 0.38rem;
    border-top: 1px solid var(--header-line);
    font-size: 0.66rem;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    max-height: calc(100vh - var(--header-space));
    margin: 0;
    padding: 1rem clamp(1rem, 6vw, 2rem) 1.2rem;
    overflow-y: auto;
    border-top: 0;
  }

  .site-nav[data-open="true"] {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--snow);
    background: rgba(11, 79, 108, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 40px rgba(11, 34, 51, 0.24);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.18rem;
  }

  .nav-list a {
    padding: 0.78rem 0.4rem;
    color: var(--snow);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.94rem;
  }

  .nav-list a:hover {
    color: var(--orange-soft);
  }

  .nav-list a[aria-current="page"] {
    color: var(--orange-soft);
  }

  .nav-list a[aria-current="page"]::after {
    right: 0.4rem;
    bottom: 0.28rem;
    left: 0.4rem;
  }

  .nav-utility {
    justify-content: flex-start;
    padding-top: 0.45rem;
  }

  .utility-link {
    color: rgba(247, 251, 254, 0.76);
  }

  .split-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .footer-brand {
    max-width: 34rem;
  }
}

@media (max-width: 720px) {
  :root {
    --header-space: 104px;
  }

  .header-status .status-note {
    display: none;
  }

  .status-copy {
    gap: 0.35rem;
  }

  .page-section {
    padding-block: clamp(1.7rem, 7vw, 3.4rem);
  }

  .section-title {
    max-width: 16ch;
  }

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

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-legal li + li::before {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --header-space: 96px;
  }

  .header-rail {
    width: calc(100% - 1.25rem);
    gap: 0.25rem 0.6rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark {
    min-width: 2.9rem;
    min-height: 2.45rem;
    padding: 0.42rem 0.5rem;
    box-shadow: 4px 4px 0 var(--orange-soft);
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .nav-toggle {
    padding: 0.42rem 0.52rem;
  }

  .nav-toggle-text {
    font-size: 0.66rem;
  }

  .header-status {
    font-size: 0.6rem;
  }

  .site-nav[data-open="true"] {
    padding-inline: 0.8rem;
  }

  .content-container,
  .site-footer .footer-split,
  .footer-bottom {
    width: calc(100% - 1.5rem);
  }

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

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

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

  .index-item > :last-child {
    grid-column: 2;
  }

  .footer-logo-text {
    font-size: 1rem;
  }

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

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

  .status-dot {
    animation: none;
  }

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

  .skip-link {
    transition: none;
  }
}
