/* =========================================================
   PolysRock — Modern Portfolio Site
   Built on the PolysRock design tokens (./tokens.css).
   Layout / interaction layer only.
   ========================================================= */

:root {
  /* Local additions on top of the system tokens */
  --site-max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --ff-display-fat: "Spicy Rice", "Arial-BoldMT", Arial, sans-serif;

  /* Layered surface tints — same palette, more punch */
  --tint-cream: #FFF7EC;
  --tint-sun:   #FFE6C0;
  --tint-rose:  #C8324C;
  --tint-deep:  #B0381C;
}

html { scroll-behavior: smooth; }
body {
  background: var(--pr-cream);
  color: var(--pr-ink-900);
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Type utilities ---------- */
.fat {
  font-family: var(--ff-display-fat);
  font-weight: 400;        /* display font ships in 400 */
  letter-spacing: -0.01em;
  line-height: 0.88;
  text-transform: lowercase;
}
.fat--upper { text-transform: uppercase; letter-spacing: -0.005em; }

.eyebrow {
  font-family: var(--ff-bold);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pr-orange-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { display: none; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h, 110px); }
#memoriam { scroll-margin-top: 30px; }

/* ---------- Navbar (sticky — stays put while page scrolls) ---------- */

/* Language toggle pill (shared with cat profile pages) */
.langtoggle {
  display: inline-flex;
  align-items: center;
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-pill);
  padding: 4px;
  box-shadow: var(--sh-3);
  flex-shrink: 0;
}
.langtoggle button {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--ff-bold);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--pr-orange-900);
  padding: 11px 16px;
  border-radius: var(--r-pill);
  transition: background .2s ease, color .2s ease;
}
.langtoggle button:hover { background: var(--pr-orange-200); }
.langtoggle button.is-on { background: var(--pr-orange-900); color: var(--pr-orange-300); }


.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
  padding: 14px var(--gutter) 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--pr-cream);
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 24px -18px rgba(125,30,24,.35);
  --logo-h: 260px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  /* The logo PNG carries ~21% transparent padding top & bottom. Clip it away
     so the bar hugs the artwork — the logo keeps its exact size, the bar gets
     shorter. Box height = visible artwork height (≈57% of the image). */
  height: calc(var(--logo-h) * 0.572);
  overflow: hidden;
}
.nav__logo img {
  height: var(--logo-h);
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(125, 30, 24, .18));
}
.nav__links {
  display: flex;
  gap: 6px;
  margin-left: auto;
  align-items: center;
  padding: 12px 14px;
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-3);
  backdrop-filter: blur(8px);
}
.nav__links a {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  color: var(--pr-orange-900);
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav__links a:hover { background: var(--pr-orange-200); }
.nav__links a.is-active {
  background: var(--pr-orange-900);
  color: var(--pr-orange-300);
}

/* burger button — hidden on desktop */
.nav__burger {
  display: none;
  margin-left: auto;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  box-shadow: var(--sh-3);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--pr-orange-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav { gap: 10px; --logo-h: 200px; }
  .nav__burger { display: flex; }
}
@media (max-width: 480px) {
  .nav { --logo-h: 80px; gap: 6px; padding: 10px var(--gutter) 10px; }
  .nav__burger { width: 40px; height: 40px; margin-left: 6px; }
  .langtoggle { margin-left: 6px; }
  .langtoggle button { padding: 8px 10px; font-size: 13px; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 32px clamp(20px, 6vw, 48px);
    background: var(--pr-paper);
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.6,.05,.2,1);
    z-index: 60;
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    font-size: clamp(34px, 9vw, 56px);
    padding: 12px 16px;
    border-radius: var(--r-lg);
    text-align: left;
  }
}
.nav__cta {
  margin-left: 6px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-family: var(--ff-bold);
  font-size: 14px;
  color: var(--pr-paper);
  background: var(--grad-orange);
  border: 1.5px solid var(--pr-orange-900);
  box-shadow: var(--sh-inset-shine);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: var(--sh-3), var(--sh-inset-shine); }

@media (max-width: 720px) {
  /* (mobile menu styles live in the navbar section) */
}

/* ---------- Page container ---------- */
main { padding: 0 var(--gutter); }
section { position: relative; }

/* ---------- Hero ---------- */
.hero {
  margin-top: 36px;
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--grad-cream);
  border: 2px solid var(--pr-orange-900);
  box-shadow: 0 30px 60px -30px rgba(176, 56, 28, 0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* sunbeam top-left */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-sunbeam);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: auto auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.hero__grid > .hero__copy { grid-column: 1; grid-row: 1 / span 2; }
.hero__grid > .hero__stage { grid-column: 2; grid-row: 1; align-self: stretch; }

/* Offset the slider down by the eyebrow line + its gap so its top edge
   lines up with the top of the hero title (not the eyebrow above it). */
.hero__grid > .hero__stage {
  margin-top: calc(13px * 1.35 + 22px); /* eyebrow line-height + flex gap */
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero__grid > .hero__copy,
  .hero__grid > .hero__stage { grid-column: 1; grid-row: auto; }
  .hero__grid > .hero__stage { margin-top: 0; align-self: auto; }
}

