:root {
  color-scheme: light;
  --bg: #f2f6f2;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --ink: #12221a;
  --muted: #53635b;
  --line: rgba(18, 34, 26, 0.14);
  --accent: #1f7f53;
  --accent-strong: #164c34;
  --accent-soft: rgba(31, 127, 83, 0.12);
  --accent-warm: #b94f36;
  --shadow: 0 16px 48px rgba(11, 26, 18, 0.09);
  --radius: 8px;
  --shell: min(1120px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 0.18s ease;
  box-shadow: var(--shadow);
}

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

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: var(--shell);
  margin: 0 auto;
  padding: 18px 0;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 2px;
  color: #fff;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.74);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.topnav a {
  padding: 6px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background: #0f1d15;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 19, 13, 0.86) 0%, rgba(8, 19, 13, 0.72) 34%, rgba(8, 19, 13, 0.18) 72%, rgba(8, 19, 13, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 19, 13, 0.32) 0%, rgba(8, 19, 13, 0.44) 100%);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: 108px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 40px;
}

.hero-copy {
  max-width: 620px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 3.8rem;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 9ch;
}

.lede {
  max-width: 54ch;
  margin-bottom: 26px;
  font-size: 1.06rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: #248f5d;
  color: #fff;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero-facts {
  margin: 0;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #fff;
}

.hero-facts div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-facts dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.section {
  padding: 88px 0;
  background: var(--bg);
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  color: var(--accent);
}

.section-heading h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
  max-width: 14ch;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.prose {
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
}

.prose p + p {
  margin-top: 16px;
}

.facts {
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.facts div {
  padding: 18px 18px 16px;
}

.facts div + div {
  border-top: 1px solid var(--line);
}

.facts dt {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.figure {
  margin: 0;
  grid-column: span 4;
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #d8e4db;
}

.figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.prose-wide {
  max-width: 70ch;
  margin-top: 22px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.timeline li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.source-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.source-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.source-list a {
  color: var(--ink);
  line-height: 1.7;
}

.source-list a:hover {
  color: var(--accent);
}

.footer {
  padding: 28px 0 44px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer-inner a {
  color: inherit;
}

.footer-inner a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .figure img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .figure img:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(11, 26, 18, 0.14);
  }
}

@media (max-width: 980px) {
  .topbar {
    width: min(100% - 24px, 1120px);
    padding-top: 14px;
  }

  .hero-shell,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-top: 100px;
    gap: 24px;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .figure {
    grid-column: span 6;
  }

  .gallery .figure:first-child {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
  }

  .brand {
    align-items: flex-start;
  }

  .topnav {
    gap: 8px 12px;
    font-size: 0.88rem;
  }

  .hero-shell {
    padding-top: 92px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 2.8rem;
    max-width: 11ch;
  }

  .lede {
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2 {
    font-size: 1.7rem;
    max-width: 12ch;
  }

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

  .figure,
  .gallery .figure:first-child {
    grid-column: span 12;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

  .reveal,
  .button,
  .figure img {
    transition: none;
  }
}
