:root {
  --red-900: #651b22;
  --red-700: #a4282d;
  --red-600: #bb3238;
  --ink: #181716;
  --muted: #63605c;
  --paper: #f8f6f2;
  --white: #ffffff;
  --line: #ddd8d1;
  --teal: #16776f;
  --gold: #d99c31;
  --header-height: 72px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(24, 23, 22, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}

.brand-mark,
.footer-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: 19px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: min(860px, 94vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2a1717;
  color: var(--white);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 52%;
  filter: saturate(0.85) contrast(1.06);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(52, 10, 15, 0.94) 0%, rgba(81, 17, 23, 0.83) 38%, rgba(37, 29, 28, 0.26) 75%, rgba(25, 20, 18, 0.13) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 63vw);
  padding: calc(var(--header-height) + 76px) clamp(20px, 7vw, 112px) 170px;
}

.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
  color: #f4c76d;
}

.hero h1 {
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: clamp(72px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin-top: 30px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--red-900);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: #f4c76d;
  background: #f4c76d;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 80px);
  bottom: 0;
  left: clamp(20px, 5vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-stats > div {
  min-height: 126px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 25px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats > div:first-child {
  padding-left: 0;
}

.hero-stats > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-stats dt {
  padding-bottom: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-stats dd {
  white-space: nowrap;
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.hero-stats dd span {
  margin-left: 3px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.section {
  padding: clamp(76px, 10vw, 144px) clamp(20px, 7vw, 112px);
}

.section-kicker {
  margin-bottom: 22px;
  color: var(--red-700);
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.progress-intro h2,
.closing h2 {
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.17;
  letter-spacing: 0;
}

.intro-copy {
  padding-top: 10px;
  font-size: 17px;
  line-height: 2;
  color: var(--muted);
}

.intro-copy p + p {
  margin-top: 20px;
}

.intro-copy .data-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #827d76;
}

.features {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading > p {
  padding-bottom: 9px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  z-index: 1;
  background: #f4f0ea;
  transform: translateY(-3px);
}

.feature-card-highlight {
  background: var(--red-700);
  color: var(--white);
}

.feature-card-highlight:hover {
  background: var(--red-900);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--teal);
}

.feature-card-highlight .feature-icon {
  color: #f4c76d;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-number {
  position: absolute;
  top: 36px;
  right: 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  color: #928d86;
}

.feature-card-highlight .feature-number {
  color: rgba(255, 255, 255, 0.62);
}

.feature-card h3 {
  margin-top: 64px;
  font-size: 23px;
  line-height: 1.35;
}

.feature-card > p:not(.feature-number) {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.feature-card-highlight > p:not(.feature-number) {
  color: rgba(255, 255, 255, 0.76);
}

.feature-state {
  position: absolute;
  right: 40px;
  bottom: 32px;
  left: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}

.feature-card-highlight .feature-state {
  border-color: rgba(255, 255, 255, 0.25);
  color: #f4c76d;
}

.progress {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(440px, 1.25fr);
  gap: clamp(64px, 10vw, 160px);
  background: #191817;
  color: var(--white);
}

.progress-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 50px);
}

.progress-intro .section-kicker {
  color: #f4c76d;
}

.progress-intro p {
  margin-top: 28px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.9;
  color: #aaa6a1;
}

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

.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 34px 0 48px;
  border-top: 1px solid #4b4844;
}

.timeline li:last-child {
  border-bottom: 1px solid #4b4844;
}

.timeline-year {
  padding-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #f4c76d;
}

.timeline h3 {
  font-size: 22px;
}

.timeline p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: #aaa6a1;
}

.closing {
  background: #ece7df;
}

.closing-copy > p {
  max-width: 720px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.site-footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 7vw, 112px);
  background: var(--red-900);
  color: var(--white);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.site-footer p,
.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  transition: color 160ms ease, border-color 160ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  border-color: var(--white);
  color: var(--white);
}

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

@media (max-width: 980px) {
  .hero-content {
    width: 76vw;
  }

  .hero-stats > div {
    display: block;
  }

  .hero-stats dt {
    margin-bottom: 8px;
  }

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

  .progress {
    grid-template-columns: 1fr;
  }

  .progress-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 20px;
    background: var(--white);
    color: var(--ink);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 780px;
    align-items: flex-start;
  }

  .hero-art {
    object-position: 61% 45%;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(64, 11, 17, 0.94) 0%, rgba(73, 12, 18, 0.83) 52%, rgba(35, 25, 23, 0.65) 100%);
  }

  .hero-content {
    width: 100%;
    padding: 128px 20px 300px;
  }

  .hero h1 {
    font-size: clamp(60px, 21vw, 92px);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-stats {
    right: 20px;
    bottom: 24px;
    left: 20px;
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .hero-stats > div {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-stats > div:last-child {
    border-bottom: 0;
  }

  .hero-stats dt {
    margin: 0;
  }

  .hero-stats dd {
    font-size: 30px;
  }

  .section {
    padding: 74px 20px;
  }

  .intro-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro h2,
  .section-heading h2,
  .progress-intro h2,
  .closing h2 {
    font-size: 39px;
  }

  .intro-copy {
    padding-top: 0;
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 300px;
    padding: 28px;
  }

  .feature-number {
    top: 30px;
    right: 28px;
  }

  .feature-state {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .timeline li {
    grid-template-columns: 64px 1fr;
    gap: 18px;
  }

  .site-footer {
    min-height: 140px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