/* ---------- Hero quote (under slider, right column) ---------- */
.hero__quote {
  margin: 22px 0 0;
  padding: 22px 26px 22px 30px;
  background: var(--pr-paper, var(--pr-orange-200));
  border-left: 4px solid var(--pr-rose);
  border-radius: var(--r-md);
  font-family: var(--ff-display-fat);
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  font-weight: 700;
  color: var(--pr-orange-900);
  position: relative;
}
.hero__quote::first-letter { text-transform: uppercase; }
.hero__quote::before {
  content: "\201C";
  position: absolute;
  left: 14px;
  top: -10px;
  font-size: 60px;
  line-height: 1;
  color: var(--pr-rose);
}
.hero__quote-attr {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-bold);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pr-orange-700);
}

.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__title-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.hero__title-row a:has(.hero__ribbon) { display: contents; }
.hero__title-row .hero__ribbon {
  position: static;
  width: clamp(100px, 11vw, 160px);
  height: auto;
  flex-shrink: 0;
  margin-left: clamp(56px, 7vw, 110px);
  margin-top: clamp(30px, 5vw, 80px);
  align-self: flex-start;
  transform: rotate(8deg);
  filter: drop-shadow(0 6px 14px rgba(125,30,24,.18));
  animation: floaty 6s ease-in-out infinite;
  --rot: 8deg;
}
/* Floating "24 toes welcome" badge — sits in the CTA row, not over the photos */
.hero__sticker {
  position: relative;
  z-index: 4;
  width: clamp(96px, 9vw, 124px);
  height: clamp(96px, 9vw, 124px);
  margin-left: clamp(6px, 1vw, 14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
  text-align: center;
  text-transform: lowercase;
  color: var(--pr-paper);
  background: var(--grad-logo, var(--pr-orange-700));
  border: 2.5px solid var(--pr-orange-900);
  border-radius: 50%;
  box-shadow: var(--sh-3), var(--sh-inset-shine);
  transform: rotate(-12deg);
  animation: floaty 6s ease-in-out infinite;
  --rot: -12deg;
  flex-shrink: 0;
  pointer-events: none;
}
.hero__sticker-num {
  font-family: var(--ff-display-fat);
  font-size: clamp(36px, 4.2vw, 50px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-shadow: 1px 2px 0 var(--pr-orange-900);
}
.hero__sticker-text {
  font-family: var(--ff-bold);
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-bold);
  font-size: 14px;
  background: var(--pr-cream);
  color: var(--pr-ink-900);
  border: 1.5px solid var(--pr-orange-900);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  box-shadow: var(--sh-2);
  transform: rotate(-3deg);
  white-space: nowrap;
}
.hero__title {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.015em;
  color: var(--pr-orange-900);
  text-transform: lowercase;
  margin: 0;
}
.hero__title .hero__title-line {
  white-space: nowrap;
}
/* Explicit capital first letter — the global ::first-letter rule doesn't pierce
   the nested .hero__title-line wrapper, so override the lowercase transform here. */
.hero__title .cap-first {
  text-transform: none;
}
.hero__title .accent {
  color: var(--pr-orange-700);
  -webkit-text-stroke: 2px var(--pr-orange-900);
  text-shadow: none;
}
.hero__title .swing {
  display: inline-block;
  /* Swing animation removed: the tight line-height (0.85) meant any rotation
     dipped the descender of "paws" into the "bigger" line below it. */
}
.hero__lead {
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--pr-ink-700);
  margin: 0;
}
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-bold);
  font-size: 15px;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 1.5px solid var(--pr-orange-900);
}
.btn--primary {
  background: var(--grad-orange);
  color: var(--pr-paper);
  box-shadow: var(--sh-inset-shine), 0 8px 18px -6px rgba(176,56,28,.4);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:active { transform: translateY(1px) scale(.98); }
.btn--ghost {
  background: var(--pr-paper);
  color: var(--pr-orange-900);
}
.btn--ghost:hover { background: var(--pr-orange-100); }

/* Hero photo stack — image slider with dots */
.hero__stage {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--r-lg);
  background: var(--pr-orange-200);
}
@media (max-width: 880px) {
  .hero__stage { aspect-ratio: 4 / 4.5; }
}
.hero__stage .slide {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(176,56,28,.45);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 1.4s ease;
}
.hero__stage .slide.is-active { opacity: 1; transform: scale(1); }
.hero__stage .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--pr-orange-200); }
.hero__stage .slide::after {
  content: "";
  position: absolute; inset: 0;
  border: 3px solid var(--pr-orange-900);
  border-radius: var(--r-lg);
  pointer-events: none;
}

/* Floating badges around the hero image */
.hero__badge {
  position: absolute;
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-family: var(--ff-bold);
  font-size: 13px;
  color: var(--pr-orange-900);
  box-shadow: var(--sh-2);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero__badge--tl { top: 24px; left: -18px; transform: rotate(-6deg); animation: floaty 6s ease-in-out infinite; }
.hero__badge--br { bottom: 28px; right: -20px; transform: rotate(4deg); animation: floaty 6s ease-in-out infinite -2s; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pr-leaf); }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -6deg)); }
  50%      { transform: translateY(-6px) rotate(var(--rot, -6deg)); }
}
.hero__badge--tl { --rot: -6deg; }
.hero__badge--br { --rot: 4deg; }

