:root {
  --paper: #f6f3e9;
  --paper-deep: #ebe6d6;
  --ink: #28352b;
  --ink-soft: #566254;
  --moss: #526b45;
  --moss-dark: #354b31;
  --sage: #dce4d0;
  --wheat: #c79a4b;
  --line: #d9d7c8;
  --white: #fffdf7;
  --shadow: 0 18px 55px rgba(52, 65, 43, .09);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Noto Serif CJK SC", "Songti SC", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "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; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--moss); }
button, input, textarea { font: inherit; }
::selection { background: #d5dfc7; color: var(--ink); }
.container { width: min(1080px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: white; padding: .5rem 1rem; z-index: 99; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,243,233,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217,215,200,.8); }
.nav-wrap { width: min(1160px, calc(100% - 44px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 50% 45% 45%; background: var(--moss-dark); color: #f8f3e3; font-family: var(--serif); font-size: 23px; }
.brand strong { display: block; font-size: 16px; letter-spacing: .06em; line-height: 1.2; }
.brand small { display: block; color: #7d8476; font-size: 11px; letter-spacing: .08em; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; color: var(--ink-soft); }
.site-nav a { padding: 9px 0; position: relative; }
.site-nav a.active, .site-nav a:hover { color: var(--moss-dark); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: var(--wheat); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 7px; padding: 7px 12px; background: transparent; color: var(--ink); }
.hero { min-height: 520px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 45px; padding-block: 65px 75px; }
.eyebrow { margin: 0 0 16px; font-size: 10px; letter-spacing: .2em; font-weight: 700; color: var(--moss); }
.dot { display: inline-block; width: 7px; height: 7px; background: var(--wheat); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .page-title { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.5vw, 68px); line-height: 1.2; margin-bottom: 22px; }
.highlight { color: var(--moss); position: relative; white-space: nowrap; }
.highlight::after { content: ""; position: absolute; height: 8px; left: 2px; right: 0; bottom: 0; background: #d9dfc9; z-index: -1; }
.hero-lede { max-width: 470px; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 7px; padding: 11px 17px; font-size: 13px; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--moss-dark); color: #fffdf7; }
.button-primary:hover { color: white; background: #263b26; }
.button-quiet { border: 1px solid var(--line); color: var(--ink-soft); }
.button-outline { border: 1px solid rgba(255,253,247,.55); color: var(--white); }
.button-outline:hover { color: white; background: rgba(255,255,255,.08); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 40px; color: #858879; font-size: 12px; }
.note-line { width: 28px; height: 1px; background: var(--wheat); }
.grain-art { min-height: 365px; position: relative; overflow: hidden; border-radius: 48% 48% 9px 9px; background: #e7e8d9; display: grid; place-items: center; box-shadow: var(--shadow); }
.grain-art::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(82,107,69,.16); border-radius: 48% 48% 5px 5px; }
.sun { position: absolute; width: 185px; height: 185px; border-radius: 50%; background: #d4b775; top: 48px; right: 50px; opacity: .7; }
.art-ring { position: absolute; border: 1px solid rgba(82,107,69,.24); border-radius: 50%; }
.ring-one { width: 275px; height: 275px; top: 20px; left: 35px; }
.ring-two { width: 330px; height: 330px; top: -5px; left: 8px; }
.wheat-svg { position: relative; z-index: 1; width: 66%; max-width: 260px; height: 88%; margin-top: 15px; }
.stem, .awn { fill: none; stroke: #526b45; stroke-width: 3; stroke-linecap: round; }
.leaf-shape, .grain-head path { fill: #71875d; }
.grain-head path:nth-child(even) { fill: #a8ad78; }
.awn { stroke-width: 1.5; }
.art-caption { position: absolute; bottom: 25px; left: 0; right: 0; text-align: center; font-size: 9px; letter-spacing: .24em; color: #68765d; }
.intro-strip { background: var(--paper-deep); border-block: 1px solid #dfdac9; }
.strip-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.strip-label { color: var(--moss); font-size: 11px; letter-spacing: .12em; font-weight: 700; white-space: nowrap; }
.strip-inner p { margin: 0; font-size: 13px; color: #697061; }
.strip-inner p span { color: var(--wheat); padding-inline: 9px; }
.section { padding-block: 88px 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.section-heading .eyebrow { margin-bottom: 7px; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.35; margin-bottom: 0; }
.text-link { color: var(--moss); font-size: 12px; border-bottom: 1px solid #b8c3ab; padding-bottom: 5px; white-space: nowrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { position: relative; min-height: 245px; padding: 24px; border: 1px solid var(--line); background: rgba(255,253,247,.58); border-radius: 9px; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #8b8c7d; margin-bottom: 23px; }
.tag { color: #795e2e; background: #eee2c7; padding: 3px 8px; border-radius: 4px; }
.tag-green { color: var(--moss-dark); background: #e1e8d8; }
.post-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.5; margin-bottom: 11px; }
.post-card p { color: #727769; font-size: 13px; line-height: 1.9; margin-bottom: 20px; }
.card-arrow { position: absolute; right: 22px; bottom: 18px; color: var(--moss); font-size: 17px; }
.card-quote { background: #e4e8d9; border-color: #d4dcc8; display: flex; flex-direction: column; justify-content: center; }
.quote-mark { font-family: var(--serif); font-size: 48px; line-height: .8; color: #a2ae91; }
.card-quote p { font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.7; margin: 12px 0; }
.quote-credit { color: #7c8671; font-size: 11px; }
.project-band { background: var(--moss-dark); color: var(--white); }
.project-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 55px; }
.project-band .eyebrow { color: #c7d5b8; margin-bottom: 10px; }
.project-band h2 { margin-bottom: 12px; }
.project-band p:not(.eyebrow) { color: #d2dacb; font-size: 13px; max-width: 590px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-family: var(--serif); font-size: 17px; }
.footer-brand span { color: #818778; font-family: var(--sans); font-size: 11px; }
.footer-inner p, .copyright { color: #8b8c7d; font-size: 11px; margin: 0; }

/* Inner pages */
.page-hero { padding-block: 72px 45px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 9px; }
.page-title { font-size: clamp(38px, 5vw, 54px); line-height: 1.25; margin-bottom: 14px; }
.page-intro { max-width: 650px; color: var(--ink-soft); font-size: 14px; }
.content-section { padding-block: 42px 90px; }
.article-list { display: grid; gap: 14px; }
.article-row { padding: 23px 25px; display: grid; grid-template-columns: 115px 1fr; gap: 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,253,247,.6); }
.article-date { color: #898c7c; font-size: 11px; padding-top: 5px; }
.article-row h2 { font-size: 23px; margin-bottom: 7px; }
.article-row p { color: #74796c; font-size: 13px; margin: 0; }
.article-shell { width: min(740px, calc(100% - 44px)); margin-inline: auto; padding-block: 60px 100px; }
.back-link { color: var(--moss); font-size: 12px; }
.article-shell .page-title { margin-top: 23px; }
.article-shell .article-meta { color: #858879; font-size: 12px; margin-bottom: 38px; }
.article-body { font-family: var(--serif); font-size: 17px; line-height: 2; }
.article-body h2 { font-size: 27px; margin: 35px 0 13px; }
.article-body h3 { font-size: 21px; margin: 27px 0 10px; }
.article-body p { margin-bottom: 22px; }
.article-body blockquote { margin: 28px 0; padding: 8px 20px; border-left: 3px solid var(--wheat); color: #65715e; background: #eeecdf; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; background: #e9e7dc; padding: 2px 5px; border-radius: 3px; font-size: .86em; }
.article-body pre { overflow-x: auto; padding: 18px; background: #29372c; color: #f3f1e7; border-radius: 7px; font-size: 13px; }
.article-body pre code { background: transparent; padding: 0; }
.info-grid, .project-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.info-card, .project-card { border: 1px solid var(--line); border-radius: 9px; padding: 24px; background: rgba(255,253,247,.58); }
.info-card .symbol { color: var(--moss); font-size: 23px; margin-bottom: 15px; }
.info-card h2, .project-card h2 { font-size: 23px; margin-bottom: 9px; }
.info-card p, .project-card p { color: #727769; font-size: 13px; margin-bottom: 0; }
.project-status { display: inline-block; font-size: 10px; color: var(--moss-dark); background: #e1e8d8; padding: 3px 8px; border-radius: 4px; margin-bottom: 14px; }
.small-note { padding: 16px 18px; background: #e9e8dc; border-radius: 7px; color: #697061; font-size: 12px; margin-top: 25px; }

@media (max-width: 760px) {
  .nav-wrap { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 12px 22px 18px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 8px 0; }
  .site-nav a.active::after { right: auto; width: 24px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 54px 60px; }
  .hero-copy { order: 1; }
  .grain-art { order: 0; min-height: 300px; max-width: 440px; width: 100%; margin-inline: auto; }
  .sun { width: 150px; height: 150px; }
  .wheat-svg { max-height: 290px; }
  .strip-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-block: 17px; }
  .strip-inner p { line-height: 1.9; }
  .section { padding-block: 62px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 205px; }
  .project-band-inner { align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 42px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 22px; }
  .footer-inner p { order: 3; width: 100%; }
  .article-row { grid-template-columns: 1fr; gap: 6px; }
  .info-grid, .project-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
