:root {
  color-scheme: light dark;
  --bg: #eef1ed;
  --surface: #f8faf7;
  --surface-strong: #e2e8e1;
  --ink: #17201c;
  --muted: #5c6861;
  --line: #c9d1ca;
  --accent: #2f684f;
  --accent-strong: #204b39;
  --on-accent: #f7fbf8;
  --radius: 12px;
  --shadow: 0 20px 60px rgba(35, 61, 48, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 20%);
  background: color-mix(in srgb, var(--bg), transparent 8%);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: var(--accent); color: var(--on-accent); }
nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); white-space: nowrap; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--accent); }

main { width: min(1440px, 100%); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  min-height: calc(100dvh - 68px);
  padding: clamp(48px, 8vw, 104px) clamp(20px, 6vw, 88px);
}
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 700; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 7ch; font-size: clamp(48px, 6.8vw, 96px); line-height: 1.06; font-weight: 760; }
.hero-lead { max-width: 29em; margin: 26px 0 34px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); }
.primary-link, .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease;
}
.primary-link { background: var(--accent); color: var(--on-accent); }
.primary-link:hover { background: var(--accent-strong); transform: translateY(-2px); }
.primary-link:active, .secondary-link:active { transform: translateY(1px); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

.intro {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr);
  gap: clamp(40px, 8vw, 140px);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 8vw, 116px);
  border-top: 1px solid var(--line);
}
.intro h2, .section-heading h2, .archive-note h2 { margin: 0; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.2; }
.intro p { max-width: 42em; margin: 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); }

.stories { padding: clamp(72px, 8vw, 120px) clamp(20px, 6vw, 88px); background: var(--surface); }
.section-heading { margin-bottom: 48px; }
.section-heading p { margin: 10px 0 0; color: var(--muted); }
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: center;
  padding: 58px 0;
  border-top: 1px solid var(--line);
}
.story-image { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.story-image:hover img { transform: scale(1.025); }
.story-place { margin: 0 0 8px; color: var(--accent); font-size: 14px; font-weight: 700; }
.story h3 { margin: 0 0 20px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.12; }
.story h3 a { text-decoration: none; }
.story-copy > p:not(.story-place) { max-width: 36em; margin: 0; color: var(--muted); font-size: 17px; }
.story-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.story-meta div { padding-top: 14px; border-top: 1px solid var(--line); }
.story-meta dt { color: var(--muted); font-size: 12px; }
.story-meta dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.story-factory { grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); }

.archive-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(72px, 8vw, 120px) clamp(20px, 8vw, 116px);
}
.archive-note p { max-width: 38em; margin: 16px 0 0; color: var(--muted); }
.secondary-link { flex: 0 0 auto; border: 1px solid var(--accent); color: var(--accent); }
.secondary-link:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
footer { padding: 32px clamp(20px, 8vw, 116px) 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer p { margin: 6px 0; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent), white 24%); outline-offset: 4px; }
@media (max-width: 860px) {
  .site-header { align-items: flex-start; }
  nav { gap: 14px; overflow-x: auto; max-width: 58vw; padding: 7px 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-copy { order: 1; }
  .hero-photo { order: 2; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .story, .story-factory { grid-template-columns: 1fr; gap: 30px; }
  .story-factory .story-copy { order: 2; }
  .story-factory .story-image { order: 1; }
  .archive-note { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .site-header { position: static; display: block; }
  nav { max-width: 100%; margin-top: 8px; }
  h1 { font-size: clamp(44px, 15vw, 64px); }
  .hero { padding-left: 18px; padding-right: 18px; }
  .stories { padding-left: 18px; padding-right: 18px; }
  .story { padding: 42px 0; }
  .story-meta { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151b18;
    --surface: #1b2420;
    --surface-strong: #25312b;
    --ink: #ecf1ed;
    --muted: #aebbb3;
    --line: #39463f;
    --accent: #79b894;
    --accent-strong: #93cbaa;
    --on-accent: #112019;
    --shadow: 0 20px 60px rgba(0, 0, 0, .28);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
