/* PETKO design sample. Shared tokens and components;
no runtime dependencies. */
:root{
  --ink:#223244;
  --muted:#62717d;
  --blue:#0875c9;
  --blue-dark:#065b9e;
  --sky:#eef7fc;
  --line:#dfe8ee;
  --white:#fff;
  --radius:20px;
  --container:1200px;
  --font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:112px
}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:#fff;
  font-size:16px;
  line-height:1.8;
  -webkit-font-smoothing:antialiased
}
a{
  color:inherit;
  text-decoration:none
}
button,input,select{
  font:inherit
}
button{
  color:inherit;
  cursor:pointer
}
img{
  max-width:100%;
  height:auto;
  display:block
}
h1,h2,h3,h4,p,figure{
  margin:0
}
h1,h2,h3,h4{
  line-height:1.5
}
button,a,input,select,summary{
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid #e0a329;
  outline-offset:4px
}
a,button{
  touch-action:manipulation
}
button{
  border:0;
  background:none
}
button:disabled{
  cursor:default
}
.container{
  width:min(var(--container),calc(100% - 96px));
  margin-inline:auto
}
.icon{
  width:22px;
  height:22px;
  flex:none;
  vertical-align:middle
}
.eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  color:var(--blue);
  line-height:1.6
}
.muted{
  color:var(--muted)
}
.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
}
[hidden]{
  display:none!important
}
.skip-link{
  position:fixed;
  top:8px;
  left:8px;
  transform:translateY(-200%);
  background:var(--ink);
  color:#fff;
  padding:12px;
  z-index:100
}
.skip-link:focus{
  transform:none
}
/* Header and shared navigation */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #edf1f4
}
.header-inner{
  max-width:1440px;
  padding:0 40px;
  height:92px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:26px
}
.brand{
  display:block;
  width:178px;
  flex-shrink:0
}
.brand img{
  width:100%;
  height:auto
}
.brand-caption{
  font-size:12px;
  color:var(--muted);
  letter-spacing:.02em
}
.site-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:26px;
  font-size:14px;
  font-weight:700
}
.site-nav>a,.site-nav>button{
  padding:12px 0;
  white-space:nowrap
}
.site-nav a:hover,.site-nav a.is-current{
  color:var(--blue)
}
.pending-label{
  font-size:10px;
  font-weight:400;
  line-height:1.2;
  margin-left:5px;
  color:var(--muted);
  white-space:nowrap
}
.site-nav .pending{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px
}
.nav-search{
  display:flex;
  gap:6px;
  align-items:center
}
.menu-toggle{
  display:none
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  background:var(--blue);
  color:#fff;
  border-radius:8px;
  padding:13px 22px;
  font-size:14px;
  font-weight:700;
  min-height:48px
}
.button:hover{
  background:var(--blue-dark)
}
.text-link{
  display:inline-flex;
  align-items:center;
  gap:20px;
  font-size:14px;
  font-weight:700
}
.text-link:hover{
  color:var(--blue)
}
/* Home */
.hero{
  overflow:hidden;
  background:var(--sky);
  position:relative
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:600px;
  gap:50px;
  align-items:center;
  padding-top:50px;
  padding-bottom:60px
}
.hero-copy{
  position:relative;
  z-index:1
}
.hero h1{
  font-size:clamp(36px,3.4vw,50px);
  line-height:1.55;
  letter-spacing:.03em;
  font-weight:800;
  margin:20px 0 22px
}
.hero h1 span{
  color:var(--blue)
}
.hero-description{
  font-size:15px;
  line-height:2.1;
  letter-spacing:.05em;
  color:#4b6171
}
.hero-search{
  margin-top:30px;
  display:flex;
  align-items:center;
  background:#fff;
  border:1px solid #c9dee9;
  box-shadow:0 6px 20px #23769a08;
  border-radius:10px;
  padding:6px 6px 6px 16px;
  gap:12px;
  max-width:520px
}
.hero-search>.icon{
  color:var(--blue)
}
.hero-search input{
  width:100%;
  min-width:0;
  border:0;
  background:none;
  font-size:14px;
  height:45px;
  outline-offset:0
}
.hero-search button{
  display:flex;
  gap:12px;
  align-items:center;
  background:var(--blue);
  border-radius:6px;
  color:#fff;
  padding:12px 17px;
  white-space:nowrap;
  font-size:14px;
  font-weight:700
}
.search-hint{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  font-size:11px;
  color:#657d8c;
  margin-top:12px
}
.search-hint a{
  text-decoration:underline;
  text-underline-offset:4px
}
.hero-photos{
  position:relative;
  height:460px
}
.hero-photos figure{
  position:absolute;
  overflow:hidden;
  border:7px solid white;
  box-shadow:0 12px 30px #16375115;
  background:white
}
.hero-photos img{
  width:100%;
  height:100%;
  object-fit:cover
}
.hero-cat{
  width:75%;
  height:315px;
  left:0;
  top:0;
  transform:rotate(-5deg);
  border-radius:100px 20px 20px 20px
}
.hero-cat img{
  object-position:47% 50%
}
.hero-dog{
  width:57%;
  height:250px;
  right:-12px;
  bottom:0;
  transform:rotate(6deg);
  border-radius:20px 20px 90px 20px
}
.hero-photos figcaption{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:32px 20px 16px;
  color:#fff;
  background:linear-gradient(transparent,#162b4099);
  font-size:14px;
  font-weight:700
}
.hero-photos figcaption span{
  font-size:9px;
  letter-spacing:.13em;
  display:block;
  margin-bottom:3px
}
.photo-note{
  position:absolute;
  bottom:20px;
  left:5px;
  writing-mode:vertical-rl;
  font-size:13px;
  letter-spacing:.18em;
  color:#4c6b7e
}
.explore-section{
  padding-block:78px 80px;
  scroll-margin-top:20px
}
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px
}
.section-heading h2{
  font-size:28px;
  font-weight:800;
  letter-spacing:.03em;
  margin-top:8px
}
.section-heading>p{
  font-size:14px;
  color:var(--muted);
  line-height:1.9
}
.encyclopedia-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px
}
.encyclopedia{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 34px;
  background:#fff;
  display:flex;
  flex-direction:column
}
.cat-encyclopedia{
  border-top:4px solid var(--blue)
}
.dog-encyclopedia{
  border-top:4px solid #de9844
}
.encyclopedia-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px
}
.encyclopedia-title h3{
  font-size:30px;
  margin-top:4px
}
.encyclopedia-title img{
  width:102px;
  height:102px;
  border-radius:50%;
  object-fit:cover
}
.dog-encyclopedia .eyebrow{
  color:#a76920
}
.taxonomy h4{
  font-size:14px;
  margin:8px 0 12px
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  font-size:13px;
  line-height:1.6
}
.chip .icon{
  width:15px;
  height:15px
}
.chip:hover{
  border-color:var(--blue);
  color:var(--blue);
  background:#f7fbff
}
.chip.selected{
  color:var(--blue);
  background:var(--sky);
  border-color:#cce4f4
}
.chip.pending{
  flex-wrap:wrap;
  gap:1px
}
.chip .pending-label{
  font-size:9px
}
.taxonomy details{
  border-bottom:1px solid var(--line)
}
.taxonomy details:first-of-type{
  margin-top:16px
}
.taxonomy summary{
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  list-style:none;
  padding:15px 0;
  display:flex;
  justify-content:space-between
}
.taxonomy summary::after{
  content:'＋';
  color:var(--muted)
}
.taxonomy details[open] summary::after{
  content:'−'
}
.taxonomy details .chips{
  padding-bottom:15px
}
.encyclopedia>.text-link{
  margin-top:25px
}
.dog-note{
  font-size:13px;
  margin-top:auto;
  padding-top:25px
}
.featured-section{
  background:#f5f8fa;
  padding:65px 0 70px
}
.breed-grid{
  display:grid;
  gap:23px
}
.home-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))
}
.breed-card{
  min-width:0;
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s
}
.breed-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 26px #2232440b
}
.card-link{
  display:block;
  width:100%;
  padding:0;
  text-align:left;
  height:100%;
  color:var(--ink)
}
.card-photo{
  position:relative;
  overflow:hidden;
  aspect-ratio:1.38;
  background:#edf2f5
}
.card-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s
}
.breed-card:hover img{
  transform:scale(1.035)
}
.photo-tag{
  position:absolute;
  left:12px;
  bottom:12px;
  background:#fffefb;
  padding:3px 9px;
  font-size:10px;
  border-radius:4px
}
.card-content{
  padding:19px 19px 16px
}
.card-english{
  font-size:10px;
  letter-spacing:.06em;
  color:var(--muted);
  margin-bottom:5px
}
.card-content h3{
  font-size:15px;
  line-height:1.65;
  overflow-wrap:anywhere;
  font-weight:700;
  min-height:50px
}
.card-meta{
  color:var(--muted);
  font-size:12px;
  margin-top:9px;
  min-height:22px
}
.card-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #edf1f3;
  margin-top:12px;
  padding-top:12px;
  font-size:11px;
  gap:8px
}
.card-bottom>.icon{
  color:var(--blue);
  width:19px;
  height:19px
}
.about-strip{
  text-align:center;
  padding-block:70px
}
.about-strip h2{
  font-size:25px;
  margin:10px 0 18px
}
.about-strip p{
  font-size:14px;
  color:var(--muted);
  line-height:2
}
/* Category and filters */
.breadcrumb{
  font-size:12px;
  color:var(--muted);
  padding-block:23px
}
.breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  list-style:none;
  margin:0;
  padding:0;
  gap:8px
}
.breadcrumb li+li::before{
  content:'/';
  margin-right:8px;
  color:#aebbc4
}
.breadcrumb a:hover{
  color:var(--blue)
}
.category-hero{
  background:var(--sky)
}
.category-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:48px;
  padding-block:30px
}
.category-inner h1{
  font-size:36px;
  margin:8px 0 12px
}
.category-inner p:not(.eyebrow){
  font-size:14px;
  line-height:2;
  color:#536a7a
}
.category-inner>img{
  width:300px;
  height:210px;
  object-fit:cover;
  border-radius:100px 12px 12px 12px
}
.category-pills{
  display:flex;
  gap:9px;
  margin-top:20px;
  flex-wrap:wrap
}
.pill{
  border:1px solid #cbdfea;
  border-radius:30px;
  padding:5px 17px;
  font-size:12px
}
.pill.active{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff
}
.catalog-layout{
  display:grid;
  grid-template-columns:235px minmax(0,1fr);
  gap:36px;
  margin-block:45px 80px;
  align-items:start
}
.filter-panel{
  padding:23px 20px;
  border:1px solid var(--line);
  border-radius:12px;
  position:sticky;
  top:120px;
  background:#fff
}
.filter-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.filter-heading h2{
  font-size:15px;
  display:flex;
  gap:6px;
  align-items:center
}
.filter-heading .icon{
  width:18px
}
.filter-heading button{
  font-size:11px;
  text-decoration:underline;
  color:var(--muted);
  padding:5px 0
}
.field-label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin:23px 0 8px
}
.input-with-icon{
  display:flex;
  align-items:center;
  border:1px solid #cad6df;
  border-radius:6px;
  padding:0 10px;
  gap:7px
}
.input-with-icon>.icon{
  width:17px;
  color:var(--muted)
}
.input-with-icon input{
  width:100%;
  min-width:0;
  background:none;
  border:0;
  height:43px;
  font-size:13px
}
.filter-panel select{
  width:100%;
  height:45px;
  border:1px solid #cad6df;
  border-radius:6px;
  padding:0 8px;
  background:#fff;
  color:var(--ink);
  font-size:13px
}
.filter-submit{
  margin-top:25px;
  width:100%;
  padding-inline:8px;
  gap:12px;
  font-size:13px
}
.filter-note{
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin-top:20px
}
.results-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px
}
.results-toolbar h2{
  font-size:22px;
  margin-top:3px
}
.results-toolbar h2>span{
  font-size:13px;
  color:var(--muted);
  font-weight:400;
  margin-left:12px
}
.results-toolbar strong{
  font-size:24px;
  color:var(--blue);
  font-weight:700
}
.sort-label{
  font-size:12px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:10px
}
.sort-label select{
  background:#fff;
  border:1px solid var(--line);
  border-radius:5px;
  padding:8px 12px;
  font-size:12px;
  color:var(--ink)
}
.sample-caption{
  font-size:12px;
  color:var(--muted);
  margin:12px 0 24px
}
.catalog-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}
.list-end{
  margin-top:40px;
  padding-top:25px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:12px;
  color:var(--muted)
}
.list-end a{
  color:var(--blue)
}
.empty-state{
  padding:60px 25px;
  background:var(--sky);
  text-align:center;
  border-radius:12px
}
.empty-state h3{
  font-size:18px
}
.empty-state p{
  margin:15px 0 22px;
  font-size:14px
}
/* Breed detail */
.breed-hero{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:60px;
  align-items:center;
  padding-block:22px 55px
}
.breed-english{
  font-size:15px;
  color:var(--muted);
  margin-top:19px;
  letter-spacing:.08em
}
.breed-intro h1{
  font-size:39px;
  font-weight:800;
  line-height:1.5;
  letter-spacing:.025em;
  margin:10px 0 20px
}
.breed-lead{
  font-size:14px;
  line-height:2.05;
  color:#536878;
  margin-bottom:22px
}
.date{
  font-size:11px;
  color:var(--muted);
  margin-top:25px
}
.breed-main-photo{
  position:relative;
  border-radius:90px 15px 15px 15px;
  overflow:hidden
}
.breed-main-photo img{
  width:100%;
  height:385px;
  object-fit:cover
}
.breed-main-photo figcaption{
  position:absolute;
  right:20px;
  bottom:16px;
  font-size:10px;
  letter-spacing:.2em;
  color:white;
  text-shadow:0 1px 5px #000
}
.article-layout{
  display:grid;
  grid-template-columns:235px minmax(0,1fr);
  gap:64px;
  align-items:start;
  padding-block:30px 70px;
  border-top:1px solid var(--line)
}
.toc{
  position:sticky;
  top:122px;
  border-left:2px solid #d6e8f4;
  padding-left:22px
}
.toc h2{
  font-size:17px;
  margin-top:8px
}
.toc ol{
  list-style:none;
  padding:0;
  margin:18px 0 25px
}
.toc li a{
  display:flex;
  align-items:center;
  gap:13px;
  font-size:13px;
  color:#5c6d7a;
  padding:9px 0
}
.toc li span{
  font-size:11px;
  color:#8a9daa
}
.toc a.is-active,.toc a:hover{
  color:var(--blue);
  font-weight:700
}
.toc-back{
  font-size:12px;
  color:var(--blue);
  display:flex;
  align-items:center;
  gap:15px
}
.breed-article{
  max-width:820px
}
.article-section{
  margin-bottom:55px;
  scroll-margin-top:125px
}
.article-section h2{
  font-size:25px;
  display:flex;
  align-items:center;
  gap:15px;
  padding-bottom:16px;
  border-bottom:2px solid var(--ink);
  margin-bottom:25px
}
.article-section h2>span{
  font-size:14px;
  color:var(--blue);
  letter-spacing:.06em
}
.profile-table{
  margin:0;
  border-top:1px solid var(--line)
}
.profile-table>div{
  display:grid;
  grid-template-columns:145px 1fr;
  border-bottom:1px solid var(--line);
  font-size:14px
}
.profile-table dt{
  background:#f2f7fa;
  font-weight:700;
  padding:15px 20px
}
.profile-table dd{
  padding:15px 22px;
  margin:0;
  line-height:1.85
}
.article-section p{
  font-size:15px;
  line-height:2.2;
  margin-bottom:20px;
  overflow-wrap:anywhere
}
.article-section h3{
  font-size:19px;
  margin:32px 0 16px;
  border-left:4px solid var(--blue);
  padding-left:15px
}
.article-photo{
  margin:28px 0
}
.article-photo img{
  width:100%;
  max-height:400px;
  object-fit:cover;
  border-radius:10px
}
.article-source{
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap
}
.article-source a{
  text-decoration:underline;
  text-underline-offset:4px
}
/* Footer and sample-only dialog */
.site-footer{
  background:#f0f5f8;
  border-top:1px solid var(--line);
  padding:48px 0 22px
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:35px
}
.footer-top .brand{
  width:165px
}
.footer-top p{
  font-size:12px;
  color:var(--muted);
  margin-top:20px
}
.footer-links{
  display:flex;
  align-items:flex-start;
  gap:25px;
  flex-wrap:wrap;
  font-size:12px
}
.footer-links button{
  padding:0
}
.footer-links .pending-label{
  display:block;
  margin:5px 0 0;
  text-align:left
}
.footer-bottom{
  margin-top:40px;
  border-top:1px solid #d9e3e9;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:11px;
  color:var(--muted)
}
.footer-bottom small{
  font-size:11px
}
.footer-bottom a{
  text-decoration:underline;
  text-underline-offset:4px
}
dialog{
  color:var(--ink);
  width:min(500px,calc(100% - 40px));
  border:0;
  border-radius:20px;
  padding:36px;
  box-shadow:0 20px 80px #14273a33
}
dialog::backdrop{
  background:#14273870
}
dialog h2{
  font-size:22px;
  margin:12px 0
}
dialog p:not(.eyebrow){
  font-size:14px;
  line-height:1.9;
  margin:14px 0
}
dialog .button{
  margin-top:12px
}
.dialog-close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px
}
.dialog-close:hover{
  background:var(--sky);
  border-radius:50%
}
/* Responsive: tablet, then phone */
@media(min-width:1450px){
  .hero-inner{
    min-height:630px
  }
  .hero h1{
    font-size:52px
  }
}
@media(max-width:1150px){
  .brand-caption{
    display:none
  }
  .site-nav{
    gap:22px
  }
  .hero-inner{
    gap:25px
  }
  .hero-photos{
    height:420px
  }
  .hero-cat{
    height:285px
  }
  .hero-dog{
    height:220px
  }
  .container{
    width:calc(100% - 64px)
  }
  .catalog-layout{
    grid-template-columns:215px minmax(0,1fr);
    gap:24px
  }
  .card-content{
    padding:15px 14px
  }
  .catalog-grid{
    gap:16px
  }
  .article-layout{
    gap:40px
  }
  .breed-hero{
    gap:35px
  }
  .breed-intro h1{
    font-size:34px
  }
  .footer-links{
    gap:16px
  }
}
@media(max-width:900px){
  .header-inner{
    height:78px;
    padding:0 28px
  }
  .brand{
    width:155px
  }
  .site-nav{
    gap:18px;
    font-size:13px
  }
  .hero-inner{
    min-height:540px
  }
  .hero h1{
    font-size:35px
  }
  .hero-photos{
    height:360px
  }
  .hero-cat{
    height:235px;
    width:85%
  }
  .hero-dog{
    height:190px;
    width:70%
  }
  .photo-note{
    display:none
  }
  .hero-search{
    gap:8px;
    padding-left:10px
  }
  .hero-search button{
    padding-inline:12px
  }
  .hero-search button .icon{
    display:none
  }
  .search-hint{
    font-size:10px;
    gap:8px
  }
  .section-heading h2{
    font-size:24px
  }
  .encyclopedia{
    padding:25px
  }
  .home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .card-content h3{
    min-height:0
  }
  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .category-inner h1{
    font-size:31px
  }
  .category-inner>img{
    width:240px;
    height:200px
  }
  .breed-hero{
    gap:25px
  }
  .breed-intro h1{
    font-size:29px
  }
  .breed-main-photo img{
    height:335px
  }
  .article-layout{
    grid-template-columns:180px minmax(0,1fr);
    gap:30px
  }
  .profile-table>div{
    grid-template-columns:115px 1fr
  }
  .profile-table dt,.profile-table dd{
    padding:13px
  }
  .footer-top{
    flex-direction:column
  }
  .footer-bottom{
    flex-wrap:wrap
  }
}
@media(max-width:680px){
  html{
    scroll-padding-top:85px
  }
  .container{
    width:calc(100% - 40px)
  }
  .header-inner{
    height:70px;
    padding:0 20px;
    justify-content:space-between
  }
  .brand{
    width:148px
  }
  .menu-toggle{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border:1px solid var(--line);
    border-radius:50%
  }
  .site-nav{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    right:0;
    padding:20px;
    background:white;
    border-bottom:1px solid var(--line);
    box-shadow:0 15px 20px #2232440a;
    align-items:stretch;
    gap:0
  }
  .site-nav.is-open{
    display:flex;
    flex-direction:column
  }
  .site-nav>a,.site-nav>button{
    padding:14px 12px;
    text-align:left;
    border-bottom:1px solid #eff3f6
  }
  .site-nav .pending{
    align-items:flex-start;
    flex-direction:row;
    gap:10px
  }
  .site-nav .pending-label{
    padding-top:5px
  }
  .hero-inner{
    display:flex;
    flex-direction:column;
    gap:30px;
    padding-top:33px;
    padding-bottom:35px
  }
  .hero-copy{
    width:100%
  }
  .eyebrow{
    font-size:10px
  }
  .hero h1{
    font-size:37px;
    line-height:1.5;
    margin:14px 0 16px
  }
  .hero-description{
    font-size:13px;
    line-height:1.9
  }
  .hero-search{
    margin-top:23px;
    max-width:none
  }
  .hero-search input{
    font-size:13px
  }
  .search-hint{
    font-size:10px;
    line-height:1.9
  }
  .hero-photos{
    width:100%;
    height:285px;
    max-width:410px;
    align-self:center
  }
  .hero-cat{
    left:4px;
    width:67%;
    height:220px;
    border-radius:70px 16px 16px 16px
  }
  .hero-dog{
    right:4px;
    bottom:0;
    width:49%;
    height:178px;
    border-radius:16px 16px 60px 16px
  }
  .hero-photos figure{
    border-width:5px
  }
  .hero-photos figcaption{
    font-size:10px;
    padding:25px 11px 10px
  }
  .hero-photos figcaption span{
    font-size:8px
  }
  .photo-note{
    display:block;
    bottom:5px;
    left:20px;
    writing-mode:horizontal-tb;
    font-size:10px
  }
  .explore-section{
    padding-block:45px
  }
  .section-heading{
    display:block;
    margin-bottom:23px
  }
  .section-heading h2{
    font-size:23px;
    margin-top:6px
  }
  .section-heading>p{
    font-size:12px;
    margin-top:12px
  }
  .section-heading>.text-link{
    margin-top:13px;
    font-size:12px
  }
  .encyclopedia-grid{
    grid-template-columns:1fr;
    gap:20px
  }
  .encyclopedia{
    padding:25px;
    border-radius:14px
  }
  .encyclopedia-title h3{
    font-size:28px
  }
  .encyclopedia-title img{
    width:84px;
    height:84px
  }
  .taxonomy summary{
    padding-block:17px
  }
  .featured-section{
    padding:40px 0 45px
  }
  .breed-grid{
    gap:13px
  }
  .card-content{
    padding:13px 11px
  }
  .card-content h3{
    font-size:13px;
    min-height:43px
  }
  .card-english{
    font-size:9px;
    min-height:16px
  }
  .card-meta{
    font-size:10px;
    min-height:36px
  }
  .card-bottom{
    font-size:10px;
    padding-top:9px;
    margin-top:8px;
    min-height:36px
  }
  .card-bottom .icon{
    width:16px
  }
  .photo-tag{
    font-size:9px;
    left:8px;
    bottom:8px;
    padding:2px 7px
  }
  .about-strip{
    padding-block:44px
  }
  .about-strip h2{
    font-size:20px
  }
  .about-strip p{
    font-size:12px
  }
  .about-strip br{
    display:none
  }
  .breadcrumb{
    padding-block:16px;
    font-size:10px
  }
  .category-inner{
    padding-block:25px;
    gap:15px;
    position:relative;
    overflow:hidden
  }
  .category-inner>div{
    z-index:1;
    position:relative
  }
  .category-inner h1{
    font-size:27px
  }
  .category-inner p:not(.eyebrow){
    font-size:12px;
    max-width:235px
  }
  .category-inner>img{
    position:absolute;
    right:-40px;
    top:22px;
    width:145px;
    height:145px;
    border-radius:50%;
    opacity:.16
  }
  .category-pills{
    gap:6px;
    margin-top:18px
  }
  .pill{
    padding:5px 12px;
    font-size:11px
  }
  .catalog-layout{
    display:block;
    margin-block:25px 45px
  }
  .filter-panel{
    position:static;
    padding:18px;
    margin-bottom:28px;
    border-radius:10px
  }
  .filter-heading h2{
    font-size:14px
  }
  .filter-panel form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 12px
  }
  .filter-panel .field-label{
    margin:10px 0 0
  }
  .filter-panel label[for=breed-query],.filter-panel .input-with-icon{
    grid-column:1/-1
  }
  .filter-panel label[for=body-filter]{
    grid-column:1;
    grid-row:3
  }
  .filter-panel label[for=country-filter]{
    grid-column:2;
    grid-row:3
  }
  .filter-panel select{
    grid-row:4;
    min-width:0
  }
  .filter-submit{
    grid-column:1/-1;
    margin-top:7px;
    min-height:43px;
    padding:9px
  }
  .filter-note{
    display:none
  }
  .results-toolbar{
    gap:10px
  }
  .results-toolbar h2{
    font-size:18px
  }
  .results-toolbar h2>span{
    font-size:11px;
    margin-left:6px
  }
  .results-toolbar strong{
    font-size:20px
  }
  .sort-label{
    font-size:0;
    gap:0
  }
  .sort-label select{
    font-size:11px;
    padding:8px
  }
  .sample-caption{
    font-size:10px;
    margin-top:10px
  }
  .list-end{
    display:block;
    text-align:center;
    margin-top:25px
  }
  .list-end a{
    display:block;
    margin-top:15px
  }
  .breed-hero{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:24px;
    padding-block:10px 30px
  }
  .breed-english{
    font-size:12px;
    margin-top:12px
  }
  .breed-intro h1{
    font-size:29px;
    line-height:1.5;
    margin:6px 0 13px;
    overflow-wrap:anywhere
  }
  .desktop-break{
    display:none
  }
  .breed-lead{
    font-size:13px;
    margin-bottom:16px
  }
  .date{
    margin-top:15px;
    font-size:10px
  }
  .breed-main-photo{
    border-radius:65px 12px 12px 12px
  }
  .breed-main-photo img{
    height:auto;
    aspect-ratio:1.4;
    object-fit:cover
  }
  .article-layout{
    display:block;
    padding-block:0 40px;
    border:0
  }
  .toc{
    position:static;
    padding:20px;
    background:var(--sky);
    border:0;
    border-radius:12px;
    margin-bottom:32px
  }
  .toc h2{
    font-size:16px
  }
  .toc ol{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin:12px 0 0;
    gap:0 12px
  }
  .toc li a{
    font-size:12px;
    gap:8px;
    padding-block:10px
  }
  .toc-back{
    display:none
  }
  .article-section{
    margin-bottom:37px;
    scroll-margin-top:95px
  }
  .article-section h2{
    font-size:22px;
    padding-bottom:13px;
    margin-bottom:20px
  }
  .profile-table>div{
    grid-template-columns:100px 1fr;
    font-size:12px
  }
  .profile-table dt,.profile-table dd{
    padding:13px 11px
  }
  .article-section p{
    font-size:15px;
    line-height:2.1;
    margin-bottom:18px
  }
  .article-section h3{
    font-size:17px;
    margin-top:26px
  }
  .article-source{
    font-size:11px;
    gap:10px
  }
  .site-footer{
    padding-top:35px
  }
  .footer-top{
    gap:28px
  }
  .footer-top .brand{
    width:148px
  }
  .footer-top p{
    font-size:11px
  }
  .footer-links{
    gap:16px 23px;
    font-size:12px
  }
  .footer-bottom{
    margin-top:25px;
    gap:12px;
    font-size:10px
  }
  .footer-bottom small{
    font-size:10px
  }
  dialog{
    padding:30px 23px
  }
  dialog h2{
    font-size:20px
  }
  .empty-state{
    padding:35px 18px
  }
}
/* Reading and touch targets: keep important copy readable on smaller screens. */
.hero-description,.breed-lead,.article-section p,.category-inner p:not(.eyebrow){
  font-size:16px
}
.field-label,.filter-panel select,.input-with-icon input,.filter-submit,.toc li a,.chip{
  font-size:14px
}
.card-english,.card-meta,.card-bottom,.photo-tag,.date,.sample-caption,.filter-note,.search-hint{
  font-size:12px
}
.profile-table>div{
  font-size:14px
}
@media(max-width:680px){
  .desktop-break{
    display:block
  }
  .breed-intro h1{
    font-size:29px
  }
  .hero-description,.category-inner p:not(.eyebrow){
    font-size:14px
  }
  .card-content h3{
    font-size:14px;
    min-height:47px
  }
  .hero-search input,.input-with-icon input,.filter-panel select{
    font-size:16px
  }
  .hero-search{
    gap:6px
  }
  .hero-search button{
    padding-inline:11px
  }
  .card-english{
    font-size:12px;
    letter-spacing:0
  }
  .card-meta{
    min-height:44px
  }
  .card-bottom{
    align-items:flex-start
  }
  .category-inner p:not(.eyebrow){
    max-width:280px
  }
  .toc li a{
    font-size:14px
  }
  .toc ol{
    gap:0 8px
  }
  .toc li span{
    font-size:11px
  }
  .search-hint{
    gap:6px 10px
  }
  .footer-bottom{
    font-size:12px
  }
}
@media(max-width:680px){
  .hero h1{
    font-size:clamp(26px,8.1vw,34px)
  }
  .photo-note{
    display:none
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*::before,*::after{
    transition:none!important;
    animation:none!important
  }
}
