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

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

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
  color: var(--ink);
}

:root {
  --ocean: #0A1F3D;
  --orange: #FF6B1A;
  --gold: #C9A961;
  --cream: #F5F0E8;
  --ink: #141414;
  --cyan: #7EC8E3;
  --red: #E63946;
  --green: #2A9D8F;
  --rail-w: 264px;
  --header-h: 72px;
  --font-head: "Arial Black", "Impact", "Microsoft YaHei", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-data: Consolas, Menlo, "Roboto Mono", monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

ul,
ol {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ocean);
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 0;
  left: 8px;
  z-index: 2000;
  display: inline-block;
  padding: .75rem 1.25rem;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .25s var(--ease);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--rail-w);
  height: 100vh;
  background: var(--ocean);
  color: #fff;
  border-right: 4px solid var(--orange);
  overflow: hidden;
}

.site-header__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.25rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  margin-bottom: 2rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background: var(--orange);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.brand__text {
  display: grid;
  gap: .1rem;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: .06em;
}

.brand__note {
  font-family: var(--font-data);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--gold);
}

.site-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.site-nav__list {
  counter-reset: nav;
  display: grid;
  gap: .3rem;
  list-style: none;
}

.site-nav__link {
  counter-increment: nav;
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem .8rem;
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .05em;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.site-nav__link::before {
  content: counter(nav, decimal-leading-zero);
  min-width: 2ch;
  font-family: var(--font-data);
  font-size: .7rem;
  color: var(--gold);
  opacity: .85;
}

.site-nav__link:hover {
  background: rgba(255, 107, 26, .14);
  border-left-color: var(--orange);
  color: #fff;
}

.site-nav__link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(255, 107, 26, .2), transparent 82%);
  border-left-color: var(--orange);
  color: #fff;
}

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

.site-nav__meta {
  margin-top: auto;
  display: grid;
  gap: .4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--font-data);
  font-size: .72rem;
  line-height: 1.65;
  letter-spacing: .05em;
  color: var(--cyan);
}

.site-nav__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .35rem;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(42, 157, 143, .5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(42, 157, 143, 0);
  }
}

.site-header__slash {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: var(--orange);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  padding: 0;
  z-index: 20;
}

.nav-toggle__bar {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .25s var(--ease), opacity .25s ease;
}

.nav-toggle__bar:nth-child(1) {
  top: 14px;
}

.nav-toggle__bar:nth-child(2) {
  top: 21px;
}

.nav-toggle__bar:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  min-height: 70vh;
}

.container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.site-section {
  padding-block: 4rem;
}

.site-section--ocean {
  background: var(--ocean);
  color: #fff;
}

.site-section--cream {
  background: var(--cream);
}

.chapter {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.chapter__num {
  grid-row: 1 / span 2;
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: .8;
  color: var(--orange);
  font-weight: 900;
}

@supports ((-webkit-text-stroke: 2px var(--orange))) {
  .chapter__num {
    color: transparent;
    -webkit-text-stroke: 2px var(--orange);
  }
}

.chapter__label {
  grid-column: 2;
  font-family: var(--font-data);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.chapter__title {
  grid-column: 2;
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ocean);
}

.chapter__sub {
  grid-column: 1 / -1;
  max-width: 65ch;
  color: #5e6e83;
  margin-top: .2rem;
}

.site-section--ocean .chapter__title {
  color: #fff;
}

.site-section--ocean .chapter__sub {
  color: rgba(255, 255, 255, .72);
}

.site-section--ocean .chapter__num {
  -webkit-text-stroke-color: var(--gold);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.poster {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-block: clamp(2.5rem, 7vh, 5rem);
}

.poster__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: .92;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--ocean);
}

.poster__title em {
  font-style: italic;
  color: var(--orange);
}

.poster__lead {
  max-width: 46ch;
  margin: 1.5rem 0 2rem;
  font-size: 1.06rem;
  color: #596b81;
  line-height: 1.7;
}

.poster__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.poster__status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  font-family: var(--font-data);
  font-size: .75rem;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 97, .6);
  padding: .3rem .7rem;
}

.poster__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.poster__aside {
  position: relative;
  overflow: hidden;
  background: var(--ocean);
  color: #fff;
  padding: 1.75rem 1.5rem;
  box-shadow: 18px 18px 0 rgba(10, 31, 61, .14);
}

.poster__aside::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  background: var(--orange);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%, 0 55%);
  opacity: .22;
}

.poster__aside-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.poster__aside-list {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: .8rem;
  margin: 0;
}

.poster__aside-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: .8rem;
  font-family: var(--font-data);
  font-size: .9rem;
}

.poster__aside-list b {
  color: var(--orange);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform .25s ease, background .25s ease;
}

.btn:hover {
  background: #e05500;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.btn--ghost:hover {
  background: rgba(255, 107, 26, .08);
  color: var(--orange);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  background: rgba(10, 31, 61, .08);
  color: var(--ocean);
  font-family: var(--font-data);
  font-size: .75rem;
  margin: 0 .25rem .25rem 0;
}

.tag--gold {
  background: rgba(201, 169, 97, .18);
  color: #8a6d2b;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--ocean);
  background: transparent;
  color: var(--ocean);
  padding: .55rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

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

.filter-btn[aria-pressed="true"] {
  background: var(--ocean);
  color: #fff;
  border-color: var(--ocean);
}

.filter-btn[aria-pressed="true"]:hover {
  background: var(--ocean);
  color: var(--gold);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10, 31, 61, .14);
  border-top: 4px solid var(--orange);
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(10, 31, 61, .08);
}

