:root {
  --paper: #f8f5ed;
  --white: #fff;
  --ink: #29322d;
  --muted: #62665f;
  --accent: #a44023;
  --accent-hover: #7c2e18;
  --line: #d9d9ce;
  --surface: #eeeadd;
  --panel: #303e35;
  --panel-text: #f8f5ed;
  --panel-muted: #d3d9ce;
  --panel-line: #69756c;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 Arial, Helvetica, sans-serif; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px; background: var(--white); z-index: 5; }
.skip-link:focus { top: 12px; }
.header-inner, .page-shell, .footer-inner { max-width: 1200px; margin: auto; padding-left: 40px; padding-right: 40px; }
.site-header { border-top: 5px solid var(--accent); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 30px; letter-spacing: -1.4px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark > svg { width: 30px; height: 30px; color: var(--accent); }
.domain { font-size: 20px; font-weight: normal; }
.header-inner nav { display: flex; gap: 30px; }
.header-inner nav a { font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { text-decoration: underline; }
.page-shell { padding-top: 48px; padding-bottom: 64px; min-height: 70vh; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 28px; overflow-wrap: anywhere; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
p { margin: 0 0 20px; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 80px; align-items: center; padding: 12px 0 56px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: bold; color: var(--accent); margin-bottom: 20px; }
.home-intro h1 { font-size: clamp(52px, 6vw, 80px); line-height: 1.02; margin-bottom: 28px; letter-spacing: -0.065em; }
.intro-text { font-size: 18px; color: var(--muted); max-width: 560px; }
.intro-text p { margin-bottom: 12px; }
.browse-button { display: inline-flex; gap: 28px; padding: 12px 20px; background: var(--accent); color: var(--white); font-size: 14px; font-weight: bold; text-decoration: none; margin-top: 18px; border-radius: 3px; }
.browse-button:hover { background: var(--accent-hover); color: var(--white); }
.quick-browse { background: var(--panel); color: var(--panel-text); padding: 32px; border-radius: 5px 5px 40px 5px; }
.quick-title { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.quick-title h2 { font-size: 26px; max-width: 200px; }
.large-paw { width: 54px; flex: 0 0 54px; color: var(--panel-muted); transform: rotate(15deg); }
.large-paw svg { display: block; width: 100%; }
.quick-browse ul { list-style: none; padding: 0; margin: 0; }
.quick-browse li { display: flex; align-items: center; border-top: 1px solid var(--panel-line); }
.quick-browse li a { flex: 1; color: var(--panel-text); padding: 14px 0; text-decoration: none; font-size: 17px; }
.quick-browse a:hover { text-decoration: underline; }
.quick-browse a:focus-visible { outline-color: var(--panel-text); }
.quick-browse > p { font-size: 13px; color: var(--panel-muted); margin: 24px 0 0; }
.browse-section { border-top: 1px solid var(--line); padding-top: 36px; }
.section-title { display: flex; gap: 24px; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }
.section-title p { color: var(--muted); font-size: 14px; margin: 0; }
.directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 32px; }
.category-group h3 { font-size: 17px; margin-bottom: 16px; letter-spacing: -0.02em; }
.category-group ul { list-style: none; margin: 0; padding: 0; }
.category-group li { border-top: 1px solid var(--line); }
.category-group a { display: block; padding: 8px 0; text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.category-group a:hover { text-decoration: underline; }
.category-group a[aria-current] { color: var(--ink); font-weight: bold; text-decoration: underline; }
.reading-section { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.reading-section h2 { max-width: 340px; }
.reading-section .eyebrow { margin-bottom: 16px; }
.reading-row { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 10px 24px; border-bottom: 1px solid var(--line); padding: 20px 0; text-decoration: none; color: var(--ink); }
.reading-row:first-child { padding-top: 0; }
.reading-row h3 { font-size: 21px; }
.reading-row p { color: var(--muted); font-size: 15px; grid-column: 1; margin: 0; }
.reading-row > span { grid-column: 2; grid-row: 1; color: var(--accent); font-size: 22px; line-height: 1; }
.reading-row:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.update-note { background: var(--surface); border-left: 3px solid var(--accent); padding: 22px 26px; display: flex; align-items: baseline; gap: 20px; margin-top: 48px; font-size: 14px; }
.update-note strong { white-space: nowrap; }
.update-note p { margin: 0; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.breadcrumbs a { white-space: nowrap; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 72px; align-items: start; }
main { min-width: 0; }
.category-copy { font-size: 18px; line-height: 1.85; }
.category-copy p { margin-top: 20px; }
.category-copy a { overflow-wrap: anywhere; }
.lead { font-size: 18px; max-width: 740px; color: var(--muted); }
aside { border-left: 1px solid var(--line); padding-left: 28px; }
aside h2 { font-size: 21px; }
aside .directory { display: block; margin-top: 28px; }
aside .category-group { margin-top: 24px; }
aside .category-group h3 { font-size: 14px; }
aside .category-group li { border: none; }
aside .category-group a { padding: 3px 0; font-size: 14px; }
.related-section { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 28px; }
.related-section h2 { font-size: 25px; margin-bottom: 24px; }
.related-section .reading-row h3 { font-size: 19px; }
.back-link { font-size: 14px; margin-top: 28px; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { padding-top: 30px; padding-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { color: var(--ink); font-size: 24px; font-weight: bold; text-decoration: none; letter-spacing: -1px; }
.footer-inner p { color: var(--muted); font-size: 13px; margin: 2px 0 0; }
.footer-inner > a { font-size: 14px; }
@media (max-width: 950px) {
  .home-intro { gap: 36px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 36px; }
  aside { padding-left: 20px; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 12px; }
  .directory { gap: 24px; }
  .quick-browse { padding: 24px; }
  .reading-section { gap: 36px; }
}
@media (max-width: 700px) {
  .header-inner, .page-shell, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 22px; padding-bottom: 20px; gap: 22px; }
  .wordmark { font-size: 28px; }
  .wordmark > svg { width: 27px; height: 27px; }
  .header-inner nav { gap: 24px; }
  .page-shell { padding-top: 32px; padding-bottom: 40px; }
  .home-intro { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-bottom: 36px; gap: 32px; }
  .home-intro h1 { font-size: 62px; }
  .intro-text, .category-copy { font-size: 17px; }
  .directory, .reading-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .category-group ul { columns: 2; column-gap: 24px; }
  .category-group li { break-inside: avoid; }
  .category-group a { font-size: 14px; }
  .reading-section { margin-top: 36px; }
  .reading-section h2 { font-size: 29px; }
  .article-layout { display: block; }
  aside { padding: 28px 0 0; margin-top: 40px; border-left: 0; border-top: 1px solid var(--line); }
  .update-note { flex-direction: column; gap: 8px; padding: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .header-inner, .page-shell, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .home-intro h1 { font-size: 56px; }
  .category-group ul { columns: 1; }
}
