:root {
  --ivory: #fffaf6;
  --paper: #fffdfb;
  --forest: #40352f;
  --forest-2: #5e4b42;
  --clay: #e07859;
  --clay-dark: #b44b2f;
  --sage: #edf0e7;
  --sand: #f3e9df;
  --rose: #f8e7df;
  --ink: #312b28;
  --muted: #6e625c;
  --line: #ead9cf;
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --wrap: min(1240px, calc(100vw - 48px));
  --reading: 720px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(64, 53, 47, 0.1);
}

/* Clinical-safety hierarchy: triage comes before tracking. */
.guide-mobile-triage,
.lesson-mobile-triage {
  display: none !important;
}

html body.guide-v8 .guide-triage-first,
html body.lesson-v9 .lesson-triage-v9,
html body.health-v1 .health-triage-first {
  color: #fffaf5 !important;
  background: #8c3425 !important;
}

html body.guide-v8 .guide-triage-first .wm-wrap,
html body.lesson-v9 .lesson-triage-v9 .wm-wrap {
  display: grid !important;
  grid-template-columns: minmax(210px, 0.72fr) minmax(360px, 1.7fr) auto !important;
  align-items: center !important;
  gap: 26px !important;
  max-width: 1240px !important;
  padding-block: 26px !important;
}

html body.guide-v8 .guide-triage-first span,
html body.lesson-v9 .lesson-triage-v9 span {
  display: block !important;
  margin-bottom: 5px !important;
  color: #ffd2bf !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
}

html body.guide-v8 .guide-triage-first h2,
html body.lesson-v9 .lesson-triage-v9 h2 {
  margin: 0 !important;
  color: inherit !important;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  line-height: 1.05 !important;
}

html body.guide-v8 .guide-triage-first p,
html body.lesson-v9 .lesson-triage-v9 p {
  max-width: none !important;
  margin: 0 !important;
  color: #fffaf5 !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}

html body.guide-v8 .guide-triage-first .button,
html body.lesson-v9 .lesson-triage-v9 .button {
  border-color: #fffaf5 !important;
  color: #4a241c !important;
  background: #fffaf5 !important;
  white-space: nowrap !important;
}

html body.guide-v8 .guide-method-safety {
  margin: 12px 0 18px !important;
  padding: 14px 16px !important;
  border-left: 4px solid #ba4a31 !important;
  color: #3e2f29 !important;
  background: #f6e6dc !important;
  line-height: 1.5 !important;
}

html body.health-v1 .health-triage-first {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 20px clamp(22px, 4vw, 54px) !important;
}

html body.health-v1 .health-triage-first strong {
  font-family: Georgia, serif !important;
  font-size: 1.25rem !important;
}

html body.health-v1 .health-triage-first p {
  margin: 0 !important;
  color: inherit !important;
  line-height: 1.45 !important;
}

html body.health-v1 .health-triage-first a {
  color: #fffaf5 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body.home-v17 .home-insight-metrics,
html body.bed-v7 .metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  html body.guide-v8 .guide-triage-first .wm-wrap,
  html body.lesson-v9 .lesson-triage-v9 .wm-wrap,
  html body.health-v1 .health-triage-first {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  html body.home-v17 .home-insight-metrics,
  html body.bed-v7 .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  html body.guide-v8 .guide-mobile-triage,
  html body.lesson-v9 .lesson-mobile-triage {
    display: grid !important;
    gap: 4px !important;
    margin: 16px 0 !important;
    padding: 14px 16px !important;
    border: 1px solid #a74431 !important;
    border-radius: 12px !important;
    color: #fffaf5 !important;
    background: #8c3425 !important;
    text-decoration: none !important;
  }

  html body.guide-v8 .guide-mobile-triage strong,
  html body.lesson-v9 .lesson-mobile-triage strong {
    color: inherit !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
  }

  html body.guide-v8 .guide-mobile-triage span,
  html body.lesson-v9 .lesson-mobile-triage span {
    color: #ffe8dd !important;
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }

  html body.home-v17 .home-insight-metrics,
  html body.bed-v7 .metric-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-08-26.3 — complete product, guide, profile and private-lesson contract. */
html body main :is(h1, h2) {
  max-width: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

html body.home-v17 .home-contract-care-grid {
  grid-template-columns: 1fr;
}
html body.home-v17 .home-contract-evidence {
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  width: 100%;
  min-height: 300px;
  border-right: 0;
}
html body.home-v17 .home-contract-evidence figure {
  width: min(260px, 100%);
  justify-self: center;
}
html body.home-v17 .home-contract-evidence > div {
  padding: 44px 64px 44px 12px;
}
html body.home-v17 .home-contract-evidence h2 {
  width: 100%;
  white-space: nowrap;
}

html body.home-v17 .home-contract-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  align-items: center;
  min-height: 410px;
  padding: 34px clamp(46px, 6vw, 88px);
  border: 1px solid var(--contract-line);
  background: #fbf7f2;
}
html body.home-v17 .home-contract-guide > div {
  width: 100%;
  padding: 0;
}
html body.home-v17 .home-contract-guide :is(h2, p) {
  width: 100%;
  max-width: none;
  color: var(--contract-ink);
}
html body.home-v17 .home-contract-guide .home-kicker {
  color: var(--contract-clay);
}
html body.home-v17 .home-contract-guide h2 {
  margin: 0 0 14px;
  font-size: clamp(2.45rem, 3.4vw, 3.45rem);
  line-height: 1;
}
html body.home-v17 .home-contract-guide p {
  margin: 0 0 24px;
  font-size: 1.05rem;
}
html body.home-v17 .home-guide-book {
  margin: 0;
  display: grid;
  place-items: center;
}
html body.home-v17 .home-guide-book :is(picture, img) {
  position: static;
  display: block;
  width: min(470px, 100%);
  height: auto;
}

html body.home-v17 .home-contract-bed {
  grid-template-columns: minmax(340px, 0.31fr) minmax(430px, 0.46fr) minmax(250px, 0.23fr);
  min-height: 440px;
  padding: 28px;
  background: #fbf7f2;
}
html body.home-v17 .home-contract-bed-copy {
  padding: 24px 12px 24px 18px;
}
html body.home-v17 .home-contract-bed h2 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 2.75vw, 2.85rem);
  line-height: 1.02;
}
html body.home-v17 .home-contract-bed-copy > p {
  margin-bottom: 18px;
  font-size: 0.98rem;
}
html body.home-v17 .home-contract-bed-copy ul {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
html body.home-v17 .home-contract-bed-copy li {
  min-height: 0;
  padding: 0 0 0 22px;
  position: relative;
  border: 0;
  background: transparent;
}
html body.home-v17 .home-contract-bed-copy li::before {
  position: absolute;
  left: 0;
  color: var(--contract-clay);
  font-weight: 850;
  content: "✓";
}
html body.home-v17 .home-contract-product {
  margin: 0;
  padding: 0 14px;
  display: grid;
  place-items: center;
}
html body.home-v17 .home-contract-product :is(picture, img) {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}
html body.home-v17 .home-bed-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(245, 237, 229, 0.82);
}
html body.home-v17 .home-bed-proof > div {
  min-width: 0;
  padding: 20px 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}
html body.home-v17 .home-bed-proof > div:nth-child(odd) {
  border-right: 1px solid #e1d4ca;
}
html body.home-v17 .home-bed-proof > div:nth-child(-n + 2) {
  border-bottom: 1px solid #e1d4ca;
}
html body.home-v17 .home-bed-proof > div > span {
  color: var(--contract-clay);
  font-size: 1.55rem;
  line-height: 1;
}
html body.home-v17 .home-bed-proof p {
  margin: 0;
  color: #62564f;
  font-size: 0.82rem;
  line-height: 1.4;
}
html body.home-v17 .home-bed-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--contract-ink);
  font-size: 0.9rem;
}

html body.home-v17 .home-contract-close {
  grid-template-columns: 1fr;
  background: #fbf7f2;
}
html body.home-v17 .home-contract-insights {
  grid-template-columns: minmax(0, 0.58fr) minmax(380px, 0.42fr);
  min-height: 470px;
  border-right: 0;
  border-bottom: 1px solid var(--contract-line);
}
html body.home-v17 .home-contract-insights figure {
  margin: 0;
  padding: 34px;
  background: #f2eadf;
}
html body.home-v17 .home-contract-insights figure :is(picture, img) {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}
html body.home-v17 .home-contract-insights > div {
  padding: 52px clamp(42px, 5vw, 76px);
}
html body.home-v17 .home-contract-insights h2 {
  width: 100%;
  font-size: clamp(2.55rem, 3.5vw, 3.5rem);
}
html body.home-v17 .home-insight-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
html body.home-v17 .home-insight-metrics > div {
  padding: 12px;
  border-top: 1px solid #d9cdc3;
}
html body.home-v17 .home-insight-metrics dt {
  color: var(--contract-ink);
  font-weight: 800;
}
html body.home-v17 .home-insight-metrics dd {
  margin: 3px 0 0;
  color: #776a62;
}
html body.home-v17 .home-contract-profile {
  min-height: 0;
  padding: 24px clamp(34px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fffaf6;
}
html body.home-v17 .home-contract-profile > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}
html body.home-v17 .home-contract-profile > div > span {
  color: var(--contract-clay);
  font-size: 2rem;
}
html body.home-v17 .home-contract-profile p {
  margin: 0;
}
html body.home-v17 .home-contract-profile strong {
  display: block;
  color: var(--contract-ink);
}
html body.home-v17 .home-contract-profile > a {
  color: var(--contract-clay);
  font-weight: 800;
  white-space: nowrap;
}

html body.home-v17 .home-contract-support {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--contract-line);
  border-top: 0;
  background: #fff;
}
html body.home-v17 .home-contract-support > a {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}
html body.home-v17 .home-contract-support > a + a {
  border-left: 1px solid var(--contract-line);
}
html body.home-v17 .home-contract-support figure {
  margin: 0;
  padding: 14px;
}
html body.home-v17 .home-contract-support figure :is(picture, img) {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}
html body.home-v17 .home-contract-support > a > div {
  padding: 8px 22px 28px;
}
html body.home-v17 .home-contract-support h2 {
  margin: 0 0 8px;
  color: var(--contract-ink);
  font-size: clamp(1.42rem, 1.7vw, 1.75rem);
  line-height: 1.08;
}
html body.home-v17 .home-contract-support p {
  margin: 0 0 14px;
  font-size: 0.9rem;
}
html body.home-v17 .home-contract-support span {
  color: var(--contract-clay);
  font-weight: 800;
}

.condition-picker > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}
.condition-picker > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.condition-picker > div > label {
  min-width: 0;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.condition-picker > div input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 auto;
}
.condition-picker > div label:has(input:checked) {
  border-color: #8d9f89;
  background: #eef1e8;
}
.condition-picker > div span {
  font-size: 0.86rem;
  line-height: 1.35;
}
.condition-picker .condition-other {
  margin-top: 10px;
}
.condition-picker [data-condition-error] {
  min-height: 1.25em;
  display: block;
  margin-top: 7px;
  color: #a63225;
}

html body.account-v7 .account-scene-media {
  justify-content: flex-start;
  padding: 0;
}
html body.account-v7 .account-scene-media figure {
  width: 100%;
  height: auto;
  margin: 0;
}
html body.account-v7 .account-scene-media figure :is(picture, img) {
  position: static;
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none;
  border-radius: 0;
}
html body.account-v7 .account-scene-media > div {
  padding: 34px;
}
html body.account-v7 .account-scene-media h1 {
  width: 100%;
  font-size: clamp(2.1rem, 3.1vw, 3.1rem);
}
html body.account-v7 .account-private-lessons {
  margin: 26px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
html body.account-v7 .account-private-lessons h2 {
  margin: 0 0 5px;
  font-size: 1.45rem;
}
html body.account-v7 .account-private-lessons header p {
  margin: 0 0 14px;
}
html body.account-v7 [data-private-lessons-list] {
  display: grid;
  gap: 8px;
}
html body.account-v7 [data-private-lessons-list] a {
  padding: 12px 14px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
html body.account-v7 [data-private-lessons-list] a:hover {
  border-color: var(--clay);
}
html body.account-v7 [data-private-lessons-list] strong,
html body.account-v7 [data-private-lessons-list] span {
  display: block;
}
html body.account-v7 [data-private-lessons-list] span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}
html body.account-v7 [data-private-lessons-empty] {
  margin: 0;
}

@media (min-width: 901px) {
  html body .directory-hero-v6 {
    grid-template-columns: minmax(560px, 1.12fr) minmax(0, 0.88fr);
  }
  html body .directory-hero-v6 h1 {
    width: 100%;
    font-size: clamp(3.7rem, 5vw, 4.9rem);
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  html body.home-v17 .home-contract-bed {
    grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.62fr);
  }
  html body.home-v17 .home-bed-proof {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  html body.home-v17 .home-bed-proof > div {
    border: 0 !important;
  }
  html body.home-v17 .home-bed-proof > div + div {
    border-left: 1px solid #e1d4ca !important;
  }
  html body.home-v17 .home-contract-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.home-v17 .home-contract-support > a:nth-child(3) {
    border-left: 0;
  }
  html body.home-v17 .home-contract-support > a:nth-child(n + 3) {
    border-top: 1px solid var(--contract-line);
  }
}

@media (max-width: 900px) {
  html body.home-v17 .home-contract-evidence,
  html body.home-v17 .home-contract-guide,
  html body.home-v17 .home-contract-bed,
  html body.home-v17 .home-contract-insights {
    grid-template-columns: 1fr;
  }
  html body.home-v17 .home-contract-evidence > div {
    padding: 14px 28px 36px;
  }
  html body.home-v17 .home-contract-evidence h2 {
    white-space: normal;
  }
  html body.home-v17 .home-contract-guide {
    padding: 36px 28px;
  }
  html body.home-v17 .home-guide-book {
    order: -1;
  }
  html body.home-v17 .home-contract-bed {
    padding: 22px;
  }
  html body.home-v17 .home-contract-product {
    order: -1;
  }
  html body.home-v17 .home-bed-proof {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }
  html body.home-v17 .home-contract-insights > div {
    padding: 36px 28px;
  }
  html body.account-v7 .account-scene-v8 {
    grid-template-columns: 1fr;
  }
  .condition-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html body.home-v17 .home-contract-guide h2,
  html body.home-v17 .home-contract-insights h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.25rem);
  }
  html body.home-v17 .home-contract-bed h2 {
    font-size: clamp(1.8rem, 7.8vw, 2.1rem);
  }
  html body.home-v17 .home-guide-book :is(picture, img) {
    width: 84%;
  }
  html body.home-v17 .home-bed-proof,
  html body.home-v17 .home-contract-support,
  .condition-picker > div {
    grid-template-columns: 1fr;
  }
  html body.home-v17 .home-bed-proof > div {
    border: 0 !important;
  }
  html body.home-v17 .home-bed-proof > div + div {
    border-top: 1px solid #e1d4ca !important;
    border-left: 0 !important;
  }
  html body.home-v17 .home-contract-profile {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  html body.home-v17 .home-contract-profile > a {
    white-space: normal;
  }
  html body.home-v17 .home-contract-support > a,
  html body.home-v17 .home-contract-support > a + a {
    border-top: 1px solid var(--contract-line);
    border-left: 0;
  }
  html body.home-v17 .home-contract-support > a:first-child {
    border-top: 0;
  }
  html body.account-v7 .account-scene-v8 {
    width: calc(100% - 20px);
  }
  html body.account-v7 .account-scene-panel {
    padding: 24px 16px;
  }
  html body.account-v7 .account-scene-media > div {
    padding: 28px 22px;
  }
}

/* 2026-08-26 — owner-controlled Care Circle posts and explicit guide consent. */
html body.account-v7 [data-public-lessons-list] {
  display: grid;
  gap: 8px;
}
html body.account-v7 .account-public-lesson-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
}
html body.account-v7 .account-public-lesson-row > a {
  display: block;
  min-width: 0;
  padding: 2px 14px;
  color: var(--ink);
  text-decoration: none;
}
html body.account-v7 .account-public-lesson-row > a:hover strong {
  color: var(--clay);
}
html body.account-v7 .account-public-lesson-row :is(strong, span) {
  display: block;
}
html body.account-v7 .account-public-lesson-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}
html body .text-button.danger {
  color: #8f2f24;
  font-weight: 700;
}
html body .lesson-owner-actions {
  padding: 16px 0;
  border-bottom: 1px solid var(--wm-line, var(--line));
  background: #fff8f3;
}
html body .lesson-owner-actions[hidden] {
  display: none !important;
}
html body .lesson-owner-actions > .wm-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
}
html body .lesson-owner-actions strong {
  color: var(--wm-green, var(--ink));
  font-family: var(--serif);
  font-size: 1.18rem;
}
html body .lesson-owner-actions p {
  margin: 3px 0 0;
  color: var(--muted);
}
html body .lesson-owner-actions .form-note {
  grid-column: 1 / -1;
  margin: 0;
}
body.guide-v8 .email-capture > .guide-updates-consent {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  display: flex !important;
  gap: 9px !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin: 2px 0 0 !important;
  color: #665c55 !important;
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
}
body.guide-v8 .email-capture > .guide-updates-consent input {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 1px 0 0 !important;
}
body.guide-v8 .email-capture > .guide-updates-consent span {
  display: block !important;
  min-width: 0 !important;
}
@media (max-width: 640px) {
  html body.account-v7 .account-public-lesson-row,
  html body .lesson-owner-actions > .wm-wrap {
    grid-template-columns: 1fr;
  }
  html body.account-v7 .account-public-lesson-row > button,
  html body .lesson-owner-actions button {
    justify-self: start;
  }
}

/* 2026-08-26.4 — coherent homepage media grid and approved product visuals. */
html body.home-v17 .home-contract > section {
  min-width: 0 !important;
}

html body.home-v17 .home-contract-bed {
  grid-template-columns: minmax(320px, 0.34fr) minmax(0, 0.66fr) !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 28px 32px 0 !important;
}
html body.home-v17 .home-contract-bed-copy {
  padding: 28px 20px 34px 12px !important;
}
html body.home-v17 .home-contract-product {
  min-width: 0 !important;
  padding: 0 0 0 18px !important;
  overflow: visible !important;
}
html body.home-v17 .home-contract-product :is(picture, img) {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
}
html body.home-v17 .home-bed-proof {
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e3d5cb !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  background: #f7efe7 !important;
}
html body.home-v17 .home-bed-proof > div {
  min-height: 112px !important;
  padding: 22px 20px !important;
  border: 0 !important;
}
html body.home-v17 .home-bed-proof > div + div {
  border-left: 1px solid #e1d4ca !important;
}

html body.home-v17 .home-contract-insights {
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr) !important;
  align-items: stretch !important;
  min-height: 0 !important;
}
html body.home-v17 .home-contract-insights figure {
  display: grid !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f2eadf !important;
}
html body.home-v17 .home-contract-insights figure :is(picture, img) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
html body.home-v17 .home-contract-insights > div {
  align-self: center !important;
  padding: 46px clamp(38px, 4vw, 64px) !important;
}

html body.home-v17 .home-contract-support {
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  border-top: 1px solid var(--contract-line) !important;
}
html body.home-v17 .home-contract-support > a {
  height: 100% !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  background: #fffdf9 !important;
}
html body.home-v17 .home-contract-support figure {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 12px 0 !important;
  overflow: hidden !important;
}
html body.home-v17 .home-contract-support figure picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}
html body.home-v17 .home-contract-support figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.home-v17 .home-contract-support > a > div {
  min-height: 0 !important;
  padding: 20px 22px 26px !important;
  display: flex !important;
  flex-direction: column !important;
}
html body.home-v17 .home-contract-support p {
  margin-bottom: 18px !important;
}
html body.home-v17 .home-contract-support span {
  margin-top: auto !important;
}

@media (max-width: 1180px) and (min-width: 901px) {
  html body.home-v17 .home-contract-bed {
    grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.62fr) !important;
  }
}

@media (max-width: 900px) {
  html body.home-v17 .home-contract-bed,
  html body.home-v17 .home-contract-insights {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-bed {
    padding: 24px 24px 0 !important;
  }
  html body.home-v17 .home-contract-product {
    padding: 0 8px !important;
  }
  html body.home-v17 .home-contract-insights > div {
    padding: 36px 28px !important;
  }
}

@media (max-width: 640px) {
  html body.home-v17 .home-contract-bed {
    padding: 18px 18px 0 !important;
  }
  html body.home-v17 .home-contract-bed-copy {
    padding: 26px 4px 30px !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-template-columns: 1fr 1fr !important;
  }
  html body.home-v17 .home-bed-proof > div {
    min-height: 104px !important;
    padding: 18px 14px !important;
  }
  html body.home-v17 .home-bed-proof > div + div {
    border-left: 0 !important;
  }
  html body.home-v17 .home-bed-proof > div:nth-child(even) {
    border-left: 1px solid #e1d4ca !important;
  }
  html body.home-v17 .home-bed-proof > div:nth-child(n + 3) {
    border-top: 1px solid #e1d4ca !important;
  }
  html body.home-v17 .home-contract-support {
    grid-auto-rows: auto !important;
  }
  html body.home-v17 .home-contract-support > a > div {
    padding: 18px 18px 24px !important;
  }
}

/* Bobby story and direct contact */
.bobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) 32px;
}
.bobby-hero figure { margin: 0; }
.bobby-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.bobby-hero > div > span,
.bobby-purpose header > span,
.contact-direct > div > span {
  display: inline-block;
  margin-bottom: 18px;
  color: #b64b2f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.bobby-hero h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(3rem, 4.35vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.bobby-hero p {
  max-width: 640px;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.7;
}
.bobby-hero .bobby-signoff {
  margin-top: 24px;
  color: #e56f50;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.15;
}
.bobby-hero .bobby-signoff strong { font-size: 1.8rem; }
.bobby-letter {
  padding: clamp(64px, 9vw, 128px) 24px;
  background: #fffdf9;
}
.bobby-letter .reading-width { max-width: 790px; }
.bobby-letter p {
  margin: 0 0 28px;
  color: #584a44;
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.75;
}
.bobby-letter blockquote {
  margin: 46px 0;
  padding: 8px 0 8px 32px;
  border-left: 4px solid #ed7658;
  color: #382d29;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.28;
}
.bobby-purpose { padding: clamp(72px, 9vw, 128px) 24px; }
.bobby-purpose .wm-wrap { max-width: 1180px; }
.bobby-purpose header {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}
.bobby-purpose h2 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 3.5vw, 3.2rem);
  line-height: 1.02;
}
.bobby-purpose header p {
  color: #6e5d55;
  font-size: 1.15rem;
  line-height: 1.65;
}
.bobby-purpose .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 46px;
  border-top: 1px solid #e6d7ce;
  border-bottom: 1px solid #e6d7ce;
}
.bobby-purpose article { padding: 40px 34px; }
.bobby-purpose article + article { border-left: 1px solid #e6d7ce; }
.bobby-purpose article strong { color: #e56f50; }
.bobby-purpose article h3 { margin: 18px 0 12px; font-size: 1.55rem; }
.bobby-purpose article p { margin: 0; color: #6e5d55; line-height: 1.65; }
.bobby-purpose .button { display: table; margin: 0 auto; }
.bobby-closing {
  padding: clamp(64px, 8vw, 104px) 24px;
  background: #f7ebe3;
  text-align: center;
}
.bobby-closing p {
  margin: 0 0 26px;
  color: #3d312d;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.25;
}
.contact-direct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 84px);
}
.contact-direct figure { align-self: center; margin: 0; padding: clamp(32px, 5vw, 72px); }
.contact-direct figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.contact-direct > div {
  align-self: center;
  width: min(100%, 650px);
  padding: clamp(56px, 8vw, 112px);
}
.contact-direct h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 4.35vw, 4rem);
  line-height: 0.98;
}
.contact-direct > div > p { margin: 0 0 34px; color: #6e5d55; font-size: 1.12rem; line-height: 1.65; }
.contact-direct form { display: grid; gap: 18px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.contact-direct form label { display: grid; gap: 8px; }
.contact-direct form label span { font-weight: 750; }
.contact-direct form input,
.contact-direct form textarea {
  width: 100%;
  border: 1px solid #d7c7bd;
  border-radius: 8px;
  background: #fffdf9;
}
.contact-direct form textarea { min-height: 180px; resize: vertical; }
.contact-direct form .button { justify-self: start; }
.contact-privacy { margin: -4px 0 0; color: #7a6a63; font-size: 0.86rem; }

@media (max-width: 780px) {
  .bobby-hero,
  .contact-direct { grid-template-columns: 1fr; }
  .bobby-hero { gap: 36px; padding: 28px 20px 60px; }
  .bobby-hero h1 { font-size: clamp(2.55rem, 11vw, 3.2rem); }
  .bobby-letter { padding: 64px 20px; }
  .bobby-letter blockquote { margin: 36px 0; padding-left: 22px; }
  .bobby-purpose { padding: 64px 20px; }
  .bobby-purpose .wm-wrap > div { grid-template-columns: 1fr; }
  .bobby-purpose article { padding: 28px 4px; }
  .bobby-purpose article + article { border-top: 1px solid #e6d7ce; border-left: 0; }
  .bobby-purpose .button { display: flex; width: 100%; text-align: center; }
  .contact-direct figure { padding: 20px 20px 0; }
  .contact-direct > div { width: auto; padding: 56px 20px 72px; }
  .contact-direct h1 { font-size: clamp(2.55rem, 11vw, 3.2rem); }
  .contact-direct form .button { width: 100%; }
}

/* 2026-08-24.4 — final layout, media, and responsive corrections */

@media not all {

/* Keep the brand mark identical on every route. */
.wm-header .wm-header-inner {
  grid-template-columns: 196px minmax(0, 1fr) auto;
  min-height: 72px;
}

.wm-header .wm-wordmark[data-logo-link] {
  align-items: center;
  display: flex;
  flex: 0 0 196px;
  height: 44px;
  max-width: 196px;
  min-width: 196px;
  width: 196px !important;
}

.wm-header .wm-wordmark[data-logo-link] img {
  display: block;
  height: 44px !important;
  max-height: 44px;
  max-width: 196px;
  object-fit: contain !important;
  object-position: left center !important;
  width: 196px !important;
}

/* Prevent awkward single-word wraps in current editorial templates. */
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7)
  :is(h1, h2, h3, blockquote) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7) p {
  text-wrap: pretty;
}

body.home-v14 .home-ref-hero-copy h1 {
  font-size: clamp(2.75rem, 4.6vw, 4.8rem);
  max-width: 11.5ch;
}

body.circle-v8 .circle-hero-v7 h1,
body.lesson-v8 .lesson-hero-v7 h1,
body.guide-v7 .guide-hero-v6 h1,
body.find-care-v7 .directory-hero-v6 h1 {
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 0.99;
  max-width: 17ch;
}

/* Section-level headings use one consistent centered hierarchy. */
body.home-v14 :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths
  ) > header,
body.circle-v8 .circle-filter-bar,
body.guide-v7 :is(
    .guide-outcomes,
    .guide-topics-v6,
    .guide-method,
    .guide-lessons
  ) > header,
body.guide-v7 .guide-vet-trust > .wm-wrap > header,
body.find-care-v7 .directory-results-v6 > header {
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  max-width: 920px;
  text-align: center;
}

body.home-v14 :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths
  ) > header h2,
body.circle-v8 .circle-filter-bar h2,
body.guide-v7 :is(
    .guide-outcomes,
    .guide-topics-v6,
    .guide-method,
    .guide-lessons
  ) > header h2,
body.guide-v7 .guide-vet-trust > .wm-wrap > header h2,
body.find-care-v7 .directory-results-v6 > header h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.03;
  margin-inline: auto;
  max-width: 24ch;
}

/* Remove tinted image mats and show every source image without cropping. */
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7)
  :is(
    .home-ref-hero,
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths,
    .circle-hero-v7,
    .circle-public-card,
    .lesson-hero-v7,
    .lesson-chapter-layout,
    .guide-hero-v6,
    .guide-topics-v6,
    .guide-method,
    .guide-vet-note,
    .guide-vet-trust,
    .guide-lessons,
    .directory-hero-v6,
    .provider-card-v6,
    .practice-band-v6
  ) figure {
  background: transparent !important;
  padding: 0 !important;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7)
  :is(
    .home-ref-hero,
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths,
    .circle-hero-v7,
    .circle-public-card,
    .lesson-hero-v7,
    .lesson-chapter-layout,
    .guide-hero-v6,
    .guide-topics-v6,
    .guide-method,
    .guide-vet-note,
    .guide-vet-trust,
    .guide-lessons,
    .directory-hero-v6,
    .provider-card-v6,
    .practice-band-v6
  ) figure img {
  display: block;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

/* Homepage: one cohesive Care Circle hub instead of duplicated topic bands. */
body.home-v14 .home-care-hub {
  background:
    radial-gradient(circle at 92% 0%, rgba(226, 122, 88, 0.24), transparent 33%),
    linear-gradient(135deg, #3d2926 0%, #5c322b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(63, 35, 30, 0.16);
  color: #fffaf7;
  margin-block: 26px;
  padding: clamp(26px, 3vw, 42px);
}

body.home-v14 .home-care-hub > header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: space-between;
  max-width: none;
}

body.home-v14 .home-care-hub > header > div {
  margin-inline: auto;
  max-width: 780px;
  text-align: center;
}

body.home-v14 .home-care-hub > header h2 {
  color: #fffaf7;
  margin: 0 0 8px;
  max-width: 24ch;
}

body.home-v14 .home-care-hub > header p {
  color: rgba(255, 250, 247, 0.8);
  font-size: 1.08rem;
  margin: 0;
}

body.home-v14 .home-care-hub > header > a {
  color: #ffd2c3;
  font-size: 1rem;
  font-weight: 800;
  margin-inline: auto;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

body.home-v14 .home-care-hub .home-circle-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

body.home-v14 .home-care-hub .home-circle-card {
  align-items: stretch;
  background: #fffaf7;
  border: 1px solid rgba(76, 43, 38, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(43, 24, 21, 0.12);
  color: var(--ink, #342824);
  display: grid;
  grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
  min-height: 184px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

body.home-v14 .home-care-hub .home-circle-card:hover {
  box-shadow: 0 16px 34px rgba(43, 24, 21, 0.18);
  transform: translateY(-3px);
}

body.home-v14 .home-care-hub .home-circle-card figure {
  height: 100%;
  min-height: 184px;
  overflow: hidden;
}

body.home-v14 .home-care-hub .home-circle-card > div {
  display: flex;
  flex-direction: column;
  padding: 17px 18px 16px;
}

body.home-v14 .home-care-hub .home-circle-card small {
  color: #b64c32;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.home-v14 .home-care-hub .home-circle-card h3 {
  color: #2f2421;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  line-height: 1.08;
  margin: 8px 0 7px;
}

body.home-v14 .home-care-hub .home-circle-card p {
  color: #685b55;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0 0 14px;
}

body.home-v14 .home-care-hub .home-circle-card span {
  color: #a9442e;
  font-size: 0.9rem;
  font-weight: 850;
  margin-top: auto;
}

body.home-v14 .home-care-hub > footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 250, 247, 0.82);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 19px;
  text-align: center;
}

body.home-v14 .home-care-hub > footer strong {
  color: #fffaf7;
  font-size: 1.05rem;
}

/* Homepage guide band: clear contents, strong CTA, visible book cover. */
body.home-v14 .home-ref-guide {
  align-items: center;
  background:
    radial-gradient(circle at 84% 20%, rgba(239, 133, 95, 0.22), transparent 28%),
    linear-gradient(120deg, #3b2926 0%, #6e3b32 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(62, 34, 29, 0.17);
  color: #fffaf7;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr) 168px;
  min-height: 0;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 46px);
  padding-right: clamp(28px, 3.5vw, 46px);
  position: relative;
}

body.home-v14 .home-guide-intro {
  text-align: center;
}

body.home-v14 .home-guide-intro > span {
  color: #ffc8b5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.home-v14 .home-guide-intro h2 {
  color: #fffaf7;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.02;
  margin: 10px auto 12px;
  max-width: 19ch;
}

body.home-v14 .home-guide-intro p {
  color: rgba(255, 250, 247, 0.82);
  font-size: 1.02rem;
  line-height: 1.58;
  margin-inline: auto;
  max-width: 58ch;
}

body.home-v14 .home-guide-intro ul {
  display: grid;
  gap: 8px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px auto 0;
  max-width: 650px;
  padding: 0;
  text-align: left;
}

body.home-v14 .home-guide-intro li {
  color: #fffaf7;
  font-size: 0.95rem;
  line-height: 1.4;
  list-style: none;
  padding-left: 22px;
  position: relative;
}

body.home-v14 .home-guide-intro li::before {
  color: #f49472;
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

body.home-v14 .home-ref-guide > form {
  align-content: center;
  display: grid;
  gap: 10px;
}

body.home-v14 .home-ref-guide > form input,
body.home-v14 .home-ref-guide > form button {
  font-size: 1rem;
  min-height: 54px;
  width: 100%;
}

body.home-v14 .home-ref-guide .home-guide-book {
  background: #f7eee8;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 30px rgba(25, 12, 10, 0.26);
  color: #3b2926;
  height: 218px;
  inset: auto;
  justify-self: center;
  overflow: hidden;
  position: relative;
  right: auto;
  top: auto;
  transform: rotate(1.5deg);
  width: 158px;
}

body.home-v14 .home-ref-guide .home-guide-book img {
  height: 94px !important;
  object-fit: contain !important;
  width: 100% !important;
}

/* Equal veterinarian portraits and more legible testimonial cards. */
body.home-v14 .home-vet-testimonials {
  padding: clamp(28px, 3.5vw, 46px);
}

body.home-v14 .home-vet-testimonials > div {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

body.home-v14 .home-vet-testimonials article {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 218px;
  padding: 20px;
}

body.home-v14 .home-vet-testimonials article figure {
  aspect-ratio: 1;
  height: 176px;
  min-height: 176px;
  overflow: hidden;
  width: 176px;
}

body.home-v14 .home-vet-testimonials article figure img {
  inset: auto !important;
  position: static !important;
}

body.home-v14 .home-vet-testimonials blockquote {
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.58;
  margin: 0 0 14px;
}

body.home-v14 .home-vet-testimonials article p strong,
body.home-v14 .home-vet-testimonials article p span {
  display: block;
}

body.home-v14 .home-vet-testimonials article p strong {
  font-size: 1.08rem;
  margin-bottom: 3px;
}

/* Smart Bed: three spacious editorial stories with large natural visuals. */
body.home-v14 .home-ref-bed {
  background: linear-gradient(180deg, #fffaf7 0%, #f7ede7 100%);
  border: 1px solid #ead8ce;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(79, 49, 41, 0.12);
  padding: clamp(30px, 4vw, 54px);
}

body.home-v14 .home-ref-bed > header {
  display: block;
}

body.home-v14 .home-ref-bed > header > span {
  color: #b64c32;
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

body.home-v14 .home-ref-bed > header h2 {
  font-size: clamp(2.25rem, 3.7vw, 3.8rem);
  line-height: 1.01;
  max-width: 24ch;
}

body.home-v14 .home-ref-bed > header p {
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 12px auto 0;
  max-width: 68ch;
}

body.home-v14 .home-bed-grid {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

body.home-v14 .home-bed-story,
body.home-v14 .home-bed-comfort-story,
body.home-v14 .home-bed-layer-story,
body.home-v14 .home-bed-tracking-story {
  align-items: stretch;
  background: #fffdfb;
  border: 1px solid #e8d4c9;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 0;
  overflow: hidden;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

body.home-v14 .home-bed-story > .copy,
body.home-v14 .home-bed-comfort-story > .copy,
body.home-v14 .home-bed-layer-story > .copy,
body.home-v14 .home-bed-tracking-story > .copy {
  align-content: center;
  align-self: stretch;
  background: transparent;
  display: grid;
  gap: 14px;
  grid-area: auto;
  max-width: none;
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  width: auto;
  z-index: 1;
}

body.home-v14 .home-bed-comfort-story > .copy {
  background: linear-gradient(135deg, #3d2926 0%, #64382f 100%);
  color: #fffaf7;
}

body.home-v14 .home-bed-comfort-story > .copy :is(h3, p, li) {
  color: inherit;
}

body.home-v14 .home-bed-story h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.03;
  margin: 0;
  max-width: 18ch;
}

body.home-v14 .home-bed-story .copy > p {
  font-size: 1.05rem;
  line-height: 1.62;
  margin: 0;
  max-width: 55ch;
}

body.home-v14 .home-bed-story figure,
body.home-v14 .home-bed-comfort-story figure,
body.home-v14 .home-bed-layer-story figure,
body.home-v14 .home-bed-tracking-story figure {
  align-items: center;
  aspect-ratio: auto;
  display: flex;
  grid-area: auto;
  justify-content: center;
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

body.home-v14 .home-bed-story figure img,
body.home-v14 .home-bed-comfort-story figure img,
body.home-v14 .home-bed-layer-story figure img,
body.home-v14 .home-bed-tracking-story figure img {
  height: auto !important;
  inset: auto !important;
  max-height: none !important;
  max-width: none !important;
  position: static !important;
  width: 100% !important;
}

body.home-v14 .home-bed-feature-list,
body.home-v14 .home-bed-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-v14 .home-bed-feature-list li,
body.home-v14 .home-bed-metrics > * {
  font-size: 0.98rem;
  line-height: 1.4;
}

body.home-v14 .home-bed-story .button {
  font-size: 1rem;
  justify-self: start;
  min-height: 52px;
  padding-inline: 24px;
}

/* Care Circle: a shorter hero and dense, evenly aligned public lesson feed. */
body.circle-v8 .circle-hero-v7 {
  align-items: center;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > div {
  padding: clamp(26px, 3vw, 42px);
}

body.circle-v8 .circle-hero-v7 h1 {
  font-size: clamp(2.45rem, 3.6vw, 3.65rem);
  max-width: 16ch;
}

body.circle-v8 .circle-hero-v7 > div > p {
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 60ch;
}

body.circle-v8 .circle-hero-v7 > figure {
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > figure img {
  height: auto !important;
  max-height: 540px;
}

body.circle-v8 :is(.circle-account-gate, .circle-hero-question) {
  margin-top: 16px;
  padding: 18px;
}

body.circle-v8 .circle-hero-actions {
  margin-top: 14px;
}

body.circle-v8 .circle-ask-v7 {
  margin-block: 22px;
  padding: clamp(22px, 3vw, 36px);
}

body.circle-v8 .circle-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.circle-v8 .circle-public-grid {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.circle-v8 .circle-public-card figure {
  height: 210px;
  min-height: 210px;
}

/* Guide: generous legibility, centered section hierarchy, natural media. */
body.guide-v7 .guide-hero-v6,
body.find-care-v7 .directory-hero-v6,
body.lesson-v8 .lesson-hero-v7 {
  min-height: 0;
}

body.guide-v7 .guide-hero-v6 > figure,
body.find-care-v7 .directory-hero-v6 > figure,
body.lesson-v8 .lesson-hero-v7 > figure {
  min-height: 0;
}

body.guide-v7 .guide-hero-v6 > figure img,
body.find-care-v7 .directory-hero-v6 > figure img,
body.lesson-v8 .lesson-hero-v7 > figure img {
  height: auto !important;
  max-height: 620px;
}

body.guide-v7 .guide-topics-v6 figure,
body.guide-v7 .guide-lessons figure {
  height: 240px;
  min-height: 240px;
}

body.guide-v7 .guide-method figure,
body.guide-v7 .guide-vet-note figure,
body.lesson-v8 .lesson-chapter-layout figure {
  min-height: 0;
}

body.guide-v7 :is(.guide-method, .guide-vet-note) figure img,
body.lesson-v8 .lesson-chapter-layout figure img {
  height: auto !important;
}

body.guide-v7 .guide-vet-trust > .wm-wrap {
  align-items: stretch;
}

body.guide-v7 .guide-vet-trust article {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 214px;
}

body.guide-v7 .guide-vet-trust article figure {
  aspect-ratio: 1;
  height: 150px;
  overflow: hidden;
  width: 150px;
}

/* Find Care: real images stay intact; official-source cards always have media. */
body.find-care-v7 .directory-hero-v6 {
  align-items: center;
}

body.find-care-v7 .provider-grid-v6 {
  align-items: stretch;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.find-care-v7 .provider-card-v6 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

body.find-care-v7 .provider-card-v6 > figure,
body.find-care-v7 .provider-card-v6 > .provider-source-mark {
  height: 230px;
  min-height: 230px;
  width: 100%;
}

body.find-care-v7 .provider-card-v6 > figure {
  align-items: center;
  display: flex;
  justify-content: center;
}

body.find-care-v7 .provider-card-v6 > .provider-source-mark {
  align-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(236, 128, 92, 0.28), transparent 34%),
    linear-gradient(135deg, #29463c 0%, #17342d 100%);
  color: #fffaf7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

body.find-care-v7 .provider-source-mark span {
  color: #fffaf7;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 17ch;
}

body.find-care-v7 .provider-source-mark small {
  color: rgba(255, 250, 247, 0.76);
  font-size: 0.9rem;
  margin-top: 12px;
}

body.find-care-v7 .provider-card-v6 > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.find-care-v7 .provider-card-v6 > div:last-child > a:last-child {
  margin-top: auto;
}

body.find-care-v7 .practice-band-v6 figure img {
  height: auto !important;
}

@media (max-width: 1180px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 184px minmax(0, 1fr) auto;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] img {
    height: 41px !important;
    max-width: 184px;
    min-width: 184px;
    width: 184px !important;
  }

  body.home-v14 .home-care-hub .home-circle-grid,
  body.circle-v8 .circle-public-grid,
  body.find-care-v7 .provider-grid-v6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-v14 .home-ref-guide {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  body.home-v14 .home-ref-guide .home-guide-book {
    grid-column: 1 / -1;
    height: 190px;
    width: 140px;
  }

  body.home-v14 .home-vet-testimonials article {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  body.home-v14 .home-vet-testimonials article figure {
    height: 150px;
    min-height: 150px;
    width: 150px;
  }
}

@media (max-width: 900px) {
  body.home-v14 .home-ref-guide,
  body.home-v14 :is(
      .home-bed-story,
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    ),
  body.circle-v8 .circle-hero-v7 {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-ref-guide {
    text-align: center;
  }

  body.home-v14 .home-ref-guide > form {
    margin-inline: auto;
    max-width: 620px;
    width: 100%;
  }

  body.home-v14 .home-bed-story figure,
  body.home-v14 .home-bed-comfort-story figure,
  body.home-v14 .home-bed-layer-story figure,
  body.home-v14 .home-bed-tracking-story figure {
    min-height: 0;
  }

  body.home-v14 .home-bed-story figure img,
  body.home-v14 .home-bed-comfort-story figure img,
  body.home-v14 .home-bed-layer-story figure img,
  body.home-v14 .home-bed-tracking-story figure img {
    height: auto !important;
  }

  body.circle-v8 .circle-hero-v7 > figure {
    order: -1;
  }
}

@media (max-width: 760px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 164px minmax(0, 1fr) auto;
    min-height: 66px;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] img {
    height: 37px !important;
    max-height: 37px;
    max-width: 164px;
    min-width: 164px;
    width: 164px !important;
  }

  body.home-v14 .home-care-hub,
  body.home-v14 .home-ref-guide,
  body.home-v14 .home-vet-testimonials,
  body.home-v14 .home-ref-bed {
    border-radius: 16px;
    padding: 22px 16px;
  }

  body.home-v14 .home-care-hub .home-circle-grid,
  body.home-v14 .home-vet-testimonials > div,
  body.circle-v8 .circle-public-grid,
  body.find-care-v7 .provider-grid-v6 {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-care-hub .home-circle-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.home-v14 .home-guide-intro ul,
  body.home-v14 .home-bed-feature-list,
  body.home-v14 .home-bed-metrics {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-vet-testimonials article {
    gap: 16px;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 0;
    padding: 16px;
  }

  body.home-v14 .home-vet-testimonials article figure {
    height: 118px;
    min-height: 118px;
    width: 118px;
  }

  body.home-v14 .home-bed-story > .copy,
  body.home-v14 .home-bed-comfort-story > .copy,
  body.home-v14 .home-bed-layer-story > .copy,
  body.home-v14 .home-bed-tracking-story > .copy {
    padding: 26px 20px;
  }

  body.home-v14 .home-bed-story h3 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  body.circle-v8 .circle-hero-v7 > div {
    padding: 24px 18px;
  }

  body.circle-v8 .circle-hero-v7 h1,
  body.lesson-v8 .lesson-hero-v7 h1,
  body.guide-v7 .guide-hero-v6 h1,
  body.find-care-v7 .directory-hero-v6 h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
  }

  body.guide-v7 .guide-vet-trust article {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.guide-v7 .guide-vet-trust article figure {
    height: 112px;
    width: 112px;
  }
}

/* 2026-08-24.17 — media must stay inside its visible frame at every width.
   Each source remains uncropped: object-fit contain letterboxes when needed. */
body.home-v15 .home-vet-testimonials article > figure,
body.guide-v8 .guide-vet-trust article > figure,
body.guide-v8 .guide-topics-v6 article > figure,
body.circle-v9 .circle-public-card > figure,
body.find-care-v7 .provider-card-v6.has-photo > figure {
  position: relative !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.home-v15 .home-vet-testimonials article > figure > picture,
body.guide-v8 .guide-vet-trust article > figure > picture,
body.guide-v8 .guide-topics-v6 article > figure > picture,
body.circle-v9 .circle-public-card > figure > :is(a, picture),
body.circle-v9 .circle-public-card > figure > a > picture,
body.find-care-v7 .provider-card-v6.has-photo > figure > picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home-v15 .home-vet-testimonials article > figure img,
body.guide-v8 .guide-vet-trust article > figure img,
body.guide-v8 .guide-topics-v6 article > figure img,
body.circle-v9 .circle-public-card > figure img,
body.find-care-v7 .provider-card-v6.has-photo > figure img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

html body.guide-v6.guide-v7.guide-v8 .guide-topics-v6 article > figure > img,
html body.find-care-v6.find-care-v7 .provider-card-v6.has-photo > figure > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Keep the dedicated Smart Bed route's portrait prototype inside its
   landscape hero frame without cropping or stretching it. */
html body.bed-v6.bed-v7
  :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6)
  figure {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

html body.bed-v6.bed-v7
  :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6)
  figure > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* 2026-08-25 premium editorial system — shared across every current route. */
:root {
  --wm-premium-ink: #342825;
  --wm-premium-body: #64564f;
  --wm-premium-paper: #fffaf6;
  --wm-premium-cream: #f6eee7;
  --wm-premium-line: #dfd0c5;
  --wm-premium-clay: #bd4b2e;
  --wm-premium-sage: #e7ece2;
  --wm-premium-shadow: 0 24px 70px rgba(61, 40, 31, 0.09);
}

html { font-size: 17px; }
body {
  color: var(--wm-premium-ink);
  background: var(--wm-premium-paper);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body p { color: var(--wm-premium-body); }
body :is(h1, h2, h3) { color: var(--wm-premium-ink); text-wrap: balance; }
.wm-wrap { width: min(1280px, calc(100% - 64px)); }
.button {
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 7px;
  font-size: 0.96rem;
  font-weight: 780;
}
body :is(input, select, textarea) { font-size: 1rem; }
body :is(input, select, textarea):focus-visible,
body :is(button, a):focus-visible {
  outline: 3px solid rgba(189, 75, 46, 0.3);
  outline-offset: 3px;
}

/* Header: quiet, proportional and consistent site-wide. */
.wm-header { min-height: 76px; background: rgba(255, 250, 246, 0.97); }
.wm-header-inner {
  width: min(1280px, calc(100% - 64px));
  min-height: 76px;
  gap: 28px;
}
.wm-header .wm-wordmark[data-logo-link],
.wm-header .wm-wordmark[data-logo-link] picture,
.wm-header .wm-wordmark[data-logo-link] img {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  height: 28px !important;
  max-height: 28px !important;
}
.wm-nav { gap: 25px; }
.wm-nav :is(summary, .wm-login-link, .wm-bed-link) {
  font-size: 0.88rem;
  font-weight: 720;
  white-space: nowrap;
}
.wm-product-link { min-height: 46px; padding: 11px 18px; font-size: 0.88rem; }

/* Homepage hero and working conversation entry. */
body.home-v16 .home-reference {
  width: min(1440px, calc(100vw - 48px));
  gap: 28px;
  padding: 28px 0 48px;
}
body.home-v16 .home-ref-hero {
  min-height: 620px;
  grid-template-columns: minmax(500px, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--wm-premium-line);
  border-radius: 18px;
  background: #fffdfb;
  box-shadow: var(--wm-premium-shadow);
}
body.home-v16 .home-ref-hero-copy {
  align-self: center;
  padding: clamp(48px, 5vw, 76px);
}
body.home-v16 .home-hero-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--wm-premium-clay);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
body.home-v16 .home-ref-hero h1 {
  max-width: 640px;
  margin: 0 0 22px;
  font-size: clamp(3.5rem, 4.7vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
body.home-v16 .home-ref-hero-copy > p {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 1.12rem;
  line-height: 1.62;
}
body.home-v16 .home-ref-hero > figure {
  align-self: stretch;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ece8e3 !important;
}
body.home-v16 .home-ref-hero > figure img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}
body.home-v16 .home-hero-chat {
  max-width: 650px;
  padding: 18px;
  border: 1px solid #dbc9bc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(61, 40, 31, 0.1);
}
body.home-v16 .home-hero-chat label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--wm-premium-ink);
  font-size: 0.96rem;
  font-weight: 780;
}
body.home-v16 .home-chat-status { color: #6b7766; font-size: 0.78rem; font-weight: 650; }
body.home-v16 .home-hero-chat > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
body.home-v16 .home-hero-chat input[type="search"] {
  min-width: 0;
  min-height: 56px;
  padding: 0 15px;
  border: 1px solid #d9c8bd;
  border-radius: 7px;
  background: #fffcf9;
}
body.home-v16 .home-hero-chat p { margin: 10px 0 0; font-size: 0.8rem; line-height: 1.45; }
body.home-v16 .home-platform-model {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 4vw, 56px);
  border: 1px solid var(--wm-premium-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdfb, #f7efe8);
  box-shadow: var(--wm-premium-shadow);
}
body.home-v16 .home-platform-model > header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--wm-premium-line);
}
body.home-v16 .home-platform-model > header > span {
  color: var(--wm-premium-clay);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.13em;
}
body.home-v16 .home-platform-model > header h2 {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  font-size: clamp(2.5rem, 4vw, 3.65rem);
  line-height: 1.03;
}
body.home-v16 .home-platform-model > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
body.home-v16 .home-platform-model article {
  min-width: 0;
  padding: 0 34px;
}
body.home-v16 .home-platform-model article:first-child { padding-left: 0; }
body.home-v16 .home-platform-model article:last-child { padding-right: 0; }
body.home-v16 .home-platform-model article + article { border-left: 1px solid var(--wm-premium-line); }
body.home-v16 .home-platform-model h3 {
  margin: 0 0 12px;
  color: var(--wm-premium-ink);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.18;
}
body.home-v16 .home-platform-model p { width: 100%; max-width: none; margin: 0; font-size: 1rem; line-height: 1.62; }

/* Homepage sections share an editorial rhythm instead of stacked widgets. */
body.home-v16 :is(.home-care-hub, .home-ref-guide, .home-vet-testimonials, .home-ref-bed) {
  border-color: var(--wm-premium-line);
  border-radius: 18px;
  box-shadow: var(--wm-premium-shadow);
}
body.home-v16 .home-care-hub { padding: clamp(42px, 5vw, 72px); }
body.home-v16 .home-care-hub > header h2 { font-size: clamp(2.7rem, 4vw, 3.8rem); }
body.home-v16 .home-care-hub > header p { font-size: 1.05rem; }
body.home-v16 .home-care-hub .home-circle-card {
  min-height: 210px;
  border-radius: 10px;
  box-shadow: none;
}
body.home-v16 .home-care-hub .home-circle-card h3 { font-size: 1.08rem; line-height: 1.25; }
body.home-v16 .home-care-hub .home-circle-card p { font-size: 0.9rem; line-height: 1.5; }
body.home-v16 .home-care-hub > footer :is(strong, span) { font-size: 0.94rem; }
body.home-v16 .home-ref-guide { padding: clamp(42px, 5vw, 70px); }
body.home-v16 .home-guide-intro > span { font-size: 0.88rem; }
body.home-v16 .home-vet-testimonials { padding: clamp(38px, 4vw, 58px); }
body.home-v16 .home-vet-testimonials > header h2 { font-size: clamp(2.3rem, 3.5vw, 3.2rem); }
body.home-v16 .home-vet-testimonials article p span,
body.home-v16 .home-vet-testimonials article p strong { font-size: 0.92rem; }

/* Product must dominate its own story. */
body.home-v16 .home-ref-bed { padding: clamp(44px, 5vw, 72px); }
body.home-v16 .home-ref-bed > header > span { font-size: 0.86rem; }
body.home-v16 .home-bed-comfort-story {
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr) !important;
  min-height: 640px !important;
  background: #fff !important;
}
body.home-v16 .home-bed-comfort-story .home-bed-copy { padding: clamp(44px, 5vw, 72px); }
body.home-v16 .home-bed-comfort-story figure {
  align-self: stretch !important;
  display: grid !important;
  place-items: center !important;
  min-height: 640px !important;
  margin: 0 !important;
  padding: 28px !important;
  background: #f4eee8 !important;
}
body.home-v16 .home-bed-comfort-story figure img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-width: 780px !important;
  max-height: 610px !important;
}
body.home-v16 .home-bed-comfort-story figcaption {
  right: 34px;
  bottom: 30px;
  left: auto;
  font-size: 0.88rem;
}
body.home-v16 .home-bed-feature-list li { padding: 16px; }
body.home-v16 .home-bed-feature-list :is(strong, span) { font-size: 0.92rem; }
body.home-v16 :is(.home-bed-layer-story, .home-bed-tracking-story) { min-height: 540px; }

/* Care Circle: a composed conversation, not nested form fragments. */
body.circle-v10 .circle-hero-v7 {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  width: min(1360px, calc(100vw - 48px));
  margin: 28px auto 34px;
  overflow: hidden;
  border: 1px solid var(--wm-premium-line);
  border-radius: 18px;
  background: #fffdfb;
  box-shadow: var(--wm-premium-shadow);
}
body.circle-v10 .circle-intro-v10 {
  align-self: center;
  padding: clamp(48px, 5vw, 76px);
}
body.circle-v10 .circle-intro-v10 > span,
body.circle-v10 .circle-question-form header > span {
  color: var(--wm-premium-clay);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.13em;
}
body.circle-v10 .circle-intro-v10 h1 {
  max-width: 680px;
  margin: 12px 0 22px;
  font-size: clamp(3.2rem, 4.5vw, 4.5rem);
  line-height: 0.98;
}
body.circle-v10 .circle-intro-v10 p { max-width: 620px; font-size: 1.08rem; line-height: 1.65; }
body.circle-v10 .circle-hero-v7 > figure {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 520px;
  margin: 0;
  background: #e8eceb !important;
}
body.circle-v10 .circle-hero-v7 > figure img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}
body.circle-v10 .circle-question-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  width: auto;
  margin: 0;
  padding: clamp(34px, 4vw, 56px);
  border: 0;
  border-top: 1px solid var(--wm-premium-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
body.circle-v10 .circle-question-form > header { grid-column: 1 / -1; }
body.circle-v10 .circle-question-form header h2 { margin: 8px 0 5px; font-size: 2.15rem; }
body.circle-v10 .circle-question-main { grid-column: span 7; }
body.circle-v10 .question-image-field { grid-column: span 5; }
body.circle-v10 .circle-question-form > label { margin: 0; }
body.circle-v10 .circle-question-form label > span,
body.circle-v10 .lesson-visibility legend {
  display: block;
  margin-bottom: 9px;
  color: var(--wm-premium-ink);
  font-size: 0.94rem;
  font-weight: 780;
}
body.circle-v10 .circle-question-form textarea { min-height: 150px; padding: 15px; }
body.circle-v10 .circle-question-form small { display: block; margin-top: 8px; font-size: 0.82rem; line-height: 1.45; }
body.circle-v10 .question-image-field {
  padding: 18px;
  border: 1px solid var(--wm-premium-line);
  border-radius: 10px;
  background: #fbf7f3;
}
body.circle-v10 .question-image-field input { width: 100%; }
body.circle-v10 .lesson-visibility {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
body.circle-v10 .lesson-visibility legend { grid-column: 1 / -1; }
body.circle-v10 .lesson-visibility label {
  position: relative;
  display: block;
  min-height: 108px;
  margin: 0;
  padding: 16px 16px 16px 46px;
  border: 1px solid var(--wm-premium-line);
  border-radius: 10px;
  background: #fffcf9;
  cursor: pointer;
}
body.circle-v10 .lesson-visibility input { position: absolute; top: 20px; left: 17px; width: 18px; height: 18px; }
body.circle-v10 .lesson-visibility label:has(input:checked) { border-color: var(--wm-premium-clay); background: #fff4ee; }
body.circle-v10 .lesson-visibility label span { margin: 0; font-size: 0.86rem; font-weight: 520; line-height: 1.45; }
body.circle-v10 .lesson-visibility label strong { display: block; margin-bottom: 4px; font-size: 1rem; }
body.circle-v10 .circle-question-result {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
  background: var(--wm-premium-sage);
}
body.circle-v10 .circle-question-result strong { font-family: Georgia, serif; font-size: 1.25rem; }
body.circle-v10 .circle-question-result span { margin: 4px 0 16px; color: var(--wm-premium-body); }
body.circle-v10 .circle-question-result .button { width: 100%; }
body.circle-v10 .circle-question-form > .form-note { grid-column: 1 / -1; }
body.circle-v10 .circle-account-gate {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px clamp(34px, 4vw, 56px);
  border: 0;
  border-top: 1px solid var(--wm-premium-line);
  border-radius: 0;
  background: var(--wm-premium-cream);
}
body.circle-v10 .circle-account-gate h2 { font-size: 1.45rem; }
body.circle-v10 .circle-feed-v7 { padding-block: 68px; }
body.circle-v10 .circle-filter-bar h2 { font-size: clamp(2.5rem, 3.6vw, 3.6rem); }

/* Footer reset: readable links, restrained headings, correctly scaled mark. */
.wm-footer { margin-top: 0; color: #fffaf6; background: #3b2d29 !important; }
.wm-footer-grid {
  width: min(1280px, calc(100% - 64px));
  padding: 48px 0 38px !important;
  grid-template-columns: minmax(230px, 1.35fr) repeat(5, minmax(120px, 1fr)) !important;
  align-items: start;
  gap: 32px !important;
}
.wm-footer-grid > div { min-width: 0; }
.wm-footer-grid h2 {
  margin: 0 0 14px !important;
  color: #fffaf6 !important;
  font-family: Arial, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}
.wm-footer-grid a,
.wm-footer-brand p,
.wm-footer-trust {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}
.wm-footer-grid a { margin: 7px 0 !important; color: rgba(255, 250, 246, 0.82) !important; }
.wm-footer-brand .wm-wordmark,
.wm-footer-brand .wm-wordmark picture,
.wm-footer-brand .wm-wordmark img {
  display: block !important;
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: 24px !important;
  max-height: 24px !important;
  margin: 0 0 16px !important;
}
.wm-footer-brand p { max-width: 245px; margin: 0 0 14px; color: rgba(255, 250, 246, 0.7); }
.wm-footer-trust { display: block; margin-bottom: 12px; color: #fffaf6; }
.wm-footer-bottom {
  width: min(1280px, calc(100% - 64px));
  padding: 20px 0 28px !important;
  color: rgba(255, 250, 246, 0.66);
  font-size: 0.82rem !important;
}
.wm-footer-bottom a { font-size: 0.82rem !important; }

@media (max-width: 1100px) {
  .wm-header-inner { width: min(100% - 36px, 1000px); }
  .wm-nav { gap: 15px; }
  body.home-v16 .home-ref-hero { grid-template-columns: minmax(540px, 1.1fr) minmax(0, 0.9fr); }
  body.home-v16 .home-platform-model article { padding-inline: 22px; }
  body.home-v16 .home-bed-comfort-story { grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr) !important; }
  .wm-footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
  .wm-wrap { width: min(100% - 36px, 860px); }
  body.home-v16 .home-reference { width: min(100% - 28px, 860px); }
  body.home-v16 .home-ref-hero,
  body.circle-v10 .circle-hero-v7 { grid-template-columns: 1fr; }
  body.home-v16 .home-ref-hero > figure { order: -1; }
  body.home-v16 .home-platform-model > div { grid-template-columns: 1fr; margin-top: 18px; }
  body.home-v16 .home-platform-model article,
  body.home-v16 .home-platform-model article:first-child,
  body.home-v16 .home-platform-model article:last-child { padding: 20px 0; }
  body.home-v16 .home-platform-model article + article { border-top: 1px solid var(--wm-premium-line); border-left: 0; }
  body.home-v16 .home-bed-comfort-story,
  body.home-v16 :is(.home-bed-layer-story, .home-bed-tracking-story) { grid-template-columns: 1fr !important; }
  body.home-v16 .home-bed-comfort-story figure { min-height: 0 !important; }
  body.circle-v10 .circle-question-main,
  body.circle-v10 .question-image-field,
  body.circle-v10 .lesson-visibility,
  body.circle-v10 .circle-question-result { grid-column: 1 / -1; }
  .wm-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .wm-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .wm-wrap { width: calc(100% - 28px); }
  .wm-header-inner { width: calc(100% - 28px); min-height: 66px; }
  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] picture,
  .wm-header .wm-wordmark[data-logo-link] img {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    height: 25px !important;
  }
  body.home-v16 .home-reference { width: calc(100% - 20px); padding-top: 10px; }
  body.home-v16 .home-ref-hero { min-height: 0; border-radius: 14px; }
  body.home-v16 .home-ref-hero-copy { padding: 34px 20px 28px; }
  body.home-v16 .home-ref-hero h1 { font-size: clamp(2.15rem, 9.3vw, 2.35rem); }
  body.home-v16 .home-ref-hero-copy > p { font-size: 1rem; }
  body.home-v16 .home-hero-chat { padding: 14px; }
  body.home-v16 .home-hero-chat label { align-items: flex-start; flex-direction: column; gap: 2px; }
  body.home-v16 .home-hero-chat > div { grid-template-columns: 1fr; }
  body.home-v16 .home-hero-chat .button { width: 100%; }
  body.home-v16 .home-platform-model { width: calc(100% - 16px); padding: 28px 20px; }
  body.home-v16 .home-platform-model > header h2 { font-size: 2.05rem; }
  body.home-v16 :is(.home-care-hub, .home-ref-guide, .home-vet-testimonials, .home-ref-bed) { padding: 28px 18px; }
  body.home-v16 .home-care-hub > header h2 { font-size: 2.35rem; }
  body.home-v16 .home-bed-comfort-story { min-height: 0 !important; }
  body.home-v16 .home-bed-comfort-story .home-bed-copy { padding: 34px 22px; }
  body.home-v16 .home-bed-comfort-story figure { padding: 18px !important; }
  body.home-v16 .home-bed-comfort-story figcaption { position: static; margin-top: 10px; }
  body.circle-v10 .circle-hero-v7 { width: calc(100% - 20px); margin-top: 10px; }
  body.circle-v10 .circle-intro-v10 { padding: 34px 22px; }
  body.circle-v10 .circle-intro-v10 h1 { font-size: clamp(2.7rem, 12vw, 3.35rem); }
  body.circle-v10 .circle-question-form { grid-template-columns: 1fr; padding: 28px 18px; }
  body.circle-v10 .circle-question-form > * { grid-column: 1 !important; }
  body.circle-v10 .lesson-visibility { grid-template-columns: 1fr; }
  body.circle-v10 .circle-account-gate { align-items: stretch; padding: 24px 18px; }
  body.circle-v10 .circle-account-gate .button { width: 100%; }
  .wm-footer-grid {
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 22px !important;
    padding-top: 40px !important;
  }
  .wm-footer-brand { grid-column: 1 / -1; }
  .wm-footer-grid h2 { font-size: 0.82rem !important; }
  .wm-footer-grid a,
  .wm-footer-brand p,
  .wm-footer-trust { font-size: 0.9rem !important; }
  .wm-footer-bottom {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
  }
}

/* The route bodies intentionally carry compatibility classes.  Include the
   complete class signature so these final frame rules outrank older layout
   compatibility declarations without changing the source image ratio. */
html body.guide-v6.guide-v7.guide-v8 .guide-topics-v6 article > figure > img,
html body.find-care-v6.find-care-v7 .provider-card-v6.has-photo > figure > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

@media (max-width: 520px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 148px minmax(0, 1fr) auto;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] img {
    height: 34px !important;
    max-height: 34px;
    max-width: 148px;
    min-width: 148px;
    width: 148px !important;
  }

  body.home-v14 .home-care-hub .home-circle-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body.home-v14 .home-care-hub .home-circle-card figure {
    min-height: 172px;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-vet-testimonials article figure,
  body.guide-v7 .guide-vet-trust article figure {
    height: 160px;
    justify-self: center;
    width: 160px;
  }

  body.find-care-v7 .provider-card-v6 > figure,
  body.find-care-v7 .provider-card-v6 > .provider-source-mark {
    height: 205px; /* wm-tail-skip */
    min-height: 205px;
  }
}

/* 2026-08-24.6 — final current-markup visual QA overrides */

/* Keep the supplied WoafMeow mark identical on every route. */
.wm-header .wm-header-inner {
  grid-template-columns: 196px minmax(0, 1fr) auto;
  min-height: 72px;
}

.wm-header .wm-wordmark[data-logo-link],
.wm-header .wm-wordmark[data-logo-link] picture,
.wm-header .wm-wordmark[data-logo-link] img {
  display: block;
  flex: 0 0 196px;
  height: 44px !important;
  max-height: 44px !important;
  max-width: 196px !important;
  min-width: 196px;
  width: 196px !important;
}

.wm-header .wm-wordmark[data-logo-link] img {
  object-fit: contain !important;
  object-position: left center !important;
}

/* Balance editorial headings and keep section titles out of narrow orphan columns. */
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  :is(h1, h2, h3, blockquote) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7) p {
  text-wrap: pretty;
}

body.home-v14 .home-ref-hero-copy h1,
body.circle-v8 .circle-hero-v7 h1,
body.lesson-v8 .lesson-hero-v7 h1,
body.guide-v7 .guide-hero-v6 h1,
body.find-care-v7 .directory-hero-v6 h1,
body.match-v6 .match-hero h1,
body.bed-v7 .bed-hero-v6 h1 {
  line-height: 1.01;
  max-width: 19ch;
}

body:is(.home-v14, .circle-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths,
    .circle-filter-bar,
    .guide-outcomes,
    .guide-topics-v6,
    .guide-method,
    .guide-lessons,
    .guide-vet-trust,
    .directory-results-v6,
    .bed-proof-v6,
    .bed-insights-v6
  ) > header,
body.guide-v7 .guide-vet-trust > .wm-wrap > header,
body.find-care-v7 .directory-results-v6 > .wm-wrap > header {
  margin-inline: auto;
  max-width: 900px;
  text-align: center;
}

body:is(.home-v14, .circle-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths,
    .circle-filter-bar,
    .guide-outcomes,
    .guide-topics-v6,
    .guide-method,
    .guide-lessons,
    .guide-vet-trust,
    .directory-results-v6,
    .bed-proof-v6,
    .bed-insights-v6
  ) > header :is(h2, h3),
body.guide-v7 .guide-vet-trust > .wm-wrap > header h2,
body.find-care-v7 .directory-results-v6 > .wm-wrap > header h2 {
  margin-inline: auto;
  max-width: 26ch;
  text-align: center;
}

/* No gray image mats, no crop, and no distorted media on current templates. */
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  figure,
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  picture {
  background: transparent !important;
  padding: 0 !important;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  figure > img,
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  picture > img {
  display: block;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v14 .home-ref-hero-media img,
body.circle-v8 .circle-hero-v7 > figure img,
body.lesson-v8 .lesson-hero-v7 > figure img,
body.guide-v7 .guide-hero-v6 > figure img,
body.find-care-v7 .directory-hero-v6 > figure img,
body.match-v6 .match-hero figure img,
body.bed-v7 .bed-hero-v6 figure img {
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
}

/* One polished, information-dense Care Circle hub on the homepage. */
body.home-v14 .home-care-hub {
  margin-block: 28px;
  padding: clamp(28px, 3.4vw, 46px);
}

body.home-v14 .home-care-hub > header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  text-align: center;
}

body.home-v14 .home-care-hub > header h2 {
  font-size: clamp(2.15rem, 3.25vw, 3.35rem);
  line-height: 1.02;
}

body.home-v14 .home-care-hub .home-circle-grid {
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-v14 .home-care-hub .home-circle-card {
  align-items: stretch;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 196px;
  overflow: hidden;
}

body.home-v14 .home-care-hub .home-circle-card figure {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 196px;
  overflow: hidden;
  width: 132px;
}

body.home-v14 .home-care-hub .home-circle-card figure img {
  height: 100% !important;
  width: 100% !important;
}

body.home-v14 .home-care-hub .home-circle-card > div {
  min-width: 0;
  padding: 18px 16px;
}

/* Make the free guide band read as a complete, valuable deliverable. */
body.home-v14 .home-ref-guide {
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr) 176px;
  padding: clamp(30px, 4vw, 50px);
}

body.home-v14 .home-guide-intro h2 {
  font-size: clamp(2.2rem, 3.25vw, 3.4rem);
  line-height: 1.02;
  max-width: 21ch;
}

body.home-v14 .home-guide-intro ul {
  gap: 10px 24px;
}

body.home-v14 .home-ref-guide > form :is(input, button) {
  font-size: 1rem;
  min-height: 56px;
}

body.home-v14 .home-ref-guide .home-guide-book {
  height: 238px;
  width: 176px;
}

body.home-v14 .home-ref-guide .home-guide-book img {
  height: 108px !important;
  object-fit: contain !important;
  width: 100% !important;
}

/* Equal, uncropped veterinarian portraits on Home and Guide. */
body.home-v14 .home-vet-testimonials article,
body.guide-v7 .guide-vet-trust article {
  align-items: center;
}

body.home-v14 .home-vet-testimonials article {
  gap: 22px;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 226px;
}

body.home-v14 .home-vet-testimonials article figure,
body.guide-v7 .guide-vet-trust article figure {
  aspect-ratio: 1;
  background: transparent !important;
  display: flex;
  height: 168px;
  justify-content: center;
  min-height: 168px;
  overflow: hidden;
  width: 168px;
}

body.home-v14 .home-vet-testimonials article figure img,
body.guide-v7 .guide-vet-trust article figure img {
  height: 100% !important;
  inset: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  position: static !important;
  width: 100% !important;
}

body.home-v14 .home-vet-testimonials blockquote,
body.guide-v7 .guide-vet-trust blockquote {
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  line-height: 1.56;
}

/* Smart Bed stories use large, natural product media and readable feature copy. */
body.home-v14 .home-ref-bed {
  padding: clamp(32px, 4.3vw, 58px);
}

body.home-v14 .home-ref-bed > header {
  margin-bottom: 30px;
  max-width: 980px;
}

body.home-v14 .home-ref-bed > header h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.9rem);
  line-height: 1.02;
  max-width: 25ch;
}

body.home-v14 .home-bed-grid {
  gap: 24px;
}

body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story) {
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  min-height: 470px;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
}

body.home-v14 .home-bed-story .home-bed-copy {
  align-content: center;
  align-self: stretch;
  display: grid;
  gap: 14px;
  max-width: none;
  padding: clamp(32px, 4vw, 58px);
  position: relative;
  width: auto;
}

body.home-v14 .home-bed-comfort-story .home-bed-copy {
  background: linear-gradient(135deg, #392623 0%, #66382f 100%);
  color: #fffaf7;
}

body.home-v14 .home-bed-comfort-story .home-bed-copy :is(h3, p, strong, span) {
  color: inherit;
}

body.home-v14 .home-bed-story h3 {
  font-size: clamp(2.15rem, 3.25vw, 3.35rem);
  line-height: 1.02;
  max-width: 22ch;
}

body.home-v14 .home-bed-story .home-bed-copy > p {
  font-size: 1.08rem;
  line-height: 1.58;
}

body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story) figure {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 470px;
  overflow: hidden;
  position: relative;
}

body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story) figure img {
  height: auto !important;
  inset: auto !important;
  max-height: none !important;
  max-width: 100% !important;
  position: static !important;
  width: 100% !important;
}

body.home-v14 .home-bed-feature-list,
body.home-v14 .home-bed-metrics {
  gap: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-v14 .home-bed-feature-list li,
body.home-v14 .home-bed-metrics > span {
  min-height: 76px;
  padding: 12px 14px;
}

body.home-v14 .home-bed-story .button {
  font-size: 1.02rem;
  min-height: 54px;
  padding-inline: 26px;
}

body.home-v14 .home-bed-story figure figcaption,
body.bed-v7 figure figcaption {
  bottom: 12px;
  color: #4f403a;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
  position: absolute;
  right: 14px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.88);
  z-index: 2;
}

/* A compact Care Circle entry point with one clear question flow. */
body.circle-v8 .circle-hero-v7 {
  align-items: center;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > div {
  padding: clamp(26px, 3vw, 42px);
}

body.circle-v8 .circle-hero-v7 h1 {
  font-size: clamp(2.35rem, 3.5vw, 3.55rem);
  max-width: 18ch;
}

body.circle-v8 .circle-hero-v7 > div > p {
  font-size: 1.02rem;
  line-height: 1.52;
  margin-bottom: 16px;
}

body.circle-v8 :is(.circle-account-gate, .circle-hero-question) {
  margin-top: 14px;
  padding: 18px;
}

body.circle-v8 .circle-hero-v7 > figure {
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > figure img {
  height: auto !important;
  max-height: 520px !important;
}

body.circle-v8 .circle-public-grid {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.circle-v8 .circle-public-card figure {
  align-items: center;
  display: flex;
  height: 210px;
  justify-content: center;
  min-height: 210px;
}

body.circle-v8 .circle-public-card figure img {
  height: 100% !important;
  width: 100% !important;
}

/* Current upload previews stay natural, useful and free of tinted mats. */
:is(.profile-photo-field, .question-image-field, .pet-photo-field) img,
.account-pet-photo img,
[data-pet-photo-preview],
[data-question-image-preview] {
  background: transparent !important;
  border: 1px solid rgba(96, 62, 49, 0.18);
  border-radius: 12px;
  display: block;
  height: auto !important;
  margin-top: 12px;
  max-height: 280px;
  max-width: min(100%, 420px);
  object-fit: contain !important;
  padding: 0 !important;
  width: auto !important;
}

:is(.profile-photo-field, .question-image-field, .pet-photo-field) img[hidden],
[data-pet-photo-preview][hidden],
[data-question-image-preview][hidden] {
  display: none !important;
}

/* Four clear owner-matching steps at desktop, one continuous flow on mobile. */
body.match-v6 .match-how ol {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 0;
}

body.match-v6 .match-how ol > li {
  align-items: start;
  background: #fffaf7;
  border: 1px solid rgba(86, 55, 43, 0.16);
  border-radius: 13px;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr);
  margin: 0;
  min-height: 132px;
  padding: 16px;
}

body.match-v6 .match-how ol > li > span {
  align-items: center;
  background: #c75437;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

/* Real-photo cards remain even; source-only cards never render an empty image slot. */
body.find-care-v7 .provider-grid-v6 {
  align-items: stretch;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.find-care-v7 .provider-card-v6 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

body.find-care-v7 .provider-card-v6.has-photo > figure {
  align-items: center;
  background: transparent !important;
  display: flex;
  height: 230px;
  justify-content: center;
  min-height: 230px;
  overflow: hidden;
  width: 100%;
}

body.find-care-v7 .provider-card-v6.has-photo > figure img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

body.find-care-v7 .provider-card-v6.no-photo {
  border-top: 6px solid #c75437;
}

body.find-care-v7 .provider-card-v6.no-photo::before,
body.find-care-v7 .provider-card-v6.no-photo::after {
  content: none !important;
  display: none !important;
}

body.find-care-v7 .provider-card-v6.no-photo > div:last-child {
  padding-top: 30px;
}

body.find-care-v7 .provider-card-v6 > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.find-care-v7 .provider-card-v6 > div:last-child > a:last-child {
  margin-top: auto;
}

body.find-care-v7 .provider-source-type {
  color: #a8422d;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 180px minmax(0, 1fr) auto;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] picture,
  .wm-header .wm-wordmark[data-logo-link] img {
    flex-basis: 180px;
    height: 41px !important;
    max-height: 41px !important;
    max-width: 180px !important;
    min-width: 180px;
    width: 180px !important;
  }

  body.home-v14 .home-care-hub .home-circle-grid,
  body.circle-v8 .circle-public-grid,
  body.find-care-v7 .provider-grid-v6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-v14 .home-ref-guide {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  body.home-v14 .home-ref-guide .home-guide-book {
    grid-column: 1 / -1;
    height: 218px;
    width: 160px;
  }
}

@media (max-width: 900px) {
  body.home-v14 .home-ref-guide,
  body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story),
  body.circle-v8 .circle-hero-v7 {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-ref-guide {
    text-align: center;
  }

  body.home-v14 .home-ref-guide > form {
    margin-inline: auto;
    max-width: 620px;
    width: 100%;
  }

  body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story),
  body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story) figure {
    min-height: 0;
  }

  body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story) figure img {
    height: auto !important;
  }

  body.circle-v8 .circle-hero-v7 > figure {
    order: -1;
  }
}

@media (max-width: 760px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 158px minmax(0, 1fr) auto;
    min-height: 66px;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] picture,
  .wm-header .wm-wordmark[data-logo-link] img {
    flex-basis: 158px;
    height: 36px !important;
    max-height: 36px !important;
    max-width: 158px !important;
    min-width: 158px;
    width: 158px !important;
  }

  body.home-v14 .home-care-hub,
  body.home-v14 .home-ref-guide,
  body.home-v14 .home-vet-testimonials,
  body.home-v14 .home-ref-bed {
    border-radius: 16px;
    padding: 22px 16px;
  }

  body.home-v14 .home-care-hub .home-circle-grid,
  body.home-v14 .home-vet-testimonials > div,
  body.circle-v8 .circle-public-grid,
  body.find-care-v7 .provider-grid-v6 {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-care-hub .home-circle-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 176px;
  }

  body.home-v14 .home-care-hub .home-circle-card figure {
    min-height: 176px;
    width: 108px;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    gap: 16px;
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 0;
    padding: 16px;
  }

  body.home-v14 .home-vet-testimonials article figure,
  body.guide-v7 .guide-vet-trust article figure {
    height: 124px;
    min-height: 124px;
    width: 124px;
  }

  body.home-v14 .home-bed-story .home-bed-copy {
    padding: 28px 20px;
  }

  body.home-v14 .home-bed-feature-list,
  body.home-v14 .home-bed-metrics,
  body.match-v6 .match-how ol {
    grid-template-columns: 1fr;
  }

  body.match-v6 .match-how ol > li {
    min-height: 0;
  }

  body.circle-v8 .circle-hero-v7 h1,
  body.lesson-v8 .lesson-hero-v7 h1,
  body.guide-v7 .guide-hero-v6 h1,
  body.find-care-v7 .directory-hero-v6 h1 {
    font-size: clamp(2.15rem, 9vw, 2.85rem);
    max-width: 21ch;
  }

  body.home-v14 .home-ref-hero-copy,
  body.home-v14 .home-question-box,
  body.circle-v8 .circle-hero-v7,
  body.circle-v8 .circle-hero-v7 > div,
  body.circle-v8 .circle-hero-question {
    min-width: 0;
    width: 100%;
  }

  body.home-v14 .home-question-box form,
  body.home-v14 .home-question-box > form,
  body.circle-v8 .circle-hero-question {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-question-box :is(input, button),
  body.circle-v8 .circle-hero-question :is(textarea, input, button) {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 144px minmax(0, 1fr) auto;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] picture,
  .wm-header .wm-wordmark[data-logo-link] img {
    flex-basis: 144px;
    height: 33px !important;
    max-height: 33px !important;
    max-width: 144px !important;
    min-width: 144px;
    width: 144px !important;
  }

  body.home-v14 .home-care-hub .home-circle-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  body.home-v14 .home-care-hub .home-circle-card figure {
    width: 94px;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.home-v14 .home-vet-testimonials article figure,
  body.guide-v7 .guide-vet-trust article figure {
    height: 156px;
    justify-self: center;
    width: 156px;
  }

  body.find-care-v7 .provider-card-v6.has-photo > figure {
    height: 205px;
    min-height: 205px;
  }
}

/* 2026-08-24.5 — final current-markup corrections */

/* Keep the supplied WoafMeow mark stable, including pages with long menus. */
.wm-header .wm-wordmark[data-logo-link],
.wm-header .wm-wordmark[data-logo-link] picture,
.wm-header .wm-wordmark[data-logo-link] img {
  box-sizing: border-box;
  flex-shrink: 0;
}

.wm-header .wm-wordmark[data-logo-link] picture {
  align-items: center;
  display: flex;
  height: 100%;
  width: 100%;
}

/* Current page headings balance as phrases and never break inside words. */
body:is(
    .home-v14,
    .circle-v8,
    .lesson-v8,
    .guide-v7,
    .find-care-v7,
    .match-v6,
    .bed-v7
  ) :is(h1, h2, h3, blockquote) {
  hyphens: none !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
  word-break: keep-all !important;
}

body:is(
    .home-v14,
    .circle-v8,
    .lesson-v8,
    .guide-v7,
    .find-care-v7,
    .match-v6,
    .bed-v7
  ) p {
  text-wrap: pretty;
}

/* Non-hero section introductions use one centered, readable hierarchy. */
body.home-v14 :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed
  ) > header,
body.circle-v8 .circle-feed-v7 .circle-filter-bar,
body.guide-v7 .guide-topics-v6 .editorial-heading,
body.guide-v7 .guide-vet-trust header,
body.find-care-v7 .directory-results-v6 .editorial-heading,
body.match-v6 .match-how h2,
body.bed-v7 :is(.bed-layers-v7, .bed-insights-v6) h2 {
  margin-inline: auto;
  max-width: 920px;
  text-align: center;
}

body.home-v14 :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed
  ) > header :is(h2, p),
body.circle-v8 .circle-feed-v7 .circle-filter-bar h2,
body.guide-v7 .guide-topics-v6 .editorial-heading :is(h2, p),
body.guide-v7 .guide-vet-trust header :is(h2, p),
body.find-care-v7 .directory-results-v6 .editorial-heading :is(h2, p) {
  margin-inline: auto;
}

/* No gray image mats and no cropping on the current WoafMeow templates. */
body:is(
    .home-v14,
    .circle-v8,
    .lesson-v8,
    .guide-v7,
    .find-care-v7,
    .match-v6,
    .bed-v7
  ) figure {
  background: transparent !important;
  padding: 0 !important;
}

body:is(
    .home-v14,
    .circle-v8,
    .lesson-v8,
    .guide-v7,
    .find-care-v7,
    .match-v6,
    .bed-v7
  ) figure > img {
  display: block;
  object-fit: contain !important;
  object-position: center !important;
}

body:is(.home-v14, .bed-v7) figure > figcaption {
  background: transparent !important;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 8px 12px 10px;
  text-align: center;
}

/* Equal, uncropped veterinarian portraits on the home page and guide. */
body.home-v14 .home-vet-testimonials article,
body.guide-v7 .guide-vet-trust article {
  align-items: center;
}

body.home-v14 .home-vet-testimonials article figure,
body.guide-v7 .guide-vet-trust article figure {
  align-items: center;
  aspect-ratio: 1;
  background: transparent !important;
  display: flex;
  height: 168px;
  justify-content: center;
  min-height: 168px;
  overflow: hidden;
  width: 168px;
}

body.home-v14 .home-vet-testimonials article figure img,
body.guide-v7 .guide-vet-trust article figure img {
  height: 100% !important;
  inset: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  position: static !important;
  width: 100% !important;
}

body.home-v14 .home-vet-testimonials article,
body.guide-v7 .guide-vet-trust article {
  grid-template-columns: 168px minmax(0, 1fr);
}

/* Compact Care Circle hero; the single question flow remains inside it. */
body.circle-v8 .circle-hero-v7 {
  align-items: center;
  min-height: 0 !important;
}

body.circle-v8 .circle-hero-v7 > div {
  padding: clamp(24px, 3vw, 38px);
}

body.circle-v8 .circle-hero-v7 h1 {
  font-size: clamp(2.35rem, 3.55vw, 3.55rem);
  line-height: 1;
  max-width: 18ch;
}

body.circle-v8 .circle-hero-v7 > figure,
body.circle-v8 .circle-hero-v7 > figure img {
  min-height: 0 !important;
}

body.circle-v8 .circle-hero-v7 > figure img {
  height: auto !important;
  max-height: 500px;
  width: 100% !important;
}

body.circle-v8 :is(.circle-account-gate, .circle-hero-question) {
  margin-top: 14px;
  padding: 16px;
}

body.circle-v8 .circle-hero-question textarea {
  min-height: 104px;
}

/* Keep the combined home lesson hub dense, polished, and easy to scan. */
body.home-v14 .home-care-hub .home-circle-card figure {
  background: transparent !important;
}

body.home-v14 .home-care-hub .home-circle-card figure img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

body.home-v14 .home-care-hub .home-circle-card > div {
  min-width: 0;
}

/* Make the guide band read as one premium, useful offer. */
body.home-v14 .home-ref-guide {
  isolation: isolate;
}

body.home-v14 .home-ref-guide .home-guide-book {
  background: #fffaf7;
}

body.home-v14 .home-ref-guide .home-guide-book img {
  background: transparent !important;
  object-fit: contain !important;
}

/* Current Smart Bed markup: large natural visuals, clear copy, no overlays. */
body.home-v14 .home-bed-story,
body.home-v14 .home-bed-comfort-story,
body.home-v14 .home-bed-layer-story,
body.home-v14 .home-bed-tracking-story {
  align-items: stretch;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  min-height: 0;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}

body.home-v14 .home-bed-comfort-story .home-bed-copy,
body.home-v14 .home-bed-comfort-story > figure,
body.home-v14 .home-bed-story .home-bed-copy,
body.home-v14 .home-bed-story > figure {
  grid-area: auto;
  position: static;
  width: auto;
}

body.home-v14 .home-bed-story .home-bed-copy {
  align-content: center;
  display: grid;
  gap: 14px;
  max-width: none;
  padding: clamp(30px, 4vw, 52px);
}

body.home-v14 .home-bed-comfort-story .home-bed-copy {
  background: linear-gradient(145deg, #342420 0%, #60332b 100%);
  color: #fffaf7;
}

body.home-v14 .home-bed-story > figure {
  align-content: center;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
}

body.home-v14 .home-bed-story > figure > img {
  align-self: center;
  height: auto !important;
  inset: auto !important;
  max-height: none !important;
  max-width: 100% !important;
  object-fit: contain !important;
  position: static !important;
  width: 100% !important;
}

body.home-v14 .home-bed-story > figure > figcaption {
  align-self: end;
  color: #7a665e;
}

body.home-v14 .home-bed-story h3 {
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  line-height: 1.02;
  max-width: 20ch;
}

body.home-v14 .home-bed-story .button {
  font-size: 1.05rem;
  min-height: 54px;
  padding-inline: 25px;
}

/* Smart Bed detail page uses the same natural-media rule. */
body.bed-v7 :is(.bed-hero-v6, .bed-layers-v7, .bed-insights-v6) figure {
  align-items: center;
  background: transparent !important;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0 !important;
}

body.bed-v7 :is(.bed-hero-v6, .bed-layers-v7, .bed-insights-v6) figure img {
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  width: 100% !important;
}

/* Find Care: equal real media; source-only cards never render empty media. */
body.find-care-v7 .provider-card-v6.has-photo > figure {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: transparent !important;
  display: flex;
  height: auto;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
}

body.find-care-v7 .provider-card-v6.has-photo > figure img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

body.find-care-v7 .provider-card-v6.no-photo {
  border-top: 8px solid #d66d50;
}

body.find-care-v7 .provider-card-v6.no-photo::before,
body.find-care-v7 .provider-card-v6.no-photo::after {
  content: none !important;
  display: none !important;
}

body.find-care-v7 .provider-card-v6.no-photo > div:last-child {
  padding-top: 28px;
}

body.find-care-v7 .provider-source-type {
  align-self: flex-start;
  background: #f7e8df;
  border-radius: 999px;
  color: #9f3f2d;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  line-height: 1.2;
  margin-bottom: 12px;
  padding: 7px 10px;
  text-transform: uppercase;
}

body.find-care-v7 .provider-card-v6.official-resource .provider-source-type {
  background: #e4eee8;
  color: #214d40;
}

/* Four-step owner matching stays even at desktop and stacks cleanly. */
body.match-v6 .match-how .image-text {
  align-items: center;
}

body.match-v6 .match-how ol {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
}

body.match-v6 .match-how ol > li {
  align-items: start;
  background: #fffaf7;
  border: 1px solid #ead7cb;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr);
  list-style: none;
  min-height: 150px;
  padding: 18px;
}

body.match-v6 .match-how ol > li > span {
  align-items: center;
  background: #d66d50;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

/* Uploaded dog/profile images are visible, natural, and never distorted. */
:is(.profile-photo-field, .question-image-field, .pet-photo-field)
  img:not([hidden]):is([data-pet-photo-preview], [data-question-image-preview]),
img.account-pet-photo:not([hidden]) {
  background: transparent !important;
  border: 1px solid #ead7cb;
  border-radius: 14px;
  display: block;
  height: auto !important;
  margin-top: 10px;
  max-height: 280px;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  width: auto !important;
}

:is(.profile-photo-field, .question-image-field, .pet-photo-field)
  img[hidden]:is([data-pet-photo-preview], [data-question-image-preview]),
img.account-pet-photo[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  body.home-v14 .home-bed-story,
  body.home-v14 .home-bed-comfort-story,
  body.home-v14 .home-bed-layer-story,
  body.home-v14 .home-bed-tracking-story {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-bed-layer-story > figure {
    order: 2;
  }

  body.home-v14 .home-bed-story > figure > img {
    height: auto !important;
  }
}

@media (max-width: 900px) {
  body.home-v14 .home-ref-hero,
  body.circle-v8 .circle-hero-v7,
  body.match-v6 .match-how .image-text,
  body.bed-v7 :is(.bed-hero-v6, .bed-layers-v7, .bed-insights-v6) > .wm-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  body.circle-v8 .circle-hero-v7 > figure {
    order: 0;
  }

  body.match-v6 .match-how figure {
    margin-inline: auto;
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .wm-header .wm-header-inner {
    grid-template-columns: minmax(0, 164px) minmax(0, 1fr) auto;
  }

  body.home-v14 .home-reference,
  body.home-v14 .home-ref-hero,
  body.home-v14 .home-ref-hero-copy,
  body.home-v14 .home-question-box,
  body.home-v14 .home-question-box > div {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body.home-v14 .home-ref-hero {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  body.home-v14 .home-ref-hero-copy {
    overflow: hidden;
    padding: 24px 16px;
  }

  body.home-v14 .home-question-box > div {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  body.home-v14 .home-question-box input {
    min-width: 0;
    width: 100%;
  }

  body.home-v14 .home-ref-hero > figure img {
    height: auto !important;
  }

  body.home-v14 .home-bed-story .home-bed-copy {
    padding: 26px 20px;
  }

  body.home-v14 .home-bed-story > figure {
    min-height: 0;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  body.home-v14 .home-vet-testimonials article figure,
  body.guide-v7 .guide-vet-trust article figure {
    height: 128px;
    min-height: 128px;
    width: 128px;
  }

  body.match-v6 .match-how ol {
    grid-template-columns: 1fr;
  }

  body.match-v6 .match-how ol > li {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .wm-header .wm-header-inner {
    grid-template-columns: minmax(0, 148px) minmax(0, 1fr) auto;
  }

  body.home-v14 .home-ref-hero-copy h1,
  body.circle-v8 .circle-hero-v7 h1,
  body.guide-v7 .guide-hero-v6 h1,
  body.find-care-v7 .directory-hero-v6 h1,
  body.lesson-v8 .lesson-hero-v7 h1 {
    font-size: clamp(2.15rem, 11vw, 2.75rem);
    max-width: none;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-vet-testimonials article figure,
  body.guide-v7 .guide-vet-trust article figure {
    height: 156px;
    justify-self: center;
    min-height: 156px;
    width: 156px;
  }

  body.find-care-v7 .provider-card-v6.has-photo > figure {
    min-height: 190px;
  }
}
}

/* Health Timeline */
.health-v1 main {
  background: #f7f0eb;
}
.health-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 28px auto 58px;
}
.health-gate {
  min-height: 420px;
  padding: clamp(34px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.health-gate > div {
  max-width: 670px;
}
.health-gate h2 {
  margin-bottom: 14px;
  color: var(--forest);
}
.health-gate p {
  margin-bottom: 0;
  font-size: 1.1rem;
}
.health-workspace {
  display: grid;
  gap: 24px;
}
.health-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(91, 48, 42, 0.08);
}
.health-hero > figure {
  min-width: 0;
  margin: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  background: white;
}
.health-hero > figure img {
  width: 100%;
  height: auto !important;
  max-height: 520px;
  object-fit: contain !important;
  border-radius: 12px;
}
.health-hero-copy {
  min-width: 0;
  padding: clamp(32px, 4.5vw, 58px);
  color: white;
  background: var(--forest);
}
.health-kicker {
  margin-bottom: 11px;
  color: #f0a58f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.health-hero-copy > h2 {
  max-width: 610px;
  margin-bottom: 16px;
  color: white;
  font-size: clamp(2.5rem, 4vw, 4rem);
}
.health-hero-copy > p:not(.health-kicker, .health-local-note) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
}
.health-summary-grid {
  margin: 28px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.2);
}
.health-summary-grid > div {
  min-width: 0;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.health-summary-grid > div:first-child {
  padding-left: 0;
}
.health-summary-grid > div:last-child {
  border-right: 0;
}
.health-summary-grid strong,
.health-summary-grid span {
  display: block;
}
.health-summary-grid strong {
  color: white;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}
.health-summary-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}
.health-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.health-hero-actions .button.primary {
  color: var(--forest);
  background: white;
}
.health-hero-actions .button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}
.health-local-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.health-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.health-form-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(91, 48, 42, 0.06);
}
.health-form-card > header {
  padding: 22px 24px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--rose);
}
.health-form-card > header > span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--clay-dark);
  font-weight: 700;
}
.health-form-card h2 {
  margin: 0 0 2px;
  color: var(--forest);
  font-size: 1.7rem;
}
.health-form-card header p {
  margin: 0;
  font-size: 0.86rem;
}
.health-form-card form {
  padding: 24px;
}
.health-form-card .form-grid {
  gap: 14px;
}
.health-form-card label > span {
  font-size: 0.86rem;
}
.health-form-card input,
.health-form-card select,
.health-form-card textarea {
  min-height: 50px;
  background: white;
}
.health-form-card textarea {
  min-height: 105px;
  resize: vertical;
}
.health-form-card .button {
  width: 100%;
  margin-top: 16px;
}
.health-file-field input[type="file"] {
  height: auto;
  padding: 10px;
}
.health-file-field small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
.health-form-card em {
  color: var(--muted);
  font-weight: 400;
}

.health-insights {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border-radius: 16px;
  color: white;
  background: var(--forest);
}
.health-insights header {
  margin-bottom: 18px;
}
.health-insights h2 {
  margin-bottom: 4px;
  color: white;
  font-size: 2rem;
}
.health-insights header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.health-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.health-insight-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}
.health-insight-grid h3 {
  margin-bottom: 7px;
  color: white;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
}
.health-insight-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  line-height: 1.48;
}
.health-insights > .button {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.health-timeline-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.health-timeline-section > header {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}
.health-timeline-section h2 {
  margin-bottom: 6px;
  color: var(--forest);
}
.health-timeline-section header p {
  max-width: 720px;
  margin: 0;
}
.health-empty {
  padding: 38px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--ivory);
}
.health-empty h3 {
  margin-bottom: 6px;
  color: var(--forest);
}
.health-empty p {
  margin: 0;
}
.health-timeline-list {
  display: grid;
  gap: 0;
}
.health-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.health-timeline-item:last-child {
  border-bottom: 0;
}
.health-timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: var(--line);
}
.health-timeline-marker {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 5px solid var(--paper);
  border-radius: 50%;
  color: white;
  background: var(--clay-dark);
  font-size: 0.75rem;
  font-weight: 800;
}
.health-timeline-item.is-log .health-timeline-marker {
  color: var(--forest);
  background: var(--sand);
}
.health-timeline-meta {
  margin: 0 0 5px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.health-timeline-item h3 {
  margin-bottom: 6px;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}
.health-timeline-item p:not(.health-timeline-meta) {
  margin: 0;
  font-size: 0.92rem;
}
.health-timeline-actions {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.health-timeline-actions a,
.health-timeline-actions button {
  padding: 0;
  border: 0;
  color: var(--clay-dark);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .health-hero,
  .health-tools {
    grid-template-columns: 1fr;
  }
  .health-hero > figure img {
    max-height: 480px;
  }
  .health-insights {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .health-insights > .button {
    width: max-content;
  }
  .health-gate {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .health-shell {
    width: calc(100vw - 24px);
    margin: 14px auto 36px;
  }
  .health-workspace {
    gap: 14px;
  }
  .health-hero-copy,
  .health-form-card form,
  .health-insights,
  .health-timeline-section {
    padding: 22px 18px;
  }
  .health-hero > figure {
    padding: 12px;
  }
  .health-hero > figure img {
    max-height: 330px;
  }
  .health-hero-copy > h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
  .health-summary-grid {
    margin-block: 22px 18px;
  }
  .health-summary-grid > div {
    padding: 13px 7px;
  }
  .health-summary-grid strong {
    font-size: 1.65rem;
  }
  .health-summary-grid span {
    font-size: 0.7rem;
    line-height: 1.25;
  }
  .health-hero-actions .button,
  .health-insights > .button {
    width: 100%;
  }
  .health-form-card > header {
    padding: 18px;
  }
  .health-insight-grid {
    grid-template-columns: 1fr;
  }
  .health-timeline-section > header {
    align-items: start;
    flex-direction: column;
  }
  .health-gate {
    min-height: 0;
    padding: 28px 20px;
  }
}

/* 2026-08-24 reference-contract refinement: natural images, compact rhythm, premium product storytelling */
:root {
  --wm-coral: #e47758;
  --wm-coral-dark: #b64a2e;
  --wm-espresso: #352822;
  --wm-cream: #fffaf5;
  --wm-linen: #f4ede4;
  --wm-sage: #e9efe6;
  --wm-forest: #173f33;
}

h1, h2, h3, blockquote {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.wm-header { border-bottom: 1px solid rgba(70, 45, 35, 0.13); }
.wm-header-inner { width: min(1420px, calc(100vw - 48px)); }
.wm-nav { gap: 18px; }
.wm-nav .nav-menu { width: 320px; }
.wm-nav .nav-menu a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 9px;
  text-decoration: none;
}
.wm-nav .nav-menu a:hover { background: var(--wm-linen); }
.wm-nav .nav-menu strong { color: var(--wm-espresso); font-size: 0.9rem; }
.wm-nav .nav-menu span { color: #75665e; font-size: 0.73rem; line-height: 1.35; }

body.home-v14 .home-reference {
  width: min(1360px, calc(100vw - 44px));
  padding-block: 18px 26px;
  gap: 18px;
}
body.home-v14 .home-ref-hero,
body.home-v14 .home-care-circle,
body.home-v14 .home-care-account,
body.home-v14 .home-ref-guide,
body.home-v14 .home-vet-testimonials,
body.home-v14 .home-bed-panel,
body.home-v14 .home-support-paths > a { box-shadow: 0 18px 50px rgba(64, 42, 31, 0.08); }
body.home-v14 .home-ref-hero { min-height: 520px; grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.18fr); }
body.home-v14 .home-ref-hero-copy { padding: 42px 44px; }
body.home-v14 .home-ref-hero h1 { max-width: 650px; font-size: clamp(3rem, 4.8vw, 5.35rem); line-height: 0.94; }
body.home-v14 .home-ref-hero-copy > p { max-width: 590px; font-size: 1.05rem; }
body.home-v14 .home-ref-hero > figure { min-height: 0; background: #f3eee8; }
body.home-v14 .home-ref-hero > figure img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.home-v14 .home-question-box { max-width: 610px; }
body.home-v14 .home-hero-proof { row-gap: 8px; }
body.home-v14 .home-hero-proof strong { color: var(--wm-coral-dark); font-size: 0.93rem; }
body.home-v14 .home-ref-section { padding: 22px 0 4px; }
body.home-v14 .home-ref-section > header h2,
body.home-v14 .home-circle-lessons > header h2 { font-size: clamp(1.75rem, 2.3vw, 2.5rem); }
body.home-v14 .home-topic-grid { gap: 10px; }
body.home-v14 .home-topic-card { background: #fff; }
body.home-v14 .home-topic-card figure { aspect-ratio: 4 / 3; height: auto; padding: 6px; background: #f8f4ef; }
body.home-v14 .home-topic-card figure img { width: 100%; height: 100% !important; object-fit: contain !important; border-radius: 8px; }
body.home-v14 .home-topic-card > div { min-height: 160px; }

body.home-v14 .home-care-circle { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr); }
body.home-v14 .home-circle-card { grid-template-columns: 108px minmax(0, 1fr); min-height: 135px; }
body.home-v14 .home-circle-card figure { width: 108px; min-height: 0; padding: 5px; background: #f7f1eb; }
body.home-v14 .home-circle-card figure img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.home-v14 .home-circle-card h3 { font-size: 0.95rem; }
body.home-v14 .home-circle-ask { background: linear-gradient(145deg, #fffaf6, #f1e5dc); }
body.home-v14 .home-care-account > figure { background: #ece7e0; }
body.home-v14 .home-care-account > figure > img { width: 100%; height: auto !important; min-height: 0; object-fit: contain !important; }
body.home-v14 .home-care-account figcaption { position: static; background: var(--wm-espresso); }

body.home-v14 .home-vet-testimonials {
  padding: 24px;
  grid-template-columns: minmax(210px, 0.56fr) minmax(0, 1.58fr) minmax(195px, 0.5fr);
  gap: 20px;
}
body.home-v14 .home-vet-testimonials > header h2 { font-size: 1.9rem; }
body.home-v14 .home-vet-testimonials > div { gap: 14px; }
body.home-v14 .home-vet-testimonials article {
  min-height: 180px;
  padding: 16px;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  background: #fff;
  border: 1px solid rgba(89, 58, 42, 0.13);
  border-radius: 12px;
}
body.home-v14 .home-vet-testimonials article figure { width: 116px; height: 132px; border-radius: 10px; background: #f7f1eb; overflow: hidden; }
body.home-v14 .home-vet-testimonials article figure img { width: 100%; height: 100% !important; object-fit: contain !important; object-position: center; }
body.home-v14 .home-vet-testimonials blockquote { font-size: 0.86rem; line-height: 1.55; }
body.home-v14 .home-vet-testimonials article p { margin-top: 10px; }
body.home-v14 .home-vet-testimonials article p strong { font-size: 0.9rem; }

body.home-v14 .home-ref-bed { padding-top: 18px; }
body.home-v14 .home-ref-bed > header { display: block !important; grid-template-columns: none !important; max-width: 820px; margin: 0 auto 18px; text-align: center; }
body.home-v14 .home-ref-bed > header > span { color: var(--wm-coral-dark); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }
body.home-v14 .home-ref-bed > header h2 { max-width: 760px; margin: 7px auto; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.04; color: var(--wm-espresso); }
body.home-v14 .home-ref-bed > header p { max-width: 650px; margin: 0 auto; color: #706259; }
body.home-v14 .home-bed-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
body.home-v14 .home-bed-panel {
  display: grid;
  min-height: 0;
  padding: 28px;
  grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  overflow: hidden;
  border-radius: 14px;
}
body.home-v14 .home-bed-panel > div { align-self: center; }
body.home-v14 .home-bed-panel h3 { max-width: 560px; font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.02; }
body.home-v14 .home-bed-panel p,
body.home-v14 .home-bed-panel li { font-size: 0.92rem; line-height: 1.55; }
body.home-v14 .home-bed-panel figure { min-height: 0; align-self: center; background: transparent; overflow: visible; }
body.home-v14 .home-bed-panel figure img { width: 100%; height: auto !important; max-height: none; object-fit: contain !important; }
body.home-v14 .home-bed-comfort { grid-template-columns: minmax(330px, 0.72fr) minmax(0, 0.82fr) minmax(240px, 0.46fr); background: linear-gradient(135deg, #422b24, #684033); }
body.home-v14 .home-bed-comfort .bed-product-scene { grid-column: 2; }
body.home-v14 .home-bed-comfort .bed-layer-scene { grid-column: 3; }
body.home-v14 .home-bed-tracking { background: linear-gradient(135deg, #eaf0e7, #f7f2eb); color: var(--wm-espresso); }
body.home-v14 .home-bed-tracking > div > span,
body.home-v14 .home-bed-tracking h3,
body.home-v14 .home-bed-tracking p,
body.home-v14 .home-bed-tracking li { color: var(--wm-espresso); }
body.home-v14 .home-bed-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.home-v14 .home-bed-metrics span { min-height: 72px; background: rgba(255,255,255,.75); }

body.circle-v8 .circle-hero-v7 { width: min(1360px, calc(100vw - 44px)); min-height: 480px; margin: 20px auto 0; grid-template-columns: minmax(450px, 0.9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid #e2d2c5; border-radius: 16px; background: #fffaf6; }
body.circle-v8 .circle-hero-v7 > div { padding: 42px; }
body.circle-v8 .circle-hero-v7 h1 { font-size: clamp(2.7rem, 4.5vw, 4.8rem); line-height: 0.96; }
body.circle-v8 .circle-hero-v7 > figure { min-height: 0; background: #f1ede7; }
body.circle-v8 .circle-hero-v7 > figure img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.circle-v8 .circle-hero-question { max-width: 680px; margin: 22px 0 14px; padding: 16px; border: 1px solid #dccabd; border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgba(64,42,31,.08); }
body.circle-v8 .circle-hero-question label { display: block; margin-bottom: 8px; font-weight: 800; }
body.circle-v8 .circle-hero-question > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
body.circle-v8 .circle-hero-question input { min-width: 0; min-height: 50px; padding: 0 14px; border: 1px solid #d8c7b8; border-radius: 8px; }
body.circle-v8 .circle-hero-question button { padding: 0 18px; border: 0; border-radius: 8px; color: #fff; background: var(--wm-coral-dark); font-weight: 800; }
body.circle-v8 .circle-hero-question small { display: block; margin-top: 8px; color: #74665d; }
body.circle-v8 .circle-ask-v7 { padding: 14px 0; }
body.circle-v8 .circle-ask-v7 .wm-wrap { padding: 16px 20px; border-radius: 12px; }
body.circle-v8 .circle-account-gate { min-height: 0; }
body.circle-v8 .circle-public-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.circle-v8 .circle-public-card { min-height: 0; overflow: hidden; }
body.circle-v8 .circle-public-card figure { aspect-ratio: 16 / 10; padding: 7px; background: #f6f0ea; }
body.circle-v8 .circle-public-card figure img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.circle-v8 .circle-public-card > div { padding: 18px; }
body.circle-v8 .circle-public-card h2 { font-size: 1.25rem; line-height: 1.15; }

body.lesson-v8 .lesson-hero-v7 figure,
body.lesson-v8 .lesson-chapter-layout figure { background: #f7f1eb; }
body.lesson-v8 .lesson-hero-v7 img,
body.lesson-v8 .lesson-chapter-layout img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; }
body.lesson-v8 .tailored-context { margin: 14px 0; padding: 14px 16px; border-left: 4px solid var(--wm-coral); border-radius: 0 8px 8px 0; background: #fff3ed; }
body.lesson-v8 .tailored-context strong { color: var(--wm-coral-dark); }
body.lesson-v8 .tailored-context p { margin: 4px 0 0; font-size: 0.92rem; line-height: 1.5; }

body.guide-v7 .guide-hero-v6 { min-height: 0; }
body.guide-v7 .guide-hero-photo img,
body.guide-v7 .guide-topics-v6 figure img,
body.guide-v7 .guide-method figure img,
body.guide-v7 .guide-vet-note figure img { width: 100%; height: auto !important; object-fit: contain !important; }
body.guide-v7 .guide-topics-v6 article { align-items: center; }
body.guide-v7 .guide-topics-v6 figure { background: #f7f1eb; padding: 8px; }
body.guide-v7 .guide-vet-trust { padding: 24px 0; background: #f2ede6; }
body.guide-v7 .guide-vet-trust .wm-wrap { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 16px; }
body.guide-v7 .guide-vet-trust article { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px; background: #fff; border-radius: 12px; }
body.guide-v7 .guide-vet-trust article figure { width: 120px; height: 140px; background: #f7f1eb; border-radius: 9px; }
body.guide-v7 .guide-vet-trust article img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.guide-v7 .guide-vet-trust blockquote { font-size: 0.9rem; line-height: 1.5; }
body.guide-v7 .guide-vet-trust article strong,
body.guide-v7 .guide-vet-trust article span { display: block; margin-top: 6px; }

body.find-care-v7 .directory-hero-v6 { min-height: 0; }
body.find-care-v7 .directory-hero-v6 > figure { padding: 8px; background: #f1ece6; }
body.find-care-v7 .directory-hero-v6 > figure img { width: 100%; height: auto !important; object-fit: contain !important; }
body.find-care-v7 .directory-credibility { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
body.find-care-v7 .directory-credibility strong,
body.find-care-v7 .directory-credibility span { padding: 8px 11px; border-radius: 999px; background: #fff3ed; color: #6d4638; font-size: 0.8rem; }
body.find-care-v7 .provider-grid-v6 { align-items: stretch; }
body.find-care-v7 .provider-card-v6 { min-height: 100%; }
body.find-care-v7 .provider-card-v6 figure { aspect-ratio: 16 / 10; padding: 8px; background: #f7f1eb; }
body.find-care-v7 .provider-card-v6 figure img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.find-care-v7 .provider-source-mark { width: 100%; height: 220px; min-height: 220px; margin: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; border-bottom: 1px solid #dfd2c7; background: linear-gradient(145deg, #183f34, #2f594c); color: #fff; }
body.find-care-v7 .provider-source-mark span { width: auto; height: auto; display: block; border-radius: 0; color: #fff; background: transparent; font-family: var(--serif); font-size: 1.35rem; text-align: left; }
body.find-care-v7 .provider-source-mark small { color: #e8eee9; }
body.find-care-v7 .provider-contact { color: var(--wm-coral-dark); font-weight: 700; font-size: 0.82rem; }

body.loss-v7 .loss-hero-v6 figure img,
body.loss-v7 .loss-goodbye-detail figure img,
body.loss-v7 .loss-words figure img { width: 100%; height: auto !important; object-fit: contain !important; }
body.loss-v7 .loss-first-days { padding: 34px 0; background: #f3ede6; }
body.loss-v7 .loss-first-days header { max-width: 700px; margin-bottom: 20px; }
body.loss-v7 .loss-first-days header h2 { font-size: clamp(2rem, 3vw, 3rem); }
body.loss-v7 .loss-first-days .wm-wrap > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
body.loss-v7 .loss-first-days article { padding: 12px; background: #fff; border: 1px solid #dfd0c3; border-radius: 12px; }
body.loss-v7 .loss-first-days article figure { aspect-ratio: 16 / 10; background: #f7f1eb; }
body.loss-v7 .loss-first-days article img { width: 100%; height: 100% !important; object-fit: contain !important; }
body.loss-v7 .loss-first-days article h3,
body.loss-v7 .loss-first-days article p { margin: 12px 6px 6px; }

body.memorial-v7 .memorial-hero-v6 figure img,
body.memorial-v7 .memorial-meaning figure img,
body.memorial-v7 .memorial-story-grid figure img,
body.memorial-v7 .memorial-partner-gallery img,
body.memorial-v7 .memorial-tribute-card img { width: 100%; height: 100% !important; max-height: 100%; object-fit: contain !important; }
body.memorial-v7 .memorial-hero-v6 figure,
body.memorial-v7 .memorial-meaning figure,
body.memorial-v7 .memorial-story-grid figure { overflow: hidden; }
body.memorial-v7 .memorial-hero-v6 figure img,
body.memorial-v7 .memorial-meaning figure img,
body.memorial-v7 .memorial-story-grid figure img { height: 100% !important; max-height: 100% !important; object-fit: contain !important; }
body.memorial-v7 .memorial-memory-prompts { padding: 34px 0; background: #f5eee8; }
body.memorial-v7 .memorial-memory-prompts header { max-width: 760px; }
body.memorial-v7 .memorial-memory-prompts h2 { font-size: clamp(2.2rem, 3.5vw, 3.8rem); }
body.memorial-v7 .memorial-memory-prompts .wm-wrap > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
body.memorial-v7 .memorial-memory-prompts blockquote { margin: 0; padding: 24px; border-radius: 12px; background: #fff; color: #5d3a30; font-size: 1.25rem; line-height: 1.35; }
body.memorial-v7 .memorial-partner-gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
body.memorial-v7 .memorial-partner-gallery figure { padding: 6px; background: #fff; }

body.bed-v7 .bed-hero-v6 { min-height: 0; }
body.bed-v7 .bed-hero-v6 figure,
body.bed-v7 .bed-comfort-v6 figure,
body.bed-v7 .bed-insights-v6 figure,
body.bed-v7 .bed-layers-v7 figure { background: #f1ece6; }
body.bed-v7 .bed-hero-v6 img,
body.bed-v7 .bed-comfort-v6 img,
body.bed-v7 .bed-insights-v6 img,
body.bed-v7 .bed-layers-v7 img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; }
body.bed-v7 .bed-layers-v7 { padding: 36px 0; background: #f0eee7; }
body.bed-v7 .bed-layers-v7 .wm-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: center; }
body.bed-v7 .bed-layers-v7 h2 { font-size: clamp(2.2rem, 3.4vw, 3.25rem); }
body.bed-v7 .bed-layers-v7 ol { padding: 0; list-style: none; }
body.bed-v7 .bed-layers-v7 li { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid #d8cbbf; }
body.bed-v7 .bed-layers-v7 li span { color: #706259; }

@media (max-width: 1120px) {
  .wm-header-inner { grid-template-columns: 180px 1fr auto; }
  .wm-nav { gap: 10px; }
  .nav-group > summary, .wm-nav > a { font-size: 0.78rem; }
  body.home-v14 .home-vet-testimonials { grid-template-columns: 1fr; }
  body.home-v14 .home-bed-comfort { grid-template-columns: 0.8fr 1.2fr; }
  body.home-v14 .home-bed-comfort .bed-layer-scene { grid-column: 1 / -1; max-width: 620px; margin: auto; }
  body.circle-v8 .circle-public-grid { grid-template-columns: repeat(2, 1fr); }
  body.guide-v7 .guide-vet-trust .wm-wrap { grid-template-columns: 1fr 1fr; }
  body.guide-v7 .guide-vet-trust header { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .wm-header-inner { width: min(100% - 28px, 760px); grid-template-columns: 1fr auto; }
  .wm-nav { gap: 0; }
  .wm-nav .nav-group { width: 100%; }
  .wm-nav .nav-group summary { width: 100%; padding: 13px 4px; }
  .wm-nav .nav-menu { position: static; width: 100%; transform: none; box-shadow: none; }
  body.home-v14 .home-reference,
  body.circle-v8 .circle-hero-v7 { width: min(100% - 24px, 720px); }
  body.home-v14 .home-ref-hero,
  body.home-v14 .home-care-circle,
  body.home-v14 .home-care-account,
  body.home-v14 .home-bed-panel,
  body.home-v14 .home-bed-comfort,
  body.circle-v8 .circle-hero-v7,
  body.guide-v7 .guide-vet-trust .wm-wrap,
  body.bed-v7 .bed-layers-v7 .wm-wrap { grid-template-columns: 1fr; }
  body.home-v14 .home-ref-hero-copy { padding: 30px 26px; }
  body.home-v14 .home-ref-hero h1 { font-size: clamp(2.75rem, 11vw, 4.4rem); }
  body.home-v14 .home-ref-hero > figure img { height: auto !important; }
  body.home-v14 .home-bed-comfort .bed-product-scene,
  body.home-v14 .home-bed-comfort .bed-layer-scene { grid-column: auto; }
  body.circle-v8 .circle-hero-v7 > div { padding: 28px 24px; }
  body.circle-v8 .circle-hero-v7 > figure img { height: auto !important; }
  body.circle-v8 .circle-public-grid,
  body.loss-v7 .loss-first-days .wm-wrap > div,
  body.memorial-v7 .memorial-memory-prompts .wm-wrap > div,
  body.memorial-v7 .memorial-partner-gallery { grid-template-columns: 1fr 1fr; }
  body.guide-v7 .guide-vet-trust header { grid-column: auto; }
}

@media (max-width: 560px) {
  body.home-v14 .home-reference { gap: 12px; }
  body.home-v14 .home-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home-v14 .home-topic-card > div { min-height: 176px; }
  body.home-v14 .home-circle-grid,
  body.home-v14 .home-vet-testimonials > div,
  body.circle-v8 .circle-public-grid,
  body.loss-v7 .loss-first-days .wm-wrap > div,
  body.memorial-v7 .memorial-memory-prompts .wm-wrap > div,
  body.memorial-v7 .memorial-partner-gallery { grid-template-columns: 1fr; }
  body.home-v14 .home-circle-card { grid-template-columns: 96px 1fr; }
  body.home-v14 .home-circle-card figure { width: 96px; }
  body.home-v14 .home-ref-guide { padding: 18px; }
  body.home-v14 .home-vet-testimonials article { grid-template-columns: 92px 1fr; }
  body.home-v14 .home-vet-testimonials article figure { width: 92px; height: 112px; }
  body.home-v14 .home-bed-panel { padding: 20px 16px; }
  body.home-v14 .home-bed-metrics { grid-template-columns: 1fr; }
  body.circle-v8 .circle-hero-question > div { grid-template-columns: 1fr; }
  body.circle-v8 .circle-hero-question button { min-height: 48px; }
  body.guide-v7 .guide-vet-trust article { grid-template-columns: 90px 1fr; }
  body.guide-v7 .guide-vet-trust article figure { width: 90px; height: 110px; }
}

/* Keep guide signup copy legible after the v14 light-surface override. */
.guide-v6 .guide-hero-copy .email-capture h2 {
  color: var(--wm-forest, #17382d);
}

.guide-v6 .guide-hero-copy .email-capture p,
.guide-v6 .guide-hero-copy .email-capture .form-note {
  color: var(--wm-muted, #665c55);
}

@media print {
  .health-v1 .wm-header,
  .health-v1 .wm-footer,
  .health-v1 .health-hero-actions,
  .health-v1 .health-tools,
  .health-v1 .health-timeline-actions,
  .health-v1 .health-insights > .button {
    display: none !important;
  }
  .health-v1 main,
  .health-v1 .health-shell {
    width: 100%;
    margin: 0;
    background: white;
  }
  .health-v1 .health-workspace {
    display: block !important;
  }
  .health-v1 .health-hero,
  .health-v1 .health-insights,
  .health-v1 .health-timeline-section {
    margin-bottom: 18px;
    break-inside: avoid;
    box-shadow: none;
  }
  .health-v1 .health-hero-copy,
  .health-v1 .health-insights {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
body.menu-open {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
figure,
blockquote,
p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin-top: 0;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.55rem, 4.2vw, 4.25rem);
}
h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.75rem);
}
h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
.sr-only {
  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;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: white;
  background: var(--forest);
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.wm-wrap {
  width: var(--wrap);
  margin-inline: auto;
}
.reading-width {
  width: min(var(--reading), calc(100vw - 40px));
  margin-inline: auto;
}

/* Shared shell */
.announcement {
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 6px 18px;
  color: #fff;
  background: var(--forest);
  font-size: 0.79rem;
  letter-spacing: 0.04em;
}
.announcement a {
  text-decoration: none;
}
.wm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 250, 0.97);
  backdrop-filter: blur(12px);
}
.wm-header-inner {
  width: var(--wrap);
  min-height: 78px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 24px;
}
.wm-wordmark {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.05em;
}
.wm-wordmark span {
  color: var(--clay);
}
.wm-wordmark[data-logo-link] {
  width: min(220px, 100%);
  display: block;
  text-decoration: none;
}
.wm-wordmark[data-logo-link] img {
  width: 100%;
  height: auto !important;
}
.wm-wordmark[data-logo-mark] {
  width: 196px;
  height: 34px;
  display: block;
  background: url("/assets/woafmeow-logo-coral.png") center / contain no-repeat;
}
.wm-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}
.wm-nav > a,
.nav-group > summary {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.nav-group > summary::-webkit-details-marker {
  display: none;
}
.nav-group > summary::after {
  content: "⌄";
  margin-left: 7px;
  color: var(--clay);
}
.nav-group {
  position: relative;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 330px;
  transform: translateX(-50%);
  padding: 12px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.nav-menu::before {
  content: "";
  position: absolute;
  inset: -20px 0 auto;
  height: 20px;
}
.nav-menu a {
  padding: 13px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.nav-menu a:hover {
  background: var(--ivory);
}
.nav-menu strong,
.nav-menu span {
  display: block;
}
.nav-menu strong {
  font-size: 0.95rem;
}
.nav-menu span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}
.wm-product-link {
  padding: 11px 15px;
  border: 1px solid var(--clay);
  border-radius: 8px;
  color: var(--clay-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--forest);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  color: #fff;
  background: var(--clay-dark);
}
.button.primary:hover {
  background: var(--clay-dark);
}
.button.secondary {
  color: var(--forest);
  border-color: var(--forest);
  background: transparent;
}
.button.light {
  color: var(--forest);
  background: white;
}
.text-link {
  color: var(--clay-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.line-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.editorial-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.editorial-heading h2 {
  margin-bottom: 10px;
  color: var(--forest);
}
.editorial-heading p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.05rem;
}
.image-text {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}
.image-text.reverse > figure {
  order: 2;
}
.image-text figure {
  margin: 0;
}
.image-text figure img {
  border-radius: var(--radius);
}
.image-text > div > p {
  font-size: 1.08rem;
}
.image-text ul,
.image-text ol {
  padding-left: 20px;
  color: var(--muted);
}

/* Forms */
label > span,
legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
textarea {
  min-height: 128px;
  resize: vertical;
}
.form-grid,
.provider-form-v6 > div,
.lesson-intake-v6 > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-wide,
.wide {
  grid-column: 1 / -1;
}
.preview-form,
.provider-form-v6,
.lesson-intake-v6 {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.preview-form .button,
.provider-form-v6 .button {
  margin-top: 18px;
}
.consent-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.consent-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}
.consent-row span {
  margin: 0;
  font-weight: 500;
}
.form-note {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--forest);
  font-weight: 700;
}
.email-capture {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(220px, 0.8fr) auto;
  gap: 14px;
  align-items: end;
}
.email-capture h2 {
  margin-bottom: 5px;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
}
.email-capture p {
  margin: 0;
}
.email-capture .form-note {
  grid-column: 2 / -1;
}

/* Footer */
.wm-footer {
  color: #eef2ed;
  background: var(--forest);
}
.wm-footer-callout {
  width: var(--wrap);
  margin-inline: auto;
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.wm-footer-callout h2 {
  margin-bottom: 5px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}
.wm-footer-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}
.wm-footer-grid {
  width: var(--wrap);
  margin-inline: auto;
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}
.wm-footer-grid h2 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wm-footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
}
.wm-footer-grid a:hover {
  color: white;
}
.wm-footer-brand p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.68);
}
.wm-wordmark.light {
  color: white;
}
.wm-footer-bottom {
  width: var(--wrap);
  margin-inline: auto;
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}
.wm-footer-bottom nav {
  display: flex;
  gap: 18px;
}
.wm-footer-bottom a {
  color: inherit;
}

/* Homepage */
.home-hero {
  padding: 30px 0 12px;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}
.home-hero-copy {
  padding: 30px 0;
}
.home-hero-copy h1 {
  max-width: 590px;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(2.65rem, 4.4vw, 4.15rem);
}
.home-hero-copy > p {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: 1.08rem;
}
.home-hero-grid > figure {
  margin: 0;
}
.home-hero-grid > figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}
.question-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.question-box label {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 800;
}
.question-box > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.question-box input {
  min-height: 56px;
  border-color: #c7b9aa;
}
.question-box button {
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--clay);
  font-weight: 700;
  cursor: pointer;
}
.question-box p {
  margin: 9px 0 0;
  font-size: 0.875rem;
}
.hero-secondary {
  display: inline-block;
  margin-top: 18px;
  color: var(--clay-dark);
  font-weight: 700;
  text-underline-offset: 5px;
}

.pathways,
.home-help,
.editorial-cluster,
.home-circle,
.hardest-chapters {
  padding: 58px 0;
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pathway-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  text-decoration: none;
}
.pathway-card figure {
  min-height: 150px;
  margin: 0;
  display: grid;
  place-items: center;
  background: white;
}
.pathway-card img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
.pathway-card > div {
  padding: 20px 18px;
}
.pathway-card h3 {
  margin-bottom: 7px;
  color: var(--forest);
}
.pathway-card p {
  margin-bottom: 13px;
  font-size: 0.9rem;
}
.pathway-card span {
  color: var(--clay-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.home-help {
  background: var(--paper);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.resource-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}
.resource-card figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.resource-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.resource-card > div {
  padding: 30px;
  align-self: center;
}
.resource-card h3 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 2rem;
}
.resource-card p {
  max-width: 500px;
  margin-bottom: 15px;
}
.resource-card a {
  color: var(--clay-dark);
  font-weight: 800;
  text-underline-offset: 5px;
}

.editorial-cluster {
  background: var(--sage);
}
.curated-lessons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.editorial-card {
  overflow: hidden;
  border: 1px solid rgba(91, 48, 42, 0.18);
  border-radius: 12px;
  background: var(--paper);
}
.editorial-card-media {
  display: block;
  padding: 10px 10px 0;
  background: white;
}
.editorial-card-media img {
  max-height: 290px;
  object-fit: contain;
}
.editorial-card > div {
  padding: 22px;
}
.editorial-card > div > span {
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.editorial-card h3 {
  margin: 7px 0 10px;
}
.editorial-card h3 a {
  text-decoration: none;
}
.editorial-card p {
  min-height: 66px;
}
.card-meta {
  margin: 18px 0;
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-meta .line-icon {
  width: 17px;
  height: 17px;
}

.guide-feature {
  padding: 72px 0;
  background: var(--paper);
}
.guide-feature h2 {
  color: var(--forest);
}
.guide-feature li {
  margin: 10px 0;
}
.guide-feature .button {
  margin-top: 12px;
}
.home-circle {
  background: var(--ivory);
}
.question-list {
  display: grid;
  gap: 12px;
}
.question-list > article {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 140px 1.4fr 1fr;
  column-gap: 22px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.question-list > article > span {
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.question-list h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}
.question-list p {
  margin-bottom: 0;
  font-size: 0.94rem;
}
.question-list article > div {
  grid-column: 2 / -1;
  margin-top: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.question-list article > div span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.question-list article > div .line-icon {
  width: 16px;
  height: 16px;
}
.question-list article > div a {
  color: var(--clay-dark);
  font-weight: 800;
}

.connection-pair {
  padding: 72px 0;
  background: var(--paper);
}
.two-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.two-feature-cards article {
  overflow: hidden;
  border-radius: 14px;
  background: var(--sage);
}
.two-feature-cards figure {
  margin: 0;
  padding: 10px 10px 0;
  background: white;
}
.two-feature-cards img {
  max-height: 360px;
  object-fit: contain;
}
.two-feature-cards article > div {
  padding: 28px;
}
.two-feature-cards h2 {
  margin-bottom: 10px;
  font-size: 2.2rem;
  color: var(--forest);
}

.origin-story {
  padding: 72px 0;
}
.origin-story figure {
  width: min(440px, 100%);
  justify-self: end;
}
.origin-story figure img {
  max-height: 560px;
  object-fit: contain;
}
.origin-story h2 {
  color: var(--forest);
}

.product-bridge {
  padding: 78px 0;
  color: white;
  background: var(--forest);
}
.product-bridge .wm-wrap {
  display: grid;
  gap: 50px;
}
.product-comfort,
.product-insight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(35px, 6vw, 80px);
  align-items: center;
}
.product-insight {
  grid-template-columns: 0.9fr 1.1fr;
}
.product-comfort figure,
.product-insight figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.product-comfort img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 12px;
}
.product-insight img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
}
.product-comfort span {
  color: #dfaa8f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-bridge h2 {
  margin: 10px 0 12px;
  color: white;
}
.product-bridge p {
  color: rgba(255, 255, 255, 0.75);
}

.hardest-chapters {
  background: var(--sand);
}
.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.support-cards > a {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper);
  text-decoration: none;
}
.support-cards figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.support-cards img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.support-cards div {
  padding: 28px;
}
.support-cards h3 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.7rem;
}
.support-cards span {
  color: var(--clay-dark);
  font-weight: 800;
}
.email-band {
  padding: 54px 0;
  color: white;
  background: var(--clay-dark);
}
.email-band p {
  color: rgba(255, 255, 255, 0.8);
}

/* Care path */
.result-hero,
.library-hero,
.circle-hero-v6,
.directory-hero-v6,
.loss-hero-v6,
.match-hero-v6,
.bed-hero-v6,
.base-hero-v6,
.story-hero-v6,
.support-hero-v6 {
  width: var(--wrap);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(38px, 6vw, 80px);
}
.result-hero > div,
.library-hero > div,
.circle-hero-v6 > div,
.directory-hero-v6 > div,
.loss-hero-v6 > div,
.match-hero-v6 > div,
.bed-hero-v6 > div,
.base-hero-v6 > div,
.story-hero-v6 > div,
.support-hero-v6 > div {
  padding: 30px 0;
}
.result-hero figure,
.library-hero figure,
.circle-hero-v6 figure,
.directory-hero-v6 figure,
.loss-hero-v6 figure,
.match-hero-v6 figure,
.bed-hero-v6 figure,
.base-hero-v6 figure,
.story-hero-v6 figure,
.support-hero-v6 figure {
  margin: 0;
  border-radius: var(--radius);
}
.result-hero figure img,
.library-hero figure img,
.circle-hero-v6 figure img,
.directory-hero-v6 figure img,
.loss-hero-v6 figure img,
.match-hero-v6 figure img,
.bed-hero-v6 figure img,
.base-hero-v6 figure img,
.story-hero-v6 figure img,
.support-hero-v6 figure img {
  max-height: 620px;
  object-fit: contain;
  border-radius: 9px;
}
.back-link {
  color: var(--clay-dark);
  font-weight: 800;
}
.question-echo {
  margin: 22px 0 8px;
  color: var(--muted);
}
.result-steps {
  margin-top: 52px;
  padding: 60px 0;
  background: var(--sage);
}
.result-steps .wm-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-steps article {
  padding: 26px;
  border-left: 3px solid var(--clay);
  background: var(--paper);
}
.result-steps article > span {
  color: var(--clay);
  font-weight: 800;
}
.result-steps h2 {
  margin: 8px 0;
  font-size: 1.55rem;
}
.result-more {
  padding: 52px 0;
}
.result-more .wm-wrap {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.result-more h2 {
  margin: 0;
}
.result-more .wm-wrap > div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.result-more a {
  color: var(--clay-dark);
  font-weight: 800;
}

/* Guide */
.guide-hero-v6 {
  width: var(--wrap);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
}
.guide-hero-photo {
  margin: 0;
  display: grid;
  place-items: center;
}
.guide-hero-photo img {
  width: auto;
  max-width: 100%;
  max-height: 650px;
  object-fit: contain;
  border-radius: 14px;
}
.guide-hero-copy {
  padding: clamp(36px, 6vw, 72px);
  color: white;
  border-radius: 16px;
  background: var(--forest);
}
.guide-hero-copy h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.25rem);
}
.guide-hero-copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}
.guide-hero-copy .email-capture {
  grid-template-columns: 1fr;
  align-items: stretch;
}
.guide-hero-copy .email-capture h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
}
.guide-hero-copy .email-capture p {
  font-size: 0.86rem;
}
.guide-hero-copy .email-capture .form-note {
  grid-column: auto;
}
.guide-outcomes {
  padding: 48px 0;
}
.guide-outcomes .wm-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-outcomes article {
  padding: 26px;
  border-top: 3px solid var(--clay);
  background: var(--paper);
}
.guide-outcomes span {
  color: var(--clay-dark);
  font-weight: 800;
}
.guide-outcomes h2 {
  margin: 8px 0 0;
  font-size: 1.55rem;
}
.guide-topics-v6 {
  padding: 70px 0;
  background: var(--paper);
}
.guide-topics-v6 .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-topics-v6 article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.guide-topics-v6 figure {
  margin: 0;
  padding: 9px;
  background: white;
}
.guide-topics-v6 img {
  max-height: 260px;
  object-fit: contain;
}
.guide-topics-v6 article > div {
  padding: 20px;
}
.guide-topics-v6 h3 {
  margin-bottom: 8px;
}
.guide-method {
  padding: 72px 0;
}
.guide-method li {
  margin: 14px 0;
}
.guide-vet-note {
  padding: 72px 0;
  background: var(--sage);
}
.guide-vet-note .wm-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.guide-vet-note blockquote {
  padding-left: 24px;
  border-left: 3px solid var(--clay);
  font-family: var(--serif);
  font-size: 1.5rem;
}
.guide-vet-note figure {
  margin: 0;
}
.guide-vet-note img {
  max-height: 360px;
  object-fit: contain;
}
.guide-lessons {
  padding: 72px 0;
}

/* Library, circle, lessons */
.library-hero,
.circle-hero-v6 {
  padding-bottom: 44px;
}
.library-grid-section {
  padding: 64px 0;
  background: var(--paper);
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.library-trust {
  padding: 50px 0;
  background: var(--forest);
  color: white;
}
.library-trust .wm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.library-trust h2 {
  margin-bottom: 6px;
  font-size: 2rem;
}
.library-trust p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.circle-feed-v6 {
  padding: 60px 0 78px;
  background: var(--paper);
}
.circle-filter-bar {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.circle-filter-bar h2 {
  margin: 0;
  font-size: 1.9rem;
}
.circle-filter-bar > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.circle-filter-bar button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}
.circle-filter-bar button[aria-pressed="true"] {
  color: white;
  border-color: var(--forest);
  background: var(--forest);
}
.circle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.circle-main {
  display: grid;
  gap: 18px;
}
.circle-post-v6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
}
.circle-post-v6 > figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.circle-post-v6 > figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.circle-post-v6 > div {
  padding: 26px;
}
.post-topic {
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.circle-post-v6 h2 {
  margin: 7px 0 10px;
  font-size: 1.75rem;
}
.post-result {
  margin: 16px 0;
  padding: 12px 14px;
  color: var(--forest);
  border-left: 3px solid var(--clay);
  background: var(--sage);
}
.circle-actions,
.lesson-community-actions {
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.circle-actions button,
.lesson-community-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.circle-actions button[aria-pressed="true"],
.lesson-community-actions button[aria-pressed="true"] {
  color: var(--clay);
}
.circle-actions .line-icon,
.lesson-community-actions .line-icon {
  width: 18px;
  height: 18px;
}
.circle-comments,
.lesson-community-panel {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.circle-comments article,
.lesson-community-list article {
  padding: 12px 14px;
  background: white;
}
.circle-comments p,
.lesson-community-list p {
  margin: 4px 0 0;
}
.circle-side {
  position: sticky;
  top: 130px;
  padding: 24px;
  border-radius: 12px;
  background: var(--sage);
}
.circle-side h2 {
  font-size: 1.45rem;
}
.circle-side > a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid rgba(91, 48, 42, 0.16);
  text-decoration: none;
}
.circle-side span,
.circle-side strong {
  display: block;
}
.circle-side span {
  color: var(--clay-dark);
  font-size: 0.75rem;
  text-transform: uppercase;
}
.circle-side .side-guide {
  margin-top: 12px;
  color: var(--clay-dark);
  font-weight: 800;
}

.lesson-hero-v6 {
  width: var(--wrap);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.lesson-hero-v6 > div {
  padding: 30px 0;
}
.lesson-hero-v6 .back-link {
  display: block;
  margin-bottom: 18px;
}
.lesson-hero-v6 > div > span {
  color: var(--clay-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.lesson-hero-v6 figure {
  margin: 0;
  border-radius: 14px;
}
.lesson-hero-v6 figure img {
  max-height: 500px;
  object-fit: contain;
}
.lesson-community {
  margin-top: 18px;
}
.lesson-community-panel form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.lesson-community-panel textarea {
  min-height: 90px;
}
.lesson-community-panel form button {
  justify-self: start;
  padding: 9px 13px;
  border: 0;
  border-radius: 6px;
  color: white;
  background: var(--forest);
}
.lesson-personalizer-v6 {
  padding: 55px 0;
  background: var(--sand);
}
.lesson-personalizer-v6 > .wm-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
  align-items: start;
}
.urgent-copy {
  padding: 17px;
  border-left: 3px solid var(--clay);
  background: var(--rose);
}
.urgent-copy p {
  margin: 6px 0 0;
}
.lesson-intake-v6 .button {
  margin-top: 18px;
}
.lesson-intake-v6 fieldset.wide {
  padding: 14px;
  border: 1px solid var(--line);
}
.lesson-intake-v6 fieldset.wide label {
  display: inline-flex;
  align-items: center;
  margin-right: 22px;
}
.lesson-intake-v6 fieldset.wide input {
  width: 20px;
  min-height: 20px;
  margin-right: 6px;
}
.lesson-course-v6 {
  padding: 55px 0 75px;
}
.lesson-course-v6 > .wm-wrap {
  max-width: 1040px;
}
.lesson-course-v6 > .wm-wrap > header {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
  color: white;
  background: var(--forest);
}
.lesson-course-v6 header h2 {
  margin: 5px 0;
  font-size: 2rem;
}
.lesson-course-v6 header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.lesson-course-v6 header strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.lesson-chapter-nav {
  position: sticky;
  top: 111px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
}
.lesson-chapter-nav a {
  padding: 15px;
  display: flex;
  gap: 9px;
  align-items: center;
  border-right: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.lesson-chapter-nav a:last-child {
  border: 0;
}
.lesson-chapter-nav span {
  color: var(--clay);
}
.lesson-chapters-v6 {
  display: grid;
  gap: 26px;
  margin-top: 26px;
}
.lesson-chapters-v6 > section:not(.call-sooner-v6) {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.lesson-chapters-v6 > section > figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.lesson-chapters-v6 > section > figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.lesson-chapters-v6 > section > div {
  padding: clamp(24px, 4vw, 46px);
}
.lesson-chapters-v6 > section > div > span {
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.lesson-chapters-v6 ol {
  padding-left: 22px;
}
.lesson-chapters-v6 li {
  margin: 10px 0;
  color: var(--muted);
}
.chapter-result {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.chapter-quiz {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.chapter-quiz legend {
  padding: 0 7px;
  font-size: 1rem;
}
.chapter-quiz label {
  display: flex;
  gap: 9px;
  align-items: start;
  padding: 8px 0;
}
.chapter-quiz input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}
.chapter-quiz label span {
  margin: 0;
  font-weight: 500;
}
.chapter-quiz button {
  margin-top: 10px;
  padding: 9px 14px;
  color: white;
  border: 0;
  border-radius: 6px;
  background: var(--forest);
  cursor: pointer;
}
.chapter-quiz [data-quiz-feedback] {
  margin: 9px 0 0;
  font-weight: 700;
}
.call-sooner-v6 {
  padding: 36px;
  color: var(--ink);
  border-left: 5px solid var(--clay);
  background: var(--rose);
}
.call-sooner-v6 h2 {
  font-size: 2rem;
}
.lesson-related {
  padding: 72px 0;
  background: var(--sage);
}

/* Directory */
.directory-selectors {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.emergency-strip-v6 {
  margin-top: 42px;
  padding: 24px 0;
  background: var(--rose);
}
.emergency-strip-v6 .wm-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.emergency-strip-v6 .wm-wrap > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
.emergency-strip-v6 p {
  margin: 0;
  color: var(--ink);
}
.emergency-strip-v6 button {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--clay);
  border-radius: 7px;
  color: var(--clay-dark);
  background: white;
  font-weight: 800;
  cursor: pointer;
}
.directory-results-v6 {
  padding: 68px 0;
  background: var(--paper);
}
.provider-grid-v6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.provider-card-v6 {
  height: 100%;
  min-height: 520px;
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--ivory);
}
.provider-card-v6 > figure {
  height: 220px;
  margin: 0;
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: white;
}
.provider-card-v6 > figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.provider-card-v6 > div {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.provider-card-v6 > div > span {
  color: var(--clay-dark);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}
.provider-card-v6 h3 {
  margin: 7px 0 9px;
  font-size: 1.42rem;
}
.provider-card-v6 .organization {
  color: var(--ink);
  font-weight: 700;
}
.provider-card-v6 .location {
  font-size: 0.86rem;
}
.provider-card-v6 > div > p:last-of-type {
  font-size: 0.92rem;
}
.provider-card-v6 a {
  margin-top: auto;
  color: var(--clay-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}
.care-directory-more {
  margin: 30px auto 0;
  display: flex;
}
.directory-note-v6 {
  padding: 22px 0;
  background: var(--sage);
}
.directory-note-v6 p {
  margin: 0;
  color: var(--forest);
  text-align: center;
}
.practice-band-v6 {
  padding: 70px 0;
}
.practice-band-v6 .wm-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.practice-band-v6 figure {
  margin: 0;
  padding: 10px;
  background: white;
}
.practice-band-v6 figure img {
  max-height: 680px;
  object-fit: contain;
}
.provider-form-v6 h2 {
  margin-bottom: 8px;
}

/* Loss, memorial, matching */
.loss-choose,
.loss-journey,
.loss-support-v6,
.match-issues,
.match-faq {
  padding: 68px 0;
}
.loss-choose .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.loss-choose a {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 3px solid var(--clay);
  background: var(--paper);
  text-decoration: none;
}
.loss-choose strong {
  font-family: var(--serif);
  font-size: 1.45rem;
}
.loss-choose span {
  color: var(--clay-dark);
  font-weight: 800;
}
.loss-journey {
  background: var(--sand);
}
.loss-journey .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.loss-journey article {
  padding: 26px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  background: var(--paper);
}
.loss-journey article > span {
  color: var(--clay);
  font-weight: 800;
}
.loss-journey h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.loss-journey p {
  margin: 0;
}
.loss-words {
  padding: 72px 0;
}
.loss-words blockquote {
  padding-left: 24px;
  border-left: 3px solid var(--clay);
  font-family: var(--serif);
  font-size: 1.45rem;
}
.loss-support-v6 {
  background: var(--forest);
}
.loss-support-v6 .wm-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.loss-support-v6 article {
  padding: 28px;
  background: var(--paper);
}
.loss-support-v6 h2 {
  font-size: 1.65rem;
}
.loss-support-v6 a {
  color: var(--clay-dark);
  font-weight: 800;
}

.memorial-hero-v6 {
  width: var(--wrap);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
}
.memorial-hero-v6 figure {
  margin: 0;
}
.memorial-hero-v6 figure img {
  max-height: 660px;
  object-fit: contain;
}
.memorial-hero-v6 > div {
  padding: clamp(34px, 6vw, 72px);
}
.memorial-meaning {
  padding: 72px 0;
}
.memorial-meaning .wm-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.memorial-meaning figure {
  margin: 0;
}
.memorial-meaning img {
  max-height: 500px;
  object-fit: contain;
}
.memorial-partner {
  padding: 72px 0;
  background: var(--sage);
}
.memorial-steps {
  padding: 68px 0;
}
.memorial-steps ol {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
}
.memorial-steps li {
  padding: 24px;
  background: var(--paper);
}
.memorial-steps li span {
  display: block;
  color: var(--clay);
  font-weight: 800;
}
.tree-purchase-dialog {
  width: min(720px, calc(100vw - 30px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.tree-purchase-dialog::backdrop {
  background: rgba(91, 48, 42, 0.65);
}
.tree-purchase-dialog > div {
  padding: 34px;
}
.tree-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ivory);
  font-size: 1.5rem;
  cursor: pointer;
}
.tree-price {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 2rem;
}

.match-how,
.match-form-section {
  padding: 72px 0;
}
.match-how ol {
  padding: 0;
  list-style: none;
}
.match-how li {
  margin: 16px 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}
.match-how li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: var(--clay);
}
.match-how li p {
  margin: 3px 0 0;
}
.match-issues {
  background: var(--sage);
}
.match-issues .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.match-issues article {
  padding: 9px;
  background: white;
}
.match-issues figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.match-issues img {
  max-height: 250px;
  object-fit: contain;
}
.match-issues h3 {
  padding: 14px 8px 5px;
  font-size: 1.25rem;
}
.match-form-section .wm-wrap {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 45px;
  align-items: start;
}
.match-faq {
  background: var(--paper);
}
.match-faq .wm-wrap {
  max-width: 860px;
}
.match-faq details {
  border-top: 1px solid var(--line);
}
.match-faq summary {
  padding: 18px 0;
  font-weight: 800;
  cursor: pointer;
}
.match-faq details p {
  padding: 0 0 18px;
}

/* Product and story */
.bed-hero-v6 > div > span,
.base-hero-v6 > div > span {
  color: var(--clay-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.bed-hero-v6 figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}
.bed-comfort-v6,
.bed-insights-v6,
.base-flow,
.base-visual,
.story-body-v6,
.story-values,
.support-routes-v6,
.support-contact-v6 {
  padding: 72px 0;
}
.bed-comfort-v6 {
  margin-top: 40px;
  background: var(--paper);
}
.bed-comfort-v6 .wm-wrap,
.bed-insights-v6 .wm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bed-comfort-v6 figure,
.bed-insights-v6 figure {
  margin: 0;
  display: grid;
  place-items: center;
}
.bed-comfort-v6 img {
  width: auto;
  max-width: 100%;
  max-height: 640px;
  object-fit: contain;
  border-radius: 12px;
}
.bed-benefits,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.bed-benefits article,
.metric-grid article {
  padding: 18px;
  border-top: 2px solid var(--clay);
  background: var(--ivory);
}
.bed-benefits strong,
.metric-grid span,
.metric-grid strong {
  display: block;
}
.bed-benefits p {
  margin: 4px 0 0;
}
.bed-insights-v6 {
  color: white;
  background: var(--forest);
}
.bed-insights-v6 h2 {
  color: white;
}
.bed-insights-v6 p {
  color: rgba(255, 255, 255, 0.72);
}
.metric-grid article {
  background: rgba(255, 255, 255, 0.08);
}
.metric-grid span {
  color: #dfaa8f;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.metric-grid strong {
  margin-top: 6px;
}
.bed-insights-v6 .button {
  margin-top: 22px;
  border-color: white;
  color: white;
}
.bed-boundary-v6 {
  padding: 50px 0;
  background: var(--sage);
}
.bed-boundary-v6 .wm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.bed-boundary-v6 h2 {
  margin: 0;
  font-size: 2rem;
}
.bed-boundary-v6 p {
  max-width: 690px;
  margin: 0;
}
.base-flow {
  background: var(--sage);
}
.base-flow .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.base-flow article {
  padding: 24px;
  background: var(--paper);
}
.base-flow article span {
  color: var(--clay);
  font-weight: 800;
}
.base-flow h2 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}
.story-hero-v6 {
  grid-template-columns: 0.75fr 1.25fr;
}
.story-hero-v6 figure img {
  max-height: 650px;
}
.story-body-v6 p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.7;
}
.drop-cap::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.75;
}
.story-body-v6 blockquote {
  margin: 38px 0;
  padding: 26px 0 26px 28px;
  border-left: 4px solid var(--clay);
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.65rem;
}
.story-values {
  background: var(--forest);
}
.story-values .wm-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-values article {
  padding: 28px;
  background: var(--paper);
}
.story-values h2 {
  font-size: 1.55rem;
}
.support-routes-v6 .wm-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.support-routes-v6 a {
  padding: 28px;
  border-top: 3px solid var(--clay);
  background: var(--paper);
  text-decoration: none;
}
.support-routes-v6 h2 {
  font-size: 1.5rem;
}
.support-contact-v6 {
  background: var(--sage);
}
.support-contact-v6 .wm-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 45px;
  align-items: start;
}

/* Legal */
.legal-page .page-intro {
  width: min(820px, calc(100vw - 40px));
  margin: 70px auto 35px;
}
.legal-content {
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto 80px;
}
.legal-content section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  font-size: 1.7rem;
}

@media (max-width: 1120px) {
  :root {
    --wrap: min(100% - 36px, 1000px);
  }
  .wm-header-inner {
    grid-template-columns: 190px 1fr auto;
    gap: 16px;
  }
  .wm-nav {
    gap: 18px;
  }
  .wm-product-link {
    max-width: 150px;
    white-space: normal;
    text-align: center;
  }
  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .provider-grid-v6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --wrap: calc(100vw - 32px);
  }
  h1 {
    font-size: clamp(2.35rem, 6.25vw, 3rem);
  }
  h2 {
    font-size: clamp(1.85rem, 4.9vw, 2.35rem);
  }
  .announcement {
    min-height: 30px;
  }
  .wm-header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: block;
  }
  .wm-product-link {
    display: none;
  }
  .wm-nav {
    position: fixed;
    inset: 98px 0 0;
    padding: 22px 18px 40px;
    display: none;
    overflow: auto;
    align-content: start;
    background: var(--paper);
  }
  .wm-nav.is-open {
    display: grid;
  }
  .wm-nav > a,
  .nav-group > summary {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-menu {
    position: static;
    width: 100%;
    transform: none;
    padding: 7px 0 8px 14px;
    border: 0;
    box-shadow: none;
  }
  .nav-menu a {
    padding: 10px;
  }
  .wm-footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-hero-copy {
    padding-bottom: 0;
  }
  .home-hero-grid > figure {
    width: min(760px, 100%);
  }
  .resource-grid,
  .curated-lessons,
  .library-grid,
  .guide-topics-v6 .wm-wrap > div {
    grid-template-columns: repeat(2, 1fr);
  }
  .question-list > article {
    grid-template-columns: 100px 1fr;
  }
  .question-list p {
    grid-column: 2;
  }
  .product-comfort,
  .product-insight,
  .image-text,
  .image-text.reverse,
  .bed-comfort-v6 .wm-wrap,
  .bed-insights-v6 .wm-wrap {
    grid-template-columns: 1fr;
  }
  .image-text.reverse > figure {
    order: 0;
  }
  .support-cards > a {
    grid-template-columns: 1fr;
  }
  .email-capture {
    grid-template-columns: 1fr 1fr;
  }
  .email-capture > div {
    grid-column: 1 / -1;
  }
  .result-hero,
  .library-hero,
  .circle-hero-v6,
  .directory-hero-v6,
  .loss-hero-v6,
  .match-hero-v6,
  .bed-hero-v6,
  .base-hero-v6,
  .story-hero-v6,
  .support-hero-v6,
  .guide-hero-v6 {
    grid-template-columns: 1fr;
  }
  .guide-hero-photo {
    order: 2;
  }
  .result-steps .wm-wrap,
  .guide-outcomes .wm-wrap,
  .loss-choose .wm-wrap > div,
  .loss-support-v6 .wm-wrap,
  .story-values .wm-wrap,
  .support-routes-v6 .wm-wrap {
    grid-template-columns: 1fr;
  }
  .circle-layout {
    grid-template-columns: 1fr;
  }
  .circle-side {
    position: static;
  }
  .lesson-personalizer-v6 > .wm-wrap,
  .match-form-section .wm-wrap,
  .support-contact-v6 .wm-wrap,
  .practice-band-v6 .wm-wrap {
    grid-template-columns: 1fr;
  }
  .lesson-chapter-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-vet-note .wm-wrap {
    grid-template-columns: 1fr;
  }
  .match-issues .wm-wrap > div,
  .base-flow .wm-wrap > div {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: calc(100vw - 24px);
  }
  body {
    font-size: 15.5px;
  }
  h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }
  h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
  .wm-wordmark {
    font-size: 1.75rem;
  }
  .editorial-heading {
    display: block;
  }
  .editorial-heading > a {
    display: inline-block;
    margin-top: 14px;
  }
  .home-hero {
    padding-top: 12px;
  }
  .home-hero-copy {
    padding: 18px 0 0;
  }
  .home-hero-copy h1 {
    font-size: 2.45rem;
  }
  .question-box > div {
    grid-template-columns: 1fr;
  }
  .question-box button {
    min-height: 50px;
  }
  .pathways,
  .home-help,
  .editorial-cluster,
  .home-circle,
  .hardest-chapters,
  .guide-feature,
  .connection-pair,
  .origin-story,
  .product-bridge {
    padding: 50px 0;
  }
  .pathway-grid,
  .resource-grid,
  .curated-lessons,
  .library-grid,
  .guide-topics-v6 .wm-wrap > div,
  .two-feature-cards,
  .support-cards,
  .provider-grid-v6,
  .loss-journey .wm-wrap > div,
  .memorial-steps ol,
  .match-issues .wm-wrap > div,
  .base-flow .wm-wrap > div,
  .story-values .wm-wrap,
  .support-routes-v6 .wm-wrap {
    grid-template-columns: 1fr;
  }
  .pathway-card {
    grid-template-columns: 130px 1fr;
    min-height: 145px;
  }
  .resource-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .resource-card figure {
    min-height: 0;
  }
  .resource-card img {
    max-height: none;
  }
  .question-list > article {
    padding: 22px;
    display: block;
  }
  .question-list h3 {
    margin-top: 8px;
  }
  .question-list p {
    margin-top: 12px;
  }
  .question-list article > div {
    display: flex;
    flex-wrap: wrap;
  }
  .question-list article > div a {
    width: 100%;
    margin: 4px 0 0;
  }
  .product-comfort,
  .product-insight {
    grid-template-columns: 1fr;
  }
  .product-insight figure {
    order: 2;
  }
  .email-capture {
    grid-template-columns: 1fr;
  }
  .email-capture > div,
  .email-capture .form-note {
    grid-column: auto;
  }
  .wm-footer-callout {
    align-items: flex-start;
    flex-direction: column;
  }
  .wm-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
  .wm-footer-brand {
    grid-column: 1 / -1;
  }
  .wm-footer-bottom {
    flex-direction: column;
  }
  .result-hero,
  .library-hero,
  .circle-hero-v6,
  .directory-hero-v6,
  .loss-hero-v6,
  .match-hero-v6,
  .bed-hero-v6,
  .base-hero-v6,
  .story-hero-v6,
  .support-hero-v6 {
    margin-top: 18px;
    gap: 12px;
  }
  .result-hero > div,
  .library-hero > div,
  .circle-hero-v6 > div,
  .directory-hero-v6 > div,
  .loss-hero-v6 > div,
  .match-hero-v6 > div,
  .bed-hero-v6 > div,
  .base-hero-v6 > div,
  .story-hero-v6 > div,
  .support-hero-v6 > div {
    padding: 20px 0;
  }
  .result-more .wm-wrap,
  .library-trust .wm-wrap,
  .emergency-strip-v6 .wm-wrap,
  .bed-boundary-v6 .wm-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-hero-v6 {
    margin-top: 18px;
  }
  .guide-hero-copy {
    padding: 28px 22px;
  }
  .circle-filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .circle-post-v6 {
    grid-template-columns: 1fr;
  }
  .circle-post-v6 > figure img {
    max-height: none;
  }
  .lesson-hero-v6 {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lesson-hero-v6 > div {
    padding: 20px 0;
  }
  .lesson-course-v6 > .wm-wrap > header {
    grid-template-columns: 1fr;
  }
  .lesson-chapter-nav {
    grid-template-columns: 1fr;
  }
  .lesson-chapter-nav a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .lesson-chapters-v6 > section:not(.call-sooner-v6) {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .provider-form-v6 > div,
  .lesson-intake-v6 > div,
  .directory-selectors,
  .bed-benefits,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .field-wide,
  .wide {
    grid-column: auto;
  }
  .memorial-hero-v6,
  .memorial-meaning .wm-wrap {
    grid-template-columns: 1fr;
  }
  .memorial-hero-v6 figure {
    order: 2;
  }
}

/* 2026-08-22 v11 — locked to the approved Better days together reference */
.home-v11 {
  background: var(--ivory);
}
.home-v11 .wm-header-inner {
  width: min(1180px, calc(100vw - 40px));
  min-height: 72px;
}
.home-v11 .wm-nav {
  gap: 29px;
}
.home-v11 .wm-product-link {
  min-height: 42px;
  padding: 10px 17px;
}
.home-v11 .home-reference {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding-bottom: 28px;
}
.home-v11 .home-reference h1,
.home-v11 .home-reference h2,
.home-v11 .home-reference h3 {
  color: var(--forest);
  font-weight: 500;
}
.home-v11 .home-reference figure {
  margin: 0;
  background: transparent;
}
.home-v11 .home-reference img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: transparent;
}
.home-v11 .home-ref-hero {
  min-height: 455px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.home-v11 .home-ref-hero-copy {
  padding: 46px 44px 34px 12px;
  align-self: center;
}
.home-v11 .home-ref-hero-copy h1 {
  max-width: 390px;
  margin: 0 0 20px;
  font-size: clamp(3.45rem, 4.5vw, 4.35rem);
  line-height: 0.96;
}
.home-v11 .home-ref-hero-copy > p {
  max-width: 400px;
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.52;
}
.home-v11 .home-ref-actions {
  margin-bottom: 25px;
  display: flex;
  gap: 12px;
}
.home-v11 .home-ref-actions .button {
  min-width: 154px;
  min-height: 46px;
  padding: 11px 16px;
}
.home-v11 .home-trust-row {
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.home-v11 .home-trust-row span {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: var(--clay-dark);
  font-size: 0.71rem;
  line-height: 1.35;
}
.home-v11 .home-trust-row b {
  color: var(--ink);
  font-weight: 500;
}
.home-v11 .home-ref-hero > figure {
  min-width: 0;
  min-height: 455px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-v11 .home-ref-hero > figure img {
  max-height: 455px;
}

.home-v11 .home-ref-section {
  padding: 32px 0 34px;
}
.home-v11 .home-ref-section > header {
  margin-bottom: 19px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.home-v11 .home-ref-section > header h2 {
  margin: 0 0 4px;
  font-size: 1.9rem;
  line-height: 1.08;
}
.home-v11 .home-ref-section > header p {
  margin: 0;
  font-size: 0.86rem;
}
.home-v11 .home-ref-section > header > a {
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}
.home-v11 .home-topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}
.home-v11 .home-topic-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdfa;
  text-decoration: none;
}
.home-v11 .home-topic-card figure {
  aspect-ratio: 3 / 2;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-v11 .home-topic-card > div {
  position: relative;
  min-height: 182px;
  padding: 26px 13px 13px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.home-v11 .home-topic-card i {
  position: absolute;
  top: -19px;
  left: 11px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--clay-dark);
  border: 1px solid var(--clay);
  border-radius: 50%;
  background: white;
  font-size: 0.9rem;
  font-style: normal;
}
.home-v11 .home-topic-card h3 {
  margin: 0 0 7px;
  font-size: 1.16rem;
  line-height: 1.1;
}
.home-v11 .home-topic-card p {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.home-v11 .home-topic-card span {
  margin-top: auto;
  color: var(--clay-dark);
  font-size: 0.82rem;
  font-weight: 650;
}

.home-v11 .home-care-account {
  margin: 6px 0 26px;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  color: white;
  border-radius: 9px;
  background: var(--forest);
}
.home-v11 .home-account-panel {
  padding: 30px 28px 24px;
}
.home-v11 .home-account-panel h2 {
  margin: 0 0 9px;
  color: white;
  font-size: 2rem;
  line-height: 1.04;
}
.home-v11 .home-account-panel > p {
  max-width: 360px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.48;
}
.home-v11 .home-account-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.home-v11 .home-owner-fields,
.home-v11 .home-dog-fields {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
}
.home-v11 .home-dog-fields {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}
.home-v11 .home-dog-fields > strong {
  margin-bottom: 1px;
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
}
.home-v11 .home-owner-fields > p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.4;
}
.home-v11 .home-account-fields label {
  display: grid;
  gap: 4px;
  color: white;
  font-size: 0.82rem;
  font-weight: 550;
}
.home-v11 .home-account-fields label > span {
  color: rgba(255, 255, 255, 0.96);
}
.home-v11 .home-account-fields input,
.home-v11 .home-account-fields select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 5px;
  background: white;
  font-size: 0.8rem;
}
.home-v11 .home-dog-fields .button {
  width: 100%;
  min-height: 42px;
  margin-top: 3px;
  padding: 9px 12px;
}
.home-v11 .home-account-panel .form-note {
  min-height: 18px;
  margin: 5px 0 0;
  color: white;
  font-size: 0.82rem;
}
.home-v11 .home-care-account > figure {
  position: relative;
  min-width: 0;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e7ddcf;
}
.home-v11 .home-care-account > figure img {
  height: auto;
  max-height: 420px;
}
.home-v11 .home-care-account figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 15px 22px;
  display: grid;
  gap: 5px;
  color: white;
  background: rgba(91, 48, 42, 0.9);
  font-size: 0.76rem;
}

.home-v11 .home-ref-guide {
  position: relative;
  min-height: 185px;
  margin-bottom: 24px;
  padding: 28px 220px 28px 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  color: white;
  border-radius: 9px;
  background: var(--forest);
}
.home-v11 .home-ref-guide h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 1.75rem;
  line-height: 1.07;
}
.home-v11 .home-ref-guide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
}
.home-v11 .home-ref-guide form {
  display: grid;
  gap: 8px;
}
.home-v11 .home-ref-guide input,
.home-v11 .home-ref-guide button {
  width: 100%;
  min-height: 42px;
}
.home-v11 .home-ref-guide .form-note {
  min-height: 15px;
  margin: 0;
  color: white;
  font-size: 0.82rem;
}
.home-v11 .home-guide-book {
  position: absolute;
  right: 34px;
  bottom: -7px;
  width: 150px;
  height: 180px;
  padding: 16px 14px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  background: #713f36;
  box-shadow: -14px 10px 0 rgba(255, 255, 255, 0.13);
  text-decoration: none;
}
.home-v11 .home-guide-book span {
  display: block;
  font-size: 0.58rem;
}
.home-v11 .home-guide-book strong {
  position: relative;
  z-index: 2;
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.03;
}
.home-v11 .home-guide-book img {
  position: absolute;
  inset: auto 0 0;
  height: 88px;
}

.home-v11 .home-vet-support {
  min-height: 112px;
  margin: 0 0 24px;
  padding: 13px 20px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 155px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.home-v11 .home-vet-icon {
  color: var(--forest);
  font-size: 2.1rem;
  text-align: center;
}
.home-v11 .home-vet-support h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}
.home-v11 .home-vet-support p {
  max-width: 510px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}
.home-v11 .home-vet-support .button {
  min-height: 40px;
  padding: 9px 14px;
}
.home-v11 .home-vet-support figure {
  height: 96px;
  display: grid;
  place-items: center;
}

.home-v11 .home-ref-bed {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.home-v11 .home-bed-panel {
  min-width: 0;
  min-height: 285px;
  padding: 24px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  color: white;
  border-radius: 9px;
  background: var(--forest);
}
.home-v11 .home-bed-panel h2,
.home-v11 .home-bed-panel h3 {
  color: white;
}
.home-v11 .home-bed-panel h2 {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.08;
}
.home-v11 .home-bed-panel h3 {
  margin: 20px 0 7px;
  font-size: 1.22rem;
  line-height: 1.12;
}
.home-v11 .home-bed-panel p,
.home-v11 .home-bed-panel li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.47;
}
.home-v11 .home-bed-panel p {
  margin: 0;
}
.home-v11 .home-bed-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 15px;
}
.home-v11 .home-bed-panel figure {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.home-v11 .home-bed-panel figure img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: contain !important;
}
.home-v11 .home-bed-panel .button {
  min-height: 40px;
  margin-top: 16px;
  padding: 9px 12px;
  font-size: 0.72rem;
}

.home-v11 .home-memorial {
  padding: 6px 8px 0;
  display: grid;
  grid-template-columns: minmax(225px, 0.62fr) minmax(0, 1.38fr);
  gap: 30px;
  align-items: center;
}
.home-v11 .home-memorial > div:first-child {
  padding: 18px 0;
}
.home-v11 .home-memorial > div:first-child h2 {
  margin: 0 0 15px;
  font-size: 2rem;
  line-height: 1.02;
}
.home-v11 .home-memorial > div:first-child p {
  max-width: 270px;
  margin: 0 0 26px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.home-v11 .home-memorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.home-v11 .home-memorial-grid > a {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  text-decoration: none;
}
.home-v11 .home-memorial-grid figure {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-v11 .home-memorial-grid h3 {
  margin: 11px 12px 4px;
  font-size: 1.02rem;
}
.home-v11 .home-memorial-grid p {
  margin: 0 12px 13px;
  font-size: 0.82rem;
  line-height: 1.42;
}

@media (max-width: 1080px) {
  .home-v11 .wm-nav {
    gap: 17px;
  }
  .home-v11 .home-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-v11 .home-ref-guide {
    padding-right: 200px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .home-v11 .home-vet-support {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }
  .home-v11 .home-vet-support figure {
    display: none;
  }
  .home-v11 .home-bed-panel {
    grid-template-columns: 1fr;
  }
  .home-v11 .home-bed-panel figure {
    height: 190px;
  }
}

@media (max-width: 860px) {
  .home-v11 .home-reference,
  .home-v11 .wm-header-inner {
    width: min(100% - 30px, 720px);
  }
  .home-v11 .home-ref-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .home-v11 .home-ref-hero-copy {
    padding: 38px 18px 24px;
  }
  .home-v11 .home-ref-hero > figure {
    min-height: 0;
    padding: 0 18px 22px;
  }
  .home-v11 .home-ref-hero > figure img {
    height: auto;
    max-height: 430px;
  }
  .home-v11 .home-care-account {
    grid-template-columns: 1fr;
  }
  .home-v11 .home-care-account > figure {
    min-height: 360px;
  }
  .home-v11 .home-care-account > figure img {
    max-height: 360px;
  }
  .home-v11 .home-ref-bed {
    grid-template-columns: 1fr;
  }
  .home-v11 .home-bed-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .home-v11 .home-memorial {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .home-v11 .home-reference {
    width: 100%;
  }
  .home-v11 .home-ref-hero-copy {
    padding-inline: 18px;
  }
  .home-v11 .home-ref-hero-copy h1 {
    font-size: 3rem;
  }
  .home-v11 .home-ref-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-v11 .home-ref-actions .button {
    min-width: 0;
    padding-inline: 9px;
  }
  .home-v11 .home-trust-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .home-v11 .home-ref-section {
    padding: 28px 13px;
  }
  .home-v11 .home-ref-section > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .home-v11 .home-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .home-v11 .home-topic-card > div {
    min-height: 172px;
    padding: 24px 10px 11px;
  }
  .home-v11 .home-topic-card h3 {
    font-size: 1rem;
  }
  .home-v11 .home-topic-card p {
    font-size: 0.82rem;
  }
  .home-v11 .home-care-account {
    margin: 0 13px 22px;
  }
  .home-v11 .home-account-panel {
    padding: 26px 18px 22px;
  }
  .home-v11 .home-account-panel h2 {
    font-size: 1.8rem;
  }
  .home-v11 .home-account-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-v11 .home-dog-fields {
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }
  .home-v11 .home-care-account > figure {
    min-height: 300px;
  }
  .home-v11 .home-care-account > figure img {
    max-height: 300px;
  }
  .home-v11 .home-ref-guide {
    margin: 0 13px 22px;
    padding: 24px 18px 165px;
    grid-template-columns: 1fr;
  }
  .home-v11 .home-ref-guide h2 {
    font-size: 1.55rem;
  }
  .home-v11 .home-guide-book {
    right: 50%;
    bottom: -12px;
    width: 135px;
    height: 155px;
    transform: translateX(50%);
  }
  .home-v11 .home-guide-book img {
    height: 72px;
  }
  .home-v11 .home-vet-support {
    margin: 0 13px 22px;
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }
  .home-v11 .home-vet-support .button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .home-v11 .home-ref-bed {
    margin: 0 13px 22px;
  }
  .home-v11 .home-bed-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .home-v11 .home-bed-panel figure {
    height: 205px;
  }
  .home-v11 .home-memorial {
    padding: 0 13px;
  }
  .home-v11 .home-memorial > div:first-child h2 {
    font-size: 1.8rem;
  }
  .home-v11 .home-memorial-grid {
    grid-template-columns: 1fr;
  }
  .home-v11 .home-memorial-grid > a {
    display: block;
  }
  .home-v11 .home-memorial-grid figure {
    height: auto;
    aspect-ratio: 3 / 2;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

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

@media print {
  .announcement,
  .wm-header,
  .wm-footer,
  .button,
  .email-band,
  .circle-actions,
  .lesson-chapter-nav {
    display: none !important;
  }
  body {
    background: white;
  }
}

/* Approved WoafMeow homepage direction — compact, image-led, reference-aligned */
.wm-header {
  top: 0;
  background: rgba(255, 252, 250, 0.98);
}
.wm-header-inner {
  width: min(1320px, calc(100vw - 48px));
  min-height: 72px;
  grid-template-columns: 210px 1fr auto;
  gap: 22px;
}
.wm-nav {
  gap: 24px;
}
.wm-nav > a,
.nav-group > summary {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.wm-login-link {
  margin-left: 8px;
}
.wm-bed-link {
  padding: 8px 12px;
  border: 1px solid rgba(181, 75, 46, 0.35);
  border-radius: 999px;
  color: var(--clay-dark) !important;
  background: rgba(232, 119, 87, 0.08);
}
.wm-bed-link:hover {
  border-color: var(--clay);
  background: rgba(232, 119, 87, 0.14);
}
.wm-header [data-account-create][hidden] {
  display: none !important;
}
.wm-product-link {
  padding: 11px 15px;
  color: white;
  border-color: var(--clay-dark);
  background: var(--clay-dark);
}
.wm-product-link:hover {
  background: var(--clay-dark);
}
.nav-group {
  z-index: 2;
}
.nav-group[open] {
  z-index: 20;
}
.nav-menu {
  top: calc(100% + 14px);
  left: 0;
  width: 270px;
  transform: none;
  padding: 9px;
}
.nav-group:nth-of-type(4) .nav-menu {
  left: auto;
  right: 0;
}
.nav-menu a {
  padding: 11px 12px;
}

.wm-footer-grid {
  width: min(1240px, calc(100vw - 48px));
  padding: 38px 0 26px;
  grid-template-columns: 1.45fr repeat(5, 1fr);
  gap: 30px;
}
.wm-footer-grid h2 {
  margin-bottom: 10px;
}
.wm-footer-grid a {
  margin: 6px 0;
  font-size: 0.82rem;
}
.wm-footer-grid .wm-wordmark {
  font-size: 1.55rem;
}
.wm-footer-brand p {
  max-width: 230px;
  margin-bottom: 0;
  font-size: 0.85rem;
}
.wm-footer-bottom {
  width: min(1240px, calc(100vw - 48px));
  padding: 16px 0 20px;
}

.home-v6 {
  background: #fffdf9;
}
.home-v6 main {
  overflow: hidden;
}
.home-reference {
  width: min(1270px, calc(100vw - 48px));
  margin-inline: auto;
  padding-bottom: 28px;
}
.home-reference h1,
.home-reference h2,
.home-reference h3 {
  color: var(--forest);
}
.home-reference h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
}
.home-reference h3 {
  font-size: 1.18rem;
}
.home-reference p {
  line-height: 1.48;
}
.home-reference figure {
  margin: 0;
  background: transparent;
}
.home-reference img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: transparent;
}
.home-ref-section {
  padding: 36px 0;
}
.home-ref-section > header {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.home-ref-section > header h2 {
  margin-bottom: 5px;
}
.home-ref-section > header p {
  margin: 0;
  font-size: 0.95rem;
}
.home-ref-section > header > a {
  color: var(--clay-dark);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.home-ref-hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.home-ref-hero-copy {
  padding: 58px 48px 48px 42px;
  align-self: center;
}
.home-ref-hero-copy h1 {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: clamp(2.85rem, 4.15vw, 3.85rem);
  line-height: 1;
}
.home-ref-hero-copy > p {
  max-width: 490px;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.home-ref-actions {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.home-ref-actions .button {
  min-width: 170px;
  min-height: 50px;
}
.home-ref-account {
  max-width: 460px;
  padding: 13px 16px;
  display: block;
  color: var(--ink);
  border: 1px solid #e4dacb;
  border-radius: 8px;
  background: #f6f1e8;
  font-size: 0.84rem;
  line-height: 1.45;
  text-decoration: none;
}
.home-ref-account > span {
  margin-right: 8px;
  color: var(--clay);
  font-size: 1.25rem;
}
.home-ref-account strong {
  color: var(--clay-dark);
  font-weight: 650;
}
.home-ref-hero > figure {
  min-width: 0;
  display: grid;
  place-items: center;
}
.home-ref-hero > figure img {
  max-height: 520px;
}

.home-ref-topics > header {
  display: block;
}
.home-topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}
.home-topic-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.home-topic-card figure {
  height: 160px;
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-topic-card figure img {
  max-height: 100%;
}
.home-topic-card > div {
  padding: 14px 13px 15px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.home-topic-card h3 {
  margin-bottom: 6px;
}
.home-topic-card p {
  margin-bottom: 14px;
  font-size: 0.875rem;
}
.home-topic-card span {
  margin-top: auto;
  color: var(--clay-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.home-ref-lessons {
  margin: 14px 0 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.85fr);
  overflow: hidden;
  border: 1px solid #d4ded2;
  border-radius: 11px;
  background: var(--sage);
}
.home-ref-lessons-main {
  padding: 28px;
}
.home-ref-lessons-main > header {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.home-ref-lessons-main > header h2 {
  margin-bottom: 4px;
}
.home-ref-lessons-main > header p {
  margin: 0;
  font-size: 0.88rem;
}
.home-ref-lessons-main > header a {
  color: var(--clay-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.home-lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-lesson-card {
  overflow: hidden;
  border-radius: 7px;
  background: white;
}
.home-lesson-card figure {
  height: 180px;
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-lesson-card > div {
  padding: 13px;
}
.home-lesson-card > div > span {
  color: var(--clay-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.home-lesson-card h3 {
  margin: 6px 0 7px;
  font-size: 1.08rem;
}
.home-lesson-card h3 a {
  text-decoration: none;
}
.home-lesson-card p {
  margin-bottom: 11px;
  font-size: 0.85rem;
}
.home-lesson-card small {
  color: var(--muted);
  font-size: 0.72rem;
}
.home-ref-question {
  position: relative;
  min-width: 0;
  padding: 30px 26px 20px;
  display: grid;
  grid-template-columns: 1fr 145px;
  gap: 8px;
  align-items: end;
  background: #fbf7ef;
}
.home-ref-question h2 {
  margin-bottom: 9px;
  font-size: 1.8rem;
}
.home-ref-question p {
  font-size: 0.87rem;
}
.home-ref-question .button {
  min-height: 44px;
  margin: 5px 0 16px;
  padding: 10px 16px;
}
.home-ref-question ol {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}
.home-ref-question li {
  margin: 8px 0;
}
.home-ref-question figure {
  align-self: end;
}
.home-ref-question figure img {
  max-height: 255px;
}

.home-ref-guide {
  padding-top: 16px;
}
.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}
.home-guide-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  text-decoration: none;
}
.home-guide-card figure {
  height: 150px;
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-guide-card > div {
  padding: 13px;
}
.home-guide-card h3 {
  margin-bottom: 6px;
}
.home-guide-card p {
  margin: 0;
  font-size: 0.875rem;
}
.home-guide-quiz {
  width: min(900px, 100%);
  margin: 18px auto 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  border: 1px solid #e8dfd2;
  border-radius: 7px;
  background: #f8f2e8;
  font-size: 0.86rem;
  text-decoration: none;
}
.home-guide-quiz span {
  margin-left: auto;
  color: var(--clay-dark);
  font-weight: 700;
}

.home-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home-support-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.home-support-card > div {
  padding: 19px 20px 15px;
}
.home-support-card h2 {
  margin-bottom: 5px;
  font-size: 1.6rem;
}
.home-support-card p {
  margin-bottom: 10px;
  font-size: 0.84rem;
}
.home-support-card span {
  color: var(--clay-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.home-support-card figure {
  display: grid;
  place-items: center;
}

.home-ref-bed {
  margin: 8px 0 30px;
  overflow: hidden;
  color: white;
  border-radius: 10px;
  background: var(--forest);
}
.home-ref-bed > header {
  padding: 20px 26px 8px;
}
.home-ref-bed h2,
.home-ref-bed h3 {
  color: white;
}
.home-ref-bed > header h2 {
  margin-bottom: 2px;
  font-size: 1.9rem;
}
.home-ref-bed > header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
}
.home-bed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-bed-grid article {
  min-width: 0;
  padding: 20px 26px 24px;
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}
.home-bed-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.home-bed-grid h3 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}
.home-bed-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}
.home-bed-grid figure {
  display: grid;
  place-items: center;
}
.home-bed-grid figure img {
  max-height: 205px;
}
.home-bed-grid .button {
  min-height: 42px;
  margin-top: 14px;
  padding: 10px 14px;
  font-size: 0.78rem;
}

.home-hard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 0;
}
.home-hard-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.home-hard-card > div {
  padding: 24px;
  align-self: center;
}
.home-hard-card h2 {
  margin-bottom: 6px;
  font-size: 1.65rem;
}
.home-hard-card p {
  margin-bottom: 12px;
  font-size: 0.84rem;
}
.home-hard-card span {
  color: var(--clay-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.home-hard-card figure {
  display: grid;
  place-items: center;
}

.home-newsletter {
  margin-top: 4px;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: 32px;
  align-items: center;
  color: white;
  border-radius: 9px 9px 0 0;
  background: var(--clay-dark);
}
.home-newsletter h2 {
  margin-bottom: 3px;
  color: white;
  font-size: 1.65rem;
}
.home-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}
.home-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.home-newsletter input {
  min-height: 44px;
  border: 0;
  background: white;
}
.home-newsletter button {
  min-height: 44px;
  padding: 10px 22px;
  color: var(--clay-dark);
  border: 0;
  border-radius: 7px;
  background: white;
  font-weight: 700;
}
.home-newsletter .form-note {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: white;
  font-size: 0.78rem;
}

@media (max-width: 1120px) {
  .wm-header-inner {
    grid-template-columns: 170px 1fr auto;
    gap: 15px;
  }
  .wm-nav {
    gap: 14px;
  }
  .wm-nav > a,
  .nav-group > summary {
    font-size: 0.8rem;
  }
  .wm-product-link {
    padding: 10px 11px;
    font-size: 0.75rem;
  }
  .home-ref-hero-copy {
    padding-left: 24px;
    padding-right: 28px;
  }
  .home-topic-grid,
  .home-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-ref-lessons {
    grid-template-columns: 1fr;
  }
  .home-ref-question {
    grid-template-columns: 1fr 180px;
  }
  .home-bed-grid article {
    grid-template-columns: 1fr;
  }
  .wm-footer-grid {
    grid-template-columns: 1.35fr repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .wm-header-inner {
    min-height: 66px;
    display: grid;
    grid-template-columns: 1fr auto auto;
  }
  .menu-toggle {
    display: block;
    grid-column: 2;
  }
  .wm-product-link {
    grid-column: 3;
  }
  .wm-nav {
    position: fixed;
    inset: 66px 0 auto;
    max-height: calc(100vh - 66px);
    padding: 18px 24px 26px;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .wm-nav.is-open {
    display: flex;
  }
  .wm-nav > a,
  .nav-group > summary {
    width: 100%;
    padding: 12px 6px;
    font-size: 0.95rem;
  }
  .nav-group {
    width: 100%;
  }
  .nav-menu,
  .nav-group:nth-of-type(4) .nav-menu {
    position: static;
    width: 100%;
    transform: none;
    margin: 0 0 8px;
    box-shadow: none;
  }
  .home-reference {
    width: min(100% - 32px, 760px);
  }
  .home-ref-hero {
    grid-template-columns: 1fr;
  }
  .home-ref-hero-copy {
    padding: 38px 20px 26px;
  }
  .home-ref-hero-copy h1 {
    font-size: clamp(2.7rem, 9vw, 4rem);
  }
  .home-ref-hero > figure img {
    max-height: 480px;
  }
  .home-support-grid {
    grid-template-columns: 1fr;
  }
  .home-support-card {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-rows: none;
  }
  .home-bed-grid {
    grid-template-columns: 1fr;
  }
  .home-bed-grid article {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .home-bed-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }
  .home-newsletter {
    grid-template-columns: 1fr;
  }
  .wm-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .wm-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wm-header-inner {
    width: calc(100vw - 24px);
    grid-template-columns: 1fr auto;
  }
  .wm-product-link {
    display: none;
  }
  .wm-wordmark {
    font-size: 1.7rem;
  }
  .home-reference {
    width: 100%;
  }
  .home-ref-section {
    padding: 32px 16px;
  }
  .home-ref-section > header,
  .home-ref-lessons-main > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .home-ref-hero-copy {
    padding-inline: 22px;
  }
  .home-ref-hero-copy h1 {
    font-size: 2.65rem;
  }
  .home-ref-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-ref-actions .button {
    min-width: 0;
    padding-inline: 12px;
  }
  .home-ref-hero > figure {
    padding: 0 16px 24px;
  }
  .home-topic-grid,
  .home-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-topic-card > div,
  .home-guide-card > div {
    padding: 12px 10px;
  }
  .home-topic-card figure,
  .home-guide-card figure {
    height: 112px;
    min-height: 112px;
  }
  .home-topic-card h3,
  .home-guide-card h3 {
    font-size: 1.03rem;
  }
  .home-topic-card p,
  .home-guide-card p {
    font-size: 0.85rem;
  }
  .home-ref-lessons {
    margin: 10px 16px 26px;
  }
  .home-ref-lessons-main {
    padding: 22px 16px;
  }
  .home-lesson-grid {
    grid-template-columns: 1fr;
  }
  .home-lesson-card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }
  .home-lesson-card figure {
    aspect-ratio: auto;
    min-height: 170px;
  }
  .home-ref-question {
    padding: 24px 18px;
    grid-template-columns: 1fr 120px;
  }
  .home-ref-question h2 {
    font-size: 1.55rem;
  }
  .home-guide-quiz {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-guide-quiz span {
    margin-left: 0;
  }
  .home-support-grid {
    gap: 12px;
  }
  .home-support-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .home-support-card figure {
    min-height: 190px;
  }
  .home-ref-bed {
    margin: 8px 16px 26px;
  }
  .home-bed-grid article {
    padding: 18px;
    grid-template-columns: 1fr;
  }
  .home-hard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px 30px;
  }
  .home-hard-card {
    grid-template-columns: 1fr 1fr;
    min-height: 170px;
  }
  .home-hard-card > div {
    padding: 18px;
  }
  .home-newsletter {
    margin: 0 16px;
    padding: 24px 18px;
  }
  .home-newsletter form {
    grid-template-columns: 1fr;
  }
  .home-newsletter .form-note {
    grid-column: auto;
  }
  .wm-footer-grid {
    width: calc(100vw - 32px);
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
  }
  .wm-footer-bottom {
    width: calc(100vw - 32px);
    flex-direction: column;
  }
}

/* 2026-08-21 care-first consolidation */
img {
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
.nav-group[open] {
  z-index: 4;
}
.wm-nav > a[aria-current="page"],
.wm-login-link[aria-current="page"] {
  color: var(--clay-dark);
}

.pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pathway-card {
  min-height: 0;
  grid-template-columns: 42% 1fr;
  align-items: center;
}
.pathway-card figure {
  min-height: 0;
  padding: 8px;
  background: transparent;
}
.pathway-card img {
  max-height: none;
}
.question-list.image-led {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.question-list.image-led > article {
  padding: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.question-list.image-led figure {
  margin: 0;
  padding: 10px;
}
.question-list.image-led figure img {
  width: 100%;
}
.question-list.image-led article > div {
  margin: 0;
  padding: 22px;
  display: block;
}
.question-list.image-led h3 {
  margin: 0 0 10px;
}
.question-list.image-led p {
  min-height: 76px;
  margin: 0 0 16px;
}
.question-list.image-led a {
  color: var(--clay-dark);
  font-weight: 700;
}
.product-bridge {
  padding: 0;
  color: var(--ink);
  background: var(--paper);
}
.product-bridge .wm-wrap {
  width: 100%;
  max-width: none;
  gap: 0;
}
.product-comfort,
.product-insight {
  min-height: 540px;
  padding: clamp(48px, 6vw, 86px) max(24px, calc((100vw - 1240px) / 2));
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 80px);
}
.product-comfort {
  background: var(--paper);
}
.product-insight {
  color: white;
  background: var(--forest);
}
.product-comfort img {
  max-height: 560px;
}
.product-insight img {
  max-height: 430px;
}
.product-bridge .product-comfort h2 {
  color: var(--forest);
}
.product-bridge .product-comfort p {
  color: var(--muted);
}
.product-bridge .product-insight h2 {
  color: white;
}
.product-bridge .product-insight p {
  color: rgba(255, 255, 255, 0.78);
}
.product-comfort ul {
  padding-left: 20px;
  color: var(--muted);
}
.product-comfort li {
  margin: 9px 0;
}
.home-metric-list {
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.home-metric-list span {
  padding: 16px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}
.home-metric-list strong {
  display: block;
  margin-bottom: 4px;
  color: #efb496;
}

.guide-hero-v6 {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}
.guide-hero-photo {
  align-self: center;
}
.guide-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-topics-v6 .wm-wrap > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.guide-topics-v6 article {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) 1.22fr;
  align-items: center;
}
.guide-topics-v6 figure {
  padding: 12px;
  background: transparent;
}
.guide-topics-v6 img {
  max-height: none;
}
.guide-topics-v6 h3 {
  font-size: 1.75rem;
}
.guide-topics-v6 dl {
  margin: 0;
}
.guide-topics-v6 dl > div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.guide-topics-v6 dt {
  color: var(--clay-dark);
  font-size: 0.86rem;
  font-weight: 800;
}
.guide-topics-v6 dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
.guide-apply-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--sage);
}
.guide-apply-card h2 {
  margin-bottom: 6px;
  font-size: 1.75rem;
}
.guide-apply-card p {
  margin: 0;
}

.circle-hero-v7,
.account-hero-v7,
.lesson-hero-v7 {
  width: var(--wrap);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}
.circle-hero-v7 > div,
.account-hero-v7 > div,
.lesson-hero-v7 > div {
  padding: 28px 0;
}
.circle-hero-v7 figure,
.account-hero-v7 figure,
.lesson-hero-v7 figure {
  margin: 0;
}
.circle-hero-v7 figure img,
.account-hero-v7 figure img,
.lesson-hero-v7 figure img {
  width: 100%;
  border-radius: 14px;
}
.circle-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.circle-ask-v7 {
  padding: 44px 0;
  background: var(--sage);
}
.circle-account-gate {
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 12px;
  background: var(--paper);
}
.circle-account-gate h2 {
  margin-bottom: 5px;
  font-size: 1.65rem;
}
.circle-account-gate p {
  margin: 0;
}
.circle-question-form {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.circle-question-form h2 {
  margin-bottom: 4px;
}
.circle-feed-v7 {
  padding: 64px 0 78px;
  background: var(--paper);
}
.circle-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.circle-public-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) 1.22fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
}
.circle-public-card figure {
  margin: 0;
  padding: 12px;
}
.circle-public-card figure img {
  width: 100%;
}
.circle-public-card > div {
  padding: 26px;
}
.circle-public-card h2 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}
.circle-public-card dl {
  margin: 0 0 14px;
}
.circle-public-card dl > div {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.circle-public-card dt {
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.circle-public-card dd {
  margin: 2px 0 0;
}

.lesson-hero-v7 {
  padding-bottom: 42px;
}
.lesson-hero-v7 .back-link {
  display: inline-block;
  margin-bottom: 18px;
}
.public-pet-profile {
  margin: 24px 0 0;
  padding: 18px;
  border-left: 4px solid var(--clay);
  background: var(--paper);
}
.public-pet-profile > div {
  padding: 7px 0;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
}
.public-pet-profile dt {
  color: var(--clay-dark);
  font-weight: 800;
}
.public-pet-profile dd {
  margin: 0;
}
.lesson-result-v7 {
  padding: 34px 0;
  color: white;
  background: var(--forest);
}
.lesson-result-v7 h2 {
  margin-bottom: 6px;
  color: white;
  font-size: 2rem;
}
.lesson-result-v7 p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}
.lesson-chapters-v7 > section {
  padding: 64px 0;
}
.lesson-chapters-v7 > section:nth-child(even) {
  background: var(--sand);
}
.lesson-chapter-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) 1.18fr;
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}
.lesson-chapter-layout figure {
  margin: 0;
}
.lesson-chapter-layout figure img {
  width: 100%;
}
.lesson-chapter-layout h2 {
  margin-bottom: 12px;
  color: var(--forest);
}
.lesson-chapter-layout ol {
  padding-left: 22px;
}
.lesson-chapter-layout li {
  margin: 10px 0;
  color: var(--muted);
}
.lesson-chapters-v7 .chapter-quiz {
  background: var(--paper);
}
.call-sooner-v7 {
  padding: 48px 0;
  background: var(--rose);
}
.call-sooner-v7 h2 {
  margin-bottom: 8px;
}
.call-sooner-v7 p {
  max-width: 850px;
}
.lesson-conversation-v7 {
  padding: 46px 0;
  background: var(--paper);
}
.lesson-conversation-v7 > .wm-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.account-workspace-v7 {
  padding: 60px 0 78px;
  background: var(--sand);
}
.account-workspace-v7 > .wm-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}
.account-form-v7,
.account-current-v7 {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.account-form-v7 fieldset {
  margin: 24px 0 0;
  padding: 20px;
  border: 1px solid var(--line);
}
.account-current-v7 dl > div {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.account-current-v7 dt {
  color: var(--clay-dark);
  font-weight: 800;
}
.account-current-v7 dd {
  margin: 3px 0 0;
}
.text-button {
  margin-top: 18px;
  padding: 0;
  display: block;
  color: var(--clay-dark);
  border: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}
.unified-forward-card {
  width: min(760px, calc(100vw - 36px));
  margin: 70px auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
}

.directory-hero-v6 {
  grid-template-columns: 1fr 1fr;
}
.directory-selectors select {
  min-width: 0;
}
.directory-live-summary {
  display: flex;
  gap: 18px;
  color: var(--forest);
}
.provider-card-v6 {
  min-height: 0;
  grid-template-rows: auto 1fr;
}
.provider-card-v6 > figure {
  height: 220px;
  min-height: 220px;
  padding: 12px;
  overflow: hidden;
  background: transparent;
}
.provider-card-v6 > figure img {
  width: 100%;
  height: 100% !important;
  max-height: 196px;
  object-fit: contain !important;
}
.provider-card-v6 > .provider-monogram {
  height: 220px;
  min-height: 220px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  color: white;
  background: var(--forest);
}
.provider-monogram span {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}
.provider-monogram small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}
.provider-card-v6 > div:not(.provider-monogram) {
  min-height: 300px;
}

.memorial-hero-v6,
.memorial-meaning .wm-wrap {
  gap: clamp(36px, 6vw, 72px);
}
.memorial-hero-v6 {
  background: transparent;
}
.memorial-hero-v6 figure img,
.memorial-meaning img {
  max-height: none;
}
.partner-proof-grid {
  margin: 26px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.partner-proof-grid article {
  padding: 20px;
  background: var(--paper);
}
.partner-proof-grid strong,
.partner-proof-grid span {
  display: block;
}
.partner-proof-grid strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.6rem;
}

@media (max-width: 1020px) {
  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .question-list.image-led {
    grid-template-columns: 1fr;
  }
  .question-list.image-led > article {
    display: grid;
    grid-template-columns: 260px 1fr;
  }
  .guide-topics-v6 .wm-wrap > div,
  .circle-public-grid {
    grid-template-columns: 1fr;
  }
  .product-comfort,
  .product-insight {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .circle-public-card {
    grid-template-columns: 260px 1fr;
  }
  .account-workspace-v7 > .wm-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .guide-hero-v6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .guide-hero-photo {
    order: 0;
    width: 100%;
  }
  .guide-hero-photo img {
    width: 100%;
    max-height: none;
  }
  .guide-hero-copy {
    order: 1;
    width: 100%;
  }
  .circle-hero-v7,
  .account-hero-v7,
  .lesson-hero-v7,
  .lesson-chapter-layout {
    grid-template-columns: 1fr;
  }
  .lesson-conversation-v7 > .wm-wrap {
    grid-template-columns: 1fr;
  }
  .nav-group[open] .nav-menu {
    position: static;
  }
}

@media (max-width: 640px) {
  .pathway-grid,
  .home-metric-list,
  .guide-outcomes .wm-wrap,
  .partner-proof-grid {
    grid-template-columns: 1fr;
  }
  .pathway-card {
    grid-template-columns: 42% 1fr;
  }
  .question-list.image-led > article,
  .guide-topics-v6 article,
  .circle-public-card {
    display: block;
  }
  .question-list.image-led p {
    min-height: 0;
  }
  .product-comfort,
  .product-insight {
    padding: 46px 18px;
  }
  .guide-hero-copy {
    padding: 28px 22px;
  }
  .guide-apply-card,
  .circle-account-gate {
    align-items: flex-start;
    flex-direction: column;
  }
  .circle-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .circle-hero-actions .button {
    width: 100%;
  }
  .public-pet-profile > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .lesson-chapters-v7 > section {
    padding: 44px 0;
  }
  .directory-hero-v6 {
    grid-template-columns: 1fr;
  }
  .provider-card-v6 > div {
    min-height: 0;
  }
  .memorial-hero-v6,
  .memorial-meaning .wm-wrap {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-21 v8 — dense, image-safe care flow */
.home-ref-learn {
  padding-block: 42px 30px;
}
.home-ref-learn > header {
  align-items: center;
}
.home-topic-card figure,
.home-guide-card figure,
.home-support-card figure,
.home-hard-card figure,
.home-care-account figure,
.home-vet-support figure {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.home-topic-card figure img,
.home-guide-card figure img,
.home-support-card figure img,
.home-hard-card figure img,
.home-care-account figure img,
.home-vet-support figure img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  max-height: none;
  object-fit: contain !important;
}
.home-topic-card p {
  min-height: 66px;
}
.home-care-account {
  margin-top: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  border: 1px solid #cbd9cd;
  border-radius: 12px;
  background: var(--sage);
}
.home-care-account figure {
  min-height: 300px;
  padding: 12px;
  display: grid;
  place-items: center;
}
.home-care-account > div {
  padding: 30px 34px;
  align-self: center;
}
.home-care-account h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}
.home-care-account p {
  margin-bottom: 14px;
}
.home-care-account ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--muted);
  columns: 3;
  column-gap: 26px;
}
.home-care-account li {
  break-inside: avoid;
  margin: 5px 0;
}

.home-vet-support {
  margin: 8px 0 34px;
  padding: 34px;
  border-radius: 12px;
  background: #f2ecdf;
}
.home-vet-support > header {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}
.home-vet-support > header h2 {
  margin-bottom: 7px;
}
.home-vet-support > header p {
  margin: 0;
}
.home-vet-support > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.home-vet-support article {
  min-width: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.home-vet-support figure {
  width: 145px;
  height: 145px;
}
.home-vet-support figure img {
  border-radius: 50%;
}
.home-vet-support blockquote {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
}
.home-vet-support h3 {
  margin-bottom: 2px;
  font-size: 1.2rem;
}
.home-vet-support article p {
  margin: 0;
  font-size: 0.83rem;
}

.guide-hero-copy .email-capture h2,
.guide-hero-copy .email-capture p,
.guide-hero-copy .email-capture .form-note {
  color: white;
}
.guide-hero-copy .email-capture input {
  color: var(--ink);
  background: white;
}
.guide-hero-copy .email-capture {
  margin-top: 20px;
}
.guide-hero-copy .email-capture .button {
  min-height: 54px;
}
.guide-outcomes {
  padding-block: 34px;
}
.guide-topics-v6 {
  padding-block: 50px;
}
.guide-method,
.guide-vet-note,
.guide-lessons {
  padding-block: 54px;
}
.email-band {
  padding-block: 36px;
}

.account-v7 main {
  background: #f5efe4;
}
.account-scene-v8 {
  width: min(1180px, calc(100vw - 48px));
  margin: 28px auto 56px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 20px 55px rgba(54, 39, 28, 0.07);
}
.account-scene-media {
  position: relative;
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background: var(--forest);
}
.account-scene-media figure {
  margin: 0 0 26px;
  height: 360px;
  display: grid;
  place-items: center;
}
.account-scene-media figure img {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 12px;
}
.account-scene-media h1 {
  margin-bottom: 12px;
  color: white;
  font-size: clamp(2.35rem, 3.4vw, 3.5rem);
}
.account-scene-media p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
}
.account-scene-media ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.88);
}
.account-scene-media li {
  margin: 6px 0;
}
.account-scene-panel {
  min-width: 0;
  padding: 34px;
}
.account-form-v8 header h2 {
  margin-bottom: 4px;
  font-size: 2rem;
}
.account-form-v8 header p {
  margin-bottom: 18px;
}
.account-form-v8 fieldset {
  margin: 0 0 17px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.account-form-v8 fieldset legend {
  padding-inline: 6px;
  color: var(--clay-dark);
  font-size: 0.95rem;
}
.account-form-v8 textarea {
  min-height: 88px;
}
.account-form-v8 .consent-row {
  margin-block: 14px;
}
.account-form-v8 > .button {
  width: 100%;
  min-height: 56px;
}
.account-current-v7 {
  padding: 28px;
}

.memorial-hero-v6 {
  min-height: 0;
}
.memorial-hero-v6 > div {
  padding: 44px;
}
.memorial-meaning {
  padding-block: 52px;
}
.memorial-story-grid {
  padding: 52px 0;
  background: var(--paper);
}
.memorial-story-grid header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.memorial-story-grid header h2 {
  margin-bottom: 9px;
}
.memorial-story-grid header p {
  margin: 0;
  font-size: 1.05rem;
}
.memorial-story-grid .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.memorial-story-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
}
.memorial-story-grid figure {
  position: relative;
  height: 270px;
  margin: 0;
  overflow: hidden;
  background: transparent;
}
.memorial-story-grid figure img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  max-height: none;
  object-fit: contain !important;
}
.memorial-story-grid h3 {
  margin: 20px 20px 7px;
  color: var(--forest);
}
.memorial-story-grid article p {
  margin: 0;
  padding: 0 20px 24px;
}
.memorial-partner {
  padding-block: 52px;
}
.memorial-steps {
  padding-block: 50px;
}
.memorial-hero-v6 figure,
.memorial-meaning figure {
  background: transparent;
}
.memorial-hero-v6 figure img,
.memorial-meaning figure img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 1020px) {
  .home-care-account {
    grid-template-columns: 300px 1fr;
  }
  .home-care-account ol {
    columns: 1;
  }
  .home-vet-support article {
    grid-template-columns: 110px 1fr;
  }
  .home-vet-support figure {
    width: 110px;
    height: 110px;
  }
  .account-scene-v8 {
    grid-template-columns: 1fr;
  }
  .account-scene-media {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: center;
  }
  .account-scene-media figure {
    height: 280px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .home-ref-learn {
    padding-inline: 16px;
  }
  .home-care-account {
    grid-template-columns: 1fr;
  }
  .home-care-account figure {
    min-height: 0;
    height: 230px;
  }
  .home-care-account > div {
    padding: 24px 20px;
  }
  .home-vet-support {
    margin-inline: 16px;
    padding: 24px 16px;
  }
  .home-vet-support > div {
    grid-template-columns: 1fr;
  }
  .home-vet-support article {
    display: block;
  }
  .home-vet-support figure {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
  }
  .home-vet-support blockquote {
    text-align: left;
  }
  .account-scene-v8 {
    width: calc(100vw - 24px);
    margin-top: 18px;
  }
  .account-scene-media {
    padding: 20px;
    display: block;
  }
  .account-scene-media figure {
    height: 240px;
    margin-bottom: 20px;
  }
  .account-scene-panel {
    padding: 20px;
  }
  .account-form-v8 .form-grid {
    grid-template-columns: 1fr;
  }
  .account-form-v8 .field-wide {
    grid-column: auto;
  }
  .memorial-story-grid .wm-wrap > div {
    grid-template-columns: 1fr;
  }
  .memorial-story-grid figure {
    height: 230px;
  }
}

/* 2026-08-21 v9 — locked homepage composition from the approved reference */
.home-v6 .home-reference {
  width: min(1270px, calc(100vw - 48px));
  padding-bottom: 0;
}
.home-v6 .home-reference h1,
.home-v6 .home-reference h2,
.home-v6 .home-reference h3 {
  font-weight: 500;
}
.home-v6 .home-ref-section {
  padding: 30px 0;
}
.home-v6 .home-ref-section > header {
  margin-bottom: 17px;
}
.home-v6 .home-ref-section > header h2 {
  font-size: 1.82rem;
}
.home-v6 .home-ref-section > header p {
  font-size: 0.82rem;
}

.home-v6 .home-ref-hero {
  min-height: 470px;
  grid-template-columns: 0.82fr 1.18fr;
}
.home-v6 .home-ref-hero-copy {
  padding: 48px 42px;
}
.home-v6 .home-ref-hero-copy h1 {
  max-width: 460px;
  margin-bottom: 14px;
  font-size: clamp(3rem, 4.05vw, 3.7rem);
  line-height: 0.98;
}
.home-v6 .home-ref-hero-copy > p {
  max-width: 430px;
  margin-bottom: 20px;
  font-size: 0.91rem;
}
.home-v6 .home-ref-actions {
  margin-bottom: 18px;
  gap: 12px;
}
.home-v6 .home-ref-actions .button {
  min-width: 150px;
  min-height: 46px;
  padding: 10px 17px;
  font-size: 0.8rem;
}
.home-v6 .home-ref-account {
  max-width: 430px;
  padding: 11px 13px;
  font-size: 0.76rem;
}
.home-v6 .home-ref-hero > figure {
  min-height: 470px;
  align-self: stretch;
}
.home-v6 .home-ref-hero > figure img {
  width: 100% !important;
  height: 100% !important;
  max-height: 470px;
  object-fit: contain !important;
}

.home-v6 .home-ref-learn {
  padding-top: 29px;
}
.home-v6 .home-topic-grid {
  gap: 13px;
}
.home-v6 .home-topic-card figure {
  height: 126px;
  min-height: 126px;
}
.home-v6 .home-topic-card > div {
  min-height: 148px;
  padding: 12px 12px 13px;
}
.home-v6 .home-topic-card h3 {
  margin-bottom: 5px;
  font-size: 1.06rem;
}
.home-v6 .home-topic-card p {
  min-height: 45px;
  margin-bottom: 9px;
  font-size: 0.76rem;
  line-height: 1.42;
}
.home-v6 .home-topic-card span {
  font-size: 0.73rem;
}

.home-v6 .home-ref-lessons {
  margin: 29px 0 0;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.82fr);
  border-radius: 9px;
}
.home-v6 .home-ref-lessons-main {
  padding: 23px 24px 22px;
}
.home-v6 .home-ref-lessons-main > header {
  margin-bottom: 16px;
}
.home-v6 .home-ref-lessons-main > header h2 {
  font-size: 1.55rem;
}
.home-v6 .home-ref-lessons-main > header p,
.home-v6 .home-ref-lessons-main > header a {
  font-size: 0.73rem;
}
.home-v6 .home-lesson-grid {
  gap: 12px;
}
.home-v6 .home-lesson-card {
  color: var(--ink);
  text-decoration: none;
}
.home-v6 .home-lesson-card figure {
  position: relative;
  height: 142px;
  min-height: 142px;
  overflow: hidden;
  background: white;
}
.home-v6 .home-lesson-card figure img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.home-v6 .home-lesson-card > div {
  min-height: 146px;
  padding: 11px 12px 12px;
}
.home-v6 .home-lesson-card h3 {
  margin: 5px 0 6px;
  font-size: 1rem;
  line-height: 1.15;
}
.home-v6 .home-lesson-card p {
  margin-bottom: 7px;
  font-size: 0.72rem;
  line-height: 1.38;
}
.home-v6 .home-lesson-card small {
  font-size: 0.67rem;
}

.home-v6 .home-care-account {
  min-width: 0;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) 150px;
  border: 0;
  border-left: 1px solid #d4ded2;
  border-radius: 0;
  background: #fbf7ef;
}
.home-v6 .home-care-account > div {
  padding: 27px 8px 22px 26px;
}
.home-v6 .home-care-account h2 {
  margin-bottom: 8px;
  font-size: 1.55rem;
  line-height: 1.08;
}
.home-v6 .home-care-account p {
  margin-bottom: 14px;
  font-size: 0.76rem;
}
.home-v6 .home-care-account .button {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.75rem;
}
.home-v6 .home-care-account ol {
  margin: 16px 0 0;
  padding-left: 20px;
  columns: 1;
  font-size: 0.71rem;
}
.home-v6 .home-care-account li {
  margin: 7px 0;
}
.home-v6 .home-care-account figure {
  min-height: 0;
  height: 100%;
  padding: 12px 10px 0 0;
  align-self: end;
}

.home-v6 .home-ref-guide {
  padding-top: 3px;
}
.home-v6 .home-guide-grid {
  gap: 13px;
}
.home-v6 .home-guide-card figure {
  height: 124px;
  min-height: 124px;
}
.home-v6 .home-guide-card > div {
  min-height: 102px;
  padding: 11px 12px 12px;
}
.home-v6 .home-guide-card h3 {
  margin-bottom: 5px;
  font-size: 1.02rem;
  line-height: 1.12;
}
.home-v6 .home-guide-card p {
  font-size: 0.75rem;
  line-height: 1.38;
}
.home-v6 .home-guide-quiz {
  margin-top: 15px;
  padding: 10px 16px;
  font-size: 0.77rem;
}

.home-v6 .home-vet-support {
  margin: 0 0 25px;
  padding: 13px 20px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f3e9;
}
.home-v6 .home-vet-support > header {
  max-width: none;
  margin: 0;
  text-align: left;
}
.home-v6 .home-vet-support > header h2 {
  margin-bottom: 3px;
  font-size: 1.35rem;
}
.home-v6 .home-vet-support > header p {
  font-size: 0.73rem;
}
.home-v6 .home-vet-support > div {
  gap: 12px;
}
.home-v6 .home-vet-support article {
  min-height: 68px;
  padding: 7px;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  border: 0;
  background: transparent;
}
.home-v6 .home-vet-support figure {
  width: 54px;
  height: 54px;
}
.home-v6 .home-vet-support h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}
.home-v6 .home-vet-support article p {
  font-size: 0.7rem;
}

.home-v6 .home-support-grid {
  gap: 18px;
  padding: 0 0 25px;
}
.home-v6 .home-support-card {
  grid-template-rows: auto 155px;
}
.home-v6 .home-support-card > div {
  padding: 15px 17px 12px;
}
.home-v6 .home-support-card h2 {
  font-size: 1.35rem;
}
.home-v6 .home-support-card p {
  margin-bottom: 7px;
  font-size: 0.74rem;
}
.home-v6 .home-support-card span {
  font-size: 0.73rem;
}

.home-v6 .home-ref-bed {
  margin: 0 0 20px;
}
.home-v6 .home-ref-bed > header {
  padding: 16px 21px 5px;
}
.home-v6 .home-ref-bed > header h2 {
  font-size: 1.55rem;
}
.home-v6 .home-ref-bed > header p {
  font-size: 0.72rem;
}
.home-v6 .home-bed-grid article {
  min-height: 210px;
  padding: 13px 20px 18px;
  grid-template-columns: minmax(175px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}
.home-v6 .home-bed-grid h3 {
  font-size: 1.14rem;
}
.home-v6 .home-bed-grid p {
  font-size: 0.74rem;
}
.home-v6 .home-bed-grid figure {
  height: 180px;
}
.home-v6 .home-bed-grid figure img {
  width: 100% !important;
  height: 100% !important;
  max-height: none;
  object-fit: contain !important;
}
.home-v6 .home-bed-grid .button {
  min-height: 38px;
  margin-top: 11px;
  padding: 8px 12px;
  font-size: 0.7rem;
}

.home-v6 .home-hard-grid {
  gap: 18px;
  padding: 0 0 20px;
}
.home-v6 .home-hard-card {
  min-height: 155px;
}
.home-v6 .home-hard-card > div {
  padding: 18px 20px;
}
.home-v6 .home-hard-card h2 {
  font-size: 1.38rem;
}
.home-v6 .home-hard-card p,
.home-v6 .home-hard-card span {
  font-size: 0.73rem;
}

.home-v6 .home-newsletter {
  margin: 0;
  padding: 21px 25px;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 28px;
  border-radius: 7px 7px 0 0;
}
.home-v6 .home-newsletter h2 {
  font-size: 1.4rem;
}
.home-v6 .home-newsletter p {
  font-size: 0.73rem;
}
.home-v6 .home-newsletter input,
.home-v6 .home-newsletter button {
  min-height: 40px;
}
.home-v6 .home-newsletter button {
  padding-inline: 20px;
  font-size: 0.75rem;
}
.home-v6 .home-reference p,
.home-v6 .home-reference button,
.home-v6 .home-reference label {
  font-size: 13px !important;
}
.home-v6 .home-bed-grid figure {
  position: relative;
  overflow: hidden;
}
.home-v6 .home-bed-grid figure img {
  position: absolute;
  inset: 0;
}

@media (max-width: 1120px) {
  .home-v6 .home-ref-lessons {
    grid-template-columns: 1fr;
  }
  .home-v6 .home-care-account {
    min-height: 270px;
    grid-template-columns: minmax(0, 1fr) 240px;
    border-top: 1px solid #d4ded2;
    border-left: 0;
  }
  .home-v6 .home-vet-support {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-v6 .home-ref-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .home-v6 .home-ref-hero-copy {
    padding: 38px 24px 28px;
  }
  .home-v6 .home-ref-hero > figure {
    min-height: 0;
  }
  .home-v6 .home-ref-hero > figure img {
    height: auto !important;
    max-height: 470px;
  }
  .home-v6 .home-topic-grid,
  .home-v6 .home-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-v6 .home-support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-v6 .home-support-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 145px;
  }
  .home-v6 .home-bed-grid article {
    grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1.2fr);
  }
  .home-v6 .home-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-v6 .home-reference {
    width: 100%;
  }
  .home-v6 .home-ref-section {
    padding: 26px 14px;
  }
  .home-v6 .home-ref-hero-copy h1 {
    font-size: 2.5rem;
  }
  .home-v6 .home-ref-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-v6 .home-ref-hero > figure {
    padding: 0 14px 18px;
  }
  .home-v6 .home-topic-grid,
  .home-v6 .home-guide-grid {
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-v6 .home-topic-card figure,
  .home-v6 .home-guide-card figure {
    height: 105px;
    min-height: 105px;
  }
  .home-v6 .home-topic-card > div {
    min-height: 142px;
  }
  .home-v6 .home-topic-card p {
    min-height: 45px;
  }
  .home-v6 .home-ref-lessons {
    margin-top: 22px;
  }
  .home-v6 .home-ref-lessons-main {
    padding: 20px 14px;
  }
  .home-v6 .home-ref-lessons-main > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .home-v6 .home-lesson-grid {
    grid-template-columns: 1fr;
  }
  .home-v6 .home-lesson-card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }
  .home-v6 .home-lesson-card figure {
    height: 100%;
    min-height: 170px;
  }
  .home-v6 .home-care-account {
    min-height: 0;
    grid-template-columns: 1fr 120px;
  }
  .home-v6 .home-care-account > div {
    padding: 22px 6px 20px 18px;
  }
  .home-v6 .home-care-account h2 {
    font-size: 1.35rem;
  }
  .home-v6 .home-care-account figure {
    height: 100%;
    padding: 10px 6px 0 0;
  }
  .home-v6 .home-vet-support {
    margin: 0 14px 22px;
    padding: 15px;
  }
  .home-v6 .home-vet-support > div {
    grid-template-columns: 1fr 1fr;
  }
  .home-v6 .home-vet-support article {
    display: grid;
    grid-template-columns: 46px 1fr;
  }
  .home-v6 .home-vet-support figure {
    width: 46px;
    height: 46px;
    margin: 0;
  }
  .home-v6 .home-support-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-inline: 14px;
  }
  .home-v6 .home-support-card {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .home-v6 .home-support-card figure {
    min-height: 150px;
  }
  .home-v6 .home-ref-bed {
    margin: 0 14px 18px;
  }
  .home-v6 .home-bed-grid article {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .home-v6 .home-bed-grid figure {
    height: 160px;
  }
  .home-v6 .home-hard-grid {
    padding-inline: 14px;
  }
  .home-v6 .home-hard-card {
    min-height: 145px;
  }
  .home-v6 .home-newsletter {
    margin-inline: 14px;
    padding: 20px 16px;
  }
}

/* 2026-08-21 v10 — "Better days together" approved homepage */
.wm-wordmark .wm-paw {
  position: relative;
  width: 20px;
  height: 19px;
  margin-left: 8px;
  display: inline-block;
  color: var(--clay);
  transform: translateY(2px) rotate(-7deg);
}
.wm-wordmark .wm-paw i {
  position: absolute;
  display: block;
  background: currentColor;
}
.wm-wordmark .wm-paw i:nth-child(1) {
  left: 6px;
  bottom: 1px;
  width: 10px;
  height: 9px;
  border-radius: 55% 55% 48% 48%;
}
.wm-wordmark .wm-paw i:nth-child(2) {
  left: 0;
  top: 6px;
  width: 6px;
  height: 7px;
  border-radius: 55%;
  transform: rotate(-20deg);
}
.wm-wordmark .wm-paw i:nth-child(3) {
  left: 3px;
  top: 0;
  width: 6px;
  height: 7px;
  border-radius: 55%;
  transform: rotate(-8deg);
}
.wm-wordmark .wm-paw i:nth-child(4) {
  right: 3px;
  top: 0;
  width: 6px;
  height: 7px;
  border-radius: 55%;
  transform: rotate(8deg);
}
.wm-wordmark .wm-paw i:nth-child(5) {
  right: 0;
  top: 6px;
  width: 6px;
  height: 7px;
  border-radius: 55%;
  transform: rotate(20deg);
}
.wm-header-inner {
  width: min(1320px, calc(100vw - 52px));
}
.wm-nav {
  justify-content: center;
  gap: 34px;
}
.wm-nav > a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.wm-nav .wm-login-link {
  margin-left: 18px;
  color: var(--clay-dark);
}
.wm-product-link {
  padding: 12px 18px;
}

.home-v10 {
  background: #fbf8f2;
}
.home-v10 .home-reference {
  width: min(1320px, calc(100vw - 52px));
  padding-bottom: 38px;
}
.home-v10 .home-reference h1,
.home-v10 .home-reference h2,
.home-v10 .home-reference h3 {
  color: var(--forest);
  font-weight: 500;
}
.home-v10 .home-reference figure {
  margin: 0;
  background: transparent;
}
.home-v10 .home-reference img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: transparent;
}
.home-v10 .home-ref-section {
  padding: 38px 0;
}
.home-v10 .home-ref-section > header {
  margin-bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.home-v10 .home-ref-section > header h2 {
  margin-bottom: 5px;
  font-size: 2rem;
}
.home-v10 .home-ref-section > header p {
  margin: 0;
  font-size: 0.9rem;
}
.home-v10 .home-ref-section > header > a {
  color: var(--clay-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.home-v10 .home-ref-hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.home-v10 .home-ref-hero-copy {
  padding: 55px 48px 40px 14px;
  align-self: center;
}
.home-v10 .home-ref-hero-copy h1 {
  max-width: 470px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 5vw, 4.8rem);
  line-height: 0.98;
}
.home-v10 .home-ref-hero-copy > p {
  max-width: 470px;
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.55;
}
.home-v10 .home-ref-actions {
  margin-bottom: 28px;
  display: flex;
  gap: 14px;
}
.home-v10 .home-ref-actions .button {
  min-width: 170px;
  min-height: 50px;
}
.home-v10 .home-trust-row {
  max-width: 510px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
}
.home-v10 .home-trust-row span {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--clay-dark);
  font-size: 0.76rem;
}
.home-v10 .home-trust-row b {
  color: var(--ink);
  font-weight: 550;
  line-height: 1.35;
}
.home-v10 .home-ref-hero > figure {
  min-width: 0;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-v10 .home-ref-hero > figure img {
  max-height: 500px;
}

.home-v10 .home-ref-learn {
  padding-top: 34px;
}
.home-v10 .home-topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.home-v10 .home-topic-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.home-v10 .home-topic-card figure {
  height: 235px;
  min-height: 235px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-v10 .home-topic-card > div {
  position: relative;
  min-height: 202px;
  padding: 28px 15px 15px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.home-v10 .home-topic-card i {
  position: absolute;
  top: -21px;
  left: 13px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--clay-dark);
  border: 1px solid var(--clay);
  border-radius: 50%;
  background: white;
  font-style: normal;
}
.home-v10 .home-topic-card h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}
.home-v10 .home-topic-card p {
  margin: 0 0 18px;
  font-size: 0.82rem;
  line-height: 1.48;
}
.home-v10 .home-topic-card span {
  margin-top: auto;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.home-v10 .home-care-account {
  margin: 14px 0 42px;
  min-height: 530px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  overflow: hidden;
  color: white;
  border-radius: 10px;
  background: var(--forest);
}
.home-v10 .home-account-panel {
  padding: 42px 38px 34px;
}
.home-v10 .home-account-panel h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 2.35rem;
  line-height: 1.05;
}
.home-v10 .home-account-panel > p {
  max-width: 430px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}
.home-v10 .home-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}
.home-v10 .home-account-grid label {
  display: grid;
  gap: 6px;
  color: white;
  font-size: 0.84rem;
  font-weight: 600;
}
.home-v10 .home-account-grid label > span {
  color: rgba(255, 255, 255, 0.96);
}
.home-v10 .home-account-grid input,
.home-v10 .home-account-grid select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: white;
}
.home-v10 .home-account-breed {
  grid-column: 2;
}
.home-v10 .home-account-panel .button {
  min-height: 48px;
  margin-top: 18px;
}
.home-v10 .home-account-panel .form-note {
  min-height: 22px;
  margin: 8px 0 0;
  color: white;
}
.home-v10 .home-care-account > figure {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e7ddcf;
}
.home-v10 .home-care-account > figure img {
  max-height: 530px;
}
.home-v10 .home-care-account figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 28px;
  display: grid;
  gap: 8px;
  color: white;
  background: rgba(91, 48, 42, 0.9);
  font-size: 0.82rem;
}

.home-v10 .home-ref-guide {
  position: relative;
  min-height: 250px;
  margin-bottom: 34px;
  padding: 34px 260px 34px 34px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(380px, 1.2fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  color: white;
  border-radius: 10px;
  background: var(--forest);
}
.home-v10 .home-ref-guide h2 {
  margin-bottom: 10px;
  color: white;
  font-size: 2rem;
  line-height: 1.08;
}
.home-v10 .home-ref-guide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}
.home-v10 .home-ref-guide form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.home-v10 .home-ref-guide input,
.home-v10 .home-ref-guide button {
  width: 100%;
  min-height: 48px;
}
.home-v10 .home-ref-guide .form-note {
  min-height: 18px;
  margin: 0;
  color: white;
  font-size: 0.84rem;
}
.home-v10 .home-guide-book {
  position: absolute;
  right: 40px;
  bottom: -8px;
  width: 180px;
  height: 220px;
  padding: 18px 16px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: #713f36;
  box-shadow: -18px 12px 0 rgba(255, 255, 255, 0.14);
  text-decoration: none;
}
.home-v10 .home-guide-book span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.64rem;
}
.home-v10 .home-guide-book strong {
  position: relative;
  z-index: 2;
  display: block;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.05;
}
.home-v10 .home-guide-book img {
  position: absolute;
  inset: auto 0 0;
  height: 115px;
  opacity: 0.95;
}

.home-v10 .home-vet-support {
  min-height: 132px;
  margin: 0 0 34px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 200px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.home-v10 .home-vet-icon {
  color: var(--forest);
  font-size: 2.5rem;
  text-align: center;
}
.home-v10 .home-vet-support h2 {
  margin-bottom: 5px;
  font-size: 1.55rem;
}
.home-v10 .home-vet-support p {
  max-width: 610px;
  margin: 0;
  font-size: 0.82rem;
}
.home-v10 .home-vet-support .button {
  min-height: 44px;
}
.home-v10 .home-vet-support figure {
  height: 120px;
  display: grid;
  place-items: center;
}

.home-v10 .home-ref-bed {
  margin: 0 0 38px;
  overflow: hidden;
  color: white;
  border-radius: 10px;
  background: var(--forest);
}
.home-v10 .home-ref-bed > header {
  padding: 24px 28px 8px;
}
.home-v10 .home-ref-bed h2,
.home-v10 .home-ref-bed h3 {
  color: white;
}
.home-v10 .home-ref-bed > header h2 {
  margin-bottom: 4px;
  font-size: 1.9rem;
}
.home-v10 .home-ref-bed > header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.83rem;
}
.home-v10 .home-bed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-v10 .home-bed-grid article {
  min-width: 0;
  min-height: 300px;
  padding: 18px 28px 28px;
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: center;
}
.home-v10 .home-bed-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.home-v10 .home-bed-grid h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}
.home-v10 .home-bed-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.5;
}
.home-v10 .home-bed-grid figure {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-v10 .home-bed-grid figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
}
.home-v10 .home-bed-grid .button {
  margin-top: 18px;
}

.home-v10 .home-memorial {
  padding: 12px 10px 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: center;
}
.home-v10 .home-memorial > div:first-child {
  padding: 24px 0;
}
.home-v10 .home-memorial > div:first-child h2 {
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.02;
}
.home-v10 .home-memorial > div:first-child p {
  max-width: 310px;
  margin-bottom: 34px;
  font-size: 0.9rem;
}
.home-v10 .home-memorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-v10 .home-memorial-grid > a {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.home-v10 .home-memorial-grid figure {
  position: relative;
  height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-v10 .home-memorial-grid figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
}
.home-v10 .home-memorial-grid h3 {
  margin: 13px 14px 5px;
  font-size: 1.15rem;
}
.home-v10 .home-memorial-grid p {
  margin: 0 14px 16px;
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .wm-nav {
    gap: 18px;
  }
  .wm-nav .wm-login-link {
    margin-left: 4px;
  }
  .home-v10 .home-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-v10 .home-ref-guide {
    padding-right: 220px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-v10 .home-vet-support {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }
  .home-v10 .home-vet-support figure {
    display: none;
  }
  .home-v10 .home-bed-grid article {
    grid-template-columns: 1fr;
  }
  .home-v10 .home-bed-grid figure {
    height: 210px;
  }
}

@media (max-width: 900px) {
  .wm-header-inner {
    width: min(100% - 32px, 760px);
  }
  .home-v10 .home-reference {
    width: min(100% - 32px, 760px);
  }
  .home-v10 .home-ref-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .home-v10 .home-ref-hero-copy {
    padding: 42px 20px 28px;
  }
  .home-v10 .home-ref-hero > figure {
    min-height: 0;
    padding: 0 20px 24px;
  }
  .home-v10 .home-ref-hero > figure img {
    height: auto;
    max-height: 460px;
  }
  .home-v10 .home-care-account {
    grid-template-columns: 1fr;
  }
  .home-v10 .home-care-account > figure {
    min-height: 430px;
  }
  .home-v10 .home-bed-grid {
    grid-template-columns: 1fr;
  }
  .home-v10 .home-bed-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }
  .home-v10 .home-bed-grid article {
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 250px;
  }
  .home-v10 .home-memorial {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .home-v10 .home-reference {
    width: 100%;
  }
  .home-v10 .home-ref-hero-copy {
    padding-inline: 20px;
  }
  .home-v10 .home-ref-hero-copy h1 {
    font-size: 3rem;
  }
  .home-v10 .home-ref-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-v10 .home-ref-actions .button {
    min-width: 0;
    padding-inline: 10px;
  }
  .home-v10 .home-trust-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .home-v10 .home-ref-section {
    padding: 30px 14px;
  }
  .home-v10 .home-ref-section > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .home-v10 .home-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .home-v10 .home-topic-card figure {
    height: 145px;
    min-height: 145px;
  }
  .home-v10 .home-topic-card > div {
    min-height: 190px;
    padding: 27px 11px 12px;
  }
  .home-v10 .home-topic-card h3 {
    font-size: 1.05rem;
  }
  .home-v10 .home-topic-card p {
    font-size: 0.84rem;
  }
  .home-v10 .home-care-account {
    margin: 0 14px 28px;
  }
  .home-v10 .home-account-panel {
    padding: 30px 20px 26px;
  }
  .home-v10 .home-account-panel h2 {
    font-size: 2rem;
  }
  .home-v10 .home-account-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-v10 .home-account-breed {
    grid-column: auto;
  }
  .home-v10 .home-care-account > figure {
    min-height: 320px;
  }
  .home-v10 .home-care-account figcaption {
    padding: 18px;
  }
  .home-v10 .home-ref-guide {
    margin: 0 14px 26px;
    padding: 26px 20px 190px;
    grid-template-columns: 1fr;
  }
  .home-v10 .home-ref-guide h2 {
    font-size: 1.7rem;
  }
  .home-v10 .home-guide-book {
    right: 50%;
    bottom: -12px;
    transform: translateX(50%);
    width: 150px;
    height: 175px;
  }
  .home-v10 .home-guide-book img {
    height: 85px;
  }
  .home-v10 .home-vet-support {
    margin: 0 14px 26px;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }
  .home-v10 .home-vet-support .button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .home-v10 .home-ref-bed {
    margin: 0 14px 28px;
  }
  .home-v10 .home-bed-grid article {
    grid-template-columns: 1fr 1fr;
    min-height: 250px;
    padding: 16px;
  }
  .home-v10 .home-bed-grid figure {
    height: 190px;
  }
  .home-v10 .home-bed-grid .button {
    padding-inline: 9px;
  }
  .home-v10 .home-memorial {
    padding: 0 14px;
  }
  .home-v10 .home-memorial > div:first-child h2 {
    font-size: 2rem;
  }
  .home-v10 .home-memorial-grid {
    grid-template-columns: 1fr;
  }
  .home-v10 .home-memorial-grid > a {
    display: grid;
    grid-template-columns: 45% 1fr;
    align-items: center;
  }
  .home-v10 .home-memorial-grid figure {
    grid-row: 1 / span 2;
    height: 170px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .home-v10 .home-memorial-grid h3 {
    align-self: end;
  }
}

/* 2026-08-22 v12 — exact approved-homepage geometry, coral WoafMeow palette */
.home-v11 .wm-header-inner,
.home-v11 .home-reference {
  width: min(1320px, calc(100vw - 64px));
}

.home-v11 .wm-wordmark[data-logo-link] {
  width: 220px;
}

.home-v11 .home-ref-hero {
  min-height: 438px;
  grid-template-columns: 0.43fr 0.57fr;
}

.home-v11 .home-ref-hero-copy {
  padding: 38px 46px 30px 14px;
}

.home-v11 .home-ref-hero-copy h1 {
  max-width: 430px;
  font-size: clamp(3.25rem, 4vw, 4rem);
}

.home-v11 .home-ref-hero > figure {
  min-height: 438px;
  background: transparent;
}

.home-v11 .home-ref-hero > figure img {
  width: 100% !important;
  height: 438px !important;
  max-height: 438px;
  object-fit: contain !important;
}

.home-v11 .home-ref-section {
  padding: 29px 0 30px;
}

.home-v11 .home-topic-card > div {
  min-height: 168px;
}

.home-v11 .home-care-account {
  min-height: 400px;
  margin-bottom: 22px;
}

.home-v11 .home-account-panel {
  padding: 26px 30px 22px;
}

.home-v11 .home-account-panel h2 {
  font-size: 2.05rem;
}

.home-v11 .home-account-panel > p {
  margin-bottom: 14px;
}

.home-v11 .home-account-fields {
  gap: 20px;
}

.home-v11 .home-account-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
}

.home-v11 .home-account-or::before,
.home-v11 .home-account-or::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.home-v11 .home-google-button {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.home-v11 .home-google-button:hover {
  background: var(--ivory);
}

.home-v11 .google-g {
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.home-v11 .google-status {
  min-height: 0;
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  line-height: 1.35;
}

.home-v11 .google-status:empty {
  display: none;
}

.home-v11 .home-care-account > figure {
  min-height: 400px;
  padding: 0;
  background: transparent;
}

.home-v11 .home-care-account > figure img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 400px !important;
  max-height: 400px;
  object-fit: contain !important;
}

.home-v11 .home-care-account figcaption {
  background: rgba(91, 48, 42, 0.86);
}

.home-v11 .home-ref-guide {
  min-height: 174px;
  margin-bottom: 20px;
  padding: 24px 224px 24px 30px;
  grid-template-columns: 0.9fr 1.1fr;
}

.home-v11 .home-guide-book {
  right: 34px;
  bottom: -5px;
  width: 154px;
  height: 170px;
}

.home-v11 .home-guide-book img {
  height: 86px !important;
}

.home-v11 .home-vet-support {
  min-height: 104px;
  margin-bottom: 20px;
}

.home-v11 .home-vet-support figure {
  height: 90px;
}

.home-v11 .home-ref-bed {
  margin-bottom: 22px;
  gap: 10px;
}

.home-v11 .home-bed-panel {
  min-height: 254px;
  padding: 20px 22px;
  gap: 16px;
}

.home-v11 .home-bed-comfort {
  grid-template-columns: 0.72fr 1.28fr;
}

.home-v11 .home-bed-tracking {
  grid-template-columns: 0.92fr 1.08fr;
}

.home-v11 .home-bed-panel h3 {
  margin-top: 14px;
}

.home-v11 .home-bed-panel ul {
  margin-top: 11px;
}

.home-v11 .home-bed-panel figure {
  height: 190px;
}

.home-v11 .home-memorial {
  padding-top: 2px;
  gap: 26px;
}

.home-v11 .home-memorial-grid figure {
  background: transparent;
}

@media (max-width: 1080px) {
  .home-v11 .wm-header-inner,
  .home-v11 .home-reference {
    width: min(100% - 40px, 960px);
  }

  .home-v11 .home-ref-hero {
    grid-template-columns: 0.46fr 0.54fr;
  }

  .home-v11 .home-account-panel {
    padding-inline: 24px;
  }

  .home-v11 .home-ref-bed {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-bed-panel,
  .home-v11 .home-bed-comfort,
  .home-v11 .home-bed-tracking {
    grid-template-columns: 0.86fr 1.14fr;
  }
}

/* 2026-08-22 v13 — logo-matched palette and full-product bed storytelling */
.home-v11 main {
  background: var(--ivory);
}

.home-v11 .home-care-account {
  background: #40352f;
  box-shadow: 0 18px 44px rgba(64, 53, 47, 0.1);
}

.home-v11 .home-care-account figcaption {
  background: rgba(64, 53, 47, 0.9);
}

.home-v11 .home-ref-guide {
  background: #5a4036;
  box-shadow: 0 16px 38px rgba(64, 53, 47, 0.1);
}

.home-v11 .home-guide-book {
  background: #a9442e;
}

.home-v11 .home-ref-bed {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-v11 .home-ref-bed > header {
  padding: 26px 30px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f6eee7;
}

.home-v11 .home-ref-bed > header p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-v11 .home-ref-bed > header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.home-v11 .home-ref-bed > header span {
  max-width: 330px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: right;
}

.home-v11 .home-bed-story {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(64, 53, 47, 0.08);
}

.home-v11 .home-bed-comfort figure {
  position: relative;
  display: grid;
  overflow: hidden;
  background: #292521;
}

.home-v11 .home-bed-comfort figure > img {
  grid-area: 1 / 1;
  width: 100% !important;
  height: auto !important;
  max-height: none;
  object-fit: contain !important;
}

.home-v11 .home-bed-comfort figcaption {
  z-index: 1;
  grid-area: 1 / 1;
  width: 48%;
  padding: clamp(30px, 4vw, 54px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  background: rgba(35, 31, 28, 0.9);
}

.home-v11 .home-bed-comfort figcaption > p,
.home-v11 .home-bed-label {
  margin: 0 0 10px;
  color: #f0a38d;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-v11 .home-bed-comfort h3,
.home-v11 .home-bed-tracking h3 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.02;
}

.home-v11 .home-bed-comfort h3 {
  max-width: 460px;
  color: white;
}

.home-v11 .home-bed-comfort figcaption > span {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-v11 .home-bed-comfort ul {
  margin: 21px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  list-style: none;
}

.home-v11 .home-bed-comfort li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.35;
}

.home-v11 .home-bed-comfort li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f0a38d;
}

.home-v11 .home-bed-tracking {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: stretch;
  background: #edf0e7;
}

.home-v11 .home-bed-tracking > figure {
  min-width: 0;
  padding: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.56);
}

.home-v11 .home-bed-tracking > figure img {
  width: 100% !important;
  height: auto !important;
  max-height: 420px;
  object-fit: contain !important;
}

.home-v11 .home-bed-tracking > div {
  padding: clamp(32px, 4vw, 52px);
  align-self: center;
}

.home-v11 .home-bed-tracking h3 {
  max-width: 500px;
  color: var(--ink);
}

.home-v11 .home-bed-tracking > div > p:not(.home-bed-label) {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.home-v11 .home-bed-metrics {
  margin: 20px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-v11 .home-bed-metrics span {
  min-width: 0;
  padding: 13px 14px;
  color: var(--muted);
  border: 1px solid rgba(180, 75, 47, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.78);
  font-size: 0.76rem;
  line-height: 1.42;
}

.home-v11 .home-bed-metrics b {
  margin-bottom: 3px;
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
}

.home-v11 .home-bed-tracking .button {
  min-height: 46px;
}

@media (max-width: 960px) {
  .home-v11 .home-ref-bed > header {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-ref-bed > header span {
    max-width: none;
    text-align: left;
  }

  .home-v11 .home-bed-comfort figure {
    grid-template-rows: auto auto;
  }

  .home-v11 .home-bed-comfort figure > img {
    grid-area: 2 / 1;
  }

  .home-v11 .home-bed-comfort figcaption {
    grid-area: 1 / 1;
    width: 100%;
    padding: 30px;
    background: #40352f;
  }

  .home-v11 .home-bed-tracking {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-bed-tracking > figure {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .home-v11 .home-ref-bed {
    margin-inline: 14px;
  }

  .home-v11 .home-ref-bed > header,
  .home-v11 .home-bed-comfort figcaption,
  .home-v11 .home-bed-tracking > div {
    padding: 22px 18px;
  }

  .home-v11 .home-ref-bed > header h2 {
    font-size: 2rem;
  }

  .home-v11 .home-bed-comfort h3,
  .home-v11 .home-bed-tracking h3 {
    font-size: 1.85rem;
  }

  .home-v11 .home-bed-comfort ul,
  .home-v11 .home-bed-metrics {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-bed-tracking {
    min-height: 0;
  }

  .home-v11 .home-bed-tracking > figure {
    padding: 18px;
  }
}

@media (max-width: 860px) {
  .home-v11 .wm-header-inner,
  .home-v11 .home-reference {
    width: min(100% - 30px, 720px);
  }

  .home-v11 .home-ref-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-v11 .home-ref-hero > figure,
  .home-v11 .home-care-account > figure {
    min-height: 0;
  }

  .home-v11 .home-care-account > figure {
    height: auto;
  }

  .home-v11 .home-ref-hero > figure img {
    width: 100% !important;
    height: auto !important;
    max-height: 430px;
  }

  .home-v11 .home-care-account > figure img {
    width: 100% !important;
    height: auto !important;
    max-height: 430px;
  }
}

@media (max-width: 640px) {
  .home-v11 .wm-header-inner {
    width: calc(100vw - 24px);
  }

  .home-v11 .home-reference {
    width: 100%;
  }

  .home-v11 .home-ref-hero-copy h1 {
    font-size: 2.8rem;
  }

  .home-v11 .home-account-panel {
    padding: 24px 18px 20px;
  }

  .home-v11 .home-ref-guide {
    min-height: 0;
    padding: 24px 18px 166px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .home-v11 .home-ref-guide form {
    width: 100%;
  }

  .home-v11 .home-guide-book {
    right: 18px;
    bottom: -4px;
    width: 130px;
    height: 150px;
    transform: none;
  }

  .home-v11 .home-guide-book img {
    height: 68px !important;
  }

  .home-v11 .home-bed-panel,
  .home-v11 .home-bed-comfort,
  .home-v11 .home-bed-tracking {
    grid-template-columns: 1fr;
  }
}

/* Reference-locked refinement — 2026-08-22 */
.home-v11 .home-ref-hero-copy {
  padding: 32px 34px 27px;
}

.home-v11 .home-ref-hero-copy h1 {
  margin-bottom: 10px;
  font-size: clamp(3rem, 4.8vw, 4.85rem);
  line-height: 0.94;
}

.home-v11 .home-ref-hero-copy > p {
  margin-bottom: 15px;
}

.home-question-box {
  max-width: 510px;
  margin: 0 0 14px;
  padding: 13px;
  border: 1px solid rgba(91, 48, 42, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(91, 48, 42, 0.08);
}

.home-question-box label {
  display: block;
  margin-bottom: 7px;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-question-box > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 7px;
}

.home-question-box input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font: inherit;
}

.home-question-box button {
  min-height: 46px;
  color: white;
  border: 0;
  border-radius: 6px;
  background: var(--clay-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.home-question-box > p {
  margin: 7px 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-v11 .home-ref-actions {
  margin-bottom: 12px;
}

.home-v11 .home-trust-row {
  gap: 14px;
}

.home-v11 .home-vet-testimonials {
  margin: 0 0 20px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf7;
}

.home-v11 .home-vet-testimonials > header {
  margin-bottom: 16px;
  text-align: center;
}

.home-v11 .home-vet-testimonials > header h2 {
  margin-bottom: 3px;
  color: var(--forest);
  font-size: 1.75rem;
}

.home-v11 .home-vet-testimonials > header p {
  margin: 0;
  font-size: 0.82rem;
}

.home-v11 .home-vet-testimonials > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-v11 .home-vet-testimonials article {
  min-width: 0;
  padding: 15px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.home-v11 .home-vet-testimonials figure {
  width: 88px;
  height: 88px;
  grid-row: 1 / span 2;
}

.home-v11 .home-vet-testimonials img {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 50%;
}

.home-v11 .home-vet-testimonials blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 1.45;
}

.home-v11 .home-vet-testimonials article p {
  margin: 0;
  font-size: 0.84rem;
}

.home-v11 .home-vet-testimonials article p strong,
.home-v11 .home-vet-testimonials article p span {
  display: block;
}

.home-v11 .home-vet-testimonials > .button {
  width: max-content;
  margin: 16px auto 0;
  display: flex;
}

.home-v11 .home-ref-bed {
  gap: 12px;
}

.home-v11 .home-bed-panel {
  min-height: 292px;
  padding: 24px;
  align-items: center;
  background: #512923;
}

.home-v11 .home-bed-comfort,
.home-v11 .home-bed-tracking {
  grid-template-columns: 1fr 1.15fr;
}

.home-v11 .home-bed-panel h2 {
  margin-bottom: 9px;
  color: white;
  font-size: 1.75rem;
  line-height: 1.08;
}

.home-v11 .home-bed-panel p,
.home-v11 .home-bed-panel li,
.home-v11 .home-bed-metrics span {
  color: rgba(255, 255, 255, 0.82);
}

.home-v11 .home-bed-label {
  margin-bottom: 9px;
  color: #f2a087 !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v11 .home-bed-panel ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v11 .home-bed-panel figure {
  height: 238px;
  padding: 0;
  background: transparent;
}

.home-v11 .home-bed-panel figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.home-v11 .home-bed-metrics {
  margin: 14px 0 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-v11 .home-bed-metrics span {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.72rem;
}

.home-v11 .home-bed-metrics b {
  display: block;
  color: white;
  font-size: 0.78rem;
}

.account-profile-actions {
  margin: 22px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-profile-actions .button {
  width: auto;
}

.memorial-partner .wm-wrap > header {
  max-width: 900px;
  margin-bottom: 25px;
}

.memorial-partner-gallery {
  display: grid;
  grid-template-columns: 0.78fr 1.35fr 1fr;
  gap: 14px;
  align-items: center;
}

.memorial-partner-gallery figure {
  margin: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.memorial-partner-gallery img {
  width: 100%;
  height: auto !important;
  max-height: 390px;
  object-fit: contain !important;
  border-radius: 10px;
}

.memorial-partner .partner-proof-grid {
  margin: 22px 0 18px;
}

.memorial-steps .wm-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.memorial-tribute-card {
  padding: 24px;
  color: white;
  border-radius: 16px;
  background: var(--forest);
  box-shadow: 0 20px 55px rgba(23, 62, 50, 0.16);
}

.memorial-tribute-card > span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.memorial-tribute-card h2 {
  margin: 4px 0 8px;
  color: white;
  font-size: 3rem;
}

.memorial-tribute-card p {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.memorial-tribute-card > div {
  margin-top: 18px;
}

.memorial-tribute-card img {
  width: 100%;
  height: auto !important;
  max-height: 360px;
  object-fit: contain !important;
  border-radius: 10px;
}

.memorial-steps-copy > p {
  max-width: 680px;
}

.memorial-steps-copy ol {
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.memorial-steps-copy li {
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.memorial-steps-copy li > span {
  color: var(--clay-dark);
  font-weight: 700;
}

.memorial-steps-copy li p {
  margin: 3px 0 0;
  font-size: 0.9rem;
}

.loss-goodbye-detail {
  padding: 60px 0;
  background: var(--forest);
}

.loss-goodbye-detail header {
  max-width: 850px;
  margin-bottom: 24px;
}

.loss-goodbye-detail h2,
.loss-goodbye-detail h3 {
  color: white;
}

.loss-goodbye-detail header p,
.loss-goodbye-detail li {
  color: rgba(255, 255, 255, 0.82);
}

.loss-goodbye-detail .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.loss-goodbye-detail article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.loss-goodbye-detail article ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.loss-goodbye-detail article li {
  margin: 8px 0;
}

.loss-goodbye-detail figure {
  margin: 24px 0 0;
  display: grid;
  place-items: center;
}

.loss-goodbye-detail img {
  width: 100%;
  height: auto !important;
  max-height: 520px;
  object-fit: contain !important;
  border-radius: 12px;
}

.story-mission-v7,
.story-build-v7,
.support-expect-v7,
.support-faq-v7 {
  padding: 58px 0;
}

.story-mission-v7 {
  background: var(--paper);
}

.story-mission-v7 header {
  max-width: 820px;
  margin-bottom: 24px;
}

.story-mission-v7 .wm-wrap > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-mission-v7 article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.story-build-v7 .wm-wrap,
.support-expect-v7 .wm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-build-v7 figure,
.support-expect-v7 figure {
  margin: 0;
  display: grid;
  place-items: center;
}

.story-build-v7 img,
.support-expect-v7 img {
  width: 100%;
  height: auto !important;
  max-height: 470px;
  object-fit: contain !important;
  border-radius: 12px;
}

.support-expect-v7 {
  background: var(--forest);
}

.support-expect-v7 h2,
.support-expect-v7 p {
  color: white;
}

.support-expect-v7 ol {
  margin: 22px 0 0;
  padding: 0;
}

.support-expect-v7 li {
  margin: 12px 0;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
}

.support-expect-v7 li > span {
  color: var(--coral);
  font-weight: 700;
}

.support-expect-v7 li p {
  margin: 0;
}

.support-faq-v7 .wm-wrap {
  max-width: 900px;
}

.support-faq-v7 h2 {
  margin-bottom: 20px;
}

.support-faq-v7 details {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.support-faq-v7 summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 700;
}

.support-faq-v7 details p {
  margin: 10px 0 0;
}

@media (max-width: 900px) {
  .home-v11 .home-vet-testimonials > div,
  .memorial-steps .wm-wrap,
  .story-build-v7 .wm-wrap,
  .support-expect-v7 .wm-wrap {
    grid-template-columns: 1fr;
  }

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

  .loss-goodbye-detail .wm-wrap > div,
  .story-mission-v7 .wm-wrap > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-v11 .home-ref-hero-copy {
    padding: 28px 18px 23px;
  }

  .home-question-box > div {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .home-v11 .home-vet-testimonials {
    margin-inline: 13px;
    padding: 20px 14px;
  }

  .home-v11 .home-vet-testimonials > div {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-vet-testimonials article {
    grid-template-columns: 70px 1fr;
  }

  .home-v11 .home-vet-testimonials figure {
    width: 70px;
    height: 70px;
  }

  .home-v11 .home-bed-panel {
    padding: 20px;
  }

  .home-v11 .home-bed-panel figure {
    height: auto;
    min-height: 210px;
  }

  .home-v11 .home-bed-panel figure img {
    height: auto !important;
    max-height: 310px;
  }

  .memorial-partner-gallery {
    grid-template-columns: 1fr;
  }

  .memorial-partner-gallery img {
    max-height: 330px;
  }

  .memorial-steps,
  .loss-goodbye-detail,
  .story-mission-v7,
  .story-build-v7,
  .support-expect-v7,
  .support-faq-v7 {
    padding: 42px 0;
  }

  .memorial-page h2,
  .memorial-tree-page h2,
  .memorial-v6 main h2,
  .memorial-tribute-card h2 {
    font-size: clamp(2rem, 10vw, 2.4rem);
    line-height: 1.02;
  }
}

/* Keep the v13 product showcase authoritative in the final cascade. */
.home-v11 .home-ref-bed {
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-v11 .home-bed-comfort,
.home-v11 .home-bed-tracking {
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
}

.home-v11 .home-bed-comfort {
  grid-template-columns: 1fr;
}

.home-v11 .home-bed-label {
  margin-bottom: 10px;
  color: var(--clay-dark) !important;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
}

.home-v11 .home-bed-metrics {
  margin: 20px 0 22px;
  gap: 10px;
}

.home-v11 .home-bed-metrics span {
  padding: 13px 14px;
  color: var(--muted);
  border-color: rgba(180, 75, 47, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.78);
  font-size: 0.76rem;
  line-height: 1.42;
}

.home-v11 .home-bed-metrics b {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .home-v11 .home-bed-tracking {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-v11 .home-bed-metrics {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   v14 reference-locked visual system
   The approved WoafMeow references use compact editorial sections, equal
   cards, warm coral/cocoa brand color and uncropped documentary media.
   This final scoped layer intentionally wins over older prototype variants.
   -------------------------------------------------------------------------- */

:root {
  --wm-coral: #e07859;
  --wm-coral-deep: #b84f34;
  --wm-cocoa: #5a3029;
  --wm-cocoa-deep: #3f221e;
  --wm-cream: #fffaf6;
  --wm-paper: #fffdfb;
  --wm-sage: #eef1e9;
  --wm-ink: #302824;
  --wm-muted: #6c605a;
  --wm-line: #e9d8cf;
  --wm-shadow: 0 14px 36px rgba(78, 46, 39, 0.08);
  --wm-shell: min(1240px, calc(100vw - 48px));
}

.home-v11 main,
.circle-v7 main,
.lesson-v7 main,
.guide-v6 main,
.find-care-v6 main {
  overflow: hidden;
  color: var(--wm-ink);
  background: var(--wm-cream);
}

.home-v11 main h1,
.home-v11 main h2,
.home-v11 main h3,
.circle-v7 main h1,
.circle-v7 main h2,
.circle-v7 main h3,
.lesson-v7 main h1,
.lesson-v7 main h2,
.lesson-v7 main h3,
.guide-v6 main h1,
.guide-v6 main h2,
.guide-v6 main h3,
.find-care-v6 main h1,
.find-care-v6 main h2,
.find-care-v6 main h3 {
  color: var(--wm-cocoa-deep);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.home-v11 main img,
.circle-v7 main img,
.lesson-v7 main img,
.guide-v6 main img,
.find-care-v6 main img {
  display: block;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

.home-v11 .home-reference,
.circle-v7 .wm-wrap,
.lesson-v7 .wm-wrap,
.guide-v6 .wm-wrap,
.find-care-v6 .wm-wrap {
  width: var(--wm-shell);
  margin-inline: auto;
}

/* Homepage — the approved reference in working HTML. */
.home-v11 .home-reference {
  display: grid;
  gap: 18px;
  padding: 22px 0 28px;
}

.home-v11 .home-ref-hero,
.home-v11 .home-ref-section,
.home-v11 .home-care-account,
.home-v11 .home-ref-guide,
.home-v11 .home-vet-testimonials,
.home-v11 .home-ref-bed,
.home-v11 .home-memorial {
  width: 100%;
  margin: 0;
  border: 1px solid var(--wm-line);
  border-radius: 14px;
  background: var(--wm-paper);
  box-shadow: none;
}

.home-v11 .home-ref-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  align-items: stretch;
  min-height: 510px;
}

.home-v11 .home-ref-hero-copy {
  padding: clamp(38px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #fffdfb 0%, #fff8f3 100%);
}

.home-v11 .home-ref-hero-copy h1 {
  max-width: 580px;
  margin: 0 0 16px;
  color: var(--wm-cocoa-deep);
  font-size: clamp(3rem, 4.7vw, 4.65rem);
  line-height: 0.98;
}

.home-v11 .home-ref-hero-copy > p {
  max-width: 570px;
  margin: 0 0 22px;
  color: var(--wm-muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.home-v11 .home-ref-hero > figure {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: #fff;
}

.home-v11 .home-ref-hero > figure img {
  width: 100%;
  height: auto !important;
  max-height: 610px;
}

.home-v11 .home-question-box {
  width: 100%;
  max-width: 590px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #dfc9be;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 26px rgba(79, 42, 34, 0.07);
}

.home-v11 .home-question-box > label {
  display: block;
  margin-bottom: 9px;
  color: var(--wm-cocoa);
  font-size: 0.9rem;
  font-weight: 650;
}

.home-v11 .home-question-box > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.home-v11 .home-question-box input {
  min-width: 0;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--wm-line);
  border-radius: 8px;
  background: #fffdfb;
  font-size: 1rem;
}

.home-v11 .home-question-box button {
  min-width: 92px;
  height: 52px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--wm-coral-deep);
  font-weight: 650;
}

.home-v11 .home-question-box > p {
  margin: 9px 0 0;
  color: #81736c;
  font-size: 0.78rem;
  line-height: 1.45;
}

.home-v11 .home-ref-actions {
  display: none;
}

.home-v11 .home-trust-row {
  max-width: 590px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-v11 .home-trust-row span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--wm-coral-deep);
  font-size: 0.75rem;
}

.home-v11 .home-trust-row b {
  color: var(--wm-ink);
  font-weight: 550;
}

.home-v11 .home-ref-section,
.home-v11 .home-vet-testimonials,
.home-v11 .home-ref-bed,
.home-v11 .home-memorial {
  padding: clamp(28px, 3.5vw, 46px);
}

.home-v11 .home-ref-learn > header,
.home-v11 .home-ref-bed > header {
  margin: 0 0 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.home-v11 .home-ref-learn > header h2,
.home-v11 .home-ref-bed > header h2,
.home-v11 .home-vet-testimonials h2,
.home-v11 .home-memorial h2 {
  margin: 0 0 7px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.home-v11 .home-ref-learn > header p,
.home-v11 .home-ref-bed > header span,
.home-v11 .home-vet-testimonials header p,
.home-v11 .home-memorial > div > p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.98rem;
}

.home-v11 .home-ref-learn > header > a {
  flex: 0 0 auto;
  color: var(--wm-coral-deep);
  font-weight: 650;
}

.home-v11 .home-topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-v11 .home-topic-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wm-line);
  border-radius: 10px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}

.home-v11 .home-topic-card figure {
  height: 176px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--wm-line);
  background: #fff;
}

.home-v11 .home-topic-card figure img {
  width: 100%;
  height: 100% !important;
}

.home-v11 .home-topic-card > div {
  position: relative;
  flex: 1;
  min-height: 210px;
  padding: 25px 14px 15px;
  display: flex;
  flex-direction: column;
}

.home-v11 .home-topic-card i {
  position: absolute;
  top: -19px;
  left: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #efb19e;
  border-radius: 50%;
  color: var(--wm-coral-deep);
  background: white;
  font-style: normal;
}

.home-v11 .home-topic-card h3 {
  margin: 0 0 8px;
  color: var(--wm-cocoa-deep);
  font-size: 1.25rem;
  line-height: 1.08;
}

.home-v11 .home-topic-card p {
  margin: 0 0 16px;
  color: var(--wm-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.home-v11 .home-topic-card span {
  margin-top: auto;
  color: var(--wm-coral-deep);
  font-size: 0.82rem;
  font-weight: 650;
}

.home-v11 .home-care-account {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--wm-cocoa);
}

.home-v11 .home-account-panel {
  min-width: 0;
  padding: clamp(30px, 4vw, 52px);
  color: white;
  background: linear-gradient(140deg, #6a392f, var(--wm-cocoa-deep));
}

.home-v11 .home-account-panel h2 {
  max-width: 520px;
  margin: 0 0 12px;
  color: white;
  font-size: clamp(2.1rem, 3.3vw, 3.2rem);
  line-height: 1.02;
}

.home-v11 .home-account-panel > p {
  max-width: 570px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.home-v11 .home-account-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-v11 .home-owner-fields,
.home-v11 .home-dog-fields {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
}

.home-v11 .home-account-panel label span,
.home-v11 .home-dog-fields > strong {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-size: 0.76rem;
  font-weight: 600;
}

.home-v11 .home-account-panel input,
.home-v11 .home-account-panel select,
.home-v11 .home-google-button {
  width: 100%;
  height: 43px;
  padding-inline: 11px;
  border: 0;
  border-radius: 6px;
  background: white;
  font-size: 0.86rem;
}

.home-v11 .home-google-button {
  color: var(--wm-ink);
  font-weight: 600;
}

.home-v11 .home-account-or {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-align: center;
}

.home-v11 .home-dog-fields .button {
  margin-top: 2px;
  min-height: 43px;
}

.home-v11 .home-care-account > figure {
  position: relative;
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  background: #fff;
}

.home-v11 .home-care-account > figure > img {
  width: 100%;
  height: auto !important;
  max-height: 600px;
}

.home-v11 .home-care-account figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 14px 16px;
  display: grid;
  gap: 5px;
  border-radius: 8px;
  color: white;
  background: rgba(55, 30, 26, 0.82);
  font-size: 0.82rem;
}

.home-v11 .home-ref-guide {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr) 170px;
  align-items: center;
  gap: 24px;
  color: white;
  background: linear-gradient(115deg, var(--wm-cocoa-deep), #6c392f);
}

.home-v11 .home-ref-guide h2 {
  margin: 0 0 7px;
  color: white;
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  line-height: 1.05;
}

.home-v11 .home-ref-guide > div p,
.home-v11 .home-ref-guide .form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
}

.home-v11 .home-ref-guide form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.home-v11 .home-ref-guide form label,
.home-v11 .home-ref-guide form input {
  min-width: 0;
  width: 100%;
}

.home-v11 .home-ref-guide form input,
.home-v11 .home-ref-guide form .button {
  height: 48px;
  border-radius: 6px;
}

.home-v11 .home-ref-guide .form-note {
  grid-column: 1 / -1;
}

.home-v11 .home-guide-book {
  width: 152px;
  min-height: 180px;
  padding: 14px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  color: white;
  background: #6d3b31;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transform: rotate(2deg);
}

.home-v11 .home-guide-book img {
  width: 100%;
  height: auto !important;
  margin-top: auto;
}

.home-v11 .home-vet-testimonials {
  text-align: center;
}

.home-v11 .home-vet-testimonials > div {
  margin: 22px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-v11 .home-vet-testimonials article {
  min-width: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas: "photo quote" "photo byline";
  gap: 8px 16px;
  align-items: center;
  border: 1px solid var(--wm-line);
  border-radius: 10px;
  background: white;
  text-align: left;
}

.home-v11 .home-vet-testimonials article figure {
  grid-area: photo;
  width: 92px;
  height: 92px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
}

.home-v11 .home-vet-testimonials article figure img {
  width: 100%;
  height: 100% !important;
  border-radius: 50%;
}

.home-v11 .home-vet-testimonials blockquote {
  grid-area: quote;
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.home-v11 .home-vet-testimonials article > p {
  grid-area: byline;
  margin: 0;
}

.home-v11 .home-vet-testimonials article > p span {
  display: block;
  color: var(--wm-muted);
  font-size: 0.75rem;
}

.home-v11 .home-ref-bed {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  background: #fffaf7;
}

.home-v11 .home-ref-bed > header {
  grid-column: 1 / -1;
  display: block;
  text-align: center;
}

.home-v11 .home-ref-bed > header p {
  margin: 0 0 6px;
  color: var(--wm-coral-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-v11 .home-ref-bed > header h2 {
  max-width: 850px;
  margin-inline: auto;
}

.home-v11 .home-bed-story {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--wm-cocoa-deep), #67372f);
}

.home-v11 .home-bed-comfort,
.home-v11 .home-bed-tracking {
  grid-template-columns: 1fr !important;
}

.home-v11 .home-bed-comfort figure {
  min-height: 100%;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
}

.home-v11 .home-bed-comfort figure > img {
  order: 2;
  width: 100%;
  height: auto !important;
  max-height: 300px;
  margin: 22px auto 0;
}

.home-v11 .home-bed-comfort figcaption {
  position: static;
  order: 1;
  max-width: none;
  padding: 0;
  color: white;
  background: transparent;
}

.home-v11 .home-bed-story h3 {
  margin: 5px 0 10px;
  color: white;
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  line-height: 1.05;
}

.home-v11 .home-bed-story p,
.home-v11 .home-bed-story span,
.home-v11 .home-bed-story li {
  color: rgba(255, 255, 255, 0.79);
}

.home-v11 .home-bed-comfort figcaption > p,
.home-v11 .home-bed-label {
  color: #ffc2b0 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v11 .home-bed-comfort ul {
  margin: 15px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  list-style: none;
}

.home-v11 .home-bed-comfort li::before {
  content: "✓";
  margin-right: 6px;
  color: #ff9f82;
}

.home-v11 .home-bed-tracking {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr) !important;
  align-items: center;
  gap: 20px;
}

.home-v11 .home-bed-tracking figure {
  min-width: 0;
  height: 260px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.home-v11 .home-bed-tracking figure img {
  width: 100%;
  height: 100% !important;
}

.home-v11 .home-bed-tracking > div {
  min-width: 0;
  padding: 0;
}

.home-v11 .home-bed-metrics {
  margin: 16px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.home-v11 .home-bed-metrics span {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  line-height: 1.35;
}

.home-v11 .home-bed-metrics b {
  display: block;
  color: white;
  font-size: 0.78rem;
}

.home-v11 .home-memorial {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  align-items: center;
  gap: 24px;
}

.home-v11 .home-memorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-v11 .home-memorial-grid a {
  overflow: hidden;
  border: 1px solid var(--wm-line);
  border-radius: 9px;
  color: inherit;
  background: white;
  text-decoration: none;
}

.home-v11 .home-memorial-grid figure {
  height: 150px;
  margin: 0;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--wm-line);
  background: white;
}

.home-v11 .home-memorial-grid img {
  width: 100%;
  height: 100% !important;
}

.home-v11 .home-memorial-grid h3,
.home-v11 .home-memorial-grid p {
  margin-inline: 13px;
}

.home-v11 .home-memorial-grid h3 {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.home-v11 .home-memorial-grid p {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--wm-muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

/* Care Circle — one page for the chatbox, public questions and full lessons. */
.circle-v7 .circle-hero-v7,
.lesson-v7 .lesson-hero-v7,
.find-care-v6 .directory-hero-v6,
.guide-v6 .guide-hero-v6 {
  width: var(--wm-shell);
  margin: 24px auto 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  border: 1px solid var(--wm-line);
  border-radius: 14px;
  background: var(--wm-paper);
}

.circle-v7 .circle-hero-v7 > div,
.lesson-v7 .lesson-hero-v7 > div,
.find-care-v6 .directory-hero-v6 > div,
.guide-v6 .guide-hero-copy {
  padding: clamp(34px, 5vw, 62px);
}

.circle-v7 .circle-hero-v7 h1,
.lesson-v7 .lesson-hero-v7 h1,
.find-care-v6 .directory-hero-v6 h1,
.guide-v6 .guide-hero-v6 h1 {
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 4.8vw, 4.65rem);
  line-height: 1;
}

.circle-v7 .circle-hero-v7 p,
.lesson-v7 .lesson-hero-v7 > div > p,
.find-care-v6 .directory-hero-v6 > div > p,
.guide-v6 .guide-hero-copy > p {
  margin: 0 0 22px;
  color: var(--wm-muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.circle-v7 .circle-hero-v7 figure,
.lesson-v7 .lesson-hero-v7 > figure,
.find-care-v6 .directory-hero-v6 > figure,
.guide-v6 .guide-hero-photo {
  min-width: 0;
  min-height: 390px;
  margin: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  background: white;
}

.circle-v7 .circle-hero-v7 figure img,
.lesson-v7 .lesson-hero-v7 > figure img,
.find-care-v6 .directory-hero-v6 > figure img,
.guide-v6 .guide-hero-photo img {
  width: 100%;
  height: auto !important;
  max-height: 500px;
}

.circle-v7 .circle-ask-v7 {
  padding: 18px 0;
  background: var(--wm-sage);
}

.circle-v7 .circle-account-gate,
.circle-v7 .circle-question-form {
  width: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid #d9dfd0;
  border-radius: 12px;
  background: white;
}

.circle-v7 .circle-account-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.circle-v7 .circle-account-gate h2,
.circle-v7 .circle-question-form h2 {
  margin: 0 0 5px;
  font-size: 1.8rem;
}

.circle-v7 .circle-account-gate p,
.circle-v7 .circle-question-form header p {
  margin: 0;
  color: var(--wm-muted);
}

.circle-v7 .circle-question-form {
  display: grid;
  grid-template-columns: minmax(200px, 0.45fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 15px;
}

.circle-v7 .circle-question-form > label:not(.consent-row) span {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
}

.circle-v7 .circle-question-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border-radius: 9px;
}

.circle-v7 .circle-question-form .consent-row,
.circle-v7 .circle-question-form .form-note {
  grid-column: 2 / -1;
}

.circle-v7 .circle-feed-v7 {
  padding: 40px 0 54px;
}

.circle-v7 .circle-filter-bar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.circle-v7 .circle-filter-bar h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.circle-v7 .circle-filter-bar > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.circle-v7 .circle-filter-bar button {
  padding: 8px 12px;
  border: 1px solid var(--wm-line);
  border-radius: 999px;
  color: var(--wm-cocoa);
  background: white;
  font-size: 0.78rem;
}

.circle-v7 .circle-filter-bar button[aria-pressed="true"] {
  color: white;
  border-color: var(--wm-coral-deep);
  background: var(--wm-coral-deep);
}

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

.circle-v7 .circle-public-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: white;
}

.circle-v7 .circle-public-card > figure {
  height: 210px;
  margin: 0;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--wm-line);
  background: white;
}

.circle-v7 .circle-public-card > figure a,
.circle-v7 .circle-public-card > figure img {
  width: 100%;
  height: 100% !important;
}

.circle-v7 .circle-public-card > div {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.circle-v7 .circle-public-card h2 {
  margin: 0 0 13px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.circle-v7 .circle-public-card dl,
.circle-v7 .circle-public-card p {
  color: var(--wm-muted);
  font-size: 0.86rem;
}

.circle-v7 .circle-public-card dl {
  margin: 0 0 12px;
}

.circle-v7 .circle-public-card dl > div {
  padding: 7px 0;
  border-top: 1px solid var(--wm-line);
}

.circle-v7 .circle-public-card dt {
  color: var(--wm-coral-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.circle-v7 .circle-public-card dd {
  margin: 3px 0 0;
}

.circle-v7 .circle-public-card .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Complete lessons — compact chapters with whole images and no floating rail. */
.lesson-v7 .lesson-hero-v7 {
  min-height: 470px;
}

.lesson-v7 .public-pet-profile {
  margin: 22px 0 0;
}

.lesson-v7 .public-pet-profile > div {
  padding: 9px 0;
  border-top: 1px solid var(--wm-line);
}

.lesson-v7 .public-pet-profile dt {
  color: var(--wm-coral-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-v7 .public-pet-profile dd {
  margin: 3px 0 0;
  color: var(--wm-muted);
}

.lesson-v7 .lesson-result-v7 {
  padding: 22px 0;
  background: var(--wm-sage);
}

.lesson-v7 .lesson-result-v7 h2 {
  margin: 0 0 5px;
  font-size: 1.8rem;
}

.lesson-v7 .lesson-result-v7 p {
  margin: 0;
  color: var(--wm-muted);
}

.lesson-v7 .lesson-chapters-v7 > section {
  padding: 38px 0;
  border-bottom: 1px solid var(--wm-line);
}

.lesson-v7 .lesson-chapters-v7 > section:nth-child(even) {
  background: #fff8f4;
}

.lesson-v7 .lesson-chapter-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(28px, 4vw, 54px);
}

.lesson-v7 .lesson-chapter-layout > figure {
  min-height: 340px;
  margin: 0;
  padding: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: white;
}

.lesson-v7 .lesson-chapter-layout > figure img {
  width: 100%;
  height: auto !important;
  max-height: 430px;
}

.lesson-v7 .lesson-chapter-layout h2 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3.4vw, 3.35rem);
  line-height: 1.03;
}

.lesson-v7 .lesson-chapter-layout p,
.lesson-v7 .lesson-chapter-layout li {
  color: var(--wm-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.lesson-v7 .chapter-result {
  color: var(--wm-cocoa) !important;
  font-family: var(--serif);
  font-size: 1.2rem !important;
}

.lesson-v7 .chapter-quiz {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--wm-line);
  border-radius: 10px;
  background: white;
}

.lesson-v7 .call-sooner-v7,
.lesson-v7 .lesson-conversation-v7 {
  padding: 28px 0;
}

/* Guide — visual, dense and actionable. */
.guide-v6 .guide-hero-v6 {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.guide-v6 .guide-hero-photo {
  order: 2;
}

.guide-v6 .guide-hero-copy {
  order: 1;
  background: linear-gradient(145deg, #fffdfb, #fff7f2);
}

.guide-v6 .guide-hero-copy form {
  max-width: 580px;
}

.guide-v6 .guide-outcomes {
  padding: 18px 0;
  background: var(--wm-sage);
}

.guide-v6 .guide-outcomes .wm-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guide-v6 .guide-outcomes article {
  padding: 18px;
  border: 1px solid #d9dfd0;
  border-radius: 10px;
  background: white;
}

.guide-v6 .guide-outcomes h2 {
  margin: 7px 0;
  font-size: 1.35rem;
}

.guide-v6 .guide-outcomes p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.86rem;
}

.guide-v6 .guide-topics-v6,
.guide-v6 .guide-method,
.guide-v6 .guide-vet-note,
.guide-v6 .guide-lessons {
  padding: 42px 0;
}

.guide-v6 .guide-topics-v6 .section-heading,
.guide-v6 .guide-lessons .section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.guide-v6 .guide-topics-v6 .wm-wrap > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-v6 .guide-topics-v6 article {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: white;
}

.guide-v6 .guide-topics-v6 article figure {
  min-height: 300px;
  margin: 0;
  padding: 12px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--wm-line);
  background: white;
}

.guide-v6 .guide-topics-v6 article figure img {
  width: 100%;
  height: auto !important;
  max-height: 340px;
}

.guide-v6 .guide-topics-v6 article > div {
  padding: 22px;
}

.guide-v6 .guide-topics-v6 h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.guide-v6 .guide-topics-v6 dl > div {
  padding: 10px 0;
  border-top: 1px solid var(--wm-line);
}

.guide-v6 .guide-topics-v6 dt {
  color: var(--wm-coral-deep);
  font-weight: 700;
}

.guide-v6 .guide-topics-v6 dd {
  margin: 3px 0 0;
  color: var(--wm-muted);
  line-height: 1.5;
}

.guide-v6 .guide-method .image-text,
.guide-v6 .guide-vet-note .wm-wrap {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: white;
}

.guide-v6 .guide-method figure,
.guide-v6 .guide-vet-note figure {
  min-height: 400px;
  margin: 0;
  padding: 18px;
  display: grid;
  place-items: center;
  background: white;
}

.guide-v6 .guide-method figure img,
.guide-v6 .guide-vet-note figure img {
  width: 100%;
  height: auto !important;
  max-height: 480px;
}

.guide-v6 .guide-method .image-text > div,
.guide-v6 .guide-vet-note .wm-wrap > div {
  padding: clamp(28px, 4vw, 48px);
}

.guide-v6 .guide-lessons {
  background: var(--wm-sage);
}

/* Find Care — Love Baxter-style browse rhythm, original WoafMeow content. */
.find-care-v6 .directory-hero-v6 {
  align-items: stretch;
}

.find-care-v6 .directory-selectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.find-care-v6 .directory-selectors label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
}

.find-care-v6 .directory-selectors select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--wm-line);
  border-radius: 8px;
  background: white;
}

.find-care-v6 .emergency-strip-v6 {
  padding: 16px 0;
  background: #f8e6df;
}

.find-care-v6 .emergency-strip-v6 .wm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.find-care-v6 .emergency-strip-v6 .wm-wrap > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.find-care-v6 .emergency-strip-v6 p {
  margin: 0;
  font-size: 0.9rem;
}

.find-care-v6 .directory-results-v6 {
  padding: 42px 0 54px;
}

.find-care-v6 .directory-results-v6 .section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.find-care-v6 .provider-card-v6 {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: white;
}

.find-care-v6 .provider-card-v6 > figure,
.find-care-v6 .provider-card-v6 > .provider-monogram {
  width: 100%;
  height: 220px;
  min-height: 220px;
  margin: 0;
  padding: 14px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--wm-line);
  background: white;
}

.find-care-v6 .provider-card-v6 > figure img {
  width: 100%;
  height: 100% !important;
}

.find-care-v6 .provider-monogram span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--wm-cocoa);
  font-family: var(--serif);
  font-size: 2rem;
}

.find-care-v6 .provider-monogram small {
  color: var(--wm-muted);
}

.find-care-v6 .provider-card-v6 > div:not(.provider-monogram) {
  flex: 1;
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.find-care-v6 .provider-card-v6 h3 {
  margin: 0 0 7px;
  font-size: 1.42rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.find-care-v6 .provider-card-v6 p {
  margin: 0 0 10px;
  color: var(--wm-muted);
  font-size: 0.86rem;
  line-height: 1.48;
}

.find-care-v6 .provider-card-v6 .organization {
  color: var(--wm-ink);
  font-weight: 650;
}

.find-care-v6 .provider-card-v6 > div > p:not(.organization, .location) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.find-care-v6 .provider-card-v6 a {
  margin-top: auto;
  color: var(--wm-coral-deep);
  font-weight: 650;
}

.find-care-v6 .care-directory-more {
  margin: 24px auto 0;
  display: flex;
}

.find-care-v6 .directory-note-v6 {
  padding: 14px 0;
  background: var(--wm-sage);
}

.find-care-v6 .directory-note-v6 p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.8rem;
}

.find-care-v6 .practice-band-v6 {
  padding: 42px 0;
}

.find-care-v6 .practice-band-v6 .wm-wrap {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  background: white;
}

.find-care-v6 .practice-band-v6 figure {
  min-height: 100%;
  margin: 0;
  padding: 18px;
  display: grid;
  place-items: center;
  background: white;
}

.find-care-v6 .practice-band-v6 figure img {
  width: 100%;
  height: auto !important;
  max-height: 580px;
}

.find-care-v6 .provider-form-v6 {
  padding: clamp(28px, 4vw, 48px);
}

@media (max-width: 1080px) {
  .home-v11 .home-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v11 .home-bed-tracking {
    grid-template-columns: 1fr !important;
  }

  .home-v11 .home-bed-tracking figure {
    height: 220px;
  }

  .circle-v7 .circle-public-grid,
  .find-care-v6 .provider-grid-v6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-v6 .guide-topics-v6 article {
    grid-template-columns: 1fr;
  }

  .guide-v6 .guide-topics-v6 article figure {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--wm-line);
  }
}

@media (max-width: 900px) {
  :root {
    --wm-shell: min(100% - 36px, 860px);
  }

  .home-v11 .home-ref-hero,
  .home-v11 .home-care-account,
  .circle-v7 .circle-hero-v7,
  .lesson-v7 .lesson-hero-v7,
  .find-care-v6 .directory-hero-v6,
  .guide-v6 .guide-hero-v6,
  .guide-v6 .guide-method .image-text,
  .guide-v6 .guide-vet-note .wm-wrap,
  .find-care-v6 .practice-band-v6 {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-ref-hero {
    min-height: 0;
  }

  .home-v11 .home-ref-hero > figure,
  .circle-v7 .circle-hero-v7 figure,
  .lesson-v7 .lesson-hero-v7 > figure,
  .find-care-v6 .directory-hero-v6 > figure,
  .guide-v6 .guide-hero-photo {
    min-height: 0;
  }

  .home-v11 .home-care-account > figure {
    min-height: 420px;
  }

  .home-v11 .home-ref-guide {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-guide-book {
    display: none;
  }

  .home-v11 .home-ref-bed {
    grid-template-columns: 1fr !important;
  }

  .home-v11 .home-ref-bed > header {
    grid-column: auto;
  }

  .home-v11 .home-memorial {
    grid-template-columns: 1fr;
  }

  .circle-v7 .circle-question-form,
  .lesson-v7 .lesson-chapter-layout {
    grid-template-columns: 1fr;
  }

  .circle-v7 .circle-question-form .consent-row,
  .circle-v7 .circle-question-form .form-note {
    grid-column: auto;
  }

  .lesson-v7 .lesson-chapter-layout > figure {
    min-height: 0;
  }

  .guide-v6 .guide-topics-v6 .wm-wrap > div:last-child {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --wm-shell: calc(100% - 24px);
  }

  .home-v11 .home-reference {
    gap: 12px;
    padding: 12px 0 20px;
  }

  .home-v11 .home-ref-hero-copy,
  .circle-v7 .circle-hero-v7 > div,
  .lesson-v7 .lesson-hero-v7 > div,
  .find-care-v6 .directory-hero-v6 > div,
  .guide-v6 .guide-hero-copy {
    padding: 26px 20px;
  }

  .home-v11 .home-ref-hero-copy h1,
  .circle-v7 .circle-hero-v7 h1,
  .lesson-v7 .lesson-hero-v7 h1,
  .find-care-v6 .directory-hero-v6 h1,
  .guide-v6 .guide-hero-v6 h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }

  .home-v11 .home-question-box > div {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .home-v11 .home-question-box button {
    min-width: 0;
    padding: 0;
    font-size: 0;
  }

  .home-v11 .home-question-box button span {
    font-size: 1.15rem;
  }

  .home-v11 .home-trust-row {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-ref-section,
  .home-v11 .home-vet-testimonials,
  .home-v11 .home-ref-bed,
  .home-v11 .home-memorial {
    padding: 24px 14px;
  }

  .home-v11 .home-ref-learn > header,
  .home-v11 .home-ref-bed > header,
  .circle-v7 .circle-filter-bar,
  .circle-v7 .circle-account-gate,
  .find-care-v6 .emergency-strip-v6 .wm-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-v11 .home-topic-grid,
  .circle-v7 .circle-public-grid,
  .find-care-v6 .provider-grid-v6,
  .guide-v6 .guide-outcomes .wm-wrap,
  .home-v11 .home-vet-testimonials > div,
  .home-v11 .home-memorial-grid {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-topic-card figure,
  .circle-v7 .circle-public-card > figure,
  .find-care-v6 .provider-card-v6 > figure,
  .find-care-v6 .provider-card-v6 > .provider-monogram {
    height: 210px;
    min-height: 210px;
  }

  .home-v11 .home-account-fields,
  .find-care-v6 .directory-selectors {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-care-account > figure {
    min-height: 300px;
  }

  .home-v11 .home-ref-guide {
    padding: 22px 16px;
  }

  .home-v11 .home-ref-guide form {
    grid-template-columns: 1fr;
  }

  .home-v11 .home-vet-testimonials article {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .home-v11 .home-vet-testimonials article figure {
    width: 72px;
    height: 72px;
  }

  .home-v11 .home-bed-tracking {
    padding: 18px;
  }

  .home-v11 .home-bed-comfort ul,
  .home-v11 .home-bed-metrics {
    grid-template-columns: 1fr;
  }

  .circle-v7 .circle-hero-v7,
  .lesson-v7 .lesson-hero-v7,
  .find-care-v6 .directory-hero-v6,
  .guide-v6 .guide-hero-v6 {
    margin-top: 12px;
  }

  .circle-v7 .circle-filter-bar > div {
    justify-content: flex-start;
  }

  .guide-v6 .guide-topics-v6,
  .guide-v6 .guide-method,
  .guide-v6 .guide-vet-note,
  .guide-v6 .guide-lessons,
  .find-care-v6 .directory-results-v6,
  .find-care-v6 .practice-band-v6 {
    padding: 30px 0;
  }

  .guide-v6 .guide-topics-v6 article {
    grid-template-columns: 1fr;
  }

  .guide-v6 .guide-method figure,
  .guide-v6 .guide-vet-note figure {
    min-height: 0;
  }
}

/* v14.1 browser-QA corrections: compact rhythm and strict contained media. */
.home-v11 .home-reference {
  gap: 10px;
  padding-bottom: 26px;
}

@media (min-width: 1081px) {
  .home-v11 .home-ref-hero {
    height: 576px;
    min-height: 0;
  }

  .home-v11 .home-ref-hero-copy {
    padding: 42px 48px;
  }

  .home-v11 .home-ref-hero-copy h1 {
    font-size: clamp(3rem, 4.1vw, 3.85rem);
  }

  .home-v11 .home-ref-hero > figure {
    min-height: 0;
    overflow: hidden;
  }

  .home-v11 .home-ref-hero > figure img {
    width: 100%;
    height: 100% !important;
    max-height: 100%;
    object-fit: contain !important;
  }
}

.home-v11 .home-question-box > p,
.home-v11 .home-ref-bed > header p,
.home-v11 .home-bed-comfort figcaption > p,
.home-v11 .home-bed-label,
.home-v11 .home-bed-metrics span,
.home-v11 .home-memorial-grid p,
.circle-v7 .circle-filter-bar button,
.find-care-v6 .directory-note-v6 p {
  font-size: 0.84rem;
}

.home-v11 .home-bed-metrics b {
  font-size: 0.86rem;
}

.home-v11 .home-bed-tracking figure,
.circle-v7 .circle-public-card > figure,
.find-care-v6 .provider-card-v6 > figure {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.circle-v7 .circle-public-card > figure a {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.home-v11 .home-bed-tracking figure img,
.circle-v7 .circle-public-card > figure img,
.find-care-v6 .provider-card-v6 > figure img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

.home-v11 .home-bed-tracking > div > p:not(.home-bed-label),
.home-v11 .home-bed-tracking li {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1080px) and (min-width: 641px) {
  .home-v11 .home-bed-tracking figure {
    width: 100%;
    height: 210px;
  }

  .home-v11 .home-bed-tracking figure img {
    width: 100%;
    height: 100% !important;
  }
}

@media (max-width: 640px) {
  .home-v11 .home-question-box > div {
    grid-template-columns: minmax(0, 1fr) 74px;
  }

  .home-v11 .home-question-box button {
    min-width: 74px;
    padding: 0 8px;
    font-size: 0.8125rem;
  }

  .home-v11 .home-question-box button span {
    font-size: 0.9rem;
  }

  .home-v11 .home-topic-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .home-v11 .home-topic-card figure {
    width: 112px;
    height: 176px;
    min-height: 176px;
    border-right: 1px solid var(--wm-line);
    border-bottom: 0;
  }

  .home-v11 .home-topic-card > div {
    min-height: 176px;
    padding: 18px 12px 12px;
  }

  .home-v11 .home-topic-card i {
    top: 10px;
    left: -19px;
  }

  .home-v11 .home-topic-card h3 {
    margin-left: 9px;
    font-size: 1.08rem;
  }

  .home-v11 .home-topic-card p,
  .home-v11 .home-topic-card span {
    font-size: 0.82rem;
  }

  .home-v11 .home-bed-tracking figure {
    width: 100%;
    height: 190px;
  }
}

/* v14.2 — restrained credibility layer. */
.home-v11 .home-proof-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--wm-line);
  border-radius: 12px;
  color: var(--wm-muted);
  background: #fffaf7;
  font-size: 0.84rem;
}

.home-v11 .home-proof-strip strong,
.home-v11 .home-proof-strip span {
  display: flex;
  min-height: 30px;
  align-items: center;
  padding: 0 20px;
}

.home-v11 .home-proof-strip strong {
  padding-left: 0;
  color: var(--wm-cocoa-deep);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.home-v11 .home-proof-strip span {
  border-left: 1px solid var(--wm-line);
  color: var(--wm-ink);
  font-weight: 550;
}

.wm-footer-trust {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 650;
}

@media (max-width: 900px) {
  .home-v11 .home-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 18px;
  }

  .home-v11 .home-proof-strip strong,
  .home-v11 .home-proof-strip span {
    min-height: 38px;
    padding: 4px 12px;
  }

  .home-v11 .home-proof-strip strong {
    padding-left: 12px;
  }

  .home-v11 .home-proof-strip span:nth-of-type(2) {
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .home-v11 .home-proof-strip {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .home-v11 .home-proof-strip strong,
  .home-v11 .home-proof-strip span {
    min-height: 0;
    padding: 9px 0;
    border-left: 0;
  }

  .home-v11 .home-proof-strip span {
    border-top: 1px solid var(--wm-line);
  }
}

/* Homepage v12 — reference-locked, compact editorial system. */
.home-v12 {
  --home-ink: #342723;
  --home-cocoa: #5b302a;
  --home-cocoa-deep: #3f2420;
  --home-coral: #e1795a;
  --home-coral-dark: #b84b2e;
  --home-cream: #fffaf6;
  --home-paper: #fffdfb;
  --home-sage: #edf1e8;
  --home-line: #e7d6ca;
  color: var(--home-ink);
  background: var(--home-cream);
}

.home-v12 .wm-header {
  background: rgba(255, 253, 251, 0.97);
  border-color: var(--home-line);
}

.home-v12 .wm-header-inner,
.home-v12 .home-reference,
.home-v12 .wm-footer-grid,
.home-v12 .wm-footer-bottom {
  width: min(1240px, calc(100vw - 40px));
}

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

.home-v12 .wm-wordmark img {
  width: 184px;
  height: auto !important;
}

.home-v12 .wm-nav {
  gap: clamp(18px, 2vw, 30px);
}

.home-v12 .wm-nav a,
.home-v12 .wm-product-link {
  font-size: 0.88rem;
  font-weight: 600;
}

.home-v12 .wm-product-link,
.home-v12 .button.primary,
.home-v12 .home-question-box button {
  color: #fff;
  background: var(--home-coral-dark);
}

.home-v12 main {
  background: var(--home-cream);
}

.home-v12 .home-reference {
  margin: 16px auto 28px;
  display: grid;
  gap: 14px;
}

.home-v12 .home-reference h1,
.home-v12 .home-reference h2,
.home-v12 .home-reference h3 {
  margin-top: 0;
  color: var(--home-ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.home-v12 .home-reference p {
  color: #655951;
}

.home-v12 .home-reference figure {
  margin: 0;
}

.home-v12 .home-reference img {
  display: block;
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

.home-v12 .home-ref-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: var(--home-paper);
}

.home-v12 .home-ref-hero-copy {
  padding: clamp(34px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-v12 .home-ref-hero h1 {
  max-width: 520px;
  margin-bottom: 14px;
  color: var(--home-cocoa-deep);
  font-size: clamp(3rem, 4.8vw, 4.75rem);
  line-height: 0.98;
}

.home-v12 .home-ref-hero-copy > p {
  max-width: 530px;
  margin: 0 0 20px;
  font-size: 1.04rem;
  line-height: 1.55;
}

.home-v12 .home-ref-hero > figure {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  background: #fff;
}

.home-v12 .home-ref-hero > figure img {
  width: 100%;
}

.home-v12 .home-question-box {
  width: 100%;
  max-width: 540px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(91, 48, 42, 0.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(91, 48, 42, 0.09);
}

.home-v12 .home-question-box label,
.home-v12 .home-circle-ask label {
  display: block;
  margin-bottom: 8px;
  color: var(--home-cocoa);
  font-size: 0.84rem;
  font-weight: 650;
}

.home-v12 .home-question-box > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}

.home-v12 .home-question-box input,
.home-v12 .home-question-box button {
  min-height: 50px;
  border-radius: 7px;
}

.home-v12 .home-question-box input {
  min-width: 0;
  padding: 0 15px;
  border: 1px solid var(--home-line);
  color: var(--home-ink);
  background: #fffdfb;
  font: inherit;
}

.home-v12 .home-question-box button {
  border: 0;
  font: 650 0.92rem var(--sans);
  cursor: pointer;
}

.home-v12 .home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  align-items: center;
  color: #6b5d55;
  font-size: 0.78rem;
}

.home-v12 .home-hero-proof strong {
  color: var(--home-cocoa-deep);
  font-size: 0.86rem;
}

.home-v12 .home-hero-proof span::before {
  margin-right: 6px;
  color: var(--home-coral-dark);
  content: "✓";
}

.home-v12 .home-ref-section {
  padding: 28px 8px 30px;
}

.home-v12 .home-ref-section > header,
.home-v12 .home-circle-lessons > header {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.home-v12 .home-ref-section > header h2,
.home-v12 .home-circle-lessons > header h2 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
}

.home-v12 .home-ref-section > header p,
.home-v12 .home-circle-lessons > header p {
  margin: 0;
  font-size: 0.94rem;
}

.home-v12 .home-ref-section > header > a,
.home-v12 .home-circle-lessons > header > a {
  flex: none;
  color: var(--home-coral-dark);
  font-size: 0.86rem;
  font-weight: 650;
}

.home-v12 .home-topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-v12 .home-topic-card {
  overflow: hidden;
  min-width: 0;
  display: block;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  color: inherit;
  background: var(--home-paper);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-v12 .home-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(63, 36, 32, 0.1);
}

.home-v12 .home-topic-card figure {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--home-line);
  background: #fff;
}

.home-v12 .home-topic-card figure img {
  width: 100%;
  height: 100% !important;
}

.home-v12 .home-topic-card > div {
  position: relative;
  min-height: 186px;
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
}

.home-v12 .home-topic-card i {
  position: absolute;
  top: -21px;
  left: 13px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #efc9bc;
  border-radius: 50%;
  color: var(--home-coral-dark);
  background: #fff;
  font-style: normal;
}

.home-v12 .home-topic-card h3 {
  margin: 0 0 8px;
  color: var(--home-cocoa-deep);
  font-size: 1.26rem;
  line-height: 1.08;
}

.home-v12 .home-topic-card p {
  margin: 0 0 14px;
  font-size: 0.83rem;
  line-height: 1.48;
}

.home-v12 .home-topic-card span {
  margin-top: auto;
  color: var(--home-coral-dark);
  font-size: 0.8rem;
  font-weight: 650;
}

.home-v12 .home-care-circle {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.72fr);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #38231f, #674038);
}

.home-v12 .home-circle-lessons {
  min-width: 0;
  padding: 28px;
}

.home-v12 .home-circle-lessons h2,
.home-v12 .home-circle-ask h2 {
  color: #fff;
}

.home-v12 .home-circle-lessons > header p,
.home-v12 .home-circle-ask > p {
  color: rgba(255, 255, 255, 0.76);
}

.home-v12 .home-circle-lessons > header > a {
  color: #f8b7a3;
}

.home-v12 .home-circle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.home-v12 .home-circle-card {
  overflow: hidden;
  min-width: 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 253, 251, 0.96);
  text-decoration: none;
}

.home-v12 .home-circle-card figure {
  width: 90px;
  height: 100%;
  min-height: 130px;
  display: grid;
  place-items: center;
  background: #fff;
}

.home-v12 .home-circle-card figure img {
  width: 100%;
  height: 100% !important;
}

.home-v12 .home-circle-card > div {
  min-width: 0;
  padding: 12px 11px;
  display: flex;
  flex-direction: column;
}

.home-v12 .home-circle-card small {
  margin-bottom: 5px;
  color: var(--home-coral-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-v12 .home-circle-card h3 {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.14;
}

.home-v12 .home-circle-card p {
  margin: 0 0 8px;
  color: #695d56;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.home-v12 .home-circle-card span {
  margin-top: auto;
  color: var(--home-coral-dark);
  font-size: 0.68rem;
  font-weight: 650;
}

.home-v12 .home-circle-ask {
  margin: 12px;
  padding: 26px;
  align-self: stretch;
  border-radius: 10px;
  color: var(--home-ink);
  background: #fffaf7;
}

.home-v12 .home-circle-ask h2 {
  margin-bottom: 7px;
  color: var(--home-cocoa-deep);
  font-size: 2rem;
}

.home-v12 .home-circle-ask > p {
  margin: 0 0 15px;
  color: #675a53;
  font-size: 0.85rem;
  line-height: 1.45;
}

.home-v12 .home-circle-ask textarea {
  width: 100%;
  min-height: 126px;
  margin-bottom: 10px;
  padding: 13px;
  resize: vertical;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  color: var(--home-ink);
  background: #fff;
  font: inherit;
}

.home-v12 .home-circle-ask .button {
  width: 100%;
  justify-content: center;
}

.home-v12 .home-circle-trust {
  margin-top: 15px;
  display: grid;
  gap: 7px;
  color: #6d5f57;
  font-size: 0.72rem;
}

.home-v12 .home-circle-trust strong {
  color: var(--home-cocoa-deep);
  font-size: 0.82rem;
}

.home-v12 .home-circle-trust span::before {
  margin-right: 6px;
  color: var(--home-coral-dark);
  content: "✓";
}

.home-v12 .home-care-account {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: #fff;
}

.home-v12 .home-account-panel {
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #4c2a25, #75473c);
}

.home-v12 .home-account-panel h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.home-v12 .home-account-panel > p {
  max-width: 560px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-v12 .home-account-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-v12 .home-owner-fields,
.home-v12 .home-dog-fields {
  min-width: 0;
  display: grid;
  gap: 9px;
  align-content: start;
}

.home-v12 .home-dog-fields {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.home-v12 .home-dog-fields > strong,
.home-v12 .home-account-fields label > span {
  color: #fff;
  font-size: 0.73rem;
  font-weight: 650;
}

.home-v12 .home-account-fields label {
  display: grid;
  gap: 5px;
}

.home-v12 .home-account-fields input,
.home-v12 .home-account-fields select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  color: var(--home-ink);
  background: #fff;
  font: 0.84rem var(--sans);
}

.home-v12 .home-account-or {
  position: relative;
  height: 18px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
}

.home-v12 .home-account-or::before,
.home-v12 .home-account-or::after {
  position: absolute;
  width: 40%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  content: "";
}

.home-v12 .home-account-or::before { left: 0; }
.home-v12 .home-account-or::after { right: 0; }

.home-v12 .home-google-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: #312b28;
  background: #fff;
  font: 600 0.82rem var(--sans);
  cursor: pointer;
}

.home-v12 .google-g {
  margin-right: 9px;
  color: #4285f4;
  font-weight: 800;
}

.home-v12 .home-dog-fields .button {
  min-height: 43px;
  margin-top: 2px;
  justify-content: center;
}

.home-v12 .home-account-panel .form-note,
.home-v12 .home-account-panel .google-status {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

.home-v12 .form-note:empty,
.home-v12 .google-status:empty {
  display: none;
}

.home-v12 .home-care-account > figure {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #fff;
}

.home-v12 .home-care-account > figure img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto !important;
  max-height: none;
  align-self: center;
}

.home-v12 .home-care-account figcaption {
  padding: 13px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #5d514a;
  background: #fffaf7;
  font-size: 0.76rem;
}

.home-v12 .home-ref-guide {
  position: relative;
  min-height: 180px;
  padding: 28px 190px 28px 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(105deg, #4c2924, #6b3a30);
}

.home-v12 .home-ref-guide h2 {
  margin-bottom: 7px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.home-v12 .home-ref-guide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.home-v12 .home-ref-guide form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.home-v12 .home-ref-guide input,
.home-v12 .home-ref-guide button {
  min-height: 48px;
  border-radius: 6px;
}

.home-v12 .home-ref-guide input {
  width: 100%;
  padding: 0 14px;
  border: 0;
  font: inherit;
}

.home-v12 .home-ref-guide .form-note {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
}

.home-v12 .home-guide-book {
  position: absolute;
  right: 24px;
  bottom: 12px;
  width: 142px;
  height: 164px;
  padding: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: #24483c;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transform: rotate(2deg);
}

.home-v12 .home-guide-book span {
  font-size: 0.56rem;
  text-transform: uppercase;
}

.home-v12 .home-guide-book strong {
  margin: 2px 0 5px;
  color: #fff;
  font: 1.05rem/0.95 var(--serif);
}

.home-v12 .home-guide-book img {
  width: 100%;
  height: 76px !important;
  margin-top: auto;
}

.home-v12 .home-vet-testimonials {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.5fr) minmax(190px, 0.55fr);
  gap: 20px;
  align-items: center;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: var(--home-paper);
}

.home-v12 .home-vet-testimonials > header h2 {
  margin-bottom: 7px;
  font-size: 2rem;
  line-height: 1.05;
}

.home-v12 .home-vet-testimonials > header p,
.home-v12 .home-vet-testimonials > aside p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-v12 .home-vet-testimonials > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-v12 .home-vet-testimonials article {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-left: 1px solid var(--home-line);
}

.home-v12 .home-vet-testimonials article figure {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.home-v12 .home-vet-testimonials article figure img {
  width: 100%;
  height: 100% !important;
}

.home-v12 .home-vet-testimonials blockquote {
  margin: 0 0 8px;
  color: #554943;
  font-size: 0.77rem;
  line-height: 1.42;
}

.home-v12 .home-vet-testimonials article p {
  margin: 0;
}

.home-v12 .home-vet-testimonials article strong,
.home-v12 .home-vet-testimonials article span {
  display: block;
  font-size: 0.72rem;
}

.home-v12 .home-vet-testimonials article span {
  margin-top: 2px;
  color: #74665e;
}

.home-v12 .home-vet-testimonials > aside {
  padding-left: 18px;
  border-left: 1px solid var(--home-line);
}

.home-v12 .home-vet-testimonials > aside h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.home-v12 .home-vet-testimonials > aside .button {
  min-height: 42px;
  margin-top: 12px;
  padding-inline: 14px;
  font-size: 0.76rem;
}

.home-v12 .home-ref-bed {
  padding: 28px;
  border-radius: 14px;
  background: #f2ede7;
}

.home-v12 .home-ref-bed > header {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.home-v12 .home-ref-bed > header h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--home-cocoa-deep);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.home-v12 .home-ref-bed > header p {
  max-width: 430px;
  margin: 0;
  font-size: 0.9rem;
}

.home-v12 .home-bed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-v12 .home-bed-panel {
  min-width: 0;
  min-height: 360px;
  padding: 25px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(190px, 0.95fr);
  gap: 14px;
  align-items: center;
  border-radius: 11px;
}

.home-v12 .home-bed-panel > div > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-v12 .home-bed-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1.02;
}

.home-v12 .home-bed-panel p,
.home-v12 .home-bed-panel li {
  font-size: 0.82rem;
  line-height: 1.42;
}

.home-v12 .home-bed-panel ul {
  margin: 14px 0 18px;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.home-v12 .home-bed-panel li::before {
  margin-right: 7px;
  content: "✓";
}

.home-v12 .home-bed-panel figure {
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
}

.home-v12 .home-bed-panel figure img {
  width: 100%;
  max-height: 310px;
}

.home-v12 .home-bed-comfort {
  color: #fff;
  background: linear-gradient(135deg, #40231f, #63352e);
}

.home-v12 .home-bed-comfort h3,
.home-v12 .home-bed-comfort > div > span {
  color: #fff;
}

.home-v12 .home-bed-comfort p,
.home-v12 .home-bed-comfort li {
  color: rgba(255, 255, 255, 0.82);
}

.home-v12 .home-bed-tracking {
  background: #e8efe5;
}

.home-v12 .home-bed-tracking > div > span {
  color: #54715f;
}

.home-v12 .home-bed-metrics {
  margin: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.home-v12 .home-bed-metrics span {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(69, 96, 77, 0.15);
  border-radius: 7px;
  color: #617067;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.67rem;
  line-height: 1.3;
}

.home-v12 .home-bed-metrics b {
  display: block;
  margin-bottom: 3px;
  color: #355342;
  font-size: 0.75rem;
}

.home-v12 .home-bed-panel .button {
  min-height: 43px;
  padding-inline: 15px;
  font-size: 0.78rem;
}

.home-v12 .home-support-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-v12 .home-support-paths > a {
  overflow: hidden;
  min-width: 0;
  display: block;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  color: inherit;
  background: var(--home-paper);
  text-decoration: none;
}

.home-v12 .home-support-paths figure {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--home-line);
  background: #fff;
}

.home-v12 .home-support-paths figure img {
  width: 100%;
  height: 100% !important;
}

.home-v12 .home-support-paths > a > div {
  min-height: 165px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.home-v12 .home-support-paths h2 {
  margin-bottom: 7px;
  font-size: 1.45rem;
}

.home-v12 .home-support-paths p {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  line-height: 1.42;
}

.home-v12 .home-support-paths span {
  margin-top: auto;
  color: var(--home-coral-dark);
  font-size: 0.78rem;
  font-weight: 650;
}

.home-v12 .wm-footer {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, #3a231f, #503028);
}

.home-v12 .wm-footer h2,
.home-v12 .wm-footer a,
.home-v12 .wm-footer-trust {
  color: #fff;
}

@media (max-width: 1080px) {
  .home-v12 .home-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v12 .home-care-circle {
    grid-template-columns: 1fr;
  }

  .home-v12 .home-circle-ask {
    margin-top: 0;
  }

  .home-v12 .home-vet-testimonials {
    grid-template-columns: 1fr 2fr;
  }

  .home-v12 .home-vet-testimonials > aside {
    grid-column: 1 / -1;
    padding: 14px 0 0;
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-v12 .home-bed-grid {
    grid-template-columns: 1fr;
  }

  .home-v12 .home-support-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .home-v12 .wm-header-inner,
  .home-v12 .home-reference,
  .home-v12 .wm-footer-grid,
  .home-v12 .wm-footer-bottom {
    width: min(720px, calc(100vw - 28px));
  }

  .home-v12 .home-ref-hero,
  .home-v12 .home-care-account {
    grid-template-columns: 1fr;
  }

  .home-v12 .home-ref-hero-copy {
    padding: 34px;
  }

  .home-v12 .home-ref-hero > figure img,
  .home-v12 .home-care-account > figure img {
    width: 100%;
  }

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

  .home-v12 .home-ref-guide {
    padding-right: 28px;
    grid-template-columns: 1fr;
  }

  .home-v12 .home-guide-book {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-v12 .wm-header-inner,
  .home-v12 .home-reference,
  .home-v12 .wm-footer-grid,
  .home-v12 .wm-footer-bottom {
    width: calc(100vw - 20px);
  }

  .home-v12 .home-reference {
    gap: 10px;
    margin-top: 10px;
  }

  .home-v12 .home-ref-hero-copy,
  .home-v12 .home-circle-lessons,
  .home-v12 .home-circle-ask,
  .home-v12 .home-account-panel,
  .home-v12 .home-ref-guide,
  .home-v12 .home-vet-testimonials,
  .home-v12 .home-ref-bed {
    padding: 22px 18px;
  }

  .home-v12 .home-ref-hero h1 {
    font-size: 2.65rem;
  }

  .home-v12 .home-ref-section {
    padding: 22px 2px;
  }

  .home-v12 .home-ref-section > header,
  .home-v12 .home-circle-lessons > header,
  .home-v12 .home-ref-bed > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-v12 .home-topic-grid,
  .home-v12 .home-circle-grid,
  .home-v12 .home-vet-testimonials,
  .home-v12 .home-vet-testimonials > div,
  .home-v12 .home-account-fields,
  .home-v12 .home-bed-panel,
  .home-v12 .home-support-paths {
    grid-template-columns: 1fr;
  }

  .home-v12 .home-topic-card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .home-v12 .home-topic-card figure {
    width: 124px;
    height: 100%;
    min-height: 176px;
    aspect-ratio: auto;
    border-right: 1px solid var(--home-line);
    border-bottom: 0;
  }

  .home-v12 .home-topic-card > div {
    min-height: 176px;
  }

  .home-v12 .home-topic-card i {
    left: -21px;
  }

  .home-v12 .home-circle-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .home-v12 .home-circle-card figure {
    width: 104px;
  }

  .home-v12 .home-dog-fields {
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .home-v12 .home-care-account figcaption {
    display: grid;
  }

  .home-v12 .home-ref-guide form {
    grid-template-columns: 1fr;
  }

  .home-v12 .home-vet-testimonials article {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-v12 .home-bed-panel {
    min-height: 0;
  }

  .home-v12 .home-bed-panel > figure {
    min-height: 230px;
  }

  .home-v12 .home-support-paths > a {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .home-v12 .home-support-paths figure {
    width: 132px;
    height: 100%;
    min-height: 185px;
    aspect-ratio: auto;
    border-right: 1px solid var(--home-line);
    border-bottom: 0;
  }
}

/* Homepage v13 final cascade — locked to the approved compact reference. */
body.home-v13 .wm-header-inner { min-height: 64px; }
body.home-v13 .wm-wordmark img { width: 164px; }
body.home-v13 .home-reference { gap: 10px; margin: 10px auto 18px; }
body.home-v13 .home-ref-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  border-radius: 10px;
}
body.home-v13 .home-ref-hero-copy { padding: 28px 36px; }
body.home-v13 .home-ref-hero h1 {
  max-width: 470px;
  margin-bottom: 10px;
  font-size: clamp(3rem, 4.2vw, 3.65rem);
}
body.home-v13 .home-ref-hero-copy > p {
  margin-bottom: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
}
body.home-v13 .home-ref-hero > figure { background: transparent; }
body.home-v13 .home-ref-hero > figure img { width: 100%; height: auto !important; }
body.home-v13 .home-question-box { margin-bottom: 12px; padding: 10px; }
body.home-v13 .home-question-box input,
body.home-v13 .home-question-box button { min-height: 44px; }
body.home-v13 .home-hero-proof { gap: 7px 15px; font-size: 0.72rem; }
body.home-v13 .home-hero-proof strong { font-size: 0.78rem; }
body.home-v13 .home-ref-section { padding: 18px 2px 20px; }
body.home-v13 .home-ref-section > header,
body.home-v13 .home-circle-lessons > header { margin-bottom: 12px; }
body.home-v13 .home-ref-section > header h2,
body.home-v13 .home-circle-lessons > header h2 { font-size: 2rem; }
body.home-v13 .home-topic-card > div { min-height: 150px; padding: 25px 12px 12px; }
body.home-v13 .home-topic-card i { top: -18px; width: 34px; height: 34px; }
body.home-v13 .home-topic-card h3 { font-size: 1.05rem; }
body.home-v13 .home-topic-card p { font-size: 0.82rem; line-height: 1.4; }
body.home-v13 .home-care-circle {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.66fr);
  border-radius: 10px;
}
body.home-v13 .home-circle-lessons { padding: 18px; }
body.home-v13 .home-circle-grid { gap: 7px; }
body.home-v13 .home-circle-card { grid-template-columns: 72px minmax(0, 1fr); }
body.home-v13 .home-circle-card figure { width: 72px; min-height: 106px; }
body.home-v13 .home-circle-card > div { padding: 9px; }
body.home-v13 .home-circle-card h3 { font-size: 0.84rem; }
body.home-v13 .home-circle-card p { font-size: 0.8125rem; line-height: 1.28; }
body.home-v13 .home-circle-card span { font-size: 0.64rem; }
body.home-v13 .home-circle-ask { margin: 10px; padding: 18px; }
body.home-v13 .home-circle-ask h2 { font-size: 1.55rem; }
body.home-v13 .home-circle-ask > p { margin-bottom: 10px; font-size: 0.8125rem; }
body.home-v13 .home-circle-ask textarea { min-height: 88px; margin-bottom: 8px; }
body.home-v13 .home-circle-trust { margin-top: 10px; gap: 4px; }
body.home-v13 .home-care-account { border-radius: 10px; }
body.home-v13 .home-account-panel { padding: 24px; }
body.home-v13 .home-account-panel h2 { font-size: 2rem; }
body.home-v13 .home-account-panel > p { margin-bottom: 12px; font-size: 0.8125rem; }
body.home-v13 .home-account-fields { gap: 16px; }
body.home-v13 .home-account-fields input,
body.home-v13 .home-account-fields select { min-height: 38px; }
body.home-v13 .home-google-button,
body.home-v13 .home-dog-fields .button { min-height: 39px; }
body.home-v13 .home-care-account figcaption { padding: 10px 16px; font-size: 0.7rem; }
body.home-v13 .home-ref-guide {
  min-height: 132px;
  padding: 18px 160px 18px 22px;
  grid-template-columns: minmax(250px, 0.9fr) minmax(330px, 1.1fr);
  border-radius: 10px;
}
body.home-v13 .home-ref-guide h2 { font-size: 1.65rem; }
body.home-v13 .home-ref-guide input,
body.home-v13 .home-ref-guide button { min-height: 42px; }
body.home-v13 .home-guide-book {
  right: 20px;
  bottom: 8px;
  width: 118px;
  height: 122px;
  padding: 9px;
}
body.home-v13 .home-guide-book strong { font-size: 0.86rem; }
body.home-v13 .home-guide-book img { height: 52px !important; }
body.home-v13 .home-vet-testimonials {
  padding: 18px;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.55fr) minmax(170px, 0.5fr);
  gap: 14px;
  border-radius: 10px;
}
body.home-v13 .home-vet-testimonials > header h2 { font-size: 1.55rem; }
body.home-v13 .home-vet-testimonials article {
  padding: 8px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
}
body.home-v13 .home-vet-testimonials article figure { width: 58px; height: 58px; }
body.home-v13 .home-vet-testimonials blockquote { font-size: 0.7rem; }
body.home-v13 .home-ref-bed { padding: 0; background: transparent; }
body.home-v13 .home-bed-panel {
  min-height: 260px;
  padding: 20px;
  grid-template-columns: minmax(0, 1.08fr) minmax(170px, 0.92fr);
}
body.home-v13 .home-bed-panel h3 { font-size: 1.75rem; }
body.home-v13 .home-bed-panel p,
body.home-v13 .home-bed-panel li { font-size: 0.8125rem; }
body.home-v13 .home-bed-panel ul { margin: 10px 0 12px; gap: 3px; }
body.home-v13 .home-bed-panel figure img { max-height: 220px; }
body.home-v13 .home-bed-metrics { margin: 10px 0 12px; gap: 5px; }
body.home-v13 .home-bed-metrics span { padding: 7px; }
body.home-v13 .home-support-paths > a > div { min-height: 122px; padding: 13px; }
body.home-v13 .home-support-paths h2 { font-size: 1.2rem; }
body.home-v13 .home-support-paths p { font-size: 0.8125rem; }
body.home-v13 .wm-footer-grid { padding: 26px 0 18px; gap: 22px; }
body.home-v13 .wm-footer-bottom { padding: 12px 0 16px; }

@media (max-width: 1080px) and (min-width: 861px) {
  body.home-v13 .home-bed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home-v13 .home-bed-panel { grid-template-columns: 1fr; min-height: 0; }
  body.home-v13 .home-bed-panel figure { min-height: 180px; }
}

@media (max-width: 860px) {
  body.home-v13 .home-ref-hero,
  body.home-v13 .home-care-circle,
  body.home-v13 .home-care-account,
  body.home-v13 .home-vet-testimonials,
  body.home-v13 .home-bed-grid,
  body.home-v13 .home-bed-panel {
    grid-template-columns: 1fr;
  }

  body.home-v13 .home-ref-hero-copy,
  body.home-v13 .home-account-panel,
  body.home-v13 .home-circle-lessons,
  body.home-v13 .home-circle-ask { padding: 22px; }
  body.home-v13 .home-ref-guide {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 150px 22px 22px;
  }
  body.home-v13 .home-bed-panel { min-height: 0; }
}

@media (max-width: 640px) {
  body.home-v13 .home-ref-hero-copy,
  body.home-v13 .home-account-panel,
  body.home-v13 .home-circle-lessons,
  body.home-v13 .home-circle-ask { padding: 18px 16px; }
  body.home-v13 .home-ref-hero h1 { font-size: 2.35rem; }
  body.home-v13 .home-ref-guide {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px;
  }
  body.home-v13 .home-guide-book {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }
  body.home-v13 .home-vet-testimonials > div { grid-template-columns: 1fr; }
  body.home-v13 .home-bed-panel { grid-template-columns: 1fr; }
  body.home-v13 .home-circle-card { grid-template-columns: 90px minmax(0, 1fr); }
  body.home-v13 .home-circle-card figure { width: 90px; }
}

/* 2026-08-24.3 — larger home typography, equal veterinarian media, and full-scale Smart Bed storytelling. */
body.home-v14 .home-reference {
  gap: 24px;
}

body.home-v14 .home-ref-hero-copy > p,
body.home-v14 .home-ref-section > header p,
body.home-v14 .home-circle-lessons > header p,
body.home-v14 .home-circle-ask > p,
body.home-v14 .home-ref-guide p,
body.home-v14 .home-vet-testimonials > header p,
body.home-v14 .home-support-paths p {
  font-size: 1.05rem;
  line-height: 1.55;
}

body.home-v14 .home-ref-section > header h2,
body.home-v14 .home-circle-lessons > header h2,
body.home-v14 .home-circle-ask h2,
body.home-v14 .home-ref-guide h2,
body.home-v14 .home-vet-testimonials h2,
body.home-v14 .home-support-paths h2 {
  text-wrap: balance;
}

body.home-v14 .home-ref-section > header h2,
body.home-v14 .home-circle-lessons > header h2 {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  line-height: 1.05;
}

body.home-v14 .home-topic-card h3 {
  font-size: 1.22rem;
  line-height: 1.1;
}

body.home-v14 .home-topic-card p {
  font-size: 0.96rem;
  line-height: 1.48;
}

body.home-v14 .home-topic-card span,
body.home-v14 .home-circle-card span,
body.home-v14 .home-circle-lessons > header a {
  font-size: 0.94rem;
}

body.home-v14 .home-topic-card > div {
  min-height: 188px;
  padding: 18px 16px;
}

body.home-v14 .home-care-circle {
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
}

body.home-v14 .home-circle-card {
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 154px;
}

body.home-v14 .home-circle-card figure {
  width: 124px;
}

body.home-v14 .home-circle-card h3 {
  font-size: 1.08rem;
  line-height: 1.16;
}

body.home-v14 .home-circle-card p {
  font-size: 0.9rem;
  line-height: 1.45;
}

body.home-v14 .home-circle-ask h2 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
}

body.home-v14 .home-circle-ask textarea,
body.home-v14 .home-circle-ask .button,
body.home-v14 .home-question-box input,
body.home-v14 .home-question-box button {
  font-size: 1rem;
}

body.home-v14 .home-circle-ask .button,
body.home-v14 .home-question-box button,
body.home-v14 .home-ref-guide .button,
body.home-v14 .home-vet-testimonials .button,
body.home-v14 .home-ref-bed .button {
  min-height: 50px;
  padding-inline: 22px;
  font-size: 1rem;
  font-weight: 800;
}

body.home-v14 .home-ref-guide {
  min-height: 190px;
  padding: 28px 210px 28px 30px;
}

body.home-v14 .home-ref-guide h2 {
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.02;
}

body.home-v14 .home-ref-guide input {
  min-height: 52px;
  font-size: 1rem;
}

body.home-v14 .home-vet-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 30px;
}

body.home-v14 .home-vet-testimonials > header {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

body.home-v14 .home-vet-testimonials > header h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.04;
}

body.home-v14 .home-vet-testimonials > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.home-v14 .home-vet-testimonials article {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  min-height: 210px;
  padding: 20px;
}

body.home-v14 .home-vet-testimonials article figure {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 150px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f3eee8;
}

body.home-v14 .home-vet-testimonials article figure img,
body.guide-v7 .guide-vet-trust article figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v14 .home-vet-testimonials blockquote {
  font-size: 1.04rem;
  line-height: 1.55;
}

body.home-v14 .home-vet-testimonials article p strong {
  font-size: 1.08rem;
}

body.home-v14 .home-vet-testimonials article p span {
  font-size: 0.92rem;
}

body.home-v14 .home-vet-testimonials > aside {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 92px;
  padding: 18px 22px;
  text-align: left;
}

body.home-v14 .home-vet-testimonials > aside h3,
body.home-v14 .home-vet-testimonials > aside p {
  margin: 0;
}

body.home-v14 .home-ref-bed {
  padding-top: 28px;
}

body.home-v14 .home-ref-bed > header {
  max-width: 970px;
  margin-bottom: 28px;
}

body.home-v14 .home-ref-bed > header > span {
  font-size: 0.88rem;
}

body.home-v14 .home-ref-bed > header h2 {
  max-width: 900px;
  margin-block: 10px;
  font-size: clamp(2.45rem, 3.55vw, 3.2rem);
  line-height: 0.98;
  text-wrap: balance;
}

body.home-v14 .home-ref-bed > header p {
  max-width: 760px;
  font-size: 1.16rem;
  line-height: 1.55;
}

body.home-v14 .home-bed-grid {
  gap: 20px;
}

body.home-v14 .home-bed-story {
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid rgba(80, 51, 38, 0.15);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(64, 42, 31, 0.12);
}

body.home-v14 .home-bed-copy {
  align-self: center;
  padding: 44px;
}

body.home-v14 .home-bed-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--wm-coral, #e1795a);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.home-v14 .home-bed-story h3 {
  max-width: 650px;
  margin: 0 0 16px;
  font-size: clamp(2.45rem, 3.7vw, 4rem);
  line-height: 0.98;
  text-wrap: balance;
}

body.home-v14 .home-bed-story p {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 1.08rem;
  line-height: 1.58;
}

body.home-v14 .home-bed-story figure {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

body.home-v14 .home-bed-story figure img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  object-fit: contain !important;
}

body.home-v14 .home-bed-comfort-story {
  position: relative;
  grid-template-columns: 1fr;
  aspect-ratio: 1600 / 686;
  min-height: 0;
  color: #fff9f4;
  background: #17110e;
}

body.home-v14 .home-bed-comfort-story .home-bed-copy,
body.home-v14 .home-bed-comfort-story figure {
  grid-area: 1 / 1;
}

body.home-v14 .home-bed-comfort-story .home-bed-copy {
  position: relative;
  z-index: 1;
  width: 48%;
  padding: 34px 44px;
}

body.home-v14 .home-bed-comfort-story figure {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}

body.home-v14 .home-ref-bed .home-bed-comfort-story > figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

body.home-v14 .home-bed-comfort-story h3 {
  font-size: clamp(2.15rem, 3.25vw, 3.55rem);
}

body.home-v14 .home-bed-comfort-story h3,
body.home-v14 .home-bed-comfort-story p,
body.home-v14 .home-bed-comfort-story strong,
body.home-v14 .home-bed-comfort-story li span {
  color: inherit;
}

body.home-v14 .home-bed-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

body.home-v14 .home-bed-feature-list li {
  display: grid;
  gap: 3px;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
}

body.home-v14 .home-bed-feature-list strong {
  font-size: 0.98rem;
}

body.home-v14 .home-bed-feature-list span {
  font-size: 0.86rem;
  line-height: 1.35;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  background: linear-gradient(135deg, #f5f0e9, #fffaf6);
}

body.home-v14 .home-bed-layer-story figure {
  background: #eee9e1;
}

body.home-v14 .home-bed-layer-list {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

body.home-v14 .home-bed-layer-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #d9cbc0;
}

body.home-v14 .home-bed-layer-list li > b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--wm-coral-dark, #b64c30);
}

body.home-v14 .home-bed-layer-list li > span,
body.home-v14 .home-bed-layer-list strong {
  display: block;
}

body.home-v14 .home-bed-layer-list li > span {
  color: #706259;
  font-size: 0.9rem;
  line-height: 1.35;
}

body.home-v14 .home-bed-layer-list strong {
  color: var(--wm-espresso, #422b24);
  font-size: 0.98rem;
}

body.home-v14 .home-bed-tracking-story {
  color: #17382d;
  background: linear-gradient(135deg, #e2eadf, #f3efe6);
}

body.home-v14 .home-bed-metrics {
  gap: 10px;
  margin-bottom: 24px;
}

body.home-v14 .home-bed-metrics span {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(37, 75, 61, 0.15);
  border-radius: 11px;
  font-size: 0.9rem;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.76);
}

body.home-v14 .home-bed-metrics b {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

body.home-v14 .home-support-paths h2 {
  font-size: 1.5rem;
}

body.home-v14 .home-support-paths p {
  font-size: 0.94rem;
}

.profile-gate-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: min(92vh, 900px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: var(--wm-espresso, #422b24);
  background: #fffaf6;
  box-shadow: 0 34px 90px rgba(43, 28, 23, 0.32);
}

.profile-gate-dialog::backdrop {
  background: rgba(35, 24, 20, 0.62);
  backdrop-filter: blur(5px);
}

.profile-gate-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.profile-gate-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(66, 43, 36, 0.18);
  border-radius: 50%;
  color: var(--wm-espresso, #422b24);
  background: rgba(255, 250, 246, 0.92);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.profile-gate-shell > header {
  padding: 54px 36px;
  color: #fff9f4;
  background: linear-gradient(150deg, #17382d, #274e40);
}

.profile-gate-shell > header > span {
  color: #f0a28b;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-gate-shell > header h2 {
  margin: 12px 0 16px;
  color: #fff9f4 !important;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.profile-gate-shell > header p,
.profile-gate-shell > header li {
  color: rgba(255, 249, 244, 0.9) !important;
  font-size: 1rem;
  line-height: 1.55;
}

.profile-gate-shell > header ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.profile-gate-shell > form {
  padding: 52px 38px 34px;
}

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

.profile-gate-grid label,
.profile-gate-consent {
  display: grid;
  gap: 7px;
}

.profile-gate-grid label > span {
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-gate-grid input,
.profile-gate-grid select,
.profile-gate-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #d7c5b8;
  border-radius: 9px;
  color: var(--wm-espresso, #422b24);
  background: #fff;
  font: inherit;
}

.profile-gate-grid textarea {
  min-height: 78px;
  resize: vertical;
}

.profile-gate-wide {
  grid-column: 1 / -1;
}

.profile-gate-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin: 16px 0;
  color: #706259;
  font-size: 0.84rem;
  line-height: 1.45;
}

.profile-gate-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.profile-gate-shell > form > .button,
.profile-gate-shell > form > .home-google-button {
  width: 100%;
  min-height: 50px;
  font-size: 1rem;
}

.profile-gate-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #88786f;
  font-size: 0.82rem;
}

.profile-gate-or::before,
.profile-gate-or::after {
  flex: 1;
  height: 1px;
  content: "";
  background: #ded1c7;
}

body.guide-v7 .guide-vet-trust article figure {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  overflow: hidden;
}

body.guide-v7 .guide-vet-trust article {
  grid-template-columns: 132px minmax(0, 1fr);
}

@media (max-width: 1120px) {
  body.home-v14 .home-vet-testimonials article {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  body.home-v14 .home-vet-testimonials article figure {
    width: 160px;
    height: 132px;
  }

  body.home-v14 .home-bed-story,
  body.home-v14 .home-bed-layer-story {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-bed-story {
    min-height: 0;
  }

  body.home-v14 .home-bed-comfort-story {
    aspect-ratio: auto;
  }

  body.home-v14 .home-bed-comfort-story .home-bed-copy,
  body.home-v14 .home-bed-comfort-story figure {
    grid-area: auto;
  }

  body.home-v14 .home-bed-comfort-story .home-bed-copy {
    width: auto;
  }

  body.home-v14 .home-ref-bed .home-bed-comfort-story > figure > img {
    position: static;
    height: auto !important;
    max-height: none !important;
  }

  body.home-v14 .home-bed-story figure {
    min-height: 320px;
  }

  body.home-v14 .home-bed-layer-story figure {
    order: 2;
  }
}

@media (max-width: 860px) {
  body.home-v14 .home-care-circle,
  body.home-v14 .home-vet-testimonials > div,
  .profile-gate-shell {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-ref-guide {
    padding: 24px 150px 24px 24px;
  }

  body.home-v14 .home-bed-copy {
    padding: 32px 26px;
  }

  body.home-v14 .home-bed-story figure {
    min-height: 260px;
    padding: 18px;
  }

  .profile-gate-shell > header,
  .profile-gate-shell > form {
    padding: 34px 26px;
  }

  .profile-gate-shell > header ul {
    display: none;
  }
}

@media (max-width: 560px) {
  body.home-v14 .home-ref-hero-copy > p,
  body.home-v14 .home-ref-section > header p,
  body.home-v14 .home-circle-lessons > header p,
  body.home-v14 .home-circle-ask > p,
  body.home-v14 .home-ref-guide p,
  body.home-v14 .home-vet-testimonials > header p {
    font-size: 0.98rem;
  }

  body.home-v14 .home-circle-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  body.home-v14 .home-circle-card figure {
    width: 104px;
  }

  body.home-v14 .home-ref-guide {
    padding: 22px 18px;
  }

  body.home-v14 .home-vet-testimonials {
    padding: 22px 16px;
  }

  body.home-v14 .home-vet-testimonials article {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.home-v14 .home-vet-testimonials article figure {
    width: 100%;
    height: 190px;
  }

  body.home-v14 .home-vet-testimonials > aside {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  body.home-v14 .home-ref-bed > header h2 {
    font-size: clamp(2.2rem, 10vw, 2.45rem);
  }

  body.home-v14 .home-bed-story h3 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  body.home-v14 .home-bed-feature-list,
  body.home-v14 .home-bed-metrics,
  .profile-gate-grid {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-bed-story figure {
    min-height: 220px;
    padding: 12px;
  }

  .profile-gate-dialog {
    width: calc(100vw - 18px);
  }

  .profile-gate-shell > header,
  .profile-gate-shell > form {
    padding: 30px 18px;
  }

  .profile-gate-wide {
    grid-column: auto;
  }
}

/* 2026-08-24.4 — final layout, media, and responsive corrections */

/* Keep the brand mark identical on every route. */
.wm-header .wm-header-inner {
  grid-template-columns: 196px minmax(0, 1fr) auto;
  min-height: 72px;
}

.wm-header .wm-wordmark[data-logo-link] {
  align-items: center;
  display: flex;
  flex: 0 0 196px;
  height: 44px;
  max-width: 196px;
  min-width: 196px;
  width: 196px !important;
}

.wm-header .wm-wordmark[data-logo-link] img {
  display: block;
  height: 44px !important;
  max-height: 44px;
  max-width: 196px;
  object-fit: contain !important;
  object-position: left center !important;
  width: 196px !important;
}

/* Prevent awkward single-word wraps in current editorial templates. */
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7)
  :is(h1, h2, h3, blockquote) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7) p {
  text-wrap: pretty;
}

body.home-v14 .home-ref-hero-copy h1 {
  font-size: clamp(2.75rem, 4.6vw, 4.8rem);
  max-width: 11.5ch;
}

body.circle-v8 .circle-hero-v7 h1,
body.lesson-v8 .lesson-hero-v7 h1,
body.guide-v7 .guide-hero-v6 h1,
body.find-care-v7 .directory-hero-v6 h1 {
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 0.99;
  max-width: 17ch;
}

/* Section-level headings use one consistent centered hierarchy. */
body.home-v14 :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths
  ) > header,
body.circle-v8 .circle-filter-bar,
body.guide-v7 :is(
    .guide-outcomes,
    .guide-topics-v6,
    .guide-method,
    .guide-lessons
  ) > header,
body.guide-v7 .guide-vet-trust > .wm-wrap > header,
body.find-care-v7 .directory-results-v6 > header {
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  max-width: 920px;
  text-align: center;
}

body.home-v14 :is(
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths
  ) > header h2,
body.circle-v8 .circle-filter-bar h2,
body.guide-v7 :is(
    .guide-outcomes,
    .guide-topics-v6,
    .guide-method,
    .guide-lessons
  ) > header h2,
body.guide-v7 .guide-vet-trust > .wm-wrap > header h2,
body.find-care-v7 .directory-results-v6 > header h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.03;
  margin-inline: auto;
  max-width: 24ch;
}

/* Remove tinted image mats and show every source image without cropping. */
body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7)
  :is(
    .home-ref-hero,
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths,
    .circle-hero-v7,
    .circle-public-card,
    .lesson-hero-v7,
    .lesson-chapter-layout,
    .guide-hero-v6,
    .guide-topics-v6,
    .guide-method,
    .guide-vet-note,
    .guide-vet-trust,
    .guide-lessons,
    .directory-hero-v6,
    .provider-card-v6,
    .practice-band-v6
  ) figure {
  background: transparent !important;
  padding: 0 !important;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7)
  :is(
    .home-ref-hero,
    .home-care-hub,
    .home-vet-testimonials,
    .home-ref-bed,
    .home-support-paths,
    .circle-hero-v7,
    .circle-public-card,
    .lesson-hero-v7,
    .lesson-chapter-layout,
    .guide-hero-v6,
    .guide-topics-v6,
    .guide-method,
    .guide-vet-note,
    .guide-vet-trust,
    .guide-lessons,
    .directory-hero-v6,
    .provider-card-v6,
    .practice-band-v6
  ) figure img {
  display: block;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

/* Homepage: one cohesive Care Circle hub instead of duplicated topic bands. */
body.home-v14 .home-care-hub {
  background:
    radial-gradient(circle at 92% 0%, rgba(226, 122, 88, 0.24), transparent 33%),
    linear-gradient(135deg, #3d2926 0%, #5c322b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(63, 35, 30, 0.16);
  color: #fffaf7;
  margin-block: 26px;
  padding: clamp(26px, 3vw, 42px);
}

body.home-v14 .home-care-hub > header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: space-between;
  max-width: none;
}

body.home-v14 .home-care-hub > header > div {
  margin-inline: auto;
  max-width: 780px;
  text-align: center;
}

body.home-v14 .home-care-hub > header h2 {
  color: #fffaf7;
  margin: 0 0 8px;
  max-width: 24ch;
}

body.home-v14 .home-care-hub > header p {
  color: rgba(255, 250, 247, 0.8);
  font-size: 1.08rem;
  margin: 0;
}

body.home-v14 .home-care-hub > header > a {
  color: #ffd2c3;
  font-size: 1rem;
  font-weight: 800;
  margin-inline: auto;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

body.home-v14 .home-care-hub .home-circle-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

body.home-v14 .home-care-hub .home-circle-card {
  align-items: stretch;
  background: #fffaf7;
  border: 1px solid rgba(76, 43, 38, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(43, 24, 21, 0.12);
  color: var(--ink, #342824);
  display: grid;
  grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
  min-height: 184px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

body.home-v14 .home-care-hub .home-circle-card:hover {
  box-shadow: 0 16px 34px rgba(43, 24, 21, 0.18);
  transform: translateY(-3px);
}

body.home-v14 .home-care-hub .home-circle-card figure {
  height: 100%;
  min-height: 184px;
  overflow: hidden;
}

body.home-v14 .home-care-hub .home-circle-card > div {
  display: flex;
  flex-direction: column;
  padding: 17px 18px 16px;
}

body.home-v14 .home-care-hub .home-circle-card small {
  color: #b64c32;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.home-v14 .home-care-hub .home-circle-card h3 {
  color: #2f2421;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  line-height: 1.08;
  margin: 8px 0 7px;
}

body.home-v14 .home-care-hub .home-circle-card p {
  color: #685b55;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0 0 14px;
}

body.home-v14 .home-care-hub .home-circle-card span {
  color: #a9442e;
  font-size: 0.9rem;
  font-weight: 850;
  margin-top: auto;
}

body.home-v14 .home-care-hub > footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 250, 247, 0.82);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 19px;
  text-align: center;
}

body.home-v14 .home-care-hub > footer strong {
  color: #fffaf7;
  font-size: 1.05rem;
}

/* Homepage guide band: clear contents, strong CTA, visible book cover. */
body.home-v14 .home-ref-guide {
  align-items: center;
  background:
    radial-gradient(circle at 84% 20%, rgba(239, 133, 95, 0.22), transparent 28%),
    linear-gradient(120deg, #3b2926 0%, #6e3b32 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(62, 34, 29, 0.17);
  color: #fffaf7;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr) 168px;
  min-height: 0;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 46px);
  padding-right: clamp(28px, 3.5vw, 46px);
  position: relative;
}

body.home-v14 .home-guide-intro {
  text-align: center;
}

body.home-v14 .home-guide-intro > span {
  color: #ffc8b5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.home-v14 .home-guide-intro h2 {
  color: #fffaf7;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.02;
  margin: 10px auto 12px;
  max-width: 19ch;
}

body.home-v14 .home-guide-intro p {
  color: rgba(255, 250, 247, 0.82);
  font-size: 1.02rem;
  line-height: 1.58;
  margin-inline: auto;
  max-width: 58ch;
}

body.home-v14 .home-guide-intro ul {
  display: grid;
  gap: 8px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px auto 0;
  max-width: 650px;
  padding: 0;
  text-align: left;
}

body.home-v14 .home-guide-intro li {
  color: #fffaf7;
  font-size: 0.95rem;
  line-height: 1.4;
  list-style: none;
  padding-left: 22px;
  position: relative;
}

body.home-v14 .home-guide-intro li::before {
  color: #f49472;
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

body.home-v14 .home-ref-guide > form {
  align-content: center;
  display: grid;
  gap: 10px;
}

body.home-v14 .home-ref-guide > form input,
body.home-v14 .home-ref-guide > form button {
  font-size: 1rem;
  min-height: 54px;
  width: 100%;
}

body.home-v14 .home-ref-guide .home-guide-book {
  background: #f7eee8;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 30px rgba(25, 12, 10, 0.26);
  color: #3b2926;
  height: 218px;
  inset: auto;
  justify-self: center;
  overflow: hidden;
  position: relative;
  right: auto;
  top: auto;
  transform: rotate(1.5deg);
  width: 158px;
}

body.home-v14 .home-ref-guide .home-guide-book img {
  height: 94px !important;
  object-fit: contain !important;
  width: 100% !important;
}

/* Equal veterinarian portraits and more legible testimonial cards. */
body.home-v14 .home-vet-testimonials {
  padding: clamp(28px, 3.5vw, 46px);
}

body.home-v14 .home-vet-testimonials > div {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

body.home-v14 .home-vet-testimonials article {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 218px;
  padding: 20px;
}

body.home-v14 .home-vet-testimonials article figure {
  aspect-ratio: 1;
  height: 176px;
  min-height: 176px;
  overflow: hidden;
  width: 176px;
}

body.home-v14 .home-vet-testimonials article figure img {
  inset: auto !important;
  position: static !important;
}

body.home-v14 .home-vet-testimonials blockquote {
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.58;
  margin: 0 0 14px;
}

body.home-v14 .home-vet-testimonials article p strong,
body.home-v14 .home-vet-testimonials article p span {
  display: block;
}

body.home-v14 .home-vet-testimonials article p strong {
  font-size: 1.08rem;
  margin-bottom: 3px;
}

/* Smart Bed: three spacious editorial stories with large natural visuals. */
body.home-v14 .home-ref-bed {
  background: linear-gradient(180deg, #fffaf7 0%, #f7ede7 100%);
  border: 1px solid #ead8ce;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(79, 49, 41, 0.12);
  padding: clamp(30px, 4vw, 54px);
}

body.home-v14 .home-ref-bed > header {
  display: block;
}

body.home-v14 .home-ref-bed > header > span {
  color: #b64c32;
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

body.home-v14 .home-ref-bed > header h2 {
  font-size: clamp(2.25rem, 3.7vw, 3.8rem);
  line-height: 1.01;
  max-width: 24ch;
}

body.home-v14 .home-ref-bed > header p {
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 12px auto 0;
  max-width: 68ch;
}

body.home-v14 .home-bed-grid {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

body.home-v14 .home-bed-story,
body.home-v14 .home-bed-comfort-story,
body.home-v14 .home-bed-layer-story,
body.home-v14 .home-bed-tracking-story {
  align-items: stretch;
  background: #fffdfb;
  border: 1px solid #e8d4c9;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 0;
  overflow: hidden;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

body.home-v14 .home-bed-story > .copy,
body.home-v14 .home-bed-comfort-story > .copy,
body.home-v14 .home-bed-layer-story > .copy,
body.home-v14 .home-bed-tracking-story > .copy {
  align-content: center;
  align-self: stretch;
  background: transparent;
  display: grid;
  gap: 14px;
  grid-area: auto;
  max-width: none;
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  width: auto;
  z-index: 1;
}

body.home-v14 .home-bed-comfort-story > .copy {
  background: linear-gradient(135deg, #3d2926 0%, #64382f 100%);
  color: #fffaf7;
}

body.home-v14 .home-bed-comfort-story > .copy :is(h3, p, li) {
  color: inherit;
}

body.home-v14 .home-bed-story h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.03;
  margin: 0;
  max-width: 18ch;
}

body.home-v14 .home-bed-story .copy > p {
  font-size: 1.05rem;
  line-height: 1.62;
  margin: 0;
  max-width: 55ch;
}

body.home-v14 .home-bed-story figure,
body.home-v14 .home-bed-comfort-story figure,
body.home-v14 .home-bed-layer-story figure,
body.home-v14 .home-bed-tracking-story figure {
  align-items: center;
  aspect-ratio: auto;
  display: flex;
  grid-area: auto;
  justify-content: center;
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

body.home-v14 .home-bed-story figure img,
body.home-v14 .home-bed-comfort-story figure img,
body.home-v14 .home-bed-layer-story figure img,
body.home-v14 .home-bed-tracking-story figure img {
  height: auto !important;
  inset: auto !important;
  max-height: none !important;
  max-width: none !important;
  position: static !important;
  width: 100% !important;
}

body.home-v14 .home-bed-feature-list,
body.home-v14 .home-bed-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-v14 .home-bed-feature-list li,
body.home-v14 .home-bed-metrics > * {
  font-size: 0.98rem;
  line-height: 1.4;
}

body.home-v14 .home-bed-story .button {
  font-size: 1rem;
  justify-self: start;
  min-height: 52px;
  padding-inline: 24px;
}

/* Care Circle: a shorter hero and dense, evenly aligned public lesson feed. */
body.circle-v8 .circle-hero-v7 {
  align-items: center;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > div {
  padding: clamp(26px, 3vw, 42px);
}

body.circle-v8 .circle-hero-v7 h1 {
  font-size: clamp(2.45rem, 3.6vw, 3.65rem);
  max-width: 16ch;
}

body.circle-v8 .circle-hero-v7 > div > p {
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 60ch;
}

body.circle-v8 .circle-hero-v7 > figure {
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > figure img {
  height: auto !important;
  max-height: 540px;
}

body.circle-v8 :is(.circle-account-gate, .circle-hero-question) {
  margin-top: 16px;
  padding: 18px;
}

body.circle-v8 .circle-hero-actions {
  margin-top: 14px;
}

body.circle-v8 .circle-ask-v7 {
  margin-block: 22px;
  padding: clamp(22px, 3vw, 36px);
}

body.circle-v8 .circle-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.circle-v8 .circle-public-grid {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.circle-v8 .circle-public-card figure {
  height: 210px;
  min-height: 210px;
}

/* Guide: generous legibility, centered section hierarchy, natural media. */
body.guide-v7 .guide-hero-v6,
body.find-care-v7 .directory-hero-v6,
body.lesson-v8 .lesson-hero-v7 {
  min-height: 0;
}

body.guide-v7 .guide-hero-v6 > figure,
body.find-care-v7 .directory-hero-v6 > figure,
body.lesson-v8 .lesson-hero-v7 > figure {
  min-height: 0;
}

body.guide-v7 .guide-hero-v6 > figure img,
body.find-care-v7 .directory-hero-v6 > figure img,
body.lesson-v8 .lesson-hero-v7 > figure img {
  height: auto !important;
  max-height: 620px;
}

body.guide-v7 .guide-topics-v6 figure,
body.guide-v7 .guide-lessons figure {
  height: 240px;
  min-height: 240px;
}

body.guide-v7 .guide-method figure,
body.guide-v7 .guide-vet-note figure,
body.lesson-v8 .lesson-chapter-layout figure {
  min-height: 0;
}

body.guide-v7 :is(.guide-method, .guide-vet-note) figure img,
body.lesson-v8 .lesson-chapter-layout figure img {
  height: auto !important;
}

body.guide-v7 .guide-vet-trust > .wm-wrap {
  align-items: stretch;
}

body.guide-v7 .guide-vet-trust article {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 214px;
}

body.guide-v7 .guide-vet-trust article figure {
  aspect-ratio: 1;
  height: 150px;
  overflow: hidden;
  width: 150px;
}

/* Find Care: real images stay intact; official-source cards always have media. */
body.find-care-v7 .directory-hero-v6 {
  align-items: center;
}

body.find-care-v7 .provider-grid-v6 {
  align-items: stretch;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.find-care-v7 .provider-card-v6 {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

body.find-care-v7 .provider-card-v6 > figure,
body.find-care-v7 .provider-card-v6 > .provider-source-mark {
  height: 230px;
  min-height: 230px;
  width: 100%;
}

body.find-care-v7 .provider-card-v6 > figure {
  align-items: center;
  display: flex;
  justify-content: center;
}

body.find-care-v7 .provider-card-v6 > .provider-source-mark {
  align-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(236, 128, 92, 0.28), transparent 34%),
    linear-gradient(135deg, #29463c 0%, #17342d 100%);
  color: #fffaf7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

body.find-care-v7 .provider-source-mark span {
  color: #fffaf7;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 17ch;
}

body.find-care-v7 .provider-source-mark small {
  color: rgba(255, 250, 247, 0.76);
  font-size: 0.9rem;
  margin-top: 12px;
}

body.find-care-v7 .provider-card-v6 > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.find-care-v7 .provider-card-v6 > div:last-child > a:last-child {
  margin-top: auto;
}

body.find-care-v7 .practice-band-v6 figure img {
  height: auto !important;
}

@media (max-width: 1180px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 184px minmax(0, 1fr) auto;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] img {
    height: 41px !important;
    max-width: 184px;
    min-width: 184px;
    width: 184px !important;
  }

  body.home-v14 .home-care-hub .home-circle-grid,
  body.circle-v8 .circle-public-grid,
  body.find-care-v7 .provider-grid-v6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-v14 .home-ref-guide {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  body.home-v14 .home-ref-guide .home-guide-book {
    grid-column: 1 / -1;
    height: 190px;
    width: 140px;
  }

  body.home-v14 .home-vet-testimonials article {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  body.home-v14 .home-vet-testimonials article figure {
    height: 150px;
    min-height: 150px;
    width: 150px;
  }
}

@media (max-width: 900px) {
  body.home-v14 .home-ref-guide,
  body.home-v14 :is(
      .home-bed-story,
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    ),
  body.circle-v8 .circle-hero-v7 {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-ref-guide {
    text-align: center;
  }

  body.home-v14 .home-ref-guide > form {
    margin-inline: auto;
    max-width: 620px;
    width: 100%;
  }

  body.home-v14 .home-bed-story figure,
  body.home-v14 .home-bed-comfort-story figure,
  body.home-v14 .home-bed-layer-story figure,
  body.home-v14 .home-bed-tracking-story figure {
    min-height: 0;
  }

  body.home-v14 .home-bed-story figure img,
  body.home-v14 .home-bed-comfort-story figure img,
  body.home-v14 .home-bed-layer-story figure img,
  body.home-v14 .home-bed-tracking-story figure img {
    height: auto !important;
  }

  body.circle-v8 .circle-hero-v7 > figure {
    order: -1;
  }
}

@media (max-width: 760px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 164px minmax(0, 1fr) auto;
    min-height: 66px;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] img {
    height: 37px !important;
    max-height: 37px;
    max-width: 164px;
    min-width: 164px;
    width: 164px !important;
  }

  body.home-v14 .home-care-hub,
  body.home-v14 .home-ref-guide,
  body.home-v14 .home-vet-testimonials,
  body.home-v14 .home-ref-bed {
    border-radius: 16px;
    padding: 22px 16px;
  }

  body.home-v14 .home-care-hub .home-circle-grid,
  body.home-v14 .home-vet-testimonials > div,
  body.circle-v8 .circle-public-grid,
  body.find-care-v7 .provider-grid-v6 {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-care-hub .home-circle-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.home-v14 .home-guide-intro ul,
  body.home-v14 .home-bed-feature-list,
  body.home-v14 .home-bed-metrics {
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-vet-testimonials article {
    gap: 16px;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 0;
    padding: 16px;
  }

  body.home-v14 .home-vet-testimonials article figure {
    height: 118px;
    min-height: 118px;
    width: 118px;
  }

  body.home-v14 .home-bed-story > .copy,
  body.home-v14 .home-bed-comfort-story > .copy,
  body.home-v14 .home-bed-layer-story > .copy,
  body.home-v14 .home-bed-tracking-story > .copy {
    padding: 26px 20px;
  }

  body.home-v14 .home-bed-story h3 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  body.circle-v8 .circle-hero-v7 > div {
    padding: 24px 18px;
  }

  body.circle-v8 .circle-hero-v7 h1,
  body.lesson-v8 .lesson-hero-v7 h1,
  body.guide-v7 .guide-hero-v6 h1,
  body.find-care-v7 .directory-hero-v6 h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
  }

  body.guide-v7 .guide-vet-trust article {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.guide-v7 .guide-vet-trust article figure {
    height: 112px;
    width: 112px;
  }
}

@media (max-width: 520px) {
  .wm-header .wm-header-inner {
    grid-template-columns: 148px minmax(0, 1fr) auto;
  }

  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] img {
    height: 34px !important;
    max-height: 34px;
    max-width: 148px;
    min-width: 148px;
    width: 148px !important;
  }

  body.home-v14 .home-care-hub .home-circle-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body.home-v14 .home-care-hub .home-circle-card figure {
    min-height: 172px;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  body.home-v14 .home-vet-testimonials article figure,
  body.guide-v7 .guide-vet-trust article figure {
    height: 160px;
    justify-self: center;
    width: 160px;
  }

  body.find-care-v7 .provider-card-v6 > figure,
  body.find-care-v7 .provider-card-v6 > .provider-source-mark {
    height: 205px; /* wm-final-tail */
    min-height: 205px;
  }
}

/* 2026-08-24.7 — final current-generator compatibility overrides */
.wm-header .wm-wordmark[data-logo-link],
.wm-header .wm-wordmark[data-logo-link] picture,
.wm-header .wm-wordmark[data-logo-link] img {
  flex: 0 0 196px;
  height: 44px !important;
  max-height: 44px;
  max-width: 196px;
  min-width: 196px;
  width: 196px !important;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  :is(h1, h2, h3, blockquote) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  :is(figure, picture) {
  background: transparent !important;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  figure {
  padding: 0 !important;
}

body:is(.home-v14, .circle-v8, .lesson-v8, .guide-v7, .find-care-v7, .match-v6, .bed-v7)
  figure > img {
  background: transparent !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v14 :is(.home-vet-testimonials article, .guide-vet-trust article) figure,
body.guide-v7 .guide-vet-trust article figure {
  aspect-ratio: 1;
  background: transparent !important;
  height: 168px;
  min-height: 168px;
  width: 168px;
}

body.home-v14 :is(.home-vet-testimonials article, .guide-vet-trust article) figure img,
body.guide-v7 .guide-vet-trust article figure img {
  height: 100% !important;
  width: 100% !important;
}

body.home-v14 .home-bed-story .home-bed-copy,
body.home-v14 :is(.home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story) > div:first-child {
  align-content: center;
  padding: clamp(26px, 4vw, 54px);
}

body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story)
  figure {
  background: transparent !important;
  min-height: clamp(360px, 38vw, 560px);
  padding: 0 !important;
}

body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story)
  figure img {
  height: 100% !important;
  max-height: 620px;
  object-fit: contain !important;
  width: 100% !important;
}

body.home-v14 .home-ref-bed figcaption {
  color: var(--muted, #675d57);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 10px;
  text-align: center;
}

body.circle-v8 .circle-hero-v7 {
  align-items: center;
  min-height: 0;
}

body.circle-v8 .circle-hero-v7 > div {
  padding: clamp(24px, 4vw, 52px);
}

body.circle-v8 .circle-hero-question {
  margin-top: 18px;
  padding: 18px;
}

body.match-v6 .match-how ol {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

body.match-v6 .match-how ol > li {
  border: 1px solid var(--line, #e5d7cc);
  border-radius: 16px;
  min-height: 148px;
  padding: 22px;
}

body.find-care-v7 .provider-card-v6.no-photo {
  border-top: 5px solid var(--brand, #e27a5a);
}

body.find-care-v7 .provider-card-v6.no-photo::before,
body.find-care-v7 .provider-card-v6.no-photo::after {
  content: none !important;
  display: none !important;
}

body.find-care-v7 .provider-card-v6.no-photo > div:last-child {
  padding-top: 30px;
}

body.find-care-v7 .provider-source-type {
  color: var(--brand-dark, #a6472e);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

body.find-care-v7 .provider-card-v6.has-photo > figure {
  background: transparent !important;
  height: 230px;
  min-height: 230px;
  padding: 0 !important;
}

body.find-care-v7 .provider-card-v6.has-photo > figure img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

:is(.profile-photo-field, .question-image-field, .pet-photo-field, .account-pet-photo),
:is([data-pet-photo-preview], [data-question-image-preview]) {
  background: transparent !important;
}

:is([data-pet-photo-preview], [data-question-image-preview]) img,
img:is([data-pet-photo-preview], [data-question-image-preview]) {
  height: auto !important;
  max-height: 280px;
  object-fit: contain !important;
  width: auto !important;
}

@media (max-width: 760px) {
  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] picture,
  .wm-header .wm-wordmark[data-logo-link] img {
    flex-basis: 164px;
    height: 37px !important;
    max-height: 37px;
    max-width: 164px;
    min-width: 164px;
    width: 164px !important;
  }

  body.match-v6 .match-how ol {
    grid-template-columns: 1fr;
  }

  body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story)
    figure {
    min-height: 0;
  }

  body.home-v14 :is(.home-bed-story, .home-bed-comfort-story, .home-bed-layer-story, .home-bed-tracking-story)
    figure img {
    height: auto !important;
  }
}

@media (max-width: 520px) {
  .wm-header .wm-wordmark[data-logo-link],
  .wm-header .wm-wordmark[data-logo-link] picture,
  .wm-header .wm-wordmark[data-logo-link] img {
    flex-basis: 148px;
    height: 34px !important;
    max-height: 34px;
    max-width: 148px;
    min-width: 148px;
    width: 148px !important;
  }
}

/* 2026-08-24.8 — contain natural product and guide media without cropping */
body.home-v14 h2 {
  font-size: clamp(30px, 3vw, 52px) !important;
  line-height: 1.08;
  max-inline-size: 100%;
  text-wrap: balance;
}

body:is(.home-v14, .guide-v7, .bed-v7) :is(h1, h2, h3) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body.home-v14 :is(.bed-v6-comfort, .bed-v6-insights),
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6),
body.guide-v7 .guide-topics-v6 article {
  min-width: 0;
  overflow: hidden;
}

body.home-v14 :is(.bed-v6-comfort, .bed-v6-insights) > figure,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) figure,
body.guide-v7 .guide-topics-v6 article figure {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0 !important;
  background: transparent !important;
}

body.home-v14 :is(.bed-v6-comfort, .bed-v6-insights) > figure > img,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) figure > img,
body.guide-v7 .guide-topics-v6 article figure > img {
  display: block;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

body.home-v14 .bed-v6-comfort > figure,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6) figure {
  aspect-ratio: 4 / 3;
}

body.home-v14 .bed-v6-insights > figure,
body.bed-v7 :is(.bed-layers-v7, .bed-insights-v6) figure {
  aspect-ratio: 16 / 9;
}

body.guide-v7 .guide-topics-v6 article figure {
  height: clamp(230px, 24vw, 300px);
  min-height: 0;
}

body:is(.home-v14, .guide-v7, .bed-v7)
  figure:has(> img:is(
      [src$="product-prototype-golden.webp"],
      [src$="product-visualization-smart-base.png"],
      [src$="real-golden-forest.jpg"]
    )) {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0 !important;
  background: transparent !important;
}

body:is(.home-v14, .guide-v7, .bed-v7)
  img:is(
    [src$="product-prototype-golden.webp"],
    [src$="product-visualization-smart-base.png"],
    [src$="real-golden-forest.jpg"]
  ) {
  display: block;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  body.guide-v7 .guide-topics-v6 article figure {
    height: 260px;
  }
}

@media (max-width: 760px) {
  body.home-v14 h2 {
    font-size: clamp(28px, 8vw, 42px) !important;
  }

  body.home-v14 :is(.bed-v6-comfort, .bed-v6-insights) > figure,
  body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) figure {
    height: auto;
    min-height: 0;
  }

  body.guide-v7 .guide-topics-v6 article figure {
    height: 230px;
  }
}

/* 2026-08-24.9 — Smart Bed feature stage and Care Circle filter wrapping */
body.home-v14 .bed-v6-comfort {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(520px, 54vw, 720px);
  overflow: hidden;
  border-radius: 22px;
  color: #fffaf6;
  background: #201713;
}

body.home-v14 .bed-v6-comfort > .bed-v6-copy,
body.home-v14 .bed-v6-comfort > figure {
  grid-area: 1 / 1;
}

body.home-v14 .bed-v6-comfort > figure {
  position: relative;
  z-index: 0;
  align-self: stretch;
  aspect-ratio: auto;
  height: 100%;
  min-height: inherit;
  width: 100%;
  background: transparent !important;
}

body.home-v14 .bed-v6-comfort > figure > img {
  position: absolute;
  inset: 0;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

body.home-v14 .bed-v6-comfort > .bed-v6-copy {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(54%, 720px);
  padding: clamp(34px, 5vw, 72px);
  background: linear-gradient(
    90deg,
    rgba(29, 19, 15, 0.97) 0%,
    rgba(29, 19, 15, 0.9) 62%,
    rgba(29, 19, 15, 0) 100%
  );
}

body.home-v14 .bed-v6-comfort :is(h2, p, strong, span) {
  color: inherit;
}

body.home-v14 .bed-v6-comfort .bed-v6-benefits {
  display: grid;
  gap: 12px;
  margin-block: 22px 26px;
}

body.home-v14 .bed-v6-comfort .bed-v6-benefits article {
  display: grid;
  gap: 3px;
  grid-template-columns: 28px minmax(0, 1fr);
}

body.home-v14 .bed-v6-comfort .button {
  align-self: flex-start;
}

body.circle-v8 .circle-filter-bar {
  align-items: center;
  max-width: 100%;
  text-align: center;
}

body.circle-v8 .circle-filter-bar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
}

body.circle-v8 .circle-filter-bar button {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 760px) {
  body.home-v14 .bed-v6-comfort {
    min-height: 690px;
  }

  body.home-v14 .bed-v6-comfort > figure {
    height: 100%;
    min-height: inherit;
  }

  body.home-v14 .bed-v6-comfort > .bed-v6-copy {
    align-self: end;
    justify-content: flex-end;
    max-width: 100%;
    padding: 30px 22px;
    background: linear-gradient(
      0deg,
      rgba(29, 19, 15, 0.98) 0%,
      rgba(29, 19, 15, 0.9) 68%,
      rgba(29, 19, 15, 0) 100%
    );
  }

  body.circle-v8 .circle-filter-bar > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.circle-v8 .circle-filter-bar button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  body.circle-v8 .circle-filter-bar > div {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-24.10 — final live-template geometry, readable type, and uncropped media */
body:is(
    .home-v14,
    .circle-v8,
    .lesson-v8,
    .guide-v7,
    .find-care-v7,
    .loss-v7,
    .memorial-v7,
    .match-v6,
    .bed-v7,
    .about-v6,
    .support-v6,
    .account-v7,
    .health-v1
  )
  :is(h1, h2, h3, h4, blockquote) {
  hyphens: none !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
  word-break: normal !important;
}

body.circle-v8 .circle-hero-v7 h1 {
  font-size: clamp(2.35rem, 3.55vw, 3.85rem) !important;
  line-height: 1.03 !important;
  max-width: 18ch !important;
}

body.circle-v8 .circle-hero-v7 > div > p {
  font-size: clamp(1rem, 1.25vw, 1.15rem) !important;
  max-width: 62ch !important;
}

body.home-v14 .home-ref-bed {
  padding-top: clamp(24px, 4vw, 48px) !important;
}

body.home-v14 .home-ref-bed > header,
body.home-v14 .home-vet-testimonials > header,
body.guide-v7 :is(.guide-topics-v6, .guide-lessons) > header,
body.find-care-v7 .directory-results-v6 > header,
body.match-v6 :is(.match-how, .match-issues) > header,
body.loss-v7 main > section > header,
body.memorial-v7 main > section > header {
  margin-inline: auto !important;
  text-align: center !important;
}

body.home-v14 .home-ref-bed > header :is(h2, p),
body.home-v14 .home-vet-testimonials > header :is(h2, p),
body.guide-v7 :is(.guide-topics-v6, .guide-lessons) > header :is(h2, p),
body.find-care-v7 .directory-results-v6 > header :is(h2, p),
body.match-v6 :is(.match-how, .match-issues) > header :is(h2, p),
body.loss-v7 main > section > header :is(h2, p),
body.memorial-v7 main > section > header :is(h2, p) {
  margin-inline: auto !important;
}

body.home-v14 .home-bed-grid {
  display: grid !important;
  gap: clamp(22px, 3vw, 34px) !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr) !important;
  align-items: stretch !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(76, 50, 40, 0.16) !important;
  border-radius: 22px !important;
  background: #fffaf6 !important;
  box-shadow: 0 24px 58px rgba(62, 40, 32, 0.12) !important;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(380px, 1.1fr) minmax(0, 0.9fr) !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  .home-bed-copy {
  position: static !important;
  grid-area: auto !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  padding: clamp(34px, 4.4vw, 64px) !important;
  color: var(--wm-espresso, #422b24) !important;
  background: #fffaf6 !important;
}

body.home-v14 .home-bed-comfort-story .home-bed-copy {
  color: #fffaf6 !important;
  background: linear-gradient(145deg, #34211c 0%, #5b3028 100%) !important;
}

body.home-v14 .home-bed-comfort-story .home-bed-copy :is(h3, p, strong, span) {
  color: inherit !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  h3 {
  max-width: 18ch !important;
  font-size: clamp(2.15rem, 3.25vw, 3.65rem) !important;
  line-height: 1.02 !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  .home-bed-copy > p {
  font-size: clamp(1.03rem, 1.35vw, 1.18rem) !important;
  line-height: 1.62 !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  .button {
  align-self: flex-start !important;
  min-height: 56px !important;
  padding-inline: 24px !important;
  font-size: 1.02rem !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  figure {
  position: static !important;
  grid-area: auto !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(18px, 2.5vw, 34px) !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  figure img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v14 .home-bed-comfort-story figure {
  padding-block: 24px !important;
}

body.home-v14 .home-bed-comfort-story figure img {
  width: min(100%, 560px) !important;
}

body.home-v14 :is(.home-vet-testimonials article, .guide-vet-trust article) figure,
body.guide-v7 .guide-vet-trust article figure {
  position: relative !important;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1 !important;
  width: 168px !important;
  height: 168px !important;
  min-width: 168px !important;
  min-height: 168px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.home-v14 :is(.home-vet-testimonials article, .guide-vet-trust article) figure img,
body.guide-v7 .guide-vet-trust article figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.find-care-v7 .provider-card-v6.has-photo > figure,
body.find-care-v7 .directory-hero-v6 > figure,
body.find-care-v7 .practice-band-v6 figure,
body.circle-v8 .circle-hero-v7 > figure,
body.guide-v7 :is(.guide-method, .guide-vet-note) figure,
body.match-v6 figure,
body.memorial-v7 figure {
  background: transparent !important;
}

body.find-care-v7 .provider-card-v6.has-photo > figure img,
body.find-care-v7 .directory-hero-v6 > figure img,
body.find-care-v7 .practice-band-v6 figure img,
body.circle-v8 .circle-hero-v7 > figure img,
body.guide-v7 :is(.guide-method, .guide-vet-note) figure img,
body.match-v6 figure img,
body.memorial-v7 figure img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

@media (max-width: 980px) {
  body.home-v14 :is(
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    ) {
    grid-template-columns: 1fr !important;
  }

  body.home-v14 .home-bed-layer-story figure {
    order: 2 !important;
  }

  body.home-v14 :is(
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    )
    figure {
    min-height: 0 !important;
  }
}

/* 2026-08-24.12 — verified final layout layer for current markup */

/* The last media rule must never force intrinsic images into unmeasured boxes. */
body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure,
body.guide-v7 .guide-topics-v6 article > figure,
body.find-care-v7 .provider-card-v6.has-photo > figure,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) > figure {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure > picture,
body.guide-v7 .guide-topics-v6 article > figure > picture,
body.find-care-v7 .provider-card-v6.has-photo > figure > picture,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) > figure > picture {
  display: block !important;
  width: 100% !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure > :is(img, picture > img),
body.guide-v7 .guide-topics-v6 article > figure > :is(img, picture > img),
body.find-care-v7 .provider-card-v6.has-photo > figure > :is(img, picture > img),
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) > figure > :is(img, picture > img) {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.home-v14 :is(h1, h2, h3),
body.circle-v8 :is(h1, h2, h3),
body.lesson-v8 :is(h1, h2, h3),
body.guide-v7 :is(h1, h2, h3),
body.find-care-v7 :is(h1, h2, h3) {
  hyphens: none !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
  word-break: normal !important;
}

/* Home guide: prevent the email field from collapsing and present a real book cover. */
body.home-v14 .home-ref-guide {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.9fr) 190px !important;
  gap: 30px !important;
  padding: clamp(28px, 3.6vw, 48px) !important;
}

body.home-v14 .home-ref-guide > form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.home-v14 .home-ref-guide > form > label {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.home-v14 .home-ref-guide > form input,
body.home-v14 .home-ref-guide > form button {
  box-sizing: border-box !important;
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  margin: 0 !important;
  font-size: 1rem !important;
  white-space: normal !important;
}

body.home-v14 .home-ref-guide .home-guide-book {
  box-sizing: border-box !important;
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  align-content: start !important;
  width: 190px !important;
  height: 266px !important;
  min-width: 190px !important;
  margin: 0 auto !important;
  padding: 17px 16px 14px !important;
  overflow: hidden !important;
  border: 1px solid rgb(255 255 255 / 45%) !important;
  border-radius: 4px !important;
  background: #f9eee8 !important;
  box-shadow: 0 18px 38px rgb(26 11 8 / 28%) !important;
  color: #3a2723 !important;
  text-decoration: none !important;
  transform: none !important;
}

body.home-v14 .home-ref-guide .home-guide-book > span {
  font-size: 0.74rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body.home-v14 .home-ref-guide .home-guide-book > strong {
  display: block !important;
  margin: 4px 0 10px !important;
  font-family: var(--serif) !important;
  font-size: 1.42rem !important;
  line-height: 0.98 !important;
}

body.home-v14 .home-ref-guide .home-guide-book > picture,
body.home-v14 .home-ref-guide .home-guide-book > picture > img,
body.home-v14 .home-ref-guide .home-guide-book > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 152px !important;
  min-height: 0 !important;
  margin: auto 0 0 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  background: transparent !important;
}

/* Smart Bed: compact copy paired with the complete, uncropped product photography. */
body.home-v14 .home-ref-bed > header h2 {
  max-width: 30ch !important;
  font-size: clamp(2.3rem, 3.8vw, 4rem) !important;
}

body.home-v14 .home-bed-grid {
  gap: 26px !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) {
  align-items: center !important;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr) !important;
  min-height: 0 !important;
  background: #fffdfb !important;
}

body.home-v14 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr) !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) .home-bed-copy {
  box-sizing: border-box !important;
  align-content: center !important;
  padding: clamp(30px, 4vw, 54px) !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) h3 {
  max-width: 19ch !important;
  font-size: clamp(2rem, 3.1vw, 3.2rem) !important;
  line-height: 1.02 !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure {
  align-self: center !important;
}

body.home-v14 .home-bed-comfort-story > figure > :is(img, picture > img) {
  aspect-ratio: 1680 / 946 !important;
}

body.home-v14 .home-bed-layer-story > figure > :is(img, picture > img) {
  aspect-ratio: 795 / 634 !important;
}

body.home-v14 .home-bed-tracking-story > figure > :is(img, picture > img) {
  aspect-ratio: 1600 / 899 !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure > figcaption {
  position: absolute !important;
  right: 12px !important;
  bottom: 10px !important;
  z-index: 2 !important;
}

/* Vet portraits use identical measured frames without cropping either source. */
body.home-v14 .home-vet-testimonials article,
body.guide-v7 .guide-vet-trust article {
  grid-template-columns: 180px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 220px !important;
}

body.home-v14 .home-vet-testimonials article > figure,
body.guide-v7 .guide-vet-trust article > figure {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 180px !important;
  height: 150px !important;
  min-width: 180px !important;
  min-height: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: transparent !important;
}

body.home-v14 .home-vet-testimonials article > figure :is(picture, img),
body.guide-v7 .guide-vet-trust article > figure :is(picture, img) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Care Circle: one question flow, no overlapping labels, file input or consent. */
body.circle-v8 .circle-hero-v7 {
  align-items: center !important;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr) !important;
  min-height: 0 !important;
}

body.circle-v8 .circle-hero-v7 > div {
  box-sizing: border-box !important;
  min-width: 0 !important;
  padding: clamp(28px, 4vw, 52px) !important;
}

body.circle-v8 .circle-hero-v7 h1 {
  max-width: 21ch !important;
  font-size: clamp(2.45rem, 3.65vw, 3.9rem) !important;
  line-height: 1.01 !important;
}

body.circle-v8 .circle-hero-v7 > figure,
body.circle-v8 .circle-hero-v7 > figure > picture {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.circle-v8 .circle-hero-v7 > figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

body.circle-v8 .circle-question-form.circle-hero-question[hidden] {
  display: none !important;
}

body.circle-v8 .circle-question-form.circle-hero-question:not([hidden]) {
  box-sizing: border-box !important;
  position: static !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 15px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 18px 0 0 !important;
  padding: 20px !important;
}

body.circle-v8 .circle-question-form.circle-hero-question:not([hidden]) > * {
  grid-column: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.circle-v8 .circle-question-form.circle-hero-question label {
  position: static !important;
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.circle-v8 .circle-question-form.circle-hero-question :is(textarea, input[type="file"]) {
  box-sizing: border-box !important;
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.circle-v8 .circle-question-form.circle-hero-question textarea {
  min-height: 122px !important;
  resize: vertical !important;
}

body.circle-v8 .circle-question-form.circle-hero-question .question-image-field {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

body.circle-v8 .circle-question-form.circle-hero-question .consent-row {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  padding: 4px 0 !important;
}

body.circle-v8 .circle-question-form.circle-hero-question .consent-row input {
  width: 20px !important;
  height: 20px !important;
  margin: 2px 0 0 !important;
}

/* Guide: compact hero, equal vet cards and less empty space. */
body.guide-v7 .guide-hero-v6 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr) !important;
  align-items: center !important;
  width: min(1320px, calc(100vw - 44px)) !important;
  min-height: 0 !important;
  margin: 24px auto !important;
  overflow: hidden !important;
}

body.guide-v7 .guide-hero-photo,
body.guide-v7 .guide-hero-photo picture {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
}

body.guide-v7 .guide-hero-photo img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

body.guide-v7 .guide-hero-copy {
  box-sizing: border-box !important;
  min-width: 0 !important;
  padding: clamp(30px, 4vw, 56px) !important;
}

body.guide-v7 .guide-hero-copy h1 {
  max-width: 18ch !important;
  font-size: clamp(2.5rem, 4vw, 4.25rem) !important;
  line-height: 1 !important;
}

body.guide-v7 :is(.guide-outcomes, .guide-topics-v6, .guide-method, .guide-lessons) {
  padding-block: clamp(28px, 4vw, 54px) !important;
}

body.guide-v7 .guide-vet-trust {
  padding-block: 30px !important;
}

body.guide-v7 .guide-vet-trust > .wm-wrap {
  gap: 18px !important;
  grid-template-columns: minmax(260px, 0.72fr) repeat(2, minmax(0, 1fr)) !important;
}

/* No empty image placeholders in Find Care; use the branded source card. */
body.find-care-v7 .provider-card-v6 > figure:empty {
  display: none !important;
}

body.find-care-v7 .provider-card-v6 > figure,
body.find-care-v7 .provider-card-v6 > .provider-source-mark {
  min-height: 220px !important;
  height: 220px !important;
  background: transparent !important;
}

body.find-care-v7 .provider-card-v6 > figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
}

@media (max-width: 1080px) {
  body.home-v14 .home-ref-guide {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr) !important;
  }

  body.home-v14 .home-ref-guide .home-guide-book {
    grid-column: 1 / -1 !important;
  }

  body.guide-v7 .guide-vet-trust > .wm-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guide-v7 .guide-vet-trust > .wm-wrap > header {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  body.home-v14 .home-ref-guide,
  body.home-v14 :is(
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    ),
  body.guide-v7 .guide-hero-v6,
  body.circle-v8 .circle-hero-v7 {
    grid-template-columns: 1fr !important;
  }

  body.home-v14 .home-bed-layer-story > figure {
    order: 2 !important;
  }

  body.circle-v8 .circle-hero-v7 > figure {
    order: -1 !important;
  }

  body.guide-v7 .guide-hero-v6 {
    width: min(100% - 24px, 760px) !important;
  }
}

@media (max-width: 680px) {
  body.home-v14 .home-ref-guide {
    padding: 24px 18px !important;
  }

  body.home-v14 .home-ref-guide > form button {
    min-height: 62px !important;
  }

  body.home-v14 .home-vet-testimonials article,
  body.guide-v7 .guide-vet-trust article {
    grid-template-columns: 1fr !important;
  }

  body.home-v14 .home-vet-testimonials article > figure,
  body.guide-v7 .guide-vet-trust article > figure {
    justify-self: center !important;
  }

  body.guide-v7 .guide-vet-trust > .wm-wrap {
    grid-template-columns: 1fr !important;
  }

  body.guide-v7 .guide-vet-trust > .wm-wrap > header {
    grid-column: auto !important;
  }

  body.circle-v8 .circle-hero-v7 h1,
  body.guide-v7 .guide-hero-copy h1 {
    max-width: none !important;
    font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
  }
}

/* Final verified layout authority — 2026-08-24.
   This layer intentionally resolves legacy cascade collisions without changing
   the route/data model used by the preview. */

body.home-v15 :is(h1, h2, h3),
body.guide-v8 :is(h1, h2, h3),
body.circle-v9 :is(h1, h2, h3),
body.lesson-v9 :is(h1, h2, h3) {
  text-wrap: balance !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Home guide: keep the field usable and the cover proportional. */
body.home-v15 .home-ref-guide {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.88fr) 180px !important;
  align-items: center !important;
}

body.home-v15 .home-ref-guide > form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.home-v15 .home-ref-guide > form > label,
body.home-v15 .home-ref-guide > form input,
body.home-v15 .home-ref-guide > form button {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.home-v15 .home-guide-book {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  width: 180px !important;
  height: auto !important;
  min-height: 252px !important;
  aspect-ratio: 5 / 7 !important;
  padding: 18px 14px !important;
  transform: none !important;
  overflow: hidden !important;
}

body.home-v15 .home-guide-book > picture,
body.home-v15 .home-guide-book > picture > img,
body.home-v15 .home-guide-book > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 132px !important;
  margin-top: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Home product story: large, complete product imagery and readable decisions. */
body.home-v15 .home-ref-bed > header h2 {
  max-width: 34ch !important;
  margin-inline: auto !important;
  font-size: clamp(2.15rem, 3.6vw, 3.45rem) !important;
  line-height: 1.02 !important;
}

body.home-v15 .home-bed-story,
body.home-v15 .home-bed-layer-story {
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr) !important;
  min-height: 0 !important;
  align-items: center !important;
}

body.home-v15 .home-bed-story > figure,
body.home-v15 .home-bed-layer-story > figure {
  padding: 20px !important;
}

body.home-v15 :is(.home-bed-story, .home-bed-layer-story) > figure,
body.home-v15 :is(.home-bed-story, .home-bed-layer-story) > figure > picture {
  display: grid !important;
  place-items: center !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}

body.home-v15 :is(.home-bed-story, .home-bed-layer-story) > figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 640px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.home-v15 .home-bed-copy h3 {
  max-width: 19ch !important;
  font-size: clamp(2rem, 3.4vw, 3.35rem) !important;
  line-height: 1.02 !important;
}

body.home-v15 .home-bed-copy :is(p, li, strong) {
  font-size: max(1rem, 16px) !important;
}

body.home-v15 .home-bed-copy .button {
  min-height: 54px !important;
  padding: 15px 22px !important;
  font-size: 1rem !important;
}

/* Guide: compact first screen, balanced title, equal veterinarian cards. */
body.guide-v8 .guide-hero-v6 {
  align-items: center !important;
  min-height: 0 !important;
}

body.guide-v8 .guide-hero-copy {
  padding: clamp(28px, 4vw, 50px) !important;
}

body.guide-v8 .guide-hero-copy h1 {
  max-width: 20ch !important;
  font-size: clamp(2.2rem, 3.7vw, 3.55rem) !important;
  line-height: 1.02 !important;
}

body.guide-v8 .guide-hero-photo,
body.guide-v8 .guide-hero-photo > picture {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body.guide-v8 .guide-hero-photo img {
  height: auto !important;
  min-height: 0 !important;
  max-height: 520px !important;
  object-fit: contain !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header {
  grid-column: 1 / -1 !important;
  padding: 0 0 8px !important;
  text-align: center !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header h2 {
  max-width: 24ch !important;
  margin: 0 auto 10px !important;
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  line-height: 1.04 !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header p {
  max-width: 62ch !important;
  margin-inline: auto !important;
}

body.guide-v8 .guide-vet-trust article {
  grid-template-columns: 170px minmax(0, 1fr) !important;
  min-height: 220px !important;
  height: 100% !important;
}

body.guide-v8 .guide-vet-trust article > figure,
body.guide-v8 .guide-vet-trust article > figure > picture {
  display: grid !important;
  place-items: center !important;
  width: 170px !important;
  height: 170px !important;
  min-width: 170px !important;
  min-height: 170px !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: transparent !important;
}

body.guide-v8 .guide-vet-trust article > figure img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.guide-v8 .guide-topics-v6 article {
  min-height: 0 !important;
}

body.guide-v8 .guide-topics-v6 article > figure,
body.guide-v8 .guide-topics-v6 article > figure > picture {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body.guide-v8 .guide-topics-v6 article > figure img {
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
}

/* Care Circle: one visible question flow, no overlapping field labels. */
body.circle-v9 .circle-hero-v7 > div > h1 {
  max-width: 20ch !important;
  font-size: clamp(2.25rem, 3.8vw, 3.7rem) !important;
  line-height: 1.02 !important;
}

body.circle-v9 .circle-question-form {
  margin: 0 !important;
  gap: 14px !important;
}

body.circle-v9 .circle-question-form > div:first-child {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
}

body.circle-v9 .circle-question-form > div:first-child :is(h2, p) {
  margin: 0 !important;
}

body.circle-v9 .circle-question-form .question-image-field > span {
  display: block !important;
}

body.circle-v9 .circle-question-form .question-image-field em {
  display: inline !important;
  font-weight: 600 !important;
}

body.circle-v9 .circle-account-gate {
  margin-top: 16px !important;
}

body.circle-v9 .circle-hero-v7 > figure,
body.circle-v9 .circle-hero-v7 > figure > picture {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body.circle-v9 .circle-hero-v7 > figure img {
  height: auto !important;
  max-height: 620px !important;
  object-fit: contain !important;
}

@media (max-width: 1120px) {
  body.home-v15 .home-ref-guide {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr) !important;
  }

  body.home-v15 .home-guide-book {
    grid-column: 1 / -1 !important;
  }

  body.home-v15 .home-bed-story,
  body.home-v15 .home-bed-layer-story {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr) !important;
  }
}

@media (max-width: 900px) {
  body.home-v15 .home-ref-guide,
  body.home-v15 .home-bed-story,
  body.home-v15 .home-bed-layer-story,
  body.guide-v8 .guide-hero-v6,
  body.circle-v9 .circle-hero-v7 {
    grid-template-columns: 1fr !important;
  }

  body.home-v15 .home-guide-book {
    grid-column: auto !important;
  }

  body.guide-v8 .guide-hero-photo,
  body.circle-v9 .circle-hero-v7 > figure {
    order: 2 !important;
  }
}

@media (max-width: 680px) {
  body.home-v15 .home-guide-book {
    width: 164px !important;
    min-height: 230px !important;
  }

  body.guide-v8 .guide-hero-copy h1,
  body.circle-v9 .circle-hero-v7 > div > h1 {
    font-size: clamp(2.05rem, 10vw, 3rem) !important;
  }

  body.guide-v8 .guide-vet-trust > .wm-wrap,
  body.guide-v8 .guide-vet-trust article {
    grid-template-columns: 1fr !important;
  }

  body.guide-v8 .guide-vet-trust article {
    text-align: center !important;
  }

  body.guide-v8 .guide-vet-trust article > figure {
    justify-self: center !important;
  }
}

@media (max-width: 760px) {
  body.circle-v8 .circle-hero-v7 h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem) !important;
  }

  body.home-v14 :is(
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    )
    .home-bed-copy {
    padding: 30px 22px !important;
  }

  body.home-v14 :is(
      .home-bed-comfort-story,
      .home-bed-layer-story,
      .home-bed-tracking-story
    )
    h3 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  body.home-v14 :is(.home-vet-testimonials article, .guide-vet-trust article) figure,
  body.guide-v7 .guide-vet-trust article figure {
    width: 148px !important;
    height: 148px !important;
    min-width: 148px !important;
    min-height: 148px !important;
  }
}

/* 2026-08-24.11 — keep every uncropped image inside its measured frame */
body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  figure,
body.guide-v7 .guide-topics-v6 article figure,
body.find-care-v7 .provider-card-v6.has-photo > figure,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) figure {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  figure > img,
body.guide-v7 .guide-topics-v6 article figure > img,
body.find-care-v7 .provider-card-v6.has-photo > figure > img,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) figure > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  )
  figure > figcaption {
  position: absolute !important;
  right: 12px !important;
  bottom: 10px !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  background: rgb(255 250 246 / 88%) !important;
  color: #4b3129 !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
}

@media (max-width: 980px) {
  body.home-v14 .home-bed-comfort-story > figure {
    aspect-ratio: 1083 / 1452 !important;
  }

  body.home-v14 .home-bed-layer-story > figure {
    aspect-ratio: 795 / 634 !important;
  }

  body.home-v14 .home-bed-tracking-story > figure {
    aspect-ratio: 1600 / 899 !important;
  }
}

/* 2026-08-24.13 — final cascade guard: preserve every source image's proportions. */
body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure,
body.guide-v7 .guide-topics-v6 article > figure,
body.find-care-v7 .provider-card-v6.has-photo > figure,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) > figure {
  height: auto !important;
  min-height: 0 !important;
}

body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure > img,
body.home-v14 :is(
    .home-bed-comfort-story,
    .home-bed-layer-story,
    .home-bed-tracking-story
  ) > figure > picture > img,
body.guide-v7 .guide-topics-v6 article > figure > img,
body.guide-v7 .guide-topics-v6 article > figure > picture > img,
body.find-care-v7 .provider-card-v6.has-photo > figure > img,
body.find-care-v7 .provider-card-v6.has-photo > figure > picture > img,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) > figure > img,
body.bed-v7 :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6) > figure > picture > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* 2026-08-24.15 — authoritative current-page layout layer.
   The generator marks current routes with home-v15, guide-v8, circle-v9 and
   lesson-v9 so old experiments cannot distort current typography or media. */
body.home-v15,
body.guide-v8,
body.circle-v9,
body.lesson-v9 {
  --wm-ink: #35251f;
  --wm-green: #244c40;
  --wm-coral: #df7659;
  --wm-rust: #ba4f31;
  --wm-cream: #fffaf5;
  --wm-paper: #fffdf9;
  --wm-line: #e7d5c9;
  overflow-x: clip;
}

body.home-v15 :is(h1, h2, h3),
body.guide-v8 :is(h1, h2, h3),
body.circle-v9 :is(h1, h2, h3),
body.lesson-v9 :is(h1, h2, h3) {
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.home-v15 :is(p, li, blockquote, label, input, button),
body.guide-v8 :is(p, li, blockquote, label, input, button),
body.circle-v9 :is(p, li, blockquote, label, input, button),
body.lesson-v9 :is(p, li, blockquote, label, input, button) {
  overflow-wrap: break-word;
}

body.home-v15 [hidden],
body.guide-v8 [hidden],
body.circle-v9 [hidden],
body.lesson-v9 [hidden] {
  display: none !important;
}

body.home-v15 .home-reference {
  background: var(--wm-cream) !important;
}

body.home-v15 .home-ref-guide,
body.home-v15 .home-vet-testimonials,
body.home-v15 .home-ref-bed,
body.home-v15 .home-support-paths {
  width: min(calc(100% - 40px), 1320px) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

/* Guide capture: never allow the email field or cover to collapse. */
body.home-v15 .home-ref-guide {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr) 190px !important;
  align-items: center !important;
  gap: 28px !important;
  margin-block: 30px !important;
  padding: 30px 32px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 20px !important;
  background: linear-gradient(120deg, #5c2f29 0%, #6f3a31 63%, #815044 100%) !important;
  color: white !important;
  box-shadow: 0 20px 48px rgb(81 43 34 / 12%) !important;
}

body.home-v15 .home-ref-guide .home-guide-intro {
  min-width: 0 !important;
}

body.home-v15 .home-ref-guide .home-guide-intro > span {
  display: block !important;
  margin-bottom: 8px !important;
  color: #ffd8cb !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body.home-v15 .home-ref-guide h2 {
  margin: 0 0 10px !important;
  max-width: 18ch !important;
  color: #fff !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 0.98 !important;
}

body.home-v15 .home-ref-guide p,
body.home-v15 .home-ref-guide li {
  color: #fff5ef !important;
  font-size: 1rem !important;
  line-height: 1.48 !important;
}

body.home-v15 .home-ref-guide ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 20px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home-v15 .home-ref-guide li::before {
  content: "✓";
  margin-right: 7px;
  color: #ffc5b2;
  font-weight: 900;
}

body.home-v15 .home-ref-guide > form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.home-v15 .home-ref-guide > form label,
body.home-v15 .home-ref-guide > form input,
body.home-v15 .home-ref-guide > form button {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

body.home-v15 .home-ref-guide > form input {
  height: 58px !important;
  padding: 0 18px !important;
  border: 1px solid rgb(255 255 255 / 62%) !important;
  border-radius: 10px !important;
  background: #fffdfb !important;
  color: var(--wm-ink) !important;
  font-size: 1rem !important;
}

body.home-v15 .home-ref-guide > form button {
  min-height: 58px !important;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

body.home-v15 .home-ref-guide > form .form-note {
  min-height: 1.4em !important;
  margin: 0 !important;
  font-size: 0.9rem !important;
}

body.home-v15 .home-guide-book {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto auto 1fr !important;
  align-self: center !important;
  width: 190px !important;
  min-width: 190px !important;
  height: 266px !important;
  min-height: 266px !important;
  margin: 0 !important;
  padding: 18px 16px 14px !important;
  overflow: hidden !important;
  transform: none !important;
  border: 1px solid rgb(255 255 255 / 55%) !important;
  border-radius: 4px 9px 9px 4px !important;
  background: #f6eee7 !important;
  color: var(--wm-ink) !important;
  box-shadow: 9px 13px 24px rgb(20 10 6 / 27%) !important;
  text-decoration: none !important;
}

body.home-v15 .home-guide-book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 8px;
  width: 1px;
  background: #d9c2b3;
}

body.home-v15 .home-guide-book > span,
body.home-v15 .home-guide-book > strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  color: var(--wm-ink) !important;
}

body.home-v15 .home-guide-book > span {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body.home-v15 .home-guide-book > strong {
  margin-top: 4px !important;
  font-family: var(--font-display, Georgia, serif) !important;
  font-size: 1.28rem !important;
  line-height: 0.98 !important;
  text-wrap: balance !important;
}

body.home-v15 .home-guide-book > picture {
  display: grid !important;
  place-items: end center !important;
  width: 100% !important;
  height: 156px !important;
  margin-top: 8px !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.home-v15 .home-guide-book > picture > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 4px !important;
}

body.home-v15 .home-guide-book > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 156px !important;
  max-width: 100% !important;
  max-height: 156px !important;
  margin: 8px 0 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 4px !important;
  background: transparent !important;
}

/* Equal veterinarian portraits and readable testimonials. */
body.home-v15 .home-vet-testimonials {
  display: grid !important;
  gap: 22px !important;
  margin-block: 32px !important;
  padding: 30px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 20px !important;
  background: var(--wm-paper) !important;
}

body.home-v15 .home-vet-testimonials > header {
  text-align: center !important;
}

body.home-v15 .home-vet-testimonials > header h2 {
  max-width: none !important;
  margin: 0 auto 6px !important;
  color: var(--wm-green) !important;
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
}

body.home-v15 .home-vet-testimonials > header p {
  margin: 0 auto !important;
  font-size: 1.05rem !important;
}

body.home-v15 .home-vet-testimonials > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.home-v15 .home-vet-testimonials article {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 22px !important;
  min-width: 0 !important;
  min-height: 220px !important;
  padding: 20px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

body.home-v15 .home-vet-testimonials article > figure,
body.guide-v8 .guide-vet-trust article > figure {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  width: 220px !important;
  height: 150px !important;
  min-width: 220px !important;
  min-height: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: transparent !important;
}

body.home-v15 .home-vet-testimonials article > figure > picture,
body.guide-v8 .guide-vet-trust article > figure > picture {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  background: transparent !important;
}

body.home-v15 .home-vet-testimonials article > figure img,
body.guide-v8 .guide-vet-trust article > figure img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.home-v15 .home-vet-testimonials blockquote {
  margin: 0 0 14px !important;
  color: #4c403b !important;
  font-size: 1.06rem !important;
  line-height: 1.52 !important;
}

body.home-v15 .home-vet-testimonials article p {
  margin: 0 !important;
}

body.home-v15 .home-vet-testimonials article p strong,
body.home-v15 .home-vet-testimonials article p span {
  display: block !important;
}

body.home-v15 .home-vet-testimonials article p strong {
  color: var(--wm-green) !important;
  font-size: 1.12rem !important;
}

body.home-v15 .home-vet-testimonials > aside {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 20px !important;
  border-top: 1px solid var(--wm-line) !important;
}

body.home-v15 .home-vet-testimonials > aside :is(h3, p) {
  margin: 0 !important;
}

/* Smart Bed: three premium stories with complete, undistorted product media. */
body.home-v15 .home-ref-bed {
  margin-block: 36px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.home-v15 .home-ref-bed > header {
  display: block !important;
  max-width: 900px !important;
  margin: 0 auto 24px !important;
  padding: 0 20px !important;
  text-align: center !important;
}

body.home-v15 .home-ref-bed > header > span {
  color: var(--wm-rust) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body.home-v15 .home-ref-bed > header h2 {
  max-width: 23ch !important;
  margin: 8px auto 10px !important;
  color: var(--wm-green) !important;
  font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
  line-height: 1.02 !important;
}

body.home-v15 .home-ref-bed > header p {
  max-width: 60ch !important;
  margin: 0 auto !important;
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
}

body.home-v15 .home-bed-grid {
  display: grid !important;
  gap: 22px !important;
}

body.home-v15 .home-bed-story {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  align-items: stretch !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 22px !important;
  background: var(--wm-paper) !important;
  box-shadow: 0 22px 52px rgb(65 43 32 / 8%) !important;
}

body.home-v15 .home-bed-layer-story {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr) !important;
}

body.home-v15 .home-bed-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: clamp(28px, 4vw, 52px) !important;
  background: linear-gradient(145deg, #f4ebe3, #fffaf5) !important;
  color: var(--wm-ink) !important;
}

body.home-v15 .home-bed-tracking-story .home-bed-copy {
  background: linear-gradient(145deg, #e9f0e8, #f9fbf6) !important;
}

body.home-v15 .home-bed-copy > span {
  color: var(--wm-rust) !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body.home-v15 .home-bed-copy h3 {
  max-width: 18ch !important;
  margin: 10px 0 14px !important;
  color: var(--wm-green) !important;
  font-size: clamp(2rem, 3.4vw, 3.3rem) !important;
  line-height: 1.03 !important;
}

body.home-v15 .home-bed-copy > p {
  max-width: 60ch !important;
  margin: 0 0 20px !important;
  color: #574942 !important;
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
}

body.home-v15 .home-bed-feature-list,
body.home-v15 .home-bed-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

body.home-v15 .home-bed-feature-list {
  padding: 0 !important;
  list-style: none !important;
}

body.home-v15 :is(.home-bed-feature-list li, .home-bed-metrics > span) {
  display: block !important;
  min-width: 0 !important;
  padding: 13px 14px !important;
  border: 1px solid #decabc !important;
  border-radius: 12px !important;
  background: rgb(255 255 255 / 72%) !important;
  color: #574942 !important;
  font-size: 0.91rem !important;
  line-height: 1.35 !important;
}

body.home-v15 :is(.home-bed-feature-list li, .home-bed-metrics > span) :is(strong, b) {
  display: block !important;
  margin-bottom: 3px !important;
  color: var(--wm-green) !important;
  font-size: 1rem !important;
}

body.home-v15 .home-bed-layer-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home-v15 .home-bed-layer-list li {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #e8d8ce !important;
  color: #574942 !important;
  font-size: 0.93rem !important;
  line-height: 1.32 !important;
}

body.home-v15 .home-bed-layer-list b {
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: var(--wm-rust) !important;
  color: #fff !important;
}

body.home-v15 .home-bed-layer-list strong {
  display: inline !important;
  margin-right: 7px !important;
  color: var(--wm-green) !important;
}

body.home-v15 .home-bed-copy .button {
  align-self: flex-start !important;
  min-height: 52px !important;
  padding: 14px 20px !important;
  font-size: 1rem !important;
}

body.home-v15 .home-bed-story > figure {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(18px, 2.5vw, 32px) !important;
  overflow: visible !important;
  background: transparent !important;
}

body.home-v15 .home-bed-story > figure > picture {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.home-v15 .home-bed-story > figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 560px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 14px !important;
  background: transparent !important;
}

body.home-v15 .home-bed-story > figure > figcaption {
  position: absolute !important;
  right: 24px !important;
  bottom: 18px !important;
  z-index: 2 !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: rgb(255 250 246 / 90%) !important;
  color: var(--wm-ink) !important;
  font-size: 0.76rem !important;
}

body.home-v15 .home-support-paths {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-block: 34px !important;
}

body.home-v15 .home-support-paths > a {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  text-decoration: none !important;
}

body.home-v15 .home-support-paths figure,
body.home-v15 .home-support-paths figure > picture {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.home-v15 .home-support-paths img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v15 .home-support-paths > a > div {
  padding: 18px !important;
}

body.home-v15 .home-support-paths h2 {
  margin: 0 0 8px !important;
  color: var(--wm-green) !important;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important;
  line-height: 1.04 !important;
}

body.home-v15 .home-support-paths p {
  margin: 0 0 16px !important;
  color: #5b4d47 !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
}

body.home-v15 .home-support-paths span {
  color: var(--wm-rust) !important;
  font-weight: 800 !important;
}

/* Guide: compact visual hierarchy, even vet cards and no empty poster-like gaps. */
body.guide-v8 .guide-hero-v6,
body.guide-v8 :is(.guide-outcomes, .guide-topics-v6, .guide-method, .guide-vet-note, .guide-vet-trust) > .wm-wrap {
  width: min(calc(100% - 40px), 1320px) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

body.guide-v8 .guide-hero-v6 {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin-block: 28px !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 22px !important;
  background: var(--wm-paper) !important;
}

body.guide-v8 .guide-hero-photo,
body.guide-v8 .guide-hero-photo > picture {
  display: grid !important;
  place-items: center !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.guide-v8 .guide-hero-photo img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 440px !important;
  max-height: 640px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.guide-v8 .guide-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: clamp(30px, 5vw, 62px) !important;
  background: linear-gradient(145deg, #f2e9e1, #fffaf5) !important;
}

body.guide-v8 .guide-hero-copy h1 {
  max-width: 20ch !important;
  margin: 0 0 16px !important;
  color: var(--wm-green) !important;
  font-size: clamp(2.2rem, 3.6vw, 3.5rem) !important;
  line-height: 1.02 !important;
}

body.guide-v8 .guide-hero-copy > p {
  max-width: 56ch !important;
  margin: 0 0 22px !important;
  font-size: 1.08rem !important;
  line-height: 1.52 !important;
}

body.guide-v8 .email-capture {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  width: 100% !important;
}

body.guide-v8 .email-capture :is(label, input) {
  width: 100% !important;
  min-width: 0 !important;
}

body.guide-v8 .email-capture input,
body.guide-v8 .email-capture button {
  min-height: 54px !important;
}

body.guide-v8 .guide-outcomes {
  padding: 24px 0 !important;
}

body.guide-v8 .guide-outcomes > .wm-wrap {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.guide-v8 .guide-outcomes article {
  min-height: 0 !important;
  padding: 20px !important;
}

body.guide-v8 .guide-outcomes h2 {
  font-size: 1.45rem !important;
  line-height: 1.08 !important;
}

body.guide-v8 .guide-topics-v6 {
  padding-block: 34px !important;
}

body.guide-v8 .guide-topics-v6 .section-heading {
  text-align: center !important;
}

body.guide-v8 .guide-topics-v6 .section-heading h2 {
  margin-inline: auto !important;
  max-width: 24ch !important;
  font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
}

body.guide-v8 .guide-topics-v6 .wm-wrap > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.guide-v8 .guide-topics-v6 article {
  display: grid !important;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr) !important;
  align-items: center !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
}

body.guide-v8 .guide-topics-v6 article > figure,
body.guide-v8 .guide-topics-v6 article > figure > picture {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.guide-v8 .guide-topics-v6 article > figure img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.guide-v8 .guide-topics-v6 article > div {
  min-width: 0 !important;
  padding: 24px !important;
}

body.guide-v8 .guide-topics-v6 h3 {
  margin: 0 0 14px !important;
  color: var(--wm-green) !important;
  font-size: 2rem !important;
}

body.guide-v8 .guide-topics-v6 dl {
  margin: 0 !important;
}

body.guide-v8 .guide-topics-v6 dl > div {
  padding: 10px 0 !important;
}

body.guide-v8 :is(.guide-method, .guide-vet-note, .guide-vet-trust) {
  padding-block: 34px !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap {
  display: grid !important;
  grid-template-columns: minmax(250px, 0.72fr) repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 24px !important;
  text-align: left !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header h2 {
  max-width: 15ch !important;
  margin: 0 0 12px !important;
  color: var(--wm-green) !important;
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
  line-height: 1.02 !important;
}

body.guide-v8 .guide-vet-trust article {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 20px !important;
  min-width: 0 !important;
  min-height: 230px !important;
  padding: 20px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

body.guide-v8 .guide-vet-trust article blockquote {
  margin: 0 0 12px !important;
  font-size: 1rem !important;
  line-height: 1.48 !important;
}

body.guide-v8 .guide-vet-trust article :is(strong, span) {
  display: block !important;
}

/* Care Circle: one clean ask flow with stable form controls and image. */
body.circle-v9 .circle-hero-v7 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: min(calc(100% - 40px), 1320px) !important;
  max-width: 1320px !important;
  margin: 28px auto 34px !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 22px !important;
  background: var(--wm-paper) !important;
}

body.circle-v9 .circle-hero-v7 > div {
  min-width: 0 !important;
  padding: clamp(28px, 4vw, 54px) !important;
}

body.circle-v9 .circle-hero-v7 > div > h1 {
  max-width: 17ch !important;
  margin: 0 0 16px !important;
  color: var(--wm-green) !important;
  font-size: clamp(2.2rem, 3.7vw, 3.6rem) !important;
  line-height: 1.02 !important;
}

body.circle-v9 .circle-hero-v7 > div > p {
  max-width: 61ch !important;
  margin: 0 0 24px !important;
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
}

body.circle-v9 .circle-hero-v7 > figure,
body.circle-v9 .circle-hero-v7 > figure > picture {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.circle-v9 .circle-hero-v7 > figure img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.circle-v9 .circle-account-gate {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 14px !important;
  background: #f5ece5 !important;
}

body.circle-v9 .circle-account-gate :is(h2, p) {
  margin: 0 !important;
}

body.circle-v9 .circle-account-gate h2 {
  margin-bottom: 5px !important;
  font-size: 1.5rem !important;
}

body.circle-v9 .circle-question-form {
  position: static !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 22px 0 0 !important;
  padding: 22px !important;
  overflow: visible !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  isolation: isolate !important;
}

body.circle-v9 .circle-question-form,
body.circle-v9 .circle-question-form * {
  box-sizing: border-box !important;
}

body.circle-v9 .circle-question-form > div:first-child {
  display: block !important;
}

body.circle-v9 .circle-question-form :is(label, textarea, input, button, small, img) {
  position: static !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.circle-v9 .circle-question-form label {
  display: grid !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 0 !important;
}

body.circle-v9 .circle-question-form label > span {
  display: block !important;
  color: var(--wm-ink) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.circle-v9 .circle-question-form textarea {
  display: block !important;
  width: 100% !important;
  min-height: 130px !important;
  padding: 14px !important;
  resize: vertical !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 10px !important;
  font: inherit !important;
}

body.circle-v9 .circle-question-form .question-image-field {
  padding: 16px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 12px !important;
  background: #fffaf6 !important;
}

body.circle-v9 .circle-question-form input[type="file"] {
  display: block !important;
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body.circle-v9 .circle-question-form .consent-row {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  padding: 10px 0 !important;
}

body.circle-v9 .circle-question-form .consent-row input {
  width: 20px !important;
  height: 20px !important;
  margin: 2px 0 0 !important;
}

body.circle-v9 .circle-question-form > button[type="submit"] {
  width: 100% !important;
  min-height: 54px !important;
  white-space: normal !important;
}

body.circle-v9 .circle-hero-actions {
  margin-top: 16px !important;
}

body.circle-v9 .circle-feed-v7 {
  padding-block: 34px !important;
}

body.circle-v9 .circle-public-card > figure,
body.circle-v9 .circle-public-card > figure > a,
body.circle-v9 .circle-public-card > figure picture {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 260px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.circle-v9 .circle-public-card > figure img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Tailored lessons: smaller hero type, full media and compact rhythm. */
body.lesson-v9 .lesson-hero-v7 {
  width: min(calc(100% - 40px), 1320px) !important;
  max-width: 1320px !important;
  margin: 28px auto 0 !important;
  min-height: 0 !important;
}

body.lesson-v9 .lesson-hero-v7 h1 {
  max-width: 22ch !important;
  font-size: clamp(2.2rem, 3.7vw, 3.65rem) !important;
  line-height: 1.02 !important;
}

body.lesson-v9 .lesson-hero-v7 > figure,
body.lesson-v9 .lesson-hero-v7 > figure > picture,
body.lesson-v9 .lesson-chapter-layout > figure,
body.lesson-v9 .lesson-chapter-layout > figure > picture,
body.lesson-v9 .mobility-bed-path figure,
body.lesson-v9 .mobility-bed-path figure > picture {
  display: grid !important;
  place-items: center !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.lesson-v9 :is(.lesson-hero-v7, .lesson-chapter-layout, .mobility-bed-path) figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 620px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

body.lesson-v9 .lesson-result-v7,
body.lesson-v9 .lesson-chapters-v7 > section,
body.lesson-v9 .call-sooner-v7,
body.lesson-v9 .mobility-bed-path {
  padding-block: clamp(28px, 5vw, 54px) !important;
}

body.lesson-v9 .lesson-chapter-layout {
  gap: clamp(24px, 4vw, 52px) !important;
  align-items: center !important;
}

body.lesson-v9 .mobility-bed-path > .wm-wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  align-items: center !important;
  gap: 28px !important;
  padding: 28px !important;
  border: 1px solid var(--wm-line) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, #eef3ea, #fffaf5) !important;
}

body.lesson-v9 .mobility-bed-path h2 {
  max-width: 18ch !important;
  color: var(--wm-green) !important;
  font-size: clamp(2rem, 3.6vw, 3.4rem) !important;
}

@media (max-width: 1120px) {
  body.home-v15 .home-ref-guide {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr) !important;
  }

  body.home-v15 .home-guide-book {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }

  body.home-v15 .home-vet-testimonials article,
  body.guide-v8 .guide-vet-trust article {
    grid-template-columns: 180px minmax(0, 1fr) !important;
  }

  body.home-v15 .home-vet-testimonials article > figure,
  body.guide-v8 .guide-vet-trust article > figure {
    width: 180px !important;
    height: 128px !important;
    min-width: 180px !important;
    min-height: 128px !important;
  }

  body.home-v15 .home-support-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guide-v8 .guide-vet-trust > .wm-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guide-v8 .guide-vet-trust > .wm-wrap > header {
    grid-column: 1 / -1 !important;
    text-align: center !important;
  }

  body.guide-v8 .guide-vet-trust > .wm-wrap > header h2 {
    max-width: 24ch !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 900px) {
  body.home-v15 .home-ref-guide,
  body.home-v15 .home-bed-story,
  body.home-v15 .home-bed-layer-story,
  body.guide-v8 .guide-hero-v6,
  body.circle-v9 .circle-hero-v7,
  body.lesson-v9 .mobility-bed-path > .wm-wrap {
    grid-template-columns: 1fr !important;
  }

  body.home-v15 .home-bed-layer-story > figure {
    order: 2 !important;
  }

  body.home-v15 .home-vet-testimonials > div,
  body.guide-v8 .guide-topics-v6 .wm-wrap > div:last-child {
    grid-template-columns: 1fr !important;
  }

  body.guide-v8 .guide-hero-photo {
    order: 2 !important;
  }

  body.guide-v8 .guide-outcomes > .wm-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.circle-v9 .circle-hero-v7 > figure {
    order: -1 !important;
  }

  body.circle-v9 .circle-hero-v7 > figure,
  body.circle-v9 .circle-hero-v7 > figure > picture {
    min-height: 0 !important;
    height: auto !important;
  }

  body.circle-v9 .circle-hero-v7 > figure img {
    height: auto !important;
    max-height: 560px !important;
  }
}

@media (max-width: 680px) {
  body.home-v15 .home-ref-guide,
  body.home-v15 .home-vet-testimonials,
  body.home-v15 .home-ref-bed,
  body.home-v15 .home-support-paths,
  body.guide-v8 .guide-hero-v6,
  body.guide-v8 :is(.guide-outcomes, .guide-topics-v6, .guide-method, .guide-vet-note, .guide-vet-trust) > .wm-wrap,
  body.circle-v9 .circle-hero-v7,
  body.lesson-v9 .lesson-hero-v7 {
    width: min(calc(100% - 20px), 1320px) !important;
  }

  body.home-v15 .home-ref-guide,
  body.home-v15 .home-vet-testimonials,
  body.home-v15 .home-bed-copy,
  body.circle-v9 .circle-hero-v7 > div {
    padding: 22px 18px !important;
  }

  body.home-v15 .home-ref-guide ul,
  body.home-v15 .home-bed-feature-list,
  body.home-v15 .home-bed-metrics,
  body.home-v15 .home-vet-testimonials > div,
  body.home-v15 .home-support-paths,
  body.guide-v8 .guide-outcomes > .wm-wrap,
  body.guide-v8 .guide-vet-trust > .wm-wrap {
    grid-template-columns: 1fr !important;
  }

  body.home-v15 .home-vet-testimonials article,
  body.guide-v8 .guide-vet-trust article {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  body.home-v15 .home-vet-testimonials article > figure,
  body.guide-v8 .guide-vet-trust article > figure {
    justify-self: center !important;
  }

  body.home-v15 .home-vet-testimonials > aside {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  body.guide-v8 .email-capture,
  body.guide-v8 .guide-topics-v6 article {
    grid-template-columns: 1fr !important;
  }

  body.guide-v8 .guide-topics-v6 article > figure,
  body.guide-v8 .guide-topics-v6 article > figure > picture {
    min-height: 0 !important;
    height: auto !important;
  }

  body.guide-v8 .guide-topics-v6 article > figure img {
    height: auto !important;
    max-height: 430px !important;
  }

  body.circle-v9 .circle-account-gate {
    grid-template-columns: 1fr !important;
  }

  body.circle-v9 .circle-question-form {
    padding: 16px !important;
  }
}

/* 2026-08-24.16 — final form, title, image and spacing corrections. */
body.home-v15 .home-ref-guide {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr) 210px !important;
}

body.home-v15 .home-ref-guide > form {
  align-self: center !important;
  min-width: 0 !important;
}

body.home-v15 .home-ref-guide > form label,
body.guide-v8 .email-capture > label {
  min-width: 0 !important;
}

body.home-v15 .home-ref-guide > form input,
body.guide-v8 .email-capture input {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.home-v15 .home-guide-book {
  width: 210px !important;
  min-width: 210px !important;
  height: 294px !important;
  min-height: 294px !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  transform: none !important;
}

body.home-v15 .home-guide-book > picture,
body.home-v15 .home-guide-book > img {
  width: 100% !important;
  height: 175px !important;
  min-height: 175px !important;
  max-height: 175px !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.home-v15 .home-ref-bed > header h2 {
  max-width: 30ch !important;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem) !important;
}

body.home-v15 .home-bed-copy h3 {
  max-width: 26ch !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
}

body.home-v15 .home-support-paths article h2 {
  max-width: 16ch !important;
  font-size: clamp(1.55rem, 2vw, 2rem) !important;
}

body.guide-v8 .email-capture > div,
body.guide-v8 .email-capture > .form-note {
  grid-column: 1 / -1 !important;
}

body.guide-v8 .email-capture > label {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

body.guide-v8 .email-capture > button {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

body.guide-v8 .guide-hero-copy h1 {
  max-width: 24ch !important;
  font-size: clamp(2rem, 3vw, 3.05rem) !important;
}

body.guide-v8 .guide-topics-v6 .section-heading h2 {
  max-width: 30ch !important;
  font-size: clamp(2rem, 3.2vw, 3.2rem) !important;
}

body.guide-v8 .guide-topics-v6 h3 {
  font-size: clamp(1.45rem, 2vw, 1.75rem) !important;
}

body.guide-v8 :is(.guide-method, .guide-vet-note, .guide-vet-trust),
body.guide-v8 .guide-topics-v6 {
  padding-block: 28px !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header {
  grid-column: 1 / -1 !important;
  text-align: center !important;
  padding: 0 0 4px !important;
}

body.guide-v8 .guide-vet-trust > .wm-wrap > header h2 {
  max-width: 30ch !important;
  margin: 0 auto 10px !important;
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
}

body.guide-v8 .guide-vet-trust article {
  grid-template-columns: 200px minmax(0, 1fr) !important;
  min-height: 0 !important;
}

body.guide-v8 .guide-vet-trust article > figure {
  width: 200px !important;
  min-width: 200px !important;
  height: 142px !important;
  min-height: 142px !important;
}

body.guide-v8 .guide-vet-trust article > figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.circle-v9 .circle-hero-v7 > div > h1 {
  max-width: 24ch !important;
  font-size: clamp(2.1rem, 3.2vw, 3.2rem) !important;
}

body.lesson-v9 .lesson-hero-v7 h1 {
  max-width: 28ch !important;
  font-size: clamp(2.1rem, 3.2vw, 3.2rem) !important;
}

body.home-v15 :is(h1, h2, h3),
body.guide-v8 :is(h1, h2, h3),
body.circle-v9 :is(h1, h2, h3),
body.lesson-v9 :is(h1, h2, h3) {
  text-wrap: balance !important;
}

@media (max-width: 1120px) {
  body.home-v15 .home-ref-guide {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr) !important;
  }

  body.home-v15 .home-guide-book {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }

  body.guide-v8 .guide-vet-trust article {
    grid-template-columns: 150px minmax(0, 1fr) !important;
  }

  body.guide-v8 .guide-vet-trust article > figure {
    width: 150px !important;
    min-width: 150px !important;
    height: 120px !important;
    min-height: 120px !important;
  }
}

@media (max-width: 760px) {
  body.home-v15 .home-ref-guide,
  body.guide-v8 .guide-vet-trust > .wm-wrap,
  body.guide-v8 .guide-vet-trust article {
    grid-template-columns: 1fr !important;
  }

  body.guide-v8 .email-capture > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.home-v15 .home-guide-book {
    width: min(210px, 100%) !important;
    min-width: 0 !important;
  }

  body.guide-v8 .guide-vet-trust article > figure {
    justify-self: center !important;
    width: min(240px, 100%) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* 2026-08-24.17 — final media-frame guard.
   The image box equals the frame while object-fit: contain preserves every
   source image without cropping or distortion. */
body.home-v15 .home-vet-testimonials article > figure,
body.guide-v8 .guide-vet-trust article > figure,
body.guide-v8 .guide-topics-v6 article > figure,
body.circle-v9 .circle-public-card > figure,
body.find-care-v7 .provider-card-v6.has-photo > figure {
  position: relative !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.home-v15 .home-vet-testimonials article > figure > picture,
body.guide-v8 .guide-vet-trust article > figure > picture,
body.guide-v8 .guide-topics-v6 article > figure > picture,
body.circle-v9 .circle-public-card > figure > :is(a, picture),
body.circle-v9 .circle-public-card > figure > a > picture,
body.find-care-v7 .provider-card-v6.has-photo > figure > picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home-v15 .home-vet-testimonials article > figure img,
body.guide-v8 .guide-vet-trust article > figure img,
body.guide-v8 .guide-topics-v6 article > figure img,
body.circle-v9 .circle-public-card > figure img,
body.find-care-v7 .provider-card-v6.has-photo > figure img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Higher-specificity route signatures win over the earlier compatibility
   rules that deliberately keep legacy images in normal document flow. */
html body.guide-v6.guide-v7.guide-v8 .guide-topics-v6 article > figure > img,
html body.find-care-v6.find-care-v7 .provider-card-v6.has-photo > figure > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Final Smart Bed media guard. This must remain after every legacy image rule
   so the portrait prototype is contained by, rather than taller than, the
   landscape hero frame. */
html body.bed-v6.bed-v7
  :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6)
  figure {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

html body.bed-v6.bed-v7
  :is(.bed-hero-v6, .bed-comfort-v6, .bed-layers-v7, .bed-insights-v6)
  figure > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* Final premium-system locks. Keep after all legacy compatibility rules. */
html body.home-v16 .home-reference {
  width: min(1440px, calc(100vw - 48px)) !important;
  gap: 24px !important;
  padding: 24px 0 40px !important;
}
html body.home-v16 .home-ref-hero {
  display: grid !important;
  grid-template-columns: minmax(590px, 1.04fr) minmax(0, 0.96fr) !important;
  min-height: 580px !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-premium-line) !important;
  border-radius: 18px !important;
  background: #fffdfb !important;
  box-shadow: var(--wm-premium-shadow) !important;
}
html body.home-v16 .home-ref-hero-copy {
  align-self: center !important;
  padding: clamp(40px, 4vw, 60px) !important;
}
html body.home-v16 .home-hero-eyebrow {
  display: block !important;
  margin-bottom: 18px !important;
  color: var(--wm-premium-clay) !important;
  font-size: 0.82rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}
html body.home-v16 .home-ref-hero h1 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  font-size: clamp(3.35rem, 4.4vw, 4.4rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em !important;
}
html body.home-v16 .home-ref-hero h1 span {
  display: block !important;
  white-space: nowrap !important;
}
html body.home-v16 .home-ref-hero-copy > p {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 20px !important;
  font-size: 1.12rem !important;
  line-height: 1.62 !important;
}
html body.home-v16 .home-ref-hero > figure {
  align-self: stretch !important;
  display: grid !important;
  place-items: center !important;
  min-height: 0 !important;
  margin: 0 !important;
  background: #ece8e3 !important;
}
html body.home-v16 .home-ref-hero > figure img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}
html body.home-v16 .home-hero-chat {
  display: block !important;
  max-width: 650px !important;
  padding: 18px !important;
  border: 1px solid #dbc9bc !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 45px rgba(61, 40, 31, 0.1) !important;
}
html body.home-v16 .home-hero-chat label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 10px !important;
  font-size: 0.96rem !important;
}
html body.home-v16 .home-hero-chat > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
}
html body.home-v16 .home-hero-chat input[type="search"] {
  min-width: 0 !important;
  min-height: 56px !important;
  padding: 0 15px !important;
  border: 1px solid #d9c8bd !important;
  border-radius: 7px !important;
}
html body.home-v16 .home-platform-model {
  width: min(1280px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: clamp(36px, 4vw, 56px) !important;
  border: 1px solid var(--wm-premium-line) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #fffdfb, #f7efe8) !important;
  box-shadow: var(--wm-premium-shadow) !important;
}
html body.home-v16 .home-platform-model > header {
  padding-bottom: 26px !important;
  border-bottom: 1px solid var(--wm-premium-line) !important;
}
html body.home-v16 .home-platform-model > header > span {
  color: var(--wm-premium-clay) !important;
  font-size: 0.82rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.13em !important;
}
html body.home-v16 .home-platform-model > header h2 {
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 0 !important;
  font-size: clamp(2.5rem, 4vw, 3.2rem) !important;
  line-height: 1.03 !important;
}
html body.home-v16 .home-platform-model > div {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 28px !important;
}
html body.home-v16 .home-platform-model article {
  min-width: 0 !important;
  padding: 0 34px !important;
}
html body.home-v16 .home-platform-model article:first-child { padding-left: 0 !important; }
html body.home-v16 .home-platform-model article:last-child { padding-right: 0 !important; }
html body.home-v16 .home-platform-model article + article { border-left: 1px solid var(--wm-premium-line) !important; }
html body.home-v16 .home-platform-model h3 {
  margin: 0 0 12px !important;
  font-family: Georgia, serif !important;
  font-size: 1.4rem !important;
  line-height: 1.18 !important;
}
html body.home-v16 .home-platform-model p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.62 !important;
}
html body.home-v16 :is(
  .home-care-hub > header h2,
  .home-guide-intro h2,
  .home-vet-testimonials > header h2,
  .home-ref-bed > header h2,
  .home-bed-copy h3,
  .home-support-paths h2
) {
  width: 100% !important;
  max-width: none !important;
  text-wrap: balance !important;
}
html body.home-v16 :is(
  .home-care-hub > header p,
  .home-guide-intro > p,
  .home-vet-testimonials > header p,
  .home-ref-bed > header p,
  .home-bed-copy > p,
  .home-support-paths p
) {
  width: 100% !important;
  max-width: none !important;
}
html body.home-v16 .home-bed-comfort-story {
  display: grid !important;
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr) !important;
  min-height: 600px !important;
  background: #fff !important;
}
html body.home-v16 .home-bed-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
html body.home-v16 :is(.home-ref-bed > header h2, .home-bed-copy h3) > span {
  display: block !important;
  white-space: nowrap !important;
}
html body.home-v16 .home-bed-comfort-story figure {
  position: relative !important;
  align-self: stretch !important;
  display: grid !important;
  place-items: center !important;
  min-height: 600px !important;
  margin: 0 !important;
  padding: 28px !important;
  background: #f4eee8 !important;
}
html body.home-v16 .home-bed-comfort-story figure picture {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
html body.home-v16 .home-bed-comfort-story figure img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 780px !important;
  max-height: 610px !important;
}

html body.circle-v10 .circle-hero-v7 {
  display: grid !important;
  grid-template-columns: minmax(430px, 0.88fr) minmax(0, 1.12fr) !important;
  align-items: stretch !important;
  width: min(1360px, calc(100vw - 48px)) !important;
  min-height: 0 !important;
  margin: 28px auto 34px !important;
  overflow: hidden !important;
  border: 1px solid var(--wm-premium-line) !important;
  border-radius: 18px !important;
  background: #fffdfb !important;
  box-shadow: var(--wm-premium-shadow) !important;
}
html body.circle-v10 .circle-intro-v10 {
  align-self: center !important;
  padding: clamp(48px, 5vw, 76px) !important;
}
html body.circle-v10 .circle-intro-v10 h1 {
  max-width: 680px !important;
  margin: 12px 0 22px !important;
  font-size: clamp(3.2rem, 4.5vw, 4.5rem) !important;
  line-height: 0.98 !important;
}
html body.circle-v10 .circle-hero-v7 > figure {
  align-self: stretch !important;
  display: grid !important;
  place-items: center !important;
  min-height: 520px !important;
  margin: 0 !important;
  background: #e8eceb !important;
}
html body.circle-v10 .circle-hero-v7 > figure img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}
html body.circle-v10 .circle-question-form {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(34px, 4vw, 56px) !important;
  border: 0 !important;
  border-top: 1px solid var(--wm-premium-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body.circle-v10 .circle-question-form > header { grid-column: 1 / -1 !important; }
html body.circle-v10 .circle-question-main { grid-column: span 7 !important; }
html body.circle-v10 .question-image-field { grid-column: span 5 !important; margin: 0 !important; }
html body.circle-v10 .lesson-visibility {
  grid-column: span 7 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}
html body.circle-v10 .lesson-visibility label {
  display: block !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 16px 16px 16px 46px !important;
}
html body.circle-v10 .lesson-visibility label span { display: block !important; margin: 0 !important; }
html body.circle-v10 .circle-question-result {
  grid-column: span 5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
html body.circle-v10 .circle-question-form > .form-note { grid-column: 1 / -1 !important; }
html body.circle-v10 .circle-account-gate {
  grid-column: 1 / -1 !important;
  display: flex !important;
  width: auto !important;
  margin: 0 !important;
  padding: 22px clamp(34px, 4vw, 56px) !important;
  border: 0 !important;
  border-top: 1px solid var(--wm-premium-line) !important;
  border-radius: 0 !important;
}

html body .wm-footer .wm-footer-grid {
  width: min(1280px, calc(100% - 64px)) !important;
  padding: 48px 0 38px !important;
  grid-template-columns: minmax(230px, 1.35fr) repeat(5, minmax(120px, 1fr)) !important;
  align-items: start !important;
  gap: 32px !important;
}
html body .wm-footer .wm-footer-grid h2 {
  margin: 0 0 14px !important;
  font-family: Arial, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
html body .wm-footer .wm-footer-grid a,
html body .wm-footer .wm-footer-brand p,
html body .wm-footer .wm-footer-trust {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}
html body .wm-footer .wm-footer-brand .wm-wordmark,
html body .wm-footer .wm-footer-brand .wm-wordmark picture,
html body .wm-footer .wm-footer-brand .wm-wordmark img {
  position: static !important;
  display: block !important;
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: 24px !important;
  max-height: 24px !important;
  margin: 0 0 16px !important;
}

@media (max-width: 1100px) {
  html body.home-v16 .home-ref-hero { grid-template-columns: minmax(540px, 1.1fr) minmax(0, 0.9fr) !important; }
  html body.home-v16 .home-platform-model article { padding-inline: 22px !important; }
  html body .wm-footer .wm-footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
  html body.home-v16 .home-ref-hero,
  html body.circle-v10 .circle-hero-v7 { grid-template-columns: 1fr !important; }
  html body.home-v16 .home-ref-hero > figure { order: -1 !important; }
  html body.home-v16 .home-platform-model > div { grid-template-columns: 1fr !important; margin-top: 18px !important; }
  html body.home-v16 .home-platform-model article,
  html body.home-v16 .home-platform-model article:first-child,
  html body.home-v16 .home-platform-model article:last-child { padding: 20px 0 !important; }
  html body.home-v16 .home-platform-model article + article { border-top: 1px solid var(--wm-premium-line) !important; border-left: 0 !important; }
  html body.home-v16 .home-bed-comfort-story { grid-template-columns: 1fr !important; min-height: 0 !important; }
  html body.circle-v10 .circle-question-main,
  html body.circle-v10 .question-image-field,
  html body.circle-v10 .lesson-visibility,
  html body.circle-v10 .circle-question-result { grid-column: 1 / -1 !important; }
  html body .wm-footer .wm-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html body .wm-footer .wm-footer-brand { grid-column: 1 / -1 !important; }
}

/* 2026-08-26.2 — approved reference layouts implemented as the page structure. */
html body.home-v17 {
  --contract-ink: #332923;
  --contract-forest: #244e42;
  --contract-clay: #bb4a2d;
  --contract-paper: #fffdf9;
  --contract-wash: #fbf6f1;
  --contract-line: #ead9cf;
  background: #fffaf6;
}

html body.home-v17 .home-contract {
  display: grid;
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 48px;
  color: var(--contract-ink);
}
html body.home-v17 .home-contract,
html body.home-v17 .home-contract * { box-sizing: border-box; }

html body.home-v17 .home-contract :is(h1, h2, h3, p, ul, figure) { margin-top: 0; }
html body.home-v17 .home-contract :is(h1, h2) {
  color: var(--contract-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
html body.home-v17 .home-contract :is(h1, h2) > span { display: block; }
html body.home-v17 .home-contract p { color: #5f544e; line-height: 1.58; }
html body.home-v17 .home-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--contract-clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

html body.home-v17 .home-contract-hero {
  display: grid;
  grid-template-columns: minmax(470px, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--contract-line);
  border-radius: 18px 18px 0 0;
  background: var(--contract-paper);
}
html body.home-v17 .home-contract-hero-copy {
  align-self: center;
  padding: clamp(44px, 5vw, 72px);
}
html body.home-v17 .home-contract-hero h1 {
  width: 100%;
  margin: 0 0 20px;
  font-size: clamp(2.75rem, 3.4vw, 3.45rem);
  line-height: 0.98;
}
html body.home-v17 .home-contract-hero h1 > span { white-space: nowrap; }
html body.home-v17 .home-contract-hero-copy > p {
  width: 100%;
  max-width: none;
  margin-bottom: 26px;
  font-size: 1.12rem;
}
html body.home-v17 .home-contract-hero > figure {
  align-self: center;
  margin: 0;
  background: #eef1f1;
}
html body.home-v17 .home-contract-hero > figure :is(picture, img) {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}
html body.home-v17 .home-hero-chat {
  display: grid;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid #ddcec5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(63, 45, 35, 0.06);
}
html body.home-v17 .home-hero-chat label {
  color: var(--contract-ink);
  font-size: 0.92rem;
  font-weight: 760;
}
html body.home-v17 .home-hero-chat > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}
html body.home-v17 .home-hero-chat input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  border: 1px solid #d9c9bf;
  border-radius: 7px;
  background: #fffdfa;
  font-size: 0.92rem;
}
html body.home-v17 .home-hero-chat button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--contract-clay);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
html body.home-v17 .home-hero-chat small { color: #72665f; font-size: 0.78rem; }

html body.home-v17 .home-contract-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--contract-line);
  border-top: 0;
  background: #fff;
}
html body.home-v17 .home-contract-trust article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 30px clamp(24px, 3vw, 44px);
}
html body.home-v17 .home-contract-trust article + article { border-left: 1px solid var(--contract-line); }
html body.home-v17 .home-trust-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #9cae9d;
  border-radius: 50%;
  color: #657a66;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 750;
}
html body.home-v17 .home-contract-trust h2 {
  margin: 0 0 5px;
  color: var(--contract-ink);
  font-size: clamp(1.2rem, 1.65vw, 1.48rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
html body.home-v17 .home-contract-trust p { margin: 0; font-size: 0.9rem; }

html body.home-v17 .home-contract-circle {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  min-height: 560px;
  border: 1px solid var(--contract-line);
  border-top: 0;
  background: var(--contract-paper);
}
html body.home-v17 .home-contract-circle > div {
  align-self: center;
  padding: clamp(44px, 5vw, 74px);
}
html body.home-v17 .home-contract-circle h2 {
  width: 100%;
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 3.3vw, 3.35rem);
  line-height: 1;
}
html body.home-v17 .home-contract-circle h2 > span { white-space: nowrap; }
html body.home-v17 .home-contract-circle p { width: 100%; max-width: none; margin-bottom: 18px; font-size: 1rem; }
html body.home-v17 .home-contract-circle ul {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
html body.home-v17 .home-contract-circle li { position: relative; padding-left: 22px; color: #5d514b; }
html body.home-v17 .home-contract-circle li::before { position: absolute; left: 0; color: var(--contract-clay); content: "✓"; }
html body.home-v17 .home-contract-circle > figure { align-self: center; margin: 0; background: #edf0f0; }
html body.home-v17 .home-contract-circle > figure :is(picture, img) { position: static; display: block; width: 100%; height: auto; }

html body.home-v17 .home-contract-care-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-inline: 1px solid var(--contract-line);
  background: #fff;
}
html body.home-v17 .home-contract-care-grid > article { min-width: 0; }
html body.home-v17 .home-contract-evidence {
  display: grid;
  grid-template-columns: minmax(200px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  min-height: 360px;
  border-right: 1px solid var(--contract-line);
}
html body.home-v17 .home-contract-evidence figure { margin: 0; padding: 30px; }
html body.home-v17 .home-contract-evidence figure :is(picture, img) { position: static; display: block; width: 100%; height: auto; border-radius: 50%; }
html body.home-v17 .home-contract-evidence > div { padding: 38px 38px 38px 0; }
html body.home-v17 .home-contract-evidence h2,
html body.home-v17 .home-contract-guide h2 {
  margin: 0 0 13px;
  font-size: clamp(2rem, 2.5vw, 2.65rem);
  line-height: 1;
}
html body.home-v17 .home-contract-evidence p { margin-bottom: 18px; }
html body.home-v17 .home-contract-evidence a,
html body.home-v17 .home-contract-insights a {
  color: var(--contract-clay);
  font-weight: 780;
  text-decoration: none;
}
html body.home-v17 .home-contract-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 180px;
  align-items: center;
  min-height: 360px;
  padding: 34px;
  background: linear-gradient(135deg, #4d2e25, #744034);
}
html body.home-v17 .home-contract-guide > div { min-width: 0; padding-right: 24px; }
html body.home-v17 .home-contract-guide :is(h2, p) { color: #fffaf6; }
html body.home-v17 .home-contract-guide .home-kicker { color: #f1b19c; }
html body.home-v17 .home-contract-guide form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 20px;
}
html body.home-v17 .home-contract-guide form input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  border: 0;
  border-radius: 7px;
  background: #fff;
}
html body.home-v17 .home-contract-guide form button { min-height: 50px; margin: 0; white-space: nowrap; }
html body.home-v17 .home-contract-guide .form-note { grid-column: 1 / -1; margin: 0; color: #fff; }
html body.home-v17 .home-guide-cover { margin: 0; }
html body.home-v17 .home-guide-cover > div {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-height: 265px;
  padding: 18px;
  border-radius: 8px;
  background: #fff5ee;
  box-shadow: 0 18px 36px rgba(31, 16, 11, 0.22);
}
html body.home-v17 .home-guide-cover span { font-size: 0.64rem; font-weight: 850; letter-spacing: 0.14em; }
html body.home-v17 .home-guide-cover strong { margin: 8px 0 14px; font-family: Georgia, serif; font-size: 1.3rem; line-height: 0.9; }
html body.home-v17 .home-guide-cover :is(picture, img) { position: static; display: block; width: 100%; height: auto; }

html body.home-v17 .home-contract-bed {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  min-height: 700px;
  overflow: hidden;
  border: 1px solid var(--contract-line);
  background: var(--contract-wash);
}
html body.home-v17 .home-contract-bed-copy { padding: clamp(44px, 5vw, 74px); }
html body.home-v17 .home-contract-bed h2 {
  width: 100%;
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 3.35vw, 3.45rem);
  line-height: 0.98;
}
html body.home-v17 .home-contract-bed h2 > span { white-space: nowrap; }
html body.home-v17 .home-contract-bed-copy > p { width: 100%; max-width: none; margin-bottom: 24px; font-size: 1.05rem; }
html body.home-v17 .home-contract-bed-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
html body.home-v17 .home-contract-bed-copy li {
  min-height: 72px;
  padding: 14px;
  border: 1px solid #e5d6cc;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
html body.home-v17 .home-contract-bed-copy li :is(strong, span) { display: block; }
html body.home-v17 .home-contract-bed-copy li strong { margin-bottom: 3px; color: var(--contract-ink); }
html body.home-v17 .home-contract-bed-copy li span { color: #70635c; font-size: 0.86rem; line-height: 1.35; }
html body.home-v17 .home-contract-product {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 42px 46px 42px 10px;
}
html body.home-v17 .home-contract-product figure { margin: 0; }
html body.home-v17 .home-contract-product :is(picture, img) { position: static; display: block; width: 100%; height: auto; }
html body.home-v17 .home-complete-bed { width: 100%; }
html body.home-v17 .home-smart-base { width: 78%; justify-self: center; }

html body.home-v17 .home-contract-close {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  border: 1px solid var(--contract-line);
  border-top: 0;
  background: #fff;
}
html body.home-v17 .home-contract-insights {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  min-height: 310px;
  border-right: 1px solid var(--contract-line);
}
html body.home-v17 .home-contract-insights figure { margin: 0; padding: 24px; }
html body.home-v17 .home-insight-screen {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: linear-gradient(145deg, #f4eee7, #e8ede7);
}
html body.home-v17 .home-insight-screen > div {
  width: min(230px, 100%);
  padding: 22px;
  border: 8px solid #2f3833;
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 16px 30px rgba(44, 39, 35, 0.17);
}
html body.home-v17 .home-insight-screen > div > span {
  display: block;
  margin-bottom: 12px;
  color: var(--contract-clay);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}
html body.home-v17 .home-insight-screen dl { display: grid; gap: 6px; margin: 0; }
html body.home-v17 .home-insight-screen dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eadfd7;
}
html body.home-v17 .home-insight-screen dl > div:last-child { border-bottom: 0; }
html body.home-v17 .home-insight-screen dt { color: var(--contract-ink); font-weight: 760; }
html body.home-v17 .home-insight-screen dd { margin: 0; color: #746861; font-size: 0.78rem; }
html body.home-v17 .home-contract-insights > div { padding: 38px 38px 38px 10px; }
html body.home-v17 .home-contract-insights h2,
html body.home-v17 .home-contract-profile h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.5vw, 2.65rem);
  line-height: 1;
}
html body.home-v17 .home-contract-insights p { margin-bottom: 16px; }
html body.home-v17 .home-contract-profile {
  display: grid;
  align-items: center;
  min-height: 310px;
  padding: 42px;
  background: linear-gradient(135deg, #eef0e6, #f9f3e8);
}
html body.home-v17 .home-contract-profile p { margin-bottom: 22px; }

/* The Care Circle privacy selector is one compact, question-level choice. */
html body.circle-v10 .circle-question-form .lesson-visibility {
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid #b9b4aa !important;
  border-radius: 12px !important;
}
html body.circle-v10 .circle-question-form .lesson-visibility legend {
  width: 100% !important;
  padding: 0 0 10px !important;
  border: 0 !important;
  color: #2f2926 !important;
  font-family: Georgia, serif !important;
  font-size: 1.25rem !important;
}
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label {
  min-height: 78px !important;
  padding: 14px 18px 14px 54px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label + label { border-left: 1px solid #cfc7be !important; }
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label:has(input:checked) { background: #edf0e7 !important; }
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility input { left: 20px !important; width: 20px !important; height: 20px !important; }
html body.circle-v10 .circle-question-result {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  padding-top: 4px !important;
}

/* The direct contact page uses a true portrait image rather than a letterboxed landscape. */
html body.support-v6 .contact-direct { grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr) !important; }
html body.support-v6 .contact-direct figure { background: #f5f0e9 !important; }
html body.support-v6 .contact-direct figure :is(picture, img) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 0 !important;
}
html body.support-v6 .contact-direct h1 > span { display: block !important; white-space: nowrap !important; }

@media (max-width: 1050px) {
  html body.home-v17 .home-contract-hero { grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.05fr); }
  html body.home-v17 .home-contract-trust article { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding-inline: 22px; }
  html body.home-v17 .home-trust-icon { width: 52px; height: 52px; }
  html body.home-v17 .home-contract-circle { grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr); }
  html body.home-v17 .home-contract-care-grid { grid-template-columns: 1fr; }
  html body.home-v17 .home-contract-evidence { border-right: 0; border-bottom: 1px solid var(--contract-line); }
  html body.home-v17 .home-contract-bed { grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.08fr); }
  html body.home-v17 .home-contract-close { grid-template-columns: 1fr; }
  html body.home-v17 .home-contract-insights { border-right: 0; border-bottom: 1px solid var(--contract-line); }
}

@media (max-width: 760px) {
  html body.home-v17 .home-contract { width: calc(100% - 20px); padding: 10px 0 28px; }
  html body.home-v17 .home-contract-hero,
  html body.home-v17 .home-contract-circle,
  html body.home-v17 .home-contract-bed { grid-template-columns: 1fr; min-height: 0; }
  html body.home-v17 .home-contract-hero-copy,
  html body.home-v17 .home-contract-circle > div,
  html body.home-v17 .home-contract-bed-copy { padding: 34px 22px 30px; }
  html body.home-v17 .home-contract-hero h1,
  html body.home-v17 .home-contract-circle h2,
  html body.home-v17 .home-contract-bed h2 { font-size: clamp(1.75rem, 8.1vw, 2.1rem); }
  html body.home-v17 .home-contract :is(.home-contract-hero h1, .home-contract-circle h2, .home-contract-bed h2) > span { white-space: nowrap; }
  html body.home-v17 .home-contract-hero > figure { order: -1; }
  html body.home-v17 .home-contract-trust { grid-template-columns: 1fr; }
  html body.home-v17 .home-contract-trust article { grid-template-columns: 52px minmax(0, 1fr); padding: 20px 22px; }
  html body.home-v17 .home-contract-trust article + article { border-top: 1px solid var(--contract-line); border-left: 0; }
  html body.home-v17 .home-contract-circle h2 { font-size: clamp(1.72rem, 7.7vw, 2rem); }
  html body.home-v17 .home-contract-evidence { grid-template-columns: 120px minmax(0, 1fr); min-height: 0; }
  html body.home-v17 .home-contract-evidence figure { padding: 20px 10px 20px 20px; }
  html body.home-v17 .home-contract-evidence > div { padding: 28px 20px; }
  html body.home-v17 .home-contract-evidence h2,
  html body.home-v17 .home-contract-guide h2,
  html body.home-v17 .home-contract-insights h2,
  html body.home-v17 .home-contract-profile h2 { font-size: clamp(1.72rem, 7.5vw, 2rem); }
  html body.home-v17 .home-contract-guide { grid-template-columns: 1fr; padding: 30px 22px; }
  html body.home-v17 .home-contract-guide > div { padding-right: 0; }
  html body.home-v17 .home-contract-guide form { grid-template-columns: 1fr; }
  html body.home-v17 .home-contract-guide .form-note { grid-column: 1; }
  html body.home-v17 .home-guide-cover { display: none; }
  html body.home-v17 .home-contract-bed-copy ul { grid-template-columns: 1fr 1fr; }
  html body.home-v17 .home-contract-product { padding: 24px 18px 30px; }
  html body.home-v17 .home-contract-insights { grid-template-columns: 1fr; }
  html body.home-v17 .home-contract-insights figure { padding: 22px; }
  html body.home-v17 .home-contract-insights > div,
  html body.home-v17 .home-contract-profile { padding: 30px 22px; }
  html body.circle-v10 .circle-question-result { grid-template-columns: 1fr !important; align-items: stretch !important; }
  html body.circle-v10 .circle-question-result .button { width: 100% !important; }
  html body.support-v6 .contact-direct { grid-template-columns: 1fr !important; }
  html body.support-v6 .contact-direct h1 { font-size: clamp(2rem, 9vw, 2.7rem) !important; }
}

@media (max-width: 430px) {
  html body.home-v17 .home-contract-hero h1 { font-size: 1.7rem; }
  html body.home-v17 .home-contract-circle h2 { font-size: 1.58rem; }
  html body.home-v17 .home-contract-bed h2 { font-size: 1.58rem; }
  html body.home-v17 .home-contract-bed-copy ul { grid-template-columns: 1fr; }
  html body.circle-v10 .circle-question-form .lesson-visibility { grid-template-columns: 1fr !important; }
  html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label + label { border-top: 1px solid #cfc7be !important; border-left: 0 !important; }
}

/* 2026-08-26.1 — user-verified compact messaging and product-system layouts. */
html body.home-v16 .home-platform-model > div {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body.home-v16 .home-ref-guide {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr) !important;
  align-items: center !important;
  gap: 40px !important;
  min-height: 0 !important;
  padding: 34px 42px !important;
  text-align: left !important;
}
html body.home-v16 .home-ref-guide .home-guide-intro,
html body.home-v16 .home-ref-guide .home-guide-intro > * {
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
}
html body.home-v16 .home-ref-guide .home-guide-intro > span {
  display: block !important;
  margin-bottom: 8px !important;
}
html body.home-v16 .home-ref-guide h2 {
  margin: 0 0 10px !important;
  font-size: clamp(2.15rem, 3vw, 3.2rem) !important;
  line-height: 1 !important;
}
html body.home-v16 .home-ref-guide p {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}
html body.home-v16 .home-ref-guide > form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
html body.home-v16 .home-ref-guide > form label { min-width: 0 !important; }
html body.home-v16 .home-ref-guide > form :is(input, button) {
  min-height: 56px !important;
  margin: 0 !important;
}
html body.home-v16 .home-ref-guide > form button { white-space: nowrap !important; }
html body.home-v16 .home-ref-guide .form-note {
  grid-column: 1 / -1 !important;
  min-height: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

html body.circle-v10 .circle-hero-v7 {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr) !important;
}
html body.circle-v10 .circle-intro-v10 {
  padding: clamp(42px, 4vw, 62px) !important;
}
html body.circle-v10 .circle-intro-v10 h1 {
  width: 100% !important;
  max-width: none !important;
  font-size: clamp(3rem, 4vw, 4rem) !important;
  text-wrap: balance !important;
}
html body.circle-v10 .circle-intro-v10 h1 > span {
  display: block !important;
  white-space: nowrap !important;
}
html body.circle-v10 .circle-intro-v10 p {
  width: 100% !important;
  max-width: none !important;
}
html body.circle-v10 .lesson-visibility {
  gap: 8px !important;
}
html body.circle-v10 .lesson-visibility legend { margin-bottom: 0 !important; }
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 72px !important;
  padding: 11px 14px 11px 42px !important;
}
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility input {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  width: 17px !important;
  height: 17px !important;
  transform: translateY(-50%) !important;
}
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label > span {
  display: block !important;
  color: var(--wm-premium-ink) !important;
  font-weight: 520 !important;
  line-height: 1.3 !important;
}
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label strong {
  display: block !important;
  margin: 0 0 2px !important;
  font-size: 0.95rem !important;
}
html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label small {
  display: block !important;
  margin: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 520 !important;
  line-height: 1.3 !important;
}

html body.lesson-v9 .lesson-personal-context {
  padding: 20px 24px !important;
  border-bottom: 1px solid #e7d8ce !important;
  background: #fff4ee !important;
}
html body.lesson-v9 .lesson-personal-context .wm-wrap {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 22px !important;
  max-width: 1120px !important;
}
html body.lesson-v9 .lesson-personal-context strong {
  font-family: Georgia, serif !important;
  font-size: 1.14rem !important;
  white-space: nowrap !important;
}
html body.lesson-v9 .lesson-personal-context p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
}
html body.lesson-v9 .mobility-bed-system {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  align-items: center !important;
  gap: 12px !important;
  height: auto !important;
  padding: 14px !important;
  background: #f2ece6 !important;
}
html body.lesson-v9 .mobility-bed-system picture,
html body.lesson-v9 .mobility-bed-system img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}

html body.bed-v6.bed-v7 .bed-system-media {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  height: auto !important;
  padding: 16px !important;
  overflow: visible !important;
  background: #f2ece6 !important;
}
html body.bed-v6.bed-v7 .bed-hero-v6 > figure.bed-system-media {
  aspect-ratio: auto !important;
  height: auto !important;
  overflow: visible !important;
}
html body.bed-v6.bed-v7 .bed-system-media > div {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 10px !important;
  border: 1px solid #e2d4ca !important;
  background: #fffdf9 !important;
}
html body.bed-v6.bed-v7 .bed-system-media :is(picture, img) {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}
html body.bed-v6.bed-v7 .bed-system-media strong {
  padding-top: 8px !important;
  color: #5d4f48 !important;
  font-size: 0.86rem !important;
  text-align: center !important;
}

html body.about-v6 .bobby-hero h1,
html body.about-v6 .bobby-purpose h2 {
  width: 100% !important;
  max-width: none !important;
}
html body.about-v6 :is(.bobby-hero h1, .bobby-purpose h2) > span {
  display: block !important;
  white-space: nowrap !important;
}

html body.support-v6 .contact-direct {
  display: grid !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr) !important;
  align-items: stretch !important;
  width: min(1180px, calc(100% - 48px)) !important;
  min-height: 0 !important;
  margin: 36px auto 48px !important;
  overflow: hidden !important;
  border: 1px solid #ead9cf !important;
  border-radius: 18px !important;
  background: #fffdf9 !important;
  box-shadow: 0 18px 50px rgba(64, 53, 47, 0.1) !important;
}
html body.support-v6 .contact-direct figure {
  align-self: stretch !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #edf0e7 !important;
}
html body.support-v6 .contact-direct figure img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 720px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}
html body.support-v6 .contact-direct > div {
  align-self: center !important;
  width: 100% !important;
  max-width: none !important;
  padding: clamp(36px, 5vw, 64px) !important;
}
html body.support-v6 .contact-direct h1 {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 12px !important;
  font-size: clamp(2.7rem, 4vw, 3.7rem) !important;
}
html body.support-v6 .contact-direct > div > p { margin-bottom: 24px !important; }
html body.support-v6 .contact-direct form { gap: 14px !important; }
html body.support-v6 .contact-direct form textarea { min-height: 140px !important; }

@media (max-width: 900px) {
  html body.home-v16 .home-ref-guide {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  html body.circle-v10 .circle-hero-v7,
  html body.bed-v6.bed-v7 .bed-system-media,
  html body.support-v6 .contact-direct {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html body.home-v16 .home-ref-guide { padding: 26px 18px !important; }
  html body.home-v16 .home-ref-guide > form { grid-template-columns: 1fr !important; }
  html body.home-v16 .home-ref-guide .form-note { grid-column: 1 !important; }
  html body.circle-v10 .circle-intro-v10 h1 {
    font-size: clamp(2rem, 9vw, 2.2rem) !important;
  }
  html body.circle-v9.circle-v10 .circle-question-form .lesson-visibility label { min-height: 66px !important; }
  html body.lesson-v9 .lesson-personal-context { padding: 18px 14px !important; }
  html body.lesson-v9 .lesson-personal-context .wm-wrap {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  html body.lesson-v9 .lesson-personal-context strong { white-space: normal !important; }
  html body.lesson-v9 .mobility-bed-system { grid-template-columns: 1fr !important; }
  html body.about-v6 .bobby-hero h1 { font-size: clamp(1.75rem, 8vw, 1.92rem) !important; }
  html body.about-v6 .bobby-purpose h2 { font-size: clamp(1.6rem, 7vw, 1.78rem) !important; }
  html body.support-v6 .contact-direct {
    width: calc(100% - 20px) !important;
    margin: 10px auto 30px !important;
  }
  html body.support-v6 .contact-direct > div { padding: 30px 20px 36px !important; }
  html body.support-v6 .contact-direct h1 { font-size: clamp(2.35rem, 11vw, 2.75rem) !important; }
  html body.support-v6 .contact-direct form .button { width: 100% !important; }
}

@media (max-width: 640px) {
  html body.home-v16 .home-reference { width: calc(100% - 20px) !important; padding-top: 10px !important; }
  html body.home-v16 .home-ref-hero { min-height: 0 !important; }
  html body.home-v16 .home-ref-hero-copy { padding: 34px 20px 28px !important; }
  html body.home-v16 .home-ref-hero h1 { font-size: clamp(2.15rem, 9.3vw, 2.35rem) !important; }
  html body.home-v16 .home-hero-chat label { align-items: flex-start !important; flex-direction: column !important; gap: 2px !important; }
  html body.home-v16 .home-hero-chat > div { grid-template-columns: 1fr !important; }
  html body.home-v16 .home-hero-chat .button { width: 100% !important; }
  html body.home-v16 .home-platform-model { width: calc(100% - 16px) !important; padding: 28px 20px !important; }
  html body.home-v16 .home-platform-model > header h2 { font-size: 2.05rem !important; }
  html body.home-v16 :is(
    .home-care-hub > header h2,
    .home-guide-intro h2,
    .home-vet-testimonials > header h2,
    .home-ref-bed > header h2
  ) { font-size: clamp(1.82rem, 7.5vw, 2.05rem) !important; }
  html body.home-v16 .home-bed-copy h3 { font-size: clamp(1.7rem, 7vw, 1.92rem) !important; }
  html body.home-v16 .home-bed-comfort-story figure { min-height: 0 !important; padding: 18px !important; }
  html body.circle-v10 .circle-hero-v7 { width: calc(100% - 20px) !important; margin-top: 10px !important; }
  html body.circle-v10 .circle-intro-v10 { padding: 34px 22px !important; }
  html body.circle-v10 .circle-intro-v10 h1 { font-size: clamp(2rem, 9vw, 2.2rem) !important; }
  html body.circle-v10 .circle-question-form { grid-template-columns: 1fr !important; padding: 28px 18px !important; }
  html body.circle-v10 .circle-question-form > * { grid-column: 1 !important; }
  html body.circle-v10 .lesson-visibility { grid-template-columns: 1fr !important; }
  html body.circle-v10 .circle-account-gate { align-items: stretch !important; flex-direction: column !important; padding: 24px 18px !important; }
  html body .wm-footer .wm-footer-grid {
    width: calc(100% - 32px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 22px !important;
  }
  html body .wm-footer .wm-footer-brand { grid-column: 1 / -1 !important; }
}

/* Final measured-title and contact-size guard. Keep this block last. */
html body.home-v17 .home-contract-hero,
html body.home-v17 .home-contract-circle {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
}
html body.home-v17 .home-contract-hero h1 {
  font-size: clamp(2.75rem, 3.3vw, 3.45rem) !important;
}
html body.home-v17 .home-contract-hero-copy,
html body.home-v17 .home-hero-chat,
html body.home-v17 .home-hero-chat > div,
html body.home-v17 .home-hero-chat input {
  min-width: 0 !important;
  max-width: 100% !important;
}
html body.about-v6 .bobby-hero h1 {
  font-size: clamp(2.5rem, 4.1vw, 3.6rem) !important;
}
html body.support-v6 .contact-direct {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr) !important;
}
html body.support-v6 .contact-direct :is(figure, figure img, form, label),
html body.support-v6 .contact-direct > div {
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html body.support-v6 .contact-direct > div {
  padding: 40px !important;
}
html body.support-v6 .contact-direct form {
  gap: 12px !important;
}
html body.support-v6 .contact-direct form :is(input, textarea) {
  width: 100% !important;
  box-sizing: border-box !important;
}
html body.support-v6 .contact-direct form textarea {
  min-height: 120px !important;
}

@media (max-width: 1050px) and (min-width: 761px) {
  html body.home-v17 .home-contract-hero,
  html body.home-v17 .home-contract-circle {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  }
  html body.support-v6 .contact-direct > div { padding: 34px !important; }
}

@media (max-width: 900px) {
  html body.support-v6 .contact-direct { grid-template-columns: 1fr !important; }
}

@media (max-width: 760px) {
  html body.home-v17 .home-contract-hero,
  html body.home-v17 .home-contract-circle { grid-template-columns: 1fr !important; }
  html body.home-v17 .home-contract-hero h1 { font-size: 1.7rem !important; }
  html body.about-v6 .bobby-hero h1 { font-size: clamp(1.75rem, 8vw, 1.92rem) !important; }
  html body.support-v6 .contact-direct > div { padding: 26px 18px 30px !important; }
  html body.support-v6 .contact-direct h1 { font-size: 1.72rem !important; }
  html body.support-v6 .contact-direct form textarea { min-height: 105px !important; }
  html body.support-v6 .contact-direct figure img {
    width: 63% !important;
    max-width: 63% !important;
  }
  html body .wm-footer .wm-footer-grid {
    padding: 32px 0 24px !important;
    gap: 20px 18px !important;
  }
  html body .wm-footer .wm-footer-brand .wm-wordmark,
  html body .wm-footer .wm-footer-brand .wm-wordmark img {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    margin-bottom: 12px !important;
  }
  html body .wm-footer .wm-footer-brand p { margin-bottom: 12px !important; }
  html body .wm-footer .wm-footer-socials {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 14px !important;
    margin-top: 10px !important;
  }
  html body .wm-footer .wm-footer-socials a { margin: 0 !important; }
}

/* Final 2026-08-26.3 contract overrides. Keep this block last. */
html body.home-v17 .home-contract-care-grid {
  grid-template-columns: 1fr !important;
}
html body.home-v17 .home-contract-evidence {
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr) !important;
  width: 100% !important;
  min-height: 300px !important;
  border-right: 0 !important;
}
html body.home-v17 .home-contract-evidence figure {
  width: min(260px, 100%) !important;
  justify-self: center !important;
}
html body.home-v17 .home-contract-evidence > div {
  padding: 44px 64px 44px 12px !important;
}
html body.home-v17 .home-contract-evidence h2 {
  width: 100% !important;
  white-space: nowrap !important;
}
html body.home-v17 .home-contract-guide {
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr) !important;
  min-height: 410px !important;
  padding: 34px clamp(46px, 6vw, 88px) !important;
  border: 1px solid var(--contract-line) !important;
  background: #fbf7f2 !important;
}
html body.home-v17 .home-contract-guide > div {
  width: 100% !important;
  padding: 0 !important;
}
html body.home-v17 .home-contract-guide :is(h2, p) {
  width: 100% !important;
  max-width: none !important;
  color: var(--contract-ink) !important;
}
html body.home-v17 .home-contract-guide .home-kicker {
  color: var(--contract-clay) !important;
}
html body.home-v17 .home-contract-guide h2 {
  font-size: clamp(2.45rem, 3.4vw, 3.45rem) !important;
}
html body.home-v17 .home-contract-guide p {
  margin-bottom: 24px !important;
  font-size: 1.05rem !important;
}
html body.home-v17 .home-guide-book {
  display: grid !important;
  place-items: center !important;
}
html body.home-v17 .home-guide-book :is(picture, img) {
  position: static !important;
  display: block !important;
  width: min(470px, 100%) !important;
  height: auto !important;
}
html body.home-v17 .home-contract-bed {
  grid-template-columns: minmax(320px, 0.34fr) minmax(0, 0.66fr) !important;
  min-height: 0 !important;
  padding: 28px 32px 0 !important;
  background: #fbf7f2 !important;
}
html body.home-v17 .home-contract-bed-copy {
  padding: 28px 20px 34px 12px !important;
}
html body.home-v17 .home-contract-bed h2 {
  font-size: clamp(2.15rem, 2.75vw, 2.85rem) !important;
  line-height: 1.02 !important;
}
html body.home-v17 .home-contract-bed-copy > p {
  margin-bottom: 18px !important;
  font-size: 0.98rem !important;
}
html body.home-v17 .home-contract-bed-copy ul {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}
html body.home-v17 .home-contract-bed-copy li {
  min-height: 0 !important;
  padding: 0 0 0 22px !important;
  border: 0 !important;
  background: transparent !important;
}
html body.home-v17 .home-contract-product {
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  display: grid !important;
  place-items: center !important;
}
html body.home-v17 .home-contract-product :is(picture, img) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
html body.home-v17 .home-contract-close {
  grid-template-columns: 1fr !important;
  background: #fbf7f2 !important;
}
html body.home-v17 .home-contract-insights {
  grid-template-columns: minmax(0, 0.58fr) minmax(380px, 0.42fr) !important;
  align-items: stretch !important;
  min-height: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--contract-line) !important;
}
html body.home-v17 .home-contract-insights figure {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  align-items: stretch !important;
  overflow: hidden !important;
  background: #f2eadf !important;
}
html body.home-v17 .home-contract-insights figure :is(picture, img) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
html body.home-v17 .home-contract-insights > div {
  align-self: center !important;
  padding: 46px clamp(38px, 4vw, 64px) !important;
}
html body.home-v17 .home-contract-insights h2 {
  width: 100% !important;
  font-size: clamp(2.55rem, 3.5vw, 3.5rem) !important;
}
html body.home-v17 .home-contract-profile {
  min-height: 0 !important;
  padding: 24px clamp(34px, 5vw, 72px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
  background: #fffaf6 !important;
}
html body.home-v17 .home-contract-profile p {
  margin: 0 !important;
}
html body.account-v7 .account-scene-media {
  justify-content: flex-start !important;
  padding: 0 !important;
}
html body.account-v7 .account-scene-media figure {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}
html body.account-v7 .account-scene-media figure :is(picture, img) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 0 !important;
}
html body.account-v7 .account-scene-media > div {
  padding: 34px !important;
}
html body.account-v7 .account-scene-media h1 {
  width: 100% !important;
  font-size: clamp(2.1rem, 3.1vw, 3.1rem) !important;
}
@media (min-width: 901px) {
  html body .directory-hero-v6 {
    grid-template-columns: minmax(560px, 1.12fr) minmax(0, 0.88fr) !important;
  }
  html body .directory-hero-v6 h1 {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(3.25rem, 4.5vw, 4.5rem) !important;
    white-space: normal !important;
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  html body.home-v17 .home-contract-guide {
    grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr) !important;
    padding-inline: 34px !important;
  }
  html body.home-v17 .home-contract-guide h2 {
    font-size: 2.25rem !important;
  }
  html body .directory-hero-v6 {
    grid-template-columns: minmax(500px, 1.08fr) minmax(0, 0.92fr) !important;
  }
  html body .directory-hero-v6 h1 {
    font-size: 2.5rem !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 1180px) and (min-width: 901px) {
  html body.home-v17 .home-contract-bed {
    grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.62fr) !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  html body.home-v17 .home-contract-evidence,
  html body.home-v17 .home-contract-guide,
  html body.home-v17 .home-contract-bed,
  html body.home-v17 .home-contract-insights {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-evidence > div {
    padding: 14px 28px 36px !important;
  }
  html body.home-v17 .home-contract-evidence h2 {
    white-space: normal !important;
  }
  html body.home-v17 .home-contract-guide {
    padding: 36px 28px !important;
  }
  html body.home-v17 .home-guide-book,
  html body.home-v17 .home-contract-product {
    order: -1 !important;
  }
  html body.home-v17 .home-contract-bed {
    padding: 24px 24px 0 !important;
  }
  html body.home-v17 .home-contract-product {
    padding: 0 8px !important;
  }
  html body.home-v17 .home-contract-insights > div {
    padding: 36px 28px !important;
  }
  html body.home-v17 .home-contract-profile {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px) {
  html body.home-v17 .home-contract-guide h2,
  html body.home-v17 .home-contract-insights h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.25rem) !important;
  }
  html body.home-v17 .home-contract-bed h2 {
    font-size: clamp(1.8rem, 7.8vw, 2.1rem) !important;
  }
  html body.home-v17 .home-guide-book :is(picture, img) {
    width: 84% !important;
  }
  html body.account-v7 .account-scene-v8 {
    width: calc(100% - 20px) !important;
    grid-template-columns: 1fr !important;
  }
  html body.account-v7 .account-scene-panel {
    padding: 24px 16px !important;
  }
  html body.account-v7 .account-scene-media > div {
    padding: 28px 22px !important;
  }
  html body .condition-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  html body .condition-picker > div > label {
    min-height: 54px !important;
    padding: 8px !important;
  }
  html body.find-care-v7 .directory-hero-v6 h1 {
    width: 100% !important;
    max-width: none !important;
    font-size: 2.05rem !important;
    white-space: nowrap !important;
  }
}

/* 2026-08-26.5 — approved Care Circle and verified WoafyPet product correction. */
html body.home-v17 .home-contract-circle {
  grid-template-columns: minmax(430px, 0.92fr) minmax(0, 1.08fr) !important;
  min-height: 470px !important;
  overflow: hidden !important;
  background: #fffdf9 !important;
}
html body.home-v17 .home-contract-circle > div {
  padding: clamp(46px, 5vw, 70px) !important;
}
html body.home-v17 .home-contract-circle h2 {
  width: 100% !important;
  max-width: none !important;
  font-size: clamp(2.3rem, 2.85vw, 2.9rem) !important;
  line-height: 1.02 !important;
}
html body.home-v17 .home-contract-circle ul {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 16px !important;
}
html body.home-v17 .home-contract-circle > figure {
  align-self: stretch !important;
  min-height: 0 !important;
}
html body.home-v17 .home-contract-circle > figure :is(picture, img) {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

html body.home-v17 .home-contract-evidence {
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr) !important;
  min-height: 280px !important;
}
html body.home-v17 .home-contract-evidence figure {
  width: min(210px, 100%) !important;
  padding: 28px !important;
}
html body.home-v17 .home-contract-evidence > div {
  padding: 42px 64px 42px 8px !important;
}
html body.home-v17 .home-contract-evidence h2 {
  max-width: 930px !important;
  font-size: clamp(2.15rem, 3vw, 3.15rem) !important;
  white-space: normal !important;
}

html body.home-v17 .home-contract-guide {
  grid-template-columns: minmax(0, 0.6fr) minmax(300px, 0.4fr) !important;
  min-height: 350px !important;
  padding: 30px clamp(46px, 5vw, 76px) !important;
}
html body.home-v17 .home-contract-guide h2 {
  font-size: clamp(2.3rem, 3.2vw, 3.25rem) !important;
}
html body.home-v17 .home-guide-book :is(picture, img) {
  width: min(390px, 100%) !important;
}

html body.home-v17 .home-contract-bed {
  grid-template-columns: minmax(390px, 0.43fr) minmax(0, 0.57fr) !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 30px 34px 0 !important;
  background: linear-gradient(135deg, #fffdf9, #f7efe7) !important;
}
html body.home-v17 .home-contract-bed-copy {
  padding: 48px 30px 52px 18px !important;
}
html body.home-v17 .home-contract-bed h2 {
  font-size: clamp(2.65rem, 3.35vw, 3.45rem) !important;
  line-height: 1 !important;
}
html body.home-v17 .home-contract-bed-copy > p {
  margin-bottom: 24px !important;
  font-size: 1.05rem !important;
}
html body.home-v17 .home-contract-product {
  display: grid !important;
  place-items: center !important;
  padding: 16px 12px 16px 28px !important;
}
html body.home-v17 .home-contract-product :is(picture, img) {
  width: min(720px, 100%) !important;
  height: auto !important;
  object-fit: contain !important;
}
html body.home-v17 .home-bed-proof {
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  border-bottom: 1px solid #e3d5cb !important;
  border-radius: 12px 12px 0 0 !important;
}
html body.home-v17 .home-bed-proof > div {
  min-height: 108px !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  padding: 20px 18px !important;
}
html body.home-v17 .home-bed-proof p {
  font-size: 0.86rem !important;
}
html body.home-v17 .home-bed-proof strong {
  font-size: 0.96rem !important;
}

html body.home-v17 .home-contract-insights {
  grid-template-columns: minmax(0, 0.52fr) minmax(390px, 0.48fr) !important;
  min-height: 380px !important;
}
html body.home-v17 .home-contract-insights figure {
  background: #f3ebe2 !important;
}
html body.home-v17 .home-contract-insights figure :is(picture, img) {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
html body.home-v17 .home-contract-insights > div {
  padding: 44px clamp(38px, 4vw, 62px) !important;
}
html body.home-v17 .home-contract-insights h2 {
  font-size: clamp(2.35rem, 3.15vw, 3.2rem) !important;
  line-height: 1.02 !important;
}
html body.home-v17 .home-insight-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 20px !important;
}

@media (max-width: 1050px) and (min-width: 901px) {
  html body.home-v17 .home-contract-circle {
    grid-template-columns: minmax(390px, 0.96fr) minmax(0, 1.04fr) !important;
  }
  html body.home-v17 .home-contract-circle h2,
  html body.home-v17 .home-contract-evidence h2,
  html body.home-v17 .home-contract-guide h2,
  html body.home-v17 .home-contract-insights h2 {
    font-size: 2.35rem !important;
  }
  html body.home-v17 .home-contract-circle h2 {
    font-size: 2.16rem !important;
  }
  html body.home-v17 .home-contract-bed {
    grid-template-columns: minmax(340px, 0.42fr) minmax(0, 0.58fr) !important;
  }
  html body.home-v17 .home-contract-bed h2 {
    font-size: 2.45rem !important;
  }
}

@media (max-width: 900px) {
  html body.home-v17 .home-contract-circle,
  html body.home-v17 .home-contract-evidence,
  html body.home-v17 .home-contract-guide,
  html body.home-v17 .home-contract-bed,
  html body.home-v17 .home-contract-insights {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-circle {
    min-height: 0 !important;
  }
  html body.home-v17 .home-contract-circle > figure {
    aspect-ratio: 3 / 2 !important;
  }
  html body.home-v17 .home-contract-evidence {
    grid-template-columns: 150px minmax(0, 1fr) !important;
  }
  html body.home-v17 .home-contract-evidence > div {
    padding: 34px 28px 34px 0 !important;
  }
  html body.home-v17 .home-contract-guide {
    padding: 34px 28px !important;
  }
  html body.home-v17 .home-contract-bed {
    padding: 26px 26px 0 !important;
  }
  html body.home-v17 .home-contract-product {
    order: 0 !important;
    padding: 10px 16px 24px !important;
  }
  html body.home-v17 .home-contract-insights figure {
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 640px) {
  html body.home-v17 .home-contract-circle > div {
    padding: 30px 22px !important;
  }
  html body.home-v17 .home-contract-circle h2,
  html body.home-v17 .home-contract-evidence h2,
  html body.home-v17 .home-contract-guide h2,
  html body.home-v17 .home-contract-bed h2,
  html body.home-v17 .home-contract-insights h2 {
    font-size: clamp(1.62rem, 7.3vw, 1.86rem) !important;
    line-height: 1.04 !important;
  }
  html body.home-v17 .home-contract-circle ul {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-evidence {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-evidence figure {
    width: 124px !important;
    padding: 24px 0 8px !important;
  }
  html body.home-v17 .home-contract-evidence > div {
    padding: 14px 22px 30px !important;
  }
  html body.home-v17 .home-contract-bed {
    padding: 18px 18px 0 !important;
  }
  html body.home-v17 .home-contract-bed-copy {
    padding: 26px 4px 24px !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-template-columns: 1fr 1fr !important;
  }
  html body.home-v17 .home-bed-proof > div {
    min-height: 106px !important;
    padding: 16px 12px !important;
  }
  html body.home-v17 .home-contract-insights > div {
    padding: 30px 22px !important;
  }
  html body.home-v17 .home-insight-metrics {
    gap: 0 12px !important;
  }
}

/* Final guide-form mobile guard: keep every field readable at phone widths. */
@media (max-width: 760px) {
  html body.guide-v8 .email-capture {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body.guide-v8 .email-capture > :is(
    div,
    label,
    button,
    .form-note
  ) {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html body.guide-v8 .email-capture > .guide-email-field input,
  html body.guide-v8 .email-capture > button {
    width: 100% !important;
  }
  html body.guide-v8 .email-capture > .guide-updates-consent {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 9px !important;
  }
  html body.guide-v8 .email-capture > .guide-updates-consent input {
    grid-column: 1 !important;
  }
  html body.guide-v8 .email-capture > .guide-updates-consent span {
    grid-column: 2 !important;
  }
  html body.guide-v8 .guide-hero-photo,
  html body.guide-v8 .guide-hero-photo > picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  html body.guide-v8 .guide-hero-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* 2026-08-27 — complete Bed + Smart Base story and truthful care workflows. */
html body.home-v17 .home-vet-credential {
  display: grid;
  gap: 3px;
  margin: 18px 0;
}
html body.home-v17 .home-vet-credential strong {
  color: var(--contract-ink);
  font-size: 1rem;
}
html body.home-v17 .home-vet-credential span {
  color: #75675f;
  font-size: 0.92rem;
}

html body.home-v17 .home-contract-bed {
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #fbf7f2 !important;
}
html body.home-v17 .home-bed-system {
  display: grid;
  grid-template-columns: minmax(420px, 0.74fr) minmax(0, 1.26fr);
  align-items: stretch;
  min-height: 480px;
  border-bottom: 1px solid #e3d5cb;
  background: linear-gradient(135deg, #fffdf9 0%, #f7efe7 100%);
}
html body.home-v17 .home-contract-bed-copy {
  align-self: center !important;
  padding: 48px 28px 48px clamp(42px, 5vw, 76px) !important;
}
html body.home-v17 .home-contract-bed h2 {
  max-width: 690px !important;
  font-size: clamp(2.55rem, 3vw, 3.2rem) !important;
  line-height: 1 !important;
  text-wrap: balance !important;
}
html body.home-v17 .home-bed-lead {
  max-width: 650px !important;
  margin: 0 0 18px !important;
  color: #5f534c !important;
  font-size: 1.03rem !important;
  line-height: 1.58 !important;
}
html body.home-v17 .home-bed-results {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border-top: 1px solid #dfd0c5;
  list-style: none !important;
}
html body.home-v17 .home-bed-results li {
  min-height: 0;
  padding: 12px 0;
  border-bottom: 1px solid #dfd0c5;
}
html body.home-v17 .home-bed-results li:nth-child(even) {
  padding-left: 0;
  border-left: 0;
}
html body.home-v17 .home-bed-results :is(strong, span) {
  display: block;
}
html body.home-v17 .home-bed-results strong {
  margin-bottom: 3px;
  color: var(--contract-ink);
  font-size: 0.96rem;
}
html body.home-v17 .home-bed-results span {
  color: #70635c;
  font-size: 0.88rem;
  line-height: 1.42;
}
html body.home-v17 .home-contract-complete {
  display: block;
  margin: 0;
  min-height: 480px;
  padding: 0;
  overflow: hidden;
  background: #e8dfd5;
}
html body.home-v17 .home-contract-complete :is(picture, img) {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 480px;
  object-fit: cover !important;
  object-position: center 78% !important;
}
html body.home-v17 .home-bed-construction {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(560px, 1.12fr) minmax(310px, 0.62fr);
  align-items: stretch;
  min-height: 470px;
  background: #fffdf9;
}
html body.home-v17 .home-bed-construction-copy {
  align-self: center;
  padding: 44px 14px 44px clamp(38px, 4vw, 62px);
}
html body.home-v17 .home-bed-construction-copy h3 {
  max-width: 380px;
  margin: 8px 0 16px;
  color: var(--contract-green);
  font: 500 clamp(2.05rem, 2.55vw, 2.7rem)/1.02 Georgia, serif;
  text-wrap: balance;
}
html body.home-v17 .home-bed-construction-copy p {
  max-width: 360px;
  margin: 0;
  color: #675b54;
  font-size: 0.96rem;
  line-height: 1.55;
}
html body.home-v17 .home-contract-product {
  position: relative !important;
  align-self: center !important;
  justify-self: center !important;
  box-sizing: border-box !important;
  width: min(100%, 680px) !important;
  margin: 0 !important;
  padding: 30px 18px !important;
}
html body.home-v17 .home-contract-product :is(picture, img) {
  width: 100% !important;
  max-width: 680px !important;
  height: auto !important;
  object-fit: contain !important;
}
html body.home-v17 .home-bed-fifth-marker {
  position: absolute;
  left: 82%;
  top: 85%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #a65a35;
  color: #fff;
  font: 800 0.95rem/1 Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(67, 35, 24, 0.18);
}
html body.home-v17 .home-bed-proof {
  grid-column: auto !important;
  grid-template-columns: 1fr !important;
  align-self: stretch !important;
  align-content: center !important;
  padding: 24px 28px !important;
  border: 0 !important;
  border-left: 1px solid #e3d5cb !important;
  border-radius: 0 !important;
  background: #f7efe7 !important;
}
html body.home-v17 .home-bed-proof > div {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  min-height: 0 !important;
  padding: 15px 0 !important;
  border: 0 !important;
}
html body.home-v17 .home-bed-proof > div + div {
  border-top: 1px solid #dfd0c5 !important;
  border-left: 0 !important;
}
html body.home-v17 .home-bed-proof > div > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--contract-clay);
  color: #fff !important;
  font-size: 0.84rem !important;
  font-weight: 850;
}
html body.home-v17 .home-bed-proof p {
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
}
html body.home-v17 .home-bed-proof strong {
  margin-bottom: 2px !important;
  font-size: 0.9rem !important;
}

html body.home-v17 .home-contract-close {
  grid-template-columns: 1fr !important;
}
html body.home-v17 .home-contract-insights {
  grid-template-columns: minmax(300px, 0.32fr) minmax(0, 0.68fr) !important;
  min-height: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--contract-line) !important;
}
html body.home-v17 .home-contract-insights figure {
  align-self: stretch !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 390px !important;
  padding: 24px !important;
}
html body.home-v17 .home-contract-insights figure :is(picture, img) {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
html body.home-v17 .home-contract-insights > div {
  align-self: center !important;
  padding: 38px clamp(34px, 4vw, 58px) 34px !important;
}
html body.home-v17 .home-contract-insights h2 {
  max-width: 760px !important;
  margin-bottom: 12px !important;
  font-size: clamp(2.4rem, 3.1vw, 3.2rem) !important;
  line-height: 1 !important;
  text-wrap: balance !important;
}
html body.home-v17 .home-insight-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 20px 0 16px !important;
}
html body.home-v17 .home-insight-metrics > div {
  min-height: 104px;
  padding: 0 14px !important;
  border: 0 !important;
  border-left: 1px solid #ded2c9 !important;
  border-radius: 0;
  background: transparent;
}
html body.home-v17 .home-insight-metrics > div:first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}
html body.home-v17 .home-insight-metrics > div::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: #f3e8df;
  color: var(--contract-clay);
  content: "01";
  font: 850 0.78rem/1 Arial, sans-serif;
}
html body.home-v17 .home-insight-metrics > div:nth-child(2)::before {
  content: "02";
}
html body.home-v17 .home-insight-metrics > div:nth-child(3)::before {
  content: "03";
}
html body.home-v17 .home-insight-metrics > div:nth-child(4)::before {
  content: "04";
}
html body.home-v17 .home-insight-metrics dt {
  margin-bottom: 4px;
  font-size: 0.94rem;
}
html body.home-v17 .home-insight-metrics dd {
  color: #655a54 !important;
  font-size: 0.82rem;
  line-height: 1.35;
}
html body.home-v17 .home-insight-action {
  margin: 0 0 6px !important;
  color: #493f39;
  font-size: 0.9rem;
}
html body.home-v17 .home-contract-insights > div > small {
  display: block;
  margin-bottom: 12px;
  color: #75675f;
  font-size: 0.82rem;
}

body.loss-v7 .loss-first-days .wm-wrap > div {
  align-items: stretch;
}
body.loss-v7 .loss-first-days article {
  display: flex;
  height: 100%;
  flex-direction: column;
}
body.loss-v7 .loss-first-days article figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
body.loss-v7 .loss-first-days article img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 38%;
}
body.loss-v7 .loss-first-days article:nth-child(2) img,
body.loss-v7 .loss-first-days article:nth-child(3) img {
  object-position: center;
}
body.loss-v7 .loss-first-days article h3 {
  min-height: 2.25em;
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  line-height: 1.12;
}
body.loss-v7 .loss-first-days article p {
  line-height: 1.52;
}
body.loss-v7 .loss-first-days article .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
}
.loss-script-label,
.guide-script-label,
.memorial-words-label {
  display: block;
  margin: 20px 0 8px;
  color: #b84f32;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.loss-call-script,
.guide-visit-script,
.memorial-wording {
  margin: 0 0 24px;
  padding-left: 22px;
  border-left: 4px solid #df7b5d;
  color: #3d322d;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  line-height: 1.38;
}
body.memorial-v7 .memorial-memory-prompts .wm-wrap > div > p {
  margin: 0;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  color: #5d3a30;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.35;
}
body.memorial-v7 .memorial-checkout-status {
  margin: 18px 0 0;
  color: #5d3a30;
  font-weight: 750;
}
.bobby-letter blockquote cite {
  display: block;
  margin-top: 18px;
  color: #7b6c64;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  html body.home-v17 .home-bed-system {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.home-v17 .home-contract-bed-copy {
    padding: 42px 18px 42px 38px !important;
  }
  html body.home-v17 .home-bed-construction {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  }
  html body.home-v17 .home-bed-construction-copy {
    padding-left: 38px;
  }
  html body.home-v17 .home-bed-proof {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    padding: 0 24px !important;
    border-top: 1px solid #e3d5cb !important;
    border-left: 0 !important;
  }
  html body.home-v17 .home-bed-proof > div {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    padding: 20px 12px !important;
  }
  html body.home-v17 .home-bed-proof > div + div {
    border-top: 0 !important;
    border-left: 1px solid #dfd0c5 !important;
  }
}

@media (max-width: 900px) {
  html body.home-v17 .home-bed-system,
  html body.home-v17 .home-bed-construction,
  html body.home-v17 .home-contract-insights {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-bed-copy,
  html body.home-v17 .home-bed-construction-copy,
  html body.home-v17 .home-contract-insights > div {
    padding: 40px 32px !important;
  }
  html body.home-v17 .home-bed-system {
    min-height: 0;
  }
  html body.home-v17 .home-bed-results {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body.home-v17 .home-bed-results li {
    min-height: 106px;
    padding: 15px 16px 14px 0;
  }
  html body.home-v17 .home-bed-results li:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid #dfd0c5;
  }
  html body.home-v17 .home-contract-complete {
    min-height: 430px;
    padding: 0;
  }
  html body.home-v17 .home-contract-complete :is(picture, img) {
    min-height: 430px;
  }
  html body.home-v17 .home-contract-product {
    padding: 10px 24px 30px !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 0 24px 18px !important;
  }
  html body.home-v17 .home-bed-proof > div,
  html body.home-v17 .home-bed-proof > div + div {
    border: 0 !important;
    border-top: 1px solid #dfd0c5 !important;
  }
  html body.home-v17 .home-contract-insights figure {
    min-height: 300px !important;
    padding: 26px !important;
  }
  html body.home-v17 .home-insight-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    row-gap: 16px !important;
  }
  html body.home-v17 .home-insight-metrics > div:nth-child(3) {
    padding-left: 0 !important;
    border-left: 0 !important;
  }
}

@media (max-width: 620px) {
  html body.home-v17 .home-contract-bed-copy,
  html body.home-v17 .home-bed-construction-copy,
  html body.home-v17 .home-contract-insights > div {
    padding: 30px 22px !important;
  }
  html body.home-v17 .home-contract-bed h2,
  html body.home-v17 .home-bed-construction-copy h3,
  html body.home-v17 .home-contract-insights h2 {
    max-width: none !important;
    font-size: clamp(1.92rem, 9.1vw, 2.22rem) !important;
    line-height: 1.02 !important;
  }
  html body.home-v17 .home-bed-results {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-bed-results li,
  html body.home-v17 .home-bed-results li:nth-child(even) {
    min-height: 0;
    padding: 13px 0;
    border-left: 0;
  }
  html body.home-v17 .home-contract-complete {
    min-height: 360px;
    padding: 0;
  }
  html body.home-v17 .home-contract-complete :is(picture, img) {
    min-height: 360px;
  }
  html body.home-v17 .home-contract-product {
    padding: 0 12px 24px !important;
  }
  html body.home-v17 .home-bed-fifth-marker {
    left: 82% !important;
    top: 85% !important;
    width: 30px !important;
    height: 30px !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-insight-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html body.home-v17 .home-bed-proof {
    padding: 0 22px 18px !important;
  }
  html body.home-v17 .home-bed-proof > div {
    min-height: 0 !important;
    padding: 14px 0 !important;
  }
  html body.home-v17 .home-contract-insights figure {
    min-height: 220px !important;
    padding: 20px !important;
  }
  html body.home-v17 .home-insight-metrics > div {
    min-height: 0 !important;
  }
  .loss-call-script,
  .guide-visit-script,
  .memorial-wording {
    padding-left: 16px;
    font-size: 1.25rem;
  }
}

/* 2026-08-27.5 — compact live workflows: remove empty split-panel space. */
html body.find-care-v7 .directory-hero-v6 {
  gap: 18px 30px !important;
  margin-block: 18px 26px !important;
  padding: 26px 30px !important;
}
html body.find-care-v7 .directory-hero-heading > span {
  margin-bottom: 6px !important;
}
html body.find-care-v7 .directory-hero-v6 .directory-hero-heading h1 {
  margin-bottom: 9px !important;
  font-size: clamp(2.45rem, 3.8vw, 3.65rem) !important;
}
html body.find-care-v7 .directory-hero-v6 > .directory-selectors {
  align-content: start !important;
  align-self: start !important;
  padding: 0 !important;
}
html body.find-care-v7 .directory-hero-v6 > figure {
  position: relative !important;
  align-self: start !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
}
html body.find-care-v7 .directory-results-v6 {
  padding-block: 38px !important;
}
html body.find-care-v7 .practice-band-v6 {
  padding-block: 40px !important;
}
html body.find-care-v7 .practice-band-v6 > .wm-wrap {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr) !important;
  align-items: stretch !important;
  min-height: 0 !important;
}
html body.find-care-v7 .practice-band-v6 figure {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
html body.find-care-v7 .practice-band-v6 figure :is(picture, img) {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.find-care-v7 .provider-form-v6 {
  align-content: start !important;
  min-height: 0 !important;
  padding: 34px !important;
}
html body.find-care-v7 .provider-form-v6 textarea {
  min-height: 126px !important;
}

html body.health-v1 .health-shell {
  padding: 22px clamp(18px, 3vw, 40px) 46px !important;
}
html body.health-v1 .health-hero {
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr) !important;
  align-items: stretch !important;
  min-height: 0 !important;
  margin: 0 auto 28px !important;
}
html body.health-v1 .health-hero > figure {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
html body.health-v1 .health-hero > figure :is(picture, img) {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.health-v1 .health-hero-copy {
  align-content: center !important;
  min-height: 0 !important;
  padding: 38px 44px !important;
}
html body.health-v1 .health-hero-copy > h2 {
  margin-bottom: 15px !important;
  font-size: clamp(2.35rem, 4vw, 3.8rem) !important;
}
html body.health-v1 .health-tools,
html body.health-v1 .health-insights,
html body.health-v1 .health-share,
html body.health-v1 .health-timeline-section {
  margin-top: 28px !important;
}

html body.match-v6 .match-form-section {
  padding-block: 42px !important;
}
html body.match-v6 .match-form-section > .wm-wrap {
  display: block !important;
  width: min(1120px, calc(100% - 40px)) !important;
}
html body.match-v6 .match-form-section > .wm-wrap > div {
  margin: 0 auto 22px !important;
  text-align: center !important;
}
html body.match-v6 .match-form-section > .wm-wrap > div h2 {
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(2.2rem, 3.6vw, 3.25rem) !important;
}
html body.match-v6 .match-form-v6 {
  width: 100% !important;
  padding: 30px !important;
}
html body.match-v6 .match-form-v6 textarea {
  min-height: 118px !important;
}

html body.memorial-v7 .tree-purchase-dialog {
  width: min(880px, calc(100% - 30px)) !important;
  max-height: calc(100dvh - 28px) !important;
  padding: 0 !important;
}
html body.memorial-v7 .tree-purchase-dialog > div {
  padding: 30px 34px 34px !important;
}
html body.memorial-v7 .tree-purchase-dialog h2 {
  margin: 0 54px 8px 0 !important;
  font-size: clamp(2.25rem, 4vw, 3.35rem) !important;
  line-height: 1 !important;
}
html body.memorial-v7 .tree-purchase-dialog .tree-price {
  margin: 0 0 22px !important;
  font-size: 1.5rem !important;
}
html body.memorial-v7 .tree-purchase-dialog form {
  padding: 24px !important;
}
html body.memorial-v7 .tree-purchase-dialog textarea {
  min-height: 118px !important;
}

html body.guide-v8 .email-capture {
  padding: 24px !important;
}

@media (max-width: 820px) {
  html body.find-care-v7 .practice-band-v6 > .wm-wrap,
  html body.health-v1 .health-hero {
    grid-template-columns: 1fr !important;
  }
  html body.find-care-v7 .practice-band-v6 figure {
    aspect-ratio: 16 / 10 !important;
  }
  html body.health-v1 .health-hero > figure {
    aspect-ratio: 16 / 10 !important;
  }
  html body.match-v6 .match-form-section > .wm-wrap {
    width: min(100% - 24px, 720px) !important;
  }
}

@media (max-width: 620px) {
  html body.find-care-v7 .directory-hero-v6 {
    padding: 22px 16px !important;
  }
  html body.find-care-v7 .provider-form-v6,
  html body.health-v1 .health-hero-copy,
  html body.match-v6 .match-form-v6,
  html body.memorial-v7 .tree-purchase-dialog > div,
  html body.memorial-v7 .tree-purchase-dialog form {
    padding: 22px 18px !important;
  }
  html body.health-v1 .health-shell {
    padding-inline: 10px !important;
  }
}

/* 2026-08-27 — complete product view and plain-language Smart Base outcomes. */
html body.home-v17 .home-contract-complete {
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 460px !important;
  background: #eee6dc !important;
}
html body.home-v17 .home-bed-lifestyle {
  width: 100%;
  height: 100%;
}
html body.home-v17 .home-contract-complete .home-bed-lifestyle :is(picture, img) {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.home-v17 .home-bed-pair-card {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: min(42%, 330px);
  gap: 5px;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px 9px;
  border: 1px solid rgba(91, 68, 55, 0.18);
  border-radius: 13px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 12px 30px rgba(54, 37, 27, 0.12);
  color: #40362f;
  text-align: center;
  backdrop-filter: blur(10px);
}
html body.home-v17 .home-bed-pair-card :is(picture, img) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
}
html body.home-v17 .home-bed-pair-card strong {
  font-size: 0.76rem;
  line-height: 1.25;
}
html body.home-v17 .home-bed-layer-figure .home-bed-fifth-marker {
  left: 82% !important;
  top: 85% !important;
  display: grid !important;
}
html body.home-v17 .home-bed-proof p {
  color: #685b54 !important;
}
html body.home-v17 .home-bed-proof strong {
  color: #392f2a !important;
}
html body.home-v17 .home-insight-metrics > div {
  min-height: 124px !important;
}
html body.home-v17 .home-insight-metrics dd {
  font-size: 0.8rem !important;
  line-height: 1.42 !important;
}

@media (max-width: 900px) {
  html body.home-v17 .home-contract-complete {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
  }
}

@media (max-width: 620px) {
  html body.home-v17 .home-contract-complete {
    display: grid !important;
    aspect-ratio: auto !important;
  }
  html body.home-v17 .home-bed-lifestyle {
    aspect-ratio: 16 / 10;
  }
  html body.home-v17 .home-bed-pair-card {
    position: static;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 8px 10px;
  }
  html body.home-v17 .home-insight-metrics > div {
    min-height: 0 !important;
  }
}

/* 2026-08-27.4 — compact, outcome-led product, care, story and footer corrections. */
html body .editorial-heading {
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 980px) !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
}
html body .editorial-heading > div {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}
html body .editorial-heading :is(h1, h2, h3) {
  width: 100% !important;
  max-width: none !important;
  text-wrap: balance !important;
}
html body .editorial-heading p {
  max-width: 820px !important;
  margin-inline: auto !important;
  text-wrap: pretty !important;
}

/* Complete Bed + Smart Base: crop to the dog and product, not the curtain. */
html body.home-v17 .home-bed-system {
  grid-template-columns: minmax(390px, 0.72fr) minmax(0, 1.28fr) !important;
  min-height: 0 !important;
}
html body.home-v17 .home-contract-bed-copy {
  padding: 42px 30px 42px clamp(38px, 4vw, 60px) !important;
}
html body.home-v17 .home-contract-bed h2 {
  max-width: none !important;
  font-size: clamp(2.35rem, 2.85vw, 3rem) !important;
}
html body.home-v17 .home-contract-complete {
  aspect-ratio: 1.4 / 1 !important;
  min-height: 0 !important;
}
html body.home-v17 .home-contract-complete :is(picture, img) {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center 69% !important;
}
html body.home-v17 .home-bed-results li {
  padding-block: 10px !important;
}

html body.home-v17 .home-bed-construction {
  grid-template-columns: minmax(250px, 0.54fr) minmax(520px, 1.16fr) minmax(280px, 0.58fr) !important;
  min-height: 430px !important;
}
html body.home-v17 .home-bed-construction-copy {
  padding: 34px 12px 34px clamp(34px, 3.6vw, 54px) !important;
}
html body.home-v17 .home-bed-construction-copy h3 {
  width: 100% !important;
  max-width: none !important;
  font-size: clamp(2rem, 2.35vw, 2.48rem) !important;
}
html body.home-v17 .home-contract-product {
  padding: 16px 12px !important;
}
html body.home-v17 .home-bed-fifth-marker {
  display: none !important;
}
html body.home-v17 .home-bed-proof {
  padding: 18px 24px !important;
}
html body.home-v17 .home-bed-proof > div,
html body.home-v17 .home-bed-proof > div + div {
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 13px 0 !important;
}
html body.home-v17 .home-bed-proof > div > span {
  display: none !important;
}

/* Credentials belong to the portrait they verify. */
html body.home-v17 .home-contract-evidence {
  grid-template-columns: minmax(230px, 0.3fr) minmax(0, 0.7fr) !important;
  min-height: 0 !important;
}
html body.home-v17 .home-contract-evidence figure {
  align-content: center !important;
  display: grid !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 270px !important;
  padding: 26px !important;
}
html body.home-v17 .home-contract-evidence figure :is(picture, img) {
  width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
}
html body.home-v17 .home-vet-credential {
  gap: 4px !important;
  margin: 0 !important;
  text-align: center !important;
}
html body.home-v17 .home-vet-credential strong {
  font-size: 0.92rem !important;
}
html body.home-v17 .home-vet-credential span {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}
html body.home-v17 .home-contract-evidence > div {
  padding: 34px 52px 34px 12px !important;
}
html body.home-v17 .home-contract-evidence h2 {
  max-width: none !important;
  font-size: clamp(2rem, 2.75vw, 2.85rem) !important;
}

/* Smart Base: product and result share the frame without dead space. */
html body.home-v17 .home-contract-insights {
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr) !important;
}
html body.home-v17 .home-contract-insights figure {
  min-height: 0 !important;
  padding: 24px !important;
}
html body.home-v17 .home-contract-insights > div {
  padding: 34px clamp(30px, 3.5vw, 50px) !important;
}
html body.home-v17 .home-contract-insights h2 {
  width: 100% !important;
  max-width: none !important;
  font-size: clamp(2.2rem, 2.8vw, 2.85rem) !important;
}

/* Find care: a full-width promise, immediate filters and visible results. */
html body.find-care-v7 .directory-hero-v6 {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  gap: 24px 38px !important;
  width: min(1320px, calc(100% - 48px)) !important;
  min-height: 0 !important;
  margin: 26px auto 34px !important;
  padding: 34px !important;
}
html body.find-care-v7 .directory-hero-heading {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: center !important;
}
html body.find-care-v7 .directory-hero-heading > span {
  display: block !important;
  margin-bottom: 8px !important;
  color: #b84f32 !important;
  font-size: 0.76rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.14em !important;
}
html body.find-care-v7 .directory-hero-v6 .directory-hero-heading h1 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 12px !important;
  font-size: clamp(2.65rem, 4.2vw, 4rem) !important;
  line-height: 1 !important;
  white-space: normal !important;
  text-wrap: balance !important;
}
html body.find-care-v7 .directory-hero-heading p {
  max-width: 820px !important;
  margin: 0 auto !important;
  font-size: 1.04rem !important;
  line-height: 1.55 !important;
}
html body.find-care-v7 .directory-hero-v6 > .directory-selectors {
  align-content: center !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  min-width: 0 !important;
  padding: 8px 0 !important;
}
html body.find-care-v7 .directory-selectors .directory-apply {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-height: 50px !important;
}
html body.find-care-v7 .directory-control-status {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  color: #655951 !important;
  font-size: 0.88rem !important;
  text-align: center !important;
}
html body.find-care-v7 .directory-hero-v6 > figure {
  min-height: 310px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
}
html body.find-care-v7 .directory-hero-v6 > figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.find-care-v7 .directory-results-v6 {
  scroll-margin-top: 84px !important;
  padding-block: 52px !important;
}

/* Bobby's story stays personal without oversized empty bands. */
html body.about-v6 .bobby-hero {
  gap: clamp(30px, 4vw, 58px) !important;
  max-width: 1140px !important;
  padding: 36px 28px 46px !important;
}
html body.about-v6 .bobby-hero > div {
  text-align: center !important;
}
html body.about-v6 .bobby-hero h1,
html body.about-v6 .bobby-hero p {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}
html body.about-v6 .bobby-hero h1 {
  margin-bottom: 18px !important;
  font-size: clamp(2.35rem, 3.7vw, 3.35rem) !important;
  line-height: 1.02 !important;
}
html body.about-v6 .bobby-letter {
  padding: clamp(42px, 5vw, 64px) 24px !important;
}
html body.about-v6 .bobby-letter p {
  margin-bottom: 22px !important;
  line-height: 1.62 !important;
}
html body.about-v6 .bobby-letter blockquote {
  margin: 32px 0 !important;
}
html body.about-v6 .bobby-purpose {
  padding: clamp(44px, 5vw, 64px) 24px !important;
}
html body.about-v6 .bobby-purpose header {
  margin-bottom: 34px !important;
}
html body.about-v6 .bobby-purpose .wm-wrap > div {
  margin-bottom: 32px !important;
}
html body.about-v6 .bobby-purpose article {
  padding: 30px 28px !important;
}
html body.about-v6 .bobby-closing {
  padding: 44px 24px !important;
}

/* Loss-support grids: equal media, compact copy, no artificial card height. */
html body.loss-v7 .loss-journey {
  padding: 48px 0 !important;
}
html body.loss-v7 .loss-journey article {
  min-height: 0 !important;
  padding: 22px !important;
}
html body.loss-v7 .loss-first-days {
  padding: 46px 0 !important;
}
html body.loss-v7 .loss-first-days article {
  min-height: 0 !important;
  padding: 12px 12px 20px !important;
}
html body.loss-v7 .loss-first-days article figure {
  aspect-ratio: 3 / 2 !important;
}
html body.loss-v7 .loss-first-days article h3 {
  min-height: 0 !important;
}

/* Compact footer: social links form one row instead of a tall brand column. */
html body .wm-footer .wm-footer-grid {
  width: min(1280px, calc(100% - 56px)) !important;
  grid-template-columns: minmax(210px, 1.25fr) repeat(5, minmax(110px, 1fr)) !important;
  gap: 24px !important;
  padding: 30px 0 22px !important;
}
html body .wm-footer .wm-footer-brand p {
  max-width: 230px !important;
  margin-bottom: 12px !important;
}
html body .wm-footer .wm-footer-bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 22px !important;
  width: min(1280px, calc(100% - 56px)) !important;
  padding: 14px 0 18px !important;
}
html body .wm-footer .wm-footer-socials {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 18px !important;
  margin: 0 !important;
}
html body .wm-footer .wm-footer-socials a {
  margin: 0 !important;
}

@media (max-width: 1100px) {
  html body.home-v17 .home-bed-construction {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr) !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    padding: 0 20px !important;
  }
  html body.home-v17 .home-bed-proof > div,
  html body.home-v17 .home-bed-proof > div + div {
    padding: 18px 12px !important;
  }
  html body .wm-footer .wm-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  html body .wm-footer .wm-footer-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  html body.home-v17 .home-bed-system,
  html body.home-v17 .home-bed-construction,
  html body.home-v17 .home-contract-insights {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-complete {
    aspect-ratio: 4 / 3 !important;
  }
  html body.home-v17 .home-contract-evidence {
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr) !important;
  }
  html body.home-v17 .home-contract-evidence > div {
    padding: 28px 24px 28px 0 !important;
  }
  html body.find-care-v7 .directory-hero-v6 {
    grid-template-columns: 1fr !important;
  }
  html body.find-care-v7 .directory-hero-heading {
    grid-column: 1 !important;
  }
  html body .wm-footer .wm-footer-bottom {
    grid-template-columns: 1fr auto !important;
  }
  html body .wm-footer .wm-footer-socials {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 620px) {
  html body.home-v17 .home-contract-bed-copy,
  html body.home-v17 .home-bed-construction-copy,
  html body.home-v17 .home-contract-insights > div {
    padding: 28px 20px !important;
  }
  html body.home-v17 .home-contract-complete {
    aspect-ratio: 1 / 1 !important;
  }
  html body.home-v17 .home-bed-proof {
    grid-template-columns: 1fr !important;
    padding: 0 20px 16px !important;
  }
  html body.home-v17 .home-contract-evidence {
    grid-template-columns: 1fr !important;
  }
  html body.home-v17 .home-contract-evidence figure {
    max-width: 230px !important;
    margin-inline: auto !important;
    padding: 24px 20px 8px !important;
  }
  html body.home-v17 .home-contract-evidence > div {
    padding: 18px 20px 28px !important;
    text-align: center !important;
  }
  html body.find-care-v7 .directory-hero-v6 {
    width: calc(100% - 20px) !important;
    margin: 10px auto 26px !important;
    padding: 26px 18px !important;
  }
  html body.find-care-v7 .directory-hero-v6 .directory-hero-heading h1 {
    font-size: clamp(2rem, 10vw, 2.45rem) !important;
  }
  html body.find-care-v7 .directory-hero-v6 > .directory-selectors {
    grid-template-columns: 1fr !important;
  }
  html body.find-care-v7 .directory-selectors .directory-apply,
  html body.find-care-v7 .directory-control-status {
    grid-column: 1 !important;
  }
  html body.find-care-v7 .directory-hero-v6 > figure {
    min-height: 220px !important;
  }
  html body.about-v6 .bobby-hero {
    gap: 24px !important;
    padding: 20px 18px 34px !important;
  }
  html body.about-v6 .bobby-hero h1 {
    font-size: clamp(1.95rem, 9.2vw, 2.35rem) !important;
  }
  html body.about-v6 .bobby-letter,
  html body.about-v6 .bobby-purpose,
  html body.about-v6 .bobby-closing {
    padding-block: 38px !important;
  }
  html body .wm-footer .wm-footer-grid,
  html body .wm-footer .wm-footer-bottom {
    width: calc(100% - 32px) !important;
  }
  html body .wm-footer .wm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 18px !important;
    padding: 26px 0 18px !important;
  }
  html body .wm-footer .wm-footer-bottom {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  html body .wm-footer .wm-footer-bottom > :is(span, nav) {
    grid-column: 1 !important;
  }
}

/* Final find-care density pass; this intentionally follows the shared footer rules. */
html body.find-care-v7 .directory-hero-v6 {
  gap: 18px 30px !important;
  margin: 18px auto 26px !important;
  padding: 26px 30px !important;
}
html body.find-care-v7 .directory-hero-v6 > .directory-selectors {
  align-content: start !important;
  align-self: start !important;
  padding: 0 !important;
}
html body.find-care-v7 .directory-hero-v6 > figure {
  align-self: start !important;
  box-sizing: border-box !important;
  height: 238px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
}
html body.find-care-v7 .directory-hero-v6 > figure img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
@media (max-width: 620px) {
  html body.find-care-v7 .directory-hero-v6 {
    width: calc(100% - 20px) !important;
    margin: 10px auto 22px !important;
    padding: 22px 16px !important;
  }
  html body.find-care-v7 .directory-hero-v6 > figure {
    height: 210px !important;
  }
}

/* Final product composition overrides must follow the earlier crop rules. */
html body.home-v17 .home-contract-complete {
  aspect-ratio: 16 / 9 !important;
  min-height: 460px !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body.home-v17 .home-bed-lifestyle {
  min-width: 0 !important;
}
html body.home-v17 .home-contract-complete .home-bed-lifestyle :is(picture, img) {
  object-position: center !important;
}
html body.home-v17 .home-contract-complete .home-bed-pair-card :is(picture, img) {
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
html body.home-v17 .home-bed-layer-figure .home-bed-fifth-marker {
  display: grid !important;
}
@media (max-width: 900px) {
  html body.home-v17 .home-contract-complete {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
  }
}
@media (max-width: 620px) {
  html body.home-v17 .home-contract-complete {
    aspect-ratio: auto !important;
  }
}

/* 2026-08-27.7 — one complete product image and consistent editorial media. */
html body.home-v17 .home-contract-complete {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
}
html body.home-v17 .home-bed-lifestyle,
html body.home-v17 .home-bed-lifestyle > picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
html body.home-v17 .home-contract-complete .home-bed-lifestyle img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.circle-v10 .circle-public-card > figure {
  aspect-ratio: 16 / 10 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f4eee8 !important;
}
html body.circle-v10 .circle-public-card > figure > a,
html body.circle-v10 .circle-public-card > figure picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
html body.circle-v10 .circle-public-card > figure img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}
html body.loss-v7 .loss-first-days article figure,
html body.match-v6 .match-issues article figure {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
}
html body.loss-v7 .loss-first-days article figure img,
html body.match-v6 .match-issues article figure img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}

@media (max-width: 620px) {
  html body.home-v17 .home-contract-complete {
    aspect-ratio: 16 / 10 !important;
  }
}

/* 2026-08-27.8 — centered section introductions and even memorial evidence. */
html {
  scroll-behavior: auto !important;
}

html body main > section > .wm-wrap > header,
html body main > section > header,
html body main > section > .wm-wrap > .editorial-heading {
  width: min(100%, 1100px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  text-align: center !important;
}

html body main > section > .wm-wrap > header :is(h1, h2, h3, p),
html body main > section > header :is(h1, h2, h3, p),
html body main > section > .wm-wrap > .editorial-heading :is(h1, h2, h3, p) {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
  text-wrap: balance !important;
}

html body.memorial-v7 .memorial-partner-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

html body.memorial-v7 .memorial-partner-gallery figure {
  aspect-ratio: 4 / 3 !important;
  min-width: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

html body.memorial-v7 .memorial-partner-gallery :is(picture, img) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.memorial-v7 .memorial-partner-gallery picture {
  overflow: hidden !important;
}

html body.memorial-v7 .memorial-partner-gallery img {
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body.memorial-v7 .memorial-partner-gallery figure > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 900px) {
  html body.memorial-v7 .memorial-partner-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  html body.memorial-v7 .memorial-partner-gallery {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-08-29.1 — warm product construction panel and aligned Smart Base marker. */
html body.home-v17 .home-bed-construction {
  background: #efe2d3 !important;
}

html body.home-v17 .home-bed-construction-copy {
  background: #f3e8dc !important;
}

html body.home-v17 .home-contract-product {
  background: #ead8c7 !important;
}

html body.home-v17 .home-bed-proof {
  background: #f5e9dd !important;
}

html body.home-v17 .home-bed-layer-figure .home-bed-fifth-marker {
  left: 80.5% !important;
  top: 83.5% !important;
}

html body.home-v17 .home-bed-proof strong {
  margin-bottom: 4px !important;
  font-size: clamp(1.06rem, 1.08vw, 1.2rem) !important;
  line-height: 1.18 !important;
}

html body.home-v17 .home-bed-proof p {
  font-size: 0.9rem !important;
  line-height: 1.42 !important;
}

@media (max-width: 1100px) {
  html body.home-v17 .home-bed-proof strong {
    font-size: 1rem !important;
  }
}

/* 2026-08-30 — source-verified directory cards and living memorial checkout. */
html body.find-care-v7 .provider-grid-v6 {
  align-items: stretch !important;
  gap: 18px !important;
}

html body.find-care-v7 .provider-card-v6 {
  display: flex !important;
  min-height: 100% !important;
  overflow: hidden !important;
  border: 1px solid #dfd0c3 !important;
  border-radius: 16px !important;
  background: #fffaf6 !important;
  box-shadow: 0 12px 30px rgba(70, 45, 35, 0.08) !important;
}

html body.find-care-v7 .provider-card-v6[hidden] {
  display: none !important;
}

html body.find-care-v7 .provider-card-v6.has-photo > figure {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 176px !important;
  min-height: 176px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-bottom: 1px solid #e2d4ca !important;
  background: #f0e4d9 !important;
}

html body.find-care-v7 .provider-card-v6.has-photo > figure > a,
html body.find-care-v7 .provider-card-v6.has-photo > figure picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.find-care-v7 .provider-card-v6.has-photo > figure img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

html body.find-care-v7 .provider-card-v6.has-logo > figure {
  background: linear-gradient(145deg, #f4e9df 0%, #ead8ca 100%) !important;
}

html body.find-care-v7 .provider-card-v6.has-logo > figure img {
  padding: 28px 34px !important;
  object-fit: contain !important;
}

html body.find-care-v7 .provider-card-v6 > div:last-child {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  padding: 20px 20px 22px !important;
}

html body.find-care-v7 .provider-card-v6 h3 {
  margin: 0 0 5px !important;
  font-size: clamp(1.35rem, 1.7vw, 1.68rem) !important;
  line-height: 1.08 !important;
}

html body.find-care-v7 .provider-card-v6 .organization,
html body.find-care-v7 .provider-card-v6 .location,
html body.find-care-v7 .provider-card-v6 .provider-contact,
html body.find-care-v7 .provider-card-v6 .provider-summary,
html body.find-care-v7 .provider-card-v6 .provider-fit {
  margin: 0 !important;
}

html body.find-care-v7 .provider-card-v6 .organization {
  color: #6d4a3e !important;
  font-weight: 800 !important;
}

html body.find-care-v7 .provider-card-v6 .location {
  margin-top: 10px !important;
  color: #4e3a32 !important;
  font-weight: 750 !important;
  line-height: 1.42 !important;
}

html body.find-care-v7 .provider-card-v6 .provider-contact {
  margin-top: 5px !important;
  color: #a6472e !important;
  font-size: 0.92rem !important;
  line-height: 1.42 !important;
}

html body.find-care-v7 .provider-card-v6 .provider-summary {
  margin-top: 13px !important;
  color: #665850 !important;
  font-size: 0.94rem !important;
  line-height: 1.48 !important;
}

html body.find-care-v7 .provider-card-v6 .provider-fit {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid #eaded5 !important;
  color: #4b3b34 !important;
  font-size: 0.94rem !important;
  line-height: 1.48 !important;
}

html body.find-care-v7 .provider-card-v6 .provider-fit strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: #2d4c40 !important;
}

html body.find-care-v7 .provider-card-v6 .provider-checked {
  display: block !important;
  margin-top: auto !important;
  padding-top: 16px !important;
  color: #2f5a4b !important;
  font-size: 0.79rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
}

html body.find-care-v7 .provider-card-v6 > div:last-child > a:last-child {
  margin-top: 9px !important;
}

html body.find-care-v7 .directory-note-v6 {
  padding-block: 22px !important;
  background: #efe3d8 !important;
}

html body.find-care-v7 .directory-note-v6 p {
  max-width: 980px !important;
  text-align: center !important;
}

html body.memorial-v7 {
  --memorial-forest: #213f35;
  --memorial-rose: #b84f32;
  --memorial-cream: #f7eee6;
  --memorial-ink: #3d2c26;
}

html body.memorial-v7 .memorial-eyebrow {
  display: block !important;
  margin-bottom: 12px !important;
  color: #c35a3b !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

html body.memorial-v7 .memorial-hero-v6 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr) !important;
  width: min(1420px, calc(100% - 32px)) !important;
  min-height: 570px !important;
  margin: 18px auto 30px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: var(--memorial-forest) !important;
  box-shadow: 0 26px 70px rgba(49, 32, 27, 0.18) !important;
}

html body.memorial-v7 .memorial-hero-v6 > figure {
  position: relative !important;
  min-height: 570px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html body.memorial-v7 .memorial-hero-v6 > figure :is(picture, img) {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.memorial-v7 .memorial-hero-v6 > figure img {
  object-fit: contain !important;
  object-position: center !important;
}

html body.memorial-v7 .memorial-hero-v6 > div {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(42px, 5vw, 74px) !important;
  color: #fff9f4 !important;
  text-align: center !important;
}

html body.memorial-v7 .memorial-hero-v6 .memorial-eyebrow {
  color: #f2a98e !important;
}

html body.memorial-v7 .memorial-hero-v6 h1 {
  max-width: 16ch !important;
  margin: 0 auto 20px !important;
  color: #fff9f4 !important;
  font-size: clamp(2.85rem, 4.5vw, 4.45rem) !important;
  line-height: 0.98 !important;
  text-wrap: balance !important;
}

html body.memorial-v7 .memorial-hero-v6 p {
  max-width: 48ch !important;
  margin: 0 auto 22px !important;
  color: #f3e8df !important;
  font-size: clamp(1.03rem, 1.3vw, 1.2rem) !important;
  line-height: 1.58 !important;
}

html body.memorial-v7 .memorial-hero-proof {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 0 24px !important;
}

html body.memorial-v7 .memorial-hero-proof span {
  padding: 8px 12px !important;
  border: 1px solid rgba(255, 249, 244, 0.24) !important;
  border-radius: 999px !important;
  background: rgba(255, 249, 244, 0.08) !important;
  color: #fff9f4 !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
}

html body.memorial-v7 .memorial-hero-v6 small {
  margin-top: 13px !important;
  color: #d8c9bf !important;
  font-size: 0.82rem !important;
}

html body.memorial-v7 .memorial-meaning,
html body.memorial-v7 .memorial-story-grid,
html body.memorial-v7 .memorial-memory-prompts,
html body.memorial-v7 .memorial-partner,
html body.memorial-v7 .memorial-steps {
  padding-block: clamp(42px, 6vw, 76px) !important;
}

html body.memorial-v7 .memorial-meaning .wm-wrap {
  align-items: center !important;
  gap: clamp(28px, 5vw, 64px) !important;
}

html body.memorial-v7 .memorial-meaning .wm-wrap > div {
  text-align: center !important;
}

html body.memorial-v7 .memorial-meaning h2,
html body.memorial-v7 .memorial-story-grid h2,
html body.memorial-v7 .memorial-memory-prompts h2,
html body.memorial-v7 .memorial-partner h2,
html body.memorial-v7 .memorial-steps-copy h2 {
  margin-inline: auto !important;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem) !important;
  line-height: 1 !important;
  text-align: center !important;
  text-wrap: balance !important;
}

html body.memorial-v7 .memorial-meaning figure {
  position: relative !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
}

html body.memorial-v7 .memorial-meaning figure :is(picture, img) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

html body.memorial-v7 .memorial-meaning figure img {
  object-fit: contain !important;
}

html body.memorial-v7 .memorial-story-grid .wm-wrap > div {
  gap: 18px !important;
}

html body.memorial-v7 .memorial-story-grid article {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  padding: 0 0 24px !important;
  overflow: hidden !important;
  border: 1px solid #e1d1c5 !important;
  border-radius: 18px !important;
  background: #fffaf6 !important;
}

html body.memorial-v7 .memorial-story-grid article figure {
  position: relative !important;
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 22px !important;
}

html body.memorial-v7 .memorial-story-grid article figure :is(picture, img) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

html body.memorial-v7 .memorial-story-grid article figure img {
  object-fit: contain !important;
}

html body.memorial-v7 .memorial-story-grid article :is(h3, p) {
  margin-inline: 22px !important;
}

html body.memorial-v7 .memorial-memory-prompts {
  background: #efe1d5 !important;
}

html body.memorial-v7 .memorial-memory-prompts .wm-wrap > div {
  gap: 14px !important;
}

html body.memorial-v7 .memorial-memory-prompts .wm-wrap > div > p {
  border: 1px solid rgba(83, 54, 44, 0.14) !important;
  background: #fff8f2 !important;
  box-shadow: 0 10px 24px rgba(70, 45, 35, 0.07) !important;
}

html body.memorial-v7 .memorial-memory-prompts .button {
  display: flex !important;
  width: fit-content !important;
  margin: 24px auto 0 !important;
}

html body.memorial-v7 .memorial-partner-gallery {
  gap: 12px !important;
  margin-top: 28px !important;
}

html body.memorial-v7 .memorial-partner-gallery figure {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 9px 22px rgba(48, 35, 29, 0.09) !important;
}

html body.memorial-v7 .memorial-partner-gallery img {
  object-fit: contain !important;
}

html body.memorial-v7 .tree-purchase-dialog {
  width: min(1120px, calc(100% - 30px)) !important;
  max-height: calc(100dvh - 28px) !important;
  padding: 0 !important;
  overflow: auto !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: var(--memorial-cream) !important;
  box-shadow: 0 35px 100px rgba(38, 24, 20, 0.38) !important;
}

html body.memorial-v7 .tree-purchase-dialog::backdrop {
  background: rgba(45, 30, 25, 0.74) !important;
  backdrop-filter: blur(4px) !important;
}

html body.memorial-v7 .tree-purchase-dialog > .tree-dialog-shell {
  display: grid !important;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr) !important;
  min-height: 680px !important;
  padding: 0 !important;
}

html body.memorial-v7 .tree-dialog-close {
  position: fixed !important;
  z-index: 5 !important;
  top: max(22px, calc((100dvh - min(680px, calc(100dvh - 28px))) / 2 + 14px)) !important;
  right: max(22px, calc((100vw - min(1120px, calc(100vw - 30px))) / 2 + 14px)) !important;
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  height: 46px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 249, 244, 0.94) !important;
  color: #35251f !important;
  font-size: 1.8rem !important;
  cursor: pointer !important;
}

html body.memorial-v7 .tree-dialog-emotion {
  position: relative !important;
  min-height: 680px !important;
  overflow: hidden !important;
  background: #2a463c !important;
}

html body.memorial-v7 .tree-dialog-emotion > figure,
html body.memorial-v7 .tree-dialog-emotion > figure :is(picture, img) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

html body.memorial-v7 .tree-dialog-emotion > figure img {
  object-fit: contain !important;
  object-position: center !important;
}

html body.memorial-v7 .tree-dialog-emotion::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(27, 40, 35, 0.08) 22%, rgba(22, 35, 31, 0.92) 100%) !important;
}

html body.memorial-v7 .tree-dialog-emotion > div {
  position: absolute !important;
  z-index: 2 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding: 34px !important;
  color: #fff8f2 !important;
}

html body.memorial-v7 .tree-dialog-emotion .memorial-eyebrow {
  color: #f1ad94 !important;
}

html body.memorial-v7 .tree-dialog-emotion h2 {
  max-width: 12ch !important;
  margin: 0 0 14px !important;
  color: #fff8f2 !important;
  font-size: clamp(2.35rem, 4vw, 3.9rem) !important;
  line-height: 0.98 !important;
}

html body.memorial-v7 .tree-dialog-emotion p {
  margin: 0 0 16px !important;
  color: #eadfd7 !important;
  line-height: 1.5 !important;
}

html body.memorial-v7 .tree-dialog-emotion ul {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.memorial-v7 .tree-dialog-emotion li::before {
  content: "✓" !important;
  margin-right: 8px !important;
  color: #f1ad94 !important;
  font-weight: 900 !important;
}

html body.memorial-v7 .tree-dialog-form-panel {
  align-content: center !important;
  display: grid !important;
  padding: 34px 38px !important;
  background: #f7eee6 !important;
}

html body.memorial-v7 .tree-dialog-form-panel > .memorial-eyebrow,
html body.memorial-v7 .tree-dialog-form-panel > h2,
html body.memorial-v7 .tree-dialog-form-panel > p {
  text-align: center !important;
}

html body.memorial-v7 .tree-dialog-form-panel > h2 {
  margin: 0 auto 7px !important;
  color: var(--memorial-ink) !important;
  font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
  line-height: 1 !important;
}

html body.memorial-v7 .tree-dialog-form-panel .tree-price {
  margin: 0 0 8px !important;
  color: var(--memorial-rose) !important;
  font-family: var(--serif, Georgia, serif) !important;
  font-size: 1.55rem !important;
}

html body.memorial-v7 .tree-dialog-intro {
  max-width: 48ch !important;
  margin: 0 auto 18px !important;
  color: #6b5a52 !important;
  line-height: 1.48 !important;
}

html body.memorial-v7 .tree-purchase-dialog form {
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid #e1d0c3 !important;
  border-radius: 16px !important;
  background: #fffaf6 !important;
  box-shadow: none !important;
}

html body.memorial-v7 .tree-purchase-dialog form .form-grid {
  gap: 14px !important;
}

html body.memorial-v7 .tree-purchase-dialog :is(input, textarea) {
  background: #fff !important;
}

html body.memorial-v7 .tree-purchase-dialog textarea {
  min-height: 104px !important;
}

html body.memorial-v7 .tree-purchase-dialog form .button {
  width: 100% !important;
  justify-content: center !important;
  margin-top: 15px !important;
}

html body.memorial-v7 .tree-secure-note {
  margin: 11px 0 0 !important;
  color: #6e5d54 !important;
  font-size: 0.8rem !important;
  text-align: center !important;
}

@media (max-width: 980px) {
  html body.memorial-v7 .memorial-hero-v6 {
    grid-template-columns: 1fr !important;
  }

  html body.memorial-v7 .memorial-hero-v6 > figure {
    min-height: 390px !important;
  }

  html body.memorial-v7 .tree-purchase-dialog > .tree-dialog-shell {
    grid-template-columns: 1fr !important;
  }

  html body.memorial-v7 .tree-dialog-emotion {
    min-height: 300px !important;
  }

  html body.memorial-v7 .tree-dialog-emotion > div {
    padding: 26px !important;
  }

  html body.memorial-v7 .tree-dialog-emotion h2 {
    max-width: 16ch !important;
    font-size: 2.5rem !important;
  }

  html body.memorial-v7 .tree-dialog-emotion ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  html body.find-care-v7 .provider-card-v6.has-photo > figure {
    height: 164px !important;
    min-height: 164px !important;
  }

  html body.memorial-v7 .memorial-hero-v6 {
    width: calc(100% - 20px) !important;
    margin-top: 10px !important;
    border-radius: 18px !important;
  }

  html body.memorial-v7 .memorial-hero-v6 > figure {
    min-height: 270px !important;
  }

  html body.memorial-v7 .memorial-hero-v6 > div {
    padding: 34px 20px !important;
  }

  html body.memorial-v7 .memorial-hero-v6 h1 {
    max-width: none !important;
    font-size: clamp(2.5rem, 11.5vw, 3rem) !important;
  }

  html body.memorial-v7 .memorial-meaning h2,
  html body.memorial-v7 .memorial-story-grid h2,
  html body.memorial-v7 .memorial-memory-prompts h2,
  html body.memorial-v7 .memorial-partner h2,
  html body.memorial-v7 .memorial-steps-copy h2 {
    font-size: clamp(2rem, 9.2vw, 2.4rem) !important;
  }

  html body.memorial-v7 .memorial-meaning,
  html body.memorial-v7 .memorial-story-grid,
  html body.memorial-v7 .memorial-memory-prompts,
  html body.memorial-v7 .memorial-partner,
  html body.memorial-v7 .memorial-steps {
    padding-block: 36px !important;
  }

  html body.memorial-v7 .tree-purchase-dialog {
    width: calc(100% - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 16px !important;
  }

  html body.memorial-v7 .tree-dialog-close {
    top: 16px !important;
    right: 16px !important;
  }

  html body.memorial-v7 .tree-dialog-emotion {
    min-height: 238px !important;
  }

  html body.memorial-v7 .tree-dialog-emotion > div {
    padding: 22px !important;
  }

  html body.memorial-v7 .tree-dialog-emotion h2 {
    max-width: 14ch !important;
    margin-bottom: 8px !important;
    font-size: 2.15rem !important;
  }

  html body.memorial-v7 .tree-dialog-emotion p,
  html body.memorial-v7 .tree-dialog-emotion ul {
    display: none !important;
  }

  html body.memorial-v7 .tree-dialog-form-panel {
    padding: 24px 14px 18px !important;
  }

  html body.memorial-v7 .tree-dialog-form-panel > h2 {
    font-size: 2.45rem !important;
  }

  html body.memorial-v7 .tree-purchase-dialog form {
    padding: 18px 15px !important;
  }

  html body.memorial-v7 .tree-purchase-dialog form .form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Keep all five Smart Base signals visible without compressing the labels. */
html body.home-v17 .home-insight-metrics,
html body.bed-v7 .metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  html body.home-v17 .home-insight-metrics,
  html body.bed-v7 .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  html body.home-v17 .home-insight-metrics,
  html body.bed-v7 .metric-grid {
    grid-template-columns: 1fr !important;
  }
}
