:root {
  --paper: #f4f0e8;
  --paper-deep: #e9e2d7;
  --white: #fffdf9;
  --ink: #17231f;
  --ink-soft: #5f6964;
  --forest: #1d312b;
  --forest-soft: #345248;
  --coral: #c9684b;
  --coral-soft: #e8b49f;
  --gold: #c69b52;
  --line: rgba(23, 35, 31, 0.16);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1280px;
  --article: 760px;
  --radius: 2px;
  --shadow: 0 22px 70px rgba(29, 49, 43, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: clamp(16px, 0.96rem + 0.14vw, 18px);
  line-height: 1.72;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 1000;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, ul, ol { margin-top: 0; }
h1, h2, h3, h4, blockquote { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; }
h1, h2, h3, h4 { margin-top: 0; }
h1 { font-size: clamp(3.2rem, 7vw, 7.8rem); line-height: 0.93; }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.8rem); line-height: 0.98; }
h3 { font-size: clamp(1.55rem, 2.2vw, 2.25rem); line-height: 1.06; }
h4 { font-size: 1.3rem; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.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-link { position: fixed; z-index: 1100; top: 0.8rem; left: 0.8rem; padding: 0.7rem 1rem; color: var(--white); background: var(--forest); transform: translateY(-180%); transition: transform 150ms ease; }
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: clamp(20px, 4vw, 64px); }
.narrow { max-width: var(--article); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Header */
.site-header { background: rgba(244, 240, 232, 0.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; backdrop-filter: blur(14px); }
.masthead { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: grid; color: var(--ink); }
.brand-kicker { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--coral); margin-bottom: 0.25rem; }
.brand strong { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.8rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; }
.brand em { font-weight: 400; color: var(--forest-soft); }
.menu-button { display: none; align-items: center; gap: 0.55rem; border: 0; background: transparent; color: var(--ink); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 700; padding: 0.7rem 0; }
.menu-button svg, .text-link svg, .button-link svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-nav { border-top: 1px solid var(--line); }
.nav-inner { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 3.2rem); }
.site-nav a { position: relative; padding: 1rem 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; font-weight: 700; color: var(--ink-soft); }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0.7rem; height: 1px; background: var(--coral); transition: right 180ms ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }

/* Home */
.home-intro { padding-top: clamp(4.5rem, 9vw, 9rem); padding-bottom: clamp(3rem, 7vw, 7rem); }
.home-intro > span, .section-heading > span, .section-heading > div > span, .manifesto-inner > span, .closing-note > span, .section-index, .story-category, .article-category, .article-checklist > span {
  display: block; font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--coral);
}
.home-intro h1 { max-width: 1040px; margin: 1.2rem 0 2rem; }
.home-intro h1 em { color: var(--coral); font-weight: 400; }
.home-intro p { max-width: 670px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-soft); line-height: 1.6; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.72fr); padding-bottom: clamp(5rem, 10vw, 10rem); }
.lead-media { min-height: 660px; overflow: hidden; background: var(--paper-deep); }
.lead-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-copy { align-self: end; background: var(--forest); color: var(--white); padding: clamp(2.1rem, 4vw, 4.5rem); margin-left: -3rem; margin-bottom: -3rem; position: relative; }
.lead-copy .story-category { color: var(--coral-soft); }
.lead-copy h2 { font-size: clamp(2.4rem, 4.2vw, 4.6rem); margin: 1rem 0; }
.lead-copy p { color: rgba(255,255,255,0.74); }
.button-link { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--coral-soft); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 700; }
.home-section { padding-block: clamp(4rem, 9vw, 9rem); border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(2.2rem, 4vw, 4rem); }
.section-heading.split { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-heading h2 { margin: 0.45rem 0 0; }
.section-heading p { max-width: 560px; color: var(--ink-soft); margin: 0.9rem 0 0; }
.text-link { display: inline-flex; align-items: center; gap: 0.55rem; flex: 0 0 auto; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding-bottom: 0.35rem; border-bottom: 1px solid var(--ink); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 3.5rem); row-gap: 5rem; }
.story-card { min-width: 0; }
.story-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-deep); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.story-card:hover .story-image img { transform: scale(1.035); }
.story-copy { padding-top: 1.55rem; }
.story-copy h3 { margin: 0.7rem 0 0.8rem; }
.story-copy h3 a:hover { color: var(--coral); }
.story-copy p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.2rem; }
.story-copy .text-link { border: 0; color: var(--forest-soft); }
.editorial-manifesto { background: var(--forest); color: var(--white); padding-block: clamp(5rem, 10vw, 10rem); }
.manifesto-inner { max-width: 1040px; }
.manifesto-inner > span { color: var(--coral-soft); }
.manifesto-inner blockquote { font-size: clamp(3rem, 6.5vw, 6.8rem); line-height: 0.98; margin: 1.3rem 0 2.5rem; }
.manifesto-inner p { max-width: 630px; color: rgba(255,255,255,0.7); font-size: 1.15rem; }
.animals-home { position: relative; }
.animals-home::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(201,104,75,0.045); pointer-events: none; }
.closing-note { padding-block: clamp(6rem, 12vw, 12rem); text-align: center; }
.closing-note h2 { max-width: 900px; margin: 1rem auto 1.7rem; }
.closing-note p { max-width: 650px; margin-inline: auto; color: var(--ink-soft); }

