:root {
  --forest: #0E2A24;
  --forest-2: #17453A;
  --indigo: #101A33;
  --indigo-2: #1B2B52;
  --gold: #B8863B;
  --gold-soft: #E3C88A;
  --cinnabar: #9C2B21;
  --mist: #A8BDB8;
  --paper: #F4F1E9;
  --paper-2: #E8E3D6;
  --ink: #22292B;
  --ink-soft: #4A4F52;
  --line-dark: rgba(168, 189, 184, .26);
  --line-light: rgba(34, 41, 43, .14);
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "Consolas", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 86% 4%, rgba(184, 134, 59, .075), transparent 30rem),
    linear-gradient(180deg, var(--paper) 0%, #F1EEE5 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .55em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

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

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

button {
  color: inherit;
}

address {
  font-style: normal;
}

::selection {
  background: var(--gold);
  color: var(--indigo);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font: 700 13px/1.4 var(--font-body);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--forest);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 16px 44px rgba(8, 23, 20, .14);
}

.progress-rail {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  overflow: hidden;
  background: rgba(168, 189, 184, .16);
}

.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  transform: scaleX(0);
  transform-origin: left center;
}

.command-bar {
  display: grid;
  grid-template-columns: minmax(215px, 270px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  width: 100%;
  max-width: 1600px;
  min-height: 88px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4.6vw, 72px);
  transition: min-height .28s var(--ease), padding .28s var(--ease);
}

.site-header[data-condensed="true"] .command-bar {
  min-height: 64px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand-seal {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(227, 200, 138, .7);
  border-radius: 8px 14px 9px 12px;
  background:
    radial-gradient(circle at 35% 30%, rgba(227, 200, 138, .18), transparent 58%),
    rgba(23, 69, 58, .45);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  transition: width .28s var(--ease), height .28s var(--ease);
}

.site-header[data-condensed="true"] .brand-seal {
  width: 34px;
  height: 34px;
  font-size: 17px;
}

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

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .04em;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1em;
  white-space: nowrap;
}

.command-nav {
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, .45vw, 7px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 10px 7px;
  border-radius: 7px;
  color: rgba(244, 241, 233, .76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav-index {
  color: rgba(227, 200, 138, .55);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.nav-label {
  display: inline-block;
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(227, 200, 138, .075);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(227, 200, 138, .09);
}

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

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 3px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.batch-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(227, 200, 138, .24);
  border-radius: 999px;
  background: rgba(16, 26, 51, .5);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  white-space: nowrap;
  cursor: copy;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.batch-status:hover {
  border-color: rgba(227, 200, 138, .58);
  background: rgba(27, 43, 82, .78);
  color: var(--paper);
}

.batch-status[data-copied="true"] {
  border-color: var(--gold);
  background: rgba(184, 134, 59, .18);
  color: var(--paper);
}

.batch-status__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 59, .13);
}

.batch-status__text {
  color: inherit;
}

.batch-status__meta {
  color: rgba(168, 189, 184, .82);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .02em;
}

.search-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(244, 241, 233, .22);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.search-link:hover {
  color: var(--paper);
  border-color: rgba(227, 200, 138, .58);
  background: rgba(23, 69, 58, .5);
}

.search-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -1px;
  width: 5px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-label {
  display: inline-block;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(244, 241, 233, .22);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(227, 200, 138, .55);
  background: rgba(23, 69, 58, .55);
}

.nav-toggle-lines {
  display: grid;
  width: 16px;
  gap: 4px;
}

.nav-toggle-lines span {
  display: block;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s var(--ease);
}

.site-header[data-open="true"] .nav-toggle-lines span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-lines span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.nav-toggle-text {
  display: inline-block;
}

.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 128px);
  padding: clamp(52px, 7vw, 88px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(23, 69, 58, .72), transparent 34rem),
    linear-gradient(135deg, var(--indigo) 0%, #0B1528 68%, var(--forest) 145%);
  color: var(--paper);
  border-top: 1px solid rgba(227, 200, 138, .25);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(20px, 6vw, 96px);
  width: min(32vw, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}

.footer-top,
.footer-bottom {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4.6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.32fr) minmax(0, .82fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-brand-title {
  margin: 0 0 12px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.footer-signature {
  max-width: 30ch;
  margin: 0 0 18px;
  color: rgba(244, 241, 233, .72);
  font-size: 14px;
  line-height: 1.7;
}

.footer-line {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(227, 200, 138, .25);
  border-radius: 999px;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  color: rgba(244, 241, 233, .72);
  font-size: 13.5px;
  line-height: 1.55;
  text-decoration: none;
  transition: color .18s var(--ease);
}

.footer-link:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.footer-contact {
  margin: 0 0 14px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.contact-label {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.contact-value {
  color: rgba(244, 241, 233, .8);
  font-size: 13px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.footer-note {
  max-width: 38ch;
  margin: 0;
  color: rgba(168, 189, 184, .72);
  font-size: 12px;
  line-height: 1.65;
}

.footer-icp {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 8px;
  border: 1px solid rgba(227, 200, 138, .24);
  border-radius: 7px;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.3;
}

.footer-copy {
  margin: 0 0 14px;
  color: rgba(244, 241, 233, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
}

.footer-legal .footer-link {
  font-size: 12px;
}

.footer-sep {
  color: rgba(227, 200, 138, .45);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(168, 189, 184, .18);
}

.footer-bottom-text {
  margin: 0;
  color: rgba(168, 189, 184, .66);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
}

.footer-top-link {
  color: var(--gold-soft);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.footer-top-link:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.wrap {
  width: min(1440px, calc(100% - clamp(40px, 9vw, 144px)));
  margin-inline: auto;
}

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

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

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

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

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-left: 9px;
  border-left: 2px solid var(--gold);
  color: var(--cinnabar);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
}

.section-title {
  max-width: 17ch;
  margin: 0 0 .4em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.lede {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.2vw, 1.24rem);
  line-height: 1.75;
}

.panel {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid rgba(168, 189, 184, .24);
  border-radius: 18px 10px 18px 10px;
  background:
    radial-gradient(circle at 92% 8%, rgba(227, 200, 138, .1), transparent 18rem),
    var(--forest);
  color: var(--paper);
}

.panel--dark {
  background:
    radial-gradient(circle at 8% 0%, rgba(23, 69, 58, .55), transparent 24rem),
    var(--indigo);
}

.panel--paper {
  border-color: var(--line-light);
  background: rgba(244, 241, 233, .86);
  color: var(--ink);
}

.card {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-light);
  border-radius: 16px 9px 16px 9px;
  background: rgba(244, 241, 233, .8);
  box-shadow: 0 18px 38px rgba(14, 42, 36, .055);
}

.meta {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .055em;
}

.batch-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px 3px 7px;
  border: 1px solid rgba(156, 43, 33, .22);
  border-left: 3px solid var(--cinnabar);
  border-radius: 6px 10px 6px 10px;
  background: rgba(156, 43, 33, .06);
  color: var(--cinnabar);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .055em;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(184, 134, 59, .11);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .055em;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid rgba(34, 41, 43, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}

.chip:hover {
  border-color: var(--gold);
  color: var(--forest);
}

.chip[aria-pressed="true"] {
  border-color: var(--indigo-2);
  background: var(--indigo-2);
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

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

.btn--solid {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.btn--solid:hover {
  border-color: var(--forest-2);
  background: var(--forest-2);
}

.btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.btn--ghost:hover {
  background: rgba(34, 41, 43, .06);
}

.btn--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--indigo);
}

.btn--gold:hover {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.breadcrumbs {
  margin: 18px 0 28px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .045em;
}

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

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: rgba(74, 79, 82, .45);
}

.breadcrumbs__link {
  color: var(--ink-soft);
  text-decoration: none;
}

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

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

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-light);
  border-radius: 16px 9px 16px 9px;
  background:
    linear-gradient(145deg, rgba(232, 227, 214, .82), rgba(168, 189, 184, .28)),
    var(--paper-2);
}

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

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

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

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(.96) brightness(1.04);
}

.media__caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  padding: 7px 9px;
  border: 1px solid rgba(244, 241, 233, .26);
  border-radius: 7px;
  background: rgba(16, 26, 51, .76);
  color: rgba(244, 241, 233, .86);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .035em;
  backdrop-filter: blur(4px);
}

.media__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid rgba(227, 200, 138, .48);
  border-radius: 6px 10px 6px 10px;
  background: rgba(14, 42, 36, .84);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-light);
  border-radius: 12px 7px 12px 7px;
  background: var(--paper);
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
}

