/* hero (M1: toys / chews swap, driven by .hero[data-state]) */
.hero { padding: 24px 0 60px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 3.2vw, 2.8rem); letter-spacing: -.01em; }

/* the swapping word: the box always matches the visible word, so spacing stays even */
.hero__word { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; color: var(--red); vertical-align: baseline; width: var(--word-w, auto); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.hero[data-state="toys"] { --word-w: var(--w-toys, auto); }
.hero[data-state="chews"] { --word-w: var(--w-chews, auto); }
.hero__w { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1); }
.hero__w[data-for="chews"] { position: absolute; left: 0; top: 0; }
.hero[data-state="toys"] .hero__w[data-for="toys"],
.hero[data-state="chews"] .hero__w[data-for="chews"] { opacity: 1; transform: none; }

/* brush-stroke underline, drawn left to right when its word arrives */
.hero__brush { position: absolute; z-index: -1; left: -3%; width: 106%; bottom: -.22em; height: .46em; fill: var(--butter); transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.hero[data-state="toys"] [data-for="toys"] .hero__brush,
.hero[data-state="chews"] [data-for="chews"] .hero__brush { transform: scaleX(1); transition-delay: .2s; }

/* each picture is centred in the shape and sized so toys (and chews) look the same size */
.hero__main--lobster { width: 80%; top: 50.6%; rotate: -6deg; }
.hero__main--flamingo { height: 80%; width: auto; top: 51%; rotate: -5deg; }
.hero__main--cactus { height: 70%; width: auto; top: 52%; rotate: 5deg; }
.hero__main--bone { width: 84%; top: 49%; rotate: -4deg; }
.hero__main--ears { width: 84%; top: 49%; rotate: 3deg; }
.hero__main--rolls { width: 80%; top: 49%; rotate: -3deg; }

.hero__sub { font-size: 19px; max-width: 34em; margin: 22px 0 28px; color: var(--ink-soft); }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero__stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center; }
.hero__shape { position: absolute; inset: 4%; border-radius: 52% 48% 46% 54% / 50% 46% 54% 50%; background: #92D2C8; transition: background-color .5s ease; }
.hero[data-state="chews"] .hero__shape { background: var(--butter); }
.hero__media { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .5s; }
.hero[data-state="toys"] .hero__media[data-for="toys"],
.hero[data-state="chews"] .hero__media[data-for="chews"] { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero__img { position: absolute; left: 50%; translate: -50% -50%; opacity: 0; transform: translateY(18px); transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s cubic-bezier(.22, 1, .36, 1); filter: drop-shadow(0 12px 12px rgba(31, 74, 45, .22)); }
.hero[data-state="toys"] .hero__media[data-for="toys"] .hero__img,
.hero[data-state="chews"] .hero__media[data-for="chews"] .hero__img { transform: none; }
.hero__img.is-on { opacity: 1; }


@media (max-width: 900px) {
  .hero { padding: 24px 0 50px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  /* shrinks only as much as needed so "Premium dog chews" always stays on one line */
  .hero h1 { font-size: clamp(1.6rem, calc((100vw - 36px) / 10.1), 2.8rem); }
  .hero__br { display: none; }
  .hero__cta { justify-content: center; }
  .hero__sub { font-size: 17px; }
}

/* trust band */
.trust { position: relative; background: var(--red); color: var(--white); }
.trust::before { content: ''; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C30 2 90 2 120 12S210 22 240 12V24H0Z' fill='%23C8402A'/%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x; }
.trust ul { list-style: none; margin: 0; padding: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.trust__item { display: flex; align-items: center; gap: 16px; }
.trust__badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--butter); color: var(--ink); }
.trust__text { display: grid; gap: 2px; line-height: 1.35; }
.trust__text strong { font-size: 18px; }
.trust__text span { font-size: 15px; }

@media (max-width: 900px) {
  .trust ul { grid-template-columns: 1fr; padding: 32px 0; gap: 22px; }
}

/* dog toys: intro, pinned materials (M2), three product tiles */
.toys { padding: 80px 0 0; }
.toys__intro { max-width: 40em; margin: 0 auto 48px; text-align: center; }
.toys__intro h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); text-wrap: balance; }
.toys__intro p { margin: 16px auto 0; font-size: 19px; color: var(--ink-soft); max-width: 32em; }

.mat { --step-bg: var(--sage); }
.mat[data-step="1"] { --step-bg: var(--butter); }
.mat[data-step="2"] { --step-bg: #F7C9BC; }
.mat[data-step="3"] { --step-bg: var(--sage); }
.mat__stage { display: none; }
.mat__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mat__step { position: relative; display: flex; flex-direction: column; gap: 16px; background: var(--white); border-radius: var(--r-panel); padding: 14px 14px 22px; outline: 2px dashed rgba(200, 64, 42, .45); outline-offset: -9px; }
.mat__fig { position: relative; margin: 0; height: 340px; display: grid; place-items: center; border-radius: var(--r-photo); background: color-mix(in srgb, var(--sage) 24%, var(--white)); overflow: hidden; }
.mat__step[data-part="lining"] .mat__fig { background: color-mix(in srgb, var(--butter) 24%, var(--white)); }
.mat__step[data-part="filling"] .mat__fig { background: color-mix(in srgb, #F7C9BC 40%, var(--white)); }
.mat__fig img { position: absolute; top: 3%; left: 50%; translate: -50% 0; height: 94%; width: auto; max-width: none; filter: drop-shadow(0 12px 10px rgba(31, 74, 45, .25)); }
.mat__body { padding: 0 12px; }
.mat__num { position: absolute; z-index: 1; left: 24px; top: 24px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--butter); color: var(--ink); font: 400 20px 'Young Serif', Georgia, serif; box-shadow: 0 3px 0 rgba(31, 74, 45, .25); }
.mat__step h3 { font-size: 22px; margin: 0 0 6px; }
.mat__step p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.mat__step .hand { display: inline-block; margin-top: 8px; font-size: 24px; line-height: 1; rotate: -2deg; }
.mat__eco { position: relative; margin: 32px auto 0; max-width: 820px; background: var(--ink); color: var(--paper); border-radius: 30px; padding: 26px 32px 30px; outline: 2px dashed var(--butter); outline-offset: -10px; box-shadow: 0 16px 28px -14px rgba(31, 74, 45, .55); rotate: -1deg; }
.mat__eco-title { margin: 0 0 14px; font-size: 34px; line-height: 1; color: var(--butter); }
.mat__eco ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.mat__eco li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.35; }
.eco__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--butter); color: var(--ink); }

