:root {
  --kh-bg: #f7efe4;
  --kh-bg-soft: #fbf7f0;
  --kh-surface: #fffaf3;
  --kh-text: #241f1a;
  --kh-muted: #6d5d4d;
  --kh-accent: #7b542e;
  --kh-accent-dark: #55391f;
  --kh-line: rgba(72, 52, 32, 0.16);
  --kh-dark: #211a14;
  --kh-white: #fffaf3;
  --kh-serif: Georgia, "Times New Roman", serif;
  --kh-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --kh-container: 1180px;
  --kh-radius: 30px;
  --kh-shadow: 0 26px 70px rgba(55, 37, 21, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kh-bg);
  color: var(--kh-text);
  font-family: var(--kh-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
main, .site-header, .site-footer { min-width: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.2rem; color: var(--kh-muted); }
h1, h2, h3 {
  margin: 0;
  color: var(--kh-text);
  font-family: var(--kh-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 6.8rem); line-height: 0.96; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.6rem); line-height: 1; }
h3 { font-size: clamp(1.22rem, 2vw, 1.6rem); line-height: 1.15; }
button, input, textarea, select { font: inherit; }

.kh-container { width: min(calc(100% - 48px), var(--kh-container)); margin-inline: auto; }
.kh-section { padding: clamp(76px, 9vw, 132px) 0; }
.kh-prose { max-width: 820px; }
.kh-eyebrow {
  margin: 0 0 18px;
  color: var(--kh-accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sr-only,
.skip-link {
  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:focus {
  top: 14px;
  left: 14px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 8px;
}
:focus-visible { outline: 3px solid #b98242; outline-offset: 4px; }

.kh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid var(--kh-dark);
  border-radius: 999px;
  background: var(--kh-dark);
  color: var(--kh-white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.kh-button:hover { transform: translateY(-2px); background: #35281e; box-shadow: 0 12px 30px rgba(39, 27, 17, 0.18); }
.kh-button--small { min-height: 42px; padding: 10px 17px; font-size: 0.67rem; }
.kh-button--quiet-on-dark { background: rgba(255, 250, 243, 0.08); border-color: rgba(255, 250, 243, 0.5); }
.kh-button--quiet-on-dark:hover { background: rgba(255, 250, 243, 0.17); }
.kh-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(61, 44, 28, 0.4);
  color: var(--kh-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(70, 49, 29, 0.11);
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(55, 37, 21, 0.055);
}
.admin-bar .site-header { top: 32px; }
.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom-color: rgba(70, 49, 29, 0.11);
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(18px);
}
.admin-bar.home .site-header { top: 32px; }
.site-header__inner {
  width: min(calc(100% - 40px), 1360px);
  min-height: 86px;
  padding-block: 10px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: clamp(200px, 15vw, 225px);
  height: 48px;
  overflow: visible;
}
.site-logo img {
  width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; white-space: nowrap; }
.site-nav a {
  position: relative;
  color: #41362b;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f5041;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.language-switcher a { opacity: 0.58; }
.language-switcher a.is-active { opacity: 1; }
.home .site-nav a,
.home .language-switcher { color: #41362b; }
.home .header-contact { color: #fffaf3; border-color: var(--kh-dark); background: var(--kh-dark); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--kh-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1px; margin: 5px 0; background: currentColor; }
.home .nav-toggle { color: var(--kh-text); border-color: var(--kh-line); }

/* Homepage hero */
.hero {
  position: relative;
  min-height: clamp(650px, 84vh, 880px);
  display: grid;
  overflow: hidden;
  background: var(--kh-dark);
  color: #fff;
}
.hero__media,
.hero__shade { position: absolute; inset: 0; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(22, 16, 12, 0.92) 0%, rgba(22, 16, 12, 0.70) 33%, rgba(22, 16, 12, 0.25) 62%, rgba(22, 16, 12, 0.08) 100%),
    linear-gradient(0deg, rgba(20, 15, 11, 0.28), transparent 42%);
}
.hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-top: 150px;
  padding-bottom: clamp(72px, 10vh, 118px);
}
.hero .kh-eyebrow { color: #e5c99f; }
.hero h1 { max-width: 860px; color: #fffaf3; font-size: clamp(3.1rem, 6.7vw, 7.2rem); }
.hero__lead { max-width: 680px; margin: 27px 0 0; color: rgba(255,250,243,.86); font-size: clamp(1.05rem, 1.7vw, 1.32rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Homepage about */
.home-about { background: var(--kh-bg-soft); }
.home-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: clamp(44px, 8vw, 105px); align-items: center; }
.home-about__copy h2 { max-width: 700px; }
.home-about__copy > p:not(.kh-eyebrow) { max-width: 720px; margin-top: 27px; font-size: 1.05rem; }
.home-about__features { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 28px 0 31px; list-style: none; }
.home-about__features li { padding: 8px 13px; border: 1px solid var(--kh-line); border-radius: 999px; color: #5c4938; font-size: .76rem; font-weight: 700; }
.home-about__media { border-radius: var(--kh-radius); overflow: hidden; box-shadow: var(--kh-shadow); }
.home-about__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Value cards */
.home-values { padding: 0 0 clamp(76px, 9vw, 126px); background: var(--kh-bg-soft); }
.home-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home-value-card { position: relative; min-height: 300px; padding: 34px; border: 1px solid var(--kh-line); border-radius: 26px; background: rgba(255,255,255,.48); }
.home-value-card__icon,
.value-card__icon,
.breed-highlights article > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  color: var(--kh-accent);
}
.home-value-card__icon svg,
.value-card__icon svg,
.breed-highlights svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-value-card__number { position: absolute; top: 28px; right: 30px; color: #9d846c; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.home-value-card h3 { margin-top: 52px; }
.home-value-card p { margin-top: 14px; }

/* Homepage breed */
.home-breed { background: #e9ddcd; }
.home-breed__grid { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1fr); gap: clamp(44px, 8vw, 110px); align-items: start; }
.home-breed__media { position: sticky; top: 120px; overflow: hidden; border-radius: var(--kh-radius); box-shadow: var(--kh-shadow); }
.home-breed__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.home-breed__copy > p:not(.kh-eyebrow) { margin: 25px 0 30px; font-size: 1.07rem; }
.home-breed__facts { display: grid; gap: 0; margin-bottom: 31px; border-top: 1px solid rgba(70,50,30,.2); }
.home-breed__facts article { padding: 24px 0; border-bottom: 1px solid rgba(70,50,30,.2); }
.home-breed__facts h3 { font-size: 1.32rem; }
.home-breed__facts p { margin: 10px 0 0; }

/* Homepage gallery */
.home-gallery { background: var(--kh-bg-soft); }
.home-gallery__head { display: grid; grid-template-columns: .8fr 1fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.home-gallery__head > p { max-width: 580px; justify-self: end; }
.home-gallery__grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; grid-template-rows: 300px 300px; gap: 12px; }
.home-gallery__item { overflow: hidden; border-radius: 22px; }
.home-gallery__item--1 { grid-row: 1 / 3; }
.home-gallery__item--2 { grid-column: 2 / 4; }
.home-gallery__image { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.home-gallery__item:hover .home-gallery__image { transform: scale(1.025); }
.home-gallery__more { margin-top: 30px; text-align: right; }

/* Homepage contact */
.home-contact { background: var(--kh-dark); }
.home-contact__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; padding: clamp(36px, 6vw, 72px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--kh-radius); background: rgba(255,255,255,.035); }
.home-contact .kh-eyebrow { color: #d8b98e; }
.home-contact h2 { max-width: 760px; color: #fffaf3; }
.home-contact p { max-width: 680px; margin-top: 20px; color: rgba(255,250,243,.72); }
.home-contact__location { margin-top: 14px; color: rgba(255,250,243,.9); font-style: normal; font-size: .92rem; font-weight: 700; }
.home-contact__actions { display: grid; justify-items: start; gap: 20px; }
.home-contact .kh-button { background: #fffaf3; color: var(--kh-dark); border-color: #fffaf3; }
.home-contact .kh-link { color: #fffaf3; border-color: rgba(255,255,255,.45); }

/* Shared subpage hero */
.subpage-hero { padding: clamp(80px, 10vw, 145px) 0; background: var(--kh-bg-soft); }
.subpage-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: clamp(45px, 8vw, 105px); align-items: center; }
.subpage-hero__copy h1 span { display: block; }
.subpage-hero__intro,
.subpage-hero__lead { max-width: 700px; margin-top: 30px; }
.subpage-hero__intro p,
.subpage-hero__lead { font-size: clamp(1rem, 1.5vw, 1.18rem); }
.subpage-hero__media { overflow: hidden; border-radius: var(--kh-radius); box-shadow: var(--kh-shadow); }
.subpage-hero__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.section-heading { display: grid; grid-template-columns: .4fr 1fr; gap: 35px; align-items: start; margin-bottom: 44px; }
.section-heading h2 { max-width: 800px; }

/* About page */
.values-section { background: var(--kh-bg); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-card { position: relative; padding: 30px; min-height: 310px; border: 1px solid var(--kh-line); border-radius: 25px; background: rgba(255,250,243,.72); }
.value-card__number { position: absolute; top: 29px; right: 29px; color: #9b8066; font-size: .73rem; font-weight: 800; }
.value-card h3 { margin-top: 40px; }
.value-card p { margin-top: 13px; }

/* Breed guide */
.guide-section { background: var(--kh-bg); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide-card { min-height: 270px; padding: 32px; border: 1px solid var(--kh-line); border-radius: 25px; background: rgba(255,250,243,.74); }
.guide-card > span { color: #9b8066; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.guide-card h3 { margin-top: 38px; }
.guide-card p { margin-top: 14px; }

/* Breed-choice family life section */
.family-fit-section { background: #f3eadf; }
.family-fit-heading { margin-bottom: 38px; }
.family-fit-heading > div { max-width: 820px; }
.family-fit-intro { margin-top: 18px; max-width: 760px; font-size: 1.04rem; }
.family-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.family-fit-card { overflow: hidden; border: 1px solid var(--kh-line); border-radius: 25px; background: rgba(255,250,243,.82); box-shadow: 0 14px 34px rgba(56,39,24,.06); }
.family-fit-card__media { overflow: hidden; background: #e8dfd4; }
.family-fit-card__image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.family-fit-card__copy { padding: 27px 28px 31px; }
.family-fit-card__copy h3 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); }
.family-fit-card__copy p { margin-top: 14px; }

.breed-highlights { padding: clamp(66px, 8vw, 105px) 0; background: #e9ddcd; }
.breed-highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.breed-highlights article { padding: 32px; border-radius: 24px; background: rgba(255,250,243,.6); }
.breed-highlights h3 { margin-top: 28px; }
.breed-highlights p { margin-top: 12px; }
.faq-section { background: var(--kh-bg-soft); }
.faq-panel { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(40px, 8vw, 100px); }
.faq-list { border-top: 1px solid var(--kh-line); }
.faq-list details { border-bottom: 1px solid var(--kh-line); }
.faq-list summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; color: var(--kh-text); font-family: var(--kh-serif); font-size: 1.28rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 22px; font-family: var(--kh-sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 42px 22px 0; }

/* Gallery page */
.gallery-page { background: var(--kh-bg-soft); }
.gallery-page__hero { padding: clamp(80px, 10vw, 140px) 0 70px; }
.gallery-page__hero-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.gallery-page__copy p:not(.kh-eyebrow) { margin-top: 25px; font-size: 1.08rem; }
.gallery-page__copy .kh-link { margin-top: 14px; }
.gallery-page__hero-media { overflow: hidden; border-radius: var(--kh-radius); box-shadow: var(--kh-shadow); }
.gallery-page__hero-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-page__intro { padding: 0 0 clamp(54px, 7vw, 90px); }
.gallery-page__intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.gallery-page__intro-copy { display: grid; gap: 18px; max-width: 760px; }
.gallery-page__intro-copy p { margin: 0; }
.gallery-page__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 90px; gap: 12px; padding-bottom: clamp(80px, 10vw, 140px); }
.gallery-card { overflow: hidden; border-radius: 20px; }
.gallery-card a { display: block; width: 100%; height: 100%; }
.gallery-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease, filter 350ms ease; }
.gallery-card:hover .gallery-card__image { transform: scale(1.025); filter: brightness(.96); }
.gallery-card--1 { grid-column: span 7; grid-row: span 5; }
.gallery-card--2 { grid-column: span 5; grid-row: span 3; }
.gallery-card--3 { grid-column: span 5; grid-row: span 4; }
.gallery-card--4 { grid-column: span 4; grid-row: span 4; }
.gallery-card--5 { grid-column: span 4; grid-row: span 4; }
.gallery-card--6 { grid-column: span 4; grid-row: span 4; }
.gallery-card--7 { grid-column: span 6; grid-row: span 4; }
.gallery-card--8 { grid-column: span 6; grid-row: span 4; }

.kh-button--outline { color: var(--kh-text); background: transparent; border-color: var(--kh-line); }
.kh-button--outline:hover { background: rgba(255,250,243,.72); }

/* Contact */
.contact-page__actions { margin-top: 30px; }
.contact-page__button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact-page__address { display: grid; gap: 4px; margin-top: 20px; font-style: normal; }
.contact-page__address span { color: #8a6f55; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-page__address strong { color: var(--kh-text); font-size: 1rem; }
.contact-page__actions p { margin: 12px 0 0; font-size: .9rem; }
.contact-steps { background: var(--kh-bg); }
.contact-steps__heading p { max-width: 720px; margin-top: 18px; }
.contact-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-steps article { padding: 32px; min-height: 260px; border: 1px solid var(--kh-line); border-radius: 25px; background: rgba(255,250,243,.72); }
.contact-steps article > span { color: #9b8066; font-size: .72rem; font-weight: 800; }
.contact-steps h3 { margin-top: 45px; }
.contact-steps p { margin-top: 13px; }

/* Legal */
.legal-page { background: var(--kh-bg-soft); }
.legal-page__hero { padding: clamp(80px, 10vw, 135px) 0 40px; }
.legal-page__hero-inner { max-width: 900px; }
.legal-page__hero p:not(.kh-eyebrow) { max-width: 720px; margin-top: 25px; font-size: 1.08rem; }
.legal-page__hero-inner > span { display: inline-flex; margin-top: 16px; padding: 7px 12px; border: 1px solid var(--kh-line); border-radius: 999px; color: #745f4b; font-size: .73rem; font-weight: 700; }
.legal-page__content { padding-top: 30px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.legal-card { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 30px; border: 1px solid var(--kh-line); border-radius: 24px; background: rgba(255,250,243,.74); }
.legal-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ead9c3; color: #775634; font-size: .72rem; font-weight: 800; }
.legal-card h2 { font-size: 1.43rem; }
.legal-card p { margin-top: 12px; }

/* Generic WordPress content */
.page-hero,
.not-found { padding: clamp(90px, 11vw, 150px) 0; background: var(--kh-bg-soft); }
.entry-content > * { max-width: 760px; margin-inline: auto; }

/* Footer */
.site-footer { padding: 65px 0 26px; background: #1d1712; color: #fffaf3; }
.site-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; padding-bottom: 48px; }
.site-footer__identity { display: grid; justify-items: start; gap: 10px; }
.site-footer__brand { width: 218px; }
.site-footer__brand img { width: 100%; height: auto; max-height: 48px; object-fit: contain; object-position: left center; }
.site-footer__identity p { margin: 0; color: rgba(255,250,243,.7); font-size: .84rem; }
.site-footer__identity address { margin: 0; color: rgba(255,250,243,.78); font-style: normal; font-size: .84rem; }
.site-footer__identity > a[href^="tel:"],
.site-footer__links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 32px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-footer__links a:hover,
.site-footer__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,250,243,.62); font-size: .75rem; }
.site-footer__bottom > div { display: flex; gap: 22px; }

/* Lightbox */
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 12, 9, 0.92);
  opacity: 0;
  transition: opacity 180ms ease;
}
.gallery-lightbox.is-open { opacity: 1; }
.gallery-lightbox__panel { position: relative; max-width: min(1120px, 94vw); max-height: 92vh; }
.gallery-lightbox__image { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.gallery-lightbox__close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(20,15,11,.72); color: #fff; font-size: 1.7rem; cursor: pointer; }
.gallery-lightbox__caption { max-width: 780px; margin: 13px auto 0; color: rgba(255,255,255,.82); text-align: center; font-size: .9rem; }

@media (max-width: 1380px) {
  .header-contact { display: none; }
  .site-header__inner { width: min(calc(100% - 36px), 1320px); }
  .site-nav { gap: 18px; }
}

@media (max-width: 1080px) {
  .site-nav { gap: 16px; }
  .home-values__grid,
  .values-grid,
  .breed-highlights__grid,
  .contact-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .home-value-card:last-child,
  .family-fit-card:last-child,
  .breed-highlights article:last-child,
  .contact-steps article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .site-header__inner { min-height: 72px; }
  .site-logo { width: 215px; height: 46px; }
  .site-logo img { max-height: 46px; }
  .header-actions { order: 2; margin-left: auto; }
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .site-nav {
    order: 4;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 25px 24px 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    background: #f8f1e7;
    border-bottom: 1px solid var(--kh-line);
    box-shadow: 0 20px 45px rgba(50,34,20,.15);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .admin-bar .site-nav { top: 118px; max-height: calc(100dvh - 118px); }
  .nav-open .site-nav { display: flex; }
  .site-nav a { display: flex; align-items: center; width: 100%; min-height: 44px; color: #32271f; font-size: .86rem; }
  .home .site-nav a { color: #32271f; }
  .header-actions { margin-left: auto; }
  .family-fit-grid { grid-template-columns: 1fr 1fr; }
  .family-fit-card:last-child { grid-column: 1 / -1; }
  .home-about__grid,
  .home-breed__grid,
  .subpage-hero__grid,
  .gallery-page__hero-grid,
  .gallery-page__intro-grid,
  .faq-panel { grid-template-columns: 1fr; }
  .home-about__media,
  .home-breed__media,
  .subpage-hero__media { max-width: 720px; width: 100%; }
  .home-breed__media { position: static; order: 2; }
  .home-gallery__head { grid-template-columns: 1fr; gap: 18px; }
  .home-gallery__head > p { justify-self: start; }
  .home-contact__panel { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 6px; }
  .gallery-page__hero-media { order: -1; }
  .gallery-page__grid { grid-auto-rows: 75px; }
  .legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .kh-container { width: min(calc(100% - 28px), var(--kh-container)); }
  .kh-section { padding: 68px 0; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.5rem); }
  h2 { font-size: clamp(2.05rem, 10vw, 3.4rem); }
  .site-header__inner {
    min-height: 68px;
    gap: 8px;
  }
  .site-logo {
    width: clamp(145px, 48vw, 175px);
    height: 42px;
  }
  .site-logo img { max-height: 40px; }
  .header-actions {
    margin-left: auto;
    gap: 0;
  }
  .language-switcher {
    display: inline-flex;
    min-height: 44px;
    gap: 2px;
    font-size: .66rem;
    letter-spacing: .05em;
    white-space: nowrap;
  }
  .language-switcher a {
    display: grid;
    place-items: center;
    min-width: 30px;
    min-height: 44px;
    padding-inline: 3px;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 10px;
    flex: 0 0 44px;
  }
  .site-nav { top: 68px; max-height: calc(100dvh - 68px); }
  .admin-bar .site-nav { top: 114px; max-height: calc(100dvh - 114px); }
  .hero { min-height: max(680px, 100svh); }
  .hero__image { object-position: 64% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(22,16,12,.9), rgba(22,16,12,.48)), linear-gradient(0deg, rgba(22,16,12,.42), transparent 45%); }
  .hero__content { padding-top: 140px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .hero__actions { display: grid; width: min(100%, 340px); }
  .hero__actions .kh-button { width: 100%; }
  .home-about__grid,
  .home-breed__grid { gap: 38px; }
  .home-about__image,
  .home-breed__image,
  .subpage-hero__image { aspect-ratio: 4 / 4.8; }
  .home-values__grid,
  .values-grid,
  .guide-grid,
  .family-fit-grid,
  .breed-highlights__grid,
  .contact-steps__grid { grid-template-columns: 1fr; }
  .home-value-card:last-child,
  .breed-highlights article:last-child,
  .contact-steps article:last-child { grid-column: auto; }
  .home-value-card,
  .value-card,
  .guide-card,
  .contact-steps article { min-height: auto; }
  .home-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 190px; }
  .home-gallery__item--1 { grid-column: 1 / 3; grid-row: 1; }
  .home-gallery__item--2 { grid-column: 1; grid-row: 2; }
  .home-gallery__item--3 { grid-column: 2; grid-row: 2; }
  .home-gallery__item--4 { grid-column: 1; grid-row: 3; }
  .home-gallery__item--5 { grid-column: 2; grid-row: 3; }
  .home-contact__panel { padding: 30px 24px; }
  .subpage-hero { padding: 70px 0; }
  .gallery-page__hero { padding: 70px 0 50px; }
  .gallery-page__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 8px; }
  .gallery-card,
  .gallery-card--1,
  .gallery-card--2,
  .gallery-card--3,
  .gallery-card--4,
  .gallery-card--5,
  .gallery-card--6,
  .gallery-card--7,
  .gallery-card--8 { grid-column: span 1; grid-row: span 1; border-radius: 14px; }
  .gallery-card:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .legal-card { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 35px; }
  .site-footer__links { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer__bottom > div { flex-direction: column; gap: 8px; }
  .contact-page__button-row > .kh-button { min-height: 48px; }
  .site-footer__links a,
  .site-footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; }

}

@media (max-width: 480px) {
  .site-header__inner { width: min(calc(100% - 20px), 1360px); }
  .site-logo { width: clamp(132px, 43vw, 160px); height: 40px; }
  .site-logo img { max-height: 38px; }
  .header-actions { flex: 0 1 auto; min-width: 0; }
  .site-footer__links { grid-template-columns: 1fr; }
  .gallery-page__grid { grid-auto-rows: 160px; }
  .gallery-lightbox { padding: 10px; }
  .gallery-lightbox__image { max-height: 76dvh; }
  .gallery-lightbox__caption { max-height: 14dvh; overflow-y: auto; font-size: .8rem; }
  .contact-page__button-row > .kh-button { width: 100%; }
}

@media (max-width: 360px) {
  .site-logo { width: 126px; }
  .language-switcher { font-size: .62rem; }
  .language-switcher a { min-width: 27px; padding-inline: 2px; }
  .site-header__inner { gap: 6px; }
  .home-gallery__grid { grid-template-rows: 235px 170px 170px; }
}


/* Responsive hardening 6.9.5: tablet/mobile navigation, touch targets and narrow-screen overflow. */
@media (max-width: 960px) and (min-width: 701px) {
  .site-header__inner { width: min(calc(100% - 32px), 1360px); gap: 14px; }
  .site-logo { width: clamp(190px, 27vw, 215px); }
  .home-gallery__grid { grid-template-rows: 270px 270px; }
  .gallery-lightbox { padding: 18px; }
  .gallery-lightbox__image { max-height: 78dvh; }
}

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

/* Image SEO 6.3: visible, concise context for every gallery image. */
.gallery-card { position: relative; }
.gallery-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 42px 16px 13px;
  color: #fff;
  font-size: .88rem;
  line-height: 1.35;
  background: linear-gradient(to top, rgba(29, 22, 17, .84), rgba(29, 22, 17, 0));
  pointer-events: none;
}
@media (max-width: 700px) {
  .gallery-card__caption { padding: 34px 12px 10px; font-size: .78rem; }
}


/* Litter A + direct social profiles */
.social-links { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--kh-line); border-radius: 999px; color: var(--kh-text); text-decoration: none; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.social-links a:hover { transform: translateY(-1px); background: rgba(145,111,75,.08); border-color: rgba(100,72,44,.32); }
.social-links a > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--kh-dark); color: #fffaf3; font-size: .7rem; font-weight: 800; line-height: 1; }
.social-links a > strong { font-size: .78rem; letter-spacing: .015em; }
.social-links--dark a,
.social-links--footer a { border-color: rgba(255,250,243,.22); color: #fffaf3; }
.social-links--dark a:hover,
.social-links--footer a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,250,243,.4); }
.social-links--dark a > span,
.social-links--footer a > span { background: #fffaf3; color: var(--kh-dark); }
.social-links--buttons { display: inline-flex; }
.contact-page__button-row .social-links--buttons { width: 100%; margin-top: 2px; }

.litters-hero { padding-bottom: 40px; }
.litters-hero__media { background: #eee2d3; }
.litters-hero__image { aspect-ratio: 2 / 3; object-position: center 52%; }
.litter-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 40px; overflow: hidden; border: 1px solid var(--kh-line); border-radius: 22px; background: var(--kh-line); }
.litter-summary > div { display: grid; gap: 8px; padding: 22px 24px; background: rgba(255,250,243,.9); }
.litter-summary span { color: #8a6f55; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.litter-summary strong { font-family: var(--kh-serif); color: var(--kh-text); font-size: clamp(1.08rem, 2vw, 1.42rem); font-weight: 500; }

.litter-colors { background: #eadfce; }
.litter-colors__heading > div,
.litter-gallery__heading > div { max-width: 760px; }
.litter-colors__heading p:last-child,
.litter-gallery__heading p:last-child { margin-top: 16px; }
.litter-kittens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.litter-kitten-card { min-height: 310px; padding: 28px; border: 1px solid rgba(82,58,37,.13); border-radius: 24px; background: rgba(255,250,243,.7); }
.litter-kitten-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.litter-kitten-card__code { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--kh-dark); color: #fffaf3; font-family: var(--kh-serif); font-size: 1.1rem; }
.litter-kitten-card__status { color: #8a6f55; font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-align: right; }
.litter-kitten-card h3 { margin-top: 42px; font-size: 1.55rem; }
.litter-kitten-card p { margin-top: 14px; font-size: .95rem; }
.litter-note { display: grid; grid-template-columns: .38fr 1fr; gap: 32px; margin-top: 22px; padding: 26px 28px; border-left: 3px solid #9c7a58; border-radius: 0 18px 18px 0; background: rgba(255,250,243,.52); }
.litter-note strong { font-family: var(--kh-serif); font-size: 1.2rem; }
.litter-note p { margin: 0; }

.litter-gallery { background: var(--kh-bg-soft); }
.litter-gallery__grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 360px 360px; gap: 12px; margin-top: 42px; }
.litter-gallery__item { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: #e8dccd; }
.litter-gallery__item--1 { grid-row: 1 / 3; }
.litter-gallery__image { width: 100%; height: 100%; object-fit: cover; }
.litter-gallery__item--1 .litter-gallery__image { object-position: center 57%; }
.litter-gallery__item figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 54px 18px 15px; background: linear-gradient(to top, rgba(30,22,16,.72), rgba(30,22,16,0)); color: #fffaf3; font-size: .82rem; }

.litter-cta { background: var(--kh-dark); }
.litter-cta__panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 48px; align-items: center; padding: clamp(34px, 5vw, 62px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--kh-radius); background: rgba(255,255,255,.035); }
.litter-cta .kh-eyebrow { color: #d8b98e; }
.litter-cta h2 { color: #fffaf3; }
.litter-cta p:not(.kh-eyebrow) { max-width: 720px; margin-top: 16px; color: rgba(255,250,243,.72); }
.litter-cta__actions { display: grid; gap: 14px; justify-items: start; }
.litter-cta .kh-button { background: #fffaf3; color: var(--kh-dark); border-color: #fffaf3; }

@media (max-width: 1100px) {
  .litter-kittens-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .litter-summary { grid-template-columns: repeat(2, 1fr); }
  .litter-note { grid-template-columns: 1fr; gap: 10px; }
  .litter-gallery__grid { grid-template-columns: 1fr; grid-template-rows: 430px 260px 260px; }
  .litter-gallery__item--1 { grid-row: auto; }
  .litter-cta__panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .litter-kittens-grid { grid-template-columns: 1fr; }
  .litter-kitten-card { min-height: auto; }
  .litter-summary { grid-template-columns: 1fr 1fr; }
  .litter-summary > div { padding: 17px 16px; }
  .litter-gallery__grid { grid-template-rows: 390px 220px 280px; }
  .social-links a { min-height: 44px; padding: 9px 11px; }
}


/* Cat stories 6.8 */
.home-stories { background: #f2e8da; }
.home-stories__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 7vw, 92px); align-items: center; }
.home-stories__media { overflow: hidden; border-radius: var(--kh-radius); box-shadow: var(--kh-shadow); }
.home-stories__image { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.home-stories__copy > p:not(.kh-eyebrow) { margin-top: 20px; max-width: 650px; }
.home-stories__featured { display: grid; gap: 4px; margin: 28px 0; padding-left: 18px; border-left: 1px solid #b9956e; }
.home-stories__featured span { color: #8b6e52; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-stories__featured strong { font-family: var(--kh-serif); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; }

.stories-page { background: var(--kh-bg); }
.stories-hero { padding: clamp(58px, 6.5vw, 92px) 0; }
.stories-hero .subpage-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: clamp(38px, 6vw, 76px); }
.stories-hero .subpage-hero__copy h1 { max-width: 720px; font-size: clamp(3.2rem, 5.4vw, 5.7rem); line-height: .98; }
.stories-hero__collage { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.stories-hero__tile { overflow: hidden; border-radius: 22px; box-shadow: 0 18px 48px rgba(55,37,21,.10); }
.stories-hero__tile-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stories-hero__tile--1, .stories-hero__tile--4 { transform: translateY(14px); }
.stories-intro { background: var(--kh-bg-soft); }
.stories-intro__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 84px); align-items: start; }
.stories-intro__copy { display: grid; gap: 18px; max-width: 760px; }
.stories-intro__copy p { margin: 0; }
.stories-toc { margin-top: clamp(42px, 6vw, 72px); padding-top: 34px; border-top: 1px solid var(--kh-line); }
.stories-toc h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
.stories-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: story; }
.stories-toc li { margin: 0; }
.stories-toc a { display: grid; min-height: 112px; gap: 6px; padding: 24px; border: 1px solid var(--kh-line); border-radius: 20px; background: rgba(255,250,243,.8); transition: transform 180ms ease, border-color 180ms ease; }
.stories-toc a:hover { transform: translateY(-2px); border-color: #c4a47e; }
.stories-toc span { color: #8b6e52; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stories-toc strong { color: var(--kh-text); font-family: var(--kh-serif); font-size: 1.28rem; font-weight: 500; }
.stories-library { background: var(--kh-bg); }
.story-chapter { scroll-margin-top: 96px; padding: clamp(76px, 10vw, 138px) 0; border-top: 1px solid var(--kh-line); }
.story-chapter:first-child { border-top: 0; }
.story-chapter:nth-child(even) { background: #fbf5ec; }
.story-chapter__grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(36px, 7vw, 98px); align-items: start; }
.story-chapter__header { position: sticky; top: 112px; }
.story-chapter__header h2 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .98; }
.story-chapter__summary { margin-top: 20px; color: #6d5b4c; font-size: 1rem; }
.story-chapter__media { overflow: hidden; margin-top: 30px; border-radius: 22px; box-shadow: 0 18px 50px rgba(60,38,20,.11); }
.story-chapter__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-chapter__caption { padding: 12px 14px 14px; color: #766451; background: rgba(255,250,243,.96); font-size: .76rem; line-height: 1.5; }
.story-chapter__body { max-width: 760px; }
.story-chapter__body p { margin: 0 0 1.25em; color: #463a31; font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.86; }
.story-chapter__body p:first-child::first-letter { float: left; margin: .08em .12em 0 0; color: #8a6846; font-family: var(--kh-serif); font-size: 4.2rem; line-height: .78; }
.story-back { display: inline-block; margin-top: 18px; border-bottom: 1px solid #b99a76; color: #705639; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.stories-closing { background: var(--kh-dark); }
.stories-closing__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; }
.stories-closing .kh-eyebrow { color: #d8b98e; }
.stories-closing h2 { color: #fffaf3; }
.stories-closing p { max-width: 720px; margin-top: 18px; color: rgba(255,250,243,.72); }
.stories-closing .kh-button { background: #fffaf3; color: var(--kh-dark); border-color: #fffaf3; }

@media (max-width: 960px) {
  .home-stories__grid,
  .stories-intro__grid,
  .story-chapter__grid { grid-template-columns: 1fr; }
  .story-chapter__header { position: static; }
  .story-chapter__media { max-width: 720px; }
  .stories-closing__panel { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .stories-toc ol { grid-template-columns: 1fr; }
  .story-chapter { padding: 68px 0; }
  .story-chapter__header h2 { font-size: clamp(2rem, 11vw, 3rem); }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar.home .site-header { top: 46px; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .site-header__inner { width: min(calc(100% - 24px), 1080px); gap: 14px; }
  .site-logo { width: 190px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .70rem; letter-spacing: .06em; }
  .language-switcher { font-size: .68rem; }
}

@media (max-width: 960px) {
  .stories-hero .subpage-hero__grid { grid-template-columns: 1fr; }
  .stories-hero__collage { max-width: 720px; }
  .stories-hero .subpage-hero__copy h1 { max-width: 780px; }
}
@media (max-width: 620px) {
  .stories-hero { padding: 52px 0 62px; }
  .stories-hero__collage { gap: 6px; }
  .stories-hero__tile { border-radius: 14px; }
  .stories-hero__tile--1, .stories-hero__tile--4 { transform: translateY(7px); }
}
