/*
Theme Name: マルプリティ
Theme URI: https://malpretty.jp/
Author: Funnel Ai
Description: マルプリティ ブランド差別化版モックv0.7を再現するカスタムテーマ。子犬CPT・犬種ハブ・共通サイト切替・サーバーサイド絞り込みを備えたステージング検証用実装です。
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: malpretty-theme
*/


/*
 * Malpretty high-fidelity design mock v0.7
 * Bright boutique breeder identity: apricot, coral, editorial photography.
 * Shared with 無料保護犬の里 only at the quality and interaction layer.
 */

:root {
  --mp-ink: #30201d;
  --mp-ink-soft: #604842;
  --mp-muted: #816c66;
  --mp-coral: #e9674f;
  --mp-coral-dark: #c84d39;
  --mp-coral-solid: #c84d39;
  --mp-apricot: #f39a63;
  --mp-apricot-light: #ffd7bd;
  --mp-peach: #fff0e8;
  --mp-blush: #fff8f4;
  --mp-yellow: #f7c85b;
  --mp-yellow-light: #fff4ce;
  --mp-paper: #fffdfb;
  --mp-white: #ffffff;
  --mp-line: #ecd9d2;
  --mp-line-strong: #d9bab0;
  --mp-green: #356b58;
  --mp-green-dark: #234c3e;
  --mp-green-light: #edf5f1;
  --mp-line-brand: #06c755;
  --mp-shadow: 0 18px 50px rgba(76, 32, 23, 0.13);
  --mp-shadow-soft: 0 10px 30px rgba(76, 32, 23, 0.08);
  --mp-max: 1240px;
  --mp-radius: 12px;
  --mp-radius-small: 7px;
  --mp-text: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --mp-display: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mp-paper);
  color: var(--mp-ink);
  font-family: var(--mp-text);
  font-size: 16px;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

figure,
blockquote {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(233, 103, 79, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--mp-ink);
  color: var(--mp-white);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(calc(100% - 56px), var(--mp-max));
  margin-inline: auto;
}

/* Shared purpose switch: same information architecture, Malpretty treatment. */
.site-switch {
  position: relative;
  z-index: 80;
  border-bottom: 1px solid var(--mp-line);
  background: var(--mp-white);
  font-size: 12px;
}

.site-switch__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
  min-height: 38px;
  margin-inline: auto;
}

.site-switch__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 18px;
  color: var(--mp-ink-soft);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-switch__item strong {
  font-size: 12px;
}

.site-switch__item.is-current {
  background: var(--mp-coral-solid);
  color: var(--mp-white);
}

.site-switch__item--rescue {
  color: var(--mp-green-dark);
}

.site-switch__item--rescue:hover {
  background: var(--mp-green-light);
}

.site-switch__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: currentColor;
  border-radius: 50%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mp-line);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mp-coral) 0 40%, var(--mp-apricot) 40% 75%, var(--mp-yellow) 75%);
  content: "";
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 26px;
}

.brand-logo {
  width: 188px;
  flex: 0 0 188px;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  margin-left: auto;
}

.desktop-nav ul,
.mobile-menu ul,
.footer-nav,
.breadcrumb ol,
.article-nav ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  position: relative;
  display: block;
  padding: 30px 0 27px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--mp-coral);
  content: "";
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 20px;
  background: var(--mp-coral-solid);
  border: 1px solid var(--mp-coral-solid);
  border-radius: var(--mp-radius-small);
  color: var(--mp-white);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--mp-yellow-light);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--mp-yellow-light);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  background: var(--mp-white);
  border: 1px solid var(--mp-line-strong);
  border-radius: var(--mp-radius-small);
  color: var(--mp-ink);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  left: 13px;
  width: 21px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, top 160ms ease, opacity 160ms ease;
}

.menu-toggle::before { top: 15px; }
.menu-toggle span { top: 22px; }
.menu-toggle::after { top: 29px; }
.menu-toggle[aria-expanded="true"]::before { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 65;
  top: 88px;
  right: 0;
  left: 0;
  max-height: calc(100vh - 88px);
  overflow: auto;
  padding: 28px;
  background: var(--mp-white);
  border-top: 6px solid var(--mp-coral);
  border-bottom: 1px solid var(--mp-line);
  box-shadow: var(--mp-shadow);
}

.mobile-menu li + li {
  border-top: 1px solid var(--mp-line);
}

.mobile-menu nav a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-menu nav a::after {
  color: var(--mp-coral);
  content: "→";
}

.mobile-menu__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

/* Buttons */
.button,
.filter-reset {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--mp-radius-small);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.filter-reset:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--mp-coral-solid);
  border-color: var(--mp-coral-solid);
  color: var(--mp-white);
  box-shadow: 7px 7px 0 var(--mp-yellow-light);
}

.button--primary:hover {
  background: var(--mp-coral-dark);
  box-shadow: 4px 4px 0 var(--mp-yellow-light);
}

.button--outline,
.filter-reset {
  background: var(--mp-white);
  border-color: var(--mp-line-strong);
  color: var(--mp-ink);
}