/* Category and cards */
.breadcrumb { padding-top: 1.2rem; padding-bottom: 1.2rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--ink-soft); font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--coral); }
.breadcrumb a:hover { color: var(--coral); }
.category-hero { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.category-hero h1 { margin: 1rem 0 1.6rem; max-width: 1050px; }
.category-hero p { max-width: 710px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--ink-soft); }
.category-list { padding-block: clamp(4rem, 9vw, 9rem); }
.story-card-featured { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.story-card-featured .story-image { aspect-ratio: 16 / 10; }

/* New articles */
.article-shell { padding-bottom: clamp(5rem, 9vw, 9rem); }
.article-wrap { max-width: var(--article); }
.article-header { padding-top: clamp(3rem, 7vw, 7rem); padding-bottom: clamp(2.5rem, 5vw, 5rem); text-align: center; }
.article-header h1 { font-size: clamp(3.1rem, 6.2vw, 6.7rem); max-width: 1000px; margin: 1rem auto 1.7rem; }
.article-deck { color: var(--ink-soft); font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.35; }
.article-meta { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.65rem; font-weight: 700; color: var(--ink-soft); }
.article-hero-media { margin-bottom: clamp(3rem, 6vw, 6rem); }
.article-hero-media img { width: 100%; max-height: 780px; object-fit: cover; box-shadow: var(--shadow); }
.article-hero-media figcaption { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.73rem; }
.article-body { font-family: var(--serif); font-size: clamp(1.15rem, 1.3vw, 1.32rem); line-height: 1.78; }
.article-intro { font-size: clamp(1.4rem, 2.1vw, 1.8rem); line-height: 1.55; color: var(--forest); margin-bottom: 4rem; }
.article-intro::first-letter { float: left; font-size: 5.5rem; line-height: 0.78; padding: 0.1em 0.12em 0 0; color: var(--coral); }
.article-intro-follow { margin: -2.4rem 0 4rem; color: var(--ink-soft); font-size: clamp(1.16rem, 1.5vw, 1.4rem); }
.article-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 4rem 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); font-family: var(--sans); }
.article-facts div { padding: 1.35rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-facts dt { margin-bottom: 0.35rem; color: var(--coral); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.article-facts dd { margin: 0; color: var(--forest); font-size: 0.92rem; line-height: 1.5; }
.article-section { margin-block: 4rem; }
.article-section h2 { font-size: clamp(2.4rem, 4vw, 3.9rem); margin-bottom: 1.5rem; }
.article-section p { margin-bottom: 1.4rem; }
.article-bullets { margin: 1.6rem 0 2rem; padding-left: 1.3rem; }
.article-bullets li { margin-bottom: 0.75rem; padding-left: 0.5rem; }
.article-bullets li::marker { color: var(--coral); }
.article-callout { margin: 2.4rem 0; padding: 1.7rem 2rem; border-left: 3px solid var(--coral); background: rgba(255,255,255,0.48); }
.article-callout strong, .article-kicker { display: block; margin-bottom: 0.7rem; color: var(--coral); font-family: var(--sans); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.article-callout p { margin: 0; }
.article-table-wrap { margin: 2.4rem 0; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.article-table { width: 100%; min-width: 520px; border-collapse: collapse; font-family: var(--sans); font-size: 0.78rem; line-height: 1.5; }
.article-table th, .article-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table th { background: var(--forest); color: var(--paper); font-size: 0.64rem; letter-spacing: 0.09em; text-transform: uppercase; }
.article-table tbody tr:last-child td { border-bottom: 0; }
.article-checklist { margin-block: 4rem; padding: 2.5rem; border: 1px solid var(--line); background: var(--white); font-family: var(--sans); }
.article-checklist ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.article-checklist li { padding: 0.65rem 0 0.65rem 1.7rem; border-bottom: 1px solid var(--line); position: relative; }
.article-checklist li::before { content: ""; width: 0.55rem; height: 0.55rem; border: 1px solid var(--coral); border-radius: 50%; position: absolute; left: 0; top: 1.25rem; }
.article-faq { margin-block: 5rem; }
.article-faq h2 { margin-bottom: 1.8rem; }
.article-faq details { border-top: 1px solid var(--line); }
.article-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.article-faq summary { padding: 1.25rem 2.5rem 1.25rem 0; cursor: pointer; color: var(--forest); font-family: var(--sans); font-size: 0.96rem; font-weight: 700; line-height: 1.45; }
.article-faq details p { padding: 0 0 1.4rem; margin: 0; }
.article-sources { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 0.72rem; line-height: 1.6; color: var(--ink-soft); }
.article-sources ol { padding-left: 1.2rem; }
.article-sources li { margin-bottom: 0.6rem; }
.article-sources a { color: var(--forest); text-decoration: underline; text-underline-offset: 0.18em; }
.editorial-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--sans); font-size: 0.78rem; line-height: 1.6; }
.related-section { padding-block: clamp(4rem, 8vw, 8rem); border-top: 1px solid var(--line); }

/* Legacy guides */
.page-hero { padding-block: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); background: transparent !important; }
.page-hero .wrap { max-width: 980px; }
.page-title { font-size: clamp(3rem, 6vw, 6.5rem); margin: 1rem 0; }
.page-intro { max-width: 760px; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--ink-soft); }
.prose { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(4rem, 8vw, 8rem); max-width: var(--article); font-family: var(--serif); font-size: clamp(1.12rem, 1.3vw, 1.28rem); line-height: 1.8; }
.prose h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); margin: 3.5rem 0 1.2rem; }
.prose h3 { margin: 2.5rem 0 1rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.45rem; }
.prose img { margin-block: 2.4rem; width: 100%; max-height: 620px; object-fit: cover; }
.eyebrow { font-family: var(--sans); font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--coral); }
.paw, .brand-mark, .foot-mark, .hero-wave, .blob, .sticker { display: none !important; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tint { background: rgba(255,255,255,0.36); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 3rem; }
.sec-title { margin: 0.8rem 0 1rem; }
.lede { max-width: 710px; margin-inline: auto; color: var(--ink-soft); }
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.breed-card { background: var(--white); border: 1px solid var(--line); }
.breed-top { aspect-ratio: 3 / 2; overflow: hidden; }
.breed-photo { width: 100%; height: 100%; object-fit: cover; }
.breed-body { padding: 1.7rem; }
.breed-tag { color: var(--coral); font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.btn { display: inline-flex; align-items: center; padding: 0.8rem 1rem; border: 1px solid var(--ink); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.btn:hover { color: var(--white); background: var(--forest); }
.note, .quote { border-left: 2px solid var(--coral); padding: 1.2rem 0 1.2rem 1.8rem; margin: 2.5rem 0; background: transparent !important; }
.paw-list { list-style: none; padding-left: 0; }
.paw-list li { padding-left: 1.4rem; position: relative; }
.paw-list li::before { content: "•"; color: var(--coral); position: absolute; left: 0; }
.table-scroll { overflow-x: auto; margin-block: 2rem; }
.litter { width: 100%; border-collapse: collapse; background: var(--white); font-family: var(--sans); font-size: 0.9rem; }
.litter th, .litter td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.litter th { background: var(--forest); color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.67rem; }
.subnav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.subnav a { padding: 0.55rem 0.8rem; border: 1px solid var(--line); font-family: var(--sans); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.cta-band { margin-block: 3rem; padding: 2rem; background: var(--forest); color: var(--white); }
.cta-band h2, .cta-band h3 { color: var(--white); }
.tight { line-height: 1.4; }

/* Footer */
.site-footer { background: var(--forest); color: var(--white); }
.footer-main { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
.footer-signature span { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 4rem); }
.footer-signature p { max-width: 480px; color: rgba(255,255,255,0.62); margin-top: 1rem; }
.footer-links { display: grid; align-content: start; gap: 0.65rem; }
.footer-links strong { color: var(--coral-soft); text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.68rem; margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); min-height: 74px; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; }

@media (max-width: 900px) {
  .masthead { min-height: 86px; }
  .menu-button { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-inner { padding-block: 1rem; align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { border-bottom: 1px solid var(--line); }
  .lead-story { grid-template-columns: 1fr; }
  .lead-media { min-height: 480px; }
  .lead-copy { margin: -4rem 1.2rem 0; }
  .story-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card-featured { grid-column: span 2; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-signature { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  h2 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .brand-kicker { font-size: 0.56rem; }
  .brand strong { font-size: 1.85rem; }
  .menu-button span { display: none; }
  .home-intro { padding-top: 4rem; }
  .lead-media { min-height: 410px; }
  .lead-copy { margin: -2rem 0.8rem 0; padding: 2rem; }
  .section-heading.split { display: block; }
  .section-heading.split > .text-link { margin-top: 1.4rem; }
  .story-grid, .grid-3 { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .story-card-featured { grid-column: auto; display: block; }
  .article-header { text-align: left; }
  .article-header h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .article-meta { justify-content: flex-start; flex-wrap: wrap; gap: 0.7rem 1.2rem; }
  .article-hero-media { padding-inline: 0; }
  .article-hero-media figcaption { padding-inline: 20px; }
  .article-facts { grid-template-columns: 1fr; }
  .article-table { min-width: 460px; }
  .article-checklist { padding: 1.5rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-signature { grid-column: auto; }
  .footer-bottom { align-items: flex-start; justify-content: center; flex-direction: column; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
