:root {
  --c-abyss: #05111F;
  --c-deep: #0A2237;
  --c-wall: #123A55;
  --c-cyan: #35D6E6;
  --c-cyan-soft: #9AF3F8;
  --c-amber: #F2B45C;
  --c-amber-soft: #FFD79A;
  --c-mist: #EAF2F6;
  --c-steel: #8CA3B5;
  --c-wine: #7A2E45;
  --c-line: rgba(154, 243, 248, 0.16);
  --c-line-strong: rgba(53, 214, 230, 0.42);
  --c-panel: rgba(10, 34, 55, 0.8);
  --c-panel-soft: rgba(18, 58, 85, 0.52);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --glow-cyan: 0 0 0 1px rgba(53, 214, 230, 0.24), 0 0 30px rgba(53, 214, 230, 0.1);
  --font-display: "Archivo Narrow", "Noto Sans SC", "HarmonyOS Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --maxw: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-offset: 132px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--c-abyss);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--c-mist);
  background-color: var(--c-abyss);
  background-image:
    linear-gradient(rgba(53, 214, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 214, 230, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(53, 214, 230, 0.09), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(122, 46, 69, 0.14), transparent 32%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection {
  color: var(--c-abyss);
  background: var(--c-cyan-soft);
}

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

button {
  color: inherit;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

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

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

.page-shell {
  padding-block: clamp(32px, 6vw, 80px);
}

.section {
  padding-block: clamp(36px, 6vw, 72px);
}

.stack {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(53, 214, 230, 0.65);
}

.display-title {
  color: var(--c-mist);
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lede {
  max-width: 68ch;
  color: var(--c-steel);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.8;
}

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

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-10 { grid-column: span 10; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
}

.section-head__eyebrow {
  margin-bottom: 8px;
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head__title {
  color: var(--c-mist);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.section-head__note {
  max-width: 34ch;
  color: var(--c-steel);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  color: var(--c-mist);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.btn:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan-soft);
  box-shadow: var(--glow-cyan);
}

.btn--solid {
  border-color: var(--c-cyan);
  color: var(--c-abyss);
  background: var(--c-cyan);
}

.btn--solid:hover {
  color: var(--c-abyss);
  background: var(--c-cyan-soft);
}

.btn--ghost {
  border-color: rgba(242, 180, 92, 0.5);
  color: var(--c-amber-soft);
}

.btn--ghost:hover {
  border-color: var(--c-amber);
  color: var(--c-amber-soft);
  box-shadow: 0 0 0 1px rgba(242, 180, 92, 0.24), 0 0 28px rgba(242, 180, 92, 0.1);
}

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

.content-card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 58, 85, 0.62), rgba(10, 34, 55, 0.78));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(242, 180, 92, 0.48);
  border-right: 1px solid rgba(242, 180, 92, 0.48);
  pointer-events: none;
}

.content-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-line-strong);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24), var(--glow-cyan);
}

.content-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-card__title {
  color: var(--c-mist);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.08;
}

.content-card__text {
  margin-top: 12px;
  color: var(--c-steel);
  font-size: 14px;
  line-height: 1.75;
}

