:root {
  color-scheme: light;
  --paper: #fafaf6;
  --ink: #182922;
  --muted: #4d5c53;
  --green: #173a32;
  --line: #c9d0c6;
  --lime: #def590;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "PT Serif", Georgia, serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {box-sizing: border-box}
body, h1, h2, h3, p, figure {margin: 0}
body {font-size: 1rem; line-height: 1.55}
a {color: inherit; text-decoration: none}
a:focus-visible {outline: 3px solid #ba4c16; outline-offset: 4px}
::selection {background: #dceda5; color: #183428}
.wrap {width: min(1240px, calc(100% - clamp(40px, 10vw, 156px))); margin-inline: auto}
.skip {position: fixed; top: 10px; left: 10px; padding: .65rem 1rem; background: white; z-index: 4; transform: translateY(-200%)}
.skip:focus {transform: none}
.site-header {border-bottom: 1px solid var(--line)}
.nav-wrap {display: flex; align-items: center; column-gap: 22px; min-height: 78px}
.brand, .footer-name {font-family: var(--sans); font-weight: 800; letter-spacing: -.083em; line-height: 1}
.brand {display: inline-flex; align-items: center; gap: 10px; font-size: 2.32rem}
.mark {width: 31px; height: 31px; background: var(--green); display: inline-flex; justify-content: center; gap: 2px; align-items: center; border-radius: 8px; transform: translateY(1px)}
.mark i {background: var(--lime); width: 3px; height: 10px; transform: skewY(-26deg)}
.mark i:nth-child(2) {height: 16px}
.mark i:last-child {height: 12px}
.brand-note {color: var(--muted); font-size: .84rem; border-left: 1px solid var(--line); padding: 2px 0 2px 20px}
.nav-wrap nav {display: flex; margin-left: auto; align-self: stretch; align-items: stretch; gap: clamp(20px,3vw,44px)}
.nav-wrap nav a {font-size: .94rem; font-weight: 550; display: inline-flex; align-items: center; position: relative}
.nav-wrap nav a[aria-current]::after {content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--green)}
.nav-wrap nav a:hover, .back:hover, .crumb:hover {text-decoration: underline; text-underline-offset: 4px}
.mast {display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: clamp(35px,4.3vw,70px) 0 clamp(30px,3.6vw,52px)}
.mast h1 {font-size: clamp(4rem,8.1vw,7rem); line-height: .99; letter-spacing: -.083em; font-weight: 620}
.mast h1 em {font-family: var(--serif); font-weight: 400; letter-spacing: -.075em; color: #3e6352}
.mast p {width: min(32%,355px); padding-bottom: 2px; font-size: clamp(.98rem,1.25vw,1.1rem); line-height: 1.52; color: var(--muted)}
.feature {display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); background:var(--green); color: #f8f9ef; min-height: clamp(366px,32vw,445px); overflow:hidden}
.hero-image, .card-image {display: block; background: #dcded4; overflow: hidden; position: relative}
.hero-image img, .card-image img {display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s}
.hero-image img {position:absolute; inset:0}
.feature-copy {display:flex; flex-direction:column; align-items:flex-start; padding:clamp(27px,3.45vw,56px); justify-content:center}
.meta {display:flex; align-items:center; flex-wrap:wrap; column-gap:10px; row-gap:3px; color:var(--muted); font-size:.83rem; line-height:1.45}
.meta>span:first-child {font-weight:650}
.meta-divider {width:16px; height:1px; background:currentColor; opacity:.55}
.feature .meta {color:#cfddc8}
.feature .meta>span:first-child {color:var(--lime)}
.feature h2 {font-family:var(--serif); font-weight:400; letter-spacing:-.054em; font-size:clamp(2.18rem,3.6vw,3.55rem); line-height:1.04; margin:21px 0 14px; text-wrap:balance}
.feature h2 a:hover, .related a:hover {text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.11em}
.feature-copy p {max-width:35ch; color:#dbe4d8; font-size:clamp(1rem,1.2vw,1.11rem); line-height:1.52}
.cta {display:inline-flex; padding:.68rem 1.12rem; margin-top:clamp(21px,2.3vw,34px); color:#112c22; background:var(--lime); font-weight:650; font-size:.93rem; border-radius:3px}
.cta:hover {background:#edffc0}
.library {padding:clamp(44px,5.2vw,76px) 0 clamp(56px,7vw,96px)}
.section-head {display:flex; align-items:center; gap:24px; margin-bottom:clamp(21px,2.4vw,34px)}
.section-head::after {content:""; flex:1; height:1px; background:var(--line)}
.section-head h2 {font-weight:600; letter-spacing:-.064em; font-size:clamp(2.15rem,3.4vw,3.05rem); line-height:1.12}
.cards {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(22px,3vw,44px)}
.card-link {display:block}
.card-image {aspect-ratio:2.12}
.card-details {padding:17px 0 0}
.card h3 {font-family:var(--serif);font-size:clamp(1.65rem,2.3vw,2.34rem);font-weight:400;line-height:1.15;letter-spacing:-.046em;margin:9px 0 7px}
.card p {color:var(--muted);max-width:51ch;line-height:1.55}
.card-link:hover h3 {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.11em}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {.hero-image:hover img,.card-link:hover img {transform:scale(1.025)}}
footer {background:var(--green);color:#f5f8ed}
.footer-inner {display:flex;align-items:center;gap:20px;padding-block:30px}
.footer-name {font-size:1.95rem}
.footer-inner span {color:#c9d8c9;font-size:.88rem}
.back {margin-left:auto;font-size:.9rem}
.crumb {display:inline-block;margin:clamp(23px,3.5vw,45px) 0 16px;color:var(--muted);font-size:.92rem;text-decoration:underline;text-underline-offset:.18em}
.article-head {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,5vw,80px);padding:5px 0 clamp(32px,4vw,62px);border-bottom:1px solid var(--line)}
.article-intro h1 {font-family:var(--serif); font-weight:400; font-size:clamp(2.75rem,4.7vw,4.65rem);line-height:1.03;letter-spacing:-.06em;margin:18px 0;text-wrap:balance}
.article-intro>p {color:var(--muted);font-size:clamp(1.03rem,1.4vw,1.25rem);max-width:45ch}
.article-photo img {width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;display:block;background:#e0e2d9}
.article-photo figcaption {font-size:.78rem; color:var(--muted); margin-top:6px;text-align:right}
.article-photo figcaption a {text-decoration:underline;text-underline-offset:2px}
.reading {display:grid;grid-template-columns:minmax(200px,.41fr) minmax(0,1fr);gap:clamp(40px,6vw,100px);align-items:start;padding:clamp(32px,4vw,64px) 0 clamp(55px,6vw,90px);max-width:1025px}
.toc {position:sticky;top:24px;border-left:3px solid #98a489;padding:0 0 0 17px}
.toc strong {font-size:.91rem}
.toc ol {list-style:none;padding:0;margin:9px 0 0}
.toc li+li {margin-top:8px}
.toc a {font-size:.91rem;color:var(--muted)}
.toc a:hover {text-decoration:underline;text-underline-offset:3px;color:var(--ink)}
.bodycopy h2 {font-family:var(--serif);font-size:clamp(1.7rem,2.5vw,2.4rem);line-height:1.14;font-weight:400;letter-spacing:-.04em;margin:0 0 13px;scroll-margin-top:24px}
.bodycopy p {font-size:1.09rem;line-height:1.75;margin:0 0 13px}
.bodycopy section+section {margin-top:34px}
.bodycopy code {font-size:.92em;overflow-wrap:anywhere}
.example {border-left:3px solid #90ac52;padding:14px 20px;background:#edf2e3;line-height:1.65;margin:22px 0}
.example strong {display:block}
.related {border-top:1px solid var(--line);display:grid;gap:5px;margin-top:38px;padding-top:21px}
.related span {color:var(--muted);font-size:.85rem}
.related a {font-family:var(--serif);font-size:1.5rem;line-height:1.2}
@media (max-width:860px) {
  .brand-note {display:none}
  .mast {display:block}
  .mast p {margin-top:18px;max-width:50ch;width:100%}
  .feature {grid-template-columns:minmax(0,1.02fr) minmax(0,1fr)}
  .article-head {gap:25px}
  .reading {grid-template-columns:minmax(155px,.36fr) minmax(0,1fr); gap:32px}
}
@media (max-width:650px) {
  .wrap {width:calc(100% - 36px)}
  .nav-wrap {min-height:62px;gap:9px}
  .brand {font-size:1.65rem;gap:6px}
  .mark {width:23px;height:23px;gap:1.5px;border-radius:5px}
  .mark i {width:2px}
  .mark i:nth-child(2) {height:12px}
  .nav-wrap nav {gap:14px}
  .nav-wrap nav a {font-size:.82rem;min-height:44px}
  .mast {padding:32px 0 26px}
  .mast h1 {font-size:clamp(3.1rem,11.9vw,4.6rem)}
  .mast p {margin-top:13px;max-width:42ch;line-height:1.49}
  .feature,.cards,.article-head,.reading {grid-template-columns:1fr}
  .hero-image {aspect-ratio:1.62}
  .feature-copy {padding:24px 22px 27px}
  .feature h2 {font-size:clamp(2rem,8.4vw,2.8rem);margin:12px 0 10px}
  .feature-copy p {font-size:1rem;max-width:39ch}
  .cta {margin-top:18px}
  .library {padding:34px 0 48px}
  .section-head {gap:15px;margin-bottom:18px}
  .section-head h2 {font-size:2rem}
  .cards {row-gap:28px}
  .card-image {aspect-ratio:1.95}
  .card-details {padding-top:12px}
  .footer-inner {flex-wrap:wrap;gap:9px 13px;padding-block:23px}
  .footer-inner span {font-size:.8rem}
  .article-head {gap:20px;padding-top:0}
  .article-intro h1 {font-size:clamp(2.5rem,10vw,3.65rem);margin:10px 0 13px}
  .article-intro>p {line-height:1.55}
  .article-photo img {aspect-ratio:1.92}
  .reading {gap:30px}
  .toc {position:static}
  .bodycopy p {font-size:1.035rem}
}
@media(max-width:360px) {
  .nav-wrap {flex-wrap:wrap;align-items:center;gap:0;padding-top:12px}
  .nav-wrap nav {width:100%;margin:0;justify-content:space-between}
  .footer-inner span {max-width:14ch}
}
