:root {
  --blue-900: #0A1F3D;
  --blue-800: #10294F;
  --gold: #D4A017;
  --red: #E23B2E;
  --green: #3CB371;
  --cream: #F5F0E6;
  --brown: #2B1E16;
  --orange: #FF6B35;
  --glass: rgba(255, 255, 255, 0.2);
  --font-heading: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Quicksand", "Varela Round", "PingFang SC", sans-serif;
  --font-numeric: "IBM Plex Mono", "Courier New", monospace;
  --site-radius: 24px;
  --content-max: 1180px;
}

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--cream);
  background-color: var(--blue-900);
  background-image:
    radial-gradient(circle at 88% 8%, rgba(212, 160, 23, 0.12), transparent 32%),
    radial-gradient(circle at 8% 55%, rgba(60, 179, 113, 0.08), transparent 30%),
    repeating-linear-gradient(118deg, transparent 0 64px, rgba(255, 255, 255, 0.016) 64px 66px, transparent 66px 128px);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cream);
}

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

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

ul,
ol {
  list-style: none;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

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

button {
  cursor: pointer;
  background: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: 96px;
}

#main-content {
  min-height: 70vh;
  padding-top: 96px;
}

.container {
  width: min(var(--content-max), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 400;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-900);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: top 0.22s ease;
}

.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--cream);
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 220;
  pointer-events: none;
}

.site-progress::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--red));
  transform-origin: left center;
  transform: scaleX(var(--scroll-rate, 0));
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1120px, 100%);
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(10, 31, 61, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
  pointer-events: auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 2px 10px 2px 4px;
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--cream);
}

.site-brand__mark {
  display: block;
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--blue-900) 0 34%, transparent 36%),
    repeating-linear-gradient(135deg, var(--gold) 0 5px, var(--orange) 5px 10px);
  border: 2px solid rgba(245, 240, 230, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 0 10px rgba(0, 0, 0, 0.22);
}

.site-brand__text {
  display: block;
}

.site-brand__title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
}

.site-brand__slogan {
  display: block;
  font-family: var(--font-numeric);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav__item {
  display: block;
}

.site-nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(245, 240, 230, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
}

.site-nav__link[aria-current="page"] {
  background: var(--gold);
  color: var(--blue-900);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.28);
}

.site-nav__toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-nav__toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-nav__toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-nav__toggle-bar:nth-child(1) {
  margin-top: -7px;
}

.site-nav__toggle-bar:nth-child(3) {
  margin-top: 7px;
}

[data-header][data-open] .site-nav__toggle-bar:nth-child(1) {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

[data-header][data-open] .site-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

[data-header][data-open] .site-nav__toggle-bar:nth-child(3) {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-footer {
  margin-top: 84px;
  background: var(--cream);
  color: var(--brown);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
}

.site-footer__track {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--blue-900) 0 16px, var(--gold) 16px 32px);
  opacity: 0.9;
}

.site-footer__inner {
  max-width: calc(var(--content-max) - 40px);
  margin-inline: auto;
  padding: 44px 20px 22px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  gap: 36px 40px;
}

.site-footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue-900);
  text-decoration: none;
}

.site-footer__logo:hover {
  color: var(--red);
}

.site-footer__slogan {
  margin-top: 12px;
  max-width: 44ch;
  font-size: 0.88rem;
  color: rgba(43, 30, 22, 0.75);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

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

.site-footer__col--contact,
.site-footer__col--links {
  display: block;
}

.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-900);
}

.site-footer__heading-mark {
  display: block;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.site-footer__list {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

.site-footer__list a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__list a:hover {
  color: var(--red);
  border-bottom-color: currentColor;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px dashed rgba(43, 30, 22, 0.25);
  font-size: 0.82rem;
  color: rgba(43, 30, 22, 0.8);
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 31, 61, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--gold);
  font-family: var(--font-numeric);
  font-size: 1.15rem;
  line-height: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.back-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover,
.back-top:focus-visible {
  background: var(--gold);
  color: var(--blue-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--blue-900);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.4);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass);
  color: var(--cream);
}

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

.btn--danger {
  background: var(--red);
  color: var(--cream);
}

.btn--danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(226, 59, 46, 0.4);
}

.breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.65);
}

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

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

.breadcrumb__link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.page-heading {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
}

.page-intro {
  max-width: 720px;
  font-size: 1.02rem;
  color: rgba(245, 240, 230, 0.75);
}

.hero-frame {
  position: relative;
  padding: 40px;
  border-radius: 28px;
  background: rgba(16, 41, 79, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 0;
}

.hero-frame__corner {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0 solid var(--gold);
  pointer-events: none;
}

.hero-frame__corner--tl {
  top: -2px;
  left: -2px;
  border-top-width: 4px;
  border-left-width: 4px;
  border-top-left-radius: 18px;
}

.hero-frame__corner--br {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 4px;
  border-right-width: 4px;
  border-bottom-right-radius: 18px;
}

.hero-frame__ticks {
  position: absolute;
  top: 24px;
  bottom: 24px;
  right: 10px;
  z-index: 2;
  width: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 3px, transparent 3px 16px);
  opacity: 0.75;
  pointer-events: none;
}

.section {
  padding-block: 64px;
}

.section--band {
  position: relative;
  overflow: hidden;
  margin-block: 28px;
  padding: 64px 28px;
  border-radius: var(--site-radius);
  background: rgba(16, 41, 79, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.data-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--brown);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.data-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.data-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(43, 30, 22, 0.14);
}

.data-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-900);
}

.data-card__score {
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--red);
}

.stat {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__num {
  display: block;
  font-family: var(--font-numeric);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.72);
}

.panel-fold {
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease;
}

.panel-fold[open] {
  border-color: rgba(212, 160, 23, 0.55);
}

.panel-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cream);
}

.panel-fold summary::-webkit-details-marker {
  display: none;
}

.panel-fold summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--font-numeric);
  font-size: 1.25rem;
  line-height: 1;
}

.panel-fold[open] summary::after {
  content: "−";
}

.panel-fold > p {
  padding-bottom: 18px;
  color: rgba(245, 240, 230, 0.78);
}

.img-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.img-frame::before {
  content: attr(data-label);
  padding: 12px;
  text-align: center;
  font-family: var(--font-numeric);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.55);
}

.img-frame--wide {
  aspect-ratio: 16 / 8;
}

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

.img-frame--glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  #main-content {
    padding-top: 88px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    border-radius: 26px;
    padding: 10px 12px;
  }

  .site-nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px 0 4px;
  }

  .site-nav__link {
    padding: 12px 16px;
    font-size: 1rem;
    text-align: center;
  }

  .section {
    padding-block: 48px;
  }

  .section--band {
    padding: 44px 20px;
  }

  .hero-frame {
    padding: 32px 24px;
  }

  .hero-frame__ticks {
    right: 6px;
  }
}

@media (max-width: 560px) {
  #main-content {
    padding-top: 80px;
  }

  .site-brand__slogan {
    display: none;
  }

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

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

  .site-footer__brand {
    grid-column: auto;
  }

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

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

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

  .data-card,
  .btn,
  .back-top {
    transition: none;
  }
}