.content-card__tag {
  display: inline-flex;
  margin-top: 18px;
  color: var(--c-amber-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-cyan-soft);
  background: rgba(5, 17, 31, 0.28);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag--cyan {
  border-color: rgba(53, 214, 230, 0.4);
  color: var(--c-cyan);
}

.tag--amber {
  border-color: rgba(242, 180, 92, 0.45);
  color: var(--c-amber-soft);
}

.tag--wine {
  border-color: rgba(122, 46, 69, 0.7);
  color: #d59aac;
  background: rgba(122, 46, 69, 0.18);
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(53, 214, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 214, 230, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, rgba(10, 34, 55, 0.92), rgba(5, 17, 31, 0.96));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 60px rgba(5, 17, 31, 0.42);
}

.media-frame::before,
.media-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.media-frame::before {
  inset: 14px;
  border: 1px solid rgba(154, 243, 248, 0.1);
}

.media-frame::after {
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  border-top: 1px solid var(--c-amber);
  border-right: 1px solid var(--c-amber);
  opacity: 0.7;
}

.media-frame__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.media-frame__visual img,
.media-frame__visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(242, 180, 92, 0.38);
  border-radius: 2px;
  color: var(--c-amber-soft);
  background: rgba(5, 17, 31, 0.76);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.breadcrumbs {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: clamp(24px, 4vw, 40px);
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

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

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: rgba(140, 163, 181, 0.5);
}

.breadcrumbs__link {
  color: var(--c-steel);
  transition: color 160ms var(--ease);
}

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

.index-rail {
  position: sticky;
  top: calc(var(--header-offset) + 16px);
  align-self: start;
  padding-left: 16px;
  border-left: 1px solid var(--c-line);
}

.index-rail__title {
  margin-bottom: 14px;
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.index-rail__list {
  display: grid;
  gap: 2px;
  list-style: none;
}

.index-rail__link {
  position: relative;
  display: block;
  padding: 9px 8px 9px 12px;
  color: var(--c-steel);
  font-size: 12px;
  line-height: 1.5;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.index-rail__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  width: 8px;
  height: 1px;
  background: var(--c-line);
  transform: translateY(-50%);
}

.index-rail__link:hover {
  color: var(--c-cyan-soft);
  background: rgba(53, 214, 230, 0.06);
}

.index-rail__link[aria-current="location"] {
  color: var(--c-cyan);
  background: linear-gradient(90deg, rgba(53, 214, 230, 0.13), transparent);
}

.index-rail__link[aria-current="location"]::before {
  width: 14px;
  background: var(--c-cyan);
  box-shadow: 0 0 10px rgba(53, 214, 230, 0.7);
}

.notice {
  padding: 16px 18px;
  border-left: 2px solid var(--c-cyan);
  background: rgba(10, 34, 55, 0.58);
  color: var(--c-steel);
  font-size: 14px;
  line-height: 1.75;
}

.notice--amber {
  border-left-color: var(--c-amber);
  color: var(--c-amber-soft);
}

.stat-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}

.stat-line__value {
  color: var(--c-amber-soft);
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
}

.stat-line__label {
  color: var(--c-steel);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--c-cyan);
  border-radius: 2px;
  color: var(--c-abyss);
  background: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(5, 17, 31, 0.98), rgba(10, 34, 55, 0.94));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.site-header__edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-cyan) 0 12%, transparent 12% 14%, var(--c-amber) 14% 17%, transparent 17% 100%);
  opacity: 0.9;
  pointer-events: none;
}

.site-header__frame {
  position: relative;
  width: min(calc(100% - (2 * var(--gutter))), var(--maxw));
  margin-inline: auto;
  padding-top: 3px;
}

