@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #f3f0e8;
  --bg-raised: #fffcf8;
  --ink: #1c1915;
  --ink-soft: #5e584e;
  --line: #e3d9cc;
  --accent: #0c5f56;
  --accent-dark: #08443e;
  --accent-soft: #e5f3f0;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

::selection { background: #d7efe8; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

img { max-width: 100%; }

a { color: var(--accent); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip:focus { top: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(219, 209, 185, 0.96);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner,
.page,
.footer-inner {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 0;
}

.logo {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  display: block;
  flex: none;
}

.nav-toggle {
  order: 2;
  margin-left: auto;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-raised);
  color: var(--ink);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  content: "";
}

.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.header-search { order: 3; flex: 1 1 100%; min-width: 0; }
.search-form-compact { width: 100%; }

.site-menu {
  order: 4;
  display: none;
  flex: 1 1 100%;
  padding-bottom: 0.4rem;
}

.site-menu.is-open { display: block; }

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.1rem;
}

.site-nav a,
.site-footer a {
  font-family: var(--sans);
  color: var(--ink);
  text-decoration: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.2rem;
  font-size: 1.02rem;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-nav a:hover { color: var(--accent); }

.nav-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  position: relative;
}

.nav-caret {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
}

.nav-caret::before {
  content: "";
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  margin: 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.nav-sub {
  display: none;
  grid-column: 1 / -1;
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0.2rem 0 0.2rem 0.85rem;
}

.nav-item.is-open .nav-sub { display: block; }

.nav-sub a {
  min-height: 2.4rem;
  font-size: 0.98rem;
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .header-search { order: 3; flex: 0 0 15.5rem; }
  .site-menu {
    order: 2;
    display: block;
    flex: 1 1 auto;
    width: auto;
    margin-left: 0.5rem;
    padding: 0;
  }
  .site-nav { flex-direction: row; align-items: center; gap: 0.15rem; }
  .nav-item { display: inline-flex; }
  .nav-sub {
    display: none;
    position: absolute;
    top: calc(100% - 0.2rem);
    left: 0;
    grid-column: auto;
    min-width: 16rem;
    margin: 0;
    padding: 0.4rem;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(40, 32, 20, 0.12);
    z-index: 50;
  }
  .nav-item:hover .nav-sub,
  .nav-item:focus-within .nav-sub,
  .nav-item.is-open .nav-sub { display: block; }
  .nav-sub a { display: flex; border-radius: 8px; padding: 0 0.65rem; }
  .nav-sub a:hover { background: var(--accent-soft); }
}

main { flex: 1; padding: 1.6rem 0 3rem; }

.page-header,
.hero { max-width: 42rem; }

h1, .feature-title, .entry-name, .category-name {
  text-wrap: balance;
}

.hero h1,
.page-header h1,
.about-prose h1 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 0.8rem;
}

.page-header h1,
.about-prose h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); }

.lede {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.45;
}

.lede-note,
.section-intro,
.library-count,
.count-line,
.subcats {
  color: var(--ink-soft);
}

.lede-note { margin: 0.7rem 0 1.15rem; font-size: 1.05rem; }

.library-count,
.count-line {
  font-family: var(--sans);
  font-size: 0.92rem;
  margin: 0.85rem 0 0;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.section-label a { color: inherit; text-decoration: none; }
.section-label a:hover { text-decoration: underline; }

.home-section { margin-top: 3.25rem; }

.home-section h2,
.prose h2,
.az-group h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.home-section h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  margin: 0 0 0.35rem;
}

.section-intro { margin: 0 0 1.15rem; max-width: 40rem; }

.subcats {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 0;
}

.subcats span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.category-grid,
.feature-grid {
  display: grid;
  gap: 0.85rem;
}

.category-grid { grid-template-columns: repeat(auto-fill, minmax(13.4rem, 1fr)); }

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }

.category-card,
.feature,
.entry,
.search-hit {
  text-decoration: none;
  color: inherit;
}

.category-card,
.feature {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
}

.category-card:hover,
.feature:hover,
.search-hit:hover,
.search-hit[aria-selected="true"] {
  border-color: #8fc4bb;
  background: #f7fcfb;
}

.category-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
}

.category-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.category-count {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.12rem 0.48rem;
}

.category-count.is-zero {
  color: var(--ink-soft);
  background: #efeae2;
}

