:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #20302d;
  --muted: #697772;
  --green: #183c35;
  --mint: #dce8dd;
  --line: #dedfd7;
  --gold: #e8b94e;
  --white: #fffefa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #b87a18; outline-offset: 3px; }
.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; padding: 10px 14px; background: var(--white); z-index: 20; }
.skip-link:focus { left: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 780; letter-spacing: -.06em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--green); color: var(--gold); font-family: Georgia, serif; font-size: 23px; font-style: italic; font-weight: 700; line-height: 1; }
.brand-dot { color: #c88922; }
.nav, .site-footer nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav a:hover, .site-footer nav a:hover, .text-link:hover, .back-link:hover { color: #a86c0b; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.hero { min-height: 434px; padding-block: 86px 74px; position: relative; overflow: hidden; }
.eyebrow { margin: 0 0 12px; color: #60716b; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 750; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #c98b20; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 660px; margin-bottom: 20px; font-size: clamp(42px, 6vw, 70px); line-height: 1.04; letter-spacing: -.065em; font-weight: 720; }
.hero h1 span { color: #658176; }
.hero-copy { max-width: 560px; margin-bottom: 27px; color: var(--muted); font-size: 17px; }
.button { display: inline-flex; align-items: center; gap: 18px; padding: 12px 17px; border-radius: 8px; background: var(--green); color: white; font-size: 14px; font-weight: 650; transition: transform .15s ease, background .15s ease; }
.button:hover { background: #245349; transform: translateY(-1px); }
.button span { color: var(--gold); font-size: 17px; }
.hero-stamp { position: absolute; width: 164px; height: 164px; right: 70px; top: 112px; border: 1px solid #cbd5cc; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(11deg); color: var(--green); }
.hero-stamp::before, .hero-stamp::after { content: ""; position: absolute; inset: 9px; border: 1px dashed #b7c7bb; border-radius: 50%; }
.hero-stamp::after { inset: -11px; border-style: solid; border-color: #e5d8b5; }
.hero-stamp > span { font: italic 74px/.85 Georgia, serif; }
.hero-stamp small { margin-top: 8px; text-align: center; color: var(--muted); font-size: 9px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
.section { padding-block: 58px 70px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.section-heading h2, .callout h2 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.045em; }
.text-link { color: var(--green); font-size: 14px; font-weight: 650; }
.text-link span { margin-left: 5px; }
.search { margin: 0 0 21px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,254,250,.5); }
.search-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.search-row { display: flex; gap: 8px; }
.search input { min-width: 0; flex: 1; height: 43px; padding: 0 12px; border: 1px solid #cdd3ca; border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-size: 14px; }
.search button { padding: 0 17px; border: 0; border-radius: 6px; background: #e9d7a9; color: #49370d; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.search button:hover { background: #e1c986; }
.search-status { min-height: 18px; margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.note-card { min-height: 222px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: transform .16s ease, box-shadow .16s ease; }
.note-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px #253f3210; }
.card-link { display: flex; min-height: 222px; flex-direction: column; padding: 20px; position: relative; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.card-meta > span:first-child { color: #3b6758; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.note-card h3 { margin: 27px 0 9px; max-width: 240px; font-size: 20px; line-height: 1.22; letter-spacing: -.04em; }
.note-card p { margin: 0; max-width: 270px; color: var(--muted); font-size: 13px; }
.card-arrow { position: absolute; right: 18px; bottom: 14px; color: #c18b2e; font-size: 18px; }
.empty-state { margin: 20px 0 0; padding: 18px; border-radius: 8px; background: var(--mint); color: var(--green); }
.callout { display: grid; grid-template-columns: 55px 1fr auto; gap: 20px; align-items: center; margin-bottom: 70px; padding: 27px 30px; border-radius: 12px; background: #e8eee5; }
.callout-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--gold); font-size: 22px; }
.callout .eyebrow { margin-bottom: 5px; }
.callout h2 { margin-bottom: 7px; font-size: 23px; }
.callout p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); }
.footer-brand { color: var(--ink); font-size: 18px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 20px; }
.footer-inner p { margin: 0; font-size: 12px; }
.site-footer nav { gap: 17px; font-size: 12px; }
.footer-inner small { font-size: 11px; }
.page-main { min-height: calc(100vh - 180px); padding-top: 35px; padding-bottom: 76px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 44px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: #a86c0b; }
.page-main > .eyebrow { margin-bottom: 10px; }
.page-title { max-width: 760px; margin: 0 0 14px; font-size: clamp(38px, 5.3vw, 58px); line-height: 1.06; letter-spacing: -.06em; font-weight: 720; }
.page-intro { max-width: 650px; margin-bottom: 38px; color: var(--muted); font-size: 18px; }
.archive-list { border-top: 1px solid var(--line); }
.archive-item { border-bottom: 1px solid var(--line); }
.archive-item > a { display: grid; grid-template-columns: 44px 1fr 30px; gap: 18px; align-items: center; padding: 23px 10px; }
.archive-item > a:hover { background: #eeeee7; }
.archive-number { align-self: start; color: #a0aaa1; font: 17px Georgia, serif; }
.archive-body .card-meta { justify-content: flex-start; gap: 19px; margin-bottom: 8px; }
.archive-body h2 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.04em; line-height: 1.2; }
.archive-body p { margin: 0; color: var(--muted); font-size: 14px; }
.archive-arrow { color: #b67c1c; font-size: 20px; }
.inline-note { max-width: 660px; margin-top: 42px; padding: 20px 23px; border-left: 3px solid var(--gold); background: #eeeee7; }
.inline-note strong { color: var(--green); font-size: 14px; }
.inline-note p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.category-pill { display: inline-block; margin-bottom: 15px; padding: 5px 10px; border-radius: 999px; background: var(--mint); color: #31584a; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.article-main { max-width: 800px; }
.article-main .page-title { max-width: 720px; font-size: clamp(39px, 5vw, 58px); }
.article-meta { display: flex; gap: 18px; margin: 0 0 27px; color: var(--muted); font-size: 12px; }
.article-lead { margin: 0 0 35px; color: #50615b; font-size: 21px; line-height: 1.5; }
.article-body { max-width: 690px; color: #43514c; font-size: 16px; }
.article-body h2 { margin: 32px 0 9px; color: var(--ink); font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.article-body p { margin: 0 0 17px; }
.article-body li { margin: 6px 0; padding-left: 4px; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body a { color: #22634d; text-decoration: underline; text-underline-offset: 3px; }
.article-body code { padding: 2px 5px; border-radius: 4px; background: #e8e9e1; font-size: .9em; }
.tip-box { margin: 25px 0; padding: 18px 20px; border-radius: 9px; background: #e8eee5; }
.tip-box strong { color: var(--green); }
.tip-box p { margin: 5px 0 0; }
.back-link { display: inline-block; margin-top: 35px; color: var(--green); font-size: 14px; font-weight: 700; }
.prose-page { max-width: 820px; }
.prose-page .page-intro { margin-bottom: 33px; }
.not-found { min-height: calc(100vh - 180px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 80px; }
.not-found h1 { max-width: 620px; margin: 0 0 14px; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -.06em; }
.not-found p:not(.eyebrow) { margin-bottom: 25px; color: var(--muted); }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 600px); }
  .header-inner { min-height: 68px; }
  .nav { gap: 16px; font-size: 13px; }
  .hero { min-height: 390px; padding-block: 70px 55px; }
  .hero-stamp { width: 112px; height: 112px; right: 12px; top: 55px; opacity: .6; }
  .hero-stamp > span { font-size: 52px; }
  .hero-stamp small { font-size: 7px; }
  .hero h1 { max-width: 540px; font-size: clamp(42px, 10vw, 60px); }
  .hero-copy { max-width: 460px; font-size: 15px; }
  .section { padding-block: 42px 50px; }
  .section-heading h2 { font-size: 26px; }
  .card-grid { grid-template-columns: 1fr; gap: 10px; }
  .note-card, .card-link { min-height: 185px; }
  .note-card h3 { margin-top: 20px; }
  .callout { grid-template-columns: 45px 1fr; gap: 13px; margin-bottom: 48px; padding: 22px; }
  .callout .text-link { grid-column: 2; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; padding-block: 22px; }
  .footer-inner p { width: calc(100% - 55px); padding-top: 7px; }
  .site-footer nav { width: 100%; }
  .footer-inner small { margin-left: auto; }
  .page-main { padding-top: 25px; padding-bottom: 55px; }
  .breadcrumbs { margin-bottom: 34px; }
  .page-intro { font-size: 16px; }
  .archive-item > a { grid-template-columns: 27px 1fr 20px; gap: 11px; padding: 19px 3px; }
  .archive-body h2 { font-size: 19px; }
  .archive-body p { font-size: 13px; }
  .archive-body .card-meta { flex-wrap: wrap; gap: 5px 13px; }
  .article-lead { font-size: 18px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
