/*!
 * ANP Market Day — home page sections (proof ribbon, finder, lines, promise, story, reviews,
 * mealtime, shop-local). Ported from the approved concepts/home-a.html; every class carries an
 * `amdh-` prefix and sits under `.amd-home` so nothing collides with the theme.
 */

.amd-home {
  --beige: #EFE3C6; --paper: #F8F2E3; --tan-2: #E8D6A8; --brown: #6B4B2B; --brown-85: rgba(107, 75, 43, .85);
  --green: #009639; --green-dk: #0A6B2E; --green-ink: #0E4A25; --pumpkin: #D48B2E; --charcoal: #1A1617; --ink-2: #4A3F36;
  --line: rgba(107, 75, 43, .28); --white: #FFFDF8;
  --slab: "Zilla Slab", "Museo Slab", Georgia, serif;
  --sans: "Figtree", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --kraft: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42 0 0 0 0 .29 0 0 0 0 .17 0 0 0 .10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color: var(--charcoal); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background: var(--beige) var(--kraft);
}
.amd-home *, .amd-home *::before, .amd-home *::after { box-sizing: border-box; }
/* The theme boxes page content; the concept runs edge to edge. */
.amd-home { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* Button base (the concept inherits this from its shared stylesheet). */
.amd-home .amdh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 16px 28px; font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s, transform .2s; }
.amd-home .amdh-btn-green { background: var(--green); color: #fff; }
.amd-home .amdh-btn-green:hover { background: var(--brown); color: #fff; }
.amd-home .amdh-btn .amd-ic, .amd-home .amdh-btn .ic { font-size: 18px; }
.amd-home .amdh-wrap { width: min(1240px, 92vw); margin-inline: auto; }
.amd-home h2 { font-family: var(--slab); font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; color: var(--green-ink); margin: 0; letter-spacing: -.01em; text-transform: none; }
.amd-home h2 em { display: block; font-style: italic; font-weight: 500; color: var(--brown); font-size: .66em; margin-top: 8px; letter-spacing: 0; }
.amd-home h3 { font-family: var(--slab); color: var(--green-ink); margin: 0; text-transform: none; letter-spacing: normal; }
.amd-home p { margin: 0; }
.amd-home .amdh-eyebrow { display: block; font: 800 12px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brown); }
.amd-home .amdh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amd-home .ic, .amd-home .amd-ic { width: 1em; height: 1em; font-size: inherit; flex: none; }
.amd-home :focus-visible { outline: 3px solid var(--pumpkin); outline-offset: 2px; border-radius: 6px; }

.amd-home section.amdh-band { padding-block: 96px; }
.amd-home .amdh-paper { background: var(--paper) var(--kraft); }
.amd-home .amdh-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.amd-home .amdh-sec-head h2 { margin-top: 14px; }
.amd-home .amdh-sec-head .amdh-lede { margin: 14px 0 0; }
.amd-home .amdh-stars { color: var(--pumpkin); display: inline-flex; gap: 2px; font-size: 17px; }
.amd-home .amdh-stars .ic, .amd-home .amdh-stars .amd-ic { fill: currentColor; }
.amd-home .amdh-arrowlink { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--sans); color: var(--green-dk); text-decoration: none; }
.amd-home .amdh-arrowlink:hover { text-decoration: underline; }
.amd-home .amdh-hero .amdh-art { position: absolute; top: 0; bottom: 0; right: 0; width: 58%; }
.amd-home .amdh-hero .amdh-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, #000 84%, transparent 100%); mask-composite: intersect; }
.amd-home .amdh-hero .amdh-art .amdh-stamp { position: absolute; right: 2.5%; top: 18px; transform: rotate(-9deg); background: rgba(248, 242, 227, .95); border-radius: 50%; width: 112px; height: 112px; box-shadow: 0 12px 26px -14px rgba(60,40,20,.6); }
.amd-home .amdh-hero .amdh-copy { width: 52%; padding-block: 72px 80px; }
.amd-home .amdh-hero .amdh-lede { font-size: 19px; margin: 0 0 30px; max-width: 530px; }
.amd-home .amdh-hero-cta .amdh-btn-green { padding: 18px 30px; font-size: 17px; }
.amd-home .amdh-zipper .ic, .amd-home .amdh-zipper .amd-ic { font-size: 20px; color: var(--brown); }
.amd-home .amdh-hero-cta .amdh-btn-green { height: var(--cta-h); padding: 0 30px; }
.amd-home .amdh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amd-home /* ---------- PROOF RIBBON ---------- */
  .amdh-glance { background: var(--brown); color: #F6EBD2; }
.amd-home .amdh-glance .amdh-wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
.amd-home .amdh-glance div { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 14px; padding-inline: 12px; border-left: 1px solid rgba(246,235,210,.22); }
.amd-home .amdh-glance div:first-child { border-left: 0; }
.amd-home .amdh-glance .ic, .amd-home .amdh-glance .amd-ic { grid-row: span 2; font-size: 38px; color: var(--tan); }
.amd-home .amdh-glance strong { font: 700 24px/1.1 var(--slab); color: #fff; }
.amd-home .amdh-glance span { font: 700 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tan); }
.amd-home /* ---------- FINDER ---------- */
  .amdh-finder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 36px; align-items: start; }