.site-header__mast {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  justify-self: start;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-cyan);
  border-radius: 2px;
  color: var(--c-cyan-soft);
  background: linear-gradient(145deg, rgba(53, 214, 230, 0.12), rgba(5, 17, 31, 0.3));
  box-shadow: inset 0 0 18px rgba(53, 214, 230, 0.08);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
  transition: border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  color: var(--c-mist);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__sub {
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand:hover .brand__mark {
  border-color: var(--c-cyan-soft);
  color: var(--c-cyan);
  box-shadow: 0 0 26px rgba(53, 214, 230, 0.22);
}

.head-meta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

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

.head-meta__status {
  color: var(--c-cyan-soft);
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(53, 214, 230, 0.1), 0 0 12px rgba(53, 214, 230, 0.75);
}

.head-meta__version {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(242, 180, 92, 0.46);
  border-radius: 2px;
  color: var(--c-amber-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}

.head-meta__version:hover {
  border-color: var(--c-amber);
  color: var(--c-abyss);
  background: var(--c-amber);
}

.frame-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(242, 180, 92, 0.42);
  border-radius: 2px;
  color: var(--c-amber-soft);
  background: rgba(242, 180, 92, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.frame-cta:hover {
  border-color: var(--c-amber);
  color: var(--c-abyss);
  background: var(--c-amber);
  box-shadow: 0 0 24px rgba(242, 180, 92, 0.18);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--c-line-strong);
  border-radius: 2px;
  color: var(--c-mist);
  background: rgba(5, 17, 31, 0.34);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: var(--c-cyan);
  transform-origin: center;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle__label {
  white-space: nowrap;
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  border-top: 1px solid var(--c-line);
}

.site-nav__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  border-left: 1px solid var(--c-line);
}

.site-nav__item {
  border-right: 1px solid var(--c-line);
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px clamp(9px, 1.35vw, 18px);
  color: var(--c-steel);
  font-size: 12px;
  line-height: 1.35;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: transparent;
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.site-nav__link:hover {
  color: var(--c-cyan-soft);
  background: rgba(53, 214, 230, 0.065);
}

.site-nav__link:hover::before {
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(53, 214, 230, 0.7);
}

.site-nav__index {
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  opacity: 0.72;
}

.site-nav__label {
  min-width: 0;
}

.site-nav__link[aria-current="page"] {
  color: var(--c-abyss);
  background: var(--c-cyan);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--c-abyss);
  opacity: 1;
}

.site-nav__link[aria-current="page"]::before {
  background: var(--c-amber);
  box-shadow: none;
}

.site-nav__note {
  display: none;
  margin: 0;
  padding: 12px 14px;
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(53, 214, 230, 0.05);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-cyan-soft) 58%, var(--c-amber));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 100ms linear;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(242, 180, 92, 0.42);
  background:
    radial-gradient(circle at 14% 0%, rgba(53, 214, 230, 0.08), transparent 32%),
    linear-gradient(180deg, var(--c-abyss), var(--c-deep) 56%, #061827);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 243, 248, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 243, 248, 0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.site-footer__frame {
  position: relative;
  width: min(calc(100% - (2 * var(--gutter))), var(--maxw));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) 0 clamp(20px, 3vw, 28px);
}

.footer-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.footer-topline span {
  display: block;
  height: 1px;
}

.footer-topline span:nth-child(1) {
  flex: 1;
  background: linear-gradient(90deg, var(--c-cyan), transparent);
}

.footer-topline span:nth-child(2) {
  width: clamp(38px, 7vw, 88px);
  background: rgba(154, 243, 248, 0.28);
}

.footer-topline span:nth-child(3) {
  width: 18px;
  background: var(--c-amber);
  box-shadow: 0 0 14px rgba(242, 180, 92, 0.45);
}

.site-footer__brand {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--c-line);
}

.footer-brand__link {
  display: inline-block;
  color: var(--c-mist);
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.025em;
  transition: color 180ms var(--ease);
}

.footer-brand__link:hover {
  color: var(--c-cyan-soft);
}

.footer-brand__line {
  max-width: 50ch;
  margin-top: 16px;
  color: var(--c-steel);
  font-size: 14px;
  line-height: 1.7;
}

.footer-brand__version {
  flex: 0 0 auto;
  padding-bottom: 8px;
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand__version .mono {
  color: var(--c-amber-soft);
  font-size: 18px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(30px, 4.5vw, 52px);
  border-bottom: 1px solid var(--c-line);
}

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

.footer-col--seal {
  padding-left: clamp(0px, 2vw, 24px);
  border-left: 1px solid var(--c-line);
}

.footer-col__title {
  margin-bottom: 18px;
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 2px;
  list-style: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--c-mist);
  font-size: 14px;
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}

.footer-link::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--c-cyan);
  transition: width 160ms var(--ease), margin-right 160ms var(--ease);
}

.footer-link:hover {
  color: var(--c-cyan-soft);
}

.footer-link:hover::before {
  width: 16px;
  margin-right: 8px;
}

