:root {
  --ink: #0B1F1A;
  --turf: #132E26;
  --board: #1E3A32;
  --line: #2E4A41;
  --stone: #6E7C74;
  --mist: #9FB0A8;
  --paper: #E8EDE9;
  --cyan: #2BE3C8;
  --clay: #F2A356;
  --glass: rgba(232, 237, 233, 0.08);
  --rail: 220px;
  --gutter: clamp(18px, 4vw, 56px);
  --content-max: 1240px;
  --font-display: 'Barlow Condensed', 'Oswald', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --font-body: 'Noto Sans SC', 'HarmonyOS Sans SC', system-ui, sans-serif;
}

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

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

body,
h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

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

a {
  color: inherit;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

body {
  min-height: 100vh;
  padding-left: var(--rail);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 78% 0%, rgba(43, 227, 200, 0.1), transparent 32rem),
    radial-gradient(circle at 12% 88%, rgba(242, 163, 86, 0.06), transparent 28rem),
    linear-gradient(rgba(46, 74, 65, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 74, 65, 0.12) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 2px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  background: linear-gradient(180deg, rgba(19, 46, 38, 0.92), rgba(11, 31, 26, 0.86));
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__rail {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 22px;
  color: var(--paper);
  text-decoration: none;
}

.brand__cn {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.14em;
}

.brand__index {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__tagline {
  max-width: 12em;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.65;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 22px;
  padding: 22px 24px 28px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav__link {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 74, 65, 0.45);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.site-nav__link:hover {
  color: var(--paper);
  border-color: var(--line);
}

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

.site-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(43, 227, 200, 0.7);
  transform: translateY(-50%);
}

.site-nav__num {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
}

.site-nav__label {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
}

.site-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

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

.btn--ghost {
  background: rgba(232, 237, 233, 0.06);
  color: var(--paper);
  border-color: rgba(159, 176, 168, 0.35);
}

.btn--ghost:hover {
  background: rgba(232, 237, 233, 0.12);
  border-color: var(--mist);
}

.btn--accent {
  background: var(--clay);
  color: var(--ink);
  border-color: var(--clay);
  font-weight: 600;
}

.btn--accent:hover {
  background: #ffb86b;
  border-color: #ffb86b;
}

.btn--block {
  width: 100%;
}

.site-nav__note {
  color: var(--stone);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 46, 38, 0.76), rgba(11, 31, 26, 0.96));
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 37%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.7;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(260px, 1.4fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(100% - var(--gutter) * 2, var(--content-max));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) 0 34px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand--footer {
  gap: 10px;
  padding: 0;
}

.brand--footer .brand__cn {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
}

.brand--footer .brand__tagline {
  max-width: none;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col__title {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--mist);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.16s ease;
}

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

.site-footer__contact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  color: var(--mist);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer__contact span {
  color: var(--stone);
}

.site-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  color: var(--stone);
  border-top: 1px solid rgba(46, 74, 65, 0.65);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-main {
  width: min(100% - var(--gutter) * 2, var(--content-max));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 78px) 0 clamp(64px, 10vw, 140px);
}

.page-content {
  width: min(100% - var(--gutter) * 2, var(--content-max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(44px, 8vw, 104px) 0;
}

.section--tight {
  padding: clamp(28px, 5vw, 56px) 0;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 58rem;
  margin-bottom: clamp(22px, 4vw, 44px);
}

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

.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(43, 227, 200, 0.6);
}

.display-title {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  max-width: 38em;
  color: var(--mist);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.9;
}

.rule {
  height: 1px;
  margin: clamp(24px, 4vw, 48px) 0;
  border: 0;
  background: linear-gradient(90deg, var(--line), transparent);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 32px);
}

.measure {
  max-width: 38em;
}

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

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

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

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

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

.grid__span-12 {
  grid-column: 1 / -1;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.data-card {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--board);
}

.data-card__value {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.data-card__label {
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat__num {
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
}

.stat__unit {
  color: var(--stone);
  font-size: 12px;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(68px, 96px) 1fr;
  gap: clamp(16px, 3vw, 28px);
  padding: 22px 0 22px clamp(20px, 4vw, 34px);
  border-bottom: 1px solid rgba(46, 74, 65, 0.6);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 30px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--turf);
  box-shadow: 0 0 12px rgba(43, 227, 200, 0.5);
}

.timeline__dot {
  display: none;
}

.timeline__time {
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.timeline__body {
  display: grid;
  gap: 6px;
}

.timecode {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--board), var(--turf));
  border: 1px solid var(--line);
}

.media-frame__img,
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06);
}

