:root {
  --forest: #173f35;
  --deep: #102c25;
  --moss: #54745c;
  --leaf: #a8c2a5;
  --paper: #f6f7f2;
  --white: #ffffff;
  --ink: #17221e;
  --muted: #66736d;
  --warm: #d27658;
  --sun: #d8a73f;
  --line: rgba(23, 63, 53, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 clamp(24px, 5vw, 80px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; white-space: nowrap; }
.brand small { margin-left: 2px; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; opacity: 0.72; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: serif;
  font-weight: 400;
}
nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
nav a { opacity: 0.82; transition: opacity 180ms ease; }
nav a:hover { opacity: 1; }
.header-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 4px; font-size: 13px; }

.hero {
  position: relative;
  min-height: min(820px, 92vh);
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 8vw, 128px) 84px;
  color: var(--white);
  background-image: url("/assets/forest-hero.webp");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 30, 24, 0.38);
}
.hero-content, .hero-note { position: relative; z-index: 1; }
.hero-content { width: min(620px, 100%); }
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: .17em; opacity: .76; }
.eyebrow.dark { color: var(--moss); opacity: 1; }
.hero h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(72px, 9vw, 126px); font-weight: 500; line-height: .96; letter-spacing: 0; }
.hero-lead { margin: 28px 0 10px; font-family: "Songti SC", "STSong", serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.35; }
.hero-copy { max-width: 440px; margin: 0 0 32px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.8; }
.primary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 22px;
  border-radius: 4px;
  background: var(--white);
  color: var(--forest);
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease;
}
.primary-button:hover { transform: translateY(-2px); background: #edf2ea; }
.hero-note {
  position: absolute;
  right: clamp(24px, 6vw, 96px);
  bottom: 50px;
  padding-left: 16px;
  border-left: 2px solid var(--warm);
  display: grid;
  gap: 6px;
}
.hero-note span { font-size: 11px; opacity: .68; }
.hero-note strong { font-size: 14px; font-weight: 500; }

.matcher { padding: 96px clamp(24px, 8vw, 128px) 112px; }
.section-heading { max-width: 630px; margin-bottom: 46px; }
.section-heading h2, .local h2, .closing h2 {
  margin: 0 0 14px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.state-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.state-button {
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 28px clamp(18px, 3vw, 42px);
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.state-button:last-child { border-right: 0; }
.state-button:hover { background: rgba(168,194,165,.14); }
.state-button.active { background: var(--forest); color: var(--white); }
.state-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--leaf); color: var(--deep); font-family: serif; }
.state-icon.warm { background: #d8a994; }
.state-icon.sun { background: #e6c773; }
.state-button strong { font-family: "Songti SC", "STSong", serif; font-size: 23px; font-weight: 600; }
.state-button small { color: var(--muted); font-size: 13px; line-height: 1.6; }
.state-button.active small { color: rgba(255,255,255,.66); }
.recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: 38px;
  padding: 30px 0 0;
}
.recommendation-label { margin: 0 0 8px; color: var(--warm); font-size: 12px; font-weight: 700; }
.recommendation h3 { margin: 0 0 10px; font-family: "Songti SC", "STSong", serif; font-size: 27px; font-weight: 600; }
.recommendation p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.recommendation dl { display: flex; margin: 0; }
.recommendation dl div { min-width: 110px; padding-left: 22px; border-left: 1px solid var(--line); }
.recommendation dt { color: var(--muted); font-size: 11px; }
.recommendation dd { margin: 7px 0 0; font-size: 13px; font-weight: 650; }

.programs { padding: 96px clamp(24px, 8vw, 128px) 112px; background: var(--deep); color: var(--white); }
.section-heading.light { margin-bottom: 54px; }
.program-grid { border-top: 1px solid rgba(255,255,255,.2); }
.program-grid article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 148px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.program-grid article > span { color: var(--warm); font-size: 12px; }
.program-grid h3 { margin: 0 0 8px; font-family: "Songti SC", "STSong", serif; font-size: 27px; font-weight: 500; }
.program-grid p { max-width: 650px; margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; }
.program-grid small { color: var(--leaf); }

.local { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 140px); padding: 112px clamp(24px, 8vw, 128px); background: #edf0e9; }
.local-copy > p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.local-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.local-flow li { min-height: 160px; display: grid; align-content: center; gap: 7px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.local-flow span { color: var(--warm); font-size: 11px; }
.local-flow strong { font-family: "Songti SC", "STSong", serif; font-size: 20px; }
.local-flow small { color: var(--muted); }

.closing { padding: 110px 24px; background: var(--warm); color: var(--white); text-align: center; }
.closing h2 { font-size: clamp(40px, 6vw, 70px); }
.closing > p:not(.eyebrow) { margin: 0 0 32px; opacity: .82; }
.primary-button.inverse { background: var(--forest); color: var(--white); }
.primary-button.inverse:hover { background: var(--deep); }
footer { min-height: 110px; display: flex; align-items: center; gap: 28px; padding: 24px clamp(24px, 8vw, 128px); background: #0c211b; color: rgba(255,255,255,.62); font-size: 12px; }
.footer-brand { color: var(--white); }
footer p:nth-of-type(1) { margin-right: auto; }

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 20px; }
  .brand small, nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { min-height: 760px; padding: 116px 24px 100px; background-position: 58% center; }
  .hero h1 { font-size: 76px; }
  .hero-note { left: 24px; right: auto; bottom: 34px; }
  .matcher, .programs { padding: 76px 24px 84px; }
  .section-heading { margin-bottom: 34px; }
  .state-options { grid-template-columns: 1fr; }
  .state-button { min-height: 132px; border-right: 0; border-bottom: 1px solid var(--line); }
  .state-button:last-child { border-bottom: 0; }
  .recommendation { grid-template-columns: 1fr; gap: 28px; }
  .recommendation dl { display: grid; grid-template-columns: repeat(3, 1fr); }
  .recommendation dl div { min-width: 0; padding: 0 12px; }
  .recommendation dl div:first-child { padding-left: 0; border-left: 0; }
  .program-grid article { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .program-grid article > small { grid-column: 2; }
  .local { grid-template-columns: 1fr; padding: 84px 24px; }
  .local-flow li { min-height: 140px; padding: 18px; }
  .closing { padding: 84px 24px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 36px 24px; }
  footer p { margin: 0; }
}

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