@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/baloo-2-normal-600-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/baloo-2-normal-700-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-normal-400-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-normal-600-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-normal-700-3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-normal-400-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-normal-500-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;


  --font-display: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, monospace;

  --text-xs: 0.72rem;
  --text-s: 0.85rem;
  --text-m: 1rem;
  --text-l: 1.2rem;
  --text-xl: 1.55rem;
  --text-2xl: 2.1rem;
  --text-3xl: 2.8rem;


  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2.25rem;
  --s7: 3.5rem;
  --s8: 5rem;


  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 1px 2px rgb(42 36 32 / 0.06), 0 4px 14px rgb(42 36 32 / 0.06);
  --shadow-lift: 0 2px 4px rgb(42 36 32 / 0.08), 0 10px 26px rgb(42 36 32 / 0.1);


  --paper: #fbf8f3;
  --card: #ffffff;
  --well: #f2ece2;
  --ink: #2a2420;
  --muted: #6b6159;
  --line: #e5ddd2;


  --brand: #14695f;
  --brand-strong: #0e4f47;
  --on-brand: #ffffff;
  --signal: #f2b705;
  --on-signal: #2a2420;
  --signal-soft: #fdf0c8;


  --hue-dogs: #b4432e;
  --hue-cats: #75519e;
  --hue-rabbits: #3e7d44;
  --hue-small-pets: #99680f;
  --hue-reptiles: #5b7233;
  --hue-birds: #2e6da8;
  --hue-aquatics: #1e6b82;
  --hue-outer: #14695f;


  --tint-dogs: #f7e2dc;
  --tint-cats: #ece3f4;
  --tint-rabbits: #ddefdf;
  --tint-small-pets: #f5e9cf;
  --tint-reptiles: #e6edd6;
  --tint-birds: #ddeaf7;
  --tint-aquatics: #d9edf3;
  --tint-outer: #d9ede9;

  --max-width: 72rem;
  --measure: 44rem;
}

.hue-dogs { --hue: var(--hue-dogs); --tint: var(--tint-dogs); }
.hue-cats { --hue: var(--hue-cats); --tint: var(--tint-cats); }
.hue-rabbits { --hue: var(--hue-rabbits); --tint: var(--tint-rabbits); }
.hue-small-pets { --hue: var(--hue-small-pets); --tint: var(--tint-small-pets); }
.hue-reptiles { --hue: var(--hue-reptiles); --tint: var(--tint-reptiles); }
.hue-birds { --hue: var(--hue-birds); --tint: var(--tint-birds); }
.hue-aquatics { --hue: var(--hue-aquatics); --tint: var(--tint-aquatics); }
.hue-advice,
.hue-interviews,
.hue-gifts,
.hue-outer { --hue: var(--hue-outer); --tint: var(--tint-outer); }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191613;
    --card: #221e1a;
    --well: #2a251f;
    --ink: #efe8df;
    --muted: #a89d92;
    --line: #3a332c;

    --brand: #4db8aa;
    --brand-strong: #6fcabf;
    --on-brand: #14211e;
    --signal: #e5b52a;
    --on-signal: #211c10;
    --signal-soft: #3a3115;

    --shadow-card: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 14px rgb(0 0 0 / 0.35);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.5), 0 10px 26px rgb(0 0 0 / 0.45);

    --hue-dogs: #e08a77;
    --hue-cats: #b697d8;
    --hue-rabbits: #86bd8b;
    --hue-small-pets: #d3a94e;
    --hue-reptiles: #a3b573;
    --hue-birds: #82afdb;
    --hue-aquatics: #6fb4c9;
    --hue-outer: #4db8aa;

    --tint-dogs: #372420;
    --tint-cats: #2e2637;
    --tint-rabbits: #22301f;
    --tint-small-pets: #362d18;
    --tint-reptiles: #2b301e;
    --tint-birds: #1f2a36;
    --tint-aquatics: #1c2e35;
    --tint-outer: #1c2f2b;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
}
h2 {
  font-size: var(--text-xl);
  font-weight: 700;
}
h3 {
  font-size: var(--text-l);
  font-weight: 600;
}
h4 {
  font-size: var(--text-m);
  font-weight: 600;
}

p,
ul,
ol,
dl {
  margin: 0 0 var(--s4);
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 160ms ease-out, text-decoration-color 160ms ease-out;
}

a:hover {
  color: var(--brand-strong);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-s);
}

figure {
  margin: 0 0 var(--s4);
}

figcaption {
  font-size: var(--text-s);
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s6) 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--text-s);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: var(--s2) var(--s3);
  border-bottom: 1px solid var(--line);
}

thead th {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}

tbody tr:hover {
  background: var(--well);
}

blockquote {
  margin: 0 0 var(--s4);
  padding: var(--s3) var(--s4);
  border-left: 4px solid var(--signal);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--well);
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--brand);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-s);
  z-index: 10;
}

.skip:focus {
  left: var(--s2);
  top: var(--s2);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--s4);
}

.masthead {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  padding-block: var(--s3);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-l);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: var(--s2);
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark::before {
  content: '';
  align-self: center;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--signal) 0%, var(--signal) 55%, transparent 56%),
    var(--brand);
  flex: none;
}

.wordmark__sub {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: var(--s1) var(--s3);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-s);
  transition: background 160ms ease-out;
}

.nav a:hover {
  background: var(--well);
  color: var(--brand-strong);
}