.button--outline:hover,
.filter-reset:hover {
  border-color: var(--mp-coral);
  color: var(--mp-coral-dark);
}

.button--line {
  background: var(--mp-line-brand);
  border-color: var(--mp-line-brand);
  color: var(--mp-white);
}

.button--green {
  background: var(--mp-green-dark);
  border-color: var(--mp-green-dark);
  color: var(--mp-white);
}

.button--green:hover {
  background: var(--mp-green);
}

.button--small {
  min-height: 46px;
  padding-inline: 19px;
  font-size: 13px;
}

.button__arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.button-row,
.hero-actions,
.relation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Home hero: editorial overlap, image-led, intentionally unlike A-1. */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 72px;
  background:
    linear-gradient(90deg, var(--mp-white) 0 64%, var(--mp-peach) 64% 100%);
}

.home-hero::before {
  position: absolute;
  top: 36px;
  right: -48px;
  width: 260px;
  height: 260px;
  background-image: radial-gradient(var(--mp-apricot) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  content: "";
  opacity: 0.38;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  min-height: 620px;
  align-items: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
  grid-column: 1 / 8;
  grid-row: 1;
  align-self: stretch;
  padding: 10px 0 28px 12px;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 570px;
  overflow: hidden;
  background: var(--mp-peach);
  border-radius: 18px 76px 18px 18px;
  box-shadow: -12px 12px 0 var(--mp-apricot-light);
}

.hero-photo::after {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px 58px 10px 10px;
  content: "";
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 7 / 13;
  grid-row: 1;
  margin-left: -8px;
  padding: 52px 50px 50px 56px;
  background: rgba(255, 253, 251, 0.97);
  border-left: 9px solid var(--mp-coral);
  box-shadow: var(--mp-shadow);
}

.eyebrow,
.section-kicker,
.puppy-card__breed,
.detail-summary__breed {
  margin: 0 0 14px;
  color: var(--mp-coral-dark);
  font-family: var(--mp-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 28px;
  height: 4px;
  margin-right: 10px;
  vertical-align: 3px;
  background: var(--mp-yellow);
  content: "";
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(2.5rem, 3.5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.hero-copy h1 .accent {
  color: var(--mp-coral-dark);
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 30px;
  color: var(--mp-ink-soft);
  font-size: 16px;
}

.hero-microcopy {
  margin: 22px 0 0;
  color: var(--mp-muted);
  font-size: 12px;
}

.hero-float {
  position: absolute;
  z-index: 5;
  top: 34px;
  left: -22px;
  display: grid;
  width: 112px;
  min-height: 82px;
  place-items: center;
  padding: 12px;
  transform: rotate(-5deg);
  background: var(--mp-yellow);
  border: 2px solid var(--mp-ink);
  color: var(--mp-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  box-shadow: 6px 6px 0 var(--mp-ink);
}

.hero-award {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 0;
  width: min(330px, 60%);
  padding: 21px 24px;
  background: var(--mp-ink);
  color: var(--mp-white);
}

.hero-award strong,
.hero-award span {
  display: block;
}

.hero-award strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.hero-award span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

/* Trust band */
.trust-bar {
  background: var(--mp-coral-solid);
  color: var(--mp-white);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  display: flex;
  min-width: 0;
  min-height: 104px;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.trust-item__icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  background: var(--mp-yellow);
  color: var(--mp-ink);
}

.trust-item__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-item > div > strong,
.trust-item > div > span {
  display: block;
}

.trust-item strong { font-size: 13px; }
.trust-item div > span { color: var(--mp-white); font-size: 12px; }

/* Sections */
.section {
  position: relative;
  padding: clamp(76px, 8vw, 118px) 0;
  background: var(--mp-paper);
}

.section--soft {
  background: var(--mp-peach);
}

.section--warm {
  background: var(--mp-yellow-light);
}

.section--green {
  background: var(--mp-green-dark);
  color: var(--mp-white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 42px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mp-line);
}

.section-heading__copy {
  max-width: 760px;
}

.section-title {
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.32;
}

.section-lead {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--mp-ink-soft);
}

.section--green .section-kicker,
.section--green .section-title {
  color: var(--mp-white);
}

.section--green .section-lead {
  color: rgba(255, 255, 255, 0.76);
}

.section--green .section-heading {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.snapshot-note {
  display: block;
  margin-top: 16px;
  padding-left: 13px;
  border-left: 3px solid var(--mp-apricot);
  color: var(--mp-muted);
  font-size: 11px;
}

/* Puppy cards */
.puppy-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.puppy-card {
  position: relative;
  overflow: hidden;
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius);
  box-shadow: 0 7px 0 var(--mp-apricot-light);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.puppy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 0 var(--mp-apricot-light);
}

.puppy-card__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.puppy-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mp-peach);
}

.puppy-card__media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--mp-coral), var(--mp-apricot), var(--mp-yellow));
  content: "";
}