.data-table th {
  padding: 13px 14px;
  background: var(--indigo-2);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  min-height: 56px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(34, 41, 43, .1);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) {
  background: var(--paper-2);
}

.data-table th:first-child,
.data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: inherit;
}

.data-table th:first-child {
  z-index: 2;
  background: var(--indigo-2);
}

.timeline {
  position: relative;
  min-width: 0;
}

.timeline__rail {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(168, 189, 184, .22));
}

.timeline__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  position: relative;
  padding-left: 32px;
}

.timeline__marker {
  position: absolute;
  top: .55em;
  left: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.timeline__label {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .07em;
}

.timeline__link {
  color: var(--forest);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.timeline__link:hover {
  color: var(--cinnabar);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.timeline__link.is-active {
  color: var(--cinnabar);
}

@media (max-width: 1280px) {
  .nav-link {
    padding-inline: 5px;
    font-size: 12.2px;
  }

  .batch-status__meta {
    display: none;
  }
}

@media (max-width: 1080px) {
  html {
    scroll-padding-top: 96px;
  }

  .command-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .site-header[data-condensed="true"] .command-bar {
    min-height: 60px;
  }

  .command-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(16px, 4vw, 24px);
    left: clamp(16px, 4vw, 24px);
    z-index: 130;
    max-height: calc(100vh - 110px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(227, 200, 138, .28);
    border-radius: 16px 9px 16px 9px;
    background:
      radial-gradient(circle at 90% 0%, rgba(184, 134, 59, .12), transparent 18rem),
      linear-gradient(155deg, var(--forest), var(--indigo));
    box-shadow: 0 28px 68px rgba(0, 0, 0, .36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }

  .site-header[data-open="true"] .command-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    align-items: stretch;
  }

  .nav-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(168, 189, 184, .15);
    border-radius: 7px;
    font-size: 15px;
  }

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

  .nav-index {
    font-size: 10px;
  }

  .nav-link[aria-current="page"]::after {
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 0;
    width: 2px;
    height: auto;
  }

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

  .content-grid--asym {
    grid-template-columns: 1fr;
  }

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

  .footer-brand,
  .footer-column--meta {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .command-bar {
    gap: 10px;
    padding-inline: 16px;
  }

  .brand-lockup {
    gap: 9px;
  }

  .brand-seal {
    width: 35px;
    height: 35px;
    font-size: 17px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 9.5px;
  }

  .header-tools {
    gap: 7px;
  }

  .search-label {
    display: none;
  }

  .search-link {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .batch-status {
    padding-inline: 9px;
  }

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

  .footer-brand-title {
    font-size: 2rem;
  }

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

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

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

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }

  .nav-toggle-text {
    display: none;
  }

  .batch-status__text {
    max-width: 8ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .command-bar {
    min-height: 66px;
  }

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

  .contact-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }
}

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

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

  .btn:hover {
    transform: none;
  }
}