.nav a[aria-current='page'] {
  background: var(--brand);
  color: var(--on-brand);
}

.petstrip {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.petstrip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin: 0;
  padding: var(--s2) 0;
}

.petstrip a {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s1) var(--s3);
  border-radius: 999px;
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.petstrip a:hover {
  background: var(--tint, var(--well));
  color: var(--hue, var(--brand));
}

.petstrip a[aria-current='page'] {
  background: var(--tint, var(--well));
  color: var(--hue, var(--brand));
}

.petstrip .glyph {
  width: 1.15em;
  height: 1.15em;
  color: var(--hue, var(--brand));
}

.crumbs {
  padding-block: var(--s3);
  font-size: var(--text-s);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin: 0;
  padding: 0;
}

.crumbs li + li::before {
  content: '›';
  color: var(--muted);
  padding-inline: var(--s1);
}

.crumbs span[aria-current] {
  color: var(--muted);
}

.band {
  padding-block: var(--s6);
}

.band--hero {
  padding-block: var(--s7) var(--s6);
}

.band--well {
  background: var(--well);
  border-radius: var(--radius-l);
}

.grid {
  display: grid;
  gap: var(--s4);
}

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

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

.grid--split {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

@media (max-width: 46rem) {
  .grid--split {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: var(--text-2xl);
  }
}

.footer {
  margin-top: var(--s8);
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-block: var(--s6) var(--s5);
  font-size: var(--text-s);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--s5);
  margin-bottom: var(--s5);
}

.footer h2 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: var(--s1);
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer__base {
  border-top: 1px solid var(--line);
  padding-top: var(--s4);
  color: var(--muted);
}

.footer__base p {
  margin-bottom: var(--s1);
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.35, 1.2), box-shadow 180ms ease-out;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}

.tile__glyph {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-s);
  background: var(--tint, var(--well));
  color: var(--hue, var(--brand));
  display: grid;
  place-items: center;
}

.tile__glyph svg {
  width: 1.8rem;
  height: 1.8rem;
}

.tile__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-l);
  line-height: 1.2;
}

.tile__count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--well);
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.card__body {
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-m);
  font-weight: 600;
  margin: 0;
}

.card__title a {
  color: var(--ink);
  text-decoration: none;
}

.card__title a:hover {
  color: var(--brand);
}

.card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card {
  position: relative;
}

.card__desc {
  font-size: var(--text-s);
  color: var(--muted);
  margin: 0;
}

.card__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hue, var(--brand));
  margin: 0;
}

.rows {
  list-style: none;
  margin: 0 0 var(--s4);
  padding: 0;
}

.rows li {
  border-bottom: 1px solid var(--line);
}

.rows a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s3) var(--s1);
  color: var(--ink);
  text-decoration: none;
}

.rows a:hover {
  color: var(--brand);
  background: var(--well);
}

.rows .rows__meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  flex: none;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.chip--verified {
  background: var(--signal-soft);
  border-color: transparent;
  color: var(--on-signal);
  font-weight: 500;
}

.chip--hue {
  background: var(--tint, var(--well));
  border-color: transparent;
  color: var(--hue, var(--brand));
  font-weight: 500;
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}

.table-scroll table {
  min-width: 34rem;
  margin: 0;
}

.table-scroll th:first-child,
.table-scroll td:first-child {
  padding-left: var(--s4);
}

.note {
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-s);
  background: var(--well);
  border-left: 4px solid var(--brand);
  font-size: var(--text-s);
  margin-bottom: var(--s4);
}

.note--signal {
  border-left-color: var(--signal);
  background: var(--signal-soft);
  color: var(--on-signal);
}

.note--signal a {
  color: inherit;
}

.hubhead {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s4);
}

.hubhead .tile__glyph {
  width: 4rem;
  height: 4rem;
  flex: none;
}

.hubhead .tile__glyph svg {
  width: 2.4rem;
  height: 2.4rem;
}

.hubhead h1 {
  margin: 0;
}

.lede {
  font-size: var(--text-l);
  color: var(--muted);
  max-width: var(--measure);
  text-wrap: pretty;
}

.article {
  max-width: var(--measure);
}

.article > p,
.article > ul,
.article > ol {
  max-width: var(--measure);
}

.article img {
  display: block;
  margin-inline: auto;
  box-shadow: var(--shadow-card);
}

.article h2 {
  margin-top: var(--s6);
  padding-top: var(--s4);
}

.article h2:not(:first-child) {
  border-top: 1px solid var(--line);
}

.article h3 {
  margin-top: var(--s5);
}

.article__hero {
  margin-bottom: var(--s5);
}

.article__hero img {
  width: 100%;
  border-radius: var(--radius-m);
}

.article__meta {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--s4);
}

.button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--brand);
  color: var(--on-brand);
  border: 0;
  border-radius: 999px;
  padding: var(--s2) var(--s5);
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.2, 0.9, 0.35, 1.2), background 160ms ease-out;
}

.button:hover {
  background: var(--brand-strong);
  color: var(--on-brand);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.hero__title {
  max-width: 24ch;
}

.hero__title .accent {
  color: var(--brand);
}

.brandhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s3);
  margin-bottom: var(--s2);
}

.brandhead h1 {
  margin: 0;
}

.srcline {
  font-size: var(--text-s);
  color: var(--muted);
  margin-bottom: var(--s5);
}

.pets-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: 0 0 var(--s4);
  padding: 0;
}