.footer-contact {
  display: grid;
  gap: 12px;
  list-style: none;
}

.footer-contact__label {
  display: block;
  margin-bottom: 2px;
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact__value {
  display: block;
  color: var(--c-mist);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: 14px;
  color: var(--c-steel);
  font-size: 12px;
  line-height: 1.75;
}

.footer-seal {
  display: grid;
  gap: 2px;
  width: fit-content;
  min-width: 156px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(242, 180, 92, 0.46);
  border-radius: 2px;
  background: rgba(242, 180, 92, 0.035);
}

.footer-seal span {
  color: var(--c-amber);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-seal strong {
  color: var(--c-amber-soft);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 24px;
  color: var(--c-steel);
  font-size: 12px;
}

.footer-copyright {
  margin: 0;
}

.footer-legal {
  color: var(--c-steel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid var(--c-line-strong);
  border-radius: 2px;
  color: var(--c-mist);
  background: rgba(5, 17, 31, 0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan-soft);
}

.to-top__icon {
  color: var(--c-cyan);
  font-size: 14px;
  line-height: 1;
}

[data-reveal] {
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

html[data-enhanced="true"] [data-reveal]:not([data-revealed="true"]) {
  opacity: 0;
  transform: translateY(14px);
}

html[data-enhanced="true"] [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1080px) {
  .head-meta__item:nth-child(2) {
    display: none;
  }

  .brand__name {
    font-size: 18px;
  }
}

@media (max-width: 920px) {
  .span-2,
  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-10 {
    grid-column: 1 / -1;
  }

  .index-rail {
    position: static;
    padding-left: 0;
    border-left: 0;
  }

  .index-rail__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .index-rail__link {
    padding: 8px 10px;
    border: 1px solid var(--c-line);
  }

  .index-rail__link::before {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--seal {
    grid-column: 1 / -1;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--c-line);
    border-left: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --header-offset: 104px;
  }

  .site-header__mast {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    min-height: 68px;
    padding-block: 8px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__sub {
    font-size: 8px;
  }

  .head-meta {
    gap: 0;
    justify-self: end;
  }

  .head-meta__item:not(.head-meta__version) {
    display: none;
  }

  .head-meta__version {
    min-height: 30px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .frame-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-top-color: transparent;
    transform: translateY(-6px);
    transition: max-height 240ms var(--ease), opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms var(--ease), border-color 180ms var(--ease);
  }

  .site-header[data-open="true"] .site-nav {
    max-height: 68vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    border-top-color: var(--c-line);
    transform: translateY(0);
  }

  .site-nav__list {
    grid-template-columns: 1fr 1fr;
    border-left: 0;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--c-line);
  }

  .site-nav__link {
    min-height: 52px;
    padding: 14px 12px;
    font-size: 13px;
  }

  .site-nav__link::before {
    left: 10px;
    right: 10px;
  }

  .site-nav__note {
    display: block;
  }

  .site-footer__brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-brand__version {
    padding-bottom: 0;
  }

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

  .section-head__note {
    max-width: 58ch;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header__frame,
  .site-footer__frame {
    width: min(calc(100% - 28px), var(--maxw));
  }

  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .nav-toggle__label {
    display: none;
  }

  .nav-toggle {
    padding: 9px;
  }

  .site-nav__list {
    grid-template-columns: 1fr;
  }

  .site-nav__link {
    min-height: 48px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-col--seal {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .to-top {
    margin-left: 0;
  }

  .display-title {
    font-size: clamp(38px, 14vw, 68px);
  }

  .btn {
    width: 100%;
  }

  .media-frame--wide,
  .media-frame--tall,
  .media-frame--square {
    aspect-ratio: 4 / 3;
  }
}

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

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

  .content-card:hover {
    transform: none;
  }

  .to-top {
    transform: none;
  }

  html[data-enhanced="true"] [data-reveal]:not([data-revealed="true"]) {
    opacity: 1;
    transform: none;
  }
}