.amd-home .amdh-needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.amd-home .amdh-need { text-align: left; display: grid; grid-template-columns: 58px 1fr; column-gap: 14px; align-items: center; background: var(--white); border: 0; border-radius: 18px; padding: 16px; box-shadow: 0 0 0 1px var(--line); color: var(--charcoal); transition: box-shadow .2s, transform .2s, background .2s; }
.amd-home .amdh-need:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--brown-85), 0 14px 24px -18px rgba(60,40,20,.6); }
.amd-home .amdh-need .amdh-disc { grid-row: span 2; width: 58px; height: 58px; border-radius: 50%; background: var(--tan-2); display: grid; place-items: center; color: var(--green-dk); font-size: 32px; box-shadow: inset 0 0 0 1.5px var(--brown-85); transition: background .2s, color .2s; }
.amd-home .amdh-need b { font: 700 18px/1.15 var(--slab); color: var(--green-ink); }
.amd-home .amdh-need span { font-size: 13px; line-height: 1.35; color: var(--ink-2); margin-top: 3px; }
.amd-home .amdh-need[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2.5px var(--green), 0 16px 30px -20px rgba(0,80,30,.55); }
.amd-home .amdh-need[aria-pressed="true"] .amdh-disc { background: var(--green); color: #fff; box-shadow: none; }
.amd-home .amdh-picks { background: var(--paper) var(--kraft); border-radius: 22px; padding: 30px 30px 24px; margin: 9px; box-shadow: 0 0 0 1px var(--line), 0 0 0 7px var(--paper), 0 0 0 8.5px var(--brown-85), 0 24px 50px -30px rgba(80, 50, 20, .5); }
.amd-home .amdh-picks-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 20px; }
.amd-home .amdh-picks-head h3 { font-size: 28px; margin: 8px 0 6px; }
.amd-home .amdh-picks-head p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.amd-home .amdh-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amd-home .amdh-pick-grid.amdh-two { grid-template-columns: repeat(2, 1fr); }
.amd-home .amdh-pk .amdh-from { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font: 700 15px var(--sans); }
.amd-home .amdh-pk .amdh-from .ic, .amd-home .amdh-pk .amdh-from .amd-ic { color: var(--green); font-size: 18px; }
.amd-home .amdh-pk .amdh-from small { font: 600 13px var(--sans); color: var(--green-dk); }
.amd-home .amdh-also { margin: 18px 0 0; }
.amd-home .amdh-also .amdh-mt { display: block; font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin-bottom: 10px; }
.amd-home .amdh-also .amdh-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.amd-home .amdh-also .amdh-chip { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 12px; padding: 6px 10px 6px 6px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink-2); font-size: 12.5px; line-height: 1.25; transition: box-shadow .2s, transform .2s; }
.amd-home .amdh-also .amdh-chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--green); }
.amd-home .amdh-also .amdh-chip img { width: 30px; height: 44px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.18)); }
.amd-home .amdh-also .amdh-chip b { display: block; font: 600 14px/1.2 var(--slab); color: var(--green-ink); }
.amd-home .amdh-also .amdh-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 14px/1 var(--sans); color: var(--green-dk); text-decoration: none; }
.amd-home .amdh-picks-foot { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.amd-home .amdh-picks-foot .ic, .amd-home .amdh-picks-foot .amd-ic { font-size: 30px; color: var(--brown); }
.amd-home .amdh-picks-foot b { color: var(--charcoal); }
@keyframes pop { from { transform: translateY(8px); } to { transform: none; } }
.amd-home /* ---------- LINES (produce crates) ---------- */
  .amdh-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amd-home .amdh-crate { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border-radius: 20px; box-shadow: 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.amd-home .amdh-crate:hover { transform: translateY(-5px); box-shadow: 0 0 0 1.5px var(--brown-85), 0 22px 36px -24px rgba(60,40,20,.6); }
.amd-home .amdh-crate .amdh-bin { position: relative; height: 250px; border-radius: 20px 20px 0 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #F3E6C4 0%, #E3CB93 65%, #D2B272 100%); }
.amd-home .amdh-crate .amdh-bin::after { content: ""; position: absolute; inset: 0; background: var(--kraft); mix-blend-mode: multiply; pointer-events: none; }
.amd-home .amdh-crate .amdh-slats { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; z-index: 2; background:
      linear-gradient(#B98A55, #A77843) 0 0 / 100% 26px no-repeat,
      linear-gradient(#A77843, #946a3a) 0 32px / 100% 26px no-repeat; box-shadow: inset 0 3px 0 rgba(255,255,255,.18); }
.amd-home .amdh-crate .amdh-slats::before { content: ""; position: absolute; inset: 26px 0 auto; height: 6px; background: #7a5530; }
.amd-home .amdh-crate .amdh-bin img { position: absolute; bottom: 30px; z-index: 1; filter: drop-shadow(0 14px 12px rgba(60,35,10,.35)); transition: transform .3s; }
.amd-home .amdh-crate .amdh-bin .amdh-b1 { height: 190px; left: 50%; margin-left: -58px; z-index: 1; }
.amd-home .amdh-crate .amdh-bin .amdh-b0 { height: 164px; left: 50%; margin-left: -128px; transform: rotate(-8deg); z-index: 0; }
.amd-home .amdh-crate .amdh-bin .amdh-b2 { height: 164px; left: 50%; margin-left: 28px; transform: rotate(8deg); z-index: 0; }
.amd-home .amdh-crate.amdh-two .amdh-bin .amdh-b0 { margin-left: -104px; height: 180px; }
.amd-home .amdh-crate.amdh-two .amdh-bin .amdh-b1 { margin-left: -12px; transform: rotate(6deg); height: 184px; }
.amd-home .amdh-crate:hover .amdh-bin .amdh-b1 { transform: translateY(-6px); }
.amd-home .amdh-crate.amdh-two:hover .amdh-bin .amdh-b1 { transform: rotate(6deg) translateY(-6px); }
.amd-home .amdh-crate .amdh-bin .amdh-grp { left: 50%; transform: translateX(-50%); width: 240%; max-width: none; height: auto; aspect-ratio: 1484 / 392; object-fit: cover; object-position: 50% 100%; bottom: 36px; }
.amd-home .amdh-crate .amdh-bin .amdh-w0 { width: 72%; height: auto; left: 4%; bottom: 58px; transform: rotate(-7deg); }
.amd-home .amdh-crate .amdh-bin .amdh-w1 { width: 72%; height: auto; right: 4%; bottom: 30px; transform: rotate(5deg); }
.amd-home .amdh-crate:hover .amdh-bin .amdh-w1 { transform: rotate(5deg) translateY(-6px); }
.amd-home .amdh-htag { position: absolute; z-index: 3; top: 14px; right: 14px; background: var(--paper); padding: 7px 12px 7px 20px; font: 800 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); filter: drop-shadow(0 2px 0 rgba(107,75,43,.3)); transform: rotate(4deg); }
.amd-home .amdh-htag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--brown-85); }
.amd-home .amdh-crate .amdh-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.amd-home .amdh-crate .amdh-count { font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--pumpkin); }
.amd-home .amdh-crate h3 { font-size: 22px; margin: 7px 0 6px; }
.amd-home .amdh-crate p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.amd-home .amdh-crate .amdh-from { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font: 700 15px var(--sans); padding-top: 12px; border-top: 1px dashed var(--line); }
.amd-home .amdh-crate .amdh-from .ic, .amd-home .amdh-crate .amdh-from .amd-ic { color: var(--green); font-size: 18px; }
.amd-home /* ---------- INGREDIENT PROMISE ---------- */
  .amdh-promise { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: center; }
.amd-home .amdh-promise .amdh-lede { margin: 16px 0 26px; }
.amd-home .amdh-vows { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.amd-home .amdh-vows li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.amd-home .amdh-vows .amdh-disc { width: 48px; height: 48px; border-radius: 50%; background: var(--tan-2); display: grid; place-items: center; color: var(--green-dk); font-size: 26px; box-shadow: inset 0 0 0 1.5px var(--brown-85); }
.amd-home .amdh-vows b { font: 700 17px/1.2 var(--slab); color: var(--green-ink); display: block; }
.amd-home .amdh-vows span { font-size: 14.5px; color: var(--ink-2); }
.amd-home .amdh-labelboard { position: relative; background: var(--paper) var(--kraft); border-radius: 24px; padding: 30px 28px 26px; box-shadow: 0 0 0 1px var(--line), 0 0 0 7px var(--paper), 0 0 0 8.5px var(--brown-85); margin: 9px; }
.amd-home .amdh-labelboard .amdh-lb-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.amd-home .amdh-labelboard .amdh-lb-head img { width: 54px; height: auto; filter: drop-shadow(0 6px 6px rgba(0,0,0,.2)); }
.amd-home .amdh-labelboard .amdh-lb-head b { font: 700 18px/1.2 var(--slab); color: var(--green-ink); display: block; }
.amd-home .amdh-labelboard .amdh-lb-head span { font-size: 13px; color: var(--ink-2); }
.amd-home .amdh-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.amd-home .amdh-tag .ic, .amd-home .amdh-tag .amd-ic { font-size: 48px; color: var(--green-dk); margin: 4px auto 8px; display: block; }
.amd-home .amdh-labelboard .amdh-stamp { position: absolute; right: -30px; top: -44px; transform: rotate(10deg); background: rgba(248,242,227,.96); border-radius: 50%; width: 104px; height: 104px; }
.amd-home /* ---------- STORY ---------- */
  .amdh-story { background: var(--green-ink); color: #EFE6CF; overflow: hidden; }
.amd-home .amdh-story .amdh-art { position: relative; height: 440px; }
.amd-home .amdh-story .amdh-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.amd-home .amdh-story .amdh-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,74,37,0) 55%, var(--green-ink) 100%); }
.amd-home .amdh-story .amdh-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 24px 88px; align-items: start; }
.amd-home .amdh-story .amdh-eyebrow { color: var(--tan); }
.amd-home .amdh-story h2 { color: #fff; margin-top: 14px; font-size: clamp(34px, 3.8vw, 52px); }
.amd-home .amdh-story h2 em { color: var(--tan); }
.amd-home .amdh-story p { font-size: 17.5px; color: #E0D6BA; margin: 0 0 16px; }
.amd-home .amdh-story .amdh-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid rgba(233,225,203,.2); }
.amd-home .amdh-story .amdh-facts strong { font: 700 34px/1 var(--slab); color: #fff; display: block; margin-bottom: 6px; }
.amd-home .amdh-story .amdh-facts span { font: 600 13px/1.35 var(--sans); color: #CFC5AB; }
.amd-home .amdh-story .amdh-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.amd-home .amdh-btn-cream { background: transparent; color: #F6EBD2; box-shadow: inset 0 0 0 2px rgba(246,235,210,.6); }
.amd-home .amdh-btn-cream:hover { background: #F6EBD2; color: var(--green-ink); }
.amd-home /* ---------- REVIEWS ---------- */
  .amdh-scoreline { display: flex; align-items: center; gap: 18px; background: var(--white); border-radius: 18px; padding: 16px 22px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.amd-home .amdh-scoreline strong { font: 700 48px/1 var(--slab); color: var(--green-ink); }
.amd-home .amdh-scoreline .amdh-stars { font-size: 20px; }
.amd-home .amdh-scoreline p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.amd-home .amdh-revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amd-home .amdh-rev .amdh-stars { font-size: 15px; }
.amd-home .amdh-rev .amdh-who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.amd-home .amdh-rev .amdh-who .amdh-av { width: 40px; height: 40px; border-radius: 50%; background: var(--tan); color: var(--brown); display: grid; place-items: center; font: 700 15px var(--slab); flex: none; }
.amd-home .amdh-rev .amdh-who b { display: block; font-size: 14.5px; }
.amd-home .amdh-rev .amdh-who span { color: var(--ink-2); }
.amd-home .amdh-breeder { margin-top: 26px; display: grid; grid-template-columns: 240px 1fr auto; gap: 32px; align-items: center; background: var(--tan-2); border-radius: 22px; padding: 22px 34px 22px 22px; box-shadow: inset 0 0 0 1.5px var(--brown-85); }
.amd-home .amdh-breeder img { width: 240px; height: 170px; object-fit: cover; border-radius: 14px; }
.amd-home .amdh-breeder .amdh-eyebrow { display: block; margin-bottom: 10px; }
.amd-home .amdh-breeder q { font: 500 italic 22px/1.45 var(--slab); color: var(--green-ink); }
.amd-home .amdh-breeder .amdh-who { font-size: 14px; margin-top: 10px; color: var(--brown); font-weight: 700; }
.amd-home .amdh-breeder .amdh-side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 230px; }
.amd-home .amdh-breeder .amdh-side p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.amd-home /* ---------- MEALTIME ---------- */
  .amdh-meal { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.amd-home .amdh-meal-stage { position: relative; border-radius: 26px; aspect-ratio: 1.3 / 1; overflow: hidden; background: radial-gradient(120% 90% at 50% 35%, #F3E6C4 0%, #E3CB93 62%, #D2B272 100%); box-shadow: inset 0 0 0 1px var(--line); }
.amd-home .amdh-meal-stage::after { content: ""; position: absolute; inset: 0; background: var(--kraft); mix-blend-mode: multiply; pointer-events: none; }
.amd-home .amdh-meal-stage .amdh-board { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(#B98A55, #A77843); box-shadow: inset 0 3px 0 rgba(255,255,255,.2); }
.amd-home .amdh-meal-stage .amdh-grp { position: absolute; left: 3%; right: 3%; width: 94%; top: 9%; aspect-ratio: 1484 / 392; object-fit: cover; object-position: 50% 100%; filter: drop-shadow(0 16px 14px rgba(60,35,10,.3)); }
.amd-home .amdh-meal-stage .amdh-wf { position: absolute; width: 36%; bottom: 10%; filter: drop-shadow(0 16px 14px rgba(60,35,10,.35)); }
.amd-home .amdh-meal-stage .amdh-wf.amdh-a { left: 5%; transform: rotate(-6deg); }
.amd-home .amdh-meal-stage .amdh-wf.amdh-b { left: 32%; bottom: 6%; z-index: 1; }
.amd-home .amdh-meal-stage .amdh-wf.amdh-c { right: 5%; transform: rotate(6deg); }
.amd-home .amdh-meal-stage .amdh-stamp { position: absolute; right: 18px; top: 16px; z-index: 2; background: rgba(248,242,227,.95); border-radius: 50%; transform: rotate(8deg); width: 100px; height: 100px; display: none; }
.amd-home .amdh-meal .amdh-lede { margin: 16px 0 26px; }
.amd-home .amdh-duo { display: grid; gap: 16px; }
.amd-home .amdh-duo-card { background: var(--white); border-radius: 18px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--line); }
.amd-home .amdh-duo-card .amdh-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.amd-home .amdh-duo-card h3 { font-size: 21px; }
.amd-home .amdh-duo-card .amdh-p { font: 700 16px var(--sans); white-space: nowrap; }
.amd-home .amdh-duo-card p { margin: 6px 0 12px; font-size: 14.5px; color: var(--ink-2); }
.amd-home .amdh-flav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.amd-home .amdh-flav span { background: var(--paper); border-radius: 999px; padding: 6px 11px; font: 600 12.5px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line); }
.amd-home /* ---------- LOCAL ---------- */
  .amdh-locband { background: var(--tan) var(--kraft); }
.amd-home .amdh-locband .amdh-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-block: 72px; }
.amd-home .amdh-shelfpic { position: relative; }
.amd-home .amdh-shelfpic img { border-radius: 22px; aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; box-shadow: 0 0 0 7px var(--paper), 0 0 0 8.5px var(--brown-85), 0 24px 40px -24px rgba(60,40,20,.6); }
.amd-home .amdh-shelfpic .amdh-note { position: absolute; left: -18px; bottom: 26px; background: var(--paper); border-radius: 14px; padding: 12px 16px; font: 600 13.5px/1.35 var(--sans); box-shadow: 0 0 0 1px var(--line), 0 14px 26px -16px rgba(60,40,20,.6); display: flex; gap: 10px; align-items: center; max-width: 250px; }
.amd-home .amdh-shelfpic .amdh-note .ic, .amd-home .amdh-shelfpic .amdh-note .amd-ic { font-size: 28px; color: var(--green-dk); }
.amd-home .amdh-locband h2 { color: var(--brown); margin-top: 14px; }
.amd-home .amdh-locband h2 em { color: var(--green-ink); }
.amd-home .amdh-locband p { color: var(--charcoal); font-size: 17px; }
.amd-home .amdh-locform { display: flex; gap: 10px; margin: 18px 0 28px; }
.amd-home .amdh-locform input { flex: 1; max-width: 260px; padding: 16px 20px; border-radius: 999px; border: 0; font: 600 16px var(--sans); background: var(--white); min-width: 0; }
.amd-home .amdh-states { display: flex; flex-wrap: wrap; gap: 8px; }
.amd-home .amdh-states span { background: var(--paper); border-radius: 999px; padding: 9px 13px; font: 700 13.5px/1 var(--sans); color: var(--brown); display: inline-flex; gap: 7px; box-shadow: inset 0 0 0 1px var(--line); }
.amd-home .amdh-states span b { color: var(--green-dk); }
@media (max-width: 1100px) {
.amd-home .amdh-hero .amdh-art { position: relative; width: 100%; height: auto; aspect-ratio: 1 / .78; }
.amd-home .amdh-hero .amdh-art img { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.amd-home .amdh-hero .amdh-copy { width: 100%; padding-block: 8px 56px; }
.amd-home .amdh-glance .amdh-wrap { grid-template-columns: 1fr 1fr; row-gap: 20px; }
.amd-home .amdh-glance div:nth-child(3) { border-left: 0; }
.amd-home .amdh-finder, .amd-home .amdh-promise, .amd-home .amdh-meal, .amd-home .amdh-locband .amdh-wrap, .amd-home .amdh-story .amdh-copy { grid-template-columns: 1fr; }
.amd-home .amdh-lines { grid-template-columns: repeat(2, 1fr); }
.amd-home .amdh-revs { grid-template-columns: 1fr 1fr; }
.amd-home .amdh-breeder { grid-template-columns: 200px 1fr; }
.amd-home .amdh-breeder img { width: 200px; }
.amd-home .amdh-breeder .amdh-side { grid-column: 1 / -1; flex-direction: row; max-width: none; align-items: center; }
.amd-home .amdh-sec-head { flex-direction: column; align-items: start; }
.amd-home .amdh-labelboard .amdh-stamp { right: 10px; }
}
@media (max-width: 640px) {
.amd-home section.amdh-band { padding-block: 64px; }
.amd-home .amdh-hero .amdh-art { aspect-ratio: 1 / .92; }
.amd-home .amdh-hero .amdh-art img { object-position: 50% 30%; }
.amd-home .amdh-hero .amdh-art .amdh-stamp { width: 80px; height: 80px; right: 10px; top: 10px; }
.amd-home .amdh-hero .amdh-eyebrow { font-size: 11px; letter-spacing: .14em; }
.amd-home .amdh-hero .amdh-lede { font-size: 17px; }
.amd-home .amdh-glance .amdh-wrap { padding-block: 22px; }
.amd-home .amdh-glance div { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; }
.amd-home .amdh-glance .ic, .amd-home .amdh-glance .amd-ic { grid-row: auto; font-size: 30px; }
.amd-home .amdh-glance strong { font-size: 20px; }
.amd-home .amdh-glance span { font-size: 10px; letter-spacing: .14em; }
.amd-home .amdh-needs { grid-template-columns: 1fr 1fr; gap: 10px; }
.amd-home .amdh-need { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 10px; row-gap: 8px; }
.amd-home .amdh-need .amdh-disc { grid-row: auto; width: 52px; height: 52px; font-size: 28px; }
.amd-home .amdh-need b { font-size: 16px; }
.amd-home .amdh-need span { display: none; }
.amd-home .amdh-picks { padding: 22px 16px 18px; margin: 9px 4px; }
.amd-home .amdh-picks-head h3 { font-size: 24px; }
.amd-home .amdh-pick-grid, .amd-home .amdh-pick-grid.amdh-two { grid-template-columns: 1fr; gap: 10px; }
.amd-home .amdh-lines { grid-template-columns: 1fr 1fr; gap: 12px; }
.amd-home .amdh-crate .amdh-bin { height: 170px; }
.amd-home .amdh-crate .amdh-bin .amdh-b1 { height: 124px; margin-left: -38px; }
.amd-home .amdh-crate .amdh-bin .amdh-b0 { height: 106px; margin-left: -70px; }
.amd-home .amdh-crate .amdh-bin .amdh-b2 { height: 106px; margin-left: 8px; }
.amd-home .amdh-crate.amdh-two .amdh-bin .amdh-b0 { margin-left: -62px; height: 110px; }
.amd-home .amdh-crate.amdh-two .amdh-bin .amdh-b1 { margin-left: -12px; height: 116px; }
.amd-home .amdh-crate .amdh-bin .amdh-grp { width: 260%; }
.amd-home .amdh-htag { font-size: 8.5px; padding: 6px 9px 6px 17px; top: 10px; right: 8px; }
.amd-home .amdh-crate .amdh-body { padding: 14px 14px 16px; }
.amd-home .amdh-crate h3 { font-size: 19px; }
.amd-home .amdh-crate p { font-size: 13px; }
.amd-home .amdh-crate .amdh-from { font-size: 14px; }
.amd-home .amdh-tags { grid-template-columns: 1fr 1fr; gap: 12px; }
.amd-home .amdh-labelboard { padding: 26px 16px 18px; margin: 9px 4px; }
.amd-home .amdh-labelboard .amdh-stamp { display: none; }
.amd-home .amdh-story .amdh-art { height: 240px; }
.amd-home .amdh-story .amdh-copy { gap: 28px; padding-bottom: 64px; }
.amd-home .amdh-story .amdh-facts strong { font-size: 28px; }
.amd-home .amdh-revs { grid-template-columns: 1fr; }
.amd-home .amdh-scoreline { width: 100%; }
.amd-home .amdh-breeder { grid-template-columns: 1fr; padding: 16px 16px 22px; gap: 18px; }
.amd-home .amdh-breeder img { width: 100%; height: 200px; }
.amd-home .amdh-breeder q { font-size: 19px; }
.amd-home .amdh-breeder .amdh-side { flex-direction: column; align-items: stretch; }
.amd-home .amdh-duo-card .amdh-top { flex-direction: column; gap: 4px; }
.amd-home .amdh-shelfpic .amdh-note { left: 10px; }
.amd-home .amdh-locform { flex-direction: column; }
.amd-home .amdh-locform input { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
.amd-home * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Recipe cards + chips (the concept renders these from JS; here they are server-side). */
.amd-home .amdh-pk { background: var(--white); border-radius: 18px; padding: 14px 14px 16px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; animation: pop .35s ease both; }
.amd-home .amdh-pk:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--green), 0 18px 30px -22px rgba(60,40,20,.6); }
.amd-home .amdh-pk .amdh-well { position: relative; border-radius: 12px; height: 190px; display: grid; place-items: center; overflow: hidden; }
.amd-home .amdh-pk .amdh-well::before { content: ""; position: absolute; inset: 0; background: var(--c); opacity: .16; }
.amd-home .amdh-pk .amdh-well img { position: relative; height: 88%; width: auto; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0,0,0,.22)); }
.amd-home .amdh-pk .amdh-well img.amdh-wide { height: auto; width: 88%; }
.amd-home .amdh-pk .amdh-well .amdh-fdcrop { position: relative; height: 88%; aspect-ratio: 270 / 372; background: url("assets/bags/freeze-dried-group.webp") no-repeat 100% 100% / 550% auto; filter: drop-shadow(0 12px 12px rgba(0,0,0,.2)); }
.amd-home .amdh-pk .amdh-flag { position: absolute; top: 10px; left: 10px; z-index: 1; font: 800 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--pumpkin); color: #fff; }
.amd-home .amdh-pk .amdh-t { margin-top: 12px; font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.amd-home .amdh-pk h4 { font: 600 18px/1.2 var(--slab); color: var(--green-ink); margin: 6px 0 4px; }
.amd-home .amdh-pk p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.amd-home .amdh-pk .amdh-from { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font: 700 15px var(--sans); }
.amd-home .amdh-pk .amdh-from .ic, .amd-home .amdh-pk .amdh-from .amd-ic { color: var(--green); font-size: 18px; }
.amd-home .amdh-pk .amdh-from small { font: 600 13px var(--sans); color: var(--green-dk); }
.amd-home .amdh-also .amdh-mt { display: block; font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin-bottom: 10px; }
.amd-home .amdh-also .amdh-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.amd-home .amdh-also .amdh-chip { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 12px; padding: 6px 10px 6px 6px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink-2); font-size: 12.5px; line-height: 1.25; transition: box-shadow .2s, transform .2s; }
.amd-home .amdh-also .amdh-chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--green); }
.amd-home .amdh-also .amdh-chip img { width: 30px; height: 44px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.18)); }
.amd-home .amdh-also .amdh-chip b { display: block; font: 600 14px/1.2 var(--slab); color: var(--green-ink); }
.amd-home .amdh-also .amdh-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 14px/1 var(--sans); color: var(--green-dk); text-decoration: none; }

/* The concept tints each card from the recipe colour; without per-product colours use the brand tan. */
.amd-home .amdh-pk .amdh-well { background: var(--tan-2); }
.amd-home .amdh-pk .amdh-well::before { background: var(--c); opacity: .16; }

/* WordPress adds width/height attributes; the concept's own b0/b1/b2 rules set the height, so keep width auto. */
.amd-home .amdh-crate .amdh-bin img { width: auto; }

/* Ingredient tags + review cards (JS-rendered in the concept, server-rendered here). */
.amd-home .amdh-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.amd-home .amdh-tag { position: relative; background: var(--white); border-radius: 12px 12px 18px 18px; padding: 32px 14px 18px; text-align: center; box-shadow: 0 0 0 1px var(--line), 0 14px 26px -22px rgba(60,40,20,.6); clip-path: polygon(22% 0, 78% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); }
.amd-home .amdh-tag::before { content: ""; position: absolute; top: 12px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--beige); box-shadow: inset 0 0 0 1.5px var(--brown-85); }
.amd-home .amdh-tag .ic, .amd-home .amdh-tag .amd-ic { font-size: 48px; color: var(--green-dk); margin: 4px auto 8px; display: block; }
.amd-home .amdh-tag .amdh-pos { position: absolute; top: 18px; left: 14px; font: 700 11px/1 var(--sans); color: var(--brown); }
.amd-home .amdh-tag h3 { font-size: 17px; margin-bottom: 4px; }
.amd-home .amdh-tag .amdh-ty { font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--pumpkin); display: block; margin-bottom: 6px; }
.amd-home .amdh-tag p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.amd-home .amdh-revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amd-home .amdh-rev { background: var(--white); border-radius: 20px; padding: 26px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.amd-home .amdh-rev .amdh-stars { font-size: 15px; }
.amd-home .amdh-rev q { font: 500 17px/1.5 var(--slab); color: var(--charcoal); quotes: "“" "”"; }
.amd-home .amdh-rev .amdh-who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.amd-home .amdh-rev .amdh-who .amdh-av { width: 40px; height: 40px; border-radius: 50%; background: var(--tan); color: var(--brown); display: grid; place-items: center; font: 700 15px var(--slab); flex: none; }
.amd-home .amdh-rev .amdh-who b { display: block; font-size: 14.5px; }
.amd-home .amdh-rev .amdh-who span { color: var(--ink-2); }
.amd-home .amdh-rev .amdh-ver { font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green-dk); display: flex; gap: 6px; align-items: center; }
.amd-home .amdh-breeder { margin-top: 26px; display: grid; grid-template-columns: 240px 1fr auto; gap: 32px; align-items: center; background: var(--tan-2); border-radius: 22px; padding: 22px 34px 22px 22px; box-shadow: inset 0 0 0 1.5px var(--brown-85); }
.amd-home .amdh-breeder img { width: 240px; height: 170px; object-fit: cover; border-radius: 14px; }
.amd-home .amdh-breeder .amdh-eyebrow { display: block; margin-bottom: 10px; }
.amd-home .amdh-breeder q { font: 500 italic 22px/1.45 var(--slab); color: var(--green-ink); }
.amd-home .amdh-breeder .amdh-who { font-size: 14px; margin-top: 10px; color: var(--brown); font-weight: 700; }
.amd-home .amdh-breeder .amdh-side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 230px; }
.amd-home .amdh-breeder .amdh-side p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

