:root {
  --paper: #f6f0e4;
  --paper-deep: #e9decb;
  --ink: #173d35;
  --ink-soft: #4c655f;
  --leaf: #2f6c5d;
  --leaf-pale: #dbe8da;
  --tomato: #dc5b42;
  --mustard: #e8b95f;
  --line: rgba(23, 61, 53, .18);
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(39, 60, 51, .12);
  --radius: 26px;
  --serif: "Songti SC", "Noto Serif SC", "STSong", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
}
body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .18;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img, picture { display: block; max-width: 100%; }
picture img { width: 100%; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 18px; top: 12px; z-index: 40; padding: 10px 16px; border-radius: 99px; background: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 228, .9);
  backdrop-filter: blur(18px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .02em; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px 15px 15px 4px;
  color: var(--white);
  background: var(--ink);
  transform: rotate(-4deg);
  font-family: Georgia, serif;
  font-size: 23px;
}
.brand-copy small { display: block; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; }
.nav-links a { position: relative; }
.nav-links a::after { position: absolute; right: 0; bottom: -4px; left: 0; height: 2px; content: ""; background: var(--tomato); transform: scaleX(0); transition: transform .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-test { padding: 9px 15px; border-radius: 99px; color: var(--white) !important; background: var(--tomato); transition: transform .25s ease, box-shadow .25s ease; }
.nav-test:hover { box-shadow: 0 8px 18px rgba(220, 91, 66, .24); transform: translateY(-2px); }
.nav-test::after { display: none; }
.nav-toggle { display: none; border: 0; color: var(--ink); background: transparent; font-size: 24px; }

.hero { padding: 42px 0 66px; }
.hero-card { position: relative; min-height: 650px; overflow: hidden; border-radius: 38px; background: #c5cba9; box-shadow: var(--shadow); }
.hero-card > img, .hero-card > picture, .hero-card > picture img { width: 100%; height: 650px; object-fit: cover; object-position: center; }
.hero-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(21, 54, 46, .88), rgba(21, 54, 46, .58) 42%, rgba(21, 54, 46, .07) 74%); }
.hero-copy { position: absolute; z-index: 2; top: 50%; left: clamp(24px, 5vw, 70px); width: min(590px, 72%); color: #fffaf0; transform: translateY(-50%); }
.eyebrow, .article-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--tomato); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: #f8c777; }
.hero h1 { max-width: 620px; margin: 15px 0 18px; font-family: var(--serif); font-size: clamp(48px, 7vw, 86px); font-weight: 700; line-height: 1.06; letter-spacing: -.06em; }
.hero p { max-width: 505px; margin: 0 0 28px; font-size: 17px; line-height: 1.9; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 1px solid transparent; border-radius: 99px; font-size: 14px; font-weight: 800; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--tomato); box-shadow: 0 12px 28px rgba(117, 41, 27, .22); }
.button-paper { color: var(--ink); background: var(--white); }
.button-outline { border-color: var(--line); background: transparent; }
.hero-note { position: absolute; right: 28px; bottom: 26px; z-index: 3; max-width: 260px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; color: white; background: rgba(23,61,53,.6); backdrop-filter: blur(12px); font-size: 12px; line-height: 1.65; }