.puppy-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.puppy-card:hover .puppy-card__media img {
  transform: scale(1.035);
}

.status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  background: var(--mp-coral-solid);
  color: var(--mp-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.status-badge--overlay {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
}

.status-badge--pending {
  background: #a66d18;
}

.puppy-card__body {
  padding: 24px;
}

.puppy-card__breed {
  margin-bottom: 8px;
  font-size: 10px;
}

.puppy-card__name {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.puppy-card__meta {
  margin: 12px 0 20px;
  color: var(--mp-muted);
  font-size: 13px;
}

.puppy-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--mp-line);
}

.puppy-card__price {
  color: var(--mp-coral-dark);
  font-family: var(--mp-display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.puppy-card__price small {
  margin-left: 4px;
  color: var(--mp-muted);
  font-family: var(--mp-text);
  font-size: 10px;
  font-weight: 700;
}

.puppy-card__more {
  color: var(--mp-ink);
  font-size: 11px;
  font-weight: 900;
}

/* Search and forms */
.search-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 16px;
  padding: 30px;
  background: var(--mp-coral-solid);
  border: 2px solid var(--mp-ink);
  box-shadow: 10px 10px 0 var(--mp-ink);
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
}

.search-box .field label {
  color: var(--mp-white);
}

.field select,
.listing-sort {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 14px;
  background-color: var(--mp-white);
  border: 1px solid var(--mp-line-strong);
  border-radius: var(--mp-radius-small);
  color: var(--mp-ink);
}

.search-box .button {
  min-width: 180px;
  background: var(--mp-ink);
  border-color: var(--mp-ink);
  box-shadow: none;
}

/* Value and process blocks */
.value-grid,
.process-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.value-card {
  position: relative;
  padding: 28px 0 0;
  border-top: 7px solid var(--mp-coral);
}

.value-card:nth-child(2) { border-top-color: var(--mp-apricot); }
.value-card:nth-child(3) { border-top-color: var(--mp-yellow); }

.value-card__number {
  display: block;
  margin-bottom: 26px;
  color: var(--mp-apricot-light);
  font-family: var(--mp-display);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 0.8;
}

.value-card h3,
.process-card h3,
.impact-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.value-card p,
.process-card p,
.impact-card p {
  margin: 0;
  color: var(--mp-ink-soft);
  font-size: 14px;
}

.process-grid {
  position: relative;
}

.process-grid::before {
  position: absolute;
  top: 26px;
  right: 16.6%;
  left: 16.6%;
  height: 3px;
  background: linear-gradient(90deg, var(--mp-coral), var(--mp-apricot), var(--mp-yellow));
  content: "";
}

.process-card {
  position: relative;
  z-index: 1;
  padding-top: 0;
  text-align: center;
}

.process-card__number,
.impact-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0 auto 22px;
  background: var(--mp-coral-solid);
  border: 4px solid var(--mp-paper);
  color: var(--mp-white);
  font-family: var(--mp-display);
  font-weight: 900;
}

.process-card:nth-child(2) .process-card__number { background: var(--mp-apricot); color: var(--mp-ink); }
.process-card:nth-child(3) .process-card__number { background: var(--mp-yellow); color: var(--mp-ink); }

/* First-visit reassurance */
.section--first-visit {
  position: relative;
  overflow: hidden;
  background: var(--mp-yellow-light);
  border-bottom: 1px solid var(--mp-line);
  padding: clamp(58px, 6vw, 86px) 0;
}

.section--first-visit::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 250px;
  height: 250px;
  background: var(--mp-coral);
  content: "";
  opacity: .13;
  transform: rotate(18deg);
}

.first-visit-heading {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-bottom: 42px;
}

.first-visit-heading .section-lead {
  max-width: 720px;
  margin-top: 18px;
}

.first-visit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: 24px;
}

.price-explainer,
.growth-proof {
  background: var(--mp-white);
  border: 2px solid var(--mp-ink);
  box-shadow: 10px 10px 0 var(--mp-ink);
}

.price-explainer {
  align-self: start;
  padding: clamp(30px, 4vw, 50px);
  border-top: 9px solid var(--mp-coral);
}

.price-explainer__label,
.growth-proof__eyebrow {
  margin: 0 0 12px;
  color: var(--mp-coral-dark);
  font-family: var(--mp-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price-explainer h3,
.growth-proof h3 {
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  letter-spacing: -.035em;
  line-height: 1.28;
}

.price-explainer > p:not(.price-explainer__label),
.growth-proof__copy > p:not(.growth-proof__eyebrow) {
  margin: 20px 0;
  color: var(--mp-ink-soft);
  font-size: 14px;
}

.assurance-list {
  padding: 0;
  margin: 26px 0 24px;
  border-top: 1px solid var(--mp-line);
  list-style: none;
}

.assurance-list li {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mp-line);
}

.assurance-list strong {
  color: var(--mp-coral-dark);
  font-size: 13px;
}

.assurance-list span {
  color: var(--mp-ink-soft);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mp-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration-color: var(--mp-coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.growth-proof {
  display: grid;
  grid-template-rows: minmax(300px, 1.2fr) auto;
  overflow: hidden;
  border-bottom: 9px solid var(--mp-apricot);
}

.growth-proof__media {
  position: relative;
  min-height: 300px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mp-peach);
}

.growth-proof__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 92%;
}

.growth-proof__media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  background: var(--mp-ink);
  color: var(--mp-white);
  font-size: 10px;
  font-weight: 800;
}

