:root {
  --paper: #F5F0E8;
  --ink: #1A1A1A;
  --orange: #E84A2A;
  --blue: #0B2545;
  --gold: #C9A53A;
  --gray: #3B3B3B;
  --deep-paper: #D8CFC0;
  --bright-orange: #FF6B4A;
  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-anno: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 1000;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--blue);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 2px 0 var(--orange), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 10;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  transition: width 0.1s linear;
}

.header-topbar {
  position: relative;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  background-image: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(245, 240, 232, 0.025) 10px 20px);
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.header-brand-line {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-sub-line {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.header-main {
  position: relative;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 65%, var(--blue) 130%);
}

.header-main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 100%;
  background: linear-gradient(135deg, rgba(232, 74, 42, 0.22), rgba(232, 74, 42, 0));
  clip-path: polygon(100% 0, 100% 100%, 30% 0);
  pointer-events: none;
  z-index: 0;
}

.header-main-inner {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  gap: 1.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  text-decoration: none;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.05em;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
}

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

.brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.25);
  color: var(--paper);
  padding: 0.5rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 1rem;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

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

.site-nav-wrap {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  z-index: 200;
}

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

.site-nav {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
}

.site-nav-link {
  display: block;
  padding: 0.875rem clamp(1rem, 4vw, 1.5rem);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
  position: relative;
  transition: color 0.2s, padding-left 0.2s;
}

.site-nav-link::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%) skewX(-20deg);
  width: 4px;
  height: 0;
  background: var(--orange);
  transition: height 0.2s;
}

.site-nav-link[aria-current="page"]::before {
  height: 1.2em;
}

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

.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--bright-orange);
}

.site-nav-link[aria-current="page"] {
  color: var(--orange);
  font-weight: 900;
}

@media (min-width: 861px) {
  .nav-toggle {
    display: none;
  }

  .site-nav-wrap {
    display: block;
    position: static;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    margin-left: auto;
  }

  .site-nav {
    flex-direction: row;
    padding: 0;
    gap: 0.25rem;
  }

  .site-nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 0;
  }

  .site-nav-link::before {
    display: none;
  }

  .site-nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.25rem;
    height: 3px;
    background: var(--orange);
    transform: skewX(-20deg) scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
  }

  .site-nav-link:hover::after,
  .site-nav-link[aria-current="page"]::after {
    transform: skewX(-20deg) scaleX(1);
  }
}

.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--orange) 0 12px, var(--gold) 12px 24px, var(--blue) 24px 32px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}

@media (min-width: 561px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 901px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
  }
}

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

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 1.125rem;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
}

.footer-brand-name {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-tagline {
  margin: 0 0 1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.9375rem;
}

.footer-trust {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-title {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(245, 240, 232, 0.15);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--bright-orange);
  padding-left: 0.25rem;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.75);
}

.footer-contact-list a {
  color: var(--bright-orange);
  text-decoration: none;
}

.footer-contact-list a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.5);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.content-body {
  display: block;
  background: var(--paper);
  color: var(--ink);
  min-height: 60vh;
}

.page-header {
  padding: clamp(2rem, 5vw, 4rem) 0 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 4px solid var(--ink);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 6rem;
  height: 4px;
  background: var(--orange);
  transform: skewX(-25deg);
  transform-origin: left;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232, 74, 42, 0.1);
  padding: 0.375rem 0.75rem;
  border-left: 3px solid var(--orange);
  margin-bottom: 1.25rem;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-intro {
  max-width: 60ch;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--gray);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.375rem;
  color: var(--deep-paper);
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--gray);
  cursor: default;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 2rem;
}

.section-foot {
  margin-top: 2rem;
}

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

@media (min-width: 640px) {
  .grid-2,
  .grid-asymmetric {
    grid-template-columns: 1fr 1fr;
  }
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--deep-paper);
  box-shadow: 4px 4px 0 var(--deep-paper);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 6px 6px 0 var(--deep-paper);
  transform: translate(-2px, -2px);
}

.card-title {
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: var(--deep-paper);
  color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--bright-orange);
  color: #fff;
}

.btn-secondary {
  background: var(--blue);
  color: var(--paper);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #16355f;
  color: var(--paper);
}

.tag {
  display: inline-block;
  background: var(--blue);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin: 0 0.25rem 0.25rem 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}

.tag-gold {
  background: var(--gold);
  color: var(--ink);
}

.tag-orange {
  background: var(--orange);
  color: #fff;
}

.figure {
  display: block;
  position: relative;
  margin: 0 0 0.75rem;
  background: var(--deep-paper);
  border: 1px solid var(--deep-paper);
  overflow: hidden;
}

.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.figure-1-1 {
  aspect-ratio: 1 / 1;
}

.figure-caption {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray);
  padding: 0.5rem 0.125rem;
}

.figure-caption::before {
  content: '';
  flex: 0 0 1.5rem;
  height: 2px;
  background: var(--orange);
  align-self: center;
}

.notice {
  border-left: 4px solid var(--gold);
  background: rgba(201, 165, 58, 0.1);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray);
  margin: 1.5rem 0;
}

.divider {
  position: relative;
  height: 1.5rem;
  margin: 2rem 0;
  overflow: hidden;
}

.divider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px);
}

@media (max-width: 720px) {
  .header-sub-line {
    display: none;
  }
}

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

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

  .scroll-progress span {
    transition: none;
  }
}