/* Business Reviews widget inside our reviews band: never show a review count (Jason's rule),
   and drop the widget's own header — the section already shows the rating. */
.amd-home .amdh-revs .rpi-based, .amd-home .amdh-revs .rpi-header { display: none !important; }
.amd-home .amdh-revs .rpi-cards { background: transparent; }
.amd-home .amdh-revs .rpi-card { background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
/* Embedded review widgets (Birdeye) get room to lay themselves out. */
.amd-home .amdh-revs-embed { width: 100%; min-height: 220px; }
.amd-home .amdh-revs-embed iframe { width: 100% !important; }

/* Pages built from these sections: no white band between the hero and the first section. */
body.amd-home-page .inside-article { padding: 0; background: transparent; box-shadow: none; }
body.amd-home-page .site-main { margin-top: 0; }
body.amd-home-page .entry-content { margin-top: 0; }

/* Star row (our own review cards) and the shop-local shipping note. */
.amd-home .amdh-stars { display: inline-flex; gap: 2px; color: var(--pumpkin); }
.amd-home .amdh-stars .amdh-off { color: var(--line); }
.amd-home .amdh-scoreline a { color: inherit; text-underline-offset: 3px; }
.amd-home .amdh-locnote { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------------------------------------------
   Base rules the concept inherits from its own shared stylesheet (concepts/concept-a.css),
   which the porter never saw — it only read the inline <style>. Without them the theme's
   typography, link colour and line-height leak into the sections.
   ------------------------------------------------------------------------------------------ */
.amd-home { --tan: #DDC289; --radius: 14px; }
.amd-home a { color: var(--green-dk); }
.amd-home p, .amd-home li { line-height: 1.6; }
.amd-home h1, .amd-home h2, .amd-home h3, .amd-home h4 { font-family: var(--slab); color: var(--green-ink); line-height: 1.08; text-wrap: balance; margin: 0; }
.amd-home h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: 0; }
.amd-home h3 { font-size: 22px; font-weight: 600; }
.amd-home .amdh-lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.amd-home .amdh-btn-line { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 2px var(--brown); }
.amd-home .amdh-btn-line:hover { background: var(--brown); color: #fff; }

/* The concept's finder buttons are toggle buttons (aria-pressed); ours are real tabs
   (aria-selected), so the selected state needs the same rules under both names. */
.amd-home .amdh-need[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 2.5px var(--green), 0 16px 30px -20px rgba(0, 80, 30, .55); }
.amd-home .amdh-need[aria-selected="true"] .amdh-disc { background: var(--green); color: #fff; box-shadow: none; }

/* Each pick card tints its image well with the bag's own colour (--c, set inline). */
.amd-home .amdh-pk { --c: var(--brown); }


/* Phone rules for the pick cards and ingredient tags — the concept builds both in script, so
   these sat outside the markup the porter walked. Copied from its stylesheet. */
@media (max-width: 640px) {
  .amd-home .amdh-pk { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; padding: 10px; }
  .amd-home .amdh-pk .amdh-well { grid-row: span 5; height: 124px; }
  .amd-home .amdh-pk .amdh-flag { font-size: 8.5px; padding: 4px 6px; top: 6px; left: 6px; }
  .amd-home .amdh-pk .amdh-t { margin-top: 4px; }
  .amd-home .amdh-pk h4 { font-size: 17px; }
  .amd-home .amdh-pk p { font-size: 13px; margin-bottom: 6px; }
  .amd-home .amdh-tag p { display: none; }
}

/* The story art is a full-width market scene (2172x724), so it simply covers the band — no
   centring or edge fades needed. `object-position` keeps the stall tops, the faces and the
   MARKET FRESH sign above the gradient that fades the lower half into the green. */
.amd-home .amdh-story .amdh-art picture { display: contents; }
.amd-home .amdh-story .amdh-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

/* The stamp badge — also from the concept's base stylesheet, so it never came across. Without it
   the ring text takes the theme's size and casing and spills out of the circle. */
.amd-home .amdh-stamp { width: 112px; height: 112px; color: var(--brown); }
.amd-home .amdh-stamp text { font: 700 10.5px var(--sans); letter-spacing: .16em; fill: currentColor; text-transform: uppercase; }

/* ------------------------------------------------------------------------------------------
   The concept's responsive rules, repeated last so they win.

   Rules appended to this file over the course of the build landed *after* the original media
   blocks, so at phone widths the desktop grids kept applying: the reviews stayed three across,
   the ingredient board three across, the lines and needs two across — several hundred pixels
   wider than the screen. Cascade order, not the media queries, was the problem.
   ------------------------------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .amd-home .amdh-hero .amdh-art {position: relative; width: 100%; height: auto; aspect-ratio: 1 / .78; }
  .amd-home .amdh-hero .amdh-art img {-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .amd-home .amdh-hero .amdh-copy {width: 100%; padding-block: 8px 56px; }
  .amd-home .amdh-glance .amdh-wrap {grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .amd-home .amdh-glance div:nth-child(3) {border-left: 0; }
  .amd-home .amdh-finder, .amd-home .amdh-promise, .amd-home .amdh-meal, .amd-home .amdh-locband .amdh-wrap, .amd-home .amdh-story .amdh-copy {grid-template-columns: 1fr; }
  .amd-home .amdh-lines {grid-template-columns: repeat(2, 1fr); }
  .amd-home .amdh-revs {grid-template-columns: 1fr 1fr; }
  .amd-home .amdh-breeder {grid-template-columns: 200px 1fr; }
  .amd-home .amdh-breeder img {width: 200px; }
  .amd-home .amdh-breeder .amdh-side {grid-column: 1 / -1; flex-direction: row; max-width: none; align-items: center; }
  .amd-home .amdh-sec-head {flex-direction: column; align-items: start; }
  .amd-home .amdh-labelboard .amdh-stamp {right: 10px; }
}
@media (max-width: 640px) {
  .amd-home section.amdh-band {padding-block: 64px; }
  .amd-home .amdh-hero .amdh-art {aspect-ratio: 1 / .92; }
  .amd-home .amdh-hero .amdh-art img {object-position: 50% 30%; }
  .amd-home .amdh-hero .amdh-art .amdh-stamp {width: 80px; height: 80px; right: 10px; top: 10px; }
  .amd-home .amdh-hero .amdh-eyebrow {font-size: 11px; letter-spacing: .14em; }
  .amd-home .amdh-hero .amdh-lede {font-size: 17px; }
  .amd-home .amdh-glance .amdh-wrap {padding-block: 22px; }
  .amd-home .amdh-glance div {grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; }
  .amd-home .amdh-glance .ic {grid-row: auto; font-size: 30px; }
  .amd-home .amdh-glance strong {font-size: 20px; }
  .amd-home .amdh-glance span {font-size: 10px; letter-spacing: .14em; }
  .amd-home .amdh-needs {grid-template-columns: 1fr 1fr; gap: 10px; }
  .amd-home .amdh-need {grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 10px; row-gap: 8px; }
  .amd-home .amdh-need .amdh-disc {grid-row: auto; width: 52px; height: 52px; font-size: 28px; }
  .amd-home .amdh-need b {font-size: 16px; }
  .amd-home .amdh-need span {display: none; }
  .amd-home .amdh-picks {padding: 22px 16px 18px; margin: 9px 4px; }
  .amd-home .amdh-picks-head h3 {font-size: 24px; }
  .amd-home .amdh-pick-grid, .amd-home .amdh-pick-grid.amdh-two {grid-template-columns: 1fr; gap: 10px; }
  .amd-home .amdh-pk {display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; padding: 10px; }
  .amd-home .amdh-pk .amdh-well {grid-row: span 5; height: 124px; }
  .amd-home .amdh-pk .amdh-flag {font-size: 8.5px; padding: 4px 6px; top: 6px; left: 6px; }
  .amd-home .amdh-pk .amdh-t {margin-top: 4px; }
  .amd-home .amdh-pk h4 {font-size: 17px; }
  .amd-home .amdh-pk p {font-size: 13px; margin-bottom: 6px; }
  .amd-home .amdh-lines {grid-template-columns: 1fr 1fr; gap: 12px; }
  .amd-home .amdh-crate .amdh-bin {height: 170px; }
  .amd-home .amdh-crate .amdh-bin .amdh-b1 {height: 124px; margin-left: -38px; }
  .amd-home .amdh-crate .amdh-bin .amdh-b0 {height: 106px; margin-left: -70px; }
  .amd-home .amdh-crate .amdh-bin .amdh-b2 {height: 106px; margin-left: 8px; }
  .amd-home .amdh-crate.amdh-two .amdh-bin .amdh-b0 {margin-left: -62px; height: 110px; }
  .amd-home .amdh-crate.amdh-two .amdh-bin .amdh-b1 {margin-left: -12px; height: 116px; }
  .amd-home .amdh-crate .amdh-bin .amdh-grp {width: 260%; }
  .amd-home .amdh-htag {font-size: 8.5px; padding: 6px 9px 6px 17px; top: 10px; right: 8px; }
  .amd-home .amdh-crate .amdh-body {padding: 14px 14px 16px; }
  .amd-home .amdh-crate h3 {font-size: 19px; }
  .amd-home .amdh-crate p {font-size: 13px; }
  .amd-home .amdh-crate .amdh-from {font-size: 14px; }
  .amd-home .amdh-tags {grid-template-columns: 1fr 1fr; gap: 12px; }
  .amd-home .amdh-tag p {display: none; }
  .amd-home .amdh-labelboard {padding: 26px 16px 18px; margin: 9px 4px; }
  .amd-home .amdh-labelboard .amdh-stamp {display: none; }
  .amd-home .amdh-story .amdh-art {height: 240px; }
  .amd-home .amdh-story .amdh-copy {gap: 28px; padding-bottom: 64px; }
  .amd-home .amdh-story .amdh-facts strong {font-size: 28px; }
  .amd-home .amdh-revs {grid-template-columns: 1fr; }
  .amd-home .amdh-scoreline {width: 100%; }
  .amd-home .amdh-breeder {grid-template-columns: 1fr; padding: 16px 16px 22px; gap: 18px; }
  .amd-home .amdh-breeder img {width: 100%; height: 200px; }
  .amd-home .amdh-breeder q {font-size: 19px; }
  .amd-home .amdh-breeder .amdh-side {flex-direction: column; align-items: stretch; }
  .amd-home .amdh-duo-card .amdh-top {flex-direction: column; gap: 4px; }
  .amd-home .amdh-shelfpic .amdh-note {left: 10px; }
  .amd-home .amdh-locform {flex-direction: column; }
  .amd-home .amdh-locform input {max-width: none; }
}

/* --------------------------------------------------------------------------------------------
   The recipe finder on a phone.
   Six cards stacked two-wide is a wall of tiles that pushes the answers off the screen, and
   nothing tells you the other five are choices. On small screens they collapse behind a picker
   that names the current one; tapping it drops the same cards down as a panel. Desktop is
   untouched.
   -------------------------------------------------------------------------------------------- */
.amd-home .amdh-needpick { display: none; }

@media (max-width: 860px) {
  .amd-home .amdh-needpick {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 12px 14px; border: 0; border-radius: 18px; cursor: pointer;
    background: var(--white); box-shadow: 0 0 0 1.5px var(--green);
    text-align: left; font: inherit; color: inherit;
  }
  .amd-home .amdh-needpick-disc {
    width: 46px; height: 46px; border-radius: 50%; flex: none;
    background: var(--green); color: #fff; display: grid; place-items: center; font-size: 26px;
  }
  .amd-home .amdh-needpick-disc svg { width: 1em; height: 1em; }
  .amd-home .amdh-needpick-txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
  .amd-home .amdh-needpick-txt b { font: 700 17px/1.15 var(--slab); color: var(--green-ink); }
  .amd-home .amdh-needpick-txt i { font: 500 13px/1.35 var(--sans); color: var(--ink-2); font-style: normal; margin-top: 2px; }
  /* The shared chevron points right; a quarter turn makes it a drop-down caret. */
  .amd-home .amdh-needpick-caret { flex: none; font-size: 20px; color: var(--brown); transition: transform .25s ease; transform: rotate(90deg); display: grid; place-items: center; }
  .amd-home .amdh-needpick[aria-expanded="true"] .amdh-needpick-caret { transform: rotate(270deg); }

  /* The cards become the drop-down. */
  .amd-home .amdh-needs {
    display: none; margin-top: 10px;
    background: var(--white); border-radius: 18px; padding: 8px;
    box-shadow: 0 0 0 1px var(--line), 0 24px 40px -28px rgba(60, 40, 20, .7);
  }
  .amd-home .amdh-needs.is-open { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .amd-home .amdh-need {
    grid-template-columns: 44px 1fr; justify-items: start; text-align: left;
    padding: 10px; border-radius: 12px; box-shadow: none; background: transparent;
    row-gap: 0; column-gap: 12px;
  }
  .amd-home .amdh-need:hover { transform: none; box-shadow: none; background: var(--paper); }
  .amd-home .amdh-need .amdh-disc { grid-row: span 2; width: 44px; height: 44px; font-size: 24px; }
  .amd-home .amdh-need b { font-size: 16px; }
  .amd-home .amdh-need span:not(.amdh-disc) { display: block; font-size: 12.5px; }
  .amd-home .amdh-need[aria-selected="true"] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--green); }
}

/* --------------------------------------------------------------------------------------------
   The label board on a phone.
   The concept hides the explanations at this size, which left tall cards that were mostly empty
   space, and the heading promised a tap-through that was not a link. The tags now sit three to a
   row as compact chips, the heading is a real link, and a plain button goes to the full list.
   -------------------------------------------------------------------------------------------- */
.amd-home .amdh-lb-head { text-decoration: none; color: inherit; display: flex; }
.amd-home .amdh-lb-head:hover b { text-decoration: underline; text-underline-offset: 3px; }
/* Centred under the board: an inline-flex box ignores auto margins, so it needs a width. */
.amd-home .amdh-lb-all {
  display: flex; width: fit-content; align-items: center; justify-content: center; gap: 8px;
  margin: 18px auto 0; padding: 12px 22px; border-radius: 999px;
  font: 700 14px/1 var(--sans); color: var(--green-dk); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--green); transition: background .2s, color .2s;
}
.amd-home .amdh-lb-all:hover, .amd-home .amdh-lb-all:focus-visible { background: var(--green); color: #fff; box-shadow: none; }

@media (max-width: 640px) {
  .amd-home .amdh-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .amd-home .amdh-tag { padding: 12px 6px 10px; text-align: center; min-height: 0; }
  .amd-home .amdh-tag::before { display: none; }
  .amd-home .amdh-tag .amdh-pos { position: static; display: block; margin-bottom: 4px; font-size: 10px; }
  .amd-home .amdh-tag .ic, .amd-home .amdh-tag .amd-ic { font-size: 26px; margin: 0 auto 6px; display: block; }
  .amd-home .amdh-tag .amdh-ty { font-size: 8.5px; letter-spacing: .1em; }
  .amd-home .amdh-tag h3 { font-size: 12.5px; line-height: 1.2; margin-top: 3px; hyphens: auto; }
  .amd-home .amdh-lb-all { display: flex; width: 100%; }
}
