:root {
  --paper: #fbf6ea;
  --paper-shade: #f2e9d6;
  --ink: #2b1d2e;
  --muted: #665563;
  --amber: #8b4408;
  --amber-light: #b86a20;
  --pine: #2f5d50;
  --pine-paper: #edf3ee;
  --rule: #d9c8aa;
  --white: #fffefa;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1.125rem; line-height: 1.7; }
a { color: var(--amber); text-decoration-thickness: .075em; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: var(--pine); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pine); outline-offset: 4px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; text-wrap: pretty; overflow-wrap: break-word; }
h1 { margin: .35rem 0 1.6rem; font-size: clamp(1.9rem, 4.6vw, 3.25rem); letter-spacing: -.025em; }
h2 { margin: 2.8rem 0 .9rem; font-size: clamp(1.6rem, 2.8vw, 2.05rem); letter-spacing: -.012em; }
h3 { margin: 1.9rem 0 .65rem; font-size: 1.4rem; }
p { margin: 0 0 1.35rem; }
ul, ol { padding-left: 1.25rem; margin: .75rem 0 1.5rem; }
li { padding-left: .15rem; margin-bottom: .6rem; }
strong { font-weight: 650; }
.site-width { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.site-header { padding: 1.4rem 0 0; border-bottom: 1px solid var(--rule); background: linear-gradient(120deg, #fffaf0, var(--paper) 70%); }
.masthead { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-bottom: 1.3rem; }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 3rem; height: 3rem; }
.brand-name { display: block; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.tagline { margin: .4rem 0 0; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.skip-link { font-size: .85rem; }
.topic-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .35rem .6rem; border-top: 2px solid var(--amber); padding: .65rem 0 .8rem; font-size: .9rem; line-height: 1.5; }
.nav-group { flex: 1 1 8.5rem; min-width: 0; max-width: 100%; }
.nav-group summary { cursor: pointer; padding: .5rem .25rem; font-weight: 650; min-height: 2.75rem; overflow-wrap: anywhere; }
.nav-group summary::marker { color: var(--amber); }
.nav-group[open] { flex-basis: 100%; border-bottom: 1px solid var(--rule); padding-bottom: .65rem; }
.nav-group ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .75rem; margin: .15rem 0 0; padding: 0; }
.nav-group li { flex: 1 1 13rem; min-width: 0; margin: 0; padding: 0; }
.nav-group a { display: block; padding: .4rem .65rem; border-radius: .2rem; }
.nav-group a:hover { background: var(--paper-shade); }
.nav-group a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-about { flex: 1 1 5rem; min-width: 0; padding: .5rem .25rem; min-height: 2.75rem; font-weight: 650; }
main { padding: 1.5rem 0 4.5rem; }
.breadcrumbs { margin: 0 0 1.3rem; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .7rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .7rem; color: var(--amber); }
.breadcrumbs a { color: var(--muted); }
.record-card { max-width: 78ch; margin: 0 auto 2rem; padding: 1.6rem 1.35rem 1.4rem; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--amber); border-radius: .25rem .25rem .65rem .65rem; box-shadow: 0 .5rem 1.75rem #2b1d2e08; }
.card-topic { display: block; color: var(--pine); font-weight: 650; font-size: .78rem; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; margin-bottom: .75rem; }
.record-card h1 { margin-bottom: 1.35rem; }
.record-fields { display: grid; gap: 1rem; border-top: 1px solid var(--rule); padding-top: 1.1rem; margin: 0; font-size: .93rem; line-height: 1.55; }
.record-fields div { min-width: 0; }
.record-fields dt { color: var(--pine); font-size: .78rem; letter-spacing: .075em; text-transform: uppercase; font-weight: 700; margin-bottom: .3rem; }
.record-fields dd { margin: 0; overflow-wrap: anywhere; }
.page-photo { max-width: 64rem; margin: 2.25rem auto 3rem; padding: .6rem; background: var(--white); border: 1px solid var(--rule); border-radius: .3rem; }
.page-photo img { width: 100%; border-radius: .15rem; }
.prose { max-width: 66ch; margin-inline: auto; }
.prose > p:first-child { font-size: 1.16rem; }
.prose a { font-weight: 500; }
.prose section { min-width: 0; }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.vet-callout { padding: 1.45rem 1.4rem; border-left: 5px solid var(--amber-light); background: var(--pine); color: var(--white); border-radius: 0 .4rem .4rem 0; margin: 2.6rem 0; }
.vet-callout h2 { color: var(--white); font-size: 1.5rem; margin: 0 0 .85rem; }
.vet-callout p { margin-bottom: .85rem; }
.vet-callout p:last-child { margin-bottom: 0; }
.vet-callout a { color: var(--white); }
.home-opening { max-width: 70ch; margin-inline: auto; margin-bottom: 2rem; }
.home-opening h1 { font-size: clamp(2.05rem, 4.7vw, 3.5rem); margin-bottom: 1.2rem; }
.home-opening .card-topic { margin-bottom: .85rem; }
.home-photo { max-width: 64rem; }
.topic-index { max-width: 76rem; margin: 3.5rem auto 0; }
.topic-index > h2 { font-size: 2.15rem; margin: 0 0 1.75rem; }
.index-group { margin: 0 0 2rem; border: 1px solid var(--rule); border-radius: .35rem; overflow: clip; }
.index-group h3 { margin: 0; padding: .85rem 1rem; background: var(--pine); color: var(--white); font-family: var(--sans); font-size: 1rem; line-height: 1.5; font-weight: 650; }
.index-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.index-table th { text-align: left; padding: .7rem 1rem; color: var(--pine); background: var(--white); border-bottom: 1px solid var(--rule); font-size: .79rem; text-transform: uppercase; letter-spacing: .04em; }
.index-table td { padding: 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.index-table tbody tr:nth-child(odd) { background: #f6efdf; }
.index-table tbody tr:nth-child(even) { background: var(--white); }
.index-table tbody tr:last-child td { border-bottom: 0; }
.index-table td:first-child { width: 29%; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.index-table td:last-child { width: 10%; }
.index-table .read-link { font-size: .9rem; white-space: nowrap; }
.site-footer { border-top: 3px solid var(--amber); background: var(--paper-shade); padding: 2.5rem 0 2rem; }
.footer-heading { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0 0 1.4rem; }
.footer-heading a { color: var(--ink); text-decoration: none; }
.footer-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: 1.8rem 2rem; font-size: .9rem; line-height: 1.6; margin-bottom: 2.3rem; }
.footer-index h2 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .6rem; color: var(--pine); }
.footer-index ul { list-style: none; margin: 0; padding: 0; }
.footer-index li { margin: 0 0 .4rem; padding: 0; }
.notice { border-top: 1px solid var(--rule); margin: 0; padding-top: 1.5rem; color: var(--muted); font-size: .82rem; line-height: 1.7; max-width: 110ch; }
@media (min-width: 46rem) {
  .site-width { width: min(100% - 4rem, 76rem); }
  main { padding-top: 2rem; }
  .record-card { padding: 2.5rem 2.75rem 2rem; }
  .record-fields { grid-template-columns: 1fr 1fr 1fr; gap: 1.4rem; }
  .record-fields div + div { border-left: 1px solid var(--rule); padding-left: 1.4rem; }
  .vet-callout { padding: 1.6rem 1.8rem; }
}
@media (max-width: 39rem) {
  .index-table, .index-table tbody, .index-table tr, .index-table td { display: block; width: 100%; }
  .index-table thead { display: none; }
  .index-table tbody tr { padding: 1rem; border-bottom: 1px solid var(--rule); }
  .index-table tbody tr:last-child { border-bottom: 0; }
  .index-table td { padding: .35rem 0; border: 0; }
  .index-table td:first-child { width: 100%; padding-top: 0; }
  .index-table td:last-child { width: 100%; }
  .index-table td:nth-child(2)::before { content: "What it covers"; display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pine); margin-bottom: .2rem; }
  .page-photo { padding: .4rem; margin: 1.75rem auto 2.5rem; }
}
