/* Feed Store Finder: design C v3 (pasture green, rust accent, wheat highlights), 2026-11-25.
   WCAG 2.1 AA in light and dark; checked with the a11y checker. */
:root { --bg:#f6f7f5; --card:#fff; --ink:#16201b; --muted:#4f5b55; --brand:#17603f; --brand-dk:#0f4a30; --brand-ink:#fff;
  --hi:#e8f3ec; --line:#d8ddd9; --accent:#9c4316; --accent-soft:#fbeee6; --wheat:#f3e3bf; --focus:#9c4316; color-scheme:light; }
@media (prefers-color-scheme: dark) { :root { --bg:#0f1412; --card:#18201c; --ink:#e9efeb; --muted:#aeb9b3; --brand:#6fd3a2;
  --brand-dk:#14402b; --brand-ink:#08140e; --hi:#1e3328; --line:#2c3732; --accent:#f3a06e; --accent-soft:#3a2517; --wheat:#f3e3bf;
  --focus:#f3a06e; color-scheme:dark; } }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink); font:16.5px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color:var(--brand); text-underline-offset:3px; }
:focus-visible { outline:3px solid var(--focus); outline-offset:2px; border-radius:6px; }
.wrap { max-width:76rem; margin:0 auto; padding:0 16px; }
.skip { position:absolute; left:-999px; top:8px; background:var(--card); padding:8px 12px; z-index:10; }
.skip:focus { left:8px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
h1, h2, h3 { line-height:1.2; text-wrap:balance; }
p { max-width:none; }
.prose p, .prose li { max-width:75ch; }

/* header */
header.top { background:var(--card); border-bottom:4px solid var(--accent); }
header.top .wrap { display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; gap:12px; flex-wrap:wrap; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.2rem; text-decoration:none; color:var(--ink); }
.logo i { width:36px; height:36px; border-radius:9px; background:var(--brand); display:grid; place-items:center; flex:none; }
.logo i svg { width:22px; height:22px; }
.logo small { display:block; font-weight:500; font-size:.78rem; color:var(--muted); }
header nav a { margin-left:18px; font-weight:700; text-decoration:none; color:var(--ink); }
header nav a:first-child { margin-left:0; }
header nav a:hover { color:var(--accent); }
header nav a.cta { color:var(--accent); }

/* banner (home) */
.banner { color:#fff; background:linear-gradient(100deg, rgb(10 52 33 / .96) 0%, rgb(15 74 48 / .9) 55%, rgb(15 74 48 / .55) 100%),
  repeating-linear-gradient(115deg, #1d6b47 0 14px, #17603f 14px 28px); }
.banner .wrap { padding-top:30px; padding-bottom:30px; display:grid; gap:18px; grid-template-columns:1fr; align-items:center; }
@media (min-width:900px) { .banner .wrap { grid-template-columns:1.4fr 1fr; } }
.banner h1 { font-size:clamp(1.7rem,4.2vw,2.6rem); margin:0 0 8px; font-weight:800; }
.banner h1 span { color:var(--wheat); text-decoration:underline; text-decoration-color:#e07a45; text-decoration-thickness:4px; text-underline-offset:6px; }
.banner p { margin:0; color:#e4efe8; font-size:1.08rem; max-width:40rem; text-wrap:balance; }
.stats { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 0; padding:0; list-style:none; }
.stats li { background:rgb(255 255 255 / .1); border:1px solid rgb(255 255 255 / .25); border-radius:10px; padding:8px 12px; font-size:.9rem; }
.stats b { display:block; font-size:1.25rem; color:var(--wheat); }
.season { background:var(--card); color:var(--ink); border-radius:14px; padding:16px 18px; border-left:6px solid var(--accent); box-shadow:0 10px 30px -18px rgb(0 0 0 / .6); }
.season .kicker { font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); }
.season h2 { margin:4px 0 6px; font-size:1.2rem; }
.season p { color:var(--muted); font-size:.95rem; margin:0 0 10px; }
.season a { font-weight:800; color:var(--brand); }

/* page heading band (inner pages) */
.pagehead { background:var(--card); border-bottom:1px solid var(--line); }
.pagehead .wrap { padding-top:14px; padding-bottom:18px; }
.pagehead h1 { font-size:clamp(1.5rem,3.6vw,2.2rem); margin:6px 0 4px; font-weight:800; }
.pagehead p { margin:0; color:var(--muted); }
.crumbs { font-size:.9rem; color:var(--muted); margin:0; }
.crumbs a { color:var(--muted); }

/* layout */
.app { display:grid; gap:16px; grid-template-columns:1fr; padding-top:20px; padding-bottom:24px; align-items:start; }
@media (min-width:900px) { .app { grid-template-columns:22rem 1fr; } .app aside.panel { position:sticky; top:12px; } }
.panel { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px; border-top:4px solid var(--brand); }
.sec { font-size:1.05rem; font-weight:800; margin:0 0 10px; display:flex; align-items:center; gap:8px; }
h2.area { font-size:1.3rem; margin:26px 0 6px; display:flex; align-items:center; gap:8px; }
h3.town { font-size:1rem; color:var(--muted); margin:16px 0 8px; font-weight:800; }

/* search */
.find label.lbl { font-weight:700; display:block; margin-bottom:6px; }
.find input[type=search] { width:100%; font:inherit; padding:13px 14px; border:2px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); }
.find input[type=search]:focus { border-color:var(--brand); }
.btn { font:800 1rem "Manrope", system-ui, sans-serif; background:var(--brand); color:var(--brand-ink); border:0; border-radius:10px; padding:13px 16px; cursor:pointer; text-decoration:none; display:inline-block; text-align:center; }
.btn.block { width:100%; margin-top:10px; }
.btn:hover { background:var(--brand-dk); color:#fff; }
@media (prefers-color-scheme: dark) { .btn:hover { color:var(--ink); } }
.btn.ghost { background:transparent; color:var(--brand); border:2px solid var(--brand); }
.btn.ghost:hover { background:var(--hi); color:var(--brand); }
.found { list-style:none; margin:10px 0 0; padding:0; display:grid; gap:6px; }
.found a { display:block; padding:10px 12px; border:1.5px solid var(--line); border-radius:10px; text-decoration:none; color:var(--ink); background:var(--bg); font-weight:700; }
.found a:hover { border-color:var(--brand); }
.found small { display:block; color:var(--muted); font-weight:500; }
.hint { color:var(--muted); font-size:.9rem; margin:8px 0 0; }

/* region tiles and area chips */
.tiles { display:grid; gap:8px; grid-template-columns:repeat(2,1fr); }
@media (min-width:480px) { .tiles { grid-template-columns:repeat(3,1fr); } }
.tiles a { background:var(--hi); border-radius:10px; padding:12px 8px 10px; text-align:center; font-weight:800; font-size:.9rem; text-decoration:none; color:var(--ink); border:1.5px solid transparent; transition:border-color .15s, transform .15s; }
.tiles a:hover { border-color:var(--accent); transform:translateY(-2px); }
.tiles small { display:block; font-weight:800; color:var(--accent); font-size:.95rem; }
.arealist { list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.arealist a { display:flex; justify-content:space-between; gap:8px; padding:9px 12px; border-radius:10px; background:var(--bg); border:1.5px solid var(--line); text-decoration:none; color:var(--ink); font-weight:700; font-size:.95rem; }
.arealist a:hover { border-color:var(--brand); }
.arealist span { color:var(--accent); font-weight:800; }

/* store cards */
.list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.list article { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px 16px; display:grid; gap:6px 14px; grid-template-columns:1fr auto; align-items:start; transition:box-shadow .15s, border-color .15s; }
.list article:hover { box-shadow:0 8px 24px -14px rgb(0 0 0 / .4); border-color:var(--brand); }
.list h3 { margin:0; font-size:1.05rem; }
.list h3 a { color:var(--ink); text-decoration:none; }
.list h3 a:hover { color:var(--brand); text-decoration:underline; }
.kind { font-weight:700; color:var(--muted); white-space:nowrap; font-size:.85rem; background:var(--hi); padding:2px 10px; border-radius:999px; }
.kind.chain { background:transparent; border:1px solid var(--line); }
.meta { color:var(--muted); font-size:.92rem; grid-column:1/-1; margin:0; }
.acts { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:14px; font-size:.92rem; font-weight:700; }
.tags { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:0; list-style:none; }
.tags li { background:var(--hi); border-radius:6px; padding:2px 8px; font-size:.8rem; font-weight:700; }
.tags li.season-tag { background:var(--accent-soft); color:var(--accent); }
.featured { border:2px solid var(--accent) !important; background:linear-gradient(180deg, var(--accent-soft), var(--card) 60%) !important; }
.featured .badge { grid-column:1/-1; color:var(--accent); font-weight:800; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }

/* store page */
.storegrid { display:grid; gap:16px; grid-template-columns:1fr; padding-top:20px; }
@media (min-width:900px) { .storegrid { grid-template-columns:1fr 22rem; } }
.facts dl { margin:0; display:grid; grid-template-columns:max-content 1fr; gap:6px 14px; }
.facts dt { font-weight:800; } .facts dd { margin:0; }
.tablewrap { overflow-x:auto; border-radius:12px; border:1px solid var(--line); background:var(--card); }
table.stock { width:100%; border-collapse:collapse; }
table.stock th, table.stock td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
table.stock thead th { background:var(--hi); font-size:.9rem; }
.yes { color:var(--brand); font-weight:800; } .no { color:var(--muted); }
.verified { font-size:.9rem; color:var(--muted); }
.claim { background:var(--accent-soft); border:1px dashed var(--accent); border-radius:12px; padding:16px; }
.claim h2 { margin-top:0; }
.promo { margin-top:14px; display:grid; gap:12px; grid-template-columns:auto 1fr; align-items:center; background:var(--card); border:1px dashed var(--accent); border-radius:12px; padding:14px 16px; }
.promo svg { width:40px; height:48px; color:var(--accent); }
.promo p { margin:0; } .promo b { display:block; }
.prose { padding-top:20px; padding-bottom:20px; }
.prose .panel { max-width:52rem; }
.adslot:empty { display:none; }
footer.foot { border-top:4px solid var(--brand); padding:20px 0 26px; color:var(--muted); font-size:.9rem; background:var(--card); margin-top:24px; }
footer.foot .wrap { display:grid; gap:4px 32px; grid-template-columns:1fr; }
@media (min-width:760px) { footer.foot .wrap { grid-template-columns:1fr 1.6fr; } }
footer.foot p { margin:6px 0; }
footer.foot a { color:var(--muted); }
@keyframes fade { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.list li { animation:fade .3s both; }
@media (prefers-reduced-motion: reduce) { .list li { animation:none; } .tiles a:hover { transform:none; } }

/* logo: pin with a barn, larger wordmark (Barry, 2026-11-25) */
.logo .mark { width:38px; height:46px; flex:none; }
.logo .word { font-size:1.55rem; font-weight:800; letter-spacing:-.01em; line-height:1.05; }
.logo .word small { font-size:.8rem; font-weight:600; letter-spacing:0; margin-top:3px; }
@media (max-width:480px) { .logo .word { font-size:1.3rem; } }

/* clickable map of Texas regions */
.txmap { margin:0; }
.txmap svg { width:100%; height:auto; display:block; filter:drop-shadow(0 10px 18px rgb(0 0 0 / .35)); }
.txmap .rg g path { stroke:rgb(15 42 29 / .18); stroke-width:.6; transition:fill .15s; }
.txmap .rg g { fill-opacity:1; }
.banner .txmap .rg:nth-child(4n+1) g { fill:#e3f3e8; } .banner .txmap .rg:nth-child(4n+2) g { fill:#a9d8b9; }
.banner .txmap .rg:nth-child(4n+3) g { fill:#cbe8d5; } .banner .txmap .rg:nth-child(4n) g { fill:#8fcaa3; }
.txmap .rg:hover g, .txmap .rg:focus g { fill:#e07a45; }
.txmap .rg:focus { outline:none; } .txmap .rg:focus-visible g path { stroke:#fff; stroke-width:2.5; }
.txmap text { text-anchor:middle; dominant-baseline:middle; font-family:"Manrope", system-ui, sans-serif; font-weight:800; fill:#0f2a1d; paint-order:stroke; stroke:rgb(255 255 255 / .7); stroke-width:3px; pointer-events:none; }
.txmap .rn { font-size:25px; } .txmap .rc { font-size:31px; fill:#7a2f0c; }
.txmap figcaption { font-size:.85rem; color:#e4efe8; margin-top:6px; text-align:center; }
.app .txmap .rg g { fill:var(--hi); } .app .txmap .rg g path { stroke:var(--line); }
.app .txmap text { fill:var(--ink); stroke:var(--card); } .app .txmap .rc { fill:var(--accent); }
.app .txmap figcaption { color:var(--muted); }
@media (max-width:640px) { .txmap .rn { display:none; } .txmap .rc { font-size:40px; } }

/* must-carry filters: an even two-column grid of same-size boxes (design C v2) */
fieldset { border:0; padding:0; margin:16px 0 0; } legend { padding:0; }
.filters { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.filters label { display:flex; align-items:center; gap:10px; min-height:46px; padding:10px 12px; border:1.5px solid var(--line); border-radius:10px; background:var(--bg); cursor:pointer; font-weight:700; font-size:.93rem; line-height:1.2; }
.filters label:hover { border-color:var(--brand); }
.filters input { width:18px; height:18px; flex:none; accent-color:var(--brand); margin:0; }
.filters label:has(input:checked) { border-color:var(--brand); background:var(--hi); }
/* nearby results */
#results:empty { display:none; }
#results { margin-bottom:18px; }
.reshead { display:flex; justify-content:space-between; align-items:baseline; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.reshead p { margin:0; color:var(--muted); }
.dist { font-weight:800; color:var(--brand); white-space:nowrap; background:var(--hi); padding:2px 10px; border-radius:999px; font-size:.9rem; }
.unconf { margin:16px 0 8px; font-weight:800; color:var(--muted); }
.banner p .l2 { display:block; margin-top:6px; font-weight:700; color:var(--wheat); }
footer.foot .regionline { grid-column:1/-1; order:-1; padding-bottom:8px; border-bottom:1px solid var(--line); }
footer.foot .regionline span { font-weight:800; color:var(--ink); }

/* store survey */
.survey .q { border:0; border-top:1px solid var(--line); padding:14px 0 4px; margin:0; }
.survey legend { font-weight:800; padding:0; margin-bottom:8px; }
.survey .opts { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap:8px; }
.survey .opts label, .survey .tick { display:flex; gap:10px; align-items:center; min-height:46px; padding:10px 12px; border:1.5px solid var(--line); border-radius:10px; background:var(--bg); font-weight:700; cursor:pointer; }
.survey .tick { margin-bottom:8px; }
.survey .opts label:has(input:checked), .survey .tick:has(input:checked) { border-color:var(--brand); background:var(--hi); }
.survey input[type=radio], .survey input[type=checkbox] { width:18px; height:18px; flex:none; accent-color:var(--brand); margin:0; }
.survey .grid2 { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap:10px; }
.survey .grid2 label, .survey label.wide { display:flex; flex-direction:column; gap:4px; font-weight:700; }
.survey label.wide { margin-top:10px; }
.survey input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .survey textarea { font:inherit; font-weight:500; padding:11px 12px; border:2px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); width:100%; }
.survey .btn { margin-top:16px; min-width:12rem; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.survey .notice { margin:16px 0 0; color:var(--muted); font-size:.92rem; border-top:1px solid var(--line); padding-top:14px; }

/* search results with an area map (2026-11-26) */
.linkbtn { font:inherit; color:var(--brand); background:none; border:0; padding:0; text-decoration:underline; text-underline-offset:3px; cursor:pointer; font-weight:700; }
.found .nomatch { color:var(--muted); font-size:.92rem; padding:4px 2px; }
.reshead .linkbtn { margin-left:auto; }
.areamap { margin:0 0 12px; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:8px; }
.areamap svg { display:block; width:100%; height:auto; max-height:440px; }
.areamap .cty path { fill:var(--hi); stroke:var(--line); stroke-linejoin:round; }
.areamap .ring { fill:none; stroke:var(--brand); stroke-dasharray:4 3; opacity:.8; }
.areamap .mpin circle { fill:var(--accent); stroke:var(--card); }
.areamap .mpin text { fill:var(--card); font-weight:800; text-anchor:middle; font-family:"Manrope", system-ui, sans-serif; }
.areamap .here circle { fill:var(--brand); stroke:var(--card); }
.areamap .here text { fill:var(--ink); stroke:var(--card); paint-order:stroke; font-weight:800; text-anchor:middle; font-family:"Manrope", system-ui, sans-serif; }
.areamap figcaption { color:var(--muted); font-size:.85rem; padding:6px 4px 2px; }
.list .pin { display:inline-grid; place-items:center; min-width:1.6em; height:1.6em; border-radius:99px; background:var(--accent); color:var(--card); font-size:.85rem; font-weight:800; margin-right:8px; vertical-align:2px; }
.also { color:var(--muted); font-size:.9rem; grid-column:1/-1; margin:0; }
.list li:focus { outline:none; }
/* store pages: nearby stores numbered like the map's pins */
.list.nearby { counter-reset: near; }
.list.nearby h3::before { counter-increment: near; content: counter(near); display:inline-grid; place-items:center; min-width:1.6em; height:1.6em; border-radius:99px; background:var(--accent); color:var(--card); font-size:.85rem; font-weight:800; margin-right:8px; vertical-align:2px; }
.storegrid .areamap { margin-top:16px; }
/* map pins are links: name on hover or focus, a tap opens the store */
.areamap a.mpin { cursor:pointer; }
.areamap .tip { fill:var(--ink); stroke:var(--card); paint-order:stroke; font-weight:800; font-family:"Manrope", system-ui, sans-serif; pointer-events:none; }
.areamap .here, .areamap .ring { pointer-events:none; }
.areamap a.mpin:hover circle, .areamap a.mpin:focus circle { fill:var(--brand); }
.areamap a.mpin:focus { outline:none; }
.areamap a.mpin:focus-visible circle { fill:var(--brand); stroke:var(--ink); }
