:root {
  --c-green: #0D4F3C;
  --c-green-bright: #2E8B57;
  --c-gold: #D4AF37;
  --c-dark-gold: #B8860B;
  --c-red: #8B1A1A;
  --c-black: #111111;
  --c-white: #FFFFFF;
  --c-light: #F5F5F0;
  --c-text: #333333;
  --c-muted: #666666;
  --font-title: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --container: 1240px;
  --header-h: 84px;
  --shadow-green: 8px 8px 0 rgba(13,79,60,.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: radial-gradient(circle at 85% 8%, rgba(212,175,55,.12), transparent 34%), var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-black);
  margin: 0 0 .5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: 0;
}

button {
  background: none;
}

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

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  top: -120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-gold);
  color: var(--c-black);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: .875rem;
  padding: .75rem 1.25rem;
  z-index: 2000;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
}

#main-content {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 72px;
}

.section--alt {
  background: var(--c-light);
  color: var(--c-text);
}

.section--dark {
  background: var(--c-black);
  color: var(--c-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--c-white);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-dark-gold);
  border-left: 4px solid var(--c-gold);
  padding-left: 10px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-black);
  margin: 0 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--c-green);
  color: var(--c-white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--c-green);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.button:hover {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(139,26,26,.25);
}

.button--primary {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-black);
}

.button--primary:hover {
  background: var(--c-dark-gold);
  border-color: var(--c-dark-gold);
  color: var(--c-black);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: var(--c-white);
}

.button--ghost:hover {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-black);
  box-shadow: 6px 6px 0 rgba(212,175,55,.5);
}

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

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

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

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

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

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

.card {
  position: relative;
  background: var(--c-white);
  border: 1px solid #e4e4dc;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(13,79,60,.45);
}

.card:hover::before {
  transform: scaleY(1);
}

.card--dark {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}

.card__title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--c-black);
  margin-bottom: 8px;
}

.card--dark .card__title {
  color: var(--c-gold);
}

.card__text {
  font-size: .925rem;
  color: var(--c-muted);
  margin-bottom: 0;
}

.card--dark .card__text {
  color: rgba(255,255,255,.7);
}

.panel {
  position: relative;
  background: var(--c-white);
  border: 1px solid #e0e0d8;
  border-left: 6px solid var(--c-green);
  box-shadow: var(--shadow-green);
  padding: 24px;
  margin-bottom: 24px;
}

.panel--gold {
  border-left-color: var(--c-gold);
}

.panel--red {
  border-left-color: var(--c-red);
}

.cut-angle {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.tilt {
  transform: rotate(-1.2deg);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--c-muted);
}

.legend__swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--c-gold);
}

.legend__swatch--red {
  background: var(--c-red);
}

.legend__swatch--green {
  background: var(--c-green);
}

.legend__swatch--light {
  background: var(--c-light);
  border: 1px solid #ddd;
}

.coordinate {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-title);
  color: var(--c-green);
}

.coordinate__code {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--c-gold);
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--c-light);
}

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

.media--4-3 {
  aspect-ratio: 4 / 3;
}

.media--3-2 {
  aspect-ratio: 3 / 2;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.media__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-green), var(--c-black) 70%);
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  font-family: var(--font-title);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.media__placeholder::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(212,175,55,.4);
  transform: rotate(45deg);
}

.breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: .85rem;
  color: var(--c-muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--c-muted);
}

.breadcrumbs__link {
  color: var(--c-green);
  text-decoration: none;
}

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

.breadcrumbs__current {
  color: var(--c-muted);
}

.prose {
  max-width: 800px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.8;
}

.prose h1,
.prose h2,
.prose h3 {
  font-family: var(--font-title);
  margin-top: 2em;
  margin-bottom: .6em;
}