.hero__ribbon {
  position: absolute;
  bottom: 26px;
  left: -10px;
  width: 96px;
  z-index: 6;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 12px rgba(176,56,28,.3));
}

.hero__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 7;
}
.hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--pr-paper);
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero__dots button.is-active { background: var(--pr-paper); transform: scale(1.3); }

/* ---------- Marquee ---------- */
.marquee {
  margin: 36px calc(var(--gutter) * -1) 0;
  background: var(--pr-orange-900);
  color: var(--pr-orange-300);
  padding: 22px 0;
  overflow: hidden;
  border-block: 2px solid var(--pr-orange-900);
  transform: rotate(-1.2deg);
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee__track > * { flex-shrink: 0; }
.marquee__item {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.marquee__star {
  display: inline-flex;
  align-items: center;
  color: var(--pr-yellow-500);
  font-size: clamp(28px, 4vw, 48px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section title block ---------- */
.section {
  padding: clamp(60px, 9vw, 120px) 0 0;
}
.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section__title {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.015em;
  color: var(--pr-orange-900);
  text-transform: lowercase;
  margin: 0;
}
.section__title .ink { color: var(--pr-ink-900); }
.section__title .rose { color: var(--pr-rose); }
.section__title .orange { color: var(--pr-orange-700); }
.section__intro {
  max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--pr-ink-700);
  margin: 0;
  justify-self: start;
}
@media (max-width: 720px) {
  .section__intro { justify-self: start; }
}

/* ---------- Cats carousel ---------- */
.cats {
  background-color: var(--pr-orange-100);
  background-image:
    linear-gradient(rgba(255,247,236,.62), rgba(255,247,236,.62)),
    url("assets/paw-wallpaper.svg");
  background-size: auto, 150px;
  margin: clamp(60px, 9vw, 120px) calc(var(--gutter) * -1) 0;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(60px, 8vw, 100px);
  border-radius: 0;
  position: relative;
}
.cats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-sunbeam);
  pointer-events: none;
}
.cats > * { position: relative; }

.cats__scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--pr-orange-700) transparent;
}
.cats__scroller::-webkit-scrollbar { height: 6px; }
.cats__scroller::-webkit-scrollbar-thumb { background: var(--pr-orange-700); border-radius: 999px; }

.cat-card {
  flex: 0 0 clamp(260px, 28vw, 340px);
  scroll-snap-align: start;
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-lg);
  padding: 14px 14px 18px;
  box-shadow: var(--sh-1);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  cursor: pointer;
}
.cat-card:nth-child(odd)  { transform: rotate(-1deg); }
.cat-card:nth-child(even) { transform: rotate(1deg); }
.cat-card:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(176,56,28,.4);
}
.cat-card__photo {
  aspect-ratio: 4 / 4.4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--pr-orange-200);
  margin-bottom: 14px;
  position: relative;
}
.cat-card__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .6s ease; }
.cat-card:hover .cat-card__photo img { transform: scale(1.04); }
.cat-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--pr-paper);
  border: 1.5px solid var(--pr-orange-900);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-family: var(--ff-bold);
  font-size: 11px;
  color: var(--pr-orange-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cat-card__tag--poly { background: var(--pr-rose); color: var(--pr-paper); border-color: var(--pr-rose); }
.cat-card__name {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: 36px;
  line-height: 0.95;
  color: var(--pr-orange-900);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.cat-card__meta {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-ink-500);
}
.cat-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px dashed var(--pr-orange-300);
}
.cat-card__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--pr-orange-700);
  color: var(--pr-paper);
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 1.5px solid var(--pr-orange-900);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.cat-card:hover .cat-card__arrow { transform: rotate(-45deg); }

.cats__nav {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.cats__nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--pr-orange-900);
  background: var(--pr-paper);
  color: var(--pr-orange-900);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.cats__nav button:hover { background: var(--pr-orange-700); color: var(--pr-paper); }
.cats__nav button:active { transform: scale(.94); }

/* ---------- Kittens section (banner + litter cards w/ heart tree) ---------- */
.kittens__banner {
  margin: 0 0 clamp(28px, 3.5vw, 48px);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 18px 36px -24px rgba(125,30,24,.45);
  aspect-ratio: 16 / 7;
  background: var(--pr-cream);
}
.kittens__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kittens__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.kittens__cards--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) {
  .kittens__cards,
  .kittens__cards--two { grid-template-columns: 1fr; }
}

.litter {
  position: relative;
  padding: 28px 28px 26px;
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 26px -20px rgba(125,30,24,.45);
  overflow: hidden;
  isolation: isolate;
}
.litter--paper  { background: var(--pr-paper); }
.litter--cream  { background: var(--pr-cream); }
.litter--orange { background: var(--pr-orange-700); color: var(--pr-paper); }

.litter__head {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.litter__head .litter__pair { flex: 1; margin: 0; }

.litter__tree {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(125,30,24,.18));
  animation: floaty 7s ease-in-out infinite;
  --rot: -4deg;
}
.litter__tree img { height: 100%; width: auto; display: block; }
.litter__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.litter__when {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pr-orange-900);
}
.litter--orange .litter__when { color: var(--pr-paper); opacity: 0.85; }

