/* Shared image frames. Packshots keep their full silhouette and one ground. */
.product-frame:has(>.product-main[data-kind=scene]){padding:0}
.product-main[data-kind=scene]{width:100%;height:auto;max-height:none;object-fit:contain;mix-blend-mode:normal}
.scene{display:block;width:100%;height:100%}
.scene.product-scene{background:var(--panel)}
.scene.product-scene img{object-fit:contain;object-position:center;padding:clamp(24px,5vw,64px);mix-blend-mode:multiply}
/* JPEG/WebP whites can decode to 254 rather than 255. Lift that one-step
   off-white before multiplying so the original square has no visible edge. */
.product-scene img,.header-preview img.is-packshot,.animal-choice.is-packshot img,.comparison-product img{background:transparent;mix-blend-mode:multiply;filter:brightness(1.01)}
.product-main:not([data-kind=scene]),.gallery button[data-kind=packshot] img{mix-blend-mode:multiply}
/* Preserve the exact green and white ground of each weaner ASIN's MAIN photo. */
.card:is([data-asin="B0HPNN6YS6"],[data-asin="B0HLL6HPSV"],[data-asin="B0H6JS9SLD"]) .ph{background:#fff}
.card:is([data-asin="B0HPNN6YS6"],[data-asin="B0HLL6HPSV"],[data-asin="B0H6JS9SLD"]) .ph img{object-fit:contain;mix-blend-mode:normal;filter:none}
.product-hero:is([data-product-asin="B0HPNN6YS6"],[data-product-asin="B0HLL6HPSV"],[data-product-asin="B0H6JS9SLD"]) :is(.product-frame,.gallery button[data-kind=packshot]){background:#fff}
.product-hero:is([data-product-asin="B0HPNN6YS6"],[data-product-asin="B0HLL6HPSV"],[data-product-asin="B0H6JS9SLD"]) :is(.product-main:not([data-kind=listing]),.gallery button[data-kind=packshot] img){mix-blend-mode:normal;filter:none}
/* Use only the lower photograph, below the campaign's English headline.
   The 16:10 bottom crop retains the inspected calf/lamb head and full tool. */
.product-use-scene{grid-column:1/-1;justify-self:center;width:100%;max-width:78ch;max-height:min(520px,75vh);margin:0;aspect-ratio:8/5;overflow:hidden;border-radius:var(--r-frame)}
.product-use-scene img{width:100%;height:100%;object-fit:cover;object-position:center bottom}
.editorial:not(.has-hero) .product-main:not([data-kind=scene]){height:auto;max-height:calc(100svh - 260px)}
.use-photo>.product-scene{height:100%}
.reading-card>.product-scene{height:auto;aspect-ratio:16/9}
.reading-card>.product-scene img{padding:24px}
.use-band>.scene{height:100%}
.use-band:has(img[src*="p-round-brush"]){aspect-ratio:16/10}
.header-preview{background:var(--panel)}
.header-preview img.is-packshot{object-position:center;mix-blend-mode:multiply;padding:24px}

/* A product inventory image uses an open panel, with text beside the product. */
.page-hero:has(>.product-scene){background:var(--panel);color:var(--navy);min-height:440px}
.page-hero:has(>.product-scene):after{display:none}
.page-hero>.product-scene{left:55%;width:45%;background:var(--panel);z-index:0}
.page-hero>.product-scene img{padding:80px 40px 32px}
.page-hero:has(>.product-scene) .page-hero-text{position:relative;z-index:1}
.page-hero:has(>.product-scene) h1{max-width:52%;color:var(--navy)}
.page-hero:has(>.product-scene) .eyebrow,.page-hero:has(>.product-scene) .page-hero-text>p{max-width:50%;color:var(--muted)}

/* Crop around the animal and the tool together, using the native photo ratio. */
.door img[src*="cattle"]{object-position:50% 50%}
.door img[src*="p-round-brush"]{object-position:65% 50%}
.door img[src*="p-water-cups"]{object-position:48% 50%}
.door img[src*="p-feeding-syringe"]{object-position:50% 50%}
/* Two intact listing photos occupy the existing tile frame. */
.door>.feeding-products{display:grid;grid-template-columns:3fr 2fr;align-items:center;gap:8px;padding:76px 12px 58px;background:#fff}
.door>.feeding-products img{width:100%;height:100%;min-height:0;object-fit:contain;filter:none;mix-blend-mode:normal}
.feeding-door:after{display:none;background:none}
@media (hover: hover) and (pointer: fine){.feeding-door:hover>.feeding-products img{transform:none}}
@media(max-width:760px){.door>.feeding-products{gap:4px;padding:64px 8px 58px;grid-template-columns:1fr 1fr}}
.statement:has(img[src*="farmer"]),.statement:has(>[data-scene="subah-seva"]){height:min(760px,75vh,calc(100svh - 88px - env(safe-area-inset-top,0px)));min-height:0;align-items:flex-end;padding:clamp(32px,4.5vw,64px)}
.statement>[data-scene="subah-seva"] img{object-fit:contain;object-position:right center}
.statement:has(>[data-scene="subah-seva"]):after{background:linear-gradient(90deg,rgba(8,12,20,.5),rgba(8,12,20,.28) 45%,rgba(8,12,20,0) 75%)}
.page-hero>.scene:is([data-scene],[data-context-scene]) img{object-fit:cover;object-position:right center}
.page-hero:has(>:is([data-scene],[data-context-scene])):after{background:linear-gradient(90deg,#159be066,transparent 45%)}
.page-hero:has(>:is([data-scene],[data-context-scene])) :is(h1,.eyebrow,.page-hero-text>p){max-width:38%}
.use-photo:has(>[data-scene="garden-hoe-use"]){min-height:0;aspect-ratio:16/10}
.use-photo>[data-scene="garden-hoe-use"] img{object-fit:cover;object-position:center}
.statement img[src*="farmer"]{object-position:right top}
.statement:after{background:linear-gradient(90deg,rgba(8,12,20,.5),rgba(8,12,20,.28) 45%,rgba(8,12,20,0) 75%)}
.statement-text{max-width:min(600px,52%);gap:16px}
.statement h2{font-size:clamp(56px,6vw,96px);line-height:1.02;max-width:11ch}
html[lang=hi] .statement h2{line-height:1.12}
.statement-text>p:last-child{max-width:34ch;font-size:clamp(18px,1.4vw,20px);line-height:1.5}
.page-hero img[src*="barn"]{object-position:50% 40%}
.page-hero img[src*="cattle"]{object-position:50% 40%}
.page-hero img[src*="farmer"]{object-position:50% 35%}
.page-hero img[src*="goats"]{object-position:50% 40%}
.page-hero img[src*="p-dung-cake"]{object-position:50% 55%}
.hero,.page-hero{margin-top:0;max-height:calc(100svh - 88px - env(safe-area-inset-top,0px) - var(--inset))}
.page-hero:not(:has(>.product-scene)){min-height:min(clamp(520px,55vw,780px),calc(100svh - 88px - env(safe-area-inset-top,0px) - var(--inset)))}
.page-hero{padding-top:clamp(88px,16vh,120px);padding-bottom:clamp(24px,6vh,48px)}
.page-hero h1{font-size:min(clamp(2.25rem,4.6vw,4rem),9vh)}
.page-hero-text{gap:clamp(8px,1.8vh,12px)}
/* Compact guide and tools-library intros are reviewed separately. */
@media(min-width:761px){
 .page-hero:not(.guide-hero):not(.tools-index-hero){min-height:calc(100svh - 88px - env(safe-area-inset-top,0px) - var(--inset))}
}
.door,.door.big{min-height:0;aspect-ratio:3/2}
.use-band{aspect-ratio:3/2}
.closing{height:min(640px,calc(100svh - 88px - env(safe-area-inset-top,0px)));min-height:0;aspect-ratio:auto;align-items:flex-end;justify-content:flex-start;text-align:left;padding:clamp(32px,4.5vw,64px)}
.closing>.scene img{object-fit:contain;object-position:right center}
.closing:after{background:rgba(8,12,20,.62)}
.closing-text{max-width:min(600px,50%);justify-items:start;gap:16px}
.closing h2{font-size:clamp(56px,6vw,96px);line-height:1.02;max-width:11ch}
html[lang=hi] .closing h2{line-height:1.12}
.closing-text>p{max-width:34ch;font-size:clamp(18px,1.4vw,20px);line-height:1.5}
.use-band,.use-band:has(img[src*="p-round-brush"]){aspect-ratio:auto;margin-top:0}
.use-band>.scene,.use-band>.scene img{height:auto}
.use-band>.scene img{object-fit:contain}

/* Keep adjacent section padding within the same compact rhythm. */
:root{--sec:80px}
@media(max-width:900px){:root{--sec:64px}}
@media(max-width:600px){:root{--sec:56px}}
.editorial:not(.has-hero) main>.band:not(:has(>.buy-bar)){padding-top:0;padding-bottom:72px}
.editorial:not(.has-hero) main>.band:first-child{padding-top:24px}
@media(max-width:760px){.editorial:not(.has-hero) main>.band:not(:has(>.buy-bar)){padding-bottom:56px}}

/* Five cards form three plus two; never a single fourth-column orphan. */
@media(min-width:1025px){
  .catalogue .catalogue-category-grid:has(>.card:nth-child(5)):not(:has(>.card:nth-child(6))){grid-template-columns:repeat(6,minmax(0,1fr))}
  .catalogue .catalogue-category-grid:has(>.card:nth-child(5)):not(:has(>.card:nth-child(6)))>.card{grid-column:span 2}
  .catalogue .catalogue-category-grid:has(>.card:nth-child(5)):not(:has(>.card:nth-child(6)))>.card:nth-child(4){grid-column:2/span 2}
}

@media(max-width:760px){
  .door,.door.big,.door:last-child{grid-column:span 2;min-height:0;aspect-ratio:3/2}
  .door-link{min-height:44px}
  .page-hero:has(>.product-scene){min-height:580px;padding-top:300px}
  .page-hero>.product-scene{inset:68px 0 auto;width:100%;height:224px}
  .page-hero>.product-scene img{padding:16px 44px}
  .page-hero:has(>.product-scene) h1,.page-hero:has(>.product-scene) .eyebrow,.page-hero:has(>.product-scene) .page-hero-text>p{max-width:100%}
  .landing>.hero{width:calc(100% - 32px);margin-inline:auto;height:auto;min-height:calc(100svh - 88px - env(safe-area-inset-top,0px) - var(--inset));max-height:none;grid-template-columns:minmax(0,1fr);padding:32px var(--gut) 76px;place-items:end start;align-content:end}
  .hero>.scene{inset:0;height:100%}
  .hero>.scene img{object-fit:cover}
  .hero:after{height:100%;background:linear-gradient(0deg,#159be066,transparent 45%)}
  .landing .hero-text{grid-template-columns:minmax(0,1fr);gap:16px}
  .landing .hero h1{font-size:clamp(40px,11vw,56px)}
  .landing .hero-actions{gap:12px;margin-top:4px}
  .landing .hero-marks{bottom:24px}
  .page-hero:not(.guide-hero):not(:has(>.product-scene)){display:block;min-height:0;padding:0}
  .page-hero>.scene:not(.product-scene){position:relative;inset:auto;height:auto;aspect-ratio:3/2}
  .page-hero>.scene:not(.product-scene) img{object-position:center}
  .page-hero:not(:has(>.product-scene)) .page-hero-text{padding:24px var(--gut) 32px}
  .page-hero:not(:has(>.product-scene)):after{display:none}
  .closing{display:block;height:auto;padding:0;aspect-ratio:auto}
  .closing>.scene{position:relative;inset:auto;height:auto;aspect-ratio:16/9}
  .closing-text{max-width:none;padding:24px 20px 32px;gap:12px}
  .closing h2{font-size:clamp(48px,14vw,64px);max-width:11ch}
  .closing-text>p{font-size:18px;line-height:1.45}
  .statement:has(img[src*="farmer"]),.statement:has(>[data-scene="subah-seva"]){display:grid;grid-template-rows:auto 1fr;height:auto;max-height:calc(100svh - 88px - env(safe-area-inset-top,0px));min-height:0;padding:0;align-items:end}
  .page-hero:has(>:is([data-scene],[data-context-scene])) :is(h1,.eyebrow,.page-hero-text>p){max-width:100%}
  .page-hero>.scene:is([data-scene],[data-context-scene]) img{object-fit:cover;object-position:center}
  .statement>.scene{position:relative;inset:auto;height:auto;aspect-ratio:16/9}
  .statement>.scene img{object-fit:contain;object-position:right top}
  .statement-text{max-width:none;padding:24px 20px 28px;gap:12px}
  .statement h2{font-size:clamp(48px,14vw,64px);max-width:11ch}
  .statement-text>p:last-child{font-size:18px;line-height:1.45}
  .statement:after,.closing:after{display:none}
  .statement:has(>[data-scene="subah-seva"]){display:flex;grid-template-rows:none;height:auto;min-height:clamp(520px,72svh,640px);max-height:none;padding:24px 20px 28px;align-items:flex-end}
  .statement:has(>[data-scene="subah-seva"])>.scene{position:absolute;inset:0;height:100%;aspect-ratio:auto}
  .statement:has(>[data-scene="subah-seva"])>.scene img{object-fit:cover;object-position:36% 50%}
  .statement:has(>[data-scene="subah-seva"]) .statement-text{padding:0}
  .statement:has(>[data-scene="subah-seva"]):after{display:block;inset:0;background:linear-gradient(0deg,rgba(8,12,20,.62),rgba(8,12,20,.3) 55%,rgba(8,12,20,0) 85%)}
  .catalogue .catalogue-clear{min-height:44px}
  .prose a,.review-link,.guide-links a,.rec-source-note a,.rec-evidence a{min-height:44px;display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere}
  .product-hero,.product-media,.product-info,.prose,.rec-body{min-width:0}
  .gallery{max-width:100%;padding-bottom:8px}
  .variants a{white-space:normal}
  .card h3{-webkit-line-clamp:unset;overflow:visible}
  .not-found-links a,.rec-evidence a{min-width:44px}
  .phone-menu .header-row-description{white-space:normal;overflow:visible;text-overflow:clip}
  .page-hero h1{font-size:min(2.4rem,6vh)}
  .page-hero:has(>.product-scene){min-height:min(580px,calc(100svh - 2*var(--inset)));padding-top:calc(min(30vh,224px) + 80px);padding-bottom:clamp(20px,4vh,32px)}
  .page-hero>.product-scene{height:min(30vh,224px)}
  .page-hero>.scene:not(.product-scene){max-height:38vh;max-height:38svh}
  .page-hero:not(:has(>.product-scene)) .page-hero-text{padding-block:clamp(16px,3vh,24px) clamp(20px,4vh,32px)}
  .page-hero>.scene:is([data-scene],[data-context-scene]){aspect-ratio:16/10}
  .calculator label:has(>.hi){grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}
  .calculator label>.label-en{grid-column:1;grid-row:1;white-space:nowrap}
  .calculator label>.hi{grid-column:1/-1;grid-row:2;white-space:nowrap}
  .calculator label>.unit{grid-column:2;grid-row:1}
  html[lang=hi] .calculator label:has(>.hi){display:flex;gap:8px;align-items:baseline}
}

/* Listing cutouts on a white ground need dark copy and no photo overlay. */
.door:not(:has(>.scene:not(.product-scene):not(.feeding-products))){background:#fff;color:var(--navy)}
.door:not(:has(>.scene:not(.product-scene):not(.feeding-products))):after{display:none;background:none}
html body a.door:not(:has(>.scene:not(.product-scene):not(.feeding-products)))>div>h3{color:var(--navy)}
html body a.door:not(:has(>.scene:not(.product-scene):not(.feeding-products)))>div>p{color:var(--navy)}

/* Photo captions share the hero's crisp lettering, without painted text boxes. */
.hero-marks,.door:not(:has(>.product-scene)) h3,.door:not(:has(>.product-scene)) p,
.statement .statement-text>:is(h2,p),.closing-text>:is(h2,p){
  width:fit-content;background:none;color:#fff;border-radius:0;
  box-shadow:none;text-shadow:none;
}
.door p,.door.big p{background:none;padding:0;border-radius:0;box-shadow:none;color:#ffffffe6;text-shadow:none}
/* Crisp white hero copy over a neutral image scrim, without text boxes.
   Retain fit-content so line wrapping and the existing layout stay unchanged. */
.hero-text>:is(h1,p,.eyebrow),
.page-hero:has(>.scene:not(.product-scene)) .page-hero-text>:is(h1,p,.eyebrow){
  width:fit-content;background:none;border-radius:0;box-shadow:none;text-shadow:none;
}
.hero-text>:is(h1,.eyebrow),
.page-hero:has(>.scene:not(.product-scene)) .page-hero-text>:is(h1,.eyebrow){color:#fff}
.hero-text>p,
.page-hero:has(>.scene:not(.product-scene)) .page-hero-text>p{color:#ffffffe6}
.hero:after,.page-hero:has(>.scene:not(.product-scene)):after{
  background:linear-gradient(90deg,rgba(8,12,20,.62) 0%,rgba(8,12,20,.38) 32%,rgba(8,12,20,0) 58%);
}
.page-hero:has(>.scene:not(.product-scene)) h1 .hi,
.page-hero:has(>.scene:not(.product-scene)) .page-hero-text>p .hi{color:inherit}
@media(max-width:760px){
  .hero:after{background:linear-gradient(0deg,rgba(8,12,20,.7) 0%,rgba(8,12,20,.4) 40%,rgba(8,12,20,0) 70%)}
  .landing .hero>.scene img[src*="p-round-brush"]{object-position:92% 50%}
  /* Here the copy already sits below the photo on the solid house navy. */
  .statement:not(:has(>[data-scene="subah-seva"])) .statement-text>:is(h2,p),
  .closing-text>:is(h2,p){background:none;box-shadow:none;color:#fff;text-shadow:none}
}

/* Source-box headings are labels within the box, rather than section titles. */
.prose .sources h2{margin:0 0 8px;font-family:var(--sans);font-size:var(--t-label);font-weight:600;line-height:1.4;letter-spacing:.02em;color:var(--muted)}
.prose .sources a{font-size:var(--t-small);line-height:1.6}

/* Guides use a compact editorial opening and a library of equal cover frames. */
.guide-page .guide-hero{display:block;min-height:0;max-height:none;background:var(--panel);color:var(--navy);padding:32px var(--gut) 32px}
.guide-page .guide-hero:after{display:none}
.guide-page .guide-hero .page-hero-text{max-width:1152px;gap:12px;padding:0}
.guide-page .guide-hero h1{max-width:25ch;color:var(--navy);font-family:'Cabinet Grotesk',var(--sans);font-weight:800;font-size:clamp(2rem,4vw,3.5rem);line-height:1.08}
.guide-page .guide-hero .page-hero-text>p{max-width:65ch;color:var(--muted);font-size:1rem}
.guide-page main>.band{padding-block:24px}
.guide-page main>.band:last-child{padding-bottom:48px}
.guide-collection{max-width:1152px;margin-inline:auto}
.guide-filters{display:flex;flex-wrap:wrap;gap:8px}
.guide-filters button{border:1px solid var(--line);border-radius:24px;min-height:44px;padding:8px 16px;color:var(--navy);background:var(--panel);font:500 .875rem var(--sans);cursor:pointer}
.guide-filters button[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}
.guide-filters button:focus-visible,.guide-card-entry:focus-visible{outline:3px solid #0093DD;outline-offset:4px}
.guide-count{font-size:.875rem;margin:16px 0;color:var(--muted)}
.guide-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 20px;align-items:stretch}
.guide-card-entry{grid-column:span 2;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:var(--r-card);background:var(--panel);color:var(--navy);text-decoration:none;transition:box-shadow .15s}
.guide-grid .guide-card-entry[hidden]{display:none}
@media (hover: hover) and (pointer: fine){.guide-card-entry:hover{box-shadow:0 0 0 2px var(--navy)}}
.guide-card-entry.end-pair-first{grid-column:2/span 2}
.guide-card-entry.end-pair-last{grid-column:4/span 2}
.guide-grid[data-visible="1"]>.guide-card-entry:not([hidden]){grid-column:3/span 2}
.guide-cover{aspect-ratio:3/2;overflow:hidden;background:#F6F2E8}
.guide-cover>.product-scene img{object-fit:contain;padding:8%;background:#fff}
.door>[data-scene="feeding-trough"] img{object-position:0% 50%}
.guide-cover>.scene,.guide-cover>.type-cover{display:block;width:100%;height:100%}
.guide-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.guide-cover img[src*="p-dung-cake"]{object-position:50% 0}
.guide-card-copy{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.guide-language{color:var(--muted);font-size:.875rem;line-height:1.35}
.guide-card-copy h2{font-family:'Cabinet Grotesk',var(--sans);font-size:1.375rem;font-weight:700;line-height:1.15;letter-spacing:-.02em}
.guide-card-copy p{color:var(--ink);font-size:.875rem;line-height:1.4}
.guide-card-copy small{margin-top:auto;padding-top:4px;color:var(--muted);font-size:.875rem}
.guide-article :is(.guide-tutorial,.guide-body){max-width:68ch;margin-inline:auto}
.guide-tutorial{margin-block:clamp(32px,5vw,56px)}
.guide-tutorial h2{margin-bottom:16px;font-family:'Cabinet Grotesk',var(--sans);font-size:clamp(1.7rem,3vw,2.25rem);font-weight:700;line-height:1.15}
.tutorial-steps{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.tutorial-steps li{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:baseline;gap:clamp(12px,2vw,24px);padding-block:16px;border-bottom:1px solid var(--line);line-height:1.5}
.tutorial-steps .step-number{color:var(--navy);font-family:var(--display);font-size:clamp(1.6rem,3vw,2rem);font-weight:800;line-height:1}
.guide-article .guide-body{line-height:1.7}
.guide-article .guide-body h2{font-family:'Cabinet Grotesk',var(--sans);font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin-top:36px;font-weight:700}
.guide-article .guide-body>h2:first-child{margin-top:0}
.guide-article .guide-body .sources h2{font-family:var(--sans);font-size:.875rem;margin-top:0}
.guide-article .guide-next{padding:24px;border-radius:16px;background:var(--panel)}
.guide-article .guide-next h2{margin-top:0}
.guide-article .inline-product{margin-block:24px}
@media(min-width:601px) and (max-width:1000px){
 .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guide-card-entry,.guide-card-entry.end-pair-first,.guide-card-entry.end-pair-last{grid-column:auto}
 .guide-card-entry.tablet-wide{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .guide-grid[data-visible="1"]>.guide-card-entry:not([hidden]){grid-column:1/-1;width:calc((100% - 20px)/2);justify-self:center}
}
@media(max-width:600px){
 .guide-page .guide-hero{margin:0 8px 8px;padding:24px 20px 24px}
 .guide-page .guide-hero .page-hero-text{padding:0}
 .guide-page .guide-hero h1{font-size:2rem;line-height:1.12}
 .guide-page main>.band{padding-block:20px}
 .guide-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .guide-card-entry,.guide-card-entry.end-pair-first,.guide-card-entry.end-pair-last{grid-column:auto}
 .guide-grid[data-visible="1"]>.guide-card-entry:not([hidden]){grid-column:auto}
 .guide-card-copy{padding:16px;gap:8px}
 .guide-card-copy h2{font-size:1.375rem}
 .guide-article .guide-body a{display:inline;min-height:0;overflow-wrap:anywhere}
 .guide-article .guide-body .buy{display:inline-flex;min-height:44px}
 .guide-article .guide-body h2{margin-top:28px}
}
