:root {
  --green-950: #061F15;
  --green-900: #0A3D2C;
  --green-800: #0F4C37;
  --gold-500: #D4AF37;
  --gold-400: #E5C94B;
  --gold-600: #B8960E;
  --red-700: #8B0000;
  --ink-black: #1A1A1A;
  --pure-white: #FFFFFF;
  --gray-100: #E8E8E8;
  --gray-400: #9E9E9E;
  --gray-700: #424242;
  --cream-100: #F5F0E6;
  --olive-500: #556B2F;
  --font-headline: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --container-width: 1280px;
  --header-height: 72px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-cta: 0 4px 14px rgba(212, 175, 55, 0.25);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-black);
  background: var(--pure-white);
}

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

a {
  color: var(--green-800);
}

ul,
ol {
  padding-left: 1.25em;
}

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-headline);
  font-weight: 900;
  color: var(--ink-black);
  line-height: 1.25;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 22px;
}

p {
  margin-bottom: 1em;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 72px 0;
}

.section-heading {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 32px;
  font-size: 28px;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gold-500);
}

.bg-green {
  background: var(--green-900);
  color: var(--pure-white);
}

.bg-green h1,
.bg-green h2,
.bg-green h3,
.bg-green h4 {
  color: var(--pure-white);
}

.bg-cream {
  background: var(--cream-100);
  color: var(--ink-black);
}

.bg-black {
  background: var(--ink-black);
  color: var(--pure-white);
}

.bg-black h1,
.bg-black h2,
.bg-black h3,
.bg-black h4 {
  color: var(--pure-white);
}

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

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

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

.btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--green-900);
  box-shadow: var(--shadow-cta);
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  border-color: var(--green-800);
  color: var(--green-800);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-800);
  color: var(--pure-white);
}

.card {
  background: var(--pure-white);
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--olive-500);
  color: var(--olive-500);
  border-radius: 2px;
  background: transparent;
}

.tag-gold {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.tag-red {
  border-color: var(--red-700);
  color: var(--red-700);
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 32px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.breadcrumbs a {
  color: var(--green-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--gold-600);
}

.breadcrumbs .current {
  color: var(--gray-700);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 4px;
}

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

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

.media-frame img,
.media-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 8px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-900);
  color: var(--pure-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--gold-500);
  color: var(--green-900);
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  border-radius: 0 0 4px 0;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold-500);
  z-index: 1100;
  pointer-events: none;
  transition: width 0.05s linear;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: var(--header-height);
  padding: 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--pure-white);
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--pure-white);
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--gold-500);
  color: var(--green-900);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: skew(-8deg);
  border-radius: 3px;
  box-shadow: var(--shadow-cta);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--pure-white);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

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

.nav-list li {
  margin: 0;
}

.nav-list a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
}

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

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

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold-500);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pure-white);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  margin-top: 96px;
}

.footer-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-500) 240px, var(--red-700) 240px, var(--red-700) 248px, transparent 248px);
}

.footer-top {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  max-width: 340px;
}

.footer-trust {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--gold-500);
  padding: 16px;
  border-radius: 0 4px 4px 0;
}

.footer-trust-mark {
  color: var(--gold-500);
  font-size: 12px;
  flex: 0 0 auto;
  padding-top: 4px;
}

.footer-trust p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.footer-col h3 {
  color: var(--gold-500);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-500);
  transform: translateX(2px);
}

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

.footer-contact-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.contact-label {
  color: var(--gold-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  width: 48px;
  flex-shrink: 0;
  padding-top: 2px;
  text-transform: uppercase;
}

.contact-value {
  color: rgba(255, 255, 255, 0.82);
  word-break: break-all;
}

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

.footer-bottom-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold-500);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-icp {
  margin-left: 16px;
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--green-800);
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease, visibility 0.3s;
}

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

.back-to-top:hover {
  background: var(--gold-500);
  color: var(--green-900);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .header-inner {
    gap: 12px;
  }

  .nav-list a {
    padding: 10px 10px;
    font-size: 13px;
  }

  .header-cta {
    padding: 10px 16px;
    font-size: 13px;
  }

  .footer-top {
    gap: 32px;
    padding: 48px 24px 32px;
  }
}

@media (max-width: 992px) {
  .header-inner {
    min-height: 64px;
    padding: 12px 20px;
  }

  .site-nav {
    display: none;
    flex: 0 0 100%;
    order: 10;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 0 12px;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
  }

  .nav-list a[aria-current="page"]::after {
    left: 8px;
    right: auto;
    width: 32px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-cta {
    margin-left: auto;
    padding: 8px 14px;
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px 32px;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
  }

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

@media (max-width: 600px) {
  .header-inner {
    padding: 10px 16px;
    gap: 10px;
  }

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

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .header-cta {
    display: inline-block;
    padding: 8px 12px;
    font-size: 12px;
  }

  .nav-list a {
    font-size: 14px;
    padding: 11px 6px;
  }

  .brand-tagline {
    font-size: 9px;
    letter-spacing: 2px;
  }

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

  .footer-legal {
    gap: 0 16px;
  }

  .footer-copy {
    font-size: 11px;
    line-height: 1.6;
  }

  .footer-icp {
    margin-left: 0;
  }
}

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