.prose a {
  color: var(--c-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.data-strip {
  list-style: none;
  margin: 0;
  padding: 0;
}

.data-strip li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 12px;
  border-bottom: 1px solid #e4e4dc;
}

.data-strip li:nth-child(odd) {
  background: var(--c-light);
}

.data-strip strong {
  font-family: var(--font-title);
  font-size: 1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  background: var(--c-white);
  border: 2px solid var(--c-black);
  color: var(--c-black);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-button:hover {
  border-color: var(--c-gold);
}

.filter-button[aria-pressed="true"] {
  background: var(--c-black);
  color: var(--c-gold);
  border-color: var(--c-black);
}

.is-filtered {
  display: none !important;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition-property: opacity, transform;
  transition-duration: .5s;
  transition-timing-function: ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,79,60,.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(212,175,55,.45);
  color: var(--c-white);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-white);
  text-decoration: none;
}

.brand-mark__ball {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  background: radial-gradient(circle at 30% 25%, var(--c-white) 0 18%, var(--c-gold) 36%, var(--c-green) 68%, var(--c-black) 100%);
  box-shadow: 0 0 0 2px rgba(212,175,55,.55);
}

.brand-mark__ball::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,.8);
  transform: rotate(18deg);
}

.brand-mark__ball::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255,255,255,.8);
  transform: rotate(18deg);
}

.brand-mark__name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}

.header-tagline {
  font-size: .75rem;
  font-family: var(--font-title);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  border-left: 1px solid rgba(212,175,55,.6);
  padding-left: 14px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-toggle {
  display: none;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav {
  display: block;
}

.nav-list {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: .75rem .8rem;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.nav-list a:hover {
  color: var(--c-gold);
}

.nav-list a[aria-current="page"] {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.header-search {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255,255,255,.25);
  transition: border-color .2s ease;
}

.header-search:focus-within {
  border-color: var(--c-gold);
}

.header-search__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
  margin-right: 8px;
}

.header-search__icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: var(--c-gold);
  bottom: -4px;
  right: -5px;
  transform: rotate(45deg);
}

.header-search__input {
  width: 180px;
  padding: 8px 0;
  background: transparent;
  color: var(--c-white);
  outline: none;
  font-size: .875rem;
}

.header-search__input::placeholder {
  color: rgba(255,255,255,.5);
}

.header-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 1100px) {
  .header-tagline {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-brand {
    flex: 1 1 auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--c-white);
    border: 1px solid rgba(212,175,55,.45);
    cursor: pointer;
  }

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

  .nav-toggle__box span {
    height: 2px;
    background: var(--c-white);
    transition: transform .25s ease, opacity .15s ease;
  }

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

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

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

  .nav-toggle__label {
    font-family: var(--font-title);
    font-size: .875rem;
    font-weight: 700;
  }

  .header-nav-wrap {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 10px;
    padding: 16px 0 4px;
    border-top: 1px solid rgba(255,255,255,.15);
  }

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

  .primary-nav {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-left: 3px solid transparent;
    font-size: 1rem;
  }

  .nav-list a[aria-current="page"] {
    border-left-color: var(--c-gold);
    border-bottom-color: transparent;
  }

  .header-search {
    width: 100%;
  }

  .header-search__input {
    width: 100%;
  }
}

.site-footer {
  background: linear-gradient(160deg, var(--c-black) 0%, #082e22 55%, var(--c-green) 100%);
  color: rgba(255,255,255,.82);
  border-top: 4px solid var(--c-gold);
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--c-white);
}

.footer-logo__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--c-white) 0 18%, var(--c-gold) 36%, var(--c-green) 68%, var(--c-black) 100%);
  border: 2px solid var(--c-white);
  box-shadow: 0 0 0 2px rgba(212,175,55,.55);
}

.footer-tagline {
  margin: 8px 0 20px;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.footer-about {
  max-width: 44ch;
  font-size: .95rem;
  color: rgba(255,255,255,.68);
}

.footer-trust {
  max-width: 44ch;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(0,0,0,.28);
  border-left: 3px solid var(--c-gold);
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}

.footer-heading {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,175,55,.35);
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-links a:hover {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 3em 1fr;
  gap: 8px;
  padding: 7px 0;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

.footer-contact-label {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--c-gold);
}

.footer-contact-value {
  color: rgba(255,255,255,.82);
  overflow-wrap: anywhere;
}

.footer-service-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  background: rgba(0,0,0,.28);
  border-left: 3px solid var(--c-dark-gold);
  font-size: .85rem;
  color: rgba(255,255,255,.68);
}

.footer-bottom {
  background: rgba(0,0,0,.32);
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}

.footer-copy,
.footer-meta {
  color: rgba(255,255,255,.55);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  padding: 10px 16px;
  background: var(--c-gold);
  color: var(--c-black);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: .85rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  transition: transform .2s ease, background .2s ease;
}

.back-to-top:hover {
  background: var(--c-dark-gold);
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

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

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

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