.category-summary { font-size: 0.98rem; line-height: 1.4; }

.category-includes {
  margin-top: auto;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.4;
}

.feature-kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.feature-meta,
.entry-meta,
.search-hit-cas {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--accent-dark);
}

.feature-summary,
.search-hit-excerpt,
.entry-deck {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.search { margin-top: 0.2rem; }

.search-form-hero { max-width: 40rem; }

.search-row { display: flex; gap: 0.5rem; }

.search-input {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: white;
  border: 1px solid #d5cdc0;
  border-radius: 10px;
  min-height: 3rem;
  padding: 0 0.9rem;
  width: 100%;
  min-width: 0;
}

.search-form-hero .search-input { flex: 1; }

.search-input:focus {
  border-color: var(--accent);
  outline: 3px solid #cfe6e1;
}

.search-form-compact { width: 15.5rem; }
.search-form-compact .search-input { min-height: 2.6rem; font-size: 0.95rem; }

button,
.suggest {
  font-family: var(--sans);
  cursor: pointer;
}

button[type="submit"] {
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 10px;
  min-height: 3rem;
  padding: 0 1.1rem;
  font-size: 1rem;
}

button[type="submit"]:hover { background: var(--accent-dark); }

.suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.suggestions-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.suggest {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 2.2rem;
  padding: 0 0.8rem;
  font-size: 0.92rem;
}

.suggest:hover { border-color: var(--accent); background: var(--accent-soft); }

.search-status {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.7rem 0 0;
  min-height: 0;
}

.search-status:empty { display: none; }

.search-results {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.search-results:empty { display: none; }

.search-hit {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}

.search-hit-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.search-hit-cas,
.search-hit-excerpt { display: block; margin-top: 0.2rem; }

.search-hit mark {
  background: #f4e2a4;
  color: inherit;
  border-radius: 2px;
  padding: 0 0.12em;
}

.header-search { position: relative; }

.header-search .search-panel {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.4rem);
  right: 0;
  width: min(32rem, 78vw);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  box-shadow: 0 16px 40px rgba(40, 32, 20, 0.12);
}

.header-search .search-panel:has(.search-hit),
.header-search .search-panel:has(.search-status:not(:empty)) {
  display: block;
}

.header-search .search-results { margin-top: 0.45rem; }

.search-fallback {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.article-layout {
  width: min(60rem, calc(100% - 2rem));
  margin-inline: auto;
}

.article-header h1 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.kicker a { color: var(--accent); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

.identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 1rem;
}

.review-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  align-items: center;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  background: #f3e7cf;
  color: #6d4a16;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-published {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.disclaimer {
  margin: 1.15rem 0 1.4rem;
  border: 1px solid #e4d3b0;
  background: #fbf6ea;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.45;
  color: #3f3424;
}

.disclaimer strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8a5a1a;
  margin-bottom: 0.2rem;
}

.disclaimer p { margin: 0; }

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16.75rem;
  gap: 2.4rem;
  align-items: start;
}

.facts {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 5.4rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem 1.05rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.facts h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.35rem;
}

.facts dl { margin: 0; }

.facts dt {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.facts dd { margin: 0.12rem 0 0; }
.cas-note { display: block; margin-top: 0.25rem; color: var(--ink-soft); font-size: 0.84rem; }

.facts a { color: var(--accent); }

.prose {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-size: 1.14rem;
  line-height: 1.68;
}

.prose p { margin: 0.85rem 0; text-wrap: pretty; }

.prose .article-opening {
  margin: 0 0 1.4rem;
  font-size: 1.24rem;
  line-height: 1.6;
  color: var(--ink);
}

.prose h2 {
  font-size: 1.65rem;
  margin: 2.2rem 0 0.55rem;
  scroll-margin-top: 5.5rem;
}

.prose h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 650;
  margin: 1.45rem 0 0.3rem;
  color: var(--accent-dark);
  scroll-margin-top: 5.5rem;
}

.prose ul,
.prose ol { padding-left: 1.25rem; }

.prose li { margin: 0.35rem 0; }

.prose a { text-underline-offset: 0.14em; overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.5rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.45;
}
.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.65rem;
}
.prose th { font-weight: 650; color: var(--ink); }