/* pinned layout, switched on by materials.js (wide screens, normal motion):
   one cut-out flamingo swings left and right and turns, the card sits on the opposite side */
.mat.is-pinned { position: relative; height: calc(100vh - 130px); min-height: 560px; max-height: 820px; }
.mat.is-pinned .mat__stage { display: block; position: absolute; inset: 0; perspective: 1100px; }
.mat__toy { position: absolute; left: 22%; top: 46%; height: min(64%, 520px); aspect-ratio: 659 / 1237; will-change: left, top, transform; }
.mat__blob { position: absolute; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 52% 48% 46% 54% / 50% 46% 54% 50%; background: color-mix(in srgb, var(--step-bg) 20%, var(--paper)); transition: background-color .5s ease; }
.mat__flip { position: absolute; inset: 0; transform-style: preserve-3d; }
.mat__flip img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 16px 14px rgba(31, 74, 45, .28)); }
.mat__flip img[data-view="front"] { opacity: 1; }
.mat.is-pinned .mat__side { position: absolute; inset: 0; pointer-events: none; }
.mat.is-pinned .mat__list { display: block; }
.mat.is-pinned .mat__step { position: absolute; top: 46%; width: min(400px, 36%); padding: 22px 24px 22px 76px; opacity: 0; translate: 0 calc(-50% + 18px); outline-color: var(--red); transition: opacity .45s ease, translate .45s cubic-bezier(.22, 1, .36, 1); }
.mat.is-pinned .mat__step[data-side="right"] { right: 8%; }
.mat.is-pinned .mat__step[data-side="left"] { left: 8%; }
.mat.is-pinned .mat__step[data-part="cord"] { top: 27%; } /* leaves the bottom-left free for the eco note */
.mat.is-pinned .mat__step.is-active { opacity: 1; translate: 0 -50%; pointer-events: auto; }
.mat.is-pinned .mat__fig { display: none; }
.mat.is-pinned .mat__body { padding: 0; }
.mat.is-pinned .mat__num { left: 20px; top: 24px; }
.mat.is-pinned .mat__step h3 { font-size: 24px; }
.mat.is-pinned .mat__eco { position: absolute; left: 8%; bottom: 1%; width: min(420px, 38%); max-width: none; margin: 0; padding: 16px 22px 20px; opacity: 0; translate: 0 24px; transition: opacity .5s ease, translate .6s cubic-bezier(.22, 1, .36, 1); }
.mat.is-pinned .mat__eco ul { grid-template-columns: 1fr; gap: 8px; }
.mat.is-pinned .mat__eco li { font-size: 15px; gap: 10px; }
.mat.is-pinned .eco__icon { width: 38px; height: 38px; }
.mat.is-pinned .eco__icon svg { width: 22px; height: 22px; }
.mat.is-pinned .mat__eco-title { font-size: 28px; margin-bottom: 8px; }
.mat.is-pinned.is-last .mat__eco { opacity: 1; translate: 0 0; }