.litter__pair {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  color: var(--pr-orange-900);
}
.litter--orange .litter__pair { color: var(--pr-paper); }
.litter__pair--cta { font-size: clamp(28px, 2.8vw, 38px); }
.litter__x {
  color: var(--pr-rose);
  font-family: var(--ff-display-fat);
  padding: 0 4px;
}
.litter--orange .litter__x { color: var(--pr-paper); }

.litter__note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pr-ink-700);
  margin: 6px 0 0;
  max-width: 42ch;
}
.litter__note--light { color: var(--pr-orange-100); }
.litter__btn { margin-top: 14px; align-self: flex-start; }

.kittens__cta {
  margin-top: 18px;
  padding: clamp(28px, 3.5vw, 44px);
}
.kittens__cta .litter__body { max-width: 640px; }

/* ---------- Featured litter (full-width pairing) ---------- */
.kittens__stack { display: flex; flex-direction: column; gap: 18px; }

/* Kittens CTA button row */
.kittens__cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(14px, 2vw, 22px);
}
.btn--cta {
  font-size: clamp(16px, 1.3vw, 19px);
  padding: 20px 36px;
}

.litterfeature {
  position: relative;
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-xl);
  background: var(--pr-paper);
  box-shadow: 0 14px 26px -20px rgba(125,30,24,.45);
  overflow: hidden;
  padding: clamp(26px, 3.2vw, 48px);
}
/* warm paper texture echo: a faint sunbeam in the top-left like the hero panels */
.litterfeature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-sunbeam);
  opacity: .5;
  pointer-events: none;
}
/* polypootjes wallpaper: this pairing can throw poly paws, so a faint tiled
   polydactyl pawprint sits behind the sunbeam, just for this card */
.litterfeature::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/paw-wallpaper.svg");
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: .28;
  pointer-events: none;
}
.litterfeature > * { position: relative; z-index: 1; }

.litterfeature__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px) minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 16px;
  align-items: start;
}
@media (max-width: 720px) { .litterfeature__head { grid-template-columns: 1fr; } }
.litterfeature__when { grid-column: 1 / -1; grid-row: 1; }
.litterfeature__pair { grid-column: 1 / 2; grid-row: 2; align-self: center; }
.litterfeature__story { grid-column: 2 / -1; grid-row: 2; align-self: center; }
@media (max-width: 720px) {
  .litterfeature__pair, .litterfeature__story { grid-column: 1 / -1; }
  .litterfeature__pair { grid-row: 2; }
  .litterfeature__story { grid-row: 3; }
}
.litterfeature__when {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pr-orange-900);
}
.litterfeature__pair {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--pr-orange-900);
  text-wrap: balance;
}
.litterfeature__pair .litter__x { color: var(--pr-orange-500); padding: 0 6px; }
.litterfeature__story {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.62;
  color: var(--pr-ink-700);
  margin: 0;
  padding-left: 76px;
  text-wrap: pretty;
}
@media (max-width: 720px) { .litterfeature__story { padding-left: 0; } }
.litterfeature__thanks {
  display: block;
  margin-top: 12px;
  color: var(--pr-orange-700);
  font-family: var(--ff-bold);
  font-weight: 700;
}

/* parents row: dam | pedigree | sire — photos compact, pedigree centred */
.litterfeature__parents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(26px, 3.2vw, 44px);
}
@media (max-width: 720px) {
  .litterfeature__parents { grid-template-columns: 1fr; gap: 26px; }
  .parent--dam { order: 1; }
  .parent--sire { order: 2; }
  .pedigree { order: 3; }
}
.parent { max-width: 520px; width: 100%; }
.parent--dam { justify-self: end; }
.parent--sire { justify-self: start; }
@media (max-width: 720px) {
  .parent { max-width: 360px; justify-self: center; text-align: center; }
}
.parent figure { margin: 0; }
.parent__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--pr-orange-900);
  background: var(--pr-orange-100);
  box-shadow: 0 12px 22px -18px rgba(125,30,24,.5);
}
.parent__photo img { width: 100%; height: 100%; object-fit: cover; }
.parent__role {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pr-orange-900);
  margin: 16px 0 4px;
}
.parent--dam .parent__role { color: var(--pr-rose); }
.parent__name {
  font-family: var(--ff-bold);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.18;
  color: var(--pr-rose);
  margin: 0;
}
.parent__meta {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pr-ink-700);
  margin: 5px 0 0;
}
.parent__meta b { color: var(--pr-ink-900); font-family: var(--ff-bold); }

/* photos gently breathe + zoom toward each other on hover of the whole box */
.parent__photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.litterfeature:hover .parent--dam  .parent__photo img { transform: scale(1.04); }
.litterfeature:hover .parent--sire .parent__photo img { transform: scale(1.04); }