.growth-proof__copy {
  padding: 28px 30px 32px;
}

/* Proof and reviews */
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.proof-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  padding: 0 22px 22px 0;
}

.proof-collage::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 72%;
  background: var(--mp-coral);
  content: "";
}

.proof-collage figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--mp-radius-small);
}

.proof-collage figure:nth-child(2) {
  margin-top: 72px;
}

.proof-collage img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.proof-copy h2 {
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.proof-copy > p:not(.section-kicker) {
  margin: 24px 0;
  color: var(--mp-ink-soft);
}

.proof-points {
  border-top: 1px solid var(--mp-line);
}

.proof-point {
  position: relative;
  padding: 14px 10px 14px 30px;
  border-bottom: 1px solid var(--mp-line);
  font-size: 14px;
  font-weight: 800;
}

.proof-point::before {
  position: absolute;
  top: 20px;
  left: 4px;
  width: 11px;
  height: 11px;
  background: var(--mp-yellow);
  content: "";
  transform: rotate(45deg);
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  position: relative;
  padding: 34px 28px 28px;
  background: var(--mp-white);
  border: 1px solid rgba(48, 32, 29, 0.12);
  border-radius: var(--mp-radius-small);
}

.review-card::before {
  position: absolute;
  top: -22px;
  right: 18px;
  color: var(--mp-coral);
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  content: "“";
}

.review-card__stars {
  margin-bottom: 12px;
  color: #b78100;
  letter-spacing: .12em;
}

.review-card blockquote {
  font-weight: 700;
  line-height: 1.85;
}

.review-card cite {
  display: block;
  margin-top: 18px;
  color: var(--mp-muted);
  font-size: 11px;
  font-style: normal;
}

/* Rescue relationship module */
.relation-shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 54px;
}

.relation-copy {
  position: sticky;
  top: 124px;
  padding-left: 24px;
  border-left: 6px solid var(--mp-yellow);
}

.relation-statement {
  margin: 26px 0;
  padding: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
}

.relation-statement small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 500;
}

.rescue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.relation-shell .rescue-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rescue-card {
  display: block;
  overflow: hidden;
  background: var(--mp-white);
  color: var(--mp-ink);
  border-radius: var(--mp-radius-small);
  text-decoration: none;
}

.rescue-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.rescue-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rescue-card__body {
  padding: 18px;
}

.rescue-card__status {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--mp-green);
  color: var(--mp-green-dark);
  font-size: 10px;
  font-weight: 900;
}

.rescue-card__name {
  margin: 10px 0 6px;
  font-size: 1.2rem;
}

.rescue-card__meta,
.rescue-card__source {
  margin: 0;
  color: var(--mp-muted);
  font-size: 11px;
}

.rescue-card__source {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--mp-line);
  font-size: 9px;
}

.relation-shell > div:last-child > .relation-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

/* Social and LINE */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.social-card {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 30px;
  overflow: hidden;
  background: var(--mp-peach);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-small);
  text-decoration: none;
}

.social-card:nth-child(2) {
  background: var(--mp-yellow-light);
}

.social-card::after {
  position: absolute;
  right: 20px;
  bottom: -28px;
  color: rgba(233, 103, 79, .13);
  font-family: var(--mp-display);
  font-size: 8rem;
  font-weight: 900;
  content: "#";
}

.social-card strong,
.social-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.social-card small {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 18px;
  color: var(--mp-muted);
  font-size: 11px;
  font-weight: 800;
}

.social-card strong {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.social-card span {
  max-width: 420px;
  color: var(--mp-ink-soft);
}

.line-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 42px 46px;
  background: var(--mp-coral-solid);
  border: 2px solid var(--mp-ink);
  color: var(--mp-white);
  box-shadow: 12px 12px 0 var(--mp-ink);
}

.line-panel h2 {
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  letter-spacing: -.04em;
  line-height: 1.2;
}

.line-panel p {
  margin: 12px 0 0;
  color: var(--mp-white);
}

.line-panel .section-kicker {
  color: var(--mp-white);
}

.line-panel .button--line {
  min-width: 230px;
}

.line-panel__note {
  font-size: 11px;
}

/* Footer */
.site-footer {
  padding: 72px 0 28px;
  background: var(--mp-ink);
  color: var(--mp-white);
  border-top: 8px solid var(--mp-coral);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 60px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 22px;
}