.evidence-key {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
}
.evidence-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  margin-right: 0.28rem;
  vertical-align: 0.12em;
}
.evidence-established .evidence-label { background: #e5f0e2; color: #24502a; }
.evidence-probable .evidence-label { background: #f4ead0; color: #6a4814; }
.evidence-possible .evidence-label { background: #e5eef8; color: #1c3f68; }
.evidence-disputed .evidence-label { background: #f8e6e1; color: #6d2e24; }

.list-heading {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 1.6rem 0 0.2rem;
}

.prose strong { font-weight: 650; }

.about-prose { max-width: 40rem; }

.related {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.2rem;
}

.related h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.related-list { list-style: none; margin: 0; padding: 0; }
.related-list a { font-family: var(--sans); }

.figure { margin: 1.5rem 0 1.7rem; }

.figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  background: #f7f4ee;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.figure figcaption {
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.figure-caption {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.figure-credit,
.figure-license,
.figure-changes { margin: 0.18rem 0 0; }

.figure a { color: var(--accent); }

.entry-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  max-width: 44rem;
}

.entry {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.entry-list li:last-child .entry { border-bottom: 1px solid var(--line); }

.entry-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.entry:hover .entry-name { color: var(--accent); }

.az-bar {
  position: sticky;
  top: 4.35rem;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.55rem 0;
  margin-top: 1rem;
  background: rgba(243, 240, 232, 0.95);
}

.az-bar a,
.az-bar span {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
}

.az-bar a { color: var(--accent-dark); background: var(--accent-soft); }
.az-bar span.is-empty { color: #b7b0a4; }

.az-group h2 {
  font-size: 1.7rem;
  margin: 1.4rem 0 0;
  scroll-margin-top: 8rem;
}

.empty {
  color: var(--ink-soft);
  max-width: 40rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #efeae1;
  padding: 0.08em 0.35em;
  border-radius: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.4rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: end;
}

.footer-brand {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.2rem;
  margin: 0 0 0.2rem;
}

.site-footer p { margin: 0; max-width: 36rem; }

.site-footer nav { display: flex; gap: 1rem; }

.site-footer a { color: var(--accent); }

@media (max-width: 860px) {
  .feature-grid,
  .topic-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .facts,
  .prose { grid-column: 1; position: static; }
  .facts { grid-row: 1; }
  .prose { grid-row: 2; }
}

@media (max-width: 720px) {
  body { font-size: 1.05rem; }
  .search-form-hero .search-row { flex-direction: column; }
  .search-form-hero button[type="submit"] { width: 100%; }
  .header-search .search-panel:has(.search-hit),
  .header-search .search-panel:has(.search-status:not(:empty)) {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0 0;
    background: transparent;
  }
  .az-bar { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* === approved design improvements 3/4/7 === */
.evidence-snapshot {
  margin: 0 0 1.5rem;
  padding: 0.95rem 1.05rem 1.05rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 48rem;
}

.evidence-snapshot-kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.55rem;
}

.evidence-snapshot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.evidence-snapshot-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
}

.evidence-snapshot-claim {
  flex: 1 1 12rem;
  min-width: 0;
}

.evidence-snapshot-note {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.feature {
  overflow: hidden;
  padding: 0;
}

.feature .feature-kicker,
.feature .feature-title,
.feature .feature-meta,
.feature .feature-summary {
  padding-left: 1.05rem;
  padding-right: 1.05rem;
}

.feature .feature-kicker {
  margin-top: 0.85rem;
}

.feature .feature-summary {
  padding-bottom: 1.05rem;
}

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #ebe4d8;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, var(--accent-soft) 0%, #ebe4d8 55%, #e3d9cc 100%);
}

.card-media-mark {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
  opacity: 0.72;
}

.category-count.is-soon {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 650;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}

.category-card-soon {
  opacity: 0.82;
}

.category-card-soon:hover {
  opacity: 1;
}

.topic-grid .feature-summary {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .evidence-snapshot {
    padding: 0.85rem 0.9rem 0.95rem;
  }
}

/* === Round 2: hero, category icons, lead images, CC INDEX, sharing === */
:root {
  --cc-low: #1f6b4e;
  --cc-mild: #586a14;
  --cc-moderate: #8a5300;
  --cc-high: #b03a12;
  --cc-very-high: #9b1630;
}
.cc-low { --cc: var(--cc-low); --cc-tint: #e3f1ea; }
.cc-mild { --cc: var(--cc-mild); --cc-tint: #eef1dc; }
.cc-moderate { --cc: var(--cc-moderate); --cc-tint: #f7ead2; }
.cc-high { --cc: var(--cc-high); --cc-tint: #f8e2d8; }
.cc-very-high { --cc: var(--cc-very-high); --cc-tint: #f6dde2; }

/* Hero with picture */
.hero.hero-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.2rem;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-media { margin: 0; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ebe4d8;
}
.hero-credit {
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: right;
}
@media (max-width: 860px) {
  .hero.hero-split { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 9; }
}

/* Category cards with icons */
.category-top { align-items: center; }
.category-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.category-card:hover .category-icon-wrap { background: #d3ebe5; }
.category-card-soon .category-icon-wrap { background: #efeae2; color: var(--ink-soft); }
.category-card .category-name { margin-top: 0.35rem; }
.category-heading { display: flex; align-items: center; gap: 0.9rem; }
.category-icon-lg { width: 3.4rem; height: 3.4rem; border-radius: 14px; }
.category-icon-lg .category-icon { width: 34px; height: 34px; }
.more-link { margin: 0.9rem 0 0; font-family: var(--sans); font-size: 0.95rem; }

/* CC INDEX badge (cards, lists) */
.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  font-family: var(--sans);
  font-weight: 650;
  line-height: 1;
  color: #fff;
  background: var(--cc);
  border-radius: 999px;
  padding: 0.3rem 0.6rem 0.3rem 0.65rem;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(28, 25, 21, 0.18);
}
.cc-badge-mark { font-size: 0.62rem; letter-spacing: 0.09em; opacity: 0.92; }
.cc-badge-score { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.cc-badge-band {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
}
.card-media { position: relative; }
.card-cc { position: absolute; left: 0.65rem; bottom: 0.65rem; }
.entry-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.8rem; }

/* CC INDEX gauge on articles */
.article-header.has-cc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 1.2rem 2rem;
  align-items: start;
}
.cc-gauge {
  background: var(--bg-raised);
  border: 2px solid var(--cc);
  border-radius: 18px;
  padding: 0.95rem 1.1rem 1rem;
  box-shadow: 0 10px 28px rgba(40, 32, 20, 0.08);
  font-family: var(--sans);
  position: relative;
  overflow: hidden;
}
.cc-gauge::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--cc);
}
.cc-gauge-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.cc-gauge-mark {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cc);
}
.cc-gauge-link { font-size: 0.82rem; color: var(--accent); }
.cc-gauge-value { margin: 0.15rem 0 0.55rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.1rem 0.5rem; }
.cc-gauge-score {
  font-family: var(--sans);
  font-size: 3.6rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cc);
  font-variant-numeric: tabular-nums;
}
.cc-gauge-of { font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); margin-left: -0.35rem; }
.cc-gauge-band {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--cc);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin-left: auto;
}
.cc-gauge-scale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  height: 0.7rem;
  margin: 0.2rem 0 0.25rem;
}
.cc-scale-seg { background: var(--cc); opacity: 0.32; }
.cc-scale-seg:first-child { border-radius: 999px 0 0 999px; }
.cc-scale-seg:last-of-type { border-radius: 0 999px 999px 0; }
.cc-scale-seg.is-current { opacity: 1; }
.cc-scale-marker {
  position: absolute;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.cc-gauge-ends { display: flex; justify-content: space-between; margin: 0 0 0.6rem; font-size: 0.72rem; color: var(--ink-soft); }
.cc-gauge-why { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--ink); }
.cc-gauge-note { margin: 0.5rem 0 0; font-size: 0.74rem; line-height: 1.4; color: var(--ink-soft); }
@media (max-width: 860px) {
  .article-header.has-cc { grid-template-columns: 1fr; }
  .cc-gauge-score { font-size: 3rem; }
}

/* Lead image */
.figure-lead { margin: 1.3rem 0 1rem; }
.figure-lead img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: 16px;
}
.figure-lead figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
  font-size: 0.8rem;
}
.figure-lead .figure-caption { flex-basis: 100%; }

/* Share */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 0.4rem 0 0.6rem;
  font-family: var(--sans);
}
.share-end { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.share-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.share-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--accent-dark);
  font: 600 0.85rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.share-btn:hover { border-color: #8fc4bb; background: #f7fcfb; color: var(--accent); }
.share-status { margin: 0; font-size: 0.85rem; color: var(--accent-dark); min-height: 1em; }

/* Home CC strip */
.cc-strip {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
}
.cc-strip h2 {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.cc-strip-copy p:last-child { margin: 0; font-size: 1.02rem; }
.cc-strip-bands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  align-self: center;
  font-family: var(--sans);
}
.cc-strip-bands li {
  background: var(--cc);
  color: #fff;
  padding: 0.55rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.cc-strip-bands li:first-child { border-radius: 10px 0 0 10px; }
.cc-strip-bands li:last-child { border-radius: 0 10px 10px 0; }
.cc-strip-range { font-size: 0.72rem; opacity: 0.92; }
.cc-strip-label { font-size: 0.86rem; font-weight: 700; }
.cc-strip-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cc-strip-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.35rem 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font: 600 0.92rem var(--sans);
}
.cc-strip-list a:hover { border-color: #8fc4bb; }
@media (max-width: 860px) {
  .cc-strip { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cc-strip-bands { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cc-strip-label { font-size: 0.72rem; }
}

/* Category sorting */
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; max-width: 44rem; }
.sort-control { display: flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.85rem; }
.sort-control[hidden] { display: none; }
.sort-label { color: var(--ink-soft); }
.sort-buttons { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; }
.sort-buttons button {
  font: 600 0.8rem var(--sans);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  min-height: 2.1rem;
  cursor: pointer;
}
.sort-buttons button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Methodology page */
.cc-method .lede { margin-bottom: 1rem; }
.cc-band-list { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.cc-band-list li { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sans); }
.cc-band-chip {
  display: inline-block;
  min-width: 4.6rem;
  text-align: center;
  background: var(--cc);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.cc-method table { margin: 1rem 0 1.4rem; }
.site-footer nav { flex-wrap: wrap; gap: 0.5rem 1rem; }
.cc-method { min-width: 0; }
.cc-method .table-wrap { max-width: calc(100vw - 2rem); }
@media (max-width: 600px) {
  .cc-scores th:nth-child(n+2):nth-child(-n+5),
  .cc-scores td:nth-child(n+2):nth-child(-n+5) { display: none; }
}
/* Logo lockup (concept 1, Benzene C) */
.logo { gap: 0; }
.logo-lockup { display: block; height: 2.35rem; width: auto; }
@media (max-width: 720px) { .logo-lockup { height: 2.05rem; } }
@media (max-width: 360px) { .logo-lockup { height: 1.8rem; } }
.footer-logo { display: inline-block; margin: 0 0 0.75rem; }
.footer-logo img { display: block; height: 4.7rem; width: auto; max-width: 100%; }
.footer-inner { align-items: end; }
@media (max-width: 720px) {
  .site-footer { padding-top: 1.8rem; }
  .footer-logo img { height: auto; width: min(100%, 22rem); }
}

/* Header and footer: background #f3f0e8 -> #dbd1b9 (HSL lightness x 0.85; hue 43.6deg and saturation 31.4% kept) */
:root { --chrome-bg: #dbd1b9; --chrome-line: #c4b799; }
.site-header { border-bottom-color: var(--chrome-line); }
.site-footer { background: var(--chrome-bg); border-top-color: var(--chrome-line); margin-top: 0; }
main { padding-bottom: 3rem; }
.header-search .search-input { border-color: #7d7260; }
.site-menu.is-open { background: var(--chrome-bg); }

.review-line .views[hidden] { display: none; }

/* Category and A–Z entries: one row, "Chemical name: headline", as on the article page. */
.entry-top { flex-wrap: nowrap; align-items: flex-start; }
.entry-headline {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.22rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.entry-headline .entry-name-part { font-weight: 600; }
.entry-top .cc-badge { flex: 0 0 auto; margin-top: 0.12rem; }
@media (max-width: 34rem) {
  .entry-top { flex-wrap: wrap; }
  .entry-headline { flex-basis: 100%; font-size: 1.1rem; }
}

/* === AGE INDEX === */
.age-index {
  margin: 0 0 1.4rem;
  padding: 0.95rem 1.05rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--sans);
}
.age-index-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; }
.age-index-kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.age-index-help { font-size: 0.8rem; color: var(--accent); text-underline-offset: 0.14em; }
.age-index-sub { margin: 0.3rem 0 0.7rem; font-size: 0.86rem; color: var(--ink-soft); }
.age-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}
.age-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  min-width: 0;
}
.age-group { font-size: 0.8rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.age-range { display: block; font-weight: 400; font-size: 0.72rem; color: var(--ink-soft); }
.age-level { font-size: 0.74rem; font-weight: 650; line-height: 1.2; }
.age-icon { display: inline-block; width: 0.9em; text-align: center; }
.age-higher { background: #f8e6e1; border-color: #e7c2b8; }
.age-higher .age-level { color: #8a2f1c; }
.age-moderate { background: #f4ead0; border-color: #e3d1a4; }
.age-moderate .age-level { color: #6a4814; }
.age-lower { background: #e5f0e2; border-color: #c4dbbf; }
.age-lower .age-level { color: #24502a; }
.age-not-well-studied { background: #f1eee9; border: 1px dashed #c9c0b3; }
.age-not-well-studied .age-level { color: var(--ink-soft); font-weight: 600; }
.age-index-why { margin: 0.75rem 0 0; padding-left: 1.1rem; font-size: 0.86rem; line-height: 1.45; color: var(--ink); }
.age-index-why li { margin: 0.2rem 0; }
.age-why-level { color: var(--ink-soft); }
.age-index-note { list-style: none; margin-left: -1.1rem !important; margin-top: 0.4rem !important; color: var(--ink-soft); font-style: italic; }
@media (max-width: 900px) {
  .age-index-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .age-index { padding: 0.85rem 0.85rem 0.9rem; }
  .age-index-list { grid-template-columns: 1fr; gap: 0.3rem; }
  .age-cell { flex-direction: row; align-items: center; padding: 0.45rem 0.6rem; }
  .age-range { display: inline; margin-left: 0.25rem; }
  .age-level { text-align: right; flex-shrink: 0; }
}

/* About page: liability disclaimer notice */
.site-disclaimer {
  margin: 1.25rem 0 2.25rem;
  padding: 1.25rem 1.4rem 1.1rem;
  background: var(--bg-raised);
  border: 2px solid var(--cc-moderate, #8a5300);
  border-left-width: 8px;
  border-radius: 12px;
  font-size: 0.97rem;
  line-height: 1.55;
}
.about-prose .site-disclaimer h2,
.site-disclaimer h2 {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--cc-moderate, #8a5300);
}
.site-disclaimer p { margin: 0 0 0.7rem; }
.site-disclaimer ul { margin: 0; padding-left: 1.15rem; }
.site-disclaimer li { margin: 0 0 0.5rem; }
@media (max-width: 600px) { .site-disclaimer { padding: 1rem 1rem 0.8rem; border-left-width: 6px; } }

/* Footer disclaimer (links to the full notice on the About page) */
.footer-disclaimer {
  flex: 1 1 100%;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--chrome-line, var(--line));
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.site-footer .footer-disclaimer p { max-width: 52rem; }
.site-footer .footer-disclaimer-title { margin: 0 0 0.2rem; font-weight: 600; }
.footer-disclaimer-title a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
#disclaimer { scroll-margin-top: 6rem; }

/* Contact page */
.contact-form { display: grid; gap: 1rem; margin: 1.5rem 0; max-width: 36rem; }
.contact-field label { display: block; font-family: var(--sans); font-weight: 600; margin-bottom: .3rem; }
.contact-field input, .contact-field textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-raised); color: var(--ink); }
.contact-field input:focus, .contact-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-field [aria-invalid="true"] { border-color: #b03a12; }
.contact-err { color: #b03a12; font-size: .9rem; margin: .25rem 0 0; min-height: 0; }
.contact-err:empty { display: none; }
.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-submit { justify-self: start; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: .7rem 1.4rem; border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; }
.contact-submit:hover { background: var(--accent-dark); }
.contact-submit:disabled { opacity: .6; cursor: progress; }
.contact-status { padding: .8rem 1rem; border-radius: 8px; margin: 0; font-family: var(--sans); }
.contact-status.is-ok { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid var(--accent); }
.contact-status.is-error { background: #fbeae4; color: #8a2a0c; border: 1px solid #b03a12; }
.contact-emergency { background: #fbeae4; border-left: 4px solid #b03a12; padding: .7rem 1rem; border-radius: 4px; }
.contact-note { color: var(--ink-soft); font-size: .95rem; }

/* Emergency numbers page */
.em-lead { background: #fbeae4; border-left: 4px solid #b03a12; padding: .9rem 1.1rem; border-radius: 4px; font-size: 1.1rem; }
.em-note { color: var(--ink-soft); font-size: .95rem; }
.em-table { width: 100%; border-collapse: collapse; margin: .75rem 0 1.5rem; font-size: .97rem; }
.em-table th, .em-table td { border-bottom: 1px solid var(--line); padding: .55rem .5rem; text-align: left; vertical-align: top; }
.em-table thead th { font-family: var(--sans); font-size: .9rem; color: var(--ink-soft); }
.em-table tbody th { font-weight: 600; width: 45%; }
.em-tel { font-weight: 700; white-space: nowrap; }
.em-cite { font-size: .75em; }
.em-sources { font-size: .92rem; }
@media (max-width: 640px) { .em-table tbody th { width: auto; } .em-table th, .em-table td { padding: .45rem .3rem; } }

/* === printable guides === */
.guide-btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.guide-btn:hover { background: var(--accent-dark); color: #fff; }

.guide-list { display: grid; gap: 1.1rem; margin-top: 0.5rem; max-width: 60rem; }
.guide-card {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1.4rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  scroll-margin-top: 6rem;
}
.guide-card-cover img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 18px rgba(28, 25, 21, 0.14); }
.guide-card-meta, .guide-card-note, .guide-footnote { font-family: var(--sans); font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 0.3rem; }
.guide-card-meta strong { color: var(--accent-dark); }
.guide-card-title { font-family: var(--serif); font-weight: 560; font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 0.55rem; }
.guide-card-title span { display: block; font-style: italic; font-weight: 400; font-size: 0.7em; color: var(--accent); }
.guide-card-desc { margin: 0 0 0.85rem; }
.guide-previews { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.guide-previews a { display: block; line-height: 0; border-radius: 6px; text-decoration: none; }
.guide-previews img { display: block; width: 6.5rem; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.guide-previews a:hover img, .guide-previews a:focus-visible img { border-color: #8fc4bb; box-shadow: 0 2px 8px rgba(28, 25, 21, 0.12); }
.guide-previews a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.guide-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0; }
.guide-card-note { margin: 0; }
.guide-footnote { margin-top: 1.6rem; max-width: 40rem; }

.guide-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2rem 0 1.6rem;
  padding: 1rem 1.1rem;
  background: var(--accent-soft);
  border: 1px solid #bfdcd6;
  border-radius: 14px;
  font-family: var(--sans);
}
.guide-callout-cover { flex: 0 0 4.6rem; }
.guide-callout-cover img { display: block; width: 4.6rem; height: auto; border-radius: 5px; box-shadow: 0 3px 10px rgba(28, 25, 21, 0.15); }
.prose .guide-callout p { margin: 0 0 0.35rem; }
.guide-callout-kicker { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.prose .guide-callout-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.guide-callout-text { font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }
.prose .guide-callout-actions { margin: 0.55rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; }
.guide-callout .guide-btn { font-size: 0.92rem; padding: 0.45rem 1.05rem; }
.guide-more { font-size: 0.9rem; }

.home-guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; max-width: 44rem; }
.home-guide-list a { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px; padding: 0.75rem; }
.home-guide-list a:hover { border-color: #8fc4bb; background: #f7fcfb; }
.home-guide-list img { width: 4.2rem; height: auto; border-radius: 5px; flex: 0 0 auto; }
.home-guide-list span { font-family: var(--serif); font-size: 1.08rem; line-height: 1.2; }


.prose p.guide-also {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}
.guide-callout + .guide-also { margin-top: -0.9rem; }
.guide-also a { font-weight: 600; }

@media (max-width: 720px) {
  .guide-card { grid-template-columns: 1fr; }
  .guide-card-cover { max-width: 12rem; }
  .home-guide-list { grid-template-columns: 1fr; }
  .guide-previews img { width: 5.4rem; }
  .guide-callout-cover { flex-basis: 3.6rem; }
  .guide-callout-cover img { width: 3.6rem; }
}
