/* Bet Av Todd Homestead LLC: site styles. No build step, no external fonts. */
:root{
  --cream:#f8f2e4; --paper:#fffaf0; --ink:#2f2a24; --muted:#5e5446;
  --barn:#8c3b2a; --barn-dark:#6e2c1f; --field:#3f5b3a; --field-light:#6f8b5a;
  --wheat:#d8b46a; --soil:#5b4434; --line:#e3d6bb;
  --radius:12px; --max:1100px;
  --serif:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:var(--sans);font-size:1.0625rem;line-height:1.65;color:var(--ink);background:var(--cream)}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--barn)}
a:hover{color:var(--barn-dark)}
:focus-visible{outline:3px solid var(--wheat);outline-offset:3px}
h1,h2,h3{font-family:var(--serif);line-height:1.2;color:var(--soil);margin:0 0 .5em}
h1{font-size:clamp(2rem,5vw,3.2rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.2rem)}
h3{font-size:1.3rem}
p{margin:0 0 1em}
.container{width:min(100% - 2.5rem,var(--max));margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:0;background:var(--soil);color:#fff;padding:.6rem 1rem;z-index:100}
.skip-link:focus{left:1rem;top:1rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Header */
.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0}
.brand{display:flex;flex:none;align-items:center;gap:.6rem;text-decoration:none;color:var(--soil)}
.brand picture{flex:none;display:block;line-height:0}
.brand-logo{display:block;width:88px;height:auto}
.brand-name{font-family:var(--serif);font-weight:700;font-size:1.35rem;line-height:1.1;white-space:nowrap}
.brand-sub{display:block;font-family:var(--sans);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:500}
.nav-toggle{display:none;background:none;border:2px solid var(--soil);border-radius:8px;padding:.4rem .7rem;font:inherit;font-size:.95rem;color:var(--soil);cursor:pointer}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:.25rem;flex-wrap:wrap}
.site-nav a{display:block;padding:.45rem .75rem;border-radius:8px;text-decoration:none;color:var(--ink);font-weight:500}
.site-nav a:hover{background:var(--cream)}
.site-nav a[aria-current="page"]{background:var(--field);color:#fff}
@media (max-width:1080px){.brand-logo{width:72px}.brand-name{font-size:1.15rem}}
@media (max-width:820px){
  .nav-toggle{display:inline-block}
  .site-nav{display:none;width:100%}
  .site-nav.open{display:block}
  .header-inner{flex-wrap:wrap}
  .brand-logo{width:64px}
  .brand-name{font-size:1.15rem}
  .site-nav ul{flex-direction:column;padding-bottom:.6rem}
  .site-nav a{padding:.7rem .75rem}
  .no-js .site-nav{display:block}
}

/* Hero */
.hero{background:linear-gradient(180deg,#f3e3bf 0%,var(--cream) 100%);padding:3rem 0 0;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:2rem;align-items:center}
.eyebrow{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--field);font-weight:700;margin-bottom:.6rem}
.lead{font-size:1.2rem;color:var(--muted);max-width:36ch}
.hero-art{align-self:end}
@media (max-width:820px){.hero-grid{grid-template-columns:1fr}.hero{padding-top:2rem}}

.page-hero{background:linear-gradient(180deg,#f3e3bf 0%,var(--cream) 100%);padding:2.5rem 0 1.5rem;border-bottom:1px solid var(--line)}
.page-hero p{max-width:60ch;color:var(--muted);font-size:1.1rem}

/* Buttons */
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 2rem}
.btn{display:inline-block;padding:.8rem 1.3rem;border-radius:999px;font-weight:700;text-decoration:none;border:2px solid transparent;font-size:1rem;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--barn);color:#fff}
.btn-primary:hover{background:var(--barn-dark);color:#fff}
.btn-outline{border-color:var(--soil);color:var(--soil);background:transparent}
.btn-outline:hover{background:var(--soil);color:#fff}

/* Sections */
section{padding:3.5rem 0}
.section-alt{background:var(--paper);border-block:1px solid var(--line)}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-2.solo{grid-template-columns:1fr}
.grid-2.solo>*{max-width:70ch}
@media (max-width:820px){.grid-2,.grid-3{grid-template-columns:1fr}}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;box-shadow:0 2px 0 rgba(91,68,52,.06)}
.section-alt .card{background:var(--cream)}
.card h3{margin-top:.5rem}
.card .icon{width:56px;height:56px}
.card a.more{font-weight:700}
.badge{display:inline-block;background:var(--wheat);color:var(--soil);font-weight:700;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;padding:.25rem .7rem;border-radius:999px}
.facts{list-style:none;padding:0;margin:1rem 0}
.facts li{padding:.5rem 0 .5rem 1.8rem;border-bottom:1px dashed var(--line);position:relative}
.facts li::before{content:"";position:absolute;left:.2rem;top:.95rem;width:.8rem;height:.8rem;border-radius:50% 0;background:var(--field-light);transform:rotate(-45deg)}
.quote-band{background:var(--field);color:#f4efe2;text-align:center}
.quote-band h2{color:#fff}
.quote-band p{max-width:60ch;margin-inline:auto;font-size:1.15rem}
.hebrew{font-size:1.6rem;font-family:var(--serif);letter-spacing:.04em}

/* Photo placeholders: replace with real farm photos */
.photo-placeholder{aspect-ratio:4/3;border:3px dashed var(--wheat);border-radius:var(--radius);background:repeating-linear-gradient(45deg,#f1e6cd,#f1e6cd 14px,#f7eedb 14px,#f7eedb 28px);display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;color:var(--soil);font-weight:700;font-family:var(--serif);font-size:1.1rem}
.photo-placeholder span{background:rgba(255,250,240,.9);padding:.5rem .9rem;border-radius:8px}

/* Steps */
.steps{counter-reset:step;list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.steps li{counter-increment:step;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;position:relative}
.steps li::before{content:counter(step);display:flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--barn);color:#fff;font-weight:700;font-family:var(--serif);font-size:1.2rem;margin-bottom:.6rem}
@media (max-width:820px){.steps{grid-template-columns:1fr}}

/* Forms */
.form-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem}
.field{margin-bottom:1rem}
label{display:block;font-weight:700;margin-bottom:.3rem}
.hint{font-weight:400;color:var(--muted);font-size:.9rem}
input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea{width:100%;padding:.7rem .8rem;border:2px solid #cdbf9f;border-radius:8px;background:#fff;font:inherit;color:var(--ink)}
input:focus,select:focus,textarea:focus{border-color:var(--field);outline:none;box-shadow:0 0 0 3px rgba(63,91,58,.25)}
textarea{min-height:140px;resize:vertical}
fieldset{border:1px solid var(--line);border-radius:8px;padding:.8rem 1rem;margin:0 0 1rem}
legend{font-weight:700;padding:0 .3rem}
.check{display:flex;gap:.5rem;align-items:flex-start;font-weight:400;margin:.3rem 0}
.check input{margin-top:.35rem;width:1.1rem;height:1.1rem;accent-color:var(--field)}
.hidden-field{display:none}
.form-note{font-size:.9rem;color:var(--muted);margin-top:1rem}

/* Contact list */
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{display:flex;gap:.8rem;align-items:flex-start;padding:.8rem 0;border-bottom:1px dashed var(--line)}
.contact-list svg{width:28px;height:28px;flex:none;margin-top:.15rem}
.contact-list strong{display:block}

/* Footer */
.site-footer{background:var(--soil);color:#efe5d2;padding:2.5rem 0 1.5rem;margin-top:0}
.site-footer a{color:#f4d79b}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}
.site-footer h2{color:#fff;font-size:1.15rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:.3rem 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:2rem;padding-top:1rem;font-size:.9rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr}}

/* Questionnaire callout */
.callout-wrap{padding:1.5rem 0}
.callout{display:flex;align-items:center;gap:1.25rem;background:var(--field);color:#f4efe2;border-radius:var(--radius);padding:1.5rem 1.75rem;box-shadow:0 4px 0 rgba(63,91,58,.25)}
.callout h2{color:#fff;font-size:1.45rem;margin:0 0 .2rem}
.callout p{margin:0;font-size:1.1rem}
.callout-icon{width:64px;height:64px;flex:none}
.callout-text{flex:1}
.callout-btn{flex:none;background:var(--wheat);color:var(--soil)}
.callout-btn:hover{background:#f0cf87;color:var(--soil)}
@media (max-width:820px){.callout{flex-direction:column;align-items:flex-start;text-align:left}.callout-icon{width:52px;height:52px}}

/* Questionnaire form */
.q-container{max-width:820px}
.q{border:none;border-bottom:1px dashed var(--line);border-radius:0;padding:0 0 1.25rem;margin:0 0 1.25rem}
.q legend{font-family:var(--serif);font-size:1.25rem;color:var(--soil);display:flex;align-items:center;gap:.6rem;margin-bottom:.8rem;padding:0}
.q-num{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:var(--barn);color:#fff;font-size:1rem;flex:none}
.q-sub{font-weight:700;margin:1rem 0 .5rem}
.options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.5rem}
.option{display:flex;align-items:center;gap:.6rem;border:2px solid #d9cba9;border-radius:10px;padding:.7rem .85rem;background:#fff;font-weight:500;cursor:pointer;margin:0}
.option:hover{border-color:var(--field-light)}
.option input{width:1.15rem;height:1.15rem;accent-color:var(--field);flex:none;margin:0}
.option:has(input:checked){border-color:var(--field);background:#eef3e8}
.option:has(input:focus-visible){outline:3px solid var(--wheat);outline-offset:2px}
.q-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}
.field.narrow{max-width:260px}
@media (max-width:600px){.q-row{grid-template-columns:1fr}}

/* Results */
.results-card{background:var(--paper);border:2px solid var(--field);border-radius:var(--radius);padding:1.75rem;outline:none}
.zone-line{background:#eef3e8;border-radius:8px;padding:.6rem .9rem}
.rec-list{list-style:none;padding:0;margin:1rem 0 1.5rem;display:grid;gap:.9rem}
.rec{border:1px solid var(--line);border-left:6px solid var(--barn);border-radius:10px;padding:1rem 1.1rem;background:#fff}
.rec-head{display:flex;align-items:center;gap:.6rem}
.rec-head h3{margin:0;font-size:1.2rem}
.rec-num{display:inline-flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem;border-radius:50%;background:var(--field);color:#fff;font-weight:700;flex:none}
.rec-price{font-weight:700;color:var(--barn);margin:.4rem 0}
.notes{padding-left:1.2rem;margin:.5rem 0 1.5rem}
.notes li{margin:.35rem 0}
.coming-soon-box{background:var(--cream);border:1px dashed var(--wheat);border-radius:10px;padding:1rem 1.1rem;margin-top:1.25rem}
.coming-soon-box .btn-row{margin:.8rem 0 0}
.results-card h3 .badge{vertical-align:middle;margin-left:.3rem}
.results-card{scroll-margin-top:90px}

/* Photo hero (home) */
.hero-photo{background:var(--cream);padding:0 0 1rem}
.hero-banner img{width:100%;height:clamp(240px,40vw,540px);object-fit:cover;object-position:50% 55%}
.hero-panel{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem 2rem .25rem;margin-top:-7rem;max-width:720px;box-shadow:0 6px 24px rgba(47,42,36,.12)}
.hero-panel .lead{max-width:48ch}
@media (max-width:820px){.hero-panel{margin-top:-2.5rem;padding:1.25rem 1.25rem 0}}

/* Photos and herd gallery */
.photo-frame{margin:0}
.photo-frame img,.herd-item img{width:100%;border-radius:var(--radius);border:1px solid var(--line);background:#e9dfc8}
.photo-frame img{aspect-ratio:4/3;object-fit:cover;object-position:50% 40%}
figcaption{font-size:.92rem;color:var(--muted);margin-top:.45rem}
.section-intro{max-width:65ch;color:var(--muted);font-size:1.1rem}
.herd-teaser-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:1.5rem 0}
.herd-teaser-grid img{aspect-ratio:1/1;object-fit:cover}
.herd-teaser-grid .herd-item:first-child img{object-position:50% 20%}
@media (max-width:820px){.herd-teaser-grid{grid-template-columns:1fr}}
.herd-item{margin:0}
.herd-item a{display:block;border-radius:var(--radius)}
.herd-item a:hover img{filter:brightness(1.04)}
.herd-gallery{columns:3 260px;column-gap:1.25rem;margin-top:1.5rem}
.herd-gallery .herd-item{break-inside:avoid;margin:0 0 1.25rem}
.gallery-note{font-size:.9rem;color:var(--muted);margin:0}
.icon{width:56px;height:56px}

/* Smooth, rounded focus and tap states (2026-10-25).
   Mouse and touch clicks no longer show a square box; keyboard users still get a
   rounded wheat-colored ring that follows each element's own corner shape. */
html{-webkit-tap-highlight-color:transparent}
a,button,.btn,.option,.check,summary,select,input,textarea{-webkit-tap-highlight-color:transparent}
:focus:not(:focus-visible){outline:none}
.btn{transition:background-color .15s ease,color .15s ease,box-shadow .15s ease,transform .05s ease;-webkit-appearance:none;appearance:none}
.btn:focus{outline:none}
.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--paper),0 0 0 6px var(--wheat);border-radius:999px}
.btn:active{transform:translateY(1px)}
.btn-primary:active{background:var(--barn-dark)}
.btn-outline:active{background:var(--soil);color:#fff}
.btn::-moz-focus-inner{border:0}
.btn[disabled]{opacity:.75;cursor:wait}
.nav-toggle:focus{outline:none}
.nav-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px var(--wheat)}
.site-nav a:focus{outline:none}
.site-nav a:focus-visible{outline:none;box-shadow:0 0 0 3px var(--wheat)}
.brand:focus{outline:none}
.brand:focus-visible{outline:none;box-shadow:0 0 0 3px var(--wheat);border-radius:var(--radius)}
.skip-link{border-radius:999px}
input[type=radio]:focus,input[type=checkbox]:focus{outline:none;box-shadow:none}
.check:has(input:focus-visible){outline:none;box-shadow:0 0 0 3px var(--wheat);border-radius:8px}
.option{transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.option:active{background:#eef3e8}
.option:has(input:focus-visible){outline:none;box-shadow:0 0 0 3px var(--paper),0 0 0 6px var(--wheat)}
.option:has(input:checked){box-shadow:0 0 0 1px var(--field)}
.option:has(input:checked:focus-visible){box-shadow:0 0 0 3px var(--paper),0 0 0 6px var(--wheat)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}
.herd-item a:focus{outline:none}
.herd-item a:focus-visible{outline:none;box-shadow:0 0 0 3px var(--wheat)}
.results-card:focus,.results-card:focus-visible{outline:none}
/* Required markers and gentle invalid state (only after the visitor has typed) */
.req{color:var(--barn);font-weight:700}
.req-note{font-size:.9rem;color:var(--muted);margin:0 0 .8rem}
input:user-invalid,select:user-invalid,textarea:user-invalid{border-color:var(--barn)}
.zone-status{font-size:.92rem;color:var(--field);margin:-.5rem 0 1rem;min-height:1.2em}
.zone-status:empty{display:none}
.input-narrow{max-width:260px}

/* Subscription packages on the seed store page */
.package-intro{max-width:65ch;margin-bottom:1.5rem}
.package-example{margin-top:1.75rem;max-width:75ch}
.package-example h3{margin-bottom:.4rem}

/* Raised bed package cards */
.product-grid{display:grid;gap:1.5rem;margin:1.5rem 0}
.product-card .price{font-family:var(--serif);font-size:1.6rem;color:var(--field);font-weight:700;margin:0 0 .75rem}
.product-card .included-title{font-size:1.05rem;margin:0 0 .4rem}
.product-card .included{margin:0 0 1rem;padding:0 0 0 1.2rem}
.product-card .included li{margin:0 0 .4rem}
.product-card .seeds-note{color:var(--muted);font-size:.95rem;margin:0 0 1rem}
.product-card .buy-button-wrap{margin-top:.25rem;min-height:3.25rem}
.hero-note{margin:.25rem 0 1rem;font-size:1.05rem}