/* the three tiles, on a pale sage band with a wave edge */
.toys__more { position: relative; margin-top: 90px; padding: 36px 0 84px; background: var(--sage-pale); }
.toys__more::before { content: ''; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C30 2 90 2 120 12S210 22 240 12V24H0Z' fill='%23DCE6D3'/%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x; }
.toys__lead { margin: 0 0 22px; text-align: center; font-size: 30px; line-height: 1; }
.toys__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.toy-tile { position: relative; display: grid; justify-items: center; gap: 12px; padding: 30px 20px 24px; border-radius: var(--r-panel); background: var(--tile-bg, var(--white)); outline: 2px dashed rgba(31, 74, 45, .3); outline-offset: -10px; transition: transform .25s ease, box-shadow .25s ease; }
.toy-tile__img { position: relative; width: 100%; height: 260px; display: grid; place-items: center; }
.toy-tile__img::before { content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 52% 48% 46% 54% / 50% 46% 54% 50%; background: var(--blob, rgba(255, 253, 248, .5)); }
.toy-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(31, 74, 45, .25)); }
.toy-tile__name { margin: 0; font: 400 24px/1.1 'Young Serif', Georgia, serif; }
.toys__cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; }
@media (hover: hover) {
  .toy-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
}

@media (max-width: 900px) {
  .toys { padding-top: 56px; }
  .toys__intro { margin-bottom: 32px; }
  .toys__intro p { font-size: 17px; }
  .mat__list { grid-template-columns: 1fr; gap: 20px; }
  .mat__fig { height: 300px; }
  .mat__eco ul { grid-template-columns: 1fr; }
  .toys__more { margin-top: 64px; padding-bottom: 64px; }
  .toys__tiles { grid-template-columns: 1fr; gap: 20px; }
  .toy-tile__img { height: 220px; }
}

/* dog chews: intro, the split (M3), benefits, two more chews */
.chews { padding: 96px 0 0; }
.chews__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 72px; }
.chews__copy .hand { margin: 0 0 6px; font-size: 30px; line-height: 1; color: var(--red); }
.chews__copy h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); text-wrap: balance; }
.chews__copy p:last-child { margin: 16px 0 0; font-size: 19px; color: var(--ink-soft); max-width: 30em; }
.chews__dog { position: relative; display: grid; place-items: center; }
.chews__dog::before { content: ''; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 52% 48% 46% 54% / 50% 46% 54% 50%; background: var(--butter); opacity: .55; }
.chews__dog img { position: relative; width: min(100%, 500px); height: auto; filter: drop-shadow(0 14px 12px rgba(31, 74, 45, .25)); }

