:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-deep: #efede3;
  --white: #fffefa;
  --ink: #20332f;
  --muted: #62716c;
  --pine: #22473e;
  --pine-soft: #e3ece5;
  --sage: #adc5b2;
  --persimmon: #d96b4b;
  --persimmon-dark: #a94932;
  --sand: #dfc89b;
  --line: #dcded4;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(35, 55, 46, .09);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--persimmon-dark); }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--persimmon); outline-offset: 4px; }
::selection { background: #f0c3a9; color: var(--ink); }

.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 99; background: var(--ink); color: white; padding: .8rem 1rem; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }
.site-shell { overflow: clip; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247,245,239,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(32,51,47,.08); }
.header-inner { max-width: 1240px; padding: .85rem 2rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--pine); font: 700 1.33rem var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; color: var(--persimmon); flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .83rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--persimmon-dark); }
.nav-cta { background: var(--pine); color: var(--white) !important; padding: .7rem 1rem; border-radius: 999px; }
.nav-cta:hover { background: #16372f; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: .62rem .9rem; font-size: .82rem; font-weight: 700; }

main { min-height: 60vh; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 3rem)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--persimmon-dark); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.65rem, 5.3vw, 5.1rem); margin: .8rem 0 1.1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 0 0 1rem; }
h3 { font-size: 1.36rem; margin: 0 0 .55rem; }
p { line-height: 1.75; color: #3f504a; }
.lede { font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.7; color: #50625b; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.section-heading p { max-width: 440px; margin: 0; }
.section-kicker { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; border-radius: 999px; padding: .84rem 1.2rem; color: #fff; background: var(--pine); text-decoration: none; font-weight: 700; font-size: .88rem; transition: transform .2s ease, background .2s ease; }
.button:hover { color: white; background: #16372f; transform: translateY(-2px); }
.button-light { background: transparent; border-color: rgba(32,51,47,.25); color: var(--ink); }
.button-light:hover { color: var(--ink); background: var(--white); }
.text-link { color: var(--pine); font-weight: 700; text-decoration: none; }
.text-link::after { content: ' ↗'; color: var(--persimmon); }

.hero { position: relative; padding: 2.1rem 0 4.5rem; }
.hero-inner { max-width: 1320px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: minmax(360px,.88fr) minmax(460px,1.12fr); align-items: center; gap: 1.2rem; }
.hero-copy { position: relative; z-index: 2; padding: 2.4rem 0 2.4rem max(0px, calc((100vw - 1160px)/2)); }
.hero-copy h1 { max-width: 620px; }
.hero-copy .lede { max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-art { position: relative; min-height: 530px; border-radius: 46% 22px 22px 22px; overflow: hidden; background: var(--sage); box-shadow: var(--shadow); }
.hero-art img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; object-position: 58% 50%; }
.hero-art::after { content: ''; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, rgba(24,40,34,.32)); pointer-events: none; }
.hero-note { position: absolute; bottom: 1.1rem; right: 1.1rem; z-index: 1; padding: .55rem .85rem; background: rgba(255,254,250,.9); border-radius: 999px; color: var(--ink); font-size: .75rem; font-weight: 700; }
.hero-mark { position: absolute; left: -34px; bottom: -48px; width: 168px; height: 168px; border: 1px solid rgba(34,71,62,.18); border-radius: 50%; }
.hero-mark::before, .hero-mark::after { content: ''; position: absolute; border: 1px solid rgba(34,71,62,.16); border-radius: 50%; inset: 17px; }
.hero-mark::after { inset: 36px; }

.trust-strip { background: var(--pine); color: #f8f5ed; }
.trust-inner { max-width: 1160px; margin: auto; padding: .92rem 1.5rem; display: flex; justify-content: center; align-items: center; gap: 1.8rem; text-align: center; font-size: .78rem; letter-spacing: .01em; }
.trust-inner span { display: inline-flex; align-items: center; gap: .55rem; }
.trust-inner span::before { content: '✳'; color: #eab28e; }

.home-search { padding: 4rem 0 1.1rem; }
.search-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.search-row h2 { font-size: clamp(1.7rem,2.5vw,2.35rem); margin: .45rem 0 0; }
.search-box { display: flex; align-items: center; gap: .6rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .55rem .4rem 1rem; width: min(360px, 100%); }
.search-box input { min-width: 0; flex: 1; padding: .55rem 0; border: 0; background: transparent; outline: 0; color: var(--ink); }
.search-box input:focus-visible { outline: 0; }
.search-box button { border: 0; border-radius: 999px; background: var(--persimmon); color: white; font-size: .76rem; font-weight: 700; padding: .65rem .9rem; }

.category-section { padding: 2.3rem 0 4.5rem; }
.category-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.category-chip { display: inline-flex; align-items: center; gap: .7rem; min-height: 54px; padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 14px 5px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .88rem; transition: transform .2s, border-color .2s; }
.category-chip:hover { border-color: var(--sage); color: var(--pine); transform: translateY(-2px); }
.category-chip .mini-icon { color: var(--persimmon); font-size: 1.1rem; }

.feature-band { position: relative; padding: 3.1rem 0 4.6rem; background: var(--paper-deep); }
.feature-layout { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(420px,1.2fr); gap: 3rem; align-items: center; }
.feature-photo { overflow: hidden; border-radius: 22px 22px 100px 22px; aspect-ratio: 4/3; background: var(--sage); box-shadow: var(--shadow); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { max-width: 590px; }
.feature-copy h2 { font-size: clamp(2.1rem,3.8vw,3.4rem); margin: .65rem 0 .9rem; }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; color: var(--muted); font-size: .76rem; margin: 1.1rem 0; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--persimmon); }

.story-section { padding: 4.4rem 0; }
.story-list { border-top: 1px solid var(--line); }
.story-row { display: grid; grid-template-columns: 70px minmax(190px,.55fr) minmax(260px,1fr) auto; align-items: center; gap: 1.25rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.story-number { font: 500 1.8rem var(--serif); color: #b7bfb5; }
.story-row h3 { margin: 0; font-size: 1.26rem; }
.story-row p { margin: 0; font-size: .91rem; }
.story-arrow { color: var(--persimmon); font-size: 1.2rem; }

.category-page-hero { padding: 4.2rem 0 2.5rem; }
.category-page-hero h1 { max-width: 820px; font-size: clamp(2.7rem,5vw,4.4rem); }
.category-page-hero .lede { max-width: 760px; }
.category-marker { display: inline-block; padding: .5rem .78rem; background: var(--pine-soft); color: var(--pine); border-radius: 999px; font-size: .74rem; font-weight: 700; }
.category-publications { padding: 1rem 0 4.2rem; }
.category-topic-block { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.cluster-label { display: inline-flex; margin-bottom: .9rem; color: var(--persimmon-dark); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.topic-list { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 1.3rem 0 0; }
.topic-list li { padding: .62rem .84rem; background: rgba(255,254,250,.7); border: 1px solid var(--line); border-radius: 999px; color: #50625b; font-size: .8rem; }
.topic-list li a { color: var(--pine); font-weight: 700; }
.planned-label { color: #66766c; font-size: .69rem; margin-inline-start: .4rem; font-weight: 700; }

.article-hero { padding: 3.2rem 0 2rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.5rem; color: var(--muted); font-size: .76rem; }
.breadcrumbs a { text-decoration: none; color: var(--pine); }
.breadcrumbs .crumb-sep { color: var(--persimmon); }
.article-heading { max-width: 880px; }
.article-heading h1 { font-size: clamp(2.55rem,5.5vw,4.6rem); }
.article-heading .lede { max-width: 760px; }
.article-byline { display: flex; align-items: center; gap: .75rem; padding-top: .85rem; }
.author-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pine-soft); color: var(--pine); }
.author-mark svg { width: 25px; height: 25px; }
.author-copy { display: flex; flex-direction: column; gap: .15rem; font-size: .78rem; }
.author-copy a { font-weight: 700; color: var(--pine); }
.author-copy span { color: var(--muted); }
.article-cover { width: min(100%, 1050px); margin: 1.5rem auto 0; aspect-ratio: 16/8; overflow: hidden; border-radius: 28px; background: var(--sage); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover figcaption { margin-top: .4rem; color: var(--muted); font-size: .74rem; }

.article-layout { display: grid; grid-template-columns: 205px minmax(0,760px); justify-content: center; gap: 3.5rem; padding: 2.2rem 1.5rem 5rem; }
.article-toc { align-self: start; position: sticky; top: 100px; padding: 1rem 0; border-top: 1px solid var(--line); }
.article-toc strong { display: block; margin-bottom: .7rem; color: var(--pine); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.article-toc ol { margin: 0; padding-inline-start: 1.1rem; color: var(--persimmon); }
.article-toc li { margin: .48rem 0; padding-inline-start: .18rem; }
.article-toc a { color: #4c5c55; text-decoration: none; font-size: .78rem; line-height: 1.45; }
.article-toc a:hover { color: var(--persimmon-dark); }
.article-body { min-width: 0; }
.article-body > p:first-of-type { font-size: 1.17rem; color: #354940; }
.article-body h2 { margin-top: 2.7rem; font-size: clamp(1.8rem,3vw,2.45rem); scroll-margin-top: 100px; }
.article-body h3 { margin-top: 1.6rem; }
.article-body p { font-size: 1.02rem; line-height: 1.9; margin: 1rem 0; }
.article-body ul { padding-inline-start: 1.35rem; color: #42554c; line-height: 1.8; }
.article-body li { padding-inline-start: .3rem; margin: .45rem 0; }
.article-callout { padding: 1.35rem 1.5rem; margin: 2rem 0; background: var(--pine-soft); border-left: 4px solid var(--persimmon); border-radius: 4px 16px 16px 4px; }
.article-callout p { margin: 0; font-size: .97rem; }
.takeaway-box, .faq-box, .source-box, .author-box { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--white); border-radius: 18px; }
.takeaway-box h2, .faq-box h2, .source-box h2 { font-size: 1.5rem; margin-top: 0; }
.faq-item { padding: .75rem 0; border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.05rem; }
.faq-item p { font-size: .92rem; margin: .4rem 0 0; }
.source-box ul { padding-inline-start: 1.2rem; line-height: 1.8; }
.source-box a { color: var(--pine); overflow-wrap: anywhere; }
.author-box { display: flex; align-items: start; gap: 1rem; background: #eff2e9; }
.author-box h2 { font-size: 1.2rem; margin: 0 0 .35rem; }
.author-box p { margin: 0; font-size: .9rem; }
.author-box .team-seal { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; background: var(--pine); color: white; border-radius: 50%; }

.page-hero { padding: 4.2rem 0 2rem; }
.page-hero h1 { font-size: clamp(2.5rem,5vw,4.1rem); }
.prose { padding-bottom: 4.5rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.3rem; }
.prose p, .prose li { font-size: 1rem; line-height: 1.85; }
.prose ul { padding-inline-start: 1.25rem; }
.notice { padding: 1.2rem 1.35rem; margin: 1.5rem 0; border-left: 4px solid var(--persimmon); border-radius: 4px 14px 14px 4px; background: #fbebdf; color: #583b32; }
.notice p { margin: 0; color: inherit; }
.page-link-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2rem; padding: 0; list-style: none; }
.page-link-list li { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.page-link-list a { color: var(--pine); font-weight: 600; text-decoration: none; }
.author-profile { display: flex; align-items: flex-start; gap: 1.3rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.author-profile .team-seal { display: grid; place-items: center; flex: 0 0 76px; width: 76px; height: 76px; background: var(--pine); color: white; border-radius: 50%; }
.author-profile h2 { margin-top: .25rem; }
.author-profile p:last-child { margin-bottom: 0; }

.site-footer { background: #1c3730; color: #f7f5ef; padding: 3.4rem 0 1.4rem; }
.footer-main { display: grid; grid-template-columns: minmax(250px,1fr) minmax(300px,1.2fr); gap: 4rem; padding-bottom: 2.5rem; }
.footer-brand { color: white; }
.footer-brand .brand-mark { color: #e8a184; }
.footer-blurb { max-width: 370px; color: #c2d0c6; font-size: .9rem; }
.footer-note { color: #d8e2d9; font-size: .78rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem 1rem; align-content: start; }
.footer-links a { color: #e3ebe2; text-decoration: none; font-size: .81rem; }
.footer-links a:hover { color: #f4b196; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); padding-top: 1rem; color: #b7c8bd; font-size: .72rem; }
.footer-bottom p { color: inherit; margin: 0; }

.empty-state { display: none; padding: 1rem; margin-top: 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.empty-state.is-visible { display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .header-inner { padding-inline: 1.25rem; }
  .nav-links { gap: .8rem; }
  .nav-links a { font-size: .75rem; }
  .hero-inner { grid-template-columns: 1fr .9fr; gap: 1rem; padding: 0 1.2rem; }
  .hero-copy { padding-left: .5rem; }
  .hero-art, .hero-art img { min-height: 440px; }
  .feature-layout { grid-template-columns: .9fr 1.1fr; gap: 2rem; }
  .article-layout { grid-template-columns: 160px minmax(0,680px); gap: 2rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 5.5rem; }
  .header-inner { padding: .72rem 1rem; }
  .brand { font-size: 1.18rem; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: calc(100% + .35rem); left: 1rem; right: 1rem; padding: .9rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .72rem .8rem; border-radius: 9px; font-size: .88rem; }
  .nav-links .nav-cta { text-align: center; margin-top: .35rem; }
  .wrap, .narrow { width: min(100% - 2rem, 760px); }
  .hero { padding: 1rem 0 2.1rem; }
  .hero-inner { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 0; padding: 0 1rem; }
  .hero-art { min-height: 285px; border-radius: 32% 18px 18px 18px; }
  .hero-art img { min-height: 285px; object-position: 58% 50%; }
  .hero-copy { padding: 1.8rem .1rem .5rem; }
  h1 { font-size: clamp(2.5rem,12vw,3.8rem); }
  .hero-copy h1 { max-width: 500px; }
  .hero-mark { width: 120px; height: 120px; }
  .trust-inner { justify-content: flex-start; overflow-x: auto; gap: 1.25rem; padding: .85rem 1rem; white-space: nowrap; }
  .trust-inner span { font-size: .71rem; }
  .home-search { padding-top: 2.5rem; }
  .search-row, .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .search-box { width: 100%; }
  .category-section { padding-bottom: 3rem; }
  .category-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .category-chip { min-height: 58px; padding: .65rem .72rem; font-size: .78rem; }
  .feature-band { padding: 2.3rem 0 3rem; }
  .feature-layout { display: flex; flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .feature-photo { order: 0; aspect-ratio: 4/3; border-radius: 18px 18px 62px 18px; }
  .feature-copy { order: 1; }
  .story-section { padding: 3rem 0; }
  .story-row { grid-template-columns: 34px 1fr auto; gap: .75rem; align-items: start; }
  .story-row p { grid-column: 2 / 3; font-size: .82rem; }
  .story-number { grid-row: span 2; font-size: 1.35rem; }
  .story-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .category-page-hero, .page-hero { padding: 2.8rem 0 1.2rem; }
  .category-publications { padding-bottom: 2.5rem; }
  .article-hero { padding: 2rem 0 1.2rem; }
  .article-cover { border-radius: 18px; aspect-ratio: 4/3; }
  .article-layout { display: block; padding: 1rem 1rem 3.5rem; }
  .article-toc { position: static; padding: .9rem 1rem; margin: 0 0 1.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
  .article-toc ol { columns: 2; column-gap: 1rem; }
  .article-toc li { break-inside: avoid; }
  .article-body p { font-size: .98rem; }
  .footer-main { display: block; }
  .footer-links { margin-top: 2rem; grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; }
  .page-link-list { grid-template-columns: 1fr; }
  .author-profile { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
