/* Shared by both Evans sites. ONE palette, read off wilsonvalley.com's own
   stylesheet rather than picked - [stated] John, 16 September 2026: "I think
   id prefer to keep all three on the same brand colors. The .com is most
   representative of what I want." The per-site accents that used to be
   written into each page's head (the ranch green, the ag gold) are retired
   and appear nowhere in the built output; bin/sitetheme-1.py greps for them,
   which is why neither hex value is written even here.

   FORCED LIGHT. The dark-mode media block this file carried since
   4 September is gone, not overridden: one version, the same for every
   visitor. Spec: the artifact "Evans Sites Rebuild", theme section. */

:root{
  color-scheme:light only;
  --cream:#F7F0E0;
  --paper:#FFFFFF;
  --ink:#1C140F;
  --mute:#6B5F55;
  --rule:#DDD3BF;
  --red:#A82220;
  --red-dk:#8C1A18;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Source Serif 4",Georgia,"Iowan Old Style",serif;
  --wrap:1180px;
  --gutter:22px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  font-size:18px;
  line-height:1.6;
}
img{max-width:100%;height:auto}
a{color:var(--red)}
a:focus-visible{outline:2px solid var(--red);outline-offset:2px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}

.skip{position:absolute;left:-9999px}
.skip:focus{
  position:fixed;left:12px;top:12px;z-index:20;padding:8px 12px;
  background:var(--paper);color:var(--ink);font-size:14px;
}

/* ---------------------------------------------------------------- type */
h1,h2,h3{font-family:var(--serif);font-weight:700;margin:0;text-wrap:balance}
h1{font-size:clamp(36px,6.6vw,66px);line-height:1.04;letter-spacing:-.02em}
h2{font-size:clamp(28px,3.8vw,42px);line-height:1.1;letter-spacing:-.015em}
h3{font-size:22px;line-height:1.2;font-weight:600}
.kicker{
  display:block;font-family:var(--sans);font-size:12.5px;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;color:var(--red);margin:0 0 12px;
}
p{margin:0 0 16px}
.lede{font-size:21px;line-height:1.45;margin:0 0 22px;max-width:60ch}
.soft,.mute{color:var(--mute)}

/* ---------------------------------------------------------------- buttons */
.btn{
  display:inline-block;font-family:var(--sans);font-size:14px;font-weight:600;
  letter-spacing:.02em;padding:12px 22px;border-radius:999px;text-decoration:none;
  border:1px solid transparent;line-height:1.2;white-space:nowrap;
}
.btn.solid{background:var(--red);color:#fff}
.btn.solid:hover{background:var(--red-dk)}
.btn.ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.btn.ghost:hover{background:var(--paper)}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}

/* ---------------------------------------------------------------- header
   Sticky, 82px, paper at 92% with a blur, one hairline under it: the lasso
   lockup left, uppercase nav right, one red pill on the end with the phone.
   The lasso is a wordmark - a loop round the words Evans Ranch 1867, 1200 by
   736 - so it IS the lockup, about 52px tall at its own aspect, no type
   beside it. Below 1000px the nav folds behind a Menu toggle with no
   script: a checkbox and a label. */
