:root {
  color-scheme: light dark;
  --canvas: #f3f6f2;
  --surface: #fafcfa;
  --ink: #12211c;
  --muted: #4a5d54;
  --primary: #2f6f5e;
  --soft: #b8d1c4;
  --line: #cdd9d2;
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1180px, calc(100vw - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b1210;
    --surface: #111b17;
    --ink: #eaf0ec;
    --muted: #a7b8af;
    --primary: #66a68f;
    --soft: #2d4b40;
    --line: #28352f;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }

.shell { width: var(--shell); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}
.wordmark { font: 700 .82rem/1 var(--mono); letter-spacing: .08em; }
nav { display: flex; gap: clamp(14px, 3vw, 34px); font-size: .9rem; }
nav a { color: var(--muted); }
nav a:hover { color: var(--primary); }

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.hero { min-height: 76vh; padding: clamp(72px, 12vw, 160px) 0 64px; align-items: end; }
.eyebrow, .section-index, .feature-kicker, .statement-label, .state {
  font: 600 .74rem/1.35 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { grid-column: 1 / 4; align-self: start; color: var(--primary); }
.hero-title-wrap { grid-column: 1 / 11; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(3.4rem, 8vw, 7.3rem); line-height: .92; }
.hero-note { grid-column: 9 / 13; margin-top: 42px; color: var(--muted); max-width: 34rem; }
.hero-note p { margin: 0 0 14px; }
.status { font-size: .8rem; color: var(--primary); }

.fact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact-band > div { padding: 20px 18px 22px 0; border-right: 1px solid var(--line); }
.fact-band > div:last-child { border-right: 0; padding-left: 18px; }
.fact-band span { display: block; color: var(--muted); font: .72rem/1.2 var(--mono); text-transform: uppercase; margin-bottom: 8px; }
.fact-band strong { font-weight: 520; }

.spacious { padding-block: clamp(84px, 11vw, 150px); }
.section-index { grid-column: 1 / 3; color: var(--primary); padding-top: 8px; }
.section-heading { grid-column: 3 / 11; }
.section-heading h2, .contact-section h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.02; }
.feature-list { grid-column: 3 / 13; margin-top: 74px; border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 1.2fr 2.2fr 2.4fr .8fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-kicker { color: var(--primary); margin: 4px 0 0; }
.feature h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.08; }
.feature p { margin: 0; color: var(--muted); }
.state { justify-self: end; color: var(--muted); }

.contrast-section { background: var(--ink); color: var(--canvas); }
.contrast-section .section-index { color: var(--soft); }
.contrast-section .section-heading { grid-column: 3 / 12; }
.matrix { grid-column: 3 / 13; margin-top: 72px; border-top: 1px solid color-mix(in srgb, var(--canvas) 25%, transparent); }
.matrix > div {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 26px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--canvas) 25%, transparent);
}
.matrix span { font: .74rem/1.3 var(--mono); letter-spacing: .08em; color: var(--soft); }
.matrix strong { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 500; }

.timeline { grid-column: 3 / 11; margin-top: 68px; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.year { font: 600 .82rem/1.5 var(--mono); color: var(--primary); }
.timeline-item p { margin: 0; max-width: 52rem; color: var(--muted); }

.statement { padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.statement-label { color: var(--primary); margin-bottom: 28px; }
.statement-text { max-width: 1050px; margin: 0; font: 500 clamp(2.3rem, 5.5vw, 5.6rem)/1.02 var(--display); letter-spacing: -.035em; }

.contact-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; padding: 110px 0; border-top: 1px solid var(--line); }
.contact-section .section-index { padding: 0; margin: 0 0 28px; }
.contact-copy { align-self: end; color: var(--muted); max-width: 34rem; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font: .7rem/1.4 var(--mono); letter-spacing: .05em; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; padding: 20px 0; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  .section-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .eyebrow { grid-column: 1 / 4; }
  .hero-title-wrap, .section-heading { grid-column: 1 / -1; }
  .hero-note { grid-column: 3 / -1; }
  .fact-band { grid-template-columns: 1fr 1fr; }
  .fact-band > div { border-bottom: 1px solid var(--line); }
  .section-index { grid-column: 1 / -1; margin-bottom: 28px; }
  .feature-list, .matrix, .timeline { grid-column: 1 / -1; }
  .feature { grid-template-columns: 1fr 2fr; }
  .feature p, .state { grid-column: 2; }
  .state { justify-self: start; }
  .contact-section { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 560px) {
  :root { --shell: min(100% - 32px, 1180px); }
  html { scroll-behavior: auto; }
  .site-header { display: block; min-height: 0; }
  nav { margin-top: 18px; justify-content: flex-start; gap: 14px 20px; }
  .hero { min-height: auto; padding-top: 88px; }
  .hero-note { grid-column: 1 / -1; margin-top: 36px; }
  .fact-band { grid-template-columns: 1fr; }
  .fact-band > div, .fact-band > div:last-child { border-right: 0; padding-left: 0; }
  .feature { grid-template-columns: 1fr; gap: 12px; }
  .feature p, .state { grid-column: 1; }
  .matrix > div { grid-template-columns: 1fr; gap: 10px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .footer { display: block; }
  .footer span { display: block; margin-bottom: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
