:root {
  --ink: #17201e;
  --muted: #5a6763;
  --paper: #f4f7f5;
  --surface: #ffffff;
  --line: #d4ddd8;
  --deep-green: #005f52;
  --green: #087d69;
  --coral: #d95d43;
  --soft-coral: #fdece6;
  --max-width: 1180px;
  --gutter: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--max-width)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 8px 12px; color: var(--surface); background: var(--deep-green); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--surface); background: var(--deep-green); border-radius: 4px; font-size: 14px; line-height: 1; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; top: 0; right: 0; width: 33%; height: 100%; background: #e7f0ec; }
.hero-grid { position: relative; min-height: 620px; display: grid; grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.72fr); align-items: center; gap: 76px; }
.hero-copy { padding: 72px 0; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 14px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.22; }
.hero h1 { max-width: 720px; margin-bottom: 24px; font-size: 46px; font-weight: 700; word-break: keep-all; overflow-wrap: normal; }
.hero-summary { max-width: 555px; margin-bottom: 34px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; }
.button-primary { color: var(--surface); background: var(--deep-green); }
.button-primary:hover, .button-primary:focus-visible { color: var(--surface); background: var(--green); }
.button-light { color: var(--ink); background: var(--surface); border-color: var(--surface); }
.button-light:hover, .button-light:focus-visible { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.text-link { border-bottom: 1px solid currentColor; font-weight: 700; }

.hero-visual { position: relative; min-height: 420px; }
.visual-grid { position: absolute; inset: 36px 0 24px 42px; border: 1px solid #a7c9bc; opacity: 0.72; }
.visual-grid::before, .visual-grid::after { content: ""; position: absolute; background: #c6dbd2; }
.visual-grid::before { top: 0; bottom: 0; left: 34%; width: 1px; }
.visual-grid::after { right: 0; bottom: 32%; left: 0; height: 1px; }
.visual-frame { position: absolute; top: 89px; right: 16px; width: min(76%, 310px); min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--surface); background: var(--deep-green); border: 1px solid #00493f; border-radius: 4px; }
.visual-frame p { margin-bottom: 0; font-size: 12px; font-weight: 700; }
.visual-frame span { color: #b8ddd0; font-size: 42px; font-weight: 700; line-height: 1; }
.visual-frame strong { max-width: 150px; font-size: 23px; line-height: 1.25; }
.visual-note { position: absolute; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: 13px; font-weight: 700; box-shadow: 8px 8px 0 #cfe2d9; }
.visual-note-one { bottom: 60px; left: 12px; }
.visual-note-two { top: 52px; left: 2px; }
.visual-line { position: absolute; right: -6px; bottom: 40px; width: 68%; height: 44px; border-right: 1px solid var(--coral); border-bottom: 1px solid var(--coral); }

.section { padding: 118px 0; }
.section-heading { max-width: 660px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 0; font-size: 38px; }
.section-services { background: var(--paper); }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-item > span { color: var(--coral); font-size: 14px; font-weight: 700; }
.service-item h3 { margin-bottom: 10px; font-size: 25px; }
.service-item p { max-width: 520px; margin-bottom: 0; color: var(--muted); }

.section-approach { color: var(--surface); background: var(--ink); }
.section-approach .eyebrow { color: #8fcab7; }
.approach-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 84px; }
.approach-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #52605d; }
.approach-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid #52605d; }
.approach-list span { color: #8fcab7; font-size: 14px; font-weight: 700; }
.approach-list h3 { margin-bottom: 8px; font-size: 21px; }
.approach-list p { margin-bottom: 0; color: #d1dcda; }

.section-principles { padding: 78px 0; background: var(--soft-coral); }
.principles-grid { display: grid; grid-template-columns: 0.42fr 1fr; gap: 56px; }
.principles-grid .eyebrow { color: #a8432e; }
.principles-statement { max-width: 760px; margin-bottom: 0; font-size: 32px; line-height: 1.35; }

.section-insights { background: var(--surface); }
.heading-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.insight-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.insight-item { min-height: 218px; padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.insight-item + .insight-item { padding-left: 28px; border-left: 1px solid var(--line); }
.insight-item time, .post-list time, .archive-item time { display: block; margin-bottom: 24px; color: var(--green); font-size: 13px; font-weight: 700; }
.insight-item h3 { margin-bottom: 14px; font-size: 22px; }
.insight-item p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.contact-section { color: var(--surface); background: var(--green); }
.contact-section .eyebrow { color: #caeadf; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 0.75fr; justify-content: space-between; gap: 100px; }
.contact-grid h2 { max-width: 520px; margin-bottom: 0; font-size: 42px; }
.contact-detail { padding-top: 36px; border-top: 1px solid #9dcfc0; }
.contact-detail > p { max-width: 410px; margin-bottom: 28px; color: #e3f1ed; }
.contact-pending { font-size: 14px; }

.site-footer { padding-top: 54px; color: #c5d1cd; background: var(--ink); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 30px; padding-bottom: 46px; }
.footer-brand { margin-bottom: 4px; color: var(--surface); font-size: 18px; font-weight: 700; }
.footer-legal { margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--surface); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; text-align: right; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 24px; border-top: 1px solid #52605d; color: #9caaa6; font-size: 13px; text-align: center; }
.footer-bottom p { margin-bottom: 0; }
.records { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.records a { color: inherit; text-decoration: none; }
.records a:hover, .records a:focus-visible { color: var(--surface); text-decoration: underline; }

.article-shell, .listing-shell { padding-top: 104px; padding-bottom: 118px; }
.article-shell { max-width: 860px; }
.article-header { max-width: 790px; margin-bottom: 64px; }
.article-header h1 { margin-bottom: 20px; font-size: 48px; }
.article-header time { color: var(--muted); font-size: 14px; }
.prose { color: #29332f; font-size: 18px; }
.prose > * { max-width: 760px; }
.prose h2 { margin-top: 52px; margin-bottom: 18px; font-size: 30px; }
.prose h3 { margin-top: 34px; margin-bottom: 14px; font-size: 23px; }
.prose p, .prose ul, .prose ol { margin-bottom: 22px; }
.prose a { color: var(--deep-green); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 34px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--coral); color: var(--muted); }
.prose img { margin: 34px 0; border-radius: 4px; }
.prose pre { max-width: 100%; overflow: auto; padding: 20px; border-radius: 4px; color: #f1f5f2; background: var(--ink); }
.article-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article-footer a { padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; }

.listing-shell { max-width: 980px; }
.listing-header { max-width: 710px; margin-bottom: 58px; }
.listing-header h1 { margin-bottom: 16px; font-size: 48px; }
.listing-header p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.archive-list { border-top: 1px solid var(--line); }
.archive-list > h2 { margin: 0; padding: 26px 0 12px; color: var(--green); font-size: 19px; }
.archive-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.archive-item time { margin: 3px 0 0; }
.archive-item h3 { margin: 0; font-size: 22px; }
.post-list { border-top: 1px solid var(--line); }
.post-list article { padding: 30px 0; border-bottom: 1px solid var(--line); }
.post-list time { margin-bottom: 12px; }
.post-list h2 { margin-bottom: 10px; font-size: 27px; }
.post-list p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.taxonomy-list, .tag-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.taxonomy-list li { border-bottom: 1px solid var(--line); }
.taxonomy-list a { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; font-size: 19px; }
.taxonomy-list a span:last-child { color: var(--green); font-size: 14px; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 0; }
.tag-list a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; }
.pagination { display: flex; gap: 18px; align-items: center; margin-top: 40px; color: var(--muted); font-size: 14px; }
.pagination a { color: var(--deep-green); font-weight: 700; }
.empty-state { margin: 0; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.error-shell { min-height: 520px; padding-top: 130px; }
.error-shell h1 { margin-bottom: 16px; font-size: 50px; }
.error-shell p:not(.eyebrow) { max-width: 430px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }

@media (max-width: 820px) {
  :root { --gutter: 22px; }
  .site-header { backdrop-filter: none; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 14px var(--gutter) 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero::before { width: 52%; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 84px 0 22px; }
  .hero h1 { max-width: 670px; font-size: 48px; }
  .hero-visual { min-height: 330px; max-width: 510px; width: 88%; justify-self: end; }
  .section { padding: 86px 0; }
  .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .principles-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-heading h2, .contact-grid h2 { font-size: 35px; }
  .contact-detail { padding-top: 25px; }
  .insight-list { grid-template-columns: 1fr; }
  .insight-item, .insight-item + .insight-item { min-height: auto; padding: 26px 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { align-items: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 68px; }
  .site-nav { top: 68px; }
  .brand-name { max-width: 180px; }
  .hero-copy { padding-top: 64px; }
  .hero h1 { font-size: 36px; }
  .hero-summary { font-size: 17px; }
  .hero-actions { align-items: flex-start; gap: 16px; }
  .hero-visual { width: 100%; min-height: 286px; }
  .visual-grid { inset: 22px 0 20px 22px; }
  .visual-frame { top: 54px; right: 4px; min-height: 188px; padding: 19px; }
  .visual-frame span { font-size: 34px; }
  .visual-frame strong { font-size: 20px; }
  .visual-note { padding: 6px 9px; font-size: 12px; }
  .visual-note-one { bottom: 36px; }
  .visual-note-two { top: 30px; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .contact-grid h2 { font-size: 29px; }
  .service-item { grid-template-columns: 42px 1fr; gap: 14px; padding: 24px 0; }
  .service-item h3 { font-size: 22px; }
  .approach-list li { grid-template-columns: 42px 1fr; }
  .principles-statement { font-size: 26px; }
  .heading-row { display: block; }
  .heading-row .text-link { display: inline-block; margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 23px; }
  .footer-bottom { align-items: center; }
  .records { justify-content: center; }
  .article-shell, .listing-shell { padding-top: 72px; padding-bottom: 76px; }
  .article-header { margin-bottom: 42px; }
  .article-header h1, .listing-header h1, .error-shell h1 { font-size: 35px; }
  .prose { font-size: 17px; }
  .archive-item { grid-template-columns: 1fr; gap: 4px; }
  .archive-item time { margin-bottom: 4px; }
  .error-shell { min-height: 430px; padding-top: 90px; }
}
