:root {
  color-scheme: light;
  --ink: #18221d;
  --muted: #4c5751;
  --white: #fff;
  --accent: #24694a;
  --deep: #153e2b;
  --tint: #e7f3eb;
  --line: #dce3de;
  --serif: "Pooch Serif", Georgia, serif;
  --sans: "Pooch Sans", system-ui, sans-serif;
}

@font-face {
  font-family: "Pooch Serif";
  src: url("fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 850;
  font-display: swap;
}

@font-face {
  font-family: "Pooch Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 850;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 720; line-height: 1.07; letter-spacing: -.045em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--tint); color: var(--ink); }
.wrap { width: min(100% - 4rem, 79rem); margin-inline: auto; }
.skip { position: fixed; z-index: 3; left: .8rem; top: .8rem; padding: .65rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { border-top: 5px solid var(--accent); border-bottom: 1px solid var(--line); background: var(--white); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(.75rem, 2vw, 2rem); min-height: 93px; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand-name { font: 820 3.25rem/.9 var(--serif); letter-spacing: -.095em; }
.brand-name span, .section-head h2 span, .listing-head h1 span { color: var(--accent); }
.brand-label { border-left: 1px solid var(--line); padding-left: 1rem; font-size: .78rem; font-weight: 790; letter-spacing: .07em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.25vw, 2.15rem); }
.main-nav a, .search-link { color: var(--ink); font-weight: 720; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current], .search-link:hover, .search-link[aria-current] { color: var(--accent); text-decoration: underline; }
.search-link { justify-self: end; display: inline-flex; align-items: center; gap: .65rem; border: 1px solid var(--line); border-radius: 99px; padding: .48rem .95rem; }
.search-icon { flex: none; width: .85rem; height: .85rem; border: 1.8px solid currentColor; border-radius: 50%; position: relative; margin-right: .14rem; }
.search-icon::after { content: ""; position: absolute; top: .62rem; left: .58rem; background: currentColor; width: .37rem; height: 1.8px; border-radius: 1px; transform: rotate(48deg); transform-origin: left center; }

.home { padding-block: 2.35rem 5rem; }
.cover { min-height: 500px; display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); border: 1px solid var(--line); background: var(--white); }
.cover-copy { display: flex; flex-direction: column; align-items: start; align-self: stretch; justify-content: center; padding: clamp(2.25rem, 4vw, 4.3rem); }
.cover-kicker { display: flex; gap: .7rem; align-items: center; color: var(--accent); font-size: .76rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.paw { position: relative; display: inline-block; flex: none; width: 1.18rem; height: 1.14rem; transform: rotate(-17deg); }
.paw::before { content: ""; position: absolute; inset: .54rem .22rem .07rem; border-radius: 58% 58% 43% 43%; background: currentColor; }
.paw::after { content: ""; position: absolute; left: .01rem; top: .34rem; width: .24rem; height: .31rem; border-radius: 50%; background: currentColor; box-shadow: .25rem -.26rem 0 .01rem currentColor, .57rem -.28rem 0 .01rem currentColor, .89rem -.08rem 0 -.01rem currentColor; }
.cover h1 { font-size: clamp(3.2rem, 5.8vw, 6.05rem); line-height: .97; margin-block: 1.3rem; text-wrap: balance; }
.cover p { max-width: 33ch; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.18rem); line-height: 1.53; margin-bottom: 1.65rem; }
.cover-photo { display: block; position: relative; overflow: hidden; }
.cover-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.button { display: inline-flex; min-height: 2.95rem; align-items: center; justify-content: center; border: 0; border-radius: 99px; padding: .67rem 1.3rem; text-decoration: none; font-size: .96rem; font-weight: 790; cursor: pointer; }
.primary { color: white; background: var(--deep); }
.primary:hover { background: var(--accent); }

.story-section { margin-top: 3.85rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.45rem; }
.section-head h2 { font-size: clamp(2.25rem, 4vw, 3.45rem); }
.section-head > span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.65rem 1.35rem; }
.story-card { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.story-card:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.card-image { display: block; overflow: hidden; aspect-ratio: 1.67; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .25s ease; }
.story-card:hover .card-image img { transform: scale(1.035); }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; column-gap: .65rem; row-gap: .25rem; margin: 1.08rem 1.16rem .65rem; color: var(--muted); font-size: .79rem; }
.tag { display: inline-block; width: max-content; padding: .21rem .59rem; border-radius: 99px; color: var(--deep); background: var(--tint); font-size: .74rem; font-weight: 800; text-decoration: none; }
.tag:hover { text-decoration: underline; }
.tag-hvalpeliv { background: #f9e1ce; color: #713d20; }
.tag-paa-tur { background: #dfeddb; color: #36543b; }
.tag-traening { background: #ffeac0; color: #63400a; }
.story-card h3 { padding-inline: 1.16rem; font-size: clamp(1.32rem, 2.05vw, 2.05rem); }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: .07em; }
.story-card p { margin: .67rem 1.16rem 1.25rem; color: var(--muted); line-height: 1.53; }

.article-page, .listing { padding-block: 2rem 5rem; }
.breadcrumb { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .91rem; }
.breadcrumb a:hover, .prose a:hover, .plain-action:hover { color: var(--accent); }
.article-head { max-width: 53rem; text-align: center; margin: 2.25rem auto 2.4rem; }
.article-head .tag { font-size: .87rem; padding: .3rem .75rem; }
.article-head h1, .listing-head h1 { font-size: clamp(3rem, 6.6vw, 6.35rem); text-wrap: balance; margin: 1rem 0; }
.dek { color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.43rem); max-width: 48ch; margin-inline: auto; text-wrap: pretty; }
.article-meta { display: flex; flex-wrap: wrap; gap: .25rem .65rem; justify-content: center; margin-top: 1.25rem; color: var(--muted); font-size: .88rem; }
.article-photo { max-width: 60rem; margin-inline: auto; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; object-position: center; }
.prose { max-width: 42rem; margin: 2.55rem auto 0; font-size: 1.11rem; line-height: 1.82; }
.prose .opening { color: var(--deep); font-size: 1.25rem; font-weight: 690; }
.prose section { margin-top: 2rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: .7rem; }
.prose p + p { margin-top: .9rem; }
.related { margin-top: 4.5rem; }

.listing { min-height: 63vh; }
.listing-head { border: 1px solid var(--line); background: var(--white); padding: clamp(1.6rem, 5vw, 4.25rem); }
.listing-head h1 { margin: 0 0 .6rem; }
.listing-head p { color: var(--muted); font-size: 1.15rem; }
.search-form { max-width: 40rem; margin-top: 1.3rem; }
.search-form label { display: block; font-size: .93rem; font-weight: 740; margin-bottom: .35rem; }
.search-fields { display: flex; gap: .55rem; }
.search-fields input { min-width: 0; width: 100%; min-height: 2.95rem; border: 1px solid #6b7971; border-radius: .6rem; padding: .55rem .7rem; background: var(--white); color: var(--ink); }

.error-page { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-block: 4.2rem; }
.error-copy .error-number { font: 850 clamp(3.2rem, 8vw, 7.5rem)/.9 var(--serif); color: var(--accent); }
.error-copy h1 { margin-top: .8rem; font-size: clamp(2.6rem, 6vw, 5.8rem); }
.error-copy p { color: var(--muted); font-size: 1.15rem; max-width: 39ch; margin-block: 1.1rem 1.4rem; }
.error-page img { width: 100%; height: auto; }
.plain-action { margin-left: .85rem; font-weight: 700; display: inline-block; padding-block: .55rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 10rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.35rem; padding-block: 2.1rem; }
.footer-brand { display: inline-block; text-decoration: none; font-size: 2.6rem; }
.footer-inner p { color: var(--muted); font-size: .9rem; margin-top: .42rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.footer-inner nav a { font-size: .91rem; font-weight: 720; text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-inner small { color: var(--muted); }

@media (max-width: 64rem) {
  .brand-label { display: none; }
  .cover { min-height: 450px; }
  .cover-copy { padding: 2rem; }
}
@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2.1rem); }
  .masthead-inner { grid-template-columns: 1fr auto; gap: 0 1rem; min-height: initial; padding-top: .95rem; }
  .brand-name { font-size: 2.75rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; flex-wrap: wrap; gap: .3rem .52rem; margin-top: .78rem; border-top: 1px solid var(--line); padding-block: .58rem; }
  .main-nav a { font-size: .89rem; }
  .search-link { grid-column: 2; grid-row: 1; padding-block: .36rem; }
  .home { padding-top: 1.1rem; }
  .cover { min-height: 0; grid-template-columns: 1fr; }
  .cover-copy { padding: 1.65rem; }
  .cover h1 { font-size: clamp(2.9rem, 9vw, 4.9rem); margin-block: .75rem; }
  .cover p { margin-bottom: 1.08rem; }
  .cover-photo { grid-row: 1; aspect-ratio: 1.65; }
  .story-section { margin-top: 2.35rem; }
  .section-head { padding-bottom: .75rem; margin-bottom: 1rem; align-items: end; }
  .section-head > span { font-size: .75rem; white-space: normal; text-align: right; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
  .card-meta { margin: .7rem .72rem .45rem; font-size: .75rem; }
  .story-card h3 { padding-inline: .72rem; }
  .story-card p { margin: .52rem .72rem .82rem; font-size: .9rem; }
  .article-page, .listing { padding-top: 1.25rem; }
  .article-head { margin-block: 1.7rem; }
  .article-head h1, .listing-head h1 { font-size: clamp(2.5rem, 8vw, 4.3rem); }
  .prose { margin-top: 1.65rem; font-size: 1.02rem; }
  .prose .opening { font-size: 1.12rem; }
  .error-page { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2rem; }
  .error-page img { max-height: 385px; object-fit: cover; }
}
@media (max-width: 25rem) {
  .card-grid { grid-template-columns: 1fr; }
  .story-card h3 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .card-image img { transition: none; }
}

.breed-index .breadcrumb { margin-bottom: 1.25rem; }
.breed-groups { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.breed-groups a { padding: .45rem .8rem; border: 1px solid var(--line); color: var(--deep); font-weight: 740; }
.breed-groups a:hover { color: var(--accent); }
.breed-groups + .story-section { margin-top: 2rem; }
.breed-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.35rem; }
.breed-card { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.breed-card-link { display: grid; height: 100%; color: inherit; text-decoration: none; }
.breed-card-link img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.breed-card-copy { display: grid; align-content: center; gap: .85rem; padding: clamp(1.2rem, 3.2vw, 2.35rem); }
.breed-card h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.breed-card p { color: var(--muted); max-width: 42ch; }
.breed-card span { color: var(--accent); font-size: .94rem; font-weight: 780; text-decoration: underline; }
.breed-card-link:hover h2 { color: var(--accent); }

.breed-page { padding-block: 2rem 5rem; }
.breed-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 2rem; margin-block: 2rem 3rem; }
.breed-head { grid-column: 1; }
.breed-byline { margin-top: .9rem; color: var(--muted); font-size: .92rem; }
.breed-intro .breed-facts { grid-column: 2; grid-row: 1; }
.breed-overview { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 1.5rem 2rem; align-items: start; }
.breed-overview h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); margin-bottom: .75rem; }
.breed-overview p { max-width: 58ch; font-size: 1.06rem; }
.breed-overview p + p { margin-top: .7rem; }
.breed-overview > .breed-photo { margin: 0; }
.breed-fit-lists { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.breed-fit-lists > div { border-top: 2px solid var(--accent); padding: .75rem 0 .15rem; }
.breed-fit-lists h3 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.breed-fit-lists ul { padding-left: 1.15rem; margin: .5rem 0 0; }
.breed-fit-lists li + li { margin-top: .26rem; }
.breed-card-link picture, .breed-photo picture { display: block; min-width: 0; }
.breed-lede h1 { font-size: clamp(3.25rem, 6.9vw, 6.65rem); margin-bottom: .8rem; }
.breed-lede .dek { margin-inline: 0; }
.breed-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; margin: 0; border-top: 2px solid var(--accent); }
.breed-facts div { padding: .55rem .15rem .6rem 0; border-bottom: 1px solid var(--line); }
.breed-facts dt { color: var(--muted); font-size: .84rem; font-weight: 730; }
.breed-facts dd { margin: 0; font-weight: 740; line-height: 1.38; }

.breed-photo { margin-block: 1.4rem 1.6rem; }
.breed-photo img { width: 100%; height: auto; }
.breed-photo figcaption { padding-block: .48rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 730; }

.breed-reading { display: grid; grid-template-columns: minmax(11rem, 16rem) minmax(0, 52rem); justify-content: center; gap: clamp(1.75rem, 5vw, 4.75rem); align-items: start; margin-top: 2.65rem; }
.breed-toc { position: sticky; top: 1.5rem; padding: 1.05rem; border: 1px solid var(--line); }
.breed-toc h2 { font-family: var(--sans); font-size: .98rem; letter-spacing: 0; }
.breed-toc ul { display: grid; gap: .35rem; margin: .7rem 0 0; padding-left: 1.15rem; }
.breed-toc a { display: inline-block; color: var(--deep); font-size: .89rem; line-height: 1.35; }
.breed-toc a:hover { color: var(--accent); }
.breed-reading .breed-prose { max-width: none; margin: 0; }
.breed-prose p, .breed-prose h2 { max-width: 42rem; }
.breed-prose h2 { scroll-margin-top: 1.5rem; }
.breed-prose .breed-faq { margin-top: 3.1rem; }
.breed-faq h2 { margin-bottom: 1.15rem; }
.breed-faq details { border-bottom: 1px solid var(--line); }
.breed-faq details:first-of-type { border-top: 1px solid var(--line); }
.breed-faq summary { padding: .75rem .25rem; color: var(--deep); font-weight: 740; cursor: pointer; }
.breed-faq summary:hover { color: var(--accent); }
.breed-faq details p { padding: 0 .25rem .9rem; margin-top: 0; }

@media (min-width: 35rem) {
  .breed-card:only-child { grid-column: 1 / -1; max-width: 58rem; }
  .breed-card:only-child .breed-card-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .breed-card:only-child img { height: 100%; }
}
@media (min-width: 47.01rem) and (max-width: 52rem) {
  .main-nav { gap: .7rem; }
  .main-nav a { font-size: .9rem; }
}
@media (max-width: 56rem) {
  .breed-page { padding-top: 1.25rem; }
  .breed-intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-block: 1.4rem 2.25rem; }
  .breed-intro .breed-facts { grid-column: auto; grid-row: auto; }
  .breed-overview { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .breed-lede h1 { font-size: clamp(2.75rem, 9.8vw, 4.5rem); }
  .breed-reading { grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
  .breed-toc { position: static; }
  .breed-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.55rem; }
}

.breed-cost { margin-block: 1.1rem 1.55rem; border-collapse: collapse; width: 100%; text-align: left; font-size: .96rem; line-height: 1.5; }
.breed-cost caption { text-align: left; color: var(--deep); font-size: 1rem; font-weight: 760; margin-bottom: .5rem; }
.breed-cost th, .breed-cost td { vertical-align: top; padding: .65rem .55rem; border-bottom: 1px solid var(--line); }
.breed-cost thead, .breed-cost tfoot { font-weight: 740; color: var(--deep); }
.breed-cost thead th { border-top: 1px solid var(--line); }
.breed-cost .breed-amount { text-align: right; white-space: nowrap; }
.breed-cost td small { display: block; margin-top: .27rem; color: var(--muted); font-size: .88em; }
.breed-checklist { padding-left: 1.3rem; max-width: 42rem; }
.breed-checklist li + li { margin-top: .5rem; }

@media (max-width: 37rem) {
  .breed-fit-lists { grid-template-columns: minmax(0, 1fr); }
  .breed-cost th, .breed-cost td { padding-inline: .28rem; }
}
