/* Purrdopted's research-led editorial story. Scoped to this article. */
.purr-story {
  --story-ink: #4d3d61;
  --story-muted: #6b527d;
  --story-rule: #d5c6df;
  --story-blue: #e6dced;
  --story-loss: #a34d35;
  background: #fffaf2;
  color: var(--story-ink);
  padding-top: clamp(48px, 6vw, 88px);
}
.purr-story .editorial-story__shell {
  width: min(100% - 48px, 1120px);
}
.purr-story .editorial-story__header {
  max-width: 850px;
}
.purr-story .editorial-story__standfirst {
  font-size: clamp(27px, 3.1vw, 38px);
  color: var(--story-ink);
}
.purr-story .editorial-story__byline {
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: .02em;
}
.purr-story .purr-story-lead {
  margin: 52px auto 48px;
  max-width: 1040px;
}
.purr-story .purr-story-lead img {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
}
.purr-story figure {
  min-width: 0;
}
.purr-story .editorial-story__prose {
  max-width: 740px;
}
.purr-story .editorial-story__prose p {
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.65;
}
.purr-story .editorial-story__prose h2 {
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.1;
  margin-top: 64px;
}
.purr-story .editorial-story__prose .eyebrow {
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.purr-story .eyebrow + h2 {
  margin-top: 0;
}
.purr-story a:focus-visible,
.purr-story summary:focus-visible {
  outline: 3px solid #76548e;
  outline-offset: 5px;
}
.purr-story-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--story-muted);
  margin: 16px 0 0;
}
.purr-story-note a,
.purr-story-sources a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.purr-story-data {
  margin: 64px 0;
  padding: clamp(24px, 4vw, 48px);
  background: #f2edf5;
  border: 1px solid var(--story-rule);
  border-radius: 14px;
}
.purr-story-section-heading {
  max-width: 740px;
}
.purr-story-section-heading h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  margin: 12px 0 28px;
}
.purr-story-section-heading > p:last-child:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
}
.purr-story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--story-rule);
  border-radius: 10px;
  background: #fff;
  margin: 28px 0 0;
  overflow: hidden;
}
.purr-story-stats > div {
  padding: clamp(20px, 3vw, 32px);
}
.purr-story-stats > div + div {
  border-left: 1px solid var(--story-rule);
}
.purr-story-stats dt {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.05;
  white-space: nowrap;
}
.purr-story-stats dd {
  color: var(--story-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 25ch;
}
.purr-story-stats__urgent dt {
  color: var(--story-loss);
}
.purr-story-chart {
  margin: 40px 0 72px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--story-rule);
  border-radius: 14px;
  background: #fff;
}
.purr-story-chart figcaption strong,
.purr-story-chart figcaption span {
  display: block;
}
.purr-story-chart figcaption strong {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
}
.purr-story-chart figcaption span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--story-muted);
  margin-top: 8px;
}
.purr-story-bars {
  margin: 34px 0 30px;
}
.purr-story-bars > div {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.purr-story-bars dt {
  font-size: 14px;
  line-height: 1.45;
}
.purr-story-bars dd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  align-items: center;
  gap: 18px;
  margin: 0;
}
.purr-story-bars dd strong {
  font-size: 15px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.purr-story-bars__track {
  display: block;
  height: 19px;
  background: #f3f0f5;
  border-radius: 0 5px 5px 0;
}
.purr-story-bars__track i {
  display: block;
  height: 100%;
  background: #654879;
  border-radius: 0 5px 5px 0;
}
.purr-story-bars__loss .purr-story-bars__track i {
  background: var(--story-loss);
}
.purr-story-chart > .purr-story-note {
  padding-top: 20px;
  border-top: 1px solid var(--story-rule);
}
.purr-story-method {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--story-muted);
}
.purr-story-method summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 600;
}
.purr-story-method p {
  max-width: 85ch;
  margin: 12px 0 0;
}
.purr-story-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin: 80px 0;
}
.purr-story-split figure {
  margin: 0;
}
.purr-story-split img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.purr-story-split figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--story-muted);
}
.purr-story-split h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  margin: 14px 0 22px;
}
.purr-story-split__copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.purr-story-care {
  padding-top: 64px;
  border-top: 1px solid var(--story-rule);
}
.purr-story-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.purr-story-photo-grid figure {
  margin: 0;
}
.purr-story-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.purr-story-photo-grid figcaption {
  margin-top: 18px;
}
.purr-story-photo-grid figcaption strong {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 500;
  letter-spacing: -.025em;
}
.purr-story-photo-grid figcaption span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--story-muted);
}
.purr-story-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin: 80px 0;
  background: var(--story-ink);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.purr-story-mission__copy {
  padding: clamp(28px, 4vw, 48px);
  align-self: center;
}
.purr-story-mission .eyebrow {
  color: #e2d5eb;
}
.purr-story-mission h2 {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.07;
  color: #fff;
  margin: 14px 0 24px;
}
.purr-story-mission__copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  color: #e9e0f0;
  margin-bottom: 18px;
}
.purr-story-mission .pill {
  display: inline-flex;
  justify-content: space-between;
  gap: 16px;
  background: #fffaf2;
  color: var(--story-ink);
  border-color: #fffaf2;
  padding: 16px 22px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  margin-top: 6px;
}
.purr-story-mission .purr-story-mission__note {
  font-size: 12px;
  line-height: 1.6;
  color: #d4c5df;
  margin: 20px 0 0;
}
.purr-story-mission figure {
  margin: 0;
  background: #e4dce9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.purr-story-mission img {
  display: block;
  width: 100%;
  height: auto;
}
.purr-story-mission figcaption {
  padding: 12px 20px;
  font-size: 11px;
  color: #553d66;
}
.purr-story-action .purr-story-section-heading {
  margin: 0 auto 30px;
  text-align: center;
}
.purr-story-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-block: 1px solid var(--story-rule);
}
.purr-story-actions li {
  padding: 30px;
}
.purr-story-actions li + li {
  border-left: 1px solid var(--story-rule);
}
.purr-story-actions li > span {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--story-muted);
}
.purr-story-actions h3 {
  font-size: 32px;
  margin: 18px 0 12px;
  line-height: 1.1;
}
.purr-story-actions p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--story-muted);
  margin: 0;
}
.purr-story-closing {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
  font-style: italic;
  text-align: center;
  letter-spacing: -.035em;
  margin: 64px 0;
}
.purr-story-sources {
  max-width: 880px;
  border-top: 1px solid var(--story-rule);
  padding-top: 30px;
  margin: 0 auto;
}
.purr-story-sources h2 {
  font-size: 27px;
  margin: 0 0 12px;
}
.purr-story-sources > p {
  font-size: 12px;
  color: var(--story-muted);
  line-height: 1.6;
}
.purr-story-sources ol {
  padding-left: 20px;
}
.purr-story-sources li {
  font-size: 13px;
  line-height: 1.7;
  padding-left: 4px;
  margin-top: 16px;
  scroll-margin-top: 110px;
}
.purr-story-sources li span {
  display: block;
  color: var(--story-muted);
  font-size: 12px;
}
@media (max-width: 900px) {
  .purr-story-stats dt { font-size: 42px; }
  .purr-story-stats > div { padding: 22px 18px; }
  .purr-story-split { gap: 28px; }
}
@media (max-width: 720px) {
  .purr-story .editorial-story__shell { width: calc(100% - 40px); }
  .purr-story .editorial-story__byline { flex-direction: row; gap: 8px 20px; }
  .purr-story .purr-story-lead { margin: 36px 0; }
  .purr-story-data { margin: 44px 0; padding: 24px; }
  .purr-story-stats { grid-template-columns: 1fr; }
  .purr-story-stats > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: center; padding: 24px 20px; }
  .purr-story-stats > div + div { border-left: 0; border-top: 1px solid var(--story-rule); }
  .purr-story-stats dt { font-size: clamp(32px, 6.5vw, 44px); }
  .purr-story-stats dd { margin: 0; font-size: 13px; }
  .purr-story-chart { margin-bottom: 48px; padding: 24px; }
  .purr-story-bars > div { grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
  .purr-story-bars dd { grid-template-columns: minmax(0, 1fr) 86px; gap: 14px; }
  .purr-story-bars__track { height: 16px; }
  .purr-story-split { grid-template-columns: 1fr; margin: 48px 0; }
  .purr-story-split figure { max-width: 500px; margin: 0 auto; }
  .purr-story-split h2 br { display: none; }
  .purr-story-care { padding-top: 40px; }
  .purr-story-mission { grid-template-columns: 1fr; margin: 48px 0; }
  .purr-story-mission figure { max-width: 100%; }
  .purr-story-mission img { max-width: 520px; align-self: center; }
  .purr-story-actions { grid-template-columns: 1fr; }
  .purr-story-actions li { padding: 26px 8px; }
  .purr-story-actions li + li { border-left: 0; border-top: 1px solid var(--story-rule); }
  .purr-story-actions h3 { margin: 12px 0; }
  .purr-story-closing { margin: 44px 0; }
}
@media (max-width: 600px) {
  .purr-story-photo-grid { grid-template-columns: 1fr; gap: 28px; }
  .purr-story-photo-grid figure { max-width: 420px; margin-inline: auto; width: 100%; }
  .purr-story-photo-grid figcaption strong { font-size: 30px; }
  .purr-story .editorial-story__prose h2 { margin-top: 40px; }
  .purr-story .editorial-story__prose .eyebrow + h2 { margin-top: 0; }
}
@media (max-width: 380px) {
  .purr-story-data, .purr-story-chart { padding: 20px 16px; }
  .purr-story-stats > div { grid-template-columns: 1fr; gap: 10px; }
  .purr-story-stats dd { max-width: 100%; }
}

/* Match the softer pastel storefront. */
.purr-story { --story-blue: #f0e9f9; }
.purr-story-data { background: #f3eefb; }
.purr-story-mission { background: #eae1f7; color: var(--story-ink); }
.purr-story-mission h2,
.purr-story-mission .eyebrow,
.purr-story-mission__copy > p:not(.eyebrow),
.purr-story-mission .purr-story-mission__note { color: var(--story-ink); }
