.pet-choice-page-frame {
  --choice-paper: #f6f1e8;
  --choice-surface: #fffdf8;
  --choice-ink: #202521;
  --choice-ink-soft: #59605b;
  --choice-night: #17231f;
  --choice-ivory: #fff9ef;
  --choice-brass: #b89a62;
  --choice-brass-strong: #806632;
  --choice-line: rgba(32, 37, 33, 0.12);
  --choice-shadow: 0 18px 48px rgba(23, 35, 31, 0.1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--choice-ink);
  background: var(--choice-paper);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.page main:has(> .pet-choice-page-frame) {
  padding: 0;
  background: var(--choice-paper, #f6f1e8);
}

.pet-choice-page-frame,
.pet-choice-page-frame * {
  min-width: 0;
}

.pet-choice-page-frame img,
.pet-choice-page-frame figure,
.pet-choice-page-frame section,
.pet-choice-page-frame article,
.pet-choice-page-frame nav {
  max-width: 100%;
}

.pet-choice-page-frame a {
  -webkit-tap-highlight-color: transparent;
}

.pet-choice-page-frame a:focus-visible {
  outline: 3px solid var(--choice-brass-strong) !important;
  outline-offset: 4px !important;
}

.pet-choice-hub {
  width: min(1180px, calc(100% - clamp(30px, 5vw, 72px)));
  max-width: none;
  margin: 0 auto;
  padding: 22px 0 88px;
  color: var(--choice-ink);
  overflow-wrap: anywhere;
  word-break: normal;
}

.pet-choice-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px 9px;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 18px;
  color: var(--choice-ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.pet-choice-breadcrumbs a,
.pet-choice-breadcrumbs [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

.pet-choice-breadcrumbs a {
  color: var(--choice-ink);
  text-decoration: underline;
  text-decoration-color: rgba(32, 37, 33, 0.3);
  text-underline-offset: 4px;
}

.pet-choice-breadcrumbs a:hover {
  text-decoration-color: var(--choice-brass-strong);
}

.pet-choice-breadcrumbs [aria-current="page"] {
  overflow: hidden;
  color: var(--choice-ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-choice-eyebrow,
.pet-choice-section-eyebrow,
.pet-choice-card .pet-choice-card-topic {
  margin: 0;
  color: var(--choice-brass-strong);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Editorial split hero, intentionally aligned with the care catalog. */
.pet-choice-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  max-width: none;
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 239, 0.08);
  border-radius: 3px 34px 3px 3px;
  background: var(--choice-night);
  box-shadow: var(--choice-shadow);
}

.pet-choice-hub-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 68px);
}

.pet-choice-hub-hero .pet-choice-eyebrow {
  color: var(--choice-brass);
}

.pet-choice-hub-hero h1 {
  max-width: 690px;
  margin: 13px 0 22px;
  color: var(--choice-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
  overflow: visible;
  overflow-wrap: normal;
  white-space: normal;
}

.pet-choice-hub-hero .pet-choice-hub-hero-lead {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 249, 239, 0.82);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.pet-choice-hub-hero .pet-choice-hub-hero-count {
  max-width: 590px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(184, 154, 98, 0.38);
  color: var(--choice-ivory);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.pet-choice-hero-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pet-choice-hero-jumps a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 150px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 249, 239, 0.28);
  color: var(--choice-ivory);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.pet-choice-hero-jumps a:hover {
  border-color: var(--choice-brass);
  background: var(--choice-ivory);
  color: var(--choice-night);
}

.pet-choice-hub-hero a:focus-visible {
  outline-color: var(--choice-brass) !important;
}

.pet-choice-hub-hero-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #d8d0c2;
}

.pet-choice-hub-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(23, 35, 31, 0.16), transparent 32%);
}

.pet-choice-hub-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 54% 50%;
}

/* Catalog sections */
.pet-choice-hub-section {
  margin-top: clamp(58px, 8vw, 104px);
  padding: 0;
  border: 0;
  scroll-margin-top: 104px;
}

.pet-choice-section-heading {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--choice-line);
}