/* heart cluster between the parents */
.litterfeature__heart {
  align-self: center;
  justify-self: center;
  margin-top: clamp(36px, 6vw, 84px);
  position: relative;
  width: clamp(54px, 6vw, 86px);
  height: clamp(54px, 6vw, 86px);
}
.litterfeature__heart .hrt {
  position: absolute;
  color: var(--pr-rose);
  line-height: 1;
  filter: drop-shadow(0 5px 10px rgba(125,30,24,.25));
  animation: heartbeat 1.6s ease-in-out infinite;
}
.litterfeature__heart .hrt--lg {
  font-size: clamp(40px, 4.8vw, 64px);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.litterfeature__heart .hrt--sm {
  font-size: clamp(16px, 1.8vw, 24px);
  color: var(--pr-orange-700);
  opacity: .9;
}
.litterfeature__heart .hrt--a { left: -2px;  top: 2px;  animation-delay: .25s; animation-duration: 2s; }
.litterfeature__heart .hrt--b { right: -4px; bottom: 0; animation-delay: .55s; animation-duration: 2.3s; color: var(--pr-orange-500); }
@media (max-width: 720px) {
  .litterfeature__heart { margin: 6px 0; width: 70px; height: 56px; }
}
@keyframes heartbeat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  14%      { transform: translate(-50%, -50%) scale(1.18); }
  28%      { transform: translate(-50%, -50%) scale(1.02); }
  42%      { transform: translate(-50%, -50%) scale(1.12); }
  60%      { transform: translate(-50%, -50%) scale(1); }
}
/* the small satellite hearts pulse around their own centre (no translate offset) */
.litterfeature__heart .hrt--sm {
  animation-name: heartbeat-sm;
}
@keyframes heartbeat-sm {
  0%, 100% { transform: scale(1); }
  18%      { transform: scale(1.3); }
  40%      { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .litterfeature__heart .hrt { animation: none; }
  .parent__photo img { transition: none; }
}

/* info row: now just the possible-colours block, full width */
.litterfeature__info {
  margin-top: clamp(30px, 3.6vw, 52px);
  padding-top: clamp(24px, 3vw, 38px);
  border-top: 2px dashed var(--pr-ink-200);
}

/* heart-tree treatment, echoing the cat profile pages: large, clickable,
   PawPeds link sits directly beneath the tree. Sits in the centre column
   between the two parent photos. */
.pedigree {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pedigree__title {
  font-family: var(--ff-bold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pr-orange-900);
  margin: 0 0 14px;
}
.pedtree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  margin-bottom: 20px;
}
.pedtree__img {
  width: clamp(150px, 16vw, 210px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(125,30,24,.18));
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  animation: floaty 7s ease-in-out infinite;
  --rot: 0deg;
}
.pedtree:hover .pedtree__img {
  animation: treesway 1.4s ease-in-out infinite;
  transform-origin: 50% 92%;
}
@keyframes treesway {
  0%, 100% { transform: scale(1.04) rotate(-2.5deg); }
  50%      { transform: scale(1.04) rotate(2.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pedtree:hover .pedtree__img { animation: none; transform: scale(1.04); }
}
.pedtree__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-bold);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--pr-orange-900);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.pedtree:hover .pedtree__link { color: var(--pr-orange-700); }
.pedtree__link .arrow { transition: transform .2s ease; }
.pedtree:hover .pedtree__link .arrow { transform: translateX(4px); }

/* genetics blocks — big display numbers, matching the profile pages,
   stacked vertically beneath the heart-tree */
.pedigree__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 280px;
}
.pedigree__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
  border: 1.5px solid var(--pr-orange-500);
  border-radius: var(--r-lg);
  background: var(--pr-paper);
  padding: 12px 16px;
}
.pedigree__stats .genblock__num {
  font-family: var(--ff-display-fat), Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  color: var(--pr-orange-700);
}
.pedigree__stats .genblock__label {
  font-family: var(--ff-bold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-ink-500);
  line-height: 1.3;
  text-align: left;
}

/* possible-colours boxes, stacked below the genetics boxes in the centre column */
.colourbox {
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
  border: 1.5px solid var(--pr-orange-500);
  border-radius: var(--r-lg);
  background: var(--pr-paper);
  padding: 12px 16px;
  text-align: left;
}
.colourbox__label {
  font-family: var(--ff-bold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-rose);
  margin: 0 0 6px;
  line-height: 1.3;
}
.colourbox__label--sub { margin-top: 14px; }
.colourbox__list {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pr-ink-700);
  margin: 0;
  text-wrap: pretty;
}
.colourbox__list--accent {
  margin-top: 16px;
  color: var(--pr-orange-700);
  font-family: var(--ff-bold);
  font-weight: 700;
}
.colourbox__note {
  width: 100%;
  max-width: 280px;
  font-size: 12px;
  font-style: italic;
  color: var(--pr-ink-500);
  margin: 12px 0 0;
  text-align: left;
}

/* ---------- In Memoriam ---------- */
.memoriam {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-xl);
  background: var(--pr-paper);
  box-shadow: 0 18px 36px -28px rgba(125,30,24,.4);
}
.memoriam__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
@media (max-width: 720px) { .memoriam__head { grid-template-columns: 1fr; } }

.memoriam__title {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--pr-orange-900);
  margin: 0;
}
.memoriam__title .orange { color: var(--pr-rose); }
.memoriam__intro {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pr-ink-700);
  margin: 0;
  max-width: 48ch;
}

