/* Books-first layer. Existing cover assets and brand colors are retained. */
:root { --muted: #565b53; }
body { font-size: 1.0625rem; }
a { color: var(--green); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #996316; outline-offset: 4px;
}
.skip-link { position: absolute; left: 1rem; top: -8rem; z-index: 10; padding: 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); min-height: 88px; }
.site-header nav { gap: 1.4rem; }
.site-header nav a { font-size: .9375rem; }
.eyebrow { font-size: .8125rem; letter-spacing: .1em; }
.home-hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 2rem; padding: 3.8rem 0 1rem; }
.home-hero h1 { font-size: clamp(2.7rem,4.5vw,4.2rem); max-width: 12ch; line-height: 1.08; letter-spacing: -.035em; }
.hero-context { font-size: 1.0625rem; line-height: 1.6; max-width: 54ch; color: var(--muted); }
.home-hero .search-box { margin-top: 1.5rem; padding: 1.1rem; border-radius: 14px; }
.search-box label { font-size: 1rem; }
.search-box small { font-size: .875rem; line-height: 1.5; }
.search-box input { padding: .8rem; }
.search-box button { font-size: .9375rem; padding: .8rem 1rem; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .7rem; margin-top: .6rem; font-weight: 700; }
.hero-books { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; align-content: center; align-items: end; padding: 1.5rem 0; }
.hero-books a { display: block; }
.hero-books img { width: 100%; height: auto; filter: drop-shadow(3px 9px 7px #211f1a20); }
.hero-books a:nth-child(2) { margin-bottom: 2.4rem; }
.hero-books p { grid-column: 1/-1; text-align: center; font-family: Georgia,serif; font-size: 1.4rem; line-height: 1.5; margin: 1.3rem 0 0; }
.hero-books p span { font: .875rem/1.5 Arial,sans-serif; color: var(--muted); }
#search-results { grid-column: 1/-1; scroll-margin-top: 1rem; }
.section-heading { margin-top: 3.4rem; }
.section-heading h2 { font-size: clamp(1.9rem,3vw,2.7rem); line-height: 1.13; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.chips { gap: .6rem; }
.chips a { font-weight: 600; font-size: .9375rem; padding: .55rem .9rem; }
.chips a:hover, .book-tile:hover { border-color: var(--green); background: #fff; }
.book-grid { gap: 1rem; }
.book-tile { padding: 1.3rem; gap: 1.3rem; min-height: 170px; border-radius: 14px; }
.book-tile img { width: 76px; height: 124px; flex-shrink: 0; }
.book-tile strong { font-size: 1.2rem; }
.book-tile small { font-size: .875rem; }
.page-shell { padding-top: 2rem; }
.breadcrumbs { font-size: .875rem; margin-bottom: 2rem; }
.situation-page > h1 { max-width: 22ch; font-size: clamp(2.2rem,4.5vw,3.7rem); line-height: 1.12; letter-spacing: -.02em; }
.situation-page > .intro { max-width: 66ch; line-height: 1.7; margin: 1.5rem 0 2rem; }
.situation-page .product-box { max-width: 840px; border-left: 4px solid var(--green); padding: 1.6rem; background: var(--mint); }
.product-box h2 { font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.15; }
.product-box .primary-link, .book-hero .primary-link { display: inline-block; }
.product-box img { max-width: 100%; }
.product-box p { margin: .7rem 0; }
.result-card { gap: 1rem; padding: 1.2rem; border-radius: 12px; }
.result-card strong { font-size: 1.125rem; line-height: 1.4; }
.result-card small { font-size: .875rem; margin: .35rem 0; }
.result-card span > span { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.result-card b { flex-shrink: 0; align-self: center; color: var(--green); }
.book-hero h1 { font-size: clamp(2.5rem,5vw,4rem); line-height: 1.1; }
.book-hero img { max-width: 100%; }
.book-hero .primary-link { margin-top: .4rem; }
.products .product { grid-template-columns: 145px minmax(0,1fr); }
.product h2 { font-size: 2.2rem; line-height: 1.15; }
.product .actions a:first-child { background: transparent; color: var(--green); border: 1px solid var(--green); }
.editorial-page { max-width: 850px; }
.editorial-page h1 { font-size: clamp(2.5rem,5vw,4rem); line-height: 1.1; }
.content-card h2, .notice h2 { font-size: clamp(1.7rem,3vw,2.3rem); line-height: 1.15; }
.site-footer { margin-top: 4rem; font-size: .9375rem; }
.site-footer p { margin: .6rem 0; }
@media (max-width: 760px) {
  .site-header { align-items: center; min-height: 72px; gap: .7rem; }
  .site-header nav { gap: .5rem; }
  .site-header nav a { font-size: .875rem; padding: .4rem; }
  .site-header nav a:nth-child(3) { display: flex; }
  .home-hero { grid-template-columns: 1fr; padding: 1.8rem 0 .6rem; gap: .8rem; }
  .home-hero h1 { font-size: clamp(2.4rem,8vw,3.4rem); max-width: 16ch; }
  .hero-context { font-size: 1rem; }
  .search-box small { display: block; }
  .hero-books { max-width: 340px; width: 100%; margin: 0 auto; padding: 1.2rem 1rem .3rem; }
  .hero-books p { font-size: 1.2rem; margin-top: .5rem; }
  .hero-books a:nth-child(2) { margin-bottom: 1rem; }
  .section-heading { margin-top: 2.6rem; }
  .book-grid { grid-template-columns: 1fr; }
  .book-tile { padding: 1rem; }
  .situation-page .product-box { grid-template-columns: 65px minmax(0,1fr); padding: 1rem; gap: 1rem; }
  .product-box .primary-link { padding: .7rem; font-size: .9375rem; }
  .products .product { grid-template-columns: 80px minmax(0,1fr); gap: 1rem; padding: 1rem; }
  .product > img { width: 80px; height: auto; }
  .product h2 { font-size: 1.65rem; }
  .product .eyebrow { display: none; }
  .product .actions { grid-column: 1/-1; }
  .product .actions a { font-size: .9375rem; padding: .6rem .8rem; }
  .book-hero { grid-template-columns: 95px minmax(0,1fr); gap: 1rem; align-items: start; }
  .book-hero h1 { font-size: 2rem; }
  .book-hero .intro { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* SEO navigation: original overviews and book guidance remain unchanged. */
.entry-title { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin: 1rem 0; }
.related-situations { max-width: 840px; margin-top: 2.5rem; }
.related-situations h2 { font-size: clamp(1.6rem,3vw,2.3rem); line-height: 1.2; }
.related-situations > p { color: var(--muted); line-height: 1.6; }
