:root {
  --ink: #202421;
  --muted: #65706a;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #d9ded9;
  --leaf: #24634f;
  --coral: #d8644a;
  --blue: #3e6e8e;
  --header-height: 68px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  position: relative;
  z-index: 10;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  background: var(--ink);
  color: var(--white);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

nav { display: flex; gap: 28px; }

nav a {
  color: #404843;
  font-size: 14px;
  text-decoration: none;
}

nav a:hover { color: var(--coral); }

.hero {
  position: relative;
  min-height: 560px;
  height: min(70vh, 720px);
  overflow: hidden;
  background: #dbe1dc;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 25, 22, .64) 0%, rgba(20, 25, 22, .22) 45%, rgba(20, 25, 22, .03) 70%);
}

.hero-copy {
  position: absolute;
  inset: 0 auto 0 clamp(20px, 8vw, 124px);
  width: min(560px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px;
  font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 24px 0 30px;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

.read-latest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 9px;
  border-bottom: 2px solid var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.story-feed {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: 0;
}

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

.filters {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 2px;
  padding: 3px;
  background: #e3e7e2;
  border-radius: 4px;
}

.filter {
  min-width: 56px;
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #4c5650;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(28, 36, 31, .11); }
.filter:focus-visible, a:focus-visible { outline: 3px solid rgba(62, 110, 142, .45); outline-offset: 3px; }

.story {
  display: grid;
  grid-template-columns: 56px 150px minmax(0, 1fr) 120px;
  gap: 22px;
  align-items: start;
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--line);
  transition: opacity .2s ease;
}

.story[hidden] { display: none; }

.story-number {
  color: var(--coral);
  font: 700 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.story-meta { display: grid; gap: 8px; }

.story-meta time,
.story-meta span,
.story-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.story-body h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: 0;
}

.story-body p {
  max-width: 690px;
  margin: 0;
  color: #505a54;
  font-size: 15px;
  line-height: 1.85;
}

.story-note {
  justify-self: end;
  color: var(--blue);
  text-align: right;
}

.about {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 210px;
  gap: 54px;
  align-items: start;
  padding: 82px max(32px, calc((100vw - 1116px) / 2));
  background: var(--leaf);
  color: var(--white);
}

.about > div > p {
  max-width: 640px;
  margin: 24px 0 0;
  color: #e0eee7;
  font-size: 16px;
  line-height: 1.9;
}

.about dl { margin: 0; }
.about dl div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.about dt { color: #bad4c8; font-size: 12px; }
.about dd { margin: 5px 0 0; font-size: 16px; }

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: #dbe1dc;
  font-size: 12px;
}

@media (max-width: 820px) {
  .hero { min-height: 500px; height: 66vh; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(20,25,22,.66), rgba(20,25,22,.12)); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .story { grid-template-columns: 42px 115px minmax(0, 1fr); }
  .story-note { grid-column: 3; justify-self: start; margin-top: -10px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 560px) {
  :root { --header-height: 60px; }
  .site-header { padding-inline: 16px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand-mark { width: 34px; height: 28px; }
  nav { gap: 16px; }
  .hero { min-height: 460px; height: 63vh; }
  .hero > img { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(20,25,22,.72), rgba(20,25,22,.18)); }
  .hero-copy { left: 20px; width: calc(100% - 40px); justify-content: flex-start; padding-top: 58px; }
  .hero h1 { max-width: 330px; font-size: 48px; }
  .hero-copy > p:not(.eyebrow) { max-width: 330px; margin-block: 16px 22px; font-size: 15px; }
  .story-feed { padding: 56px 18px 72px; }
  .filters { width: 100%; grid-auto-columns: 1fr; }
  .filter { min-width: 0; padding-inline: 8px; }
  .story { grid-template-columns: 32px minmax(0, 1fr); gap: 10px 14px; padding-block: 28px; }
  .story-meta { grid-column: 2; grid-row: 1; display: flex; gap: 12px; }
  .story-body { grid-column: 2; }
  .story-note { grid-column: 2; margin: 0; }
  .about { padding: 62px 20px; }
  .about dl { grid-template-columns: 1fr; gap: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}

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