.chews__split { position: relative; }
.chews__ask { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.chews__pill { margin: 0 0 18px; display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--butter); color: var(--ink); font-size: 14px; font-weight: 700; }
.chews__note { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.chews__stage { position: relative; container-type: inline-size; }
.chews__swoosh, .chews__blob { display: none; }
.chews__bone { display: grid; justify-items: center; margin: 0 auto 28px; width: min(80%, 380px); }
.chews__bone-tilt { position: relative; width: 100%; rotate: -8deg; }
.chews__half { width: 100%; height: auto; filter: drop-shadow(0 12px 10px rgba(31, 74, 45, .25)); }
.chews__half--bottom { display: none; }
.chews__parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chews__part { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 24px; background: var(--white); }
.chews__part img { width: 100%; height: auto; }
.chews__label { display: grid; gap: 2px; }
.chews__name { font: 600 28px/1 'Caveat', cursive; color: var(--ink); }
.chews__pct { font: 400 22px/1.1 'Young Serif', Georgia, serif; color: var(--red); }
.chews__desc { font-size: 14px; line-height: 1.35; color: var(--ink-soft); }

.chews__benefits { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.chews__benefit { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.chews__benefit svg { width: 34px; height: 34px; fill: var(--butter); stroke: var(--ink); stroke-width: 1.4; }
.chews__benefit strong { display: block; font: 400 21px/1.2 'Young Serif', Georgia, serif; }
.chews__benefit span { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-soft); }

.chews__more { margin-top: 90px; }
.chews__tiles { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
.chews__plus { margin: 40px 0 0; text-align: center; font-size: 19px; color: var(--ink-soft); }
.chews__more .toys__cta { margin-top: 24px; }

@media (min-width: 900px) {
  .chews__stage { height: 700px; --mid: 350; }
  .chews__pill { position: absolute; right: 0; top: 8px; margin: 0; }
  .chews__swoosh { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .chews__swoosh path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; opacity: 0; }
  /* a soft coloured block behind the stack, like M2's block behind the pouch */
  .chews__blob { display: block; position: absolute; left: 50%; top: 20px; width: 300px; height: 660px; translate: -46% 0; border-radius: 40px; background: var(--sage-pale); transition: opacity .6s ease .3s, transform .9s cubic-bezier(.22, 1, .36, 1) .3s; }
  .chews__stage.is-gathered .chews__blob { opacity: 0; transform: scale(.85); }
  .chews__bone { position: absolute; left: 50%; top: calc(var(--mid) * 1px); width: 400px; margin: 0; translate: -50% -50%; z-index: 3; pointer-events: none; }
  .chews__half--top { clip-path: inset(0 0 50% 0); }
  .chews__half--bottom { display: block; position: absolute; inset: 0; clip-path: inset(50% 0 0 0); }
  .chews__half { transition: transform 2.1s cubic-bezier(.22, 1, .36, 1), opacity 1.3s ease .5s; }
  /* once split, the two halves of the bone lift away and fade as the parts burst out between them */
  .chews__stage:not(.is-gathered) .chews__half--top { transform: translateY(-120px) rotate(-3deg); opacity: 0; }
  .chews__stage:not(.is-gathered) .chews__half--bottom { transform: translateY(120px) rotate(3deg); opacity: 0; }
  .chews__parts { display: block; }
  .chews__part { position: absolute; left: 50%; top: calc(var(--y) * 1px); translate: -50% -50%; display: block; width: 230px; padding: 0; background: none; z-index: 2; transition: transform 2.3s cubic-bezier(.22, 1, .36, 1), opacity 1.1s ease; transition-delay: calc(.8s + var(--i) * .3s); }
  .chews__part img { display: block; width: 230px; height: auto; }
  .chews__label { position: absolute; top: 50%; width: 300px; translate: 0 -50%; gap: 4px; transition: opacity .5s ease; transition-delay: calc(2.3s + var(--i) * .3s); }
  .chews__part[data-side="right"] .chews__label { left: calc(100% + 96px); text-align: left; }
  .chews__part[data-side="left"] .chews__label { right: calc(100% + 96px); text-align: right; }
  .chews__label::before { content: ''; position: absolute; top: 50%; width: 80px; height: 1px; background: var(--ink); opacity: .6; transition: transform .5s ease; transition-delay: calc(2.3s + var(--i) * .3s); }
  .chews__part[data-side="right"] .chews__label::before { right: calc(100% + 8px); transform-origin: right center; }
  .chews__part[data-side="left"] .chews__label::before { left: calc(100% + 8px); transform-origin: left center; }
  /* the start: every part is squeezed into the bone, then the bone splits and they burst out */
  .chews__stage.is-gathered .chews__part { transform: translateY(calc((var(--mid) - var(--y)) * 1px)) scale(.3); opacity: 0; }
  .chews__stage.is-gathered .chews__label { opacity: 0; }
  .chews__stage.is-gathered .chews__label::before { transform: scaleX(0); }
  .chews__stage.is-spread .chews__swoosh path { animation: chews-swoosh 3.4s ease forwards; }
}

@keyframes chews-swoosh { 0% { stroke-dashoffset: 1; opacity: .7; } 55% { stroke-dashoffset: 0; opacity: .7; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* phones: the whole bone shows first, then fades away as the five part cards fade up one by one */
@media (max-width: 899px) {
  .chews__stage.is-gathered .chews__bone, .chews__stage.is-spread .chews__bone { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; width: min(72%, 320px); z-index: 3; pointer-events: none; transition: opacity 1.3s ease .4s, transform 1.7s cubic-bezier(.22, 1, .36, 1) .4s; }
  .chews__stage.is-spread .chews__bone { opacity: 0; transform: scale(.7); }
  .chews__stage.is-gathered .chews__part, .chews__stage.is-spread .chews__part { transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(1s + var(--i) * .3s); }
  .chews__stage.is-gathered .chews__part { opacity: 0; transform: translateY(28px) scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  .chews__part, .chews__bone, .chews__label, .chews__label::before, .chews__half, .chews__blob { transition: none !important; }
  .chews__swoosh path { animation: none !important; }
}

@media (max-width: 900px) {
  .chews { padding-top: 64px; }
  .chews__intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .chews__copy p:last-child { font-size: 17px; }
  .chews__benefits { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .chews__more { margin-top: 64px; }
  .chews__tiles { grid-template-columns: 1fr; }
  .chews__part { grid-template-columns: 100px 1fr; }
}

/* closing: certificates, then the final request blocks with peeking dogs */
.certs { position: relative; margin-top: 90px; padding: 56px 0 72px; background: var(--sage-pale); text-align: center; }
.certs::before { content: ''; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C30 2 90 2 120 12S210 22 240 12V24H0Z' fill='%23DCE6D3'/%3E%3C/svg%3E") 0 0 / 240px 24px repeat-x; }
.certs__note { margin: 0 0 4px; font-size: 30px; line-height: 1; }
.certs__title { margin: 0 0 36px; font: 400 clamp(30px, 4vw, 44px) / 1.1 'Young Serif', serif; color: var(--ink); }
.certs__row { list-style: none; margin: 0 auto; padding: 0; max-width: 1020px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.cert { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 30px 22px 28px; border-radius: var(--r-panel); background: var(--white); outline: 2px dashed rgba(31, 74, 45, .3); outline-offset: -10px; }
.cert__mark { width: 104px; height: 104px; object-fit: contain; }
.cert__type { color: var(--ink); display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; font: 400 28px / 1 'Young Serif', serif; color: var(--ink); }
.cert__type--sage { background: var(--sage); }
.cert__type--blush { background: #F7C9BC; }
.cert__name { margin: 8px 0 0; font: 700 19px / 1.25 'Figtree', sans-serif; color: var(--ink); }
.cert__line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.cert__no { margin: 4px 0 0; padding: 4px 12px; border-radius: 99px; background: var(--sage-pale); font-size: 14px; font-weight: 700; color: var(--ink); }
.certs__copies { margin: 30px 0 0; font-size: 17px; }

.peeks { padding: 72px 0 96px; background: var(--paper); }
.peeks__title { position: relative; z-index: 0; margin: 0 0 -30px; text-align: center; font: 400 clamp(30px, 4vw, 48px) / 1.1 'Young Serif', serif; color: var(--ink); }
.peeks__row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; align-items: end; }
.peek { position: relative; display: flex; flex-direction: column; align-items: center; scroll-margin-top: 100px; }
.peek__dog { position: relative; z-index: 2; width: 84%; height: auto; transform: translateY(var(--drop, 10%)); }
.peek[data-block="cta"] .peek__dog { width: 88%; }
.peek__box { width: 100%; display: grid; align-content: center; gap: 8px; padding: 52px 26px 34px; min-height: 190px; border-radius: var(--r-panel); background: var(--box); color: var(--ink); text-align: center; }
.peek__box--cta { min-height: 270px; color: var(--paper); }
.peek__tag { margin: 0; font-size: 26px; line-height: 1; color: var(--ink); }
.peek__fact { margin: 0; font: 700 20px / 1.3 'Figtree', sans-serif; }
.peek__title { margin: 0; font: 400 30px / 1.1 'Young Serif', serif; }
.peek__sub { margin: 0; font-size: 16px; }
.peek__btns { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 5px 0 #7C2415; }
.btn--red:hover { box-shadow: 0 7px 0 #7C2415; }
.btn--red:active { box-shadow: 0 2px 0 #7C2415; }
@media (max-width: 900px) {
  .certs { margin-top: 64px; padding: 44px 0 56px; }
  .peeks { padding: 56px 0 72px; }
  .peeks__title { margin-bottom: 8px; }
  .peeks__row { grid-template-columns: 1fr; gap: 26px; }
  .peek[data-block="cta"] { order: -1; }
  .peek__dog, .peek[data-block="cta"] .peek__dog { width: 64%; max-width: 300px; }
}

@media (max-width: 900px) {
  /* certificates read as compact rows on phones instead of four tall cards */
  .certs__row { grid-template-columns: 1fr; gap: 14px; }
  .cert { grid-template-columns: 76px 1fr; justify-items: start; align-items: center; text-align: left; column-gap: 18px; row-gap: 2px; padding: 20px 20px; outline-offset: -8px; }
  .cert__mark, .cert__type { grid-row: 1 / span 3; width: 76px; height: 76px; }
  .cert__type svg { width: 40px; height: 40px; }
  .cert__name { margin: 0; font-size: 17px; }
  .cert__line { font-size: 15px; }
  .cert__no { margin-top: 6px; }
}