.memoriam__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.5vw, 22px);
}
@media (max-width: 1080px) { .memoriam__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .memoriam__grid { grid-template-columns: repeat(2, 1fr); } }

.memcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.memcard__photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pr-orange-900);
  background: var(--pr-cream);
  position: relative;
  filter: grayscale(0.3);
  transition: filter .25s ease;
}
.memcard:hover .memcard__photo { filter: grayscale(0); }
.memcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.memcard__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pr-cream);
}
.memcard__photo--empty span {
  font-family: var(--ff-display-fat);
  font-size: 56px;
  color: var(--pr-orange-700);
  opacity: 0.45;
  text-transform: lowercase;
}
.memcard__name {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  color: var(--pr-orange-900);
  margin: 10px 0 0;
}
.memcard__years {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-ink-700);
}

/* ---------- Two-up colored stat tiles ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 28px 22px 24px;
  border-radius: var(--r-lg);
  border: 2px solid var(--pr-orange-900);
  position: relative;
  overflow: hidden;
}
.stat__num {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.9;
  color: var(--pr-orange-900);
  text-transform: lowercase;
}
.stat__label {
  font-family: var(--ff-bold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-ink-900);
  margin-top: 8px;
}
.stat--cream { background: var(--pr-cream); }
.stat--orange { background: var(--pr-orange-700); }
.stat--orange .stat__num,
.stat--orange .stat__label { color: var(--pr-paper); }
.stat--rose { background: var(--pr-rose); }
.stat--rose .stat__num,
.stat--rose .stat__label { color: var(--pr-paper); }
.stat--paper { background: var(--pr-paper); }

/* ---------- Story / about ribbon ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .story { grid-template-columns: 1fr; } }
.story--solo { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; text-align: center; }
.story--solo .story__copy h2 { margin-inline: auto; }
.story--solo .story__quote { text-align: left; }
.story__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid var(--pr-orange-900);
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: 0 30px 60px -28px rgba(176,56,28,.5);
}
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-sunbeam);
  pointer-events: none;
}
.story__copy h2 span { text-transform: none; }
.story__copy h2 {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--pr-orange-900);
  text-transform: lowercase;
  margin: 14px 0 22px;
}
.story__copy p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--pr-ink-700);
  margin: 0 0 16px;
}
.story__quote {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-lg);
  font-family: var(--ff-italic);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--pr-ink-900);
  position: relative;
}
.story__quote::before {
  content: "“";
  position: absolute;
  top: -28px;
  left: 14px;
  font-family: var(--ff-display-fat);
  font-size: 88px;
  line-height: 1;
  color: var(--pr-orange-700);
}
.story__quote-attr {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-bold);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-ink-500);
}

/* ---------- Polydactyl callout ---------- */
.polycta {
  margin-top: clamp(80px, 10vw, 140px);
  padding: clamp(48px, 7vw, 100px) clamp(36px, 5vw, 80px);
  border-radius: var(--r-xl);
  background: var(--pr-orange-700);
  color: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  box-shadow: 0 30px 60px -28px rgba(176,56,28,.5);
  position: relative;
  overflow: hidden;
}
/* Scattered paw prints — "strooigoed" with an opacity gradation,
   faintest at the top, most visible at the bottom of the card. */
.polycta__scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.polycta__scatter svg {
  position: absolute;
  color: var(--pr-paper);
  fill: currentColor;
  display: block;
  /* slight wobble shadow so paws sit on the orange instead of floating */
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.04));
}
/* gradation: top rows = faint + small, bottom rows = bolder + larger */
.polycta__scatter .pw { width: 44px; height: 44px; opacity: .10; }
.polycta__scatter .pw.r1 { width: 36px; height: 36px; opacity: .06; }
.polycta__scatter .pw.r2 { width: 44px; height: 44px; opacity: .10; }
.polycta__scatter .pw.r3 { width: 56px; height: 56px; opacity: .15; }
.polycta__scatter .pw.r4 { width: 70px; height: 70px; opacity: .20; }
.polycta__scatter .pw.r5 { width: 86px; height: 86px; opacity: .26; }
@media (max-width: 880px) {
  .polycta__scatter .pw    { width: 28px; height: 28px; }
  .polycta__scatter .pw.r1 { width: 22px; height: 22px; }
  .polycta__scatter .pw.r2 { width: 28px; height: 28px; }
  .polycta__scatter .pw.r3 { width: 36px; height: 36px; }
  .polycta__scatter .pw.r4 { width: 46px; height: 46px; }
  .polycta__scatter .pw.r5 { width: 58px; height: 58px; }
}
.polycta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .polycta__grid { grid-template-columns: 1fr; } }
.polycta h2 {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin: 14px 0 32px;
  color: var(--pr-paper);
}
.polycta p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  margin: 0 0 22px;
  color: var(--pr-orange-100);
  max-width: 46ch;
}
.polycta .eyebrow { color: var(--pr-yellow-500); }
.polycta .btn--primary {
  background: var(--pr-paper);
  color: var(--pr-orange-900);
  border-color: var(--pr-paper);
}
.polycta .btn--primary:hover { background: var(--pr-orange-100); }