.footer-brand > p {
  max-width: 520px;
  margin: 10px 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.footer-relation {
  margin-top: 22px;
  padding: 18px;
  background: rgba(255,255,255,.07);
  border-left: 4px solid var(--mp-green);
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.footer-relation a {
  color: var(--mp-white);
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--mp-apricot-light);
  font-size: 13px;
}

.footer-nav li + li {
  margin-top: 10px;
}

.footer-nav a,
.footer-nav span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--mp-white); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.46);
  font-size: 10px;
}

.mobile-bottom-cta {
  display: none;
}

/* Breadcrumb and page heroes */
.breadcrumb {
  background: var(--mp-white);
  border-bottom: 1px solid var(--mp-line);
}

.breadcrumb ol {
  display: flex;
  min-height: 52px;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--mp-muted);
  font-size: 11px;
}

.breadcrumb li + li::before {
  margin-right: 9px;
  color: var(--mp-coral);
  content: "/";
}

.breadcrumb a { text-decoration: none; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--mp-coral-solid);
  color: var(--mp-white);
}

.page-hero::before {
  position: absolute;
  top: -90px;
  right: 5%;
  width: 280px;
  height: 280px;
  transform: rotate(22deg);
  background: var(--mp-yellow);
  content: "";
  opacity: .92;
}

.page-hero::after {
  position: absolute;
  right: 20%;
  bottom: -92px;
  width: 210px;
  height: 210px;
  background: var(--mp-apricot-light);
  content: "";
  opacity: .4;
}

.page-hero__inner,
.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.84);
}

.page-hero .eyebrow {
  color: var(--mp-white);
}

.page-hero--green {
  background: var(--mp-green-dark);
}

.page-hero--green::before {
  background: var(--mp-coral);
}

.page-hero--green::after {
  background: var(--mp-yellow);
}

/* Listing */
.listing-layout {
  display: block;
}

.filter-panel {
  margin-bottom: 42px;
  padding: 26px 28px;
  background: var(--mp-peach);
  border-top: 7px solid var(--mp-coral);
  border-bottom: 1px solid var(--mp-line-strong);
}

.filter-panel h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.filter-panel__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.filter-reset {
  min-height: 42px;
  margin-top: 18px;
  padding-inline: 16px;
  font-size: 12px;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.listing-count {
  margin: 0;
  font-weight: 800;
}

.listing-count strong {
  color: var(--mp-coral-dark);
  font-family: var(--mp-display);
  font-size: 2.1rem;
}

.listing-sort {
  min-width: 160px;
}

.empty-state {
  padding: 52px 28px;
  background: var(--mp-peach);
  border: 2px dashed var(--mp-line-strong);
  text-align: center;
}

.empty-state h2 { margin: 0; }
.empty-state p { color: var(--mp-muted); }
.empty-state .button-row { justify-content: center; }

/* Puppy detail */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  align-items: start;
  gap: 42px;
}

.detail-layout > * {
  min-width: 0;
}

.gallery-main {
  position: relative;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  background: var(--mp-peach);
  border: 1px solid var(--mp-line);
  border-radius: 8px 54px 8px 8px;
  box-shadow: -10px 10px 0 var(--mp-apricot-light);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.gallery-thumb {
  aspect-ratio: 1.3 / 1;
  padding: 0;
  overflow: hidden;
  background: var(--mp-white);
  border: 3px solid transparent;
  border-radius: var(--mp-radius-small);
  cursor: pointer;
}

.gallery-thumb[aria-pressed="true"] {
  border-color: var(--mp-coral);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary {
  position: sticky;
  top: 124px;
  padding: 34px;
  background: var(--mp-white);
  border-top: 9px solid var(--mp-coral);
  border-right: 1px solid var(--mp-line);
  border-bottom: 1px solid var(--mp-line);
  border-left: 1px solid var(--mp-line);
  box-shadow: 10px 10px 0 var(--mp-yellow-light);
}

.detail-summary h1 {
  margin: 12px 0 8px;
  font-family: var(--mp-display);
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
  letter-spacing: -.045em;
  line-height: 1.06;
  word-break: keep-all;
}

.detail-summary__breed {
  margin-top: 18px;
}

.detail-summary__intro {
  color: var(--mp-ink-soft);
}

.detail-summary__fine {
  margin-bottom: 0;
  color: var(--mp-muted);
  font-size: 10px;
}

.detail-price {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--mp-line);
  border-bottom: 1px solid var(--mp-line);
}

.detail-price__label,
.detail-price__value {
  display: block;
}

.detail-price__label {
  color: var(--mp-muted);
  font-size: 11px;
  font-weight: 800;
}

.detail-price__value {
  color: var(--mp-coral-dark);
  font-family: var(--mp-display);
  font-size: 2.2rem;
  font-weight: 900;
}

.detail-summary .button {
  width: 100%;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 24px;
  margin-top: 50px;
}

.detail-section,
.content-block,
.info-box {
  padding: 30px;
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-small);
}

.detail-section h2,
.content-block h2,
.info-box h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.detail-section p,
.content-block p,
.info-box p {
  color: var(--mp-ink-soft);
}

.detail-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  padding: 0;
  list-style: none;
}

.detail-includes li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
}

