@font-face { font-family: "Quality Hand"; src: url("assets/quality-heading.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.quality-page .quality-snack-cta { width: 100%; padding: 65px 0 75px; background: #fff; }
.quality-snack-cta .snack-links { margin-top: 0; }
.quality-snack-cta h2 { margin: 0 0 34px; color: var(--red); font-family: var(--display); font-size: clamp(1.65rem,3.2vw,2.8rem); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.quality-snack-cta .snack-button { min-width: 232px; }
@media(max-width:540px) { .quality-page .quality-snack-cta { padding: 45px 0 55px; } }
@font-face { font-family: "Quality Text"; src: url("assets/quality-text.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
body[data-page="quality"] .wordmark img { height: 76px; object-fit: cover; }
body[data-page="quality"] .site-header .wordmark img { height: 98.8px; }
body[data-page="quality"] .wordmark span { justify-self: center; }
.quality-approved-shell { width: min(calc(100% - 100px), 1240px); margin-inline: auto; }
.quality-approved-hero { position: relative; z-index: 1; color: #fff; background: #2778bd; padding: 44px 0 150px; clip-path: polygon(0 0,100% 0,100% calc(100% - 140px),0 100%); }
.quality-approved-grid { display: grid; grid-template-columns: 55% 45%; align-items: center; min-height: 360px; }
.quality-approved-copy { padding: 35px 24px 35px 18px; }
.quality-approved-copy h1 { max-width: 540px; font-family: "Quality Hand", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(34px,3.5vw,48px); line-height: 1.18; letter-spacing: 0; margin: 0 0 30px; color: #fff; }
.quality-approved-copy p { font-family: "Quality Text", "Segoe UI", sans-serif; font-size: clamp(19px,1.9vw,26px); line-height: 1.35; margin: 0; }
.quality-approved-art { position: relative; height: 370px; margin: 0; }
.quality-approved-art img { position: absolute; object-fit: cover; transition: transform .55s ease, border-radius .55s ease; }
.quality-approved-food { width: 78%; height: 100%; right: 0; top: 0; border-radius: 58% 42% 39% 61% / 30% 53% 47% 70%; object-position: 52% center; }
.quality-approved-worker { width: 56%; height: 69%; left: 0; bottom: -8px; border-radius: 54% 46% 59% 41% / 55% 44% 56% 45%; }
.quality-approved-art:hover .quality-approved-food { transform: translateY(-6px) rotate(1deg); }
.quality-approved-art:hover .quality-approved-worker { transform: translateY(4px) rotate(-2deg); }
.quality-approved-pets { background: #e1f2f9; margin-top: -140px; padding: 175px 0 40px; color: #0069b5; }
.quality-approved-pets-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.quality-approved-pet-art { align-self: end; }
.quality-approved-pet-art img { width: 100%; height: auto; object-fit: contain; transition: transform .5s ease; }
.quality-approved-pet-art:hover img { transform: translateY(-7px); }
.quality-approved-priority { padding: 25px 0; }
.quality-approved-priority h2 { font-family: "Quality Hand", sans-serif; font-size: clamp(25px,2.35vw,33px); line-height: 1.2; font-weight: 400; text-transform: uppercase; margin: 0 0 25px; }
.quality-approved-priority p { font-family: "Quality Text", "Segoe UI", sans-serif; font-size: clamp(18px,1.8vw,25px); line-height: 1.45; margin: 0; }
@media(max-width:900px) {
 .quality-approved-shell { width: calc(100% - 48px); }
 .quality-approved-copy { padding-left: 0; }
 .quality-approved-art { height: 310px; }
 .quality-approved-pets-grid { grid-template-columns: 1.6fr 1fr; gap: 22px; }
}
@media(max-width:650px) {
 body[data-page="quality"] .wordmark img { height: 49px; }
 body[data-page="quality"] .site-header .wordmark img { height: 63.7px; }
 .quality-approved-shell { width: calc(100% - 36px); }
 .quality-approved-hero { padding: 24px 0 80px; clip-path: polygon(0 0,100% 0,100% calc(100% - 44px),0 100%); }
 .quality-approved-grid { grid-template-columns: 1fr; gap: 22px; }
 .quality-approved-copy { padding: 10px 0 0; }
 .quality-approved-copy h1 { font-size: 34px; margin-bottom: 22px; }
 .quality-approved-copy p { font-size: 20px; }
 .quality-approved-art { width: min(100%,420px); height: 310px; margin-inline: auto; }
 .quality-approved-pets { margin-top: -44px; padding: 70px 0 28px; }
 .quality-approved-pets-grid { grid-template-columns: 1fr; gap: 24px; }
 .quality-approved-priority { padding: 0; }
 .quality-approved-priority h2 { font-size: 29px; margin-bottom: 15px; }
 .quality-approved-priority p { font-size: 20px; }
}
@media(prefers-reduced-motion:reduce) { .quality-approved-art img, .quality-approved-pet-art img { transition: none; transform: none !important; } }
/* Screenshot-approved composition and quality stories, independently scoped. */
.quality-page { overflow-x: clip; }
.q-composition { background: #f6f4f2; padding: 0 0 125px; color: #62615d; }
.q-composition-shell { width: min(88%, 1720px); margin: auto; }
.q-composition h2, .q-ingredient h3, .q-story h2 { font-family: "Quality Hand", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0; }
.q-composition h2 { text-align: center; color: #0065b5; font-size: 48px; line-height: 1.15; margin: 0 0 32px; padding-top: 12px; }
.q-composition-intro { font-family: "Quality Text", sans-serif; font-size: 26px; line-height: 1.45; text-align: center; margin: 0 -30px 72px; }
.q-composition-intro p { margin: 0 0 22px; }
.q-ingredient-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 24px; }
.q-ingredient-column { display: grid; gap: 24px; min-width: 0; }
.q-ingredient { background: #fff; box-shadow: 0 4px 12px #0002; padding: 28px 32px 44px; }
.q-ingredient img { width: 100%; height: auto; }
.q-ingredient h3 { color: var(--ingredient-color); font-size: 40px; line-height: 1.08; margin: 26px 0 32px; overflow-wrap: anywhere; }
.q-ingredient p { font-family: "Quality Text", sans-serif; font-size: 22px; line-height: 1.35; margin: 0 0 18px; color: #707070; }
.q-ingredient p:last-child { margin-bottom: 0; }
.q-story { position: relative; color: #fff; isolation: isolate; }
.q-story-shell { width: min(80%,1520px); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.q-story-copy { position: relative; z-index: 2; }
.q-story h2 { font-size: 60px; line-height: 1.08; margin: 0 0 36px; color: #fff; }
.q-story p { font-family: "Quality Text", sans-serif; font-size: 26px; line-height: 1.45; margin: 0 0 20px; }
.q-story p:last-child { margin-bottom: 0; }
.q-control { background: #389fc5; padding: 115px 0 130px; }
.q-control .q-story-shell { width: min(70%,1340px); min-height: 540px; }
.q-control h2 { max-width: 620px; }
.q-brush-wave { position: absolute; width: 100%; height: 65px; left: 0; top: -1px; }
.q-story-art { position: relative; margin: 0; z-index: 1; }
.q-story-art::before { content: ''; position: absolute; z-index: -1; background: #0002; }
.q-story-art img { width: 100%; height: 100%; object-fit: cover; }
.q-lab-art { height: 490px; }
.q-clip-defs { position: absolute; }
.q-lab-art img { clip-path: url(#q-lab-clip); }
.q-lab-art::before { width: 110%; height: 100%; left: -28%; top: 14%; border-radius: 28% 72% 74% 26% / 51% 43% 57% 49%; transform: rotate(-7deg); }
.q-development { background: #ad517a; padding: 0 0 110px; }
.q-development .q-story-shell { min-height: 580px; gap: 110px; }
.q-development-art { height: 490px; align-self: start; margin-top: -55px; width: 100%; }
.q-development-art img { border-radius: 63% 37% 55% 45% / 69% 58% 42% 31%; }
.q-development-art::before { width: 72%; height: 106%; right: -29%; top: 24%; border-radius: 54% 46% 61% 39% / 31% 50% 50% 69%; transform: rotate(15deg); }
.q-development .q-story-copy { padding-top: 50px; }
.q-commitment { background: #5cbbb5; padding: 100px 0 220px; min-height: 620px; overflow: hidden; }
.q-commitment .q-story-shell { grid-template-columns: 1.2fr 1fr; gap: 110px; }
.q-commitment::before { content: ''; position: absolute; z-index: -1; background: #0002; width: 650px; height: 460px; left: 36%; top: 95px; border-radius: 30% 45% 48% 52% / 36% 47% 53% 64%; transform: rotate(-14deg); }
.q-certifications { display: flex; align-items: center; justify-content: center; gap: 62px; }
.q-certifications .q-ifs { width: 225px; height: auto; border-radius: 6px; }
.q-certifications .q-brc { width: 162px; height: 250px; object-fit: contain; }
.q-bottom-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 180px; z-index: 2; }
.quality-range { background: #f6f4f2; }
@media(max-width:1500px) and (min-width:901px) {
 .q-composition h2 { font-size: 40px; }
 .q-composition-intro { font-size: 22px; }
 .q-ingredient { padding: 24px 24px 34px; }
 .q-ingredient h3 { font-size: 32px; margin-bottom: 25px; }
 .q-ingredient p { font-size: 19px; }
 .q-story h2 { font-size: 44px; }
 .q-story p { font-size: 22px; }
 .q-story-shell, .q-control .q-story-shell { width: 82%; gap: 65px; }
 .q-lab-art, .q-development-art { height: 380px; }
 .q-control { padding: 90px 0 105px; }
 .q-control .q-story-shell { min-height: 450px; }
 .q-development .q-story-shell { gap: 85px; min-height: 480px; }
 .q-commitment .q-story-shell { gap: 50px; }
 .q-certifications { gap: 35px; }
}
@media(max-width:900px) {
 .q-composition { padding-bottom: 70px; }
 .q-composition-shell { width: calc(100% - 40px); }
 .q-composition h2 { font-size: 36px; padding-top: 30px; }
 .q-composition-intro { margin: 0 0 38px; font-size: 21px; }
 .q-ingredient-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .q-ingredient-column { display: contents; }
 .q-ingredient { padding: 24px; order: var(--card-order); }
 .q-ingredient h3 { font-size: 32px; }
 .q-ingredient p { font-size: 20px; }
 .q-story-shell, .q-control .q-story-shell { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 36px; min-height: 0; }
 .q-story h2 { font-size: 42px; margin-bottom: 25px; }
 .q-story p { font-size: 22px; }
 .q-control { padding: 95px 0 100px; }
 .q-story-art { width: min(90%,520px); height: 380px; margin: 0 auto; }
 .q-development { padding: 55px 0 65px; }
 .q-development .q-story-shell { gap: 25px; }
 .q-development-art::before { right: -9%; }
 .q-development .q-story-copy { padding-top: 10px; }
 .q-commitment { padding: 65px 0 140px; min-height: 0; }
 .q-commitment .q-story-shell { grid-template-columns: 1fr; gap: 40px; }
 .q-commitment::before { width: 80%; height: 400px; left: 15%; top: 140px; }
 .q-certifications { gap: 40px; }
 .q-bottom-wave { height: 100px; }
}
@media(max-width:550px) {
 .q-ingredient-grid { display: flex; flex-direction: column; }
 .q-ingredient-column { display: contents; }
 .q-ingredient { padding: 25px 28px 32px; width: 100%; }
 .q-story-art { height: 290px; }
 .q-story h2 { font-size: 36px; }
 .q-certifications .q-ifs { width: 160px; }
 .q-certifications .q-brc { width: 105px; height: 165px; }
 .q-certifications { gap: 25px; }
}
.quality-page .quality-hero h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
.quality-page .section-kicker { color: var(--blue); }
.quality-page .quality-text-link { color: var(--blue); font-weight: 800; text-underline-offset: 5px; }
.quality-page .quality-priority { background: #e8f2f4; }
.quality-page .quality-dogs-image { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; filter: drop-shadow(0 18px 16px #20415418); animation: ingredient-float 7s ease-in-out infinite; transition: filter .4s ease; }
.quality-page .quality-dogs-image:hover { filter: drop-shadow(0 24px 18px #20415430); }
.quality-page .ingredient-notice { max-width: 860px; padding: 20px 24px; background: #edf5f7; border-left: 4px solid #74b9c9; color: #355466; margin: 0 0 48px; line-height: 1.7; }
.quality-page .ingredient-list { gap: 0 54px; align-items: start; }
.quality-page .ingredient-entry { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 20px; padding: 30px 0; border-top: 1px solid #dbe6e9; }
.quality-page .ingredient-index { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 40% 25% 36% 23%; background: #e4f0f3; color: var(--blue); font-weight: 850; font-size: 1.45rem; }
.quality-page .ingredient-entry h3 { margin: 8px 0 14px; color: var(--blue); text-transform: uppercase; font-size: 1.23rem; line-height: 1.25; }
.quality-page .ingredient-entry p { margin: 0; line-height: 1.8; color: #465762; font-size: 1rem; }
.quality-page .quality-process .section-intro { max-width: 840px; }
.quality-page .quality-commitment p { max-width: 820px; line-height: 1.8; }
.quality-page .certificate-note { font-size: .94rem; opacity: .88; }
.quality-page .quality-range > .section-intro { max-width: 750px; margin: 0 auto 35px; }
.quality-page .quality-recommendations { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quality-page .quality-range-card { display: block; padding: 40px 25px; background: #eaf2f4; border-radius: 28px 8px 28px 8px; text-decoration: none; color: var(--blue); transition: transform .25s, background .25s; }
.quality-page .quality-range-card > span { font-size: clamp(3rem,6vw,5.5rem); line-height: 1; font-weight: 900; letter-spacing: -.04em; color: #b5d7df; }
.quality-page .quality-range-card h3 { font-size: 1.7rem; margin: 20px 0 10px; }
.quality-page .quality-range-card p { margin: 0; font-weight: 700; }
.quality-page .quality-range-card:hover { transform: translateY(-5px); background: #dcecf1; }
@media(max-width:720px) {
 .quality-page .ingredient-entry { grid-template-columns: 44px minmax(0,1fr); gap: 14px; padding: 25px 0; }
 .quality-page .ingredient-index { width: 44px; height: 44px; font-size: 1.05rem; }
 .quality-page .ingredient-entry h3 { font-size: 1.12rem; }
 .quality-page .quality-recommendations { grid-template-columns: 1fr; }
 .quality-page .quality-hero h1 { font-size: 2.5rem; }
}