.paws {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: var(--r-xl);
  background: var(--pr-paper);
  border: 2px solid var(--pr-paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.paws img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.paws svg { width: 78%; height: 78%; }

/* ---------- Articles ---------- */
.articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
@media (max-width: 720px) { .articles { grid-template-columns: 1fr; } }

.article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: var(--pr-ink-900);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 14px 30px -22px rgba(125,30,24,.45);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -24px rgba(125,30,24,.55);
}
.article-card--cream  { background: var(--pr-cream); }
.article-card--white  { background: #ffffff; }
.article-card--paper  { background: var(--pr-paper); }
.article-card--orange { background: var(--pr-orange-500); color: var(--pr-paper); }
.article-card--rose   { background: var(--pr-rose);       color: var(--pr-paper); }
/* Polydactyly card — 70s paw "behang" (tone-on-tone, scrim keeps text crisp) */
.article-card--paws {
  background-color: var(--pr-orange-200);
  background-image:
    linear-gradient(rgba(255,247,236,.5), rgba(255,247,236,.5)),
    url(assets/paw-wallpaper.svg);
  background-size: auto, 150px;
  color: var(--pr-orange-900);
}
.article-card--paws .article-card__title { color: var(--pr-orange-900); }

.article-card__tag {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  opacity: 0.92;
}
.article-card__title {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin: 4px 0 0;
  color: inherit;
}
.article-card--cream .article-card__title,
.article-card--white .article-card__title,
.article-card--paper .article-card__title { color: var(--pr-orange-900); }
.article-card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: inherit;
  opacity: 0.85;
  max-width: 38ch;
}
.article-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--ff-bold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}
.article-card__more span { transition: transform .2s ease; display: inline-block; }
.article-card:hover .article-card__more span { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer {
  margin: clamp(80px, 10vw, 140px) 0 0;
  background: var(--pr-ink-900);
  color: var(--pr-orange-100);
  padding: clamp(60px, 7vw, 100px) var(--gutter) 32px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow-x: clip;
}
.footer__big {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.82;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  color: var(--pr-orange-700);
  margin: 0 0 48px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__cols h4 {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-orange-500);
  margin: 0 0 14px;
}
.footer__cols a, .footer__cols p {
  color: var(--pr-orange-100);
  font-size: 14px;
  line-height: 1.6;
  display: block;
  margin: 0 0 6px;
}
.footer__cols a:hover { color: var(--pr-orange-500); }
.footer__legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal span { flex: 1 1 auto; min-width: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Floating paw decorations ---------- */
.paw-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.16;
  color: var(--pr-orange-700);
  font-family: var(--ff-display-fat);
  font-size: 200px;
  line-height: 1;
}

/* ---------- Contact page ---------- */
.contact-hero {
  margin-top: 36px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 60px) clamp(40px, 6vw, 60px);
  border-radius: var(--r-xl);
  background: var(--pr-orange-700);
  color: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "say hi";
  position: absolute;
  top: -30px;
  right: -40px;
  font-family: var(--ff-display-fat);
  font-size: clamp(160px, 22vw, 360px);
  color: rgba(255,255,255,.08);
  line-height: 0.9;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.contact-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 880px) { .contact-hero__inner { grid-template-columns: 1fr; } }
.contact-hero h1 {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.015em;
  color: var(--pr-paper);
  text-transform: lowercase;
  margin: 18px 0 0;
}
.contact-hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 3px var(--pr-paper);
}
.contact-hero p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--pr-orange-100);
  margin: 0 0 14px;
  max-width: 40ch;
}
.contact-hero .eyebrow { color: var(--pr-yellow-500); }

.contact-hero__photo {
  position: relative;
  z-index: 1;
  margin: -16px -8px clamp(20px, 3vw, 36px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--pr-orange-900);
  box-shadow: var(--sh-3);
  aspect-ratio: 16/7;
  background: var(--pr-orange-200);
}
.contact-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact body grid: form + side panel */
.contact-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(48px, 7vw, 80px);
  align-items: start;
}
@media (max-width: 980px) { .contact-body { grid-template-columns: 1fr; } }

.form {
  background: var(--pr-paper);
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 60px -30px rgba(176,56,28,.3);
  position: relative;
}
.form h2 {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.9;
  text-transform: lowercase;
  color: var(--pr-orange-900);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.form__row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--ff-bold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-ink-900);
}
.field input,
.field textarea,
.field select {
  font-family: var(--ff-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--pr-ink-200);
  border-radius: var(--r-md);
  background: var(--pr-cream);
  color: var(--pr-ink-900);
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--pr-orange-700);
  box-shadow: var(--sh-glow);
}
.field textarea { min-height: 140px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  font-family: var(--ff-bold);
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--pr-ink-300);
  background: var(--pr-paper);
  color: var(--pr-ink-900);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.chip:hover { border-color: var(--pr-orange-700); }
.chip.is-on {
  background: var(--pr-orange-900);
  color: var(--pr-paper);
  border-color: var(--pr-orange-900);
}
.chip__paw {
  width: 24px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url(assets/poly-paw.png) center / contain no-repeat;
  mask: url(assets/poly-paw.png) center / contain no-repeat;
}