.detail-includes li::before {
  position: absolute;
  top: 11px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--mp-yellow);
  content: "";
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--mp-line);
}

.spec-row dt,
.spec-row dd {
  margin: 0;
  padding: 13px 8px;
}

.spec-row dt {
  color: var(--mp-muted);
  font-size: 12px;
  font-weight: 800;
}

.spec-row dd {
  font-size: 13px;
}

/* Breed hub and long-form pages */
.breed-hero-grid,
.activity-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: 54px;
}

.activity-hero-grid {
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
}

.activity-hero-grid > div:first-child {
  grid-column: 2;
  grid-row: 1;
}

.activity-hero-grid .activity-hero-image {
  grid-column: 1;
  grid-row: 1;
}

.breed-hero-grid h1,
.activity-hero-grid h1 {
  max-width: none;
}

.breed-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 28px 0;
}

.breed-fact {
  padding: 16px 12px;
  background: rgba(255,255,255,.16);
  border-left: 4px solid var(--mp-yellow);
}

.breed-fact strong,
.breed-fact span {
  display: block;
}

.breed-fact strong { font-size: 13px; }
.breed-fact span { color: rgba(255,255,255,.72); font-size: 10px; }

.breed-hero-image,
.activity-hero-image {
  position: relative;
  padding: 18px 18px 0 0;
}

.breed-hero-image::before,
.activity-hero-image::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 72%;
  background: var(--mp-yellow);
  content: "";
}

.activity-hero-image::before {
  background: var(--mp-coral);
}

.breed-hero-image img,
.activity-hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--mp-white);
  border-radius: var(--mp-radius-small);
  box-shadow: var(--mp-shadow);
}

.article-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.article-nav {
  position: sticky;
  top: 124px;
  padding: 22px 0;
  border-top: 6px solid var(--mp-coral);
  border-bottom: 1px solid var(--mp-line-strong);
}

.article-nav h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.article-nav li + li {
  margin-top: 9px;
}

.article-nav a,
.article-nav li {
  color: var(--mp-muted);
  font-size: 12px;
  text-decoration: none;
}

.article-body > section {
  padding: 0 0 56px;
}

.article-body > section + section {
  padding-top: 50px;
  border-top: 1px solid var(--mp-line);
}

.article-body h2 {
  margin: 0 0 20px;
  font-family: var(--mp-display);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -.04em;
  line-height: 1.25;
}

.article-body p {
  color: var(--mp-ink-soft);
}

.faq-list details {
  background: var(--mp-white);
  border-top: 1px solid var(--mp-line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--mp-line);
}

.faq-list summary {
  padding: 18px 8px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  padding: 0 8px 20px;
  margin: 0;
}

.breed-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 62px;
  padding: 32px;
  background: var(--mp-green-light);
  border-left: 8px solid var(--mp-green);
}

.breed-bridge h2 {
  margin: 0;
  font-size: 1.35rem;
}

.breed-bridge p {
  margin: 8px 0 0;
  color: var(--mp-muted);
}

/* Rescue activity page */
.activity-statement {
  position: relative;
  padding: 32px 38px 32px 52px;
  background: var(--mp-yellow-light);
  border: 2px solid var(--mp-ink);
  color: var(--mp-ink);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.55;
  box-shadow: 10px 10px 0 var(--mp-coral);
}

.activity-statement::before {
  position: absolute;
  top: 38px;
  left: 22px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--mp-coral);
  content: "";
}

.activity-statement small {
  display: block;
  margin-top: 14px;
  color: var(--mp-muted);
  font-size: 10px;
  font-weight: 500;
}

.impact-card {
  padding: 28px;
  background: rgba(255,255,255,.09);
  border-top: 5px solid var(--mp-yellow);
}

.impact-card__icon {
  margin: 0 0 20px;
  background: var(--mp-coral-solid);
  border: 0;
}

.impact-card h3 { color: var(--mp-white); }
.impact-card p { color: rgba(255,255,255,.74); }

/* Review hub */
.mock-index {
  min-height: 100vh;
  padding: 70px 0;
  background:
    linear-gradient(90deg, var(--mp-white) 0 70%, var(--mp-peach) 70%),
    var(--mp-white);
}

.mock-index__header {
  max-width: 850px;
  padding: 46px;
  background: var(--mp-white);
  border-left: 10px solid var(--mp-coral);
  box-shadow: var(--mp-shadow);
}