.section { padding: 54px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2, .page-title { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(35px, 4vw, 56px); line-height: 1.15; letter-spacing: -.055em; }
.section-heading p { max-width: 450px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.text-link { color: var(--tomato); font-size: 13px; font-weight: 800; }

.topic-grid { display: grid; grid-template-columns: 1.25fr .88fr .88fr; gap: 18px; }
.topic-card { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: var(--shadow); transition: transform .35s ease; }
.topic-card:hover { transform: translateY(-7px) rotate(-.5deg); }
.topic-card picture, .topic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.topic-card:hover img { transform: scale(1.06); }
.topic-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 28%, rgba(15, 48, 41, .84)); }
.topic-copy { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 2; }
.topic-copy span { display: inline-block; margin-bottom: 8px; color: #ffd47f; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.topic-copy h3 { margin: 0; font-family: var(--serif); font-size: 29px; line-height: 1.18; letter-spacing: -.04em; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.article-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.68); transition: border .25s ease, transform .25s ease, box-shadow .25s ease; }
.article-card:hover { border-color: rgba(220,91,66,.5); box-shadow: 0 14px 36px rgba(41,73,64,.12); transform: translateY(-5px); }
.article-card-image { height: 180px; overflow: hidden; background: var(--leaf-pale); }
.article-card-image picture, .article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.article-card:hover img { transform: scale(1.055); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.pill { align-self: flex-start; padding: 4px 9px; border-radius: 99px; color: var(--leaf); background: var(--leaf-pale); font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.article-card h3 { margin: 13px 0 8px; font-family: var(--serif); font-size: 23px; line-height: 1.3; letter-spacing: -.03em; }
.article-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 13px; }
.article-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; color: var(--ink-soft); font-size: 11px; font-weight: 700; }

.feature-band { margin: 48px 0 20px; padding: 42px; border-radius: 30px; background: var(--ink); color: var(--white); }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.feature-band h2 { margin: 8px 0 10px; font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); line-height: 1.1; letter-spacing: -.06em; }
.feature-band p { color: #c8ded6; }
.test-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.test-chip { min-height: 118px; padding: 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.07); }
.test-chip strong { display: block; color: #f8c777; font-family: var(--serif); font-size: 26px; }
.test-chip span { font-size: 12px; color: #d9e6df; }

.note-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.55); }
.note-item { padding: 19px; border-right: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.note-item:hover { background: rgba(255,253,248,.75); transform: translateY(-2px); }
.note-item:last-child { border-right: 0; }
.note-item b { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 21px; }
.note-item small { color: var(--ink-soft); }
.note-item strong { display: block; margin-top: 8px; color: var(--tomato); font-size: 11px; }

.page-hero { padding: 70px 0 24px; }
.page-hero p { max-width: 700px; color: var(--ink-soft); font-size: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 28px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.breadcrumbs a:hover { color: var(--tomato); }
.breadcrumbs span[aria-current="page"] { color: var(--ink); }
.category-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 28px; }
.category-strip a { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.58); transition: border .25s ease, transform .25s ease, background .25s ease; }
.category-strip a:hover { border-color: rgba(220,91,66,.5); background: rgba(255,253,248,.86); transform: translateY(-3px); }
.category-strip strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 22px; }
.category-strip span { color: var(--ink-soft); font-size: 13px; }
.topic-summary { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.62); }
.topic-summary strong { display: block; color: var(--tomato); font-family: var(--serif); font-size: 44px; line-height: 1; }
.topic-summary span, .topic-summary p { color: var(--ink-soft); }
.topic-summary p { margin: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.filter-button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter-button.is-active, .filter-button:hover { color: var(--white); background: var(--ink); }
.article-card[hidden] { display: none; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,253,248,.7); }
.guide-card h3 { margin: 8px 0; font-family: var(--serif); font-size: 27px; }
.guide-card p { color: var(--ink-soft); font-size: 14px; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); font-size: 14px; }
.check-list li::before { position: absolute; top: 13px; left: 2px; width: 15px; height: 15px; border: 1px solid var(--leaf); border-radius: 50%; content: ""; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 60px; align-items: start; padding: 60px 0; }
.article-header h1 { margin: 12px 0 15px; font-family: var(--serif); font-size: clamp(42px, 6vw, 68px); line-height: 1.12; letter-spacing: -.07em; }
.article-lead { color: var(--ink-soft); font-size: 18px; }
.article-hero-image { width: 100%; max-height: 440px; margin: 30px 0; border-radius: 24px; object-fit: cover; }
.article-header .article-kicker { text-decoration: none; }
.prose { color: #294b44; font-size: 16px; }
.prose h2 { margin: 42px 0 10px; color: var(--ink); font-family: var(--serif); font-size: 32px; line-height: 1.25; letter-spacing: -.04em; }
.prose h3 { margin: 26px 0 7px; color: var(--ink); font-size: 18px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin: 8px 0; }
.callout { margin: 25px 0; padding: 18px 20px; border-left: 4px solid var(--tomato); border-radius: 0 14px 14px 0; background: rgba(255,253,248,.75); }
.author-box { margin-top: 34px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.72); }
.author-box strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 22px; }
.author-box p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.article-aside { position: sticky; top: 100px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.7); }
.article-aside h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 21px; }
.article-aside a { display: block; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.article-aside a:hover { color: var(--tomato); }

.static-copy { max-width: 820px; padding: 45px 0 70px; }
.static-copy h2 { margin-top: 34px; font-family: var(--serif); font-size: 30px; }
.static-copy p, .static-copy li { color: var(--ink-soft); }
.contact-card { max-width: 720px; margin: 20px 0 70px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,253,248,.7); }
.contact-card a { color: var(--tomato); font-weight: 800; }

.site-footer { padding: 44px 0 25px; color: #d9e6df; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { margin: 0 0 9px; color: var(--white); font-family: var(--serif); font-size: 24px; }
.site-footer p, .site-footer a { color: #bad0c8; font-size: 13px; }
.site-footer a { display: block; padding: 2px 0; }
.site-footer a:hover { color: #ffd47f; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); color: #9fb9b0; font-size: 11px; }

.reveal { animation: reveal .72s cubic-bezier(.2,.7,.2,1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.is-open { display: flex; }
  .hero-card, .hero-card > img, .hero-card > picture, .hero-card > picture img { height: 600px; min-height: 600px; }
  .hero-copy { width: calc(100% - 48px); }
  .hero-note { display: none; }
  .topic-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card:first-child { grid-column: 1 / -1; }
  .feature-grid, .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1180px); }
  .hero { padding-top: 18px; }
  .hero-card, .hero-card > img, .hero-card > picture, .hero-card > picture img { height: 590px; min-height: 590px; }
  .hero-card { border-radius: 25px; }
  .hero-card > img, .hero-card > picture img { object-position: 62% center; }
  .hero-card::after { background: linear-gradient(180deg, rgba(21,54,46,.28), rgba(21,54,46,.92) 72%); }
  .hero-copy { top: auto; bottom: 27px; left: 21px; width: calc(100% - 42px); transform: none; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 14px; }
  .section { padding: 38px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .topic-grid, .article-grid, .guide-grid, .category-strip { grid-template-columns: 1fr; }
  .topic-summary { grid-template-columns: 1fr; }
  .topic-card, .topic-card:first-child { min-height: 320px; grid-column: auto; }
  .note-strip { grid-template-columns: 1fr; }
  .note-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .note-item:last-child { border-bottom: 0; }
  .feature-band { padding: 26px 21px; }
  .test-chip { min-height: 102px; padding: 13px; }
  .article-layout { gap: 25px; padding: 42px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { display: block; }
}