.form__submit {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.form__note {
  font-size: 13px;
  color: var(--pr-ink-500);
  line-height: 1.5;
  max-width: 36ch;
}

/* Contact side cards */
.side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.info-card {
  border-radius: var(--r-xl);
  padding: 26px 28px;
  border: 2px solid var(--pr-orange-900);
  position: relative;
  overflow: hidden;
}
.info-card h3 {
  font-family: var(--ff-display-fat);
  font-weight: 400;
  font-size: 36px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin: 0 0 14px;
}
.info-card p, .info-card a, .info-card li {
  font-size: 15px;
  line-height: 1.6;
}
.info-card ul { margin: 0; padding: 0; list-style: none; }
.info-card li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.info-card li .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pr-paper);
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}
.info-card--rose {
  background: var(--pr-rose);
  color: var(--pr-paper);
}
.info-card--rose h3 { color: var(--pr-paper); }
.info-card--cream {
  background: var(--pr-paper);
  color: var(--pr-ink-900);
}
.info-card--cream h3 { color: var(--pr-orange-900); }
.info-card--orange {
  background: var(--pr-orange-700);
  color: var(--pr-paper);
}
.info-card--orange h3 { color: var(--pr-paper); }

.info-card a.link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-card a.link:hover { color: var(--pr-yellow-500); }

.faq {
  margin-top: clamp(60px, 8vw, 100px);
}
.faq__list {
  display: grid;
  gap: 12px;
}
.faq__item {
  border: 2px solid var(--pr-orange-900);
  border-radius: var(--r-lg);
  background: var(--pr-paper);
  padding: 22px 26px;
  cursor: pointer;
  transition: background .2s ease;
}
.faq__item[open] { background: var(--pr-orange-100); }
/* Polydactyl FAQ — whisper of the 70s paw behang (kept faint for legibility) */
.faq__item--paws {
  background-image:
    linear-gradient(rgba(255,247,236,.72), rgba(255,247,236,.72)),
    url(assets/paw-wallpaper.svg);
  background-size: auto, 140px;
}
.faq__item--paws[open] {
  background-color: var(--pr-orange-100);
  background-image:
    linear-gradient(rgba(255,243,223,.8), rgba(255,243,223,.8)),
    url(assets/paw-wallpaper.svg);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  font-family: var(--ff-bold);
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--pr-ink-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 32px;
  width: 32px;
  height: 32px;
  line-height: 28px;
  text-align: center;
  color: var(--pr-orange-700);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed var(--pr-orange-300);
  color: var(--pr-ink-700);
  font-size: 15px;
  line-height: 1.65;
}

/* Press effect on chips, buttons */
.btn:active, .chip:active { transform: scale(.97); }

/* ---------- Begin alle titels met een beginkapitaal ----------
   Alle titels gebruiken text-transform: lowercase voor visuele consistentie;
   de eerste letter krijgt een uppercase ::first-letter override. */
.fat::first-letter,
.hero-title::first-letter,
.cat-card__name::first-letter,
.memcard__year::first-letter,
.stat__number::first-letter,
.story__copy h2::first-letter,
.marquee__text::first-letter,
.section-title::first-letter,
.cta-title::first-letter,
.cta-headline::first-letter,
.outro__title::first-letter,
.poly__title::first-letter,
.featured__title::first-letter,
.feature-card__title::first-letter,
.subscribe__title::first-letter,
[class*="__title"]::first-letter,
h1::first-letter,
h2::first-letter,
h3::first-letter {
  text-transform: uppercase;
}


/* ---------- Mobile: move Paw Academy ribbon between hero copy and slider
   (placed at end of file so it wins the cascade over earlier .hero__title-row rules) ---------- */
@media (max-width: 880px) {
  .hero__copy { display: contents; }
  .hero__title-row { display: contents; }
  .hero__grid .eyebrow { order: 1; }
  .hero__grid > .hero__copy .hero__title,
  .hero__title-row .hero__title { order: 2; }
  .hero__grid .hero__lead { order: 3; }
  .hero__grid > .hero__stage { order: 4; }
  .hero__quote-cta-row { display: contents; }
  .hero__quote { order: 5; }
  .hero__grid .hero__cta-row { order: 6; }
  .hero__copy > .hero__ribbon,
  .hero__title-row .hero__ribbon {
    order: 7;
    position: static;
    align-self: center;
    width: clamp(96px, 22vw, 140px);
    margin: 4px auto 0;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(-6deg);
  }
}

/* ---------- Desktop: quote now lives in normal DOM flow inside .hero__copy
   (between the intro text and the CTA buttons) — no grid-row tricks needed. ---------- */
@media (min-width: 881px) {
  .hero__quote { margin-top: 4px; max-width: 480px; flex: 1 1 480px; }
  .hero__quote-cta-row .hero__quote {
    font-size: clamp(17px, 1.5vw, 23px);
    padding: 18px 20px 18px 24px;
  }
  .hero__quote-cta-row { display: flex; align-items: center; gap: 24px; }
  .hero__quote-cta-row .hero__cta-row { flex-direction: column; flex-shrink: 0; }
}

