.cat-home .cat-stage {--ledge: clamp(24px, 3.5vw, 48px);}
.cat-stage .cat-portrait {margin-bottom: calc(-1 * var(--ledge));}
.cat-stage .cat-stage-band {
  width: 100%;
  gap: 0;
  padding: calc(var(--ledge) + 2px) 12px 8px;
  background: radial-gradient(ellipse 46% 100% at 50% 0, #ead5dd 0%, #f6eaeb 56%, transparent 100%);
}
.cat-seal-palette {position: absolute; pointer-events: none;}
.cat-stage .cat-seal {
  display: grid;
  place-items: center;
  isolation: isolate;
  position: relative;
  width: min(218px, 100%);
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 14px;
  background: transparent;
  color: #fff;
}
.cat-seal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/button-b.png") center / 100% 100% no-repeat;
  filter: url("#katzenbeere");
}
.cat-seal:is(:focus-visible, :hover) {text-decoration: underline; text-underline-offset: .18em;}
.cat-home .cat-repeat, .cat-story a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--chapter-ink);
  font-weight: 600;
  text-underline-offset: .22em;
}
.cat-home .cat-repeat {font-size: .95rem; text-decoration: none;}
.cat-repeat:is(:hover, :focus-visible) {text-decoration: underline;}
.cat-home .cat-trial {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: stretch;
  background: #ece7da;
  color: var(--chapter-ink);
}
.cat-trial .cat-trial-copy {align-self: center; padding: clamp(26px, 4.5vw, 62px);}
.cat-trial-copy h2 {max-width: 13ch;}
.cat-trial-copy p {max-width: 36ch; color: var(--chapter-ink);}
.cat-trial-photo {
  display: block;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 48% 55%;
}
.cat-story {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: start;
  gap: clamp(24px, 4vw, 62px);
  padding: clamp(26px, 4vw, 52px) 0 0;
  border-top: 1px solid var(--line);
}
.cat-story h2 {max-width: 14ch; color: var(--chapter-ink);}
.cat-story p {color: var(--chapter-ink); max-width: 52ch; font-size: 1.06rem; line-height: 1.55;}
.cat-story a {margin-top: 8px;}
.cat-home :is(.cat-primary, .cat-repeat, .cat-story a):focus-visible {
  outline: 2px solid var(--cat-berry);
  outline-offset: 3px;
}
.cat-home .cat-cadence-form .cat-primary:focus-visible {outline-color: var(--cream);}
.cat-home :is(.cat-plan-copy,.cat-trial-copy) h2 {
  font: 650 clamp(36px, 4.4vw, 68px)/.99 Arial, Helvetica, sans-serif;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.cat-story h2 {
  font: 650 clamp(38px, 4.9vw, 70px)/1 Arial, Helvetica, sans-serif;
  letter-spacing: -.058em;
  text-wrap: balance;
}
@media (max-width: 700px) {
  .cat-stage .cat-repeat {display: none;}
  .cat-home :is(.cat-plan-copy,.cat-trial-copy) h2 {font-size: clamp(33px, 8.7vw, 50px);}
  .cat-story h2 {font-size: clamp(35px, 8.7vw, 50px);}
  .cat-home .wrap > #menues {margin-top: 20px;}
  .cat-home .cat-plan-photo {display: none;}
  .cat-plan-panel .abo-calc {padding-block: 0;}
  .cat-plan-copy > p {margin: 10px 0 16px; line-height: 1.45;}
  .cat-home .cat-stage {--ledge: clamp(19px, 5.6vw, 30px);}
  .cat-stage .cat-stage-band {
    background: radial-gradient(ellipse 75% 100% at 50% 0, #ead5dd 0%, #f6eaeb 58%, transparent 100%);
  }
  .cat-stage .cat-seal {width: min(202px, 100%);}
  .cat-home .cat-trial, .cat-story {grid-template-columns: minmax(0, 1fr);}
  .cat-trial .cat-trial-copy {padding: clamp(20px, 6vw, 36px);}
  .cat-trial .cat-trial-photo {height: auto; aspect-ratio: 1.85; object-position: 48% 59%;}
  .cat-story {gap: 14px;}
  .cat-story p {font-size: 1rem;}
}
@media (forced-colors: active) {
  .cat-stage .cat-seal {background: ButtonFace; color: ButtonText; border: 1px solid ButtonText;}
  .cat-seal::before {display: none;}
}

/* The cat chapters follow the proportions and reading order of the dog shop. */
.cat-home #menues .menu-bar {margin-bottom: 18px;}
.cat-home .cat-plan-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-radius: 23px;
}
.cat-plan-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(28px, 4.25vw, 66px);
}
.cat-plan-copy h2 {max-width: 13ch; color: var(--cream);}
.cat-plan-copy > p, .cat-home .cat-sample-intro {
  margin: 14px 0 21px;
  max-width: 39ch;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.48;
}
.cat-plan-copy > p {color: var(--cream);}
.cat-cadence-form fieldset {margin-bottom: 20px;}
.cat-cadence-form .cat-primary {min-height: 48px;}
.cat-plan-visual {position: relative; min-width: 0; background: #e2cfbd;}
.cat-plan-visual > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 55%;
}
.cat-vip {
  position: absolute;
  isolation: isolate;
  inset: auto auto clamp(12px, 1.2vw, 20px) clamp(12px, 1.2vw, 20px);
  color: var(--cream);
  padding: 10px 20px 12px;
  display: grid;
  justify-items: center;
  gap: 3px;
  text-decoration: none;
  text-align: center;
  font-size: .875rem;
  line-height: 1.13;
}
.cat-vip::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: solid transparent;
  border-width: 18px 22px;
  border-image: url("assets/button-b.png") 70 85 fill round;
  filter: url("#katzenbeere");
}
.cat-vip > span:first-child {font-weight: 650;}
.cat-vip strong {font-size: clamp(1.95rem, 2.6vw, 2.6rem); letter-spacing: -.055em; line-height: .98;}
.cat-vip small {font-size: .65em;}
.cat-vip:is(:hover, :focus-visible) > span:last-child {text-decoration: underline; text-underline-offset: .18em;}
.cat-vip:focus-visible {outline: 2px solid var(--chapter-ink); outline-offset: 3px;}
.cat-home .cat-trial {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  border-radius: 23px;
}
.cat-trial .cat-trial-copy {padding: clamp(28px, 4.25vw, 66px);}
.cat-sample-art {
  display: grid;
  place-items: center;
  margin: 0;
  min-width: 0;
  background: #e6dcd0;
  padding: clamp(18px, 4vw, 58px);
}
.cat-trial .cat-trial-photo {
  display: block;
  align-self: center;
  width: min(100%, 29rem);
  height: auto;
  aspect-ratio: 1.25;
  object-fit: contain;
  object-position: center;
}
.cat-sample-detail {display: grid; gap: 2px; margin: 0 0 16px; line-height: 1.4;}
.cat-sample-detail strong {font-size: 1.12rem;}
.cat-sample-detail span, .cat-trial .cat-sample-terms {color: #45545e;}
.cat-trial .cat-sample-terms {max-width: 47ch; font-size: .875rem; line-height: 1.45; margin: 0 0 14px;}
.cat-sample-detail[hidden], .cat-sample-terms[hidden] {display: none;}
.cat-trial .cat-primary {min-height: 48px; padding: .8rem 1.75rem; border-radius: .75rem;}
.cat-story {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 90px);
}
.cat-story-copy {max-width: 31rem;}
.cat-story-copy p {margin: .8rem 0 0; max-width: 44ch;}
.cat-story-photo {display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 16px;}
@media (min-width: 701px) and (max-width: 850px) {
  .cat-plan-copy, .cat-trial .cat-trial-copy {padding: 22px;}
}
@media (max-width: 700px) {
  .cat-home .cat-plan-panel, .cat-home .cat-trial, .cat-story {grid-template-columns: minmax(0, 1fr);}
  .cat-home .cat-plan-panel, .cat-home .cat-trial {border-radius: 16px;}
  .cat-plan-copy, .cat-trial .cat-trial-copy {padding: clamp(21px, 5.8vw, 35px);}
  .cat-plan-copy h2 {max-width: 15ch;}
  .cat-plan-visual > img {position: static; height: clamp(175px, 57vw, 295px); object-position: 48% 53%;}
  .cat-sample-art {padding: 12px 16px;}
  .cat-trial .cat-trial-photo {width: 100%; height: clamp(150px, 46vw, 230px); aspect-ratio: auto;}
  .cat-trial .cat-primary {width: 100%;}
  .cat-story {padding-top: 28px; gap: 18px;}
  .cat-story-photo {border-radius: 12px;}
}
@media (forced-colors: active) {
  .cat-vip {color: LinkText; background: Canvas; border: 1px solid LinkText; border-radius: 12px;}
  .cat-vip::before {display: none;}
}