.pet-choice-section-heading h2 {
  margin: 5px 0 0;
  color: var(--choice-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.pet-choice-section-tools {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.pet-choice-section-count {
  margin: 0;
  color: var(--choice-ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.pet-choice-section-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px;
  border: 1px solid rgba(32, 37, 33, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--choice-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.pet-choice-section-action:hover {
  border-color: var(--choice-night);
  background: var(--choice-night);
  color: var(--choice-ivory);
}

.pet-choice-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px 20px;
}

.pet-choice-card {
  display: flex;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--choice-line);
  border-radius: 2px;
  background: var(--choice-surface);
  box-shadow: 0 8px 24px rgba(23, 35, 31, 0.055);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.pet-choice-card-link {
  display: flex;
  min-width: 0;
  min-height: 44px;
  flex: 1;
  flex-direction: column;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pet-choice-card .pet-choice-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0;
  background: #ded7ca;
}

.pet-choice-card-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pet-choice-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.pet-choice-card .pet-choice-card-topic {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: var(--choice-brass-strong);
}

.pet-choice-card h3 {
  width: 100%;
  margin: 8px 0 12px;
  color: var(--choice-ink);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: -0.018em;
  overflow: visible;
  overflow-wrap: break-word;
}

.pet-choice-card .pet-choice-card-description {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  margin: 0 0 20px;
  color: var(--choice-ink-soft);
  font-size: 14px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.pet-choice-card .pet-choice-card-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  align-self: flex-start;
  gap: 22px;
  margin-top: auto;
  padding: 0 15px;
  border: 1px solid var(--choice-night);
  border-radius: 999px;
  background: var(--choice-night);
  box-shadow: none;
  color: var(--choice-ivory);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.pet-choice-card .pet-choice-card-arrow {
  display: inline-block;
  color: inherit;
  font-size: 1.08em;
  line-height: 1;
  transition: transform 180ms ease;
}

.pet-choice-card-link:focus-visible {
  outline-offset: -4px !important;
}

.pet-choice-card:focus-within {
  border-color: var(--choice-brass);
  box-shadow: 0 14px 32px rgba(23, 35, 31, 0.12);
  transform: translateY(-2px);
}

@media (hover: hover) {
  .pet-choice-card:hover {
    border-color: var(--choice-brass);
    box-shadow: 0 16px 36px rgba(23, 35, 31, 0.12);
    transform: translateY(-2px);
  }

  .pet-choice-card:hover .pet-choice-card-image {
    transform: scale(1.025);
  }

  .pet-choice-card:hover .pet-choice-card-cta {
    background: var(--choice-ivory);
    color: var(--choice-night);
  }

  .pet-choice-card:hover .pet-choice-card-arrow {
    transform: translateX(3px);
  }
}

.pet-choice-card:active {
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .pet-choice-hub-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  }

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

@media (max-width: 860px) {
  .pet-choice-hub-hero {
    grid-template-columns: 1fr;
  }

  .pet-choice-hub-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .pet-choice-hub-hero-media::after {
    background: linear-gradient(180deg, rgba(23, 35, 31, 0.12), transparent 35%);
  }
}

@media (max-width: 600px) {
  .pet-choice-hub {
    width: calc(100% - 30px);
    padding-top: 10px;
    padding-bottom: 64px;
  }

  .pet-choice-breadcrumbs {
    flex-wrap: nowrap;
    gap: 3px 7px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .pet-choice-breadcrumbs a,
  .pet-choice-breadcrumbs [aria-current="page"] {
    flex: 0 1 auto;
  }

  .pet-choice-breadcrumbs [aria-current="page"] {
    max-width: 42vw;
  }

  .pet-choice-hub-hero {
    min-height: 0;
    border-radius: 2px 20px 2px 2px;
  }

  .pet-choice-hub-hero-copy {
    padding: 30px 22px 34px;
  }

  .pet-choice-hub-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(42px, 13vw, 52px);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
  }

  .pet-choice-hub-hero .pet-choice-hub-hero-lead {
    font-size: 17px;
    line-height: 1.62;
  }

  .pet-choice-hub-hero .pet-choice-hub-hero-count {
    margin-top: 22px;
    padding-top: 16px;
  }

  .pet-choice-hero-jumps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .pet-choice-hero-jumps a {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
  }

  .pet-choice-hero-jumps a:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  .pet-choice-hub-hero-media {
    aspect-ratio: 4 / 3;
  }

  .pet-choice-hub-section {
    margin-top: 58px;
    scroll-margin-top: 86px;
  }

  .pet-choice-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .pet-choice-section-heading h2 {
    font-size: 40px;
  }

  .pet-choice-section-tools {
    width: 100%;
    align-items: flex-start;
  }

  .pet-choice-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pet-choice-card-body {
    padding: 20px;
  }

  .pet-choice-card h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  .pet-choice-card .pet-choice-card-description {
    font-size: 15px;
  }

  .pet-choice-card .pet-choice-card-cta {
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 350px) {
  .pet-choice-hub-hero-copy {
    padding-right: 18px;
    padding-left: 18px;
  }

  .pet-choice-hub-hero h1 {
    font-size: 40px;
  }

  .pet-choice-hero-jumps {
    grid-template-columns: 1fr;
  }

  .pet-choice-hero-jumps a:last-child:nth-child(3) {
    grid-column: auto;
  }
}

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