.card--ocean {
  background: var(--ocean);
  color: #fff;
  border-top-color: var(--gold);
}

.card__title {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: .4rem;
}

.card__desc {
  color: #5b6b80;
  font-size: .92rem;
  line-height: 1.65;
}

.card--ocean .card__desc {
  color: rgba(255, 255, 255, .72);
}

.card__data {
  font-family: var(--font-data);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

.card__extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: #5b6b80;
}

.card:hover .card__extra,
.card:focus-within .card__extra {
  max-height: 12rem;
}

.card__link {
  display: inline-block;
  margin-top: .75rem;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-data);
  font-size: .875rem;
}

.data-table th,
.data-table td {
  padding: .75rem .9rem;
  border-bottom: 1px solid rgba(10, 31, 61, .16);
  text-align: left;
}

.data-table th {
  background: var(--ocean);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll .data-table {
  min-width: 640px;
}

.breadcrumb {
  display: block;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: .85rem;
  color: #5b6b80;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: .5rem;
  color: var(--gold);
}

.breadcrumb__link {
  color: var(--ocean);
  font-weight: 600;
  text-decoration: none;
}

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

.notice {
  background: rgba(126, 200, 227, .12);
  border-left: 4px solid var(--cyan);
  padding: 1rem 1.25rem;
  color: var(--ocean);
  line-height: 1.7;
}

.notice--warning {
  background: rgba(230, 57, 70, .08);
  border-left-color: var(--red);
}

.divider {
  height: 1px;
  border: 0;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--gold) 0 20%, rgba(10, 31, 61, .15) 20% 100%);
}

.vertical-note {
  writing-mode: vertical-rl;
  width: fit-content;
  padding: .7rem .35rem;
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--gold);
  background: var(--ocean);
}

.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #081a33 0%, var(--ocean) 60%, #12315e 100%);
}

.image-frame::before {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-data);
  letter-spacing: .3em;
  color: var(--gold);
  background: radial-gradient(circle at 75% 25%, rgba(255, 107, 26, .28), transparent 38%), linear-gradient(135deg, rgba(10, 31, 61, .2), rgba(10, 31, 61, .6));
}

.image-frame > * {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.image-frame--hero {
  aspect-ratio: auto;
  min-height: 32rem;
}

.site-footer {
  position: relative;
  margin-top: 5rem;
  background: var(--ocean);
  color: #fff;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0 42%, var(--gold) 42% 46%, transparent 46%);
}

.site-footer__frame {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  padding: 3.5rem 0 1.75rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.site-footer__logo {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.site-footer__note {
  margin-top: 1rem;
  max-width: 34em;
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .7);
}

.site-footer__title {
  font-family: var(--font-data);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer__list {
  list-style: none;
  display: grid;
  gap: .6rem;
}

.site-footer__link {
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s ease;
}

.site-footer__link:hover {
  color: var(--orange);
}

.site-footer__link--inline {
  display: inline-block;
}

.site-footer__contact {
  color: rgba(255, 255, 255, .74);
  font-size: .9rem;
  line-height: 1.9;
}

.site-footer__contact-line {
  overflow-wrap: anywhere;
}

.site-footer__contact-note {
  margin-top: .6rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  padding-top: 1.25rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.site-footer__bottom .site-footer__link {
  font-size: .8rem;
}

.site-footer__icp {
  margin-left: auto;
  font-family: var(--font-data);
  color: var(--gold);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

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

@media (min-width: 901px) {
  body {
    padding-left: var(--rail-w);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  body {
    padding-left: 0;
  }

  .site-header {
    width: auto;
    height: var(--header-h);
    border-right: 0;
    border-bottom: 3px solid var(--orange);
  }

  .site-header__frame {
    flex-direction: row;
    align-items: center;
    height: var(--header-h);
    padding: 0 1rem;
  }

  .brand {
    margin-bottom: 0;
  }

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

  .brand__name {
    font-size: 1.2rem;
  }

  .brand__note {
    font-size: .62rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    height: calc(100vh - var(--header-h));
    background: linear-gradient(160deg, var(--ocean) 0%, #0d2a4f 100%);
    padding: 1.5rem 1.5rem 2rem;
    transform: translateY(calc(-100% - 120px));
    visibility: hidden;
    opacity: 0;
    transition: transform .3s var(--ease), opacity .25s ease, visibility 0s linear .3s;
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition: transform .3s var(--ease), opacity .25s ease, visibility 0s;
  }

  .site-nav__list {
    gap: .55rem;
  }

  .site-nav__link {
    font-size: 1.1rem;
    padding: .9rem 1rem;
  }

  .site-nav__meta {
    margin-top: 2rem;
  }

  .site-main {
    padding-top: var(--header-h);
  }

  .poster {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .poster__aside {
    max-width: 100%;
  }

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

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__icp {
    margin-left: 0;
  }

  .site-header__slash {
    height: 6px;
    bottom: -1px;
  }
}

@media (max-width: 600px) {
  .site-section {
    padding-block: 3rem;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .poster__title {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .poster__aside {
    box-shadow: 12px 12px 0 rgba(10, 31, 61, .14);
  }

  .site-footer__frame {
    padding-top: 2.5rem;
  }

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

@media (max-height: 700px) and (min-width: 901px) {
  .site-nav__meta {
    display: none;
  }

  .site-header__frame {
    padding-bottom: 1rem;
  }
}

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

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

  .site-nav,
  .site-nav[data-open="true"] {
    transition: none;
  }

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

  .nav-toggle__bar {
    transition: none;
  }
}