.media-frame--portrait {
  aspect-ratio: 9 / 16;
}

.media-frame--landscape {
  aspect-ratio: 16 / 9;
}

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

.media-frame__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 12px;
  color: var(--mist);
  background: linear-gradient(180deg, transparent, rgba(11, 31, 26, 0.9));
  font-size: 12px;
}

.expandable {
  border-top: 1px solid var(--line);
}

.expandable__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--paper);
  text-align: left;
  font-size: 1rem;
}

.expandable__trigger::after {
  content: "+";
  color: var(--cyan);
  font-family: var(--font-mono);
}

.expandable[data-open] .expandable__trigger::after {
  content: "−";
}

.expandable__panel {
  display: none;
  padding: 0 0 22px;
  color: var(--mist);
}

.expandable[data-open] .expandable__panel {
  display: block;
}

.tabs {
  display: grid;
  gap: 18px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.tab {
  margin-bottom: -1px;
  padding: 10px 14px;
  color: var(--mist);
  border-bottom: 1px solid transparent;
  font-size: 13px;
}

.tab[aria-selected="true"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 4vw, 36px);
  color: var(--stone);
  font-size: 12px;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}

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

.article-body {
  max-width: 38em;
  color: var(--paper);
}

.article-body h2,
.article-body h3 {
  margin: 1.6em 0 0.6em;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

.article-body p {
  margin: 0 0 1.15em;
  color: var(--mist);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 150;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--clay));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.dock {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.dock.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dock__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--paper);
  background: rgba(11, 31, 26, 0.72);
  border: 1px solid rgba(159, 176, 168, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.dock__button:hover {
  background: rgba(30, 58, 50, 0.92);
  border-color: var(--cyan);
}

.dock__button--top {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 15px;
}

.dock__panel {
  display: flex;
  width: min(74vw, 280px);
  max-height: 46vh;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  overflow: auto;
  background: rgba(11, 31, 26, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  backdrop-filter: blur(16px);
}

.dock__panel[hidden] {
  display: none;
}

.dock__link {
  padding: 9px 10px;
  color: var(--mist);
  text-align: left;
  border-bottom: 1px solid rgba(46, 74, 65, 0.5);
  font-size: 12px;
  line-height: 1.5;
}

.dock__link:hover,
.dock__link.is-active {
  color: var(--cyan);
}

.dock__link:last-child {
  border-bottom: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

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

@media (max-width: 1100px) {
  .grid--12 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .grid__span-4 {
    grid-column: span 3;
  }

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

@media (max-width: 860px) {
  body {
    padding-top: 64px;
    padding-left: 0;
  }

  .site-header {
    inset: 0 0 auto 0;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    background: rgba(11, 31, 26, 0.92);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header__rail {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
  }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .brand__cn {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
  }

  .brand__index {
    font-size: 10px;
  }

  .brand__tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 10px;
    color: var(--paper);
    background: rgba(232, 237, 233, 0.06);
    border: 1px solid var(--line);
  }

  .nav-toggle__bars {
    display: inline-flex;
    width: 16px;
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle__bars i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 0.18s 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);
  }

  .nav-toggle__label {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 0 0;
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 28px 22px 40px;
    overflow-y: auto;
    background: rgba(11, 31, 26, 0.98);
    border-top: 1px solid var(--line);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav__link {
    grid-template-columns: 3rem 1fr;
    min-height: 48px;
    font-size: 1.05rem;
  }

  .site-nav__link[aria-current="page"]::before {
    left: -22px;
    width: 14px;
  }

  .site-nav__actions {
    margin-top: auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    width: min(100% - 36px, var(--content-max));
    padding-top: 44px;
  }

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

  .site-footer__legal {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .grid--12 {
    grid-template-columns: 1fr;
  }

  .grid__span-4,
  .grid__span-6,
  .grid__span-8 {
    grid-column: 1 / -1;
  }

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

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

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

  .cta-row .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .data-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__legal {
    font-size: 11px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .dock,
  .progress-bar {
    transition: none;
  }
}