.top{
  position:sticky;top:0;z-index:10;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--rule);
}
.bar{display:flex;align-items:center;gap:22px;min-height:82px}
.lockup{display:flex;align-items:center;flex:0 0 auto;margin-right:auto}
.lockup img{height:52px;width:auto;display:block}
.top nav{display:flex;flex-wrap:wrap;gap:2px 22px;font-size:13px;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase}
.top nav a{color:var(--ink);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.top nav a:hover{color:var(--red)}
.top nav a[aria-current="page"]{color:var(--red);border-bottom-color:var(--red)}
.call{flex:0 0 auto}
.menu-toggle{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.menu-label{display:none;font-size:13px;font-weight:600;letter-spacing:.09em;
  text-transform:uppercase;cursor:pointer;padding:8px 0}
.menu-toggle:focus-visible + .menu-label{outline:2px solid var(--red);outline-offset:2px}
@media (max-width:999px){
  .bar{flex-wrap:wrap;gap:12px 18px;padding-top:12px;padding-bottom:12px}
  .menu-label{display:inline-block}
  .top nav{display:none;flex-basis:100%;flex-direction:column;gap:4px;padding:8px 0 6px;
    border-top:1px solid var(--rule)}
  .menu-toggle:checked ~ nav{display:flex}
  .top nav a{padding:8px 0}
}
@media (max-width:519px){
  .lockup img{height:42px}
  .call{font-size:13px;padding:10px 16px}
}

/* ---------------------------------------------------------------- hero
   Full bleed: the photograph covers the whole width under a top-to-bottom
   dark scrim, the eyebrow, h1, lede and buttons bottom-left inside the
   wrap. The ranch home runs slightly taller. */
.hero{
  position:relative;display:flex;align-items:flex-end;
  min-height:min(78vh,660px);color:#fff;overflow:hidden;
  background:var(--ink);
}
.hero.tall{min-height:min(84vh,720px)}
.hero > img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(28,20,15,.10) 0%,rgba(28,20,15,.35) 55%,rgba(28,20,15,.78) 100%);
}
.hero .wrap{position:relative;z-index:1;width:100%;padding-top:120px;padding-bottom:56px}
.hero .kicker{color:#fff;opacity:.92}
.hero h1{color:#fff;max-width:18ch;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.hero .lede{color:#fff;opacity:.95;max-width:48ch;margin-top:18px;margin-bottom:0}
.hero .btn.solid{background:var(--cream);color:var(--ink);border-color:var(--cream)}
.hero .btn.solid:hover{background:#fff}
.hero .btn.ghost{border-color:#fff;color:#fff}
.hero .btn.ghost:hover{background:rgba(255,255,255,.12)}

/* ---------------------------------------------------------------- sections
   76px of vertical padding, alternating cream and paper, a 1px rule
   between. build.py alternates the classes; the first section after the
   head is cream. */
.sec{padding:76px 0;border-top:1px solid var(--rule)}
.sec.paper{background:var(--paper)}
.hero + .sec, .top + .sec{border-top:0}
@media (max-width:719px){.sec{padding:52px 0}}

/* a photograph at the head of a page: assets/<site>/<slug>.jpg, see
   build.py. Wide pictures fill the measure and are cropped to a band from
   the centre; a portrait is shown whole. A page with a hero has none of
   this - the hero is its head. */
.pagepic{margin:0 0 30px;max-width:100%}
.pagepic img{
  display:block;width:100%;height:auto;max-height:440px;object-fit:cover;
  border:1px solid var(--rule);background:var(--paper);
}
.pagepic.portrait{max-width:26rem}
.pagepic.portrait img{max-height:none;object-fit:contain}
.pagepic.home img{max-height:520px}

/* the prose measure */
.prose{max-width:66ch}
.prose h1{margin:0 0 22px}
.prose h2{font-size:clamp(22px,2.6vw,28px);margin:0 0 8px}
.prose .lede{color:var(--ink)}
.wide h1,.wide .lede{max-width:66ch}
.wide h1{margin:0 0 18px}

.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

address{font-style:normal;margin:0 0 14px;line-height:1.6}
.tel a{color:var(--red);text-decoration:none;font-weight:600}
.tel a:hover{text-decoration:underline}
.tel.big{font-size:24px}
.optnote{color:var(--mute);font-size:16px}

/* ---------------------------------------------------------------- strip
   three short claims on paper, each a bold line over a grey line */
.strip{display:grid;gap:26px;grid-template-columns:1fr}
@media (min-width:720px){.strip{grid-template-columns:repeat(3,1fr);gap:34px}}
.strip div{padding-left:18px;border-left:3px solid var(--red)}
.strip b{display:block;font-family:var(--serif);font-size:24px;line-height:1.2;margin:0 0 6px}
.strip span{color:var(--mute);font-size:16px}

/* ---------------------------------------------------------------- cards
   kicker, heading, standfirst, then three cards each with a heading, a
   paragraph and an optional arrow link. The ranch home's three doors are
   this block. */
.cards-head{max-width:62ch;margin:0 0 34px}
.cards-head .lede{margin:12px 0 0}
.cards{display:grid;gap:18px;grid-template-columns:1fr}
@media (min-width:720px){.cards{grid-template-columns:repeat(3,1fr);gap:22px}}
.card{
  display:flex;flex-direction:column;gap:10px;
  background:var(--paper);border:1px solid var(--rule);border-radius:4px;
  padding:26px 24px 28px;text-decoration:none;color:var(--ink);
}
.sec.paper .card{background:var(--cream)}
a.card:hover{border-color:var(--red)}
.card h3{margin:0}
.card p{margin:0;color:var(--mute);font-size:16.5px}
.card .more{margin-top:auto;padding-top:8px;color:var(--red);font-weight:600;font-size:15px}
.card .more::after{content:"\2192";margin-left:6px}
.card .opt{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--red);margin:0}

/* ---------------------------------------------------------------- split
   text one side, a picture the other, vertically centred, reversible */
.split{display:grid;gap:34px;grid-template-columns:1fr;align-items:center}
@media (min-width:860px){
  .split{grid-template-columns:1fr 1fr;gap:64px}
  .split.flip > .split-copy{order:2}
}
.split img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:4px}
.split-copy h2{margin:0 0 18px}
.split-copy .btns{margin-top:18px}

/* ---------------------------------------------------------------- band
   full-width colour block, centred display type, one optional button */
.band{padding:84px 0;text-align:center;color:#fff}
.band.ink{background:var(--ink)}
.band.red{background:var(--red)}
.band h2{color:#fff;max-width:24ch;margin:0 auto}
.band .kicker{color:#fff;opacity:.85}
.band .btns{justify-content:center}
.band .btn.solid{background:var(--cream);color:var(--ink);border-color:var(--cream)}
.band .btn.solid:hover{background:#fff}
.band .btn.ghost{border-color:#fff;color:#fff}
@media (max-width:719px){.band{padding:56px 0}}

/* ---------------------------------------------------------------- endcta
   heading and one line on the left, one button on the right, on paper */
.endcta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px}
.endcta h2{font-size:clamp(26px,3.2vw,36px);margin:0 0 6px}
.endcta p{margin:0;color:var(--mute)}
.endcta .btn{flex:0 0 auto}

/* ---------------------------------------------------------------- gallery
   several photographs under a page's copy, from assets/<site>/<slug>/, see
   build.py. Two across on a wide screen, one on a phone; each picture keeps
   its own shape and is never cropped. */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:18px;margin:32px 0 0;max-width:60rem}
.gallery figure{margin:0;position:relative;transition:transform .25s ease,box-shadow .25s ease}
/* ROLL OVER A GALLERY PICTURE AND IT GROWS - [stated] John, 16 September 2026:
   "i want the roll overs on the secondary pictures to get bigger. not their
   top one". The head picture (.pagepic) has no such rule. On a screen with
   no pointer there is no hover, so a tap toggles the same size (build.py
   puts a two-line script under the gallery). */
@media (hover:hover){
  .gallery figure:hover{transform:scale(1.6);z-index:3;box-shadow:0 10px 30px rgba(0,0,0,.35)}
}
.gallery figure.big{transform:scale(1.6);z-index:3;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.gallery img{display:block;width:100%;height:auto;border:1px solid var(--rule);background:var(--paper)}
.gallery figcaption{font-size:15px;color:var(--mute);margin-top:6px}

/* ---------------------------------------------------------------- products */
.makers,.maker{color:var(--mute);font-size:16px;margin:0 0 26px}
.makers a,.maker a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.makers a:hover,.maker a:hover{color:var(--red)}
.cats{
  display:grid;gap:30px 26px;align-items:start;margin-top:34px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.cat h2{
  font-family:var(--sans);font-size:12.5px;font-weight:700;letter-spacing:.15em;
  text-transform:uppercase;color:var(--red);margin:0 0 10px;padding-bottom:8px;
  border-bottom:1px solid var(--rule);
}
.cat ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.cat li{font-size:16.5px}

.archive-empty{color:var(--mute)}

/* ---------------------------------------------------------------- footer
   three columns - address and phone, the site's own pages, the other two
   businesses - over a thin legal line */
footer{background:var(--paper);border-top:1px solid var(--rule);padding:56px 0 28px;
  font-size:15.5px;color:var(--mute)}
.fcols{display:grid;gap:30px;grid-template-columns:1fr}
@media (min-width:720px){.fcols{grid-template-columns:1.3fr 1fr 1fr;gap:40px}}
.fcols h3{font-family:var(--sans);font-size:12.5px;font-weight:700;letter-spacing:.15em;
  text-transform:uppercase;color:var(--ink);margin:0 0 12px}
.fcols p{margin:0 0 6px}
.fcols a{color:var(--ink);text-decoration:none}
.fcols a:hover{color:var(--red);text-decoration:underline}
.fcols ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.fcols .tagline{color:var(--ink);margin:0 0 12px}
.legal{margin:40px 0 0;padding-top:16px;border-top:1px solid var(--rule);font-size:13.5px}

/* ---------------------------------------------------------------- cattle for sale:
   the list is drawn by the page's own script off omni */
.cattle{max-width:100%}
.cattle h1,.cattle .lede{max-width:66ch}
.lot{
  display:grid;gap:6px 26px;margin:30px 0 0;padding:22px 0 26px;
  border-top:1px solid var(--rule);
  grid-template-columns:1fr;
}
@media (min-width:720px){.lot{grid-template-columns:minmax(0,22rem) 1fr}.lot .pics{grid-row:1/5}}
.lot .pics{display:flex;flex-wrap:wrap;gap:6px}
.lot .pics img{width:100%;max-width:22rem;height:auto;border:1px solid var(--rule);display:block}
.lot .pics a + a img{max-width:7rem}
.lot h2{font-size:24px;margin:0}
.lot .meta{margin:0;color:var(--mute);font-size:16px}
.lot .price{margin:0;font-weight:700;font-size:19px;color:var(--red)}
.lot.sold .price{color:var(--mute)}
.lot .tag{font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--mute);border:1px solid var(--rule);border-radius:3px;padding:1px 6px;vertical-align:middle}

/* ---------------------------------------------------------------- beef:
   the menu is wilsonvalley.com's, framed; the frame takes its height from
   the fragment's message and falls back to this one without script */
.beef{max-width:100%}
.beef h1,.beef .lede{max-width:66ch}
.embed{margin:30px 0 0}
.embed iframe{display:block;width:100%;border:0;height:1600px}
.embed + .tel{margin-top:34px}

/* ---------------------------------------------------------------- the contact form:
   the Wilson Valley form's rules, on this palette */
.note{background:var(--paper);border-left:3px solid var(--red);padding:14px 18px;margin:0 0 18px;font-size:16px}
.note p:last-child{margin-bottom:0}
form.contact{margin-top:30px;max-width:40rem}
.field{margin-bottom:18px}
.field label{display:block;font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--mute);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;padding:11px 12px;font-family:var(--sans);font-size:17px;
  color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:2px}
.field textarea{min-height:170px;resize:vertical}
button.send{appearance:none;border:0;border-radius:999px;cursor:pointer;background:var(--red);color:#fff;
  font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:.04em;padding:14px 30px}
button.send:hover{background:var(--ink)}
/* the honeypot: off-screen every way a person could look, still a real field for anything filling the form blind */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.field.check{border:0;padding:0;margin:0 0 18px}
.field.check legend{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--mute);margin-bottom:8px;padding:0}
.field.check label{display:inline-flex;align-items:center;gap:8px;margin:0 22px 6px 0;font-size:17px}
.field.check input{width:20px;height:20px;accent-color:var(--red)}
.field.check.missing legend{color:var(--red)}
.field input[type=tel]:required{}
/* a dated block: on the page until its day is over, then gone by the clock */
.dated{margin:34px 0 0;padding:22px 24px;background:var(--paper);border-left:3px solid var(--red)}
.dated .event{margin:0;font-size:19px}
.dated form.contact{margin-top:22px}