.mock-status {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 10px;
  background: var(--mp-coral-solid);
  color: var(--mp-white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.mock-index h1 {
  margin: 0;
  font-family: var(--mp-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  letter-spacing: -.06em;
  line-height: 1.05;
}

.mock-index__header p {
  margin: 22px 0 0;
  color: var(--mp-ink-soft);
}

.mock-page-grid,
.mock-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.mock-page-card,
.mock-note {
  padding: 28px;
  background: var(--mp-white);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-small);
}

.mock-page-card {
  text-decoration: none;
  box-shadow: 0 7px 0 var(--mp-apricot-light);
}

.mock-page-card span,
.mock-page-card strong,
.mock-page-card small {
  display: block;
}

.mock-page-card span {
  color: var(--mp-coral-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.mock-page-card strong {
  margin: 8px 0;
  font-size: 1.35rem;
}

.mock-page-card small,
.mock-note p,
.mock-note li {
  color: var(--mp-muted);
  font-size: 12px;
}

.mock-note h2 { margin-top: 0; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 1160px) {
  .container {
    width: min(calc(100% - 42px), var(--mp-max));
  }

  .header-inner { gap: 18px; }
  .brand-logo { width: 166px; flex-basis: 166px; }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 540px;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding-left: 0;
  }

  .hero-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin-left: 0;
    padding: clamp(32px, 4vw, 44px);
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 3.2vw, 2.7rem);
    letter-spacing: -0.02em;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-photo {
    min-height: 500px;
  }

  .hero-float {
    left: 16px;
  }

  .trust-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.28);
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .relation-shell {
    grid-template-columns: 1fr;
  }

  .relation-copy {
    position: static;
  }

  .relation-shell .rescue-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: 500px;
  }

  .hero-visual {
    grid-column: 1;
  }

  .hero-copy {
    grid-column: 2;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  }

  .puppy-grid,
  .listing-grid,
  .review-grid,
  .rescue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .first-visit-grid {
    grid-template-columns: 1fr;
  }

  .growth-proof {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    grid-template-rows: auto;
  }

  .growth-proof__media {
    aspect-ratio: auto;
  }

  .search-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid,
  .detail-layout,
  .breed-hero-grid,
  .activity-hero-grid {
    grid-template-columns: 1fr;
  }

  .activity-hero-grid > div:first-child,
  .activity-hero-grid .activity-hero-image {
    grid-column: auto;
    grid-row: auto;
  }

  .detail-summary,
  .article-nav {
    position: static;
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .breed-hero-image,
  .activity-hero-image {
    max-width: 520px;
  }

  .breed-hero-image img,
  .activity-hero-image img {
    aspect-ratio: 4 / 3;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

}

@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 32px), var(--mp-max));
  }

  .site-switch__inner {
    max-width: none;
    min-height: 34px;
  }

  .site-switch__item {
    min-width: 0;
    gap: 5px;
    padding: 7px 8px;
  }

  .site-switch__item strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-switch__item > span:not(.site-switch__dot) {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: 146px;
    flex-basis: 146px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    left: 11px;
  }

  .mobile-menu {
    top: 72px;
    max-height: calc(100vh - 72px);
    padding: 22px 18px 28px;
  }

  .home-hero {
    padding: 0 0 56px;
    background: var(--mp-peach);
  }

  .home-hero::before {
    display: none;
  }

  .hero-grid {
    display: flex;
    width: 100%;
    min-height: 0;
    flex-direction: column;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    padding: 0;
  }

  .hero-photo {
    min-height: 350px;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-photo::after {
    inset: 12px;
    border-radius: 0;
  }

  .hero-photo img {
    transform: scale(1.14);
    transform-origin: 54% 18%;
    object-position: 54% 42%;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: -48px 16px 0;
    padding: 32px 24px 28px;
    border-top: 7px solid var(--mp-coral);
    border-left: 0;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.1rem);
  }

  .hero-lead {
    margin: 20px 0 24px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-float {
    top: 20px;
    left: 16px;
    width: 92px;
    min-height: 66px;
    font-size: 11px;
    box-shadow: 4px 4px 0 var(--mp-ink);
  }

  .hero-award {
    display: none;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    min-height: 88px;
    gap: 9px;
    padding: 14px 10px;
  }

  .trust-item__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .trust-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .trust-item strong { font-size: 12px; }
  .trust-item div > span { font-size: 11px; }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
    padding-bottom: 18px;
  }

  .section-heading > .button {
    width: 100%;
    margin-top: 22px;
  }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.7rem);
  }

  .puppy-grid,
  .listing-grid,
  .review-grid,
  .rescue-grid,
  .relation-shell .rescue-grid,
  .social-grid,
  .value-grid,
  .process-grid,
  .impact-grid,
  .mock-page-grid,
  .mock-notes {
    grid-template-columns: 1fr;
  }

  .first-visit-heading {
    margin-bottom: 30px;
  }

  .price-explainer,
  .growth-proof {
    box-shadow: 7px 7px 0 var(--mp-ink);
  }

  .growth-proof {
    grid-template-columns: 1fr;
    grid-template-rows: 330px auto;
  }

  .assurance-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .puppy-card__body {
    padding: 21px;
  }

  .search-box {
    grid-template-columns: 1fr;
    padding: 22px;
    box-shadow: 7px 7px 0 var(--mp-ink);
  }

  .search-box .button {
    width: 100%;
  }

  .value-grid,
  .process-grid,
  .impact-grid {
    gap: 34px;
  }

  .value-card__number {
    font-size: 3.8rem;
  }

  .process-grid::before {
    top: 0;
    bottom: 0;
    left: 27px;
    width: 3px;
    height: auto;
  }

  .process-card {
    min-height: 80px;
    padding-left: 80px;
    text-align: left;
  }

  .process-card__number {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .proof-collage {
    padding: 0 14px 14px 0;
  }

  .proof-collage img {
    height: 280px;
  }

  .proof-collage figure:nth-child(2) {
    margin-top: 42px;
  }

  .proof-copy h2 {
    font-size: 2.2rem;
  }

  .proof-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-actions .button {
    width: 100%;
  }

  .relation-copy {
    padding-left: 18px;
  }

  .line-panel {
    display: block;
    padding: 30px 24px;
    box-shadow: 8px 8px 0 var(--mp-ink);
  }

  .line-panel .button {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-legal {
    display: block;
  }

  .footer-legal span {
    display: block;
  }

  .footer-legal span + span {
    margin-top: 6px;
  }

  .mobile-bottom-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 0;
    padding: 0;
    background: var(--mp-white);
    border-top: 1px solid var(--mp-line-strong);
    box-shadow: 0 -8px 24px rgba(48, 32, 29, .12);
  }

  .mobile-bottom-cta .button {
    min-height: 64px;
    border-width: 0;
    border-radius: 0;
  }

  .mobile-bottom-cta .button--outline {
    border-right: 1px solid var(--mp-line);
  }

  .mobile-bottom-cta .button--line,
  .mobile-bottom-cta .button--green {
    background: var(--mp-coral-solid);
  }

  .page-hero {
    padding: 68px 0;
  }

  .page-hero::before {
    top: -55px;
    right: -65px;
    width: 170px;
    height: 170px;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7vw, 1.95rem);
  }

  .filter-panel {
    padding: 22px 18px;
  }

  .filter-panel__fields {
    grid-template-columns: 1fr;
  }

  .listing-toolbar {
    align-items: end;
  }

  .listing-sort {
    min-width: 138px;
  }

  .detail-layout {
    gap: 30px;
  }

  .gallery-main {
    border-radius: 6px 34px 6px 6px;
    box-shadow: -6px 6px 0 var(--mp-apricot-light);
  }

  .detail-summary {
    padding: 26px 22px;
    box-shadow: 7px 7px 0 var(--mp-yellow-light);
  }

  .detail-content {
    margin-top: 36px;
  }

  .detail-section,
  .content-block,
  .info-box {
    padding: 24px 20px;
  }

  .detail-includes {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 105px 1fr;
  }

  .breed-facts {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .breed-fact {
    padding: 12px 8px;
  }

  .breed-hero-image,
  .activity-hero-image {
    padding: 12px 12px 0 0;
  }

  .breed-hero-image img,
  .activity-hero-image img {
    aspect-ratio: 4 / 3;
    border-width: 5px;
  }

  .article-grid {
    gap: 34px;
  }

  .article-nav {
    padding: 18px 0;
  }

  .breed-bridge {
    display: block;
    padding: 24px 20px;
  }

  .breed-bridge .button {
    width: 100%;
    margin-top: 22px;
  }

  .activity-statement {
    padding: 26px 22px 26px 42px;
    box-shadow: 7px 7px 0 var(--mp-coral);
  }

  .activity-statement::before {
    left: 18px;
  }

  .mock-index {
    padding: 34px 0 60px;
    background: var(--mp-peach);
  }

  .mock-index__header {
    padding: 30px 24px;
  }

  .mock-index h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* v0.5: Japanese phrase-aware line breaking for display headings.
   Progressive enhancement (Chrome 119+); unsupported browsers keep current wrapping. */
.hero-copy h1,
.page-hero h1,
.section-title,
.proof-copy h2,
.line-panel h2,
.growth-proof__copy h3,
.price-explainer h3,
.breed-bridge h2,
.empty-state h2,
.trust-item strong,
.trust-item span {
  word-break: auto-phrase;
}

/* v0.5: mock annotation must stay readable on the coral page hero. */
.page-hero .snapshot-note {
  border-left-color: var(--mp-yellow);
  color: var(--mp-white);
}


/* ==========================================================================
   WordPress integration additions (theme v0.1.0)
   ========================================================================== */

/* WP標準のスクリーンリーダー専用クラス（.visually-hiddenと同義） */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 管理バー表示時のずれ補正 */
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* JS有効時はサーバー送信ボタンを隠し、即時絞り込みへ切り替える */
.js-filters .listing-apply {
  display: none;
}

/* ページ送り（the_posts_pagination） */
.pagination {
  margin-top: 32px;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid rgba(31, 27, 22, 0.18);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.pagination .page-numbers.current {
  background: #1f1b16;
  border-color: #1f1b16;
  color: #fff;
}
.pagination .page-numbers.dots {
  border: 0;
}

/* 価格未設定時の表示 */
.puppy-card__price--ask,
.detail-price__value--ask {
  font-size: 15px;
  font-weight: 700;
}

/* 本文エディター由来の画像・要素の安全側の初期値 */
.article-body img {
  max-width: 100%;
  height: auto;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}
