/* ============================================================
   HUDSPETH FARMS — St. Joe, Arkansas
   "Front end feels 1975 Hudspeth Farms. Backend works like 2026."
   Design language pulled from the farm: land, family, cattle,
   work, genetics, generations, Arkansas.
   ============================================================ */

/* ---------- FONTS ----------
   Display = Libre Caslon Display (heritage American editorial / livestock catalog).
   Body/UI = Inter. The script logo supplies the personality; type stays disciplined. */
/* Fonts load via a <link> in each page <head> (non-render-blocking) — no @import. */

/* ---- Accessibility: skip link + visible keyboard focus ---- */
.skip {
  position: fixed; top: -60px; left: 1rem; z-index: 200;
  background: #26311f; color: #f6efe2; padding: .7rem 1.1rem; border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif; font-size: .9rem; text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: 1rem; }
:focus-visible {
  outline: 2px solid #a5372a; outline-offset: 3px; border-radius: 2px;
}
.on-dark :focus-visible, .gathering :focus-visible, .band :focus-visible,
.subfoot :focus-visible, .hero :focus-visible { outline-color: #e8dfcd; }

/* ---------- COLOR SYSTEM ----------
   Straight off their real roadside sign: deep pasture GREEN + red on CREAM.
   The luxury is the photography, not gold foil. Lots of white breathing room.
   (--wheat* kept as aliases now pointing to green so existing rules recolor.) */
:root {
  /* BUSINESS-CARD BRAND SYSTEM (sampled from the printed card) */
  --green:         #123f1e;   /* business-card green — PRIMARY */
  --green-soft:    #2f5a38;
  --green-deep:    #0d2d15;   /* darker green — footer/bands */
  --sky:           #7ea3b6;   /* Arkansas sky blue — subtle */
  --red:           #a5372a;   /* retired micro accent */
  /* aliases so prior --wheat rules recolor to green without per-rule edits */
  --wheat:         var(--green);
  --wheat-soft:    var(--green-soft);
  --wheat-deep:    #0d2d15;
  --cardinal:      #a5372a;
  --cardinal-soft: #b8493a;
  --cream:         #f4ede0;   /* business-card cream — page bg + text on green */
  --cream-deep:    #e7ddcb;
  --soil:          #4a3728;   /* soil brown — minimal, earthy text only */
  --bark:          #5c4632;
  --forest:        #123f1e;   /* = green */
  --sage:          #6f7a5a;
  --charcoal:      #1e1e1a;
  --ink:           #1e1e1a;   /* body text on cream */

  /* Day-of-the-farm sky — these three get cross-faded by scroll progress.
     --sky-a top, --sky-b horizon, --sky-c ground haze. Set live by JS. */
  --sky-a: #cdd6de;
  --sky-b: #e9e2d0;
  --sky-c: #d8cdb4;
  --sun:   #fbf3dd;
  --sun-x: 78%;
  --sun-y: 30%;

  --measure: 40rem;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --font-display: 'Libre Caslon Text', Georgia, serif;  /* headings + animal names */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-label: 'Inter', system-ui, sans-serif;
  --font-script: 'Libre Caslon Text', Georgia, serif;   /* script retired */
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============================================================
   THE SKY — one fixed layer behind everything.
   As you scroll the whole site, this warms morning -> golden -> dusk.
   "You spend a day at Hudspeth Farms by reaching the bottom."
   ============================================================ */
.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120vmax 90vmax at var(--sun-x) var(--sun-y),
        var(--sun) 0%, transparent 42%),
    linear-gradient(to bottom, var(--sky-a) 0%, var(--sky-b) 58%, var(--sky-c) 100%);
  transition: background .9s linear;
}
/* SUNLIGHT — real light falling across the land, not just the sky.
   A warm wash that tracks the sun's position (--sun-x/--sun-y) and rises
   from nothing at dawn to golden-hour warmth, composited over the actual
   photographs with soft-light. Digital Physicality: light changes. */
.sunlight {
  position: fixed; inset: 0; z-index: 30; pointer-events: none;
  mix-blend-mode: soft-light; opacity: var(--light, 0);
  background: radial-gradient(85vmax 85vmax at var(--sun-x) var(--sun-y),
      rgba(255,206,128,.95) 0%, rgba(255,158,84,.35) 52%, rgba(120,80,40,0) 82%);
  transition: opacity 1.1s linear;
}

/* almost-imperceptible morning fog that lifts over the first screens */
.fog {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(244,236,221,.0) 40%, rgba(244,236,221,.55) 100%);
  opacity: var(--fog, .7);
  transition: opacity 1.2s var(--ease-soft);
}

/* ============================================================
   TYPOGRAPHY — painted on the side of the barn 40 years ago,
   not a Brooklyn farm-to-table menu.
   ============================================================ */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: clamp(.66rem, 1.4vw, .76rem);
  color: var(--wheat-deep);
}
.eyebrow .dot { color: var(--wheat); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; color: var(--charcoal); }
.display {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1.0;
}
.headline { font-size: clamp(2rem, 5.2vw, 4.2rem); font-weight: 600; }
.subhead  { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; }
.lede {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.7;
  max-width: var(--measure);
  color: var(--soil);
  font-weight: 400;
}
.quiet { color: var(--bark); }

/* a hairline gold underline that appears under active nav / key words */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -.06em; height: 2px;
  background: var(--wheat);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.reveal.in .mark::after { transform: scaleX(1); }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */
main { position: relative; z-index: 1; }
section { position: relative; }
.pad { padding-inline: var(--gutter); }
.wrap { max-width: 78rem; margin-inline: auto; }
.stage { min-height: 100svh; display: grid; align-content: center; }

/* full-bleed photo slots — an animal or a landscape gets the whole viewport.
   NEVER cover a beautiful animal with UI. */
.plate {
  position: relative;
  height: 100svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.plate__media { position: absolute; inset: 0; z-index: -1; }
.plate__caption {
  font-family: var(--font-display);
  color: var(--cream);
  padding: var(--gutter);
  font-size: clamp(.8rem, 1.8vw, 1rem);
  letter-spacing: .04em;
  text-shadow: 0 1px 20px rgba(0,0,0,.5);
}

/* ============================================================
   PLACEHOLDER LANDSCAPES — procedural pasture.
   These are DESIGN PLACEHOLDERS. Every one is a real photo/video slot.
   Swap .scene__photo background-image with the family's photography.
   Search PHOTO- in HTML for the slot's shot-list id.
   ============================================================ */
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: transparent; }
.scene__photo {                       /* <- drop real image here */
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
/* layered hills give real depth for the parallax planes */
.hill { position: absolute; left: -5%; right: -5%; bottom: 0; will-change: transform; }
.hill--far  { bottom: 34%; }
.hill--mid  { bottom: 18%; }
.hill--near { bottom: 0; }
.grass {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background:
    linear-gradient(to top, var(--forest) 0%, rgba(46,58,43,0) 100%);
}
/* foreground blades that sway on the wind */
.blades {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 22vh; z-index: 2;
  will-change: transform;
}
.blades path { fill: var(--forest); }
@keyframes sway { 0%,100% { transform: translateX(0) } 50% { transform: translateX(1.2%) } }

/* BREATHING — the land at rest inhales. Applied ONLY to the two "just look"
   moments (hero + Stand Here), never the parallax plates. The experience breathes. */
@keyframes breathe { 0%,100% { transform: scale(1.02) } 50% { transform: scale(1.055) } }
.hero video.scene__photo,
.vista .scene__photo { animation: breathe 19s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .hero video.scene__photo, .vista .scene__photo { animation: none; }
  .sunlight { transition: none; }
}

.fencepost {
  position: absolute; bottom: 0; width: 10px; border-radius: 3px 3px 0 0;
  background: linear-gradient(var(--bark), var(--soil));
  box-shadow: 0 0 30px rgba(0,0,0,.15);
  z-index: 3; will-change: transform;
}

/* ============================================================
   NAV — sticky, gets a barnwood bar only after you leave the hero
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .95rem var(--gutter);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .4s var(--ease), color .5s var(--ease);
  color: var(--cream);
}
.nav.solid {
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(58,42,30,.14);
  color: var(--ink);
}
.nav.hide { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: .65rem; }
.nav__brand img { height: 40px; width: auto; border-radius: 4px; }
.nav__word {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .12em;
  font-size: 1.15rem; line-height: 1; text-transform: uppercase;
}
.nav__word small { display: block; font-family: var(--font-label); font-weight: 600; font-size: .55rem; letter-spacing: .28em; color: currentColor; opacity: .7; margin-top: .25rem; }
.nav__links { display: flex; gap: 1.9rem; align-items: center; }
.nav__links a {
  font-family: var(--font-label); font-weight: 600; font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: .2rem 0; color: currentColor;
}
.nav__links a::after {         /* the gold hover/active underline — the card's foil */
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--wheat); transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta {
  font-family: var(--font-label); font-weight: 600; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent); padding: .6rem 1.1rem; border-radius: 1px;
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.nav__cta:hover { border-color: var(--wheat); color: var(--wheat-deep); }
/* hamburger — visible at the top of every page (before the inline bar appears) */
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; line-height: 1; z-index: 60; position: relative; color: currentColor; padding: .5rem; margin: -.5rem; min-width: 48px; min-height: 48px; }
body.scrolled .nav__toggle, body.subpage .nav__toggle { display: none; }  /* desktop: hide once inline nav shows */
body.menu-open .nav__toggle { color: var(--cream); }

/* ============================================================
   HERO — the living pasture
   ============================================================ */
.hero { height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero__inner { position: relative; z-index: 4; padding-bottom: clamp(4rem, 12vh, 9rem); }
.hero__place {
  font-family: var(--font-label); font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; font-size: clamp(.66rem, 1.5vw, .8rem);
  color: var(--cream-deep); margin-bottom: 1.4rem; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero__place .dot { color: var(--wheat-soft); }
.hero h1 { color: var(--cream); max-width: 15ch; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.hero__sub { margin-top: 1.4rem; max-width: 40ch; color: var(--cream-deep); font-size: clamp(1.05rem,2.2vw,1.4rem); font-family: var(--font-display); text-shadow: 0 1px 20px rgba(0,0,0,.5); }
.hero__cta {
  margin-top: 2.2rem; display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-label); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
  padding-bottom: .5rem; border-bottom: 1px solid var(--wheat-soft);
}
.hero__cta .arrow { transition: transform .5s var(--ease); color: var(--wheat-soft); }
.hero__cta:hover .arrow { transform: translateY(4px); }
.hero__scrollhint {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 4; color: var(--cream-deep); font-family: var(--font-label);
  letter-spacing: .22em; font-size: .64rem; text-transform: uppercase;
  animation: bob 2.6s var(--ease-soft) infinite; text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); opacity:.55 } 50% { transform: translate(-50%,6px); opacity:1 } }

/* audio opt-in pill */
.audio-toggle {
  position: fixed; right: var(--gutter); bottom: 1.4rem; z-index: 45;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-size: .8rem; letter-spacing: .04em;
  padding: .45rem .8rem; border-radius: 40px;
  background: color-mix(in srgb, var(--cream) 85%, transparent);
  border: 1px solid rgba(58,42,30,.25); backdrop-filter: blur(6px);
  transition: opacity .4s var(--ease);
}
.audio-toggle .wave { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.audio-toggle .wave i { width: 2px; background: var(--cardinal); height: 4px; border-radius: 2px; }
.audio-toggle.on .wave i { animation: eq 1s ease-in-out infinite; }
.audio-toggle.on .wave i:nth-child(2){ animation-delay:.15s }
.audio-toggle.on .wave i:nth-child(3){ animation-delay:.3s }
@keyframes eq { 0%,100%{height:4px} 50%{height:12px} }

/* ============================================================
   REVEAL SYSTEM — everything enters on the same breeze.
   Grass moves left->right, so content drifts in from the left.
   ============================================================ */
.reveal { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 0; transform: none; transition: opacity .6s ease; }
  .reveal.in { opacity: 1; }
  .blades, .hero__scrollhint { animation: none !important; }
}

/* ============================================================
   SECTION: STOP AND LOOK — full-bleed animal plates, no UI
   ============================================================ */
.look .plate + .plate { margin-top: 0; }

/* ============================================================
   SECTION: THE HERD — cattle that don't know they're buttons
   ============================================================ */
.herd__intro { padding-block: clamp(5rem, 12vh, 9rem); }
.breeds { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; }
.breeds span { font-family: var(--font-label); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soil); }
.breeds span + span::before { content: "•"; color: var(--wheat); margin-right: 1.4rem; margin-left: -.9rem; }

.pasture {
  position: relative; height: 100svh; overflow: hidden;
  background: linear-gradient(to bottom, var(--sky-b), var(--forest));
}
.pasture__scene { position: absolute; inset: 0; z-index: 0; }
.animal {
  position: absolute; z-index: 2; transform: translate(-50%,-50%);
  width: clamp(46px, 6vw, 82px); aspect-ratio: 3/2;
  border: 0; border-radius: 4px; background: transparent;
  transition: filter .5s var(--ease);
}
.animal__hit { position: absolute; inset: -14px; border-radius: 50%; }
.animal__silhouette { width: 100%; height: 100%; fill: var(--soil); opacity: .92; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); transition: transform .5s var(--ease); }
.animal:hover .animal__silhouette { transform: translateY(-3px) scale(1.04); }
.animal__tag {
  position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 6px);
  white-space: nowrap; text-align: center;
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.animal:hover .animal__tag, .animal:focus-visible .animal__tag { opacity: 1; transform: translate(-50%, -4px); }
.animal__tag b { display:block; font-family: var(--font-display); color: var(--cream); font-size: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.animal__tag span { font-size: .75rem; color: var(--cream); opacity: .85; letter-spacing:.06em; }
.pasture.settled .animal:not(:hover) { filter: brightness(.72) saturate(.8); }
.pasture__hint {
  position: absolute; left: 50%; top: 1.4rem; transform: translateX(-50%); z-index: 3;
  color: var(--cream); font-family: var(--font-label); letter-spacing: .18em;
  text-transform: uppercase; font-size: .72rem; opacity: .8; text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

/* ---------- animal profile drawer ---------- */
.profile {
  position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 1.1fr .9fr;
  background: var(--cream); transform: translateY(100%); transition: transform .7s var(--ease);
  pointer-events: none;
}
.profile.open { transform: none; pointer-events: auto; }
.profile__photo { position: relative; background: var(--forest) center/cover; }
.profile__photo .scene { z-index: 0; }
.profile__id {
  position: absolute; left: var(--gutter); bottom: var(--gutter); color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.profile__id h2 { font-size: clamp(2rem,5vw,3.6rem); }
.profile__id p { font-family: var(--font-display); letter-spacing: .05em; }
.profile__data { padding: clamp(2rem,5vw,4rem); overflow: auto; align-self: center; }
.profile__close {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem;
  background: color-mix(in srgb, var(--cream) 85%, transparent); backdrop-filter: blur(6px);
}
.spec { border-top: 1px solid rgba(58,42,30,.18); }
.spec dl { display: grid; grid-template-columns: 8rem 1fr; }
.spec dt, .spec dd { overflow-wrap: anywhere; }
@media (max-width: 520px){ .spec dl { grid-template-columns: 6rem 1fr; } }
.spec dt, .spec dd { padding: .7rem 0; }
.spec dt { font-family: var(--font-display); color: var(--bark); font-weight: 600; letter-spacing: .04em; }
.spec dd { color: var(--ink); }
.spec div { display: contents; }
.spec div + div dt, .spec div + div dd { border-top: 1px solid rgba(58,42,30,.1); }
.avail {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  font-family: var(--font-display); font-weight: 600; color: var(--cardinal);
}
.avail::before { content:""; width:8px; height:8px; border-radius:50%; background: var(--cardinal); }

/* ============================================================
   SECTION: THE WORK
   ============================================================ */
.work { background: var(--green-deep); color: var(--cream); }
.work .eyebrow { color: var(--cream-deep); }
.work .lede { color: var(--cream); opacity: .9; }
.work__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 3rem; }
.work__grid figure { aspect-ratio: 4/5; overflow: hidden; position: relative; background: var(--bark); }
.work__grid figcaption {
  position: absolute; left: .7rem; bottom: .6rem; font-family: var(--font-label);
  font-size: .72rem; letter-spacing: .05em; color: var(--cream); opacity: .85;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

/* ============================================================
   SECTION: TIME — then / now scroll transform
   ============================================================ */
.time { height: 220svh; position: relative; }
.time__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.time__then, .time__now { position: absolute; inset: 0; }
.time__now { clip-path: inset(0 0 0 var(--wipe, 100%)); }   /* wipes open as you scroll */
.time__label {
  position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem,2.4vw,1.6rem); letter-spacing: .1em; color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.time__label--then { left: var(--gutter); top: 30%; }
.time__label--now  { right: var(--gutter); bottom: 30%; text-align: right; }
.time__line {
  position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cardinal);
  left: var(--wipe, 100%); z-index: 4; box-shadow: 0 0 24px rgba(143,29,29,.7);
}
.time__caption {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 5;
  font-family: var(--font-display); font-size: clamp(1.4rem,4vw,2.6rem); color: var(--cream);
  text-shadow: 0 2px 30px rgba(0,0,0,.7); text-align: center;
}

/* ============================================================
   SECTION: THE FAMILY — overlapping generations on a fence line
   ============================================================ */
.family { padding-block: clamp(5rem,14vh,10rem); background: var(--cream-deep); }
.timeline {
  position: relative; margin-top: 4rem; padding-top: 3rem;
}
.timeline::before {                 /* the fence rail that carries their history */
  content: ""; position: absolute; top: 3rem; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--bark) 0 60px, transparent 60px 66px);
  opacity: .5;
}
.gens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.gen { text-align: center; }
.gen figure {
  aspect-ratio: 3/4; background: var(--bark); position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(58,42,30,.25); transform: rotate(var(--tilt,0deg));
  border: 6px solid #fff; border-bottom-width: 26px;   /* looks like a physical print */
}
.gen figcaption { font-family: var(--font-display); font-weight: 600; margin-top: .7rem; color: var(--soil); }
/* old photographs "develop" into view */
.develop .scene { filter: sepia(.5) contrast(.9) brightness(1.05); opacity: .5; transition: filter 1.1s var(--ease), opacity 1.1s var(--ease); }
.develop.in .scene { filter: sepia(0) contrast(1) brightness(1); opacity: 1; }

/* ============================================================
   SECTION: STAND HERE — the flex. UI disappears.
   ============================================================ */
.standhere { padding-block: clamp(6rem,16vh,12rem); text-align: center; }
.standhere__btn {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--charcoal);
  border-bottom: 2px solid var(--cardinal); padding-bottom: .3rem;
}
.standhere__btn .arrow { transition: transform .5s var(--ease); }
.standhere__btn:hover .arrow { transform: translateX(6px); }

.vista {
  position: fixed; inset: 0; z-index: 100; background: var(--forest);
  opacity: 0; pointer-events: none; transition: opacity 1.2s var(--ease);
}
.vista.open { opacity: 1; pointer-events: auto; }
.vista .scene { z-index: 0; }
.vista__x {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 3; color: var(--cream);
  width: 46px; height: 46px; border: 1px solid rgba(244,236,221,.5); border-radius: 50%;
  font-size: 1.4rem; opacity: .7; transition: opacity .4s; backdrop-filter: blur(4px);
}
.vista__x:hover { opacity: 1; }
.vista__note {
  position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%); z-index: 3;
  color: var(--cream); font-family: var(--font-display); letter-spacing: .2em;
  text-transform: uppercase; font-size: .72rem; opacity: 0; transition: opacity 2s ease 1.2s;
}
.vista.open .vista__note { opacity: .7; }

/* ============================================================
   SECTION: THE GATHERING — the farm gets busy
   ============================================================ */
.gathering { background: var(--green-deep); color: var(--cream); padding-block: clamp(5rem,14vh,10rem); overflow: hidden; }
.gathering .eyebrow { color: var(--cardinal-soft); }
.gathering__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.gathering__date {
  font-family: var(--font-label); font-weight: 700; color: var(--cream);
  font-size: clamp(1rem,2.4vw,1.4rem); letter-spacing: .04em;
  margin-top: clamp(1.1rem, 2.5vw, 1.9rem);
}
.gathering__date b { color: var(--cardinal-soft); }
.reel { display: flex; gap: 1rem; margin-top: 3rem; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.reel::-webkit-scrollbar { height: 6px; }
.reel::-webkit-scrollbar-thumb { background: var(--bark); border-radius: 3px; }
.reel figure {
  flex: 0 0 clamp(220px, 30vw, 360px); aspect-ratio: 4/5; scroll-snap-align: start;
  position: relative; overflow: hidden; background: var(--soil);
}
.reel figcaption { position: absolute; left: .8rem; bottom: .7rem; font-family: var(--font-label); font-size: .78rem; opacity: .85; }

/* ---- The Gathering: its own visual universe (deep forest green + thin gold + script) ---- */
.gathering {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(201,162,94,.06), transparent 60%),
    var(--green-deep);
  border-top: 1px solid rgba(201,162,94,.25);
}
.gathering__top {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,6vw,5rem); align-items: center;
}
.gathering__script {
  font-family: var(--font-script); font-weight: 400; color: var(--cream);
  font-size: clamp(4rem,11vw,7.5rem); line-height: .9; margin-top: .3rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.gathering__catalog { position: relative; justify-self: center; max-width: 380px; }
.gathering__catalog img {
  display: block; width: 100%; height: auto; border-radius: 3px;
  transform: rotate(-2.2deg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(201,162,94,.28), 0 0 0 8px rgba(246,239,226,.04);
  transition: transform .6s var(--ease);
}
.gathering__catalog:hover img { transform: rotate(0deg) scale(1.015); }
.gathering__catalog figcaption {
  margin-top: 1.4rem; text-align: center; font-family: var(--font-label);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-deep);
}
.gathering__catalog figcaption i { font-family: var(--font-script); font-size: 1.25rem; text-transform: none; letter-spacing: 0; color: var(--cream); vertical-align: -2px; }
@media (max-width: 820px){
  .gathering__top { grid-template-columns: 1fr; }
  .gathering__catalog { order: -1; max-width: 300px; margin-bottom: 1rem; }
}

/* ---- From the Hudspeth Archives — documented proof (real records) ---- */
.archives { background: var(--cream); text-align: center; padding-block: clamp(4.5rem,12vh,9rem); }
.archives__lede { max-width: 52ch; margin-left: auto; margin-right: auto; }
.archives__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,4vw,3rem); margin-top: clamp(2.5rem,6vw,4rem); }
.proof { padding: 0 clamp(.5rem,2vw,1.5rem); border-left: 1px solid rgba(60,82,50,.16); }
.proof:first-child { border-left: 0; }
.proof__num {
  font-family: var(--font-display); color: var(--green);
  font-size: clamp(2.2rem,5vw,3.4rem); line-height: 1; letter-spacing: -.01em;
}
/* promoted animal name sits in the big serif slot where a price was — smaller than a
   number so a full name reads on one or two balanced lines, not a wall of serif */
.proof__num--name { font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.12; letter-spacing: 0; text-wrap: balance; }
.proof h3 { font-family: var(--font-display); font-size: clamp(1.05rem,2vw,1.3rem); color: var(--ink); margin-top: 1rem; }
.proof p { color: var(--soil); font-size: .96rem; line-height: 1.6; margin-top: .7rem; max-width: 34ch; margin-inline: auto; }
.archives__source { margin-top: clamp(2.5rem,6vw,3.5rem); font-family: var(--font-label); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wheat-deep); }
.archives__source i { font-family: var(--font-script); font-size: 1.35rem; text-transform: none; letter-spacing: 0; color: var(--green); vertical-align: -3px; }
@media (max-width: 720px){
  .archives__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .proof { border-left: 0; border-top: 1px solid rgba(60,82,50,.14); padding-top: 2rem; }
  .proof:first-child { border-top: 0; padding-top: 0; }
}
/* archived-catalog cover card (links the real PDF) */
.catalog-cover { display: inline-block; margin-top: 1.4rem; text-decoration: none; }
.catalog-cover img {
  display: block; width: clamp(180px, 40vw, 240px); height: auto; border-radius: 3px;
  transform: rotate(-1.8deg);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,.5), 0 0 0 1px rgba(60,82,50,.2);
  transition: transform .5s var(--ease);
}
.catalog-cover:hover img { transform: rotate(0deg) scale(1.02); }
.catalog-cover span { display: block; margin-top: 1rem; font-family: var(--font-label); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.catalogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 1.4rem; margin-top: 3rem; }
.catalog {
  aspect-ratio: 3/4; background: var(--bark); position: relative; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.4); transition: transform .4s var(--ease);
  transform: rotate(var(--tilt,0deg));
}
.catalog:hover { transform: translateY(-8px) rotate(0deg); }
.catalog__spine { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 1rem; }
.catalog__spine b { font-family: var(--font-display); color: var(--cream); font-size: 1.1rem; }
.catalog__spine span { color: var(--cream-deep); font-size: .78rem; letter-spacing: .1em; }

/* ============================================================
   SECTION: GOLDEN HOUR + philosophy
   ============================================================ */
.golden { position: relative; height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.golden .scene { z-index: -1; }
.golden__words { color: var(--cream); text-shadow: 0 2px 40px rgba(0,0,0,.6); max-width: 22ch; }
.golden__words h2 { font-size: clamp(1.8rem,5vw,3.4rem); line-height: 1.05; }
.golden__note { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 1.4rem; }

/* ============================================================
   THE GATHERING / CONTACT + LIVING FOOTER
   ============================================================ */
.home {
  position: relative; background: var(--green-deep); color: var(--cream);
  padding: clamp(3.5rem,9vh,7rem) var(--gutter) 2.4rem; overflow: hidden;
}
.home__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.home__billboard { border-radius: 4px; overflow: hidden; box-shadow: 0 26px 55px -18px rgba(0,0,0,.65); align-self: stretch; }
.home__billboard img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.home .eyebrow { color: var(--green-soft); }
.home__invite { max-width: 36rem; }
.home__invite h2 { font-size: clamp(2.2rem,4.6vw,3.4rem); color: var(--cream); }
.home__place { font-family: var(--font-display); font-size: clamp(1.1rem,2vw,1.4rem); margin-top: .6rem; color: var(--cream-deep); }
.home .contact-real { grid-template-columns: 1fr 1fr; margin-top: 1.8rem; color: var(--cream); }
.home .contact-real b { color: var(--cream); }
.home .contact-real a { color: var(--cream-deep); border-bottom: 1px solid rgba(244,236,221,.22); }
.home .contact-real a:hover { color: #fff; }
.home__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
@media (max-width: 860px){
  .home__grid { grid-template-columns: 1fr; }
  .home .contact-real { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){ .home .contact-real { grid-template-columns: 1fr; } }
.btn {
  font-family: var(--font-label); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .85rem 1.6rem; border-radius: 1px; border: 1px solid color-mix(in srgb, var(--cream) 55%, transparent);
  color: var(--cream); display: inline-flex; align-items: center; gap: .5rem;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--cream); color: var(--soil); border-color: var(--cream); }
.btn--red { background: var(--wheat); border-color: var(--wheat); color: var(--cream); }
.btn--red:hover { background: var(--wheat-soft); border-color: var(--wheat-soft); color: var(--charcoal); }
.home__foot {
  margin-top: 4rem; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .82rem; opacity: .8;
  border-top: 1px solid rgba(244,236,221,.25); padding-top: 1.4rem;
}
.home__foot a:hover { color: #fff; }

/* contact slot — clearly marked TODO for real info */
.contact-slot {
  margin-top: 1rem; font-size: .78rem; padding: .5rem .8rem; border: 1px dashed rgba(244,236,221,.4);
  border-radius: 3px; display: inline-block; opacity: .75;
}

/* ============================================================
   PHYSICAL PRINTS — photographs as real objects on a surface.
   White border, soft shadow, a little tilt. Digital Physicality:
   a photo isn't a div, it's a print you could pick up.
   ============================================================ */
.print {
  position: relative; background: #fff; padding: 10px 10px 10px;
  border-radius: 2px; box-shadow: 0 22px 45px -12px rgba(28,20,12,.5), 0 4px 12px rgba(28,20,12,.2);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.print img, .print .print__img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1px;
}
.print--photo { padding-bottom: 10px; }
.print:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 30px 60px -12px rgba(28,20,12,.55); }
/* stacked prints behind (the pile look) */
.print-stack { position: relative; }
.print-stack::before, .print-stack::after {
  content: ""; position: absolute; inset: 0; background: #f3ece0; border-radius: 2px;
  box-shadow: 0 14px 30px -10px rgba(28,20,12,.4); z-index: -1;
}
.print-stack::before { transform: rotate(3deg) translate(10px, 6px); }
.print-stack::after  { transform: rotate(-4deg) translate(-8px, 10px); background: #ede4d4; }
.print--sepia .print__img { filter: sepia(.55) contrast(.92) brightness(1.02); }

/* gold arrow-link (VIEW PROFILE → · OUR STORY → · COME ON IN) */
.link-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--wheat-deep);
}
.link-gold .arrow { transition: transform .4s var(--ease); }
.link-gold:hover .arrow { transform: translateX(5px); }
.on-dark .link-gold { color: var(--cream-deep); }

/* ============================================================
   FEATURED ANIMAL CARD — the herd's hero (comp: HF 2101)
   ============================================================ */
.featured { position: relative; }
.featured__print { position: relative; }
.featured__print .print { --tilt: 1.5deg; }
.featured__panel {
  position: absolute; right: -3%; left: auto; top: auto; bottom: -11%; z-index: 4;   /* OUTSIDE the photo, bottom-right — never over the animal */
  background: color-mix(in srgb, var(--charcoal) 85%, transparent);
  backdrop-filter: blur(3px); color: var(--cream);
  padding: 1rem 1.3rem; max-width: 54%;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.6);
}
.featured__panel h3 { color: var(--cream); font-size: clamp(1.3rem,2.4vw,1.9rem); font-weight: 600; }
.featured__meta {
  display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: .55rem 0 1rem;
  font-family: var(--font-label); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cream-deep);
}
.featured__meta b { color: var(--gold-soft); font-weight: 700; margin-right: .3rem; }
.featured__meta span { position: relative; }
.featured__meta span + span::before { content: "·"; color: var(--wheat); margin-right: .8rem; }

/* ============================================================
   LEGACY — "Built on Generations. Driven Every Day."
   Dark band, copy left, a cluster of physical prints right.
   ============================================================ */
.legacy { background: var(--green-deep); color: var(--cream); overflow: hidden;
  padding-block: clamp(4.5rem, 12vh, 9rem);
  background-image: linear-gradient(to bottom, rgba(20,15,10,.15), rgba(20,15,10,.4)); }
.legacy .eyebrow { color: var(--wheat-soft); }
.legacy h2 { color: var(--cream); }
.legacy p { color: var(--cream-deep); }
.legacy__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.legacy__copy { max-width: 40ch; }
.legacy__cluster { position: relative; min-height: 42vh; }
.legacy__cluster .print { position: absolute; }
.legacy__cluster .p1 { --tilt: -3deg; width: 54%; left: 0; top: 6%; z-index: 3; }
.legacy__cluster .p2 { --tilt: 4deg; width: 46%; right: 2%; top: 0; z-index: 2; }
.legacy__cluster .p3 { --tilt: -5deg; width: 50%; right: 6%; bottom: 0; z-index: 1; }
.legacy__cluster .print figcaption {
  font-family: var(--font-label); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bark); text-align: center; padding-top: 8px;
}
.legacy__note-print {
  display: grid; place-items: center; text-align: center; background: #fff; color: var(--soil);
  aspect-ratio: 4/5; padding: 1rem;
}
.legacy__note-print b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.legacy__note-print span { font-size: .72rem; color: var(--bark); margin-top: .3rem; }

/* ============================================================
   BAND — "Want to see why?" full-bleed dusk invitation
   ============================================================ */
.band { position: relative; min-height: 62svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.band .scene { z-index: -1; }
.band__inner { color: var(--cream); z-index: 2; padding: var(--gutter); }
.band__inner h2 { color: var(--cream); font-size: clamp(2rem,5vw,3.4rem); text-shadow: 0 2px 40px rgba(0,0,0,.5); }

/* ============================================================
   SCROLL PROGRESS — an almost-invisible strand of fence wire
   ============================================================ */
.wire { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.wire__fill { height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--bark), var(--cardinal)); transition: width .1s linear; opacity: .8; }

/* ============================================================
   LOADER — traces the fence line
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader svg { width: min(60vw, 420px); }
.loader path { fill: none; stroke: var(--soil); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2s var(--ease) forwards; }
.loader .word { font-family: var(--font-display); letter-spacing: .3em; color: var(--bark);
  text-align: center; margin-top: 1.4rem; font-size: .78rem; text-transform: uppercase;
  opacity: 0; animation: fadein .8s ease .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader path { animation: none; stroke-dashoffset: 0; }
  .loader .word { animation: none; opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* full-screen menu overlay — works at ALL widths, opened by the top hamburger */
/* dimmed backdrop behind the side drawer */
body.menu-open::before {
  content: ""; position: fixed; inset: 0; z-index: 56;
  background: rgba(18,24,14,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
/* menu = right-side drawer, not a full-width overlay */
body.menu-open .nav__links {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto;
  width: min(320px, 80vw);
  display: flex !important; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 1.2rem;
  padding: 5rem clamp(1.6rem, 6vw, 2.2rem) 2.5rem;
  background: var(--green-deep);
  box-shadow: -24px 0 70px -12px rgba(0,0,0,.5);
  z-index: 58;
  opacity: 1 !important; pointer-events: auto !important; transform: none;
}
body.menu-open .nav__links a {
  color: var(--cream); font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.9rem); letter-spacing: .01em; text-transform: none; font-weight: 400;
  display: block; width: 100%; padding: .5rem 0;
}
body.menu-open .nav__links a::after { display: none; }
/* nav.solid's backdrop-filter creates a containing block that traps the fixed
   overlay inside the nav bar — neutralize it while the menu is open so the
   overlay fills the whole viewport. */
body.menu-open .nav {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  background: transparent !important; box-shadow: none !important;
  /* .nav is a fixed z-50 stacking context; the blur backdrop is z-56 at the
     root, so it painted OVER the drawer (blurry + untappable). Lift the whole
     nav — drawer (z-58) and toggle (z-60) ride with it — above the backdrop. */
  z-index: 60 !important;
}

@media (max-width: 820px) {
  /* mobile: no inline nav row — the hamburger drives everything */
  body:not(.menu-open) .nav__links { display: none; }
  body.scrolled .nav__toggle, body.subpage .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .profile { grid-template-columns: 1fr; grid-template-rows: 42svh 1fr; }
  .work__grid { grid-template-columns: repeat(2,1fr); }
  .gens { grid-template-columns: repeat(3,1fr); }
  .time__label--now { bottom: 22%; }
}
@media (max-width: 520px) {
  .gens { grid-template-columns: repeat(2,1fr); }
}

/* ============================================================
   SUB-PAGES — Females / Sires / Sale
   ============================================================ */
body.subpage { background: var(--cream); }
.catalog-page { padding-top: 4.5rem; }
.catalog-hero { padding-block: clamp(3rem, 8vh, 6rem) 2rem; }
.catalog-hero .lede { margin-top: 1rem; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.filter {
  font-family: var(--font-label); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .55rem 1rem; min-height: 40px; display: inline-flex; align-items: center; border-radius: 2px; border: 1.5px solid rgba(58,42,30,.35);
  color: var(--soil); transition: all .3s var(--ease); cursor: pointer;
}
.filter:hover { border-color: var(--cardinal); }
.filter.is-on { background: var(--soil); color: var(--cream); border-color: var(--soil); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.6rem; padding-bottom: 5rem; }
.card {
  background: #fff; border-radius: 3px; overflow: hidden;
  box-shadow: 0 8px 26px rgba(58,42,30,.12); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(58,42,30,.22); }
.card.hide { display: none; }
.card__media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--forest); width: 100%; padding: 0; margin: 0; border: 0; border-radius: inherit; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__breed {
  position: absolute; left: .7rem; top: .7rem; font-family: var(--font-label);
  font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); background: color-mix(in srgb, var(--soil) 78%, transparent);
  padding: .25rem .6rem; border-radius: 2px; backdrop-filter: blur(4px);
}
.card__note {
  position: absolute; right: .7rem; top: .7rem; font-family: var(--font-display);
  font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream); background: var(--cardinal); padding: .25rem .55rem; border-radius: 2px;
}
.card__body { padding: 1rem 1.1rem 1.3rem; }
.card__body h3 { font-size: 1.15rem; line-height: 1.15; color: var(--charcoal); }
.card__reg { display: inline-block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--bark); letter-spacing: .02em; }
.ped { margin-top: .8rem; display: grid; gap: .35rem; font-size: .86rem; }
.ped div { display: grid; grid-template-columns: 3.2rem 1fr; gap: .5rem; }
.ped dt { font-family: var(--font-display); font-weight: 600; color: var(--cardinal); font-size: .78rem; letter-spacing: .04em; padding-top: .05rem; }
.ped dd { color: var(--soil); }

/* gallery lightbox — big preview + side arrows + thumbnail rail, always-visible X */
.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(16,14,12,.95);
  display: grid; grid-template-rows: 1fr auto;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }

/* stage (the figure holds the big image + caption) */
.lightbox__stage {
  grid-row: 1; position: relative; margin: 0; min-height: 0;
  display: grid; place-items: center;
  padding: clamp(3.6rem,7vh,5rem) clamp(3.5rem,9vw,6rem) 1.6rem;
}
.lightbox__stage img {
  max-width: min(94vw, 1400px); max-height: 74vh; width: auto; height: auto;
  object-fit: contain; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: .1rem; text-align: center;
  color: var(--cream); font-family: var(--font-display); letter-spacing: .04em; font-size: 1rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* X — pinned to the viewport, above everything, on every screen */
.lightbox__x {
  position: fixed; top: max(.9rem, env(safe-area-inset-top)); right: max(.9rem, env(safe-area-inset-right));
  z-index: 4; width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--cream); font-size: 2rem; line-height: 1; border-radius: 50%;
  background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: .95; transition: background .25s var(--ease), opacity .25s var(--ease); cursor: pointer;
}
.lightbox__x:hover { opacity: 1; background: rgba(0,0,0,.72); }

/* side arrows */
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; display: grid; place-items: center;
  color: var(--cream); font-size: 2.3rem; line-height: 1; border-radius: 50%;
  background: rgba(0,0,0,.42); opacity: .9; cursor: pointer;
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.lightbox__nav:hover { background: rgba(0,0,0,.68); opacity: 1; }
.lightbox__prev { left: clamp(.5rem, 2.5vw, 1.6rem); }
.lightbox__next { right: clamp(.5rem, 2.5vw, 1.6rem); }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__rail { display: none; }

/* thumbnail rail beneath */
.lightbox__rail {
  grid-row: 2; display: flex; gap: .5rem; overflow-x: auto; scroll-behavior: smooth;
  padding: .7rem clamp(1rem,4vw,2rem) max(1rem, env(safe-area-inset-bottom));
  justify-content: safe center; -webkit-overflow-scrolling: touch;
}
.lightbox__rail::-webkit-scrollbar { height: 6px; }
.lightbox__rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.24); border-radius: 3px; }
.lightbox__thumb {
  flex: 0 0 auto; width: 70px; height: 52px; padding: 0; border: 0; border-radius: 3px; overflow: hidden;
  background: var(--forest); cursor: pointer; opacity: .5;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity .25s var(--ease), outline-color .25s var(--ease);
}
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox__thumb:hover { opacity: .85; }
.lightbox__thumb.is-active { opacity: 1; outline-color: var(--wheat); }

@media (max-width: 640px){
  .lightbox__stage { padding: 3.4rem 1rem 1.2rem; }
  .lightbox__stage img { max-height: 62vh; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; background: rgba(0,0,0,.52); }
  .lightbox__thumb { width: 60px; height: 46px; }
}

/* sub-page footer + real contact */
.subfoot { background: var(--green-deep); color: var(--cream); padding: clamp(4rem,10vh,7rem) var(--gutter); }
.subfoot .eyebrow { color: var(--cream-deep); }
.subfoot h2 { color: var(--cream); }
.contact-real { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; margin-top: 2.2rem; max-width: 60rem; }
.contact-real b { font-family: var(--font-display); color: var(--cream); }
.contact-real a { color: var(--cream-deep); border-bottom: 1px solid rgba(244,236,221,.3); }
.contact-real a:hover { color: #fff; }

.sale-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; padding-bottom: 5rem; }
.sale-block p { margin-top: 1rem; max-width: 42ch; }
.sale-block .home__actions { margin-top: 1.6rem; }
.btn--dark { border-color: var(--soil); color: var(--soil); }
.btn--dark:hover { background: var(--soil); color: var(--cream); }
.subpage .catalogs { margin-top: 1.6rem; }
.subpage .catalog__spine b, .subpage .catalog__spine span { color: var(--cream); }

@media (max-width: 760px) {
  .contact-real { grid-template-columns: 1fr; }
  .sale-cols { grid-template-columns: 1fr; gap: 2rem; }
}

html.flat .reveal { opacity: 1 !important; transform: none !important; }

/* their real roadside sign, pinned like a snapshot in the dusk footer */
.home__sign {
  position: absolute; right: var(--gutter); top: 12%; z-index: 3;
  width: min(34%, 30rem); --tilt: -2.5deg; padding: 12px 12px 12px;
}
.home__sign img { aspect-ratio: 3/2; object-fit: cover; }
.home__sign figcaption {
  font-family: var(--font-label); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--bark); text-align: center; padding-top: 8px;
}
@media (max-width: 900px) { .home__sign { position: relative; right: auto; top: auto; width: min(80%, 22rem); margin-top: 2rem; } }

/* ============================================================
   REGISTERED CATTLE — what they actually produce (their own words)
   ============================================================ */
.registered { padding-block: clamp(3.5rem,9vh,6.5rem); background: var(--cream); }
.registered__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,4vw,3.2rem); margin-top: 2.8rem; }
.reg-col { border-top: 2px solid var(--green); padding-top: 1.1rem; }
.reg-col h3 { font-family: var(--font-label); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; font-size: .82rem; color: var(--green-deep); }
.reg-col p { margin-top: .6rem; color: var(--soil); font-size: clamp(1.05rem,1.6vw,1.25rem); font-family: var(--font-display); line-height: 1.35; }
@media (max-width: 760px){ .registered__cols { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ============================================================
   AROUND THE FARM — photography, just to appreciate it
   ============================================================ */
.mosaic { padding-block: clamp(3rem,8vh,6rem); background: var(--cream); }
.mosaic__grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 21vh; gap: 8px; margin-top: 2.2rem; }
.mosaic figure { position: relative; overflow: hidden; background: var(--forest); border-radius: 2px; }
.mosaic figure .scene__photo { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.mosaic figure:hover .scene__photo { transform: scale(1.06); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
.mosaic figcaption {
  position: absolute; inset: 0; display: grid; align-content: end; padding: .9rem;
  color: var(--cream); background: linear-gradient(to top, rgba(20,25,18,.6), transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
  font-family: var(--font-label); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
}
.mosaic figure:hover figcaption { opacity: 1; }
@media (max-width: 760px){ .mosaic__grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 26vh; } .mosaic .wide { grid-column: span 2; } }

/* ============================================================
   THE CENTURY MOMENT — verified 100+ years, stated plainly
   ============================================================ */
.century { padding-block: clamp(5rem,15vh,11rem); text-align: center; background: var(--cream); }
.century__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(4.5rem,15vw,12rem); line-height: .82; color: var(--green); }
.century__num-sub {
  display: block; font-family: var(--font-label); font-weight: 700;
  font-size: clamp(.72rem,1.5vw,.95rem); letter-spacing: .42em; text-transform: uppercase;
  color: var(--wheat-deep); margin-top: 1.4rem; padding-left: .42em; line-height: 1;
}
.century h2 { font-size: clamp(1.9rem,4.8vw,3.6rem); margin-top: .5rem; }
.century p { max-width: 46ch; margin: 1.5rem auto 0; color: var(--soil); font-size: clamp(1.02rem,1.7vw,1.2rem); line-height: 1.7; }
.century__tag { margin-top: 2.2rem; font-family: var(--font-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: var(--green-deep); }
.century__tag b { color: var(--red); }

/* screenshot/debug only: cap svh sections so full-page capture doesn't explode */

html.flat .profile, html.flat .vista, html.flat .loader { display: none !important; }

/* fix: figures with a solid bg must isolate so the .scene (z-index:-1) paints
   ABOVE the figure's own background, not behind it */
.mosaic figure, .reel figure, .work__grid figure, .plate { isolation: isolate; }




/* ============================================================
   LOGO BANNER — full-width on load, docks into the top-left on scroll.
   The logo already says "Hudspeth Farms", so no repeated wordmark.
   ============================================================ */
.brandbanner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55; line-height: 0;
  display: flex; justify-content: center;      /* centered like a banner on wide screens */
  transition: justify-content .1s;
  pointer-events: none;
}
/* scenic logo: native width ~1000px. On desktop cap at 40vw (never past ~40% /
   never upscale past quality); on narrow screens it keeps full width. */
.brandbanner img {
  width: min(40vw, 1000px); height: auto; display: block; pointer-events: auto;
  box-shadow: 0 2px 24px rgba(20,20,12,.2);
  transition: width .8s var(--ease), box-shadow .6s var(--ease), border-radius .6s var(--ease);
}
@media (max-width: 900px){ .brandbanner img { width: 100vw; } }   /* narrow → full width */

/* docked: flush into the top-left corner, filling it more */
body.scrolled .brandbanner,
body.subpage .brandbanner { justify-content: flex-start; }
body.scrolled .brandbanner img,
body.subpage .brandbanner img {
  width: clamp(210px, 21vw, 290px);
  border-bottom-right-radius: 4px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(20,25,15,.32);
}
@media (max-width: 900px){
  body.scrolled .brandbanner img, body.subpage .brandbanner img { width: 168px; }
}

/* nav links are visible from the start (mock shows the full header on load) */
.nav__toggle { z-index: 60; position: relative; }

html.flat .hero, html.flat .plate, html.flat .pasture, html.flat .band { height:560px !important; min-height:560px !important; }
html.flat .mosaic__grid { grid-auto-rows:150px !important; }

/* contact page columns (light bg) */
.contact-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 1.8rem; font-size: .95rem; color: var(--soil); }
.contact-cols b { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); display: inline-block; margin-bottom: .25rem; }
.contact-cols a { color: var(--green-deep); border-bottom: 1px solid rgba(60,82,50,.3); }
.contact-cols a:hover { color: var(--green); }
@media (max-width: 760px){ .contact-cols { grid-template-columns: 1fr; } }

/* ============================================================
   COMMERCE LAYER — merchandising on top of the experience
   ============================================================ */

/* nav: CATTLE FOR SALE is the strongest item */
.nav__sale { font-weight: 600 !important; }
.nav__sale::after { background: var(--gold) !important; }
body.menu-open .nav__sale { color: var(--cream) !important; }

/* hero commercial subline + persistent private-treaty utility */
.hero__sub {
  font-family: var(--font-body) !important; font-style: normal !important;
  font-size: clamp(1rem,1.5vw,1.18rem) !important; line-height: 1.55 !important;
  max-width: 46ch; color: var(--cream) !important; opacity: .96;
}
.hero__actions { margin-top: 2rem; display: flex; gap: .7rem; flex-wrap: wrap; }
.btn--ghost { border-color: rgba(246,239,226,.5); }
.btn--ghost:hover { background: rgba(246,239,226,.12); color: var(--cream); border-color: var(--cream); }
.hero__util {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cream-deep);
}
.hero__util span { color: var(--green-soft); transition: transform .4s var(--ease); }
.hero__util:hover span { transform: translateX(5px); }

/* CATTLE AVAILABLE NOW — the rail */
.availnow { padding-block: clamp(3.5rem,9vh,6rem); background: var(--cream); }
.availnow__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cattle-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px);
  gap: 1.2rem; margin-top: 2.2rem; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; touch-action: pan-x;
  scroll-snap-type: x mandatory; padding-bottom: 1rem;
}
.cattle-rail::-webkit-scrollbar { height: 6px; }
.cattle-rail::-webkit-scrollbar-thumb { background: var(--green-soft); border-radius: 3px; }
.cattle-card {
  scroll-snap-align: start; background: #fff; border-radius: 3px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(38,49,31,.12); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.cattle-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(38,49,31,.2); }
/* 3:2 matches the registry photos — cattle heads sit on the sides, so the crop stays vertical and never cuts a head */
.cattle-card__photo { aspect-ratio: 3/2; background: var(--forest) center/cover; }
.cattle-card__body { padding: .9rem 1rem 1.1rem; }
.cattle-card__body h3 { font-size: 1.15rem; line-height: 1.1; color: var(--charcoal); }
.cattle-card__meta { font-family: var(--font-label); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soil); margin-top: .35rem; }
.cattle-card__meta b { color: var(--green-deep); }
.cattle-card__reg { font-size: .82rem; color: var(--bark); margin-top: .1rem; }
.cattle-card .link-gold { margin-top: .8rem; font-size: .68rem; }
.availnow__talk { margin-top: 1.6rem; font-size: 1.05rem; color: var(--soil); }
.availnow__talk a { color: var(--green-deep); font-weight: 600; border-bottom: 1px solid rgba(60,82,50,.35); }
.availnow__talk a:hover { color: var(--green); }

/* WHAT WE RAISE — the program */
.whatweraise { padding-block: clamp(3.5rem,9vh,6rem); background: var(--cream-deep); }
.raise-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,3vw,2rem); margin-top: 2.4rem; }
.raise-card { background: #fff; border-radius: 3px; padding: 1.6rem 1.5rem 1.4rem; border-top: 3px solid var(--green); box-shadow: 0 6px 20px rgba(38,49,31,.08); }
.raise-card h3 { font-size: clamp(1.5rem,2.6vw,2rem); color: var(--charcoal); }
.raise-card p { margin-top: .5rem; color: var(--soil); font-size: .96rem; }
.raise-links { display: flex; gap: 1.1rem; margin-top: 1.1rem; }
.raise-links a { font-family: var(--font-label); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); border-bottom: 1px solid rgba(60,82,50,.3); padding-bottom: 2px; }
.raise-links a:hover { color: var(--red); border-color: var(--red); }
.raise-strip { margin-top: 2rem; text-align: center; font-family: var(--font-label); font-size: .82rem; letter-spacing: .06em; color: var(--soil); }
.raise-strip b { color: var(--green-deep); }
@media (max-width: 760px){ .raise-grid { grid-template-columns: 1fr; } }

/* THE GATHERING — hard-sell buttons */
.gathering__sell { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.gathering .gathering__date b { color: var(--green-soft); }

/* MOBILE STICKY CTA — commerce without ecommerce */
.mobilecta { display: none; }
@media (max-width: 820px){
  .mobilecta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 57; display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -6px 20px rgba(0,0,0,.22);
  }
  .mobilecta a {
    text-align: center; padding: 1rem .5rem calc(1rem + env(safe-area-inset-bottom));
    font-family: var(--font-label); font-weight: 700;
    font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  }
  .mobilecta__cattle { background: var(--red); color: var(--cream); }
  .mobilecta__call { background: var(--green-deep); color: var(--cream); border-left: 1px solid rgba(246,239,226,.14); }
  .audio-toggle { display: none; }           /* free the bottom-right for the sticky bar */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }  /* clear the sticky bar + iOS home indicator */
}

/* ============================================================
   HERO MOCK — dark cinematic + gold, HF monogram locked top-left
   ============================================================ */
:root { --gold: #e2b93b; --gold-soft: #eccd6a; --gold-deep: #bf8a33; --gold-foil: linear-gradient(180deg, #f4d680 0%, #e2b93b 46%, #bf8a33 100%); }

/* corner logo lockup */
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 38px; height: 36px; flex: none; }
.brand__mark rect { fill: var(--gold); transition: fill .5s var(--ease); }
.brand__word { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .05em; text-transform: uppercase; line-height: .95; color: var(--gold); transition: color .5s var(--ease); }
.brand__word small { display: block; font-family: var(--font-label); font-weight: 600; font-size: .52rem; letter-spacing: .26em; opacity: .8; margin-top: .38rem; color: var(--cream); }
.nav.solid .brand__word { color: var(--green-deep); }
.nav.solid .brand__word small { color: var(--bark); }
.nav.solid .brand__mark rect { fill: var(--green); }
.nav__right { display: flex; align-items: center; gap: 1.6rem; }

/* desktop shows full nav; hamburger only on mobile */
.nav__toggle { display: none; }
@media (max-width: 960px){
  .nav__right .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  body.menu-open .nav__links { display: flex; }
  .brand__word { font-size: 1.2rem; }
}

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,15,10,.9) 0%, rgba(13,15,10,.62) 34%, rgba(13,15,10,.15) 58%, transparent 78%),
    linear-gradient(to top, rgba(11,13,8,.8) 0%, rgba(11,13,8,.18) 30%, transparent 55%),
    linear-gradient(to bottom, rgba(11,13,8,.55) 0%, transparent 20%);
}
.hero__grid { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 2rem; }
.hero__content { max-width: 640px; }
.hero__eyebrow { font-family: var(--font-label); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: clamp(.68rem,1.4vw,.78rem); color: var(--gold); }
.hero__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .012em; color: var(--cream); font-size: clamp(3rem,7vw,6rem); line-height: .98; margin-top: 1rem; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.hero__rule { display: block; width: 82px; height: 2px; background: var(--gold); margin: 1.5rem 0; opacity: .85; }
.hero__breeds { font-family: var(--font-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: clamp(.8rem,1.5vw,.92rem); color: var(--cream); }
.hero__breeds i { color: var(--gold); font-style: normal; margin: 0 .45rem; }
.hero__body { margin-top: 1.1rem; color: var(--cream); opacity: .92; max-width: 46ch; font-size: clamp(.98rem,1.4vw,1.1rem); line-height: 1.6; }
.hero__actions { margin-top: 1.9rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #211a0d; }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: #211a0d; }

.hero__features { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; max-width: 940px; }
.feat { display: flex; gap: .7rem; align-items: flex-start; border-left: 1px solid rgba(201,162,94,.32); padding-left: 1rem; }
.feat:first-child { border-left: 0; padding-left: 0; }
.feat svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; margin-top: 2px; }
.feat b { display: block; font-family: var(--font-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .66rem; color: var(--gold); }
.feat span { display: block; color: var(--cream); opacity: .84; font-size: .8rem; line-height: 1.35; margin-top: .28rem; }

.hero__bar { position: relative; z-index: 2; text-align: center; padding: 1rem 1.5rem 1.15rem; border-top: 1px solid rgba(201,162,94,.3); background: linear-gradient(to top, rgba(9,11,7,.9), rgba(9,11,7,.35)); }
.hero__bar-main { font-family: var(--font-label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(.72rem,1.5vw,.86rem); color: var(--gold); }
.hero__bar-main i { font-style: normal; color: var(--gold-soft); margin: 0 .55rem; }
.hero__bar-sub { display: block; font-family: var(--font-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(.6rem,1.2vw,.7rem); color: var(--cream); opacity: .8; margin-top: .4rem; }

@media (max-width: 960px){ .hero__features { grid-template-columns: repeat(2,1fr); gap: 1.1rem 1.4rem; } .feat:nth-child(3){ border-left:0; padding-left:0 } }
@media (max-width: 520px){ .hero__features { margin-top: 2rem; } .feat span { font-size: .74rem; } }

/* ensure the corner logo is high-contrast on light (solid) headers */
.nav.solid .brand__word { color: var(--green-deep) !important; }
.nav.solid .brand__word small { color: var(--bark) !important; }
.nav.solid .brand__mark rect { fill: var(--green) !important; }

/* ============================================================
   HERO refinements — bigger editorial type, mobile art direction
   ============================================================ */
.hero__content { min-width: 0; max-width: clamp(340px, 52vw, 760px); }  /* left column; animal reads on the right */
.hero__title { font-size: clamp(2.5rem, 5vw, 4.9rem); line-height: .97; }  /* uppercase runs wider — size for a clean 2-line break in the right column */
.hero__media { object-position: 36% 42%; }   /* bull left-of-centre, face in the left third, sky open up top */
/* darken the left hard so type always sits on shadow; animal stays clear on the right */
.hero__scrim {
  background:
    linear-gradient(90deg, rgba(11,13,8,.93) 0%, rgba(11,13,8,.78) 30%, rgba(11,13,8,.34) 52%, rgba(11,13,8,.05) 72%, transparent 88%),
    linear-gradient(to top, rgba(9,11,7,.85) 0%, rgba(9,11,7,.15) 32%, transparent 55%),
    linear-gradient(to bottom, rgba(9,11,7,.5) 0%, transparent 18%);
}

@media (max-width: 760px){
  /* mobile: animal up top, headline + actions below on dark */
  .hero__media { object-position: 60% 26%; }
  .hero__scrim {
    background: linear-gradient(to bottom, rgba(11,13,8,.15) 0%, rgba(11,13,8,.3) 40%, rgba(11,13,8,.9) 60%, #0e1109 100%);
  }
  .hero__grid { align-items: flex-end; padding-top: 46svh; padding-bottom: 1.4rem; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.8rem); margin-top: .6rem; }
  .hero__body { font-size: .95rem; }
  .hero__features { display: none; }        /* keep the mobile hero clean (point 25) */
  .hero__rule { margin: 1.1rem 0; }
}

/* hard mobile overflow guards for the hero */
@media (max-width: 760px){
  html, body { overflow-x: hidden; }
  .hero__grid { padding-inline: 1.25rem; }
  .hero__content { width: 100%; max-width: 100%; }
  .hero__eyebrow, .hero__breeds, .hero__body, .hero__title { max-width: 100%; overflow-wrap: anywhere; }
  .hero__breeds { letter-spacing: .08em; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 46%; justify-content: center; }
}

/* stop any section from widening the page on mobile (rails scroll internally) */
@media (max-width: 760px){
  html, body { overflow-x: hidden; max-width: 100%; }
  main > section, .availnow, .hero { max-width: 100vw; overflow-x: clip; }
  .availnow .wrap { max-width: 100%; }
  .cattle-rail { width: 100%; }
}

/* ============================================================
   INDIVIDUAL ANIMAL PAGES  /cattle/<slug>.html
   ============================================================ */
.animal-page { padding-top: 5.5rem; padding-bottom: 4rem; }
.crumb { font-family: var(--font-label); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bark); margin-bottom: 2rem; }
.crumb a { color: var(--green-deep); } .crumb a:hover { color: var(--red); }
.crumb span { color: var(--sage); margin: 0 .3rem; }

.animal-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.animal-photo { position: relative; background: var(--cream-deep); border-radius: 3px; overflow: hidden; box-shadow: 0 16px 40px -14px rgba(38,49,31,.35); display: grid; place-items: center; }
.animal-photo img { width: 100%; height: auto; display: block; }
.animal-photo img[data-full] { cursor: pointer; }
.animal-photo__hint {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 2; pointer-events: none;
  font-family: var(--font-label); font-weight: 600; font-size: .62rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--cream); background: color-mix(in srgb, var(--green-deep) 78%, transparent);
  padding: .32rem .6rem; border-radius: 2px; opacity: .85; transition: opacity .3s var(--ease);
}
.animal-photo:hover .animal-photo__hint { opacity: 1; }
.animal-photo figcaption { position: absolute; left: .8rem; top: .8rem; font-family: var(--font-label); font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); background: color-mix(in srgb, var(--green-deep) 82%, transparent); padding: .3rem .7rem; border-radius: 2px; }
.animal-info { padding-top: .5rem; }
.animal-reg { font-family: var(--font-label); letter-spacing: .04em; color: var(--bark); margin-top: .4rem; }
.animal-info .spec { margin-top: 1.6rem; }
.animal-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.animal-page .btn { color: var(--cream); }
.animal-page .btn--dark { border-color: var(--soil); color: var(--soil); }
.animal-page .btn--dark:hover { background: var(--soil); color: var(--cream); }
.animal-page .btn--line { border-color: var(--green); color: var(--green-deep); }
.animal-page .btn--line:hover { background: var(--green); color: var(--cream); }

.ped-tree { margin-top: clamp(3rem,7vh,5rem); border-top: 1px solid rgba(60,82,50,.2); padding-top: 2.4rem; }
.ped-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.2rem; margin-top: 1.4rem; align-items: center; }
.ped-node { background: #fff; border-left: 3px solid var(--green); border-radius: 2px; padding: 1rem 1.2rem; box-shadow: 0 6px 18px rgba(38,49,31,.08); }
.ped-node small { font-family: var(--font-label); font-weight: 600; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .3rem; }
.ped-node b { font-family: var(--font-display); font-size: 1.15rem; color: var(--charcoal); }
.ped-self { border-left-color: var(--gold); }
.ped-self span { display: block; font-size: .82rem; color: var(--bark); margin-top: .2rem; }
.ped-col { display: grid; gap: 1rem; }

.animal-cta { margin-top: clamp(3rem,8vh,5.5rem); background: var(--green-deep); color: var(--cream); border-radius: 4px; padding: clamp(2rem,5vw,3.5rem); }
.animal-cta h2 { color: var(--cream); }
.animal-cta .lede { color: var(--cream-deep); margin-top: .6rem; }
.animal-cta .btn--dark { border-color: var(--cream); color: var(--cream); }
.animal-cta .btn--dark:hover { background: var(--cream); color: var(--green-deep); }
.animal-cta .btn--line { border-color: rgba(246,239,226,.5); color: var(--cream); }

@media (max-width: 820px){
  .animal-hero { grid-template-columns: 1fr; }
  .ped-grid { grid-template-columns: 1fr; }
}

/* Find Cattle — self-sort selector */
.find-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
.find-opt { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 3px; padding: 1.5rem 1.8rem; box-shadow: 0 8px 24px rgba(38,49,31,.1); border-left: 3px solid var(--green); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.find-opt:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(38,49,31,.18); border-left-color: var(--red); }
.find-opt b { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--charcoal); line-height: 1; }
.find-opt span { flex: 1; color: var(--soil); font-size: .95rem; }
.find-opt i.arrow { font-style: normal; color: var(--green-deep); font-size: 1.4rem; }
.find-breeds { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.6rem; }
.find-breeds a { font-family: var(--font-label); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); border: 1px solid rgba(60,82,50,.35); border-radius: 40px; padding: .5rem 1.1rem; transition: all .3s var(--ease); }
.find-breeds a:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.find-breeds__also { font-family: var(--font-label); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bark); margin-left: .5rem; }
@media (max-width: 620px){ .find-split { grid-template-columns: 1fr; } }

/* ============================================================
   CREST HEADER + hero to the new crest mock
   ============================================================ */
.brand__crest { width: 58px; height: auto; flex: none; display: block; }
.brand__word { color: var(--green-deep) !important; }   /* dark green always */
.brand__word small { color: var(--bark) !important; }
.nav { color: var(--ink); }                              /* dark header text (reads on light sky + cream) */
.nav .nav__sale { color: var(--cream) !important; }
@media (max-width: 960px){ .brand__crest { width: 46px; } }

/* scrim: keep the top light so the dark header reads on the sky;
   shadow the lower-left for the cream headline; base the bottom bar */
.hero__scrim {
  background:
    radial-gradient(140% 108% at 20% 74%, rgba(14,18,10,.92) 0%, rgba(14,18,10,.55) 36%, rgba(14,18,10,.12) 60%, transparent 76%),
    linear-gradient(to bottom, rgba(246,239,226,.30) 0%, transparent 14%),
    linear-gradient(to top, rgba(11,14,8,.45) 0%, transparent 24%);
}
.hero__eyebrow { text-shadow: 0 1px 10px rgba(0,0,0,.35); }

/* feature row = full-width dark-green bar at the bottom of the hero */
.hero__features-bar { position: relative; z-index: 2; background: var(--green-deep); padding: 1.05rem var(--gutter); border-top: 1px solid rgba(201,162,94,.22); }

/* catalog ledger line — no icons, just registered-record typesetting */
.hero__ledger { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; max-width: 78rem; margin: 0 auto; }
.ledger-col { text-align: center; border-left: 1px solid rgba(201,162,94,.26); padding: .1rem 1rem; }
.ledger-col:first-child { border-left: 0; }
.ledger-col b {
  display: block; font-family: var(--font-label); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; font-size: .72rem;
  color: var(--green-soft);
}
.ledger-col span {
  display: block; margin-top: .34rem; font-family: var(--font-display);
  font-size: clamp(.92rem,1.5vw,1.08rem); color: var(--cream); letter-spacing: .01em;
}
@media (max-width: 720px){
  .hero__ledger { grid-template-columns: 1fr; gap: .85rem; }
  .ledger-col { border-left: 0; border-top: 1px solid rgba(201,162,94,.16); padding-top: .8rem; }
  .ledger-col:first-child { border-top: 0; padding-top: .1rem; }
}

/* ============================================================
   HERO — stack content ABOVE the cow (not covering her)
   ============================================================ */
/* header + content sit on a top-weighted shadow → cream reads; cow stays clear below */
.nav { color: var(--cream); }
.nav.solid { color: var(--ink); }
.brand__word { color: var(--cream) !important; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.brand__word small { color: var(--cream-deep) !important; }
.nav.solid .brand__word { color: var(--green-deep) !important; text-shadow: none; }
.nav.solid .brand__word small { color: var(--bark) !important; }

.hero__grid { align-items: flex-start; padding-top: clamp(5rem, 10vh, 7rem); padding-bottom: 1rem; }
.hero__content { max-width: min(680px, 62vw); }
.hero__media { object-position: center 88%; }   /* bias the animal low in the frame */
.hero__scrim {
  background:
    linear-gradient(to bottom, rgba(12,15,9,.78) 0%, rgba(12,15,9,.55) 26%, rgba(12,15,9,.16) 48%, transparent 66%),
    linear-gradient(to top, rgba(9,11,7,.4) 0%, transparent 20%);
}
.hero__title { text-shadow: 0 2px 30px rgba(0,0,0,.5); }

/* ============================================================
   HEADER — centered logo lockup at start → docks left on scroll,
   nav menu appears; hamburger present from the start
   ============================================================ */
.nav { color: var(--ink); }
.brand {
  position: absolute; top: 50%; left: var(--gutter); transform: translateY(-50%);
  display: flex; flex-direction: row; align-items: center; gap: .7rem; text-align: left;
}
.brand__crest { width: 74px; height: auto; transition: width .5s var(--ease); }
.brand__word { color: var(--green-deep) !important; text-align: center; }
.brand__word small { display: block; text-align: center; }
.nav__right { position: absolute; top: 1.5rem; right: var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.nav__links, .nav__cta { display: none; }         /* hidden at start */
.nav__toggle { display: inline-flex; }            /* hamburger from the start */

/* docked state: scrolled OR any sub-page */
body.scrolled .brand, body.subpage .brand {
  top: 50%; left: var(--gutter); transform: translateY(-50%);
  flex-direction: row; align-items: center; gap: .7rem; text-align: left;
}
body.scrolled .brand__crest, body.subpage .brand__crest { width: 46px; }
body.scrolled .brand__word, body.subpage .brand__word,
body.scrolled .brand__word small, body.subpage .brand__word small { text-align: left; }
body.scrolled .nav__links, body.subpage .nav__links { display: flex; }
body.scrolled .nav__cta, body.subpage .nav__cta { display: inline-flex; }
body.scrolled .nav__toggle { display: none; }     /* desktop: nav shows → hide hamburger */
@media (max-width: 960px){
  body.scrolled .nav__links, body.subpage .nav__links,
  body.scrolled .nav__cta, body.subpage .nav__cta { display: none; }
  body.scrolled .nav__toggle, body.subpage .nav__toggle { display: inline-flex; }
  body.menu-open .nav__links { display: flex; }
}

/* ============================================================
   HERO — centered content, sits above the animal
   ============================================================ */
.hero__grid { align-items: flex-start; justify-content: center; text-align: center;
  padding-top: clamp(9rem, 17vh, 13rem); padding-bottom: 1rem; }
.hero__content { max-width: 840px; margin: 0 auto; text-align: center; }
.hero__eyebrow, .hero__breeds { text-align: center; }
.hero__rule { margin: 1.4rem auto; }
.hero__body { margin-left: auto; margin-right: auto; }
.hero__actions { justify-content: center; }
.hero__media { object-position: center 92%; }     /* animal as low in frame as the photo allows */
.hero__scrim {
  background: linear-gradient(to bottom,
    transparent 0%, transparent 13%,
    rgba(12,15,9,.32) 19%, rgba(12,15,9,.66) 34%, rgba(12,15,9,.55) 52%,
    rgba(12,15,9,.24) 66%, transparent 82%);
}

/* hero header/logo legibility refinements */
.brand__crest { width: 90px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
body.scrolled .brand__crest, body.subpage .brand__crest { width: 48px; filter: none; }
.brand__word { font-size: 1.4rem; letter-spacing: .06em; }
body.scrolled .brand__word, body.subpage .brand__word { font-size: 1.4rem; }
.brand__word, .brand__word small { color: var(--cream) !important; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
body.subpage .brand__word, body.scrolled .brand__word { color: var(--green-deep) !important; text-shadow: none; }
body.subpage .brand__word small, body.scrolled .brand__word small { color: var(--bark) !important; }
.nav { color: var(--cream); }
.nav.solid, body.subpage .nav { color: var(--ink); }
.nav__toggle { font-size: 1.7rem; }

.hero__grid { padding-top: clamp(11rem, 22vh, 16rem); }
.hero__media { object-position: center 30%; }
.hero__scrim {
  background: linear-gradient(to bottom,
    rgba(12,15,9,.34) 0%, rgba(12,15,9,.14) 12%,
    rgba(12,15,9,.4) 30%, rgba(12,15,9,.66) 46%, rgba(12,15,9,.5) 62%,
    rgba(12,15,9,.2) 76%, transparent 90%);
}

/* ============================================================
   HERO — work around 64R: copy on the OPEN side (desktop),
   under the animal (mobile). Animal stands left; sky is open.
   ============================================================ */
@media (min-width: 761px){
  .hero__grid { justify-content: flex-end; align-items: center; text-align: right;
    padding-top: 5rem; padding-bottom: 1rem; }
  .hero__content { text-align: right; margin: 0; max-width: 600px; margin-right: clamp(1rem, 5vw, 5rem); }
  .hero__eyebrow, .hero__breeds { text-align: right; }
  .hero__actions { justify-content: flex-end; }
  .hero__scrim {
    /* shade hugs the right-side text only — fades into the bright photo, no middle-of-page blob */
    background:
      radial-gradient(52% 66% at 74% 50%, rgba(6,10,4,.76) 0%, rgba(6,10,4,.56) 34%, rgba(6,10,4,.3) 60%, rgba(6,10,4,.1) 78%, transparent 90%);
  }
}
@media (max-width: 760px){
  /* animal up top, copy stacked UNDER it on dark */
  .hero__grid { align-items: flex-end; justify-content: center; text-align: center;
    padding-top: 44svh; padding-bottom: 1.3rem; }
  .hero__content { text-align: center; max-width: 100%; }
  .hero__eyebrow, .hero__breeds { text-align: center; }
  .hero__rule { margin: 1rem auto; }
  .hero__actions { justify-content: center; }
  .hero__media { object-position: 20% 42%; }   /* portrait: KEEP THE HEAD IN FRAME — anchor on the face/front, never crop the head */
  .hero__scrim {
    background: linear-gradient(to bottom, transparent 0%, transparent 38%, rgba(12,15,9,.82) 60%, #0e1109 100%);
  }
}

/* fix: docked nav must collapse to the hamburger until there's real room (was overlapping the logo) */
@media (max-width: 1180px){
  body.scrolled .nav__links, body.subpage .nav__links,
  body.scrolled .nav__cta, body.subpage .nav__cta { display: none; }
  body.scrolled .nav__toggle, body.subpage .nav__toggle { display: inline-flex; }
  body.menu-open .nav__links { display: flex; }
}

/* TOP LOGO — bigger + an embossed radial backing so it reads as a branded seal */
.brand { z-index: 2; }
.brand__crest { width: 132px; filter: drop-shadow(0 3px 12px rgba(0,0,0,.5)); }
.brand__word { font-size: 1.75rem; }
.brand::before {
  content: ""; position: absolute; inset: -50px -120px -34px; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 62% at 50% 40%, rgba(9,12,7,.62) 0%, rgba(9,12,7,.34) 46%, transparent 74%);
}
body.scrolled .brand::before, body.subpage .brand::before { display: none; }
body.scrolled .brand__crest, body.subpage .brand__crest { width: 48px; filter: none; }
body.scrolled .brand__word, body.subpage .brand__word { font-size: 1.4rem; }

/* LOGO — soft WHITE cloud behind the lockup so the crest pops (not a dark shadow) */
.brand::before {
  content: ""; position: absolute; inset: -58px -140px -44px; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 60% at 50% 42%,
      rgba(250,248,242,.94) 0%, rgba(250,248,242,.62) 34%, rgba(250,248,242,.22) 58%, transparent 76%);
  filter: blur(3px);
}
body.scrolled .brand::before, body.subpage .brand::before { display: none; }
/* wordmark reads dark-green on the white cloud (and on cream sub-pages) */
.brand__word, .brand__word small { color: var(--green-deep) !important; text-shadow: none; }
.brand__word small { color: var(--bark) !important; }
.brand__crest { filter: drop-shadow(0 2px 6px rgba(38,49,31,.35)); }
body.scrolled .brand__crest, body.subpage .brand__crest { filter: none; }

/* LOGO — a soft ROW OF CLOUDS behind the whole lockup (crest + wordmark + location) */
.brand::before {
  content: ""; position: absolute; inset: -54px -150px -22px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(44px 34px at 16% 40%, rgba(252,250,245,.92), transparent 72%),
    radial-gradient(62px 48px at 34% 32%, rgba(252,250,245,.96), transparent 73%),
    radial-gradient(82px 60px at 52% 36%, rgba(252,250,245,.97), transparent 73%),
    radial-gradient(60px 48px at 70% 33%, rgba(252,250,245,.95), transparent 73%),
    radial-gradient(46px 36px at 86% 42%, rgba(252,250,245,.9), transparent 72%),
    radial-gradient(150px 62px at 50% 60%, rgba(252,250,245,.94), transparent 76%),
    radial-gradient(180px 58px at 50% 82%, rgba(252,250,245,.9), transparent 80%);
  filter: blur(7px);
}
body.scrolled .brand::before, body.subpage .brand::before { display: none; }

/* soften the cloud into a cohesive bank (was reading as separate puffs) */
.brand::before {
  inset: -48px -138px -18px;
  background:
    radial-gradient(96px 66px at 28% 42%, rgba(252,250,245,.94), transparent 75%),
    radial-gradient(120px 80px at 50% 37%, rgba(252,250,245,.98), transparent 76%),
    radial-gradient(96px 66px at 73% 42%, rgba(252,250,245,.94), transparent 75%),
    radial-gradient(210px 92px at 50% 62%, rgba(252,250,245,.97), transparent 80%),
    radial-gradient(220px 70px at 50% 86%, rgba(252,250,245,.9), transparent 84%);
  filter: blur(11px);
}

/* real photographic cloud behind the branding (replaces the CSS glow) */
.brand::before { display: none !important; }
.hero__cloud {
  position: absolute; top: 108px; left: 50%; transform: translate(-50%, -50%);
  width: clamp(520px, 60vw, 1060px); height: auto; z-index: 1;
  opacity: .92; pointer-events: none; filter: blur(.5px);
}
@media (max-width: 760px){ .hero__cloud { top: 92px; width: 680px; } }

/* docked/solid nav bar must be tall enough to reach the bottom of the docked logo */
/* docked nav height set below (92px) to contain the oval crest */

/* ============================================================
   HERO — soft white header zone (fade-to-white) behind the branding
   so the green logo + location read clearly; nav text goes dark
   ============================================================ */
.hero__cloud { display: none; }
.hero__topfade {
  position: absolute; top: 0; left: 0; right: 0; height: 50%; z-index: 1; pointer-events: none;
  /* a soft wash of morning light — keeps the dark-green wordmark + nav legible without
     the old heavy cream slab; luminous, warm, fades fast so there is no hard horizon line */
  background: linear-gradient(to bottom,
    rgba(247,240,227,.55) 0%, rgba(247,240,227,.52) 26%, rgba(247,240,227,.4) 46%, rgba(247,240,227,.22) 64%, rgba(247,240,227,.08) 84%, transparent 100%);
}
/* dark header text on the white zone (and it still works on cream sub-pages) */
.nav { color: var(--ink); }
.brand__word, .brand__word small { text-shadow: none; }
.brand__word { color: var(--green-deep) !important; }
.brand__word small { color: var(--bark) !important; }
.brand__crest { filter: none; }
@media (max-width: 760px){ .hero__topfade { height: 40%; } }

/* hero feature bar: full page width + slimmer so it covers less grass */
.hero__features-bar { padding-top: .8rem; padding-bottom: .9rem; }
.hero__features { max-width: none; margin: 0; gap: 1.4rem; }
.feat svg { width: 22px; height: 22px; }
.feat span { font-size: .78rem; line-height: 1.3; }

/* sale page — full-width photo band + gallery */
.sale-band { position: relative; height: clamp(280px, 44vh, 500px); overflow: hidden; isolation: isolate; margin-block: clamp(1rem,3vh,2.4rem); }
.sale-band .scene__photo { background-size: cover; background-position: center 40%; }
.sale-band__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(14,17,10,.55), transparent 55%); }
.sale-band .plate__caption { position: absolute; left: 0; bottom: .4rem; z-index: 2; }
.reel figcaption { color: var(--cream) !important; text-shadow: 0 1px 8px rgba(0,0,0,.65); }

/* full-bleed plate caption → a branded stamp (readable on any photo) */
.plate__caption {
  display: inline-block; margin: var(--gutter); padding: .55rem 1.05rem;
  font-family: var(--font-label); font-size: clamp(.64rem,1.3vw,.74rem);
  letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  background: color-mix(in srgb, var(--green-deep) 74%, transparent);
  border: 1px solid rgba(203,168,106,.6); border-radius: 2px;
  backdrop-filter: blur(4px); box-shadow: 0 3px 16px rgba(0,0,0,.32);
  text-shadow: none;
}

/* NEW oval logo — consistent size; appears in the nav corner only once the nav docks
   (hero uses the wordmark), and docks straight into the corner — no grow/shrink or slide */
.brand__logo { width: 92px; height: auto; display: block; }
@media (max-width: 760px){ .brand__logo { width: 74px; } }
/* monogram sits in the nav corner on every page, hero included — soft shadow keeps the gold legible on any hero tone */
body:not(.scrolled):not(.subpage) .brand__logo { filter: drop-shadow(0 2px 9px rgba(0,0,0,.5)); }
/* the hero nav (home, not yet docked) must be tall enough to hold the 46px monogram — otherwise it clips at
   the top and spills below the green bar. This also backs CALL/Menu with green so they stay legible over the sky. */
body:not(.scrolled):not(.subpage) .nav { min-height: 56px; }
/* docked bar sized to hold the corner emblem comfortably (never clips) */
body.scrolled .nav, body.subpage .nav { min-height: 80px; }

/* ============================================================
   CINEMATIC ENTRANCE — scroll into the farm, bloom into light.
   Captured-scroll overlay: your scroll scrubs the film, then it
   fades into daylight and eases into the site. Once per session.
   Progressive enhancement: no-JS / reduced-motion never see it.
   ============================================================ */
.intro { display: none; }
.intro-active { overflow: hidden; }
.intro-active body { overflow: hidden; }
.intro-active .intro {
  display: block; position: fixed; inset: 0; z-index: 300;
  background: #0c120d; overflow: hidden; touch-action: none;
  will-change: opacity;
}
.intro__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1;                 /* visible from the very start */
  animation: introZoom 26s ease-out forwards;
}
@keyframes introZoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }

.intro__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 92% at 50% 42%, transparent 40%, rgba(9,14,10,.55) 100%);
}
/* pre-dawn darkness that lifts as you scroll — JS drives the opacity */
.intro__dark {
  position: absolute; inset: 0; pointer-events: none;
  background: #050906; opacity: .72;
}
/* full-frame sunrise colour wash — JS fades the whole page through the arc
   (pre-dawn indigo → amber → gold → morning). Two blended layers: a soft-light
   grade for the scene + a lighter overlay so the warm colour reads page-wide. */
.intro__sky {
  position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: soft-light; opacity: 1;
  background: linear-gradient(180deg, #0a1730 0%, #152238 100%);
}
/* the daylight bloom the film eases into */
.intro__light {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(130% 110% at 50% 44%, #fdf6e6 0%, #f3e7c9 46%, rgba(246,239,226,.55) 100%);
}
.intro__cue {
  position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%);
  text-align: center; color: #f6efe2; z-index: 2; width: max-content; max-width: 90vw;
}
.intro__cue .k {
  font-family: var(--font-label); font-weight: 600; font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft);
}
.intro__cue .s {
  margin-top: .7rem; font-family: 'Libre Caslon Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem); letter-spacing: .02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.intro__cue .sub {
  margin-top: .45rem; font: 500 10px/1.4 'Inter', system-ui, sans-serif;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(246,239,226,.72);
}
.intro__scroller {
  width: 1px; height: 40px; margin: 1.1rem auto 0;
  background: linear-gradient(#e8c98a, transparent);
  animation: introPulse 1.8s ease-in-out infinite;
}
@keyframes introPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
/* reduced-motion + already-entered are gated in the <head> boot script — the
   overlay simply never activates, so no override rule is needed here. */

/* "Re-enter the farm" — quiet replay link beneath the hero CTAs */
.hero__replay {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 0; cursor: pointer; padding: .2rem 0;
  font-family: 'Inter', system-ui, sans-serif; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(246,239,226,.66);
  transition: color .3s ease;
}
.hero__replay:hover { color: #e8c98a; }

/* intro logo — centred in the middle of the frame; "scroll to enter" sits at the foot */
.intro__logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(210px, 34vw, 360px); height: auto; z-index: 2;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.5));
}

/* hero wordmark lockup — the centered crown at the top of the hero (replaces the badge over the hero) */
.hero__crown {
  position: absolute; left: 0; right: 0; top: clamp(4rem, 8vh, 5rem);  /* clear the nav bar (monogram lives there now) — mirrors the mobile rule below */
  z-index: 3; display: flex; justify-content: center; pointer-events: none;
  padding-inline: var(--gutter);
}
.hero__wordmark {
  width: min(500px, 58vw); height: auto;   /* centered header — much bigger */
  filter: drop-shadow(0 1px 3px rgba(60,45,25,.28));
}
.hero__media { filter: brightness(1.18) contrast(1.13) saturate(1.1); }   /* brighter overall, whiter Charolais, less washed out */
@media (max-width: 760px){
  .hero__crown { top: clamp(3.6rem, 9vh, 4.6rem); }   /* drop the wordmark below the Menu button so they don't collide */
  .hero__wordmark { width: min(320px, 74vw); }
}

/* --- Golden-sunset hero layout: centered content over the sky --- */
.hero__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; }
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ""; height: 1px; width: clamp(20px, 3.4vw, 46px); background: var(--gold); opacity: .6;
}
/* headline — the old elegant serif, title case, cream (reverted to the good version) */
.hero__title { font-family: 'Libre Caslon Display', Georgia, 'Times New Roman', serif; font-weight: 400; text-transform: none; font-variant: normal; letter-spacing: 0; line-height: 1.0; color: var(--cream); font-size: clamp(2.7rem, 5.8vw, 5.3rem); text-shadow: 0 1px 6px rgba(0,0,0,.3); }
@media (max-width: 760px){ .hero__title { font-size: clamp(2.2rem, 10vw, 3.4rem); } }
.hero__breeds { margin-top: 1.1rem; font-size: clamp(.72rem,1.3vw,.84rem); opacity: .95; }
.btn--gold-ghost { background: transparent; border-color: var(--gold); color: var(--gold-soft); }
.btn--gold-ghost:hover { background: var(--gold); border-color: var(--gold); color: #211a0d; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none;
}
.hero__scroll span {
  font-family: var(--font-label); font-weight: 600; font-size: .6rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--cream); opacity: .82; text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.hero__scroll::after { content: ""; width: 1px; height: 32px; background: linear-gradient(var(--gold-soft), transparent); }
@media (max-width: 760px){ .hero__scroll { display: none; } }

/* secondary hero action — a refined text link, not a second button */
.hero__meet {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft);
  padding-bottom: 3px; border-bottom: 1px solid rgba(221,190,134,.45);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.hero__meet:hover { color: var(--cream); border-color: var(--cream); }
.hero__meet .arrow { transition: transform .4s var(--ease); }
.hero__meet:hover .arrow { transform: translateX(5px); }
@media (max-width: 760px){ .hero__meet { display: none; } }   /* mobile: one prominent CTA */

/* ranch ledger — the old hero bar, reborn as an archival record below the clean photo edge */
.ranch-ledger {
  background: var(--cream);
  border-top: 1px solid rgba(156,120,56,.32);
  border-bottom: 1px solid rgba(156,120,56,.22);
  padding: clamp(1.1rem,2.6vw,1.7rem) var(--gutter);
}
.ranch-ledger__row {
  max-width: 78rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,2.6rem);
}
.ranch-ledger__col { text-align: center; position: relative; }
.ranch-ledger__col + .ranch-ledger__col::before {
  content: ""; position: absolute; left: calc(-1 * clamp(.5rem,1.5vw,1.3rem)); top: 50%;
  transform: translateY(-50%); height: 58%; width: 1px; background: rgba(156,120,56,.28);
}
.ranch-ledger__col b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem,1.5vw,1.2rem); letter-spacing: .01em; color: var(--green-deep);
}
.ranch-ledger__col span {
  display: block; margin-top: .34rem; font-family: var(--font-label); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; font-size: .64rem; color: var(--soil);
}
@media (max-width: 620px){
  .ranch-ledger__row { grid-template-columns: 1fr; gap: 0; }
  .ranch-ledger__col + .ranch-ledger__col::before { display: none; }
  .ranch-ledger__col { padding: .8rem 0; border-top: 1px solid rgba(156,120,56,.18); }
  .ranch-ledger__col:first-child { border-top: 0; padding-top: 0; }
}

/* ============================================================
   PASS 1 — CRAFT LAYER (additive; honors reduced-motion)
   Premium scroll, cattle-card craft, button weight, stat rolls.
   ============================================================ */
:root { --settle: cubic-bezier(.16,1,.3,1); }

/* Lenis smooth scroll (LOQAL standard) */
.lenis,.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}

/* tabular/lining numerals on all registration + record figures (invisible luxury) */
.cattle-card__reg, .proof__num, .featured__meta span, .spec dd, .ped dd { font-variant-numeric: tabular-nums lining-nums; }

/* --- Cattle cards: the animals carry the weight; make them feel premium --- */
.cattle-card { position: relative; transition: transform .55s var(--settle), box-shadow .55s var(--ease); }
.cattle-card::before {        /* gold edge resolves on approach — a brand keyline */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 4;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.cattle-card:hover::before, .cattle-card:focus-within::before { transform: scaleX(1); }
.cattle-card__photo { position: relative; overflow: hidden; transition: transform .7s var(--settle); will-change: transform; }
.cattle-card:hover .cattle-card__photo { transform: scale(1.055); }   /* the coat leans toward you */
.cattle-card__photo::after {  /* soft specular drifting with the cursor (felt, not seen) */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(180px 180px at var(--mx,50%) var(--my,28%), rgba(255,255,255,.16), transparent 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .45s var(--ease);
}
.cattle-card:hover .cattle-card__photo::after { opacity: 1; }
.cattle-card .link-gold .arrow { transition: transform .4s var(--ease); display: inline-block; }
.cattle-card:hover .link-gold .arrow { transform: translateX(4px); }

/* --- Buttons: weight on press, like throwing a gate latch --- */
.btn { transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease); }
.btn:active { transform: translateY(1.6px) scale(.985); }

/* --- Archive record numbers roll into place (real value always in markup) --- */
.archives__grid.in .proof__num { animation: rollIn .7s var(--settle) both; }
.archives__grid.in .proof:nth-child(2) .proof__num { animation-delay: .1s; }
.archives__grid.in .proof:nth-child(3) .proof__num { animation-delay: .2s; }
@keyframes rollIn { from { opacity: 0; transform: translateY(.45em); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }

@media (prefers-reduced-motion: reduce) {
  .cattle-card__photo, .cattle-card::before { transition: none; }
  .cattle-card:hover .cattle-card__photo { transform: none; }
  .archives__grid.in .proof__num { animation: none; }
}

/* THE HERD — framed photo (replaces the full-bleed interactive pasture) */
.herd-frame { max-width: min(1040px, 92vw); margin: clamp(1.5rem,5vw,3.5rem) auto; background:#fff; padding:12px; border-radius:3px; box-shadow: 0 24px 50px -16px rgba(28,20,12,.5), 0 4px 14px rgba(28,20,12,.18); }
.herd-frame img { display:block; width:100%; height:auto; border-radius:1px; }
.herd-frame figcaption { margin-top:.7rem; text-align:center; font-family: var(--font-label); letter-spacing:.14em; text-transform:uppercase; font-size:.68rem; color: var(--soil); }

/* SOLD — kept on site, clearly marked */
.cattle-card.is-sold .cattle-card__photo, .featured.is-sold .print__img { position: relative; }
.cattle-card.is-sold .cattle-card__photo::after, .featured.is-sold .print__img::after {
  content: "Sold"; position: absolute; inset: 0; z-index: 2; opacity: 1; mix-blend-mode: normal; display: grid; place-items: center; border-radius: inherit;
  background: rgba(16,20,12,.52); font-family: var(--font-label); font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; font-size: clamp(1rem,2.2vw,1.5rem); color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

/* SOLD ribbon — animal detail pages (photo stays visible) */
.animal-photo.is-sold { position: relative; }
.animal-photo .sold-ribbon {
  position: absolute; top: .8rem; right: .8rem; z-index: 4;
  font-family: var(--font-label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  font-size: .74rem; color: var(--cream); background: var(--cardinal);
  padding: .34rem .8rem; border-radius: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.4);
}

/* gallery/reel captions — dark gradient so labels read on light photos */
.reel figure::after { content:""; position:absolute; left:0; right:0; bottom:0; height:50%; z-index:1; pointer-events:none; background: linear-gradient(to top, rgba(8,12,6,.85) 0%, rgba(8,12,6,.4) 44%, transparent 100%); }
.reel figcaption { z-index: 2; }

/* ============ DESIGNED NAV DRAWER (menu-open) — header, numbered nav, heritage footer, scrim ============ */
.nav__drawer-head, .nav__drawer-foot { display: none; }
.nav__scrim { position: fixed; inset: 0; background: rgba(8,12,6,.55); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
body.menu-open .nav__scrim { opacity: 1; pointer-events: auto; }
body.menu-open .brand { opacity: 0; pointer-events: none; }
body.menu-open .nav__right {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(360px, 87vw);
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  padding: clamp(1.9rem,5vw,2.3rem); background: var(--green-deep);
  border-left: 1px solid rgba(201,162,94,.22); box-shadow: -26px 0 80px -14px rgba(0,0,0,.6);
  z-index: 61; overflow-y: auto;
}
body.menu-open .nav__drawer-head { display: flex; flex-direction: column; gap: .18rem; padding: .2rem 0 1.1rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(201,162,94,.22); }
body.menu-open .nav__drawer-head b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream); }
body.menu-open .nav__drawer-head span { font-family: var(--font-label); font-weight: 600; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
body.menu-open .nav__links { position: static; display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: 100%; background: none; box-shadow: none; padding: .4rem 0 0; counter-reset: navi; opacity: 1 !important; pointer-events: auto !important; transform: none; }
body.menu-open .nav__links a { display: flex; align-items: center; gap: .95rem; width: 100%; padding: 1.05rem .15rem; margin: 0; border-bottom: 1px solid rgba(246,239,226,.1); font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: clamp(1.2rem,4.2vw,1.55rem); letter-spacing: .01em; color: var(--cream); transition: padding-left .25s var(--ease), color .25s var(--ease); }
body.menu-open .nav__links a::before { counter-increment: navi; content: "0" counter(navi); display: inline-block; font-family: var(--font-label); font-weight: 600; font-size: .62rem; letter-spacing: .14em; color: var(--gold-soft); min-width: 1.4rem; transition: color .25s var(--ease); }
body.menu-open .nav__links a::after { display: none; }
body.menu-open .nav__links a:hover { padding-left: .5rem; color: #fff; }
body.menu-open .nav__links a:hover::before { color: var(--gold); }
body.menu-open .nav__links a:hover::after { }
body.menu-open .nav__drawer-foot { display: flex; flex-direction: column; gap: .3rem; margin-top: auto; padding-top: 1.3rem; border-top: 1px solid rgba(201,162,94,.22); }
body.menu-open .nav__drawer-foot b { font-family: var(--font-display); font-weight: 400; font-size: 1rem; color: var(--cream); letter-spacing: .01em; }
body.menu-open .nav__drawer-foot span { font-family: var(--font-label); font-size: .72rem; line-height: 1.5; color: var(--cream-deep); }
body.menu-open .nav__drawer-foot em { font-family: var(--font-label); font-weight: 600; font-size: .54rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-style: normal; margin-top: .3rem; }
body.menu-open .nav__toggle { position: absolute; top: 1.4rem; right: 1.4rem; z-index: 62; color: var(--cream); font-size: 1.6rem; }

/* Low Power Mode: ambient motion off, videos already swapped to stills by JS */
html.low-power .scene__photo, html.low-power .hero__media,
html.low-power .fog, html.low-power .sunlight, html.low-power .sky,
html.low-power .wire__fill { animation: none !important; }

/* Our Story — full-width home-place band (real barn panorama) */
.story-band { position: relative; margin: 0; }
.story-band img { display: block; width: 100%; height: auto; }
.story-band::after {               /* soft bottom scrim so the caption stays readable over bright grass */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 45%; pointer-events: none;
  background: linear-gradient(to top, rgba(14,18,10,.62) 0%, rgba(14,18,10,.28) 45%, rgba(14,18,10,0) 100%);
}
.story-band figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: var(--gutter);
  font-family: var(--font-display); color: var(--cream);
  font-size: clamp(.82rem, 1.8vw, 1.02rem); letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 18px rgba(0,0,0,.45);
}

/* ---- Follow Along — embedded Facebook feed ---- */
.social { background: var(--cream); padding-block: clamp(3.5rem, 9vh, 6rem); }
.social__grid { display: grid; grid-template-columns: 1fr minmax(300px, 500px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.social__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.social__feed { width: 100%; max-width: 500px; justify-self: center; }
.social__feed .fb-page { width: 100%; }   /* data-adapt-container-width sizes the widget to this column */
@media (max-width: 820px){
  .social__grid { grid-template-columns: 1fr; }
  .social__feed { justify-self: start; }
}

/* featured cattle cards — Text / Call business-card actions */
.cattle-card__act { display: flex; gap: .45rem; margin-top: .85rem; }
.cattle-card__act a { flex: 1; text-align: center; font-family: var(--font-label); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .55rem .3rem; border-radius: 2px; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.cattle-card__act a:first-child { background: var(--green); color: var(--cream); }
.cattle-card__act a:first-child:hover { background: var(--green-deep); }
.cattle-card__act a:last-child { border: 1px solid var(--green-soft); color: var(--green-deep); }
.cattle-card__act a:last-child:hover { background: var(--green-soft); color: var(--cream); }

/* worded hamburger — "Menu" label beside the icon so older visitors know it's the menu */
.nav__toggle { gap: .4rem; }
.nav__toggle-txt { font-family: var(--font-label); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }

/* ============================================================
   BRAND COHESION v2 — business-card green nav + gold HF monogram,
   gold "Text Us" / cream "Call", contrast fixes on dark backgrounds.
   ============================================================ */
.nav { background: var(--green); color: var(--cream); }          /* green bar, full width, always */
.nav.solid { background: var(--green); box-shadow: 0 1px 0 rgba(0,0,0,.28), 0 8px 26px rgba(0,0,0,.18); }
.nav__links a { color: var(--cream); }
.nav__links a::after { background: var(--gold); }
.nav__links a[aria-current="true"] { color: var(--gold); }
.brand__logo { height: 46px; width: auto; border-radius: 0; }    /* gold HF monogram */

/* nav right side: gold Text Us button + cream Call link */
.nav__cta--gold { background: var(--gold); border: 1px solid var(--gold); color: var(--green-deep); font-weight: 700; border-radius: 2px; }
.nav__cta--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--green-deep); }
.nav__call { font-family: var(--font-label); font-weight: 600; font-size: .8rem; letter-spacing: .06em; color: var(--cream); text-transform: uppercase; padding: .55rem .4rem; min-height: 48px; display: inline-flex; align-items: center; }
.nav__call:hover { color: var(--gold); }

/* contrast: contact band buttons (dark-green bg) */
.home__actions .btn--red { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.home__actions .btn--red:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--green-deep); }
.home .home__actions .btn--line { border-color: rgba(244,237,224,.6); color: var(--cream); }
.home .home__actions .btn--line:hover { background: var(--cream); color: var(--green-deep); }

/* contrast: featured-panel cards (Stars & Stripes / Gretchen — dark panel) */
.featured .cattle-card__act a:first-child { background: var(--gold); color: var(--green-deep); }
.featured .cattle-card__act a:last-child { border-color: var(--gold-soft); color: var(--cream); }
.featured .cattle-card__act a:last-child:hover { background: var(--gold-soft); color: var(--green-deep); }

/* ============================================================
   ACCESSIBILITY — readable type + 44px tap targets (70+ buyers)
   ============================================================ */
body { font-size: 1.0625rem; }                 /* 17px body minimum */
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); }
/* label floor ~14px (was 11.5–12.5px); keep tight tracking only on tiny eyebrows */
.cattle-card__meta, .cattle-card__reg, .card__reg, .find-breeds a, .raise-links a,
.filter, .featured__meta span, .nav__call, .cattle-card__act a { font-size: .875rem; }
.eyebrow, .hero__eyebrow { font-size: .8rem; }   /* small eyebrow stays an eyebrow */
.nav__links a { font-size: .82rem; }
/* 44px minimum tap targets */
.find-breeds a, .raise-links a, .filter, .cattle-card__act a, .nav__call {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
}
.find-breeds a, .filter { padding: .55rem 1.05rem; }
.raise-links a { padding: .5rem .2rem; }
.nav__links a { padding-top: .7rem; padding-bottom: .7rem; }

/* ============================================================
   FINISH PASS — sticky bar, desktop Text panel, FB graceful,
   straighten frames, compress heritage, double-rule, card parity
   ============================================================ */
/* --- mobile sticky Text/Call bar --- */
@media (max-width: 820px){
  .mobilecta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--green); box-shadow: 0 -2px 16px rgba(0,0,0,.28); }
  .mobilecta a { flex: 1; text-align: center; padding: 1rem; min-height: 56px; display: flex;
    align-items: center; justify-content: center; font-family: var(--font-label); font-weight: 700;
    font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
    white-space: nowrap; }
  .mobilecta__text { background: var(--gold); color: var(--green-deep); }
  .mobilecta__call { background: var(--green-deep); color: var(--cream); }
  body { padding-bottom: 56px; }   /* so no CTA hides behind the bar */
}

/* --- desktop Text fallback panel (sms: is dead on PCs) --- */
.textpanel { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center;
  background: rgba(13,15,10,.6); backdrop-filter: blur(3px); }
.textpanel.open { display: flex; }
.textpanel__card { background: var(--green); color: var(--cream); border-radius: 6px; padding: clamp(1.6rem,3vw,2.4rem);
  max-width: 360px; width: calc(100% - 2.5rem); text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.5);
  border: 1px solid rgba(226,185,59,.4); }
.textpanel__card h3 { font-family: var(--font-display); color: var(--cream); font-size: 1.5rem; margin-bottom: .3rem; }
.textpanel__card p { font-size: .95rem; opacity: .85; margin-bottom: 1.1rem; }
.textpanel__num { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); letter-spacing: .02em; margin: .3rem 0 1rem; }
.textpanel__copy { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  background: var(--gold); color: var(--green-deep); border: 0; border-radius: 3px; padding: .7rem 1.4rem; cursor: pointer; min-height: 44px; }
.textpanel__copy:hover { background: var(--gold-soft); }
.textpanel__qr { width: 160px; height: 160px; margin: 1.3rem auto .4rem; display: block; border-radius: 6px; background: var(--cream); padding: 6px; }
.textpanel__hint { font-size: .8rem; opacity: .75; }
.textpanel__x { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--cream); font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* --- Facebook embed never looks like a tiny white box --- */
.social__feed { min-height: 480px; display: flex; }
.social__feed .fb-page, .social__feed > span { margin: auto; }
.social__feed .fb-xfbml-parse-ignore { display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 460px; background: var(--green); border: 1px solid rgba(226,185,59,.4); border-radius: 6px; padding: 2rem; }
.social__feed .fb-xfbml-parse-ignore a { color: var(--gold); font-family: var(--font-display); font-size: 1.3rem; text-decoration: none; }

/* --- straighten the tilted "polaroid" frames (herd / donor features) --- */
.featured .print, .featured .print--photo, .featured .print-stack { transform: none; }
.featured .print:hover { transform: translateY(-4px); }

/* --- compress the giant "Six" heritage block to ~half height --- */
.century { padding-block: clamp(2.6rem, 7vh, 5rem); }
.century__num { font-size: clamp(3.4rem, 9vw, 6.5rem); }

/* --- double gold rule (business-card signature); use sparingly --- */
.double-rule { position: relative; }
.double-rule::before, .double-rule::after { content: ""; display: block; height: 1px; background: var(--gold); }
.double-rule::before { margin-bottom: 3px; }
.double-rule::after { margin-top: 3px; }

/* --- card parity: same radius + shadow on home rail + catalog cards --- */
.cattle-card, .card { border-radius: 4px; }
.card { box-shadow: 0 8px 24px rgba(13,45,21,.1); }

/* double-gold-rule signature framing the featured photos (card detail) */
.featured .print--photo { box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px var(--green), 0 0 0 5px var(--gold), 0 18px 40px rgba(13,45,21,.22); }

/* reliable Facebook card (replaces the flaky Page plugin) */
.fbcard { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; text-decoration: none;
  background: var(--green); color: var(--cream); border: 1px solid rgba(226,185,59,.4); border-radius: 8px;
  padding: clamp(1.6rem,3vw,2.4rem); width: 100%; max-width: 440px; box-shadow: 0 18px 40px rgba(13,45,21,.22);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.fbcard:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(13,45,21,.3); }
.fbcard__f { color: var(--gold); margin-bottom: .2rem; }
.fbcard b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.fbcard span { font-size: .95rem; opacity: .9; line-height: 1.5; }
.fbcard__cta { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: .85rem; color: var(--gold); margin-top: .5rem; opacity: 1; }

/* ============================================================
   FAQ accordion + Inquiry form
   ============================================================ */
.faq { border-bottom: 1px solid rgba(18,63,30,.14); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font-family: var(--font-display);
  font-size: clamp(1.1rem,2vw,1.35rem); color: var(--green-deep); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-deep); font-size: 1.5rem; line-height: 1; }
.faq[open] summary::after { content: "\2013"; }
.faq p { padding: 0 0 1.3rem; max-width: 62ch; opacity: .9; }

.inquiry-form { margin-top: 1.6rem; display: grid; gap: 1.2rem; }
.inquiry-form .hp { position: absolute; left: -9999px; }
.inquiry-form .field { display: grid; gap: .4rem; }
.inquiry-form .field > span { font-family: var(--font-label); font-weight: 600; font-size: .9rem; color: var(--green-deep); }
.inquiry-form .field i { color: var(--gold-deep); font-style: normal; }
.inquiry-form .field em { color: var(--bark); font-style: normal; font-weight: 400; }
.inquiry-form input[type=text], .inquiry-form input[type=tel], .inquiry-form input[type=email], .inquiry-form textarea {
  font-family: var(--font-body); font-size: 1.0625rem; padding: .8rem 1rem; border: 1px solid rgba(18,63,30,.28);
  border-radius: 4px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--green); }
.inquiry-form fieldset { border: 0; padding: 0; margin: 0; }
.inquiry-form legend { font-family: var(--font-label); font-weight: 600; font-size: .9rem; color: var(--green-deep); margin-bottom: .6rem; padding: 0; }
.inquiry-form .checks { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.inquiry-form .checks label { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; font-size: 1rem; cursor: pointer; }
.inquiry-form .checks input { width: 20px; height: 20px; accent-color: var(--green); }
.inquiry-form__submit { margin-top: .4rem; justify-self: start; font-size: 1rem; padding: .95rem 1.8rem; }

/* per-animal registration link on catalog cards */
.card__reglink { display: inline-block; margin-top: .7rem; font-family: var(--font-label); font-weight: 600;
  font-size: .82rem; letter-spacing: .02em; color: var(--gold-deep); text-decoration: none; min-height: 32px; }
.card__reglink:hover { color: var(--green); text-decoration: underline; }

/* ---- Herd live-feed designed zero state — only when the op is live but a category is empty ---- */
.herd-empty { grid-column: 1 / -1; width: 100%; text-align: center;
  padding: clamp(2.2rem, 5vw, 3.6rem) 1.2rem; background: var(--cream, #f4ecdd);
  border: 1px solid rgba(18,63,30,.14); border-radius: 14px; }
.herd-empty__lead { font-family: var(--font-display, "Libre Caslon Text"), Georgia, serif;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem); line-height: 1.2; color: var(--green-deep, #123f1e); margin: 0 0 .55rem; }
.herd-empty__sub { font-size: 1.1875rem; line-height: 1.5; color: var(--bark, #39392f);
  margin: 0 auto 1.5rem; max-width: 48ch; }
.herd-empty__act { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.herd-empty__act .btn { min-height: 48px; display: inline-flex; align-items: center; }

/* ============================================================
   FINAL POLISH R1 — 2026-11-11 (mobile · accessibility · readability)
   Appended block. Does NOT touch .hero (pending Brent's decision).
   ============================================================ */
/* S1 — nav right side centers in the bar (was position:absolute top:1.5rem, spilled onto the sky) */
.nav__right { top: 0; bottom: 0; }
/* S3 — nav text (incl. MENU) stays cream on the green bar when docked + on subpages */
.nav.solid, body.subpage .nav { color: var(--cream); }
/* S4 — drawer: push the heading clear of the CLOSE button; full width on phones (R10 #3) */
body.menu-open .nav__drawer-head { margin-top: 3.4rem; }
@media (max-width: 600px){ body.menu-open .nav__right { left: 0; width: auto; border-left: 0; } }
/* S5 — hide the sticky bar while the drawer is open; surface Text Us + Call inside the drawer */
@media (max-width: 820px){ body.menu-open .mobilecta { display: none; } }
body.menu-open .nav__right .nav__cta { display: flex; width: 100%; min-height: 56px; justify-content: center; align-items: center; margin-top: 1.5rem; font-size: 1rem; letter-spacing: .08em; }
body.menu-open .nav__right .nav__call { width: 100%; min-height: 56px; justify-content: center; margin-top: .75rem; border: 1px solid rgba(244,237,224,.55); font-size: 1rem; }
body.menu-open .nav__drawer-head span { font-size: .8125rem; }
body.menu-open .nav__drawer-foot span { font-size: 1rem; }
body.menu-open .nav__drawer-foot em { font-size: .75rem; }
/* S6 — "Come See It for Yourself" eyebrow legible on green-deep */
.home .eyebrow { color: var(--gold-soft); }
/* S8 — btn--line readable on light backgrounds (scoped dark-bg rules stay more specific + win) */
.btn--line { border-color: var(--green); color: var(--green-deep); }
.btn--line:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
/* S9 — headline underline off the paragraph; wrap long .mark on phones so it never runs off-screen */
.headline + .lede { margin-top: 1.1rem; }
@media (max-width: 430px){
  .mark { white-space: normal; text-decoration: underline; text-decoration-color: var(--wheat); text-decoration-thickness: 2px; text-underline-offset: .14em; }
  .mark::after { display: none; }
}
/* S10 — Bulls/Females cards fit the screen at 320 */
.find-split > * { min-width: 0; }
@media (max-width: 400px){
  .find-opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem 1rem; padding: 1.25rem 1.3rem; }
  .find-opt span { grid-column: 1 / -1; grid-row: 2; }
}
/* S11 — readability floor (senior tier, ranch). Scoped away from .hero via the pin below. */
body { font-size: 1.1875rem; }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); }
.btn { font-size: 1rem; letter-spacing: .08em; min-height: 48px; justify-content: center; }
.cattle-card__meta, .cattle-card__reg, .card__reg, .cattle-card__act a, .find-breeds a, .filter, .featured__meta span { font-size: 1rem; }
.eyebrow, .archives__source, .plate__caption, .century__num-sub, .nav__links a, .nav__toggle-txt, figcaption { font-size: .875rem; }
/* keep the hero's "See Our Cattle" button exactly as it was (hero is frozen) */
.hero .btn { font-size: .74rem; letter-spacing: .14em; min-height: 0; }
/* S12 — 48px tap targets (hit size only; no alignment/position change).
   NOTE: do NOT force display on .nav__cta / .nav__links a — their mobile display:none must
   still win (forcing inline-flex here un-hid the gold Text Us button over the hero monogram). */
.link-gold, .standhere__btn { min-height: 48px; display: inline-flex; align-items: center; }
.availnow__talk a { padding-block: .8rem; }
/* S11b — specific body sentences to the 19px floor; tiny captions/labels up to 14px.
   (Card H3 titles stay at 18.4px — they are headings; "never touch headline sizes".) */
.availnow__talk, .proof p { font-size: 1.1875rem; }
.fbcard > span:not(.fbcard__cta) { font-size: 1.0625rem; }
.ranch-ledger__col span, .mosaic figcaption, .home__foot span, .subfoot span, .fbcard__cta,
.story-band figcaption, .herd-frame figcaption, .look figcaption { font-size: .875rem; }

/* ============================================================
   R2 — 2026-11-11 (regression fix + readability/tap leftovers)
   ============================================================ */
/* S1 — featured intro panels stack on phones/tablet (was inline 2-col, no breakpoint → crushed + clipped 320-768) */
.intro-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,6vw,5rem); align-items: center; }
.intro-split--rev { grid-template-columns: 1.05fr 1fr; }
@media (max-width: 860px){ .intro-split, .intro-split--rev { grid-template-columns: 1fr; } }
.featured__meta { flex-wrap: wrap; }
/* S2 — sentences still under 19px; max() so desktop never shrinks */
.raise-card p { font-size: max(1.1875rem, .96rem); }
.century p { font-size: max(1.1875rem, clamp(1.02rem, 1.7vw, 1.2rem)); }
.century__tag { font-size: max(1.1875rem, .78rem); }
.home__place { font-size: max(1.1875rem, clamp(1.1rem, 2vw, 1.4rem)); }
.profile .quiet { font-size: max(1.1875rem, .85rem); }
/* labels up to the 14px floor */
.link-gold { font-size: .875rem; }
.herd__intro .breeds span { font-size: .875rem; }
/* S3 — tap targets to 48px (hit size only; nothing moves) */
.home__foot a { padding-block: .8rem; display: inline-flex; align-items: center; min-height: 48px; }
.vista__x, .profile__close { min-width: 48px; min-height: 48px; }
/* S1b — the floating panel is position:absolute right:-3% (desktop float); it ran off-screen at 320.
   Stack it below the print on phones/tablet so nothing clips. 1024/1440 keep the float. */
@media (max-width: 860px){
  .featured__panel { position: static; right: auto; bottom: auto; max-width: none; margin-top: 1rem; }
}
/* S2b — card herdbook link up to the 14px label floor */
.card__reglink { font-size: .875rem; }

/* ============================================================
   R3 — 2026-11-12 (real visual bugs found on review)
   ============================================================ */
/* hero content must clear the fixed mobile Text/Call bar (56px) — was sitting under it */
@media (max-width: 820px){ .hero__grid { padding-bottom: calc(56px + 1.6rem); } }
/* every subpage: breathing room before the green footer (sale FB button / semen boxes jammed into it) */
.catalog-page > section:last-child { padding-bottom: clamp(3.5rem, 8vh, 6rem); }
/* #home billboard: show the whole sign, no stretch-crop + no dead space (was align-self:stretch) */
.home__billboard { align-self: center; aspect-ratio: 4 / 3; }
.home__billboard img { object-position: center; min-height: 0; }
/* #home contact: Greg + Lindsey side by side, "Find us" spans full width (never orphaned narrow) */
.home .contact-real { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.8rem; }
.home .contact-real > div:nth-child(3) { grid-column: 1 / -1; }
/* stack the #home / contact two-column earlier so the contact columns never cramp at tablet widths */
@media (max-width: 1100px){ .home__grid { grid-template-columns: 1fr; } }
/* nav shows Greg's call number on desktop; hidden on the tight mobile nav (sticky bar shows it there) */
.nav__call-num { margin-left: .4rem; }
@media (max-width: 900px){ .nav__call-num { display: none; } }
/* but DO show Greg's number in the open mobile drawer (the sticky bar is hidden there) */
body.menu-open .nav__call-num { display: inline; }
/* inquiry form: headline left, form right — fills the width + fits one screen (was a lone 660px column that scrolled) */
.inquiry-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; max-width: 1160px; margin-inline: auto; }
.inquiry-split .inquiry-intro { position: sticky; top: 6rem; }
.inquiry-split .inquiry-form { margin-top: 0; grid-template-columns: 1fr 1fr; gap: 1rem 1.3rem; }
.inquiry-split .inquiry-form .field--full,
.inquiry-split .inquiry-form .inquiry-form__submit { grid-column: 1 / -1; }
@media (max-width: 860px){
  .inquiry-split { grid-template-columns: 1fr; gap: 1.6rem; }
  .inquiry-split .inquiry-intro { position: static; }
}
/* phones: stack the form fields one per row (2-col is too cramped under ~600px) */
@media (max-width: 600px){ .inquiry-split .inquiry-form { grid-template-columns: 1fr; } }

/* ============================================================
   R4 — 2026-11-12 (flagship audit fixes)
   ============================================================ */
/* #home overflow at 320: stack the contact pair on phones + let the long email wrap
   (the R3 2-col rule + unbreakable "Lindsey.rae@hotmail.com" were blowing the grid ~57px past 320) */
@media (max-width: 560px){ .home .contact-real { grid-template-columns: 1fr; } }
.home__grid > *, .home__invite, .home .contact-real { min-width: 0; }
.contact-real a, .contact-cols a { overflow-wrap: anywhere; }
/* tap floors — hit size only, nothing moves */
.card__reglink { min-height: 48px; display: inline-flex; align-items: center; }
.lightbox__nav { min-width: 48px; min-height: 48px; }
.skip { min-height: 48px; display: inline-flex; align-items: center; }
.nav__links a { min-height: 48px; }
.lost a { min-height: 48px; }
@media (min-width: 901px){ .nav__cta { min-height: 48px; display: inline-flex; align-items: center; } }
/* phone numbers: tabular figures for an aligned, premium look */
a[href^="tel:"] { font-variant-numeric: tabular-nums; }
/* visible gold focus ring on every interactive element (a11y + premium) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
/* reduced motion: kill all animation/transition (allowed !important per 000) */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
/* anchor jumps (#inquiry, #farm, …) must clear the fixed nav — was hiding the top of the target under the header */
main section[id], main [id].pad { scroll-margin-top: 6rem; }

/* ============================================================
   VIEW TRANSITIONS — the whole site behaves like one surface.
   Native cross-document fade between pages. Progressive: browsers
   without support just navigate normally. The header is lifted out
   of the fade so the green bar + gold monogram never flicker — they
   settle in place across every navigation. Honors reduced-motion /
   iOS Low Power Mode automatically (guard below).
   ============================================================ */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .36s;
  animation-timing-function: var(--ease-soft);
}

/* persistent header — its own snapshot, so it morphs in place
   (transparent-on-hero ⇄ solid) instead of cross-fading with the page */
.nav { view-transition-name: hf-nav; }
::view-transition-group(hf-nav) {
  animation-duration: .36s;
  animation-timing-function: var(--ease-soft);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ============================================================
   FULL NAV FROM FIRST PAINT (desktop) — no "Menu-only → buttons
   on scroll" swap on the homepage hero. The links + Text Us + Call
   are present the moment the page loads. Tablet/phone (≤1180px) keep
   the hamburger, where there isn't room for the inline set.
   ============================================================ */
@media (min-width: 1181px){
  .nav__links  { display: flex; }
  .nav__cta    { display: inline-flex; }
  .nav__call   { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* ============================================================
   R5 — CREST HERO (2026-11-12). The front of their business card, brought to life:
   the gold wordmark over the pasture (photo = wordmark + the cow, nothing else),
   then the "card back" band: the line, the breeds, and the two people.
   New class names on purpose — none of the older .hero__* layers reach this.
   ============================================================ */
.hero.hero--crest { height: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch;
  justify-content: flex-start; padding: 0; background: var(--green-deep); overflow: hidden; }
.crest__photo { position: relative; isolation: isolate; flex: none; display: flex; justify-content: center;
  height: clamp(460px, 70vh, 700px); }
.crest__photo .scene { z-index: -2; }
.crest__photo .scene__photo { object-position: var(--hero-focus, 50% 27%); }
.crest__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,29,15,.88) 0%, rgba(9,29,15,.5) 22%, rgba(9,29,15,.08) 42%,
              rgba(9,29,15,0) 72%, rgba(13,45,21,.6) 94%, rgba(13,45,21,.92) 100%); }
.crest { width: min(900px, 92vw); margin: 0 auto; text-align: center;
  padding-top: calc(var(--crest-navh, 56px) + clamp(.75rem, 2.2vh, 1.6rem)); }
.hero--crest .crest__title { margin: 0 auto; width: 100%; max-width: none; display: flex; justify-content: center;
  font-weight: 400; text-shadow: none; }
.crest__word { display: block; width: min(640px, 80vw); height: auto;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.55)) drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
/* the card back */
.crest__back { flex: none; background: var(--green-deep); border-top: 1px solid var(--gold); text-align: center;
  padding: clamp(1.4rem, 3vh, 2rem) 1.25rem 0; }
.hero--crest .crest__line { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--cream);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: .01em; }
.hero--crest .crest__breeds { margin: .6rem 0 0; font-family: var(--font-label); font-weight: 600; font-size: .875rem;
  line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.hero--crest .crest__terms { margin: .25rem 0 0; font-family: var(--font-label); font-weight: 500; font-size: .875rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cream); opacity: .82; }
.crest__terms i, .crest__breeds i { font-style: normal; color: var(--gold); margin: 0 .05em; }
.crest__sign { display: flex; align-items: center; justify-content: center; gap: clamp(1.25rem, 3.2vw, 3rem);
  margin: clamp(1rem, 2.4vh, 1.5rem) auto 0; max-width: 980px;
  padding: clamp(.9rem, 2vh, 1.25rem) 0 clamp(1rem, 2.4vh, 1.5rem);
  border-top: 1px solid rgba(226,185,59,.3); }
.crest__who { display: grid; justify-items: center; align-content: center; min-height: 48px; padding: .2rem .5rem;
  text-decoration: none; color: var(--cream); }
.crest__name { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.2; color: var(--cream); }
.crest__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  line-height: 1.15; color: var(--gold); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.crest__act { font-style: normal; font-family: var(--font-label); font-weight: 600; font-size: .875rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cream); opacity: .8; margin-top: .15rem; }
.crest__who:hover .crest__num, .crest__who:focus-visible .crest__num { color: var(--gold-soft); }
.crest__divider { width: 1px; align-self: stretch; min-height: 3.2rem; background: var(--gold); opacity: .6; }
.crest__see { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 .4rem;
  font-family: var(--font-label); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; }
.crest__see:hover, .crest__see:focus-visible { color: var(--gold-soft); }
.crest__see span { transition: transform .4s var(--ease); }
.crest__see:hover span { transform: translateX(4px); }
/* 768–1199: wider-than-tall photo crops vertically — show the sky so her head clears the wordmark */
@media (min-width: 768px) and (max-width: 1199px){ .crest__photo .scene__photo { object-position: var(--hero-focus, 50% 4%); } }
/* ≤767: photo + band fill exactly the screen above the 56px sticky bar on first load */
@media (max-width: 767px){
  .hero.hero--crest { height: calc(100svh - 56px); min-height: 560px; }
  .crest__photo { flex: 1 1 auto; height: auto; min-height: 260px; }
  .crest__photo .scene__photo { object-position: var(--hero-focus-m, 30% 60%); }
  .crest { padding-top: calc(56px + 1rem); }
  .crest__word { width: 90vw; }
  .crest__back { padding-top: 1.1rem; }
  .hero--crest .crest__line { font-size: clamp(1.35rem, 6.4vw, 1.7rem); }
  .hero--crest .crest__breeds { letter-spacing: .1em; }
  .crest__sign { display: grid; grid-template-columns: 1fr auto 1fr; gap: .4rem .5rem; margin-top: .9rem;
    padding: .75rem 0 .35rem; }
  .crest__divider { min-height: 0; }
  .crest__divider--wide { display: none; }
  .crest__name { font-size: 1rem; }
  .crest__num { font-size: clamp(1.05rem, 5vw, 1.3rem); }
  .crest__act { letter-spacing: .18em; }
  .crest__see { grid-column: 1 / -1; justify-content: center; border-top: 1px solid rgba(226,185,59,.3); }
}
@media (prefers-reduced-motion: reduce){ .crest__see span { transition: none; } }

/* ============================================================
   R5b — HOMEPAGE CONDENSE + OUR FARM PAGE (2026-11-12)
   ============================================================ */
/* gold text links that replace stacked button pairs (all widths) */
.goldlinks { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .25rem 1.8rem; }
.goldlinks a { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px;
  font-family: var(--font-label); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-deep); text-decoration: none; border-bottom: 1px solid var(--gold); }
.goldlinks a span { color: var(--gold-deep); transition: transform .4s var(--ease); }
.goldlinks a:hover span { transform: translateX(4px); }
/* OUR STORY teaser — ≥900: photo left 55% / text right · ≤899: stacked */
.storyteaser { display: grid; grid-template-columns: 55fr 45fr; background: var(--green-deep); color: var(--cream); }
.storyteaser__photo { position: relative; min-height: 100%; overflow: hidden; }
.storyteaser__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.storyteaser__text { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem); border-left: 1px solid var(--gold); }
.storyteaser .eyebrow { color: var(--gold-soft); }
.storyteaser .headline { color: var(--cream); font-size: clamp(2rem, 3.4vw, 3rem); }
.storyteaser .lede { color: var(--cream); opacity: .9; margin-top: 1rem; }
.storyteaser__link { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; margin-top: 1.4rem;
  font-family: var(--font-label); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); }
.storyteaser__link:hover { color: var(--gold-soft); }
@media (max-width: 899px){
  .storyteaser { grid-template-columns: 1fr; }
  .storyteaser__photo { aspect-ratio: 2200 / 927; min-height: 0; }
  .storyteaser__text { border-left: 0; border-top: 1px solid var(--gold); padding: 2.6rem 1.25rem 3rem; }
}
/* OUR FARM page */
.farm-page .century--page { padding-top: clamp(3rem, 8vh, 6rem); }
.century__h1 { font-size: clamp(1.9rem, 4.8vw, 3.6rem); margin-top: .5rem; color: var(--charcoal); }
.farm-page .story-band { margin-top: 0; }
.farmcta { text-align: center; background: var(--cream-deep); }
.farmcta .lede { margin: 1rem auto 0; }
.familyphotos[hidden], .farm-photo[hidden] { display: none !important; }
.familyphotos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.farm-photo img { width: 100%; height: auto; display: block; border-radius: 2px; }
.farm-photo figcaption { margin-top: .5rem; font-family: var(--font-label); font-size: .875rem; color: var(--bark); }
/* homepage rhythm — tighter, still generous (index only via main > section selectors; all widths) */
.archives { padding-block: clamp(3.25rem, 8vh, 6rem); }
.herd__intro { padding-block: clamp(3.25rem, 8vh, 6rem); }
.social { padding-block: clamp(3rem, 7vh, 5rem); }
.availnow { padding-block: clamp(3rem, 7vh, 5rem); }
/* full-bleed photo beats: tall enough to breathe, no full screen of scroll — ≥768: 72svh · ≤767: 62svh */
.look .plate { height: 72svh; min-height: 440px; }
.herd-frame { max-width: min(980px, 92vw); margin-block: clamp(1rem, 3vw, 2.5rem) clamp(2rem, 5vw, 3.5rem); }
.herd-frame img { max-height: 64svh; object-fit: cover; object-position: 50% 55%; }
@media (max-width: 767px){ .look .plate { height: 62svh; min-height: 360px; } .herd-frame img { max-height: none; } }

/* ============================================================
   R5c — CATTLE CARDS IN THE BUSINESS-CARD LANGUAGE (2026-11-12)
   Catalog .card (sale/sires/females + herd.js gallery) and home-rail .cattle-card
   (+ herd.js rail). Green body, gold rule, centered name, reg on its own line.
   ============================================================ */
.card, .cattle-card { background: var(--green-deep); color: var(--cream); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 16px 34px -14px rgba(13,45,21,.55), 0 2px 6px rgba(13,45,21,.12); }
.card:hover, .cattle-card:hover { box-shadow: 0 26px 46px -16px rgba(13,45,21,.6), 0 3px 8px rgba(13,45,21,.14); }
.card__media, .cattle-card__photo { border-bottom: 1px solid var(--gold); border-radius: 0; }
.card__body, .cattle-card__body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.2rem 1.1rem 1rem; }
.card__body h3, .cattle-card__body h3 { order: 1; color: var(--cream); font-size: 1.25rem; line-height: 1.18;
  text-wrap: balance; font-weight: 600; }
.card__reg, .cattle-card__reg { order: 2; display: block; margin-top: .4rem; font-family: var(--font-label); font-weight: 600;
  font-size: .875rem; letter-spacing: .14em; color: var(--gold-soft); font-variant-numeric: tabular-nums lining-nums; }
.cattle-card__meta { order: 3; margin-top: .45rem; font-size: .875rem; letter-spacing: .16em; color: rgba(244,237,224,.82); }
.cattle-card__meta b { color: var(--cream); font-weight: 600; }
.cattle-card__act { order: 4; width: 100%; margin-top: auto; padding-top: 1.1rem; gap: .5rem; }
.cattle-card__act a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; letter-spacing: .12em; border-radius: 3px; }
.cattle-card__act a:first-child { background: var(--gold); color: var(--green-deep); border: 1px solid var(--gold); }
.cattle-card__act a:first-child:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--green-deep); }
.cattle-card__act a:last-child { border: 1px solid var(--gold); color: var(--cream); background: transparent; }
.cattle-card__act a:last-child:hover { background: var(--gold); color: var(--green-deep); }
.card__reglink { order: 5; align-self: center; color: var(--gold); font-size: 1rem; }
.card__reglink:hover { color: var(--gold-soft); }
.card__breed { left: .7rem; top: .7rem; font-size: .875rem; letter-spacing: .1em; color: var(--gold-soft);
  background: color-mix(in srgb, var(--green-deep) 86%, transparent); border: 1px solid var(--gold); border-radius: 3px; }
/* catalog grid: ≥1100 three across (names stop wrapping 3 lines) · 768–1099 two · ≤767 one */
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (max-width: 1099px){ .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px){ .grid { grid-template-columns: 1fr; } }
/* home rail: a touch wider so names breathe */
.cattle-rail { grid-auto-columns: minmax(250px, 280px); }
/* source-photo defects (all widths): SOT J713 has a black letterbox strip at the top,
   Saint John Gatton has its name burned into the bottom edge — crop them out, hover-safe */
.card__media img[src*="sot-j713"] { transform: scale(1.1); transform-origin: 50% 100%; }
.card:hover .card__media img[src*="sot-j713"] { transform: scale(1.14); }
.card__media img[src*="saint-john-gatton"] { transform: scale(1.1); transform-origin: 50% 0%; }
.card:hover .card__media img[src*="saint-john-gatton"] { transform: scale(1.14); }
.cattle-card__photo[style*="sot-j713"], .cattle-card__photo[data-bg*="sot-j713"] { background-size: 112% auto !important; background-position: 50% 100% !important; }
.cattle-card__photo[style*="saint-john-gatton"], .cattle-card__photo[data-bg*="saint-john-gatton"] { background-size: 112% auto !important; background-position: 50% 0% !important; }
/* crest band lines: items never split; ≤767 the dots drop and items wrap as clean centered rows */
.hero--crest .crest__line { text-wrap: balance; }
.crest__breeds span, .crest__terms span { white-space: nowrap; }
@media (max-width: 767px){
  .hero--crest .crest__breeds, .hero--crest .crest__terms { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1rem; }
  .hero--crest .crest__breeds i, .hero--crest .crest__terms i { display: none; }
  .crest__photo .scene__photo { object-position: var(--hero-focus-m, 54% 60%); }
}
/* ≤767 (supersedes the fill-the-screen rule above): photo sized from the WIDTH so her head always
   clears the wordmark; band reads tagline → Greg/Lindsey → details. Contacts sit above the 56px bar. */
@media (max-width: 767px){
  .hero.hero--crest { height: auto; min-height: 0; }
  .crest__photo { flex: none; height: min(calc(118vw + 30px), 68svh); min-height: 0; }
  .crest { padding-top: calc(56px + .7rem); }
  .crest__back { display: flex; flex-direction: column; align-items: center; padding: 1rem .9rem 0; }
  .hero--crest .crest__line { order: 1; }
  .crest__sign { order: 2; width: 100%; margin-top: .8rem; }
  .hero--crest .crest__breeds { order: 3; margin-top: .9rem; }
  .hero--crest .crest__terms { order: 4; }
  .crest__see { margin-top: .2rem; }
  .crest__back::after { content: ""; order: 5; display: block; height: 1rem; }
}
@media (max-width: 400px){
  .crest__name { font-size: .9375rem; }
  .crest__act { font-size: .875rem; letter-spacing: .14em; }
  .hero--crest .crest__breeds, .hero--crest .crest__terms { letter-spacing: .06em; }
  .hero--crest .crest__line { font-size: 1.3rem; }
}
@media (max-width: 360px){
  .crest__name { font-size: .875rem; white-space: nowrap; }
  .crest__sign { grid-template-columns: 1fr auto 1fr; gap: .4rem .3rem; }
  .crest__who { padding-inline: 0; }
}
/* inline contact links: 48px hit area, text doesn't move (all widths) */
.contact-real a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* ============================================================
   R5d — NAV HEIGHT LOCK + REACH OUT DROPDOWN (2026-11-12)
   ============================================================ */
/* the bar stays 56px in every state: hero, scrolled, every subpage (all widths) */
body.scrolled .nav, body.subpage .nav { min-height: 56px; }
.catalog-page { padding-top: 56px; }
/* Reach Out dropdown — ≥768: a card hanging under the nav at the right · ≤767: full-width sheet under the nav */
.quickform { position: fixed; z-index: 75; top: 56px; right: clamp(.75rem, 2vw, 1.5rem); width: min(400px, calc(100vw - 1.5rem));
  max-height: calc(100svh - 56px - 1rem); overflow: auto; overscroll-behavior: contain;
  background: var(--green-deep); color: var(--cream); border-top: 2px solid var(--gold); border-radius: 0 0 8px 8px;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,.6); padding: 1.25rem 1.25rem 1.1rem;
  opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease; }
.quickform.is-open { opacity: 1; transform: none; }
.quickform[hidden] { display: none; }
.quickform__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quickform__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; color: var(--cream); margin: 0; }
.quickform__x { width: 48px; height: 48px; margin: -.5rem -.6rem 0 0; background: none; border: 0; color: var(--gold);
  font-size: 2rem; line-height: 1; cursor: pointer; }
.quickform__lede { margin: .35rem 0 1rem; font-size: 1.0625rem; color: rgba(244,237,224,.88); }
.quickform__field { display: block; margin-bottom: .8rem; }
.quickform__field span { display: block; margin-bottom: .3rem; font-family: var(--font-label); font-weight: 600; font-size: .875rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); }
.quickform__field em { font-style: normal; text-transform: none; letter-spacing: 0; color: rgba(244,237,224,.7); }
.quickform__field input, .quickform__field select, .quickform__field textarea { width: 100%; min-height: 52px; padding: .7rem .85rem;
  font: inherit; font-size: 1.125rem; color: var(--ink, #1e1e1a); background: var(--cream); border: 1px solid rgba(226,185,59,.6);
  border-radius: 4px; }
.quickform__field textarea { min-height: 72px; resize: vertical; }
.quickform__field input:focus-visible, .quickform__field select:focus-visible, .quickform__field textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; }
.quickform__send { width: 100%; min-height: 56px; margin-top: .3rem; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--gold); color: var(--green-deep); font-family: var(--font-label); font-weight: 700; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase; }
.quickform__send:hover { background: var(--gold-soft); }
.quickform__send[disabled] { opacity: .7; cursor: progress; }
.quickform__alt { margin: .9rem 0 0; font-size: 1rem; text-align: center; color: rgba(244,237,224,.85); }
.quickform__alt a, .quickform__err a { color: var(--gold); display: inline-block; padding-block: 12px; margin-block: -12px; }
.quickform__err { margin: .2rem 0 .6rem; padding: .6rem .75rem; border-left: 3px solid var(--gold); background: rgba(0,0,0,.22);
  font-size: 1rem; color: var(--cream); }
.quickform__done { outline: none; }
.quickform .hp { position: absolute; left: -9999px; }
@media (max-width: 767px){
  .quickform { left: 0; right: 0; width: auto; border-radius: 0; max-height: calc(100svh - 56px - 56px); }
}
@media (prefers-reduced-motion: reduce){ .quickform { transition: none; } }

/* ============================================================
   R5e — HERO ON THE PHOTO (2026-11-12, Brent: no green blocks, text over the real animal)
   One full-bleed photograph. Wordmark in the sky, the cow untouched in the middle,
   the line + details + Greg/Lindsey set right on the darkened grass. No boxes, no band.
   Supersedes the R5 band rules above.
   ============================================================ */
.hero.hero--crest { height: auto; background: #0b1a0f; }
.crest__photo { position: relative; flex: none; display: block; height: clamp(640px, 94svh, 1000px); }
.crest__photo .scene__photo { object-position: var(--hero-focus, 50% 30%); }
.crest__shade { background:
  linear-gradient(180deg, rgba(8,22,12,.82) 0%, rgba(8,22,12,.42) 20%, rgba(8,22,12,0) 38%,
                  rgba(8,22,12,0) 58%, rgba(8,22,12,.55) 76%, rgba(6,16,9,.92) 100%); }
.crest { position: relative; z-index: 2; }
.crest__back { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: none; border: 0;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(1.4rem, 4vh, 2.6rem);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem 3rem; text-align: left;
  max-width: 1440px; margin: 0 auto; }
.crest__back::after { content: none; }
.crest__words { text-shadow: 0 2px 16px rgba(0,0,0,.65); }
.hero--crest .crest__line { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.08; color: var(--cream); }
.hero--crest .crest__breeds { margin-top: .7rem; display: block; color: var(--gold-soft); }
.hero--crest .crest__terms { margin-top: .2rem; display: block; color: var(--cream); opacity: .9; }
.crest__sign { margin: 0; padding: 0; border: 0; max-width: none; gap: clamp(1rem, 2.4vw, 2.2rem); align-items: center;
  text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.crest__who { justify-items: start; padding: .2rem 0; }
.crest__divider { min-height: 3.4rem; opacity: .75; }
.crest__see { align-self: center; }
/* ≤1279: the two halves stack, centered, still on the photo */
@media (max-width: 1279px){
  .crest__back { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.2rem; }
  .crest__who { justify-items: center; }
}
@media (min-width: 768px) and (max-width: 1099px){ .crest__photo .scene__photo { object-position: var(--hero-focus, 50% 10%); } }
/* ≤767: one photo the height of the screen above the 56px bar; words + people on the grass */
@media (max-width: 767px){
  .crest__photo { height: calc(100svh - 56px); min-height: 600px; max-height: none; }
  .crest__photo .scene__photo { object-position: var(--hero-focus-m, 52% 50%); }
  .crest__shade { background:
    linear-gradient(180deg, rgba(8,22,12,.85) 0%, rgba(8,22,12,.35) 18%, rgba(8,22,12,0) 30%,
                    rgba(8,22,12,0) 48%, rgba(8,22,12,.7) 66%, rgba(6,16,9,.95) 100%); }
  .crest__back { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 0 1rem 1.1rem; }
  .hero--crest .crest__line { order: 0; font-size: clamp(1.45rem, 6.6vw, 1.9rem); }
  .crest__words { order: 0; }
  .crest__sign { order: 1; width: 100%; grid-template-columns: 1fr auto 1fr; gap: .2rem .5rem; padding: 0; margin: 0; }
  .hero--crest .crest__breeds, .hero--crest .crest__terms { display: flex; }
  .crest__see { border-top: 1px solid rgba(226,185,59,.35); width: 100%; }
}
.crest__see { white-space: nowrap; }
.crest__words { max-width: 46rem; }
@media (min-width: 1280px){ .crest__sign { gap: clamp(1rem, 1.8vw, 1.8rem); } }
@media (min-width: 1280px){ .crest__back { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 768px) and (max-width: 1279px){ .crest__photo .scene__photo { object-position: var(--hero-focus, 50% 0%); } }
/* ≤767 (supersedes the R5e phone block): a wide photo can't fill a tall screen without cutting her head off,
   so the photo is sized to the screen WIDTH (whole cow in frame) and fades seamlessly into deep shadow;
   the words sit in that fade — no panel, no border. */
@media (max-width: 767px){
  .hero.hero--crest { background: #08160c; }
  .crest__photo { height: auto; min-height: 0; max-height: none; }
  .crest__photo .scene { inset: 0 0 auto 0; height: calc(118vw + 30px); }
  .crest__photo .scene__photo { object-position: var(--hero-focus-m, 54% 60%); }
  .crest__shade { inset: 0 0 auto 0; height: calc(118vw + 30px); background:
    linear-gradient(180deg, rgba(8,22,12,.85) 0%, rgba(8,22,12,.3) 16%, rgba(8,22,12,0) 30%,
                    rgba(8,22,12,0) 62%, rgba(8,22,12,.82) 84%, #08160c 97%, #08160c 100%); }
  .crest { min-height: calc(118vw - 34px); }
  .crest__back { position: relative; inset: auto; padding: 0 1rem 1.1rem; }
}

/* ============================================================
   R5f (2026-11-12): numbers with no Call/Text labels; Private Treaty line sits UNDER the numbers;
   no See Our Cattle in the hero; phone photo math so her head is never cropped at any width;
   custom scrollbar in the card's gold.
   ============================================================ */
.crest__people { display: flex; flex-direction: column; align-items: center; gap: .55rem; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.crest__sign { display: flex; align-items: center; justify-content: center; }
.crest__who { justify-items: center; }
.hero--crest .crest__terms { margin: 0; text-align: center; }
@media (min-width: 1280px){ .crest__people { align-items: center; } }
@media (max-width: 1279px){ .crest__people { width: 100%; } }
/* ≤767: photo box = the taller of (110vw + 30px) and (61vw + 230px):
   wide enough to keep the whole cow (head included) in frame, tall enough that her head clears the wordmark */
@media (max-width: 767px){
  .crest__photo .scene, .crest__shade { height: max(calc(110vw + 30px), calc(61vw + 230px)); }
  .crest__photo .scene__photo { object-position: var(--hero-focus-m, 46% 60%); }
  .crest { min-height: calc(max(calc(110vw + 30px), calc(61vw + 230px)) - 64px); }
  .crest__word { width: min(90vw, 560px); margin-inline: auto; }
  .crest__people { order: 1; gap: .7rem; }
  .crest__sign { display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; gap: 0 .5rem; }
  .hero--crest .crest__terms { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1rem; }
  .crest__back { padding-bottom: 1.4rem; }
}
/* custom scrollbar — gold on cream, thin (all widths that show one) */
html { scrollbar-color: var(--gold-deep) var(--cream-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep)); border-radius: 8px;
  border: 2px solid var(--cream-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
/* R5g — hero fills the view exactly. ≥768: photo = 100svh · ≤767: hero runs to the 56px sticky bar,
   words sit at the bottom, photo stays sized to the width so the cow is never cropped */
@media (min-width: 768px){
  .crest__photo { height: 100svh; min-height: 560px; max-height: none; }
}
@media (min-width: 768px) and (max-width: 1023px){ .crest__photo .scene__photo { object-position: var(--hero-focus, 47% 0%); } }
@media (max-width: 767px){
  .crest__photo { display: flex; flex-direction: column; min-height: calc(100svh - 56px); }
  .crest__back { margin-top: auto; }
}
/* 768–820 shows the 56px sticky bar too — the hero stops at its top edge */
@media (min-width: 768px) and (max-width: 820px){ .crest__photo { height: calc(100svh - 56px); } }
/* ≤767: the field continues below the cow — a blurred, darkened copy of the same photo's grass fills the
   rest of the screen, so the words sit on pasture, not on an empty dark panel */
@media (max-width: 767px){
  .crest__photo { isolation: isolate; }
  .crest__photo::before { content: ""; position: absolute; inset: 0; z-index: -3;
    background: url("../assets/photos/web/64R-7501-e1554835305713-w.webp") 50% 100% / cover no-repeat;
    filter: blur(14px) brightness(.42) saturate(.9); transform: scale(1.12); }
  .crest__shade { background:
    linear-gradient(180deg, rgba(8,22,12,.85) 0%, rgba(8,22,12,.3) 16%, rgba(8,22,12,0) 30%,
                    rgba(8,22,12,0) 66%, rgba(8,22,12,.45) 86%, rgba(8,22,12,.55) 100%); }
  .crest__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(6,16,9,.55) 100%); }
  .hero.hero--crest { background: #08160c; overflow: hidden; }
}

/* ============================================================
   R5h (2026-11-12): MOO GOLD FOIL + REACH OUT STAYS AFTER SCROLL
   Foil reads warmer and softer than flat yellow: a pale highlight, a rich mid, a bronze edge.
   ============================================================ */
:root { --gold: #d1aa4f; --gold-soft: #e7cc85; --gold-deep: #a17a2c;
  --gold-foil: linear-gradient(180deg, #f1dfa3 0%, #dcb963 30%, #c99f45 62%, #a9832f 100%); }
/* gold FILLS get the foil sheen (all widths) */
.nav__cta--gold, .mobilecta__text, .btn--gold, .quickform__send, .cattle-card__act a:first-child,
.featured .cattle-card__act a:first-child, body.menu-open .nav__right .nav__cta {
  background: var(--gold-foil); border-color: #c99f45; color: var(--green-deep); }
.nav__cta--gold:hover, .btn--gold:hover, .quickform__send:hover, .cattle-card__act a:first-child:hover {
  background: linear-gradient(180deg, #f6e8bb 0%, #e3c574 40%, #cfa64c 100%); color: var(--green-deep); }
/* Reach Out never disappears on scroll (≥768; phones keep Text/Call in the bottom bar + Reach Out in the menu) */
@media (min-width: 768px){
  body.scrolled .nav__cta, body.subpage .nav__cta, .nav__cta { display: inline-flex; align-items: center; min-height: 48px; }
}
@media (max-width: 767px){
  .crest__photo .scene { -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%); }
  .crest__shade { -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%); }
}
/* the full-bleed bull plate keeps the photo's own proportions so he's never cropped
   (≥768: 1.6:1 at any width, even very wide windows · ≤767: the photo's exact 1.446:1) */
.look .plate { height: auto; min-height: 0; aspect-ratio: 1.6 / 1; }
@media (max-width: 767px){ .look .plate { height: auto; min-height: 0; aspect-ratio: 1440 / 996; } }
.look .scene__photo { background-size: cover; }
/* PERF (2026-11-12): the full-screen soft-light "sunlight" overlay forced a whole-screen re-blend on every
   scroll frame (and would warm the white Charolais) — off. The sky no longer animates its gradient. */
.sunlight { display: none !important; }
.sky { transition: none; }
.fog { will-change: opacity; }
.wire__fill { width: 100% !important; transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
/* ≤767: the plate caption covered the bull's legs and repeats the headline directly below it — phones skip it */
@media (max-width: 767px){ .look .plate__caption { display: none; } }
/* FACEBOOK FEED (all widths): the live page timeline sits in the feed column; the card becomes a slim
   "open on Facebook" link under it once the embed loads (stays full card if Facebook is blocked) */
.social__feed { min-height: 0; flex-direction: column; align-items: center; gap: 1rem; }
.fbfeed { display: block; width: 100%; max-width: 500px; border: 0; border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: 0 18px 40px -16px rgba(13,45,21,.45); border-top: 3px solid var(--gold); }
.social__feed.has-fb .fbcard { min-height: 0; padding: .9rem 1.1rem; flex-direction: row; gap: .7rem; align-items: center; width: 100%; max-width: 500px; }
.social__feed.has-fb .fbcard > span:not(.fbcard__cta), .social__feed.has-fb .fbcard b { display: none; }
.social__feed.has-fb .fbcard__f { width: 26px; height: 26px; }

/* ============================================================
   R5k — HOME CATTLE RAIL: wider cards, TWO rows (≥768), visible gold scrollbar + ← → (2026-11-12)
   ============================================================ */
.availnow .cattle-rail { grid-auto-flow: column; grid-template-rows: repeat(2, auto);
  grid-auto-columns: clamp(300px, 27vw, 400px); gap: clamp(1rem, 1.6vw, 1.5rem);
  padding-bottom: 1.1rem; scrollbar-width: auto; scrollbar-color: var(--gold-deep) var(--cream-deep); }
.availnow .cattle-rail .cattle-card__photo { aspect-ratio: 16 / 10; }
/* the scrollbar is always visible (Chrome/Safari draw styled bars even with overlay scrollbars) */
.availnow .cattle-rail::-webkit-scrollbar { height: 12px; }
.availnow .cattle-rail::-webkit-scrollbar-track { background: var(--cream-deep); border-radius: 8px; }
.availnow .cattle-rail::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #e7cc85, #c99f45 60%, #a9832f);
  border-radius: 8px; border: 2px solid var(--cream-deep); }
.rail-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.rail-ctrl.is-none { display: none; }
.rail-ctrl__hint { font-family: var(--font-label); font-weight: 600; font-size: .875rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-deep); }
.rail-ctrl__hint span { color: var(--gold-deep); }
.rail-ctrl__btns { display: flex; gap: .6rem; }
.rail-ctrl__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold-deep); background: var(--green-deep);
  color: var(--gold-soft); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .25s, color .25s, opacity .25s; }
.rail-ctrl__btn:hover:not(:disabled) { background: var(--gold); color: var(--green-deep); }
.rail-ctrl__btn:disabled { opacity: .35; cursor: default; }
/* ≤767: one swipeable row (two rows of full cards would be taller than the phone); bigger cards */
@media (max-width: 767px){
  .availnow .cattle-rail { grid-template-rows: auto; grid-auto-columns: 82vw; }
  .rail-ctrl__btns { display: none; }
  .rail-ctrl__hint::before { content: "Swipe · "; }
}
/* row-major: row one reads the top animals left→right, row two the rest (rail.js sets --rail-cols) */
.availnow .cattle-rail { grid-auto-flow: row; grid-template-rows: none;
  grid-template-columns: repeat(var(--rail-cols, 7), clamp(300px, 27vw, 400px)); }
@media (max-width: 767px){ .availnow .cattle-rail { grid-template-columns: repeat(var(--rail-cols, 14), 82vw); } }
.rail-ctrl__hint b { font-weight: inherit; }
.rail-ctrl__m { display: none; }
@media (max-width: 767px){ .rail-ctrl__hint::before { content: none; } .rail-ctrl__d { display: none; } .rail-ctrl__m { display: inline; } }
/* mirrored gold scrollbar ABOVE the top row (≥768, two rows); phones keep the single bar under the row */
.rail-top { overflow-x: auto; overflow-y: hidden; height: 14px; margin-top: 1.6rem; margin-bottom: -.8rem;
  scrollbar-width: auto; scrollbar-color: var(--gold-deep) var(--cream-deep); }
.rail-top__track { height: 1px; }
.rail-top::-webkit-scrollbar { height: 12px; }
.rail-top::-webkit-scrollbar-track { background: var(--cream-deep); border-radius: 8px; }
.rail-top::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #e7cc85, #c99f45 60%, #a9832f);
  border-radius: 8px; border: 2px solid var(--cream-deep); }
.rail-top.is-none { visibility: hidden; }
@media (max-width: 767px){ .rail-top { display: none; } }
/* R5l — site-drawn, ALWAYS-VISIBLE gold scrollbars above and below the rail (all widths);
   the OS scrollbar (which auto-hides on Mac/iPhone) is hidden so there's never a doubled bar */
.availnow .cattle-rail { scrollbar-width: none; padding-bottom: .4rem; }
.availnow .cattle-rail::-webkit-scrollbar { display: none; height: 0; }
.rail-top { display: none !important; }
.rail-bar { position: relative; height: 14px; border-radius: 10px; background: var(--cream-deep);
  box-shadow: inset 0 0 0 1px rgba(161,122,44,.35); cursor: pointer; touch-action: none; }
.rail-bar--top { margin: 1.6rem 0 1rem; }
.rail-bar--bottom { margin: .9rem 0 0; }
.rail-bar.is-none { visibility: hidden; }
.rail-bar__thumb { position: absolute; top: 2px; left: 0; height: 10px; min-width: 48px; border-radius: 8px;
  background: linear-gradient(180deg, #ecd593, #d1aa4f 55%, #a9832f); box-shadow: 0 1px 3px rgba(0,0,0,.25);
  cursor: grab; will-change: transform; }
.rail-bar.is-drag .rail-bar__thumb { cursor: grabbing; }
/* bigger grab area for fingers without a bigger look */
.rail-bar::before { content: ""; position: absolute; inset: -14px 0; }
.availnow .cattle-rail + .rail-bar--bottom { margin-top: .9rem; }

/* ===== R5m (2026-11-12) PHONE NAV: Reach Out replaces Call in the closed bar (≤767 only).
   The open menu drawer is unchanged (Reach Out + Call buttons). ≥768 untouched. ===== */
@media (max-width: 767px){
  body:not(.menu-open) .nav__right .nav__call { display: none; }
  body:not(.menu-open) .nav__right .nav__reach,
  body.scrolled:not(.menu-open) .nav__right .nav__reach,
  body.subpage:not(.menu-open) .nav__right .nav__reach {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: .5rem .85rem; font-size: .8rem; letter-spacing: .08em; white-space: nowrap; margin: 0; }
  .quickform { max-height: calc(100svh - 56px - 1rem); overflow-y: auto; overscroll-behavior: contain; }
}

/* ===== R5n (2026-11-12) phones (≤767): rail is ONE row, so no top bar — bottom bar only. ≥768 (2 rows) keeps both. ===== */
@media (max-width: 767px){ .availnow .rail-bar--top { display: none !important; } }

/* ===== R5o (2026-11-12) NO ACCIDENTAL BACK/FORWARD on sideways overscroll (all widths) ===== */
html, body { overscroll-behavior-x: none; }
.availnow .cattle-rail { overscroll-behavior-x: contain; }

/* ===== R5o (2026-11-12) PHONES (≤767): gallery is TWO rows too (rail.js always splits in 2),
   compact cards so both rows fit one screen, and the top bar comes back (overrides R5n). ≥768 untouched. ===== */
@media (max-width: 767px){
  .availnow .cattle-rail { grid-template-columns: repeat(var(--rail-cols, 7), 70vw); gap: .75rem; }
  .availnow .rail-bar--top { display: block !important; margin: 1.2rem 0 .8rem; }
  .availnow .cattle-rail + .rail-bar--bottom { margin-top: .6rem; }
  .availnow .cattle-rail .cattle-card__photo { aspect-ratio: 16 / 10; }
  .availnow .cattle-rail .cattle-card__body { padding: .8rem .75rem .8rem; }
  .availnow .cattle-rail .cattle-card__body h3 { font-size: 1.0625rem; line-height: 1.2; }
  .availnow .cattle-rail .cattle-card__reg { margin-top: .3rem; font-size: .8125rem; letter-spacing: .1em; }
  .availnow .cattle-rail .cattle-card__meta { margin-top: .3rem; font-size: .8125rem; letter-spacing: .12em; }
  .availnow .cattle-rail .cattle-card__act { padding-top: .7rem; gap: .4rem; }
  .availnow .cattle-rail .cattle-card__act a { min-height: 44px; font-size: .875rem; letter-spacing: .1em; }
}
/* R5o fit: both rows + both bars inside one phone screen between nav (56) and bottom bar (56) */
@media (max-width: 767px){
  .availnow .cattle-rail .cattle-card__photo { aspect-ratio: 16 / 9; }
  .availnow .cattle-rail .cattle-card__body { padding: .7rem .7rem .7rem; }
  .availnow .cattle-rail .cattle-card__act { padding-top: .6rem; }
  .availnow .rail-bar--top { margin: 1rem 0 .7rem; }
}

/* ===== R5q (2026-11-12) LAUNCH PASS — a11y polish (all widths unless noted) ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* contact page: phone + email links get a finger-sized hit area without moving the text */
a[href^="tel:"], a[href^="mailto:"] { -webkit-tap-highlight-color: rgba(209,170,79,.25); }
.contact-cols a[href^="tel:"], .contact-cols a[href^="mailto:"], .contact-real a[href^="tel:"], .contact-real a[href^="mailto:"] { position: relative; }
.contact-cols a[href^="tel:"]::before, .contact-cols a[href^="mailto:"]::before,
.contact-real a[href^="tel:"]::before, .contact-real a[href^="mailto:"]::before { content: ""; position: absolute; inset: -.55rem -.25rem; }
/* ≤767: featured donor facts stack one per line (no stray "·" at the start of a wrapped line) */
@media (max-width: 767px){
  .featured__meta { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .featured__meta span + span::before { content: none; }
}
/* closed animal profile is out of the tab order and screen-reader tree (it slides away first, then hides) */
.profile { visibility: hidden; transition: transform .7s var(--ease), visibility 0s linear .7s; }
.profile.open { visibility: visible; transition: transform .7s var(--ease), visibility 0s; }
/* closed photo preview is out of the tab order / screen-reader tree (fades, then hides) */
.lightbox { visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.lightbox.open { visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
/* catalog page heads (all widths): a breath between the small label and the big title */
.catalog-hero .eyebrow + .headline { margin-top: .5rem; }
/* ≤767: "Talk to Greg or Lindsey →" moves to its own line whole, so its underline never splits */
@media (max-width: 767px){ .availnow__talk a { white-space: nowrap; } }
/* contact links (all widths): underline sits right under the number/email again (the old 12px padding pushed it
   into the next line); the finger-sized hit area comes from the invisible ::before above instead */
.contact-real a, .contact-cols a { display: inline; padding-block: 0; margin-block: 0; }
/* the home visit block's gold buttons get the same MOO-foil sheen as every other gold fill (all widths) */
.home__actions .btn--red { background: var(--gold-foil); border-color: #c99f45; }
.home__actions .btn--red:hover { background: linear-gradient(180deg, #f6e8bb 0%, #e3c574 40%, #cfa64c 100%); }
/* Our Farm page (all widths): room between the label, the big "Six", "Generations" and the title */
.century--page .eyebrow + .century__num { margin-top: clamp(.9rem, 2.5vw, 1.4rem); }
.century--page .century__num-sub { margin-top: .55rem; }
.century--page .century__num + .century__h1 { margin-top: clamp(1rem, 3vw, 1.6rem); }
/* Our Farm visit band (all widths): its label no longer sits on the band's top edge */
.farm-page .farmcta.pad, .farmcta.pad { padding-top: clamp(3rem, 8vw, 5.5rem); }
/* phone numbers never break mid-number (all widths) */
.contact-real a[href^="tel:"], .contact-cols a[href^="tel:"] { white-space: nowrap; overflow-wrap: normal; }
/* home "Our Farm" teaser (all widths): label wraps evenly (no lone "LAND") and breathes above the title */
.storyteaser .eyebrow { text-wrap: balance; margin-bottom: .9rem; }
/* home-place band caption (all widths): stronger scrim so it reads on bright grass at every size */
.story-band::after { height: 38%; background: linear-gradient(to top, rgba(14,18,10,.82) 0%, rgba(14,18,10,.45) 45%, rgba(14,18,10,0) 100%); }
.story-band figcaption { font-size: clamp(.95rem, 1.6vw, 1.15rem); }
.century--page .eyebrow { text-wrap: balance; }
/* contact page details (761px and up, where they sit 3 across): Lindsey's column is wider so her name and
   email don't break; the email may only break before "@" */
@media (min-width: 761px){ .contact-cols { grid-template-columns: minmax(0,.95fr) minmax(0,.85fr) minmax(0,1.2fr); } }
.contact-real a[href^="mailto:"], .contact-cols a[href^="mailto:"] { overflow-wrap: normal; }

/* ===== R5r (2026-11-12) FOLLOW ALONG = real Facebook posts (Page Plugin timeline is dead on other sites) =====
   All widths: intro on top, posts in a row underneath, Open @HudspethFarms card last.
   ≥1100 three across · 768–1099 two across (third wraps under, centered) · ≤767 one per row. */
.social__grid { grid-template-columns: 1fr; align-items: start; }
.social__intro { max-width: 48rem; }
.social__posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); align-items: start; }
.social__post { background: #fff; border-radius: 8px; overflow: hidden; border-top: 3px solid var(--gold);
  box-shadow: 0 16px 34px -14px rgba(13,45,21,.35); min-height: 200px; }
.social__post .fb-post, .social__post .fb-post > span, .social__post iframe { width: 100% !important; max-width: 100%; }
.social__post blockquote { margin: 0; padding: 2.2rem 1.2rem; text-align: center; }
.social__post blockquote a { font-family: var(--font-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); }
.social__feed { min-height: 0; max-width: none; justify-self: stretch; display: block; }
.social__feed .fbcard { min-height: 0; padding: .9rem 1.1rem; flex-direction: row; gap: .7rem; align-items: center; width: 100%; max-width: none; justify-content: center; }
.social__feed .fbcard > span:not(.fbcard__cta), .social__feed .fbcard b { display: none; }
.social__feed .fbcard__f { width: 26px; height: 26px; margin: 0; }
@media (max-width: 1099px){ .social__posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px){ .social__posts { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1099px){
  .social__post:nth-child(3):last-child { grid-column: 1 / -1; width: calc(50% - .8rem); justify-self: center; } }

/* ===== R5s (2026-11-12) every photo opens bigger (all widths) ===== */
.is-zoomable { cursor: zoom-in; }
.is-zoomable:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* the viewer's × and arrows stay big and high-contrast on every screen */
.lightbox__x { width: 52px; height: 52px; font-size: 2.2rem; background: rgba(0,0,0,.66); border: 1px solid rgba(244,237,224,.35); }
.lightbox__nav { background: rgba(0,0,0,.58); border: 1px solid rgba(244,237,224,.3); }
@media (max-width: 767px){ .lightbox__nav { width: 46px; height: 46px; font-size: 2rem; } }

/* ---- The Herd video + caption on cattle cards (2026-11-12) ---- */
.card__media--video { cursor: default; }
.card__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--forest); cursor: pointer; display: block; }
.card__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__play img { transform: scale(1.05); }
.card__playmark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 1.2rem; border-radius: 999px; background: rgba(13,45,21,.86); color: var(--cream); border: 1px solid var(--gold); font-family: var(--font-label); font-size: 1rem; font-weight: 600; letter-spacing: .06em; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.card__playmark > span { color: var(--gold); }
.card__play:hover .card__playmark, .card__play:focus-visible .card__playmark { background: var(--gold); color: var(--green-deep); }
.card__play:hover .card__playmark > span { color: var(--green-deep); }
.card__media.is-playing .card__play, .card__media.is-playing .card__breed { opacity: 0; pointer-events: none; }
.card__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.card__post { order: 3; margin: .8rem 0 0; max-width: 34ch; }
.card__post-text { margin: 0; font-size: 1.1875rem; line-height: 1.5; color: rgba(244,237,224,.9); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__post a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--font-label); font-size: 1rem; font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.card__post a:hover { color: var(--gold-soft); }
.cattle-card__video { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 1rem; border-radius: 999px; background: rgba(13,45,21,.86); color: var(--cream); border: 1px solid var(--gold); font-family: var(--font-label); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cattle-card__video > span { color: var(--gold); }
.cattle-card__video:hover { background: var(--gold); color: var(--green-deep); }
@media (prefers-reduced-motion: reduce) { .card__play img { transition: none; } }

/* ===== R5t (2026-11-12) Facebook posts as our own cards (no broken Facebook pieces). Grid widths per R5r. ===== */
.social__posts > .fbpost { display: flex; flex-direction: column; background: #fff; color: #1c1e21; text-decoration: none;
  border-radius: 8px; overflow: hidden; border-top: 3px solid var(--gold); box-shadow: 0 16px 34px -14px rgba(13,45,21,.35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.social__posts > .fbpost:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -16px rgba(13,45,21,.42); }
.social__posts > .fbpost:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.fbpost__head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; }
.fbpost__av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(0,0,0,.08); }
.fbpost__who { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.fbpost__who b { font-family: var(--font-label); font-weight: 700; font-size: 1rem; color: #1c1e21; }
.fbpost__who small { font-size: .875rem; color: #65676b; }
.fbpost__f { color: #1877f2; flex: none; }
.fbpost__img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.fbpost__text { display: block; padding: .9rem 1rem .2rem; font-size: 1rem; line-height: 1.5; }
.fbpost__text p { margin: 0 0 .55rem; }
.fbpost__text b { font-weight: 700; letter-spacing: .02em; }
.fbpost__cta { margin-top: auto; padding: .8rem 1rem 1rem; border-top: 1px solid #e4e6eb; font-family: var(--font-label);
  font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.social__posts > .fbpost:hover .fbpost__cta { color: var(--gold-deep); }
.social__posts { align-items: stretch; }
@media (min-width: 768px) and (max-width: 1099px){
  .social__posts > .fbpost:nth-child(3):last-child { grid-column: 1 / -1; width: calc(50% - .8rem); justify-self: center; } }

/* ============================================================
   R5v (2026-11-13) — ANIMAL PAGE (animal.html?a=…) + links to it from the cards.
   Layout: ≥1024 photo left / facts card right (sticky) · ≤1023 stacked.
   EPD tiles: ≥1024 six across · 768–1023 four · 430–767 three · ≤429 two.
   ============================================================ */
.card__namelink, .cattle-card__name { color: inherit; text-decoration: none; }
.card__namelink:hover, .cattle-card__name:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: .18em; }
.card__namelink:focus-visible, .cattle-card__name:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.animal-page { padding-top: clamp(1.5rem, 4vh, 3rem); }
.apage { padding-bottom: clamp(3rem, 8vh, 6rem); }
.apage__crumb { margin: 0 0 1.2rem; }
.apage__crumb a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--font-label); font-weight: 700;
  font-size: .9375rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); text-decoration: none;
  border-bottom: 1px solid var(--gold-deep); }
.apage__crumb a:hover { color: var(--gold-deep); }
.apage__loading { font-family: var(--font-display); font-size: 1.4rem; color: var(--soil); padding: 4rem 0 30vh; }
.apage__missing { padding: 2rem 0 20vh; max-width: 40rem; }
.apage__missing .lede { margin: 1rem 0 1.6rem; }
.apage__head { margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.apage__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.05; margin-top: .45rem;
  font-size: clamp(2rem, 5.4vw, 4rem); text-wrap: balance; overflow-wrap: anywhere; }

.apage__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
.apage__media { min-width: 0; }
.apage__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--cream-deep); cursor: zoom-in;
  border-radius: 6px; overflow: hidden; border-top: 3px solid var(--gold); box-shadow: 0 22px 46px -18px rgba(13,45,21,.5); }
.apage__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.apage__photo--empty { aspect-ratio: 4 / 3; cursor: default; }
.apage__photo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.apage__zoom { position: absolute; right: .7rem; bottom: .7rem; padding: .4rem .7rem; border-radius: 3px; font-family: var(--font-label);
  font-weight: 600; font-size: .875rem; letter-spacing: .06em; color: var(--cream); background: rgba(13,45,21,.78); }
.apage__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; margin-top: .7rem; }
.apage__thumbs button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; min-height: 48px; }
.apage__thumbs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.apage__thumbs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.apage__video { margin-top: 1.6rem; }
.apage__sub { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: .7rem; }
.apage__video .card__media { border-radius: 6px; overflow: hidden; }

.apage__side { position: sticky; top: 76px; background: var(--green-deep); color: var(--cream); border-radius: 6px;
  border-top: 3px solid var(--gold); padding: clamp(1.2rem, 2.4vw, 1.8rem); box-shadow: 0 22px 46px -18px rgba(13,45,21,.55); }
.apage__facts { margin: 0; }
.apage__facts > div { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: .8rem; padding: .7rem 0;
  border-bottom: 1px solid rgba(209,170,79,.28); align-items: baseline; }
.apage__facts > div:first-child { padding-top: 0; }
.apage__facts dt { font-family: var(--font-label); font-weight: 600; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.apage__facts dd { margin: 0; font-size: 1.0625rem; line-height: 1.35; color: var(--cream); overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.apage__facts dd small { display: block; font-size: .875rem; letter-spacing: .06em; color: rgba(244,237,224,.78); }
.apage__facts dd a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.apage__facts dd a:hover { color: var(--gold-soft); }
.apage__ask { margin: 1.2rem 0 .6rem; font-size: 1.0625rem; color: var(--cream); }
.apage__act { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding-top: 0; margin-top: 0; }
.apage__act a { min-height: 52px; font-family: var(--font-label); font-weight: 700; text-transform: uppercase; text-decoration: none; }

/* links that leave the site always say where they go */
.apage__ext { display: block; margin-top: .9rem; padding: .85rem 1rem; border: 1px solid var(--gold); border-radius: 3px;
  text-decoration: none; color: var(--cream); text-align: center; transition: background .25s, color .25s; }
.apage__ext b { display: block; font-family: var(--font-label); font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.apage__ext small { display: block; margin-top: .3rem; font-size: .9375rem; line-height: 1.4; color: rgba(244,237,224,.86); }
.apage__ext:hover { background: rgba(209,170,79,.14); }
.apage__ext:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.apage__ext--wide { max-width: 34rem; margin: 1.6rem 0 0; background: var(--green-deep); }
.apage__ext--wide:hover { background: #123f1e; }

.apage__epds { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.apage__asof { margin: .7rem 0 0; max-width: 46rem; font-size: 1.0625rem; color: var(--soil); }
.epds__group { margin-top: 1.6rem; }
.epds__group h3 { font-family: var(--font-label); font-weight: 700; font-size: .9375rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep); padding-bottom: .5rem; border-bottom: 1px solid var(--gold-deep); }
.epds__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; margin: .9rem 0 0; }
.epd { background: #fff; border-radius: 5px; border-top: 2px solid var(--gold); padding: .8rem .8rem .75rem; min-width: 0;
  box-shadow: 0 8px 20px -12px rgba(13,45,21,.35); display: flex; flex-direction: column; }
.epd dt abbr { display: block; text-decoration: none; font-family: var(--font-label); font-weight: 700; font-size: 1rem; letter-spacing: .1em; color: var(--green-deep); }
.epd dt span { display: block; margin-top: .1rem; font-size: .875rem; line-height: 1.25; color: var(--soil); min-height: 2.2em; }
.epd dd { margin: .45rem 0 0; margin-top: auto; padding-top: .45rem; }
.epd dd b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.epd dd small { display: block; margin-top: .25rem; font-size: .875rem; color: var(--soil); font-variant-numeric: lining-nums tabular-nums; }
.apage__note { margin-top: 1.1rem; font-size: .9375rem; color: var(--soil); }

.apage__more { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: stretch; margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.4rem; border-top: 1px solid var(--gold-deep); }
.apage__more a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: .6rem .9rem; text-decoration: none;
  color: var(--green-deep); border: 1px solid rgba(13,45,21,.25); border-radius: 4px; min-width: 0; }
.apage__more a:last-child { text-align: right; }
.apage__more a:hover { border-color: var(--gold-deep); background: rgba(209,170,79,.12); }
.apage__more small { font-family: var(--font-label); font-weight: 600; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.apage__more b { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.25; overflow-wrap: anywhere; }
.apage__more .apage__all { align-items: center; text-align: center; background: var(--green-deep); border-color: var(--green-deep); padding-inline: 1.2rem; }
.apage__more .apage__all b { font-family: var(--font-label); font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.apage__more .apage__all:hover { background: #123f1e; }

@media (max-width: 1023px){
  .apage__top { grid-template-columns: 1fr; }
  .apage__side { position: static; }
  .epds__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .epds__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
  .apage__zoom { font-size: .8125rem; }
  .apage__more { grid-template-columns: 1fr 1fr; }
  .apage__more .apage__all { grid-column: 1 / -1; grid-row: 2; min-height: 52px; }
}
@media (max-width: 429px){
  .epds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apage__facts > div { grid-template-columns: 6.6rem minmax(0, 1fr); gap: .6rem; }
  .epd dt span { min-height: 0; }
}
/* R5v fixes (all widths): side gutter + clear the fixed nav; source-photo defects cropped like the cards */
.animal-page { padding-inline: var(--gutter); padding-top: clamp(4.6rem, 10vh, 6.5rem); }
.apage__photo img[src*="saint-john-gatton"] { transform: scale(1.12); transform-origin: 50% 0%; }
.apage__photo img[src*="sot-j713"] { transform: scale(1.12); transform-origin: 50% 100%; }
/* ≤429: fact label sits above its value (long labels no longer collide) */
@media (max-width: 429px){
  .apage__facts > div { grid-template-columns: 1fr; gap: .15rem; padding: .6rem 0; }
}

/* ===== R5z (2026-11-13) HOME CATTLE CARDS: the photo opens the animal's page; a tag on the photo says so (all widths) ===== */
a.cattle-card__photo--link { display: block; text-decoration: none; cursor: pointer; }
a.cattle-card__photo--link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.cattle-card__more { position: absolute; right: .6rem; bottom: .6rem; z-index: 2; display: inline-flex; align-items: center;
  padding: .45rem .75rem; border-radius: 3px; background: rgba(13,45,21,.88); border: 1px solid var(--gold);
  font-family: var(--font-label); font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft);
  transition: background .25s, color .25s; }
.cattle-card:hover .cattle-card__more, a.cattle-card__photo--link:focus-visible .cattle-card__more { background: var(--gold); color: var(--green-deep); }
span.cattle-card__video { pointer-events: none; }
@media (max-width: 767px){ .cattle-card__more { right: .45rem; bottom: .45rem; padding: .35rem .6rem; font-size: .8125rem; } }
/* Brent, Nov 17: the tag sits at the top, in the corner AWAY from the animal's
   head (head side from The Herd's headFaces, or HEAD_FACES in herd-data.js). */
.cattle-card__more { bottom: auto; top: .6rem; }
.cattle-card__more--left { right: auto; left: .6rem; }
@media (max-width: 767px){
  .cattle-card__more { bottom: auto; top: .45rem; }
  .cattle-card__more--left { right: auto; left: .45rem; }
}

/* Remembrance (Nov 17): a passed animal the family keeps on the site. Her note in
   the display serif, a quiet gold rule, no Text/Call. Sentences 19px, label 14px. */
.hf-remember { margin-top: .85rem; padding-left: .8rem; border-left: 2px solid var(--gold-deep); font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--green-deep); }
.hf-remember__tag { display: block; margin-bottom: .3rem; font-family: var(--font-label); font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bark); }
.featured .hf-remember { color: var(--cream); border-left-color: var(--gold); }
.featured .hf-remember__tag { color: var(--gold-soft); }
/* Remembrance inside the green card language (rail + gallery cards): sits where
   Text/Call would (order 4, pinned to the bottom), cream on green, centered,
   with a short gold rule above. The animal page keeps the left-rule version. */
.card__body .hf-remember, .cattle-card__body .hf-remember {
  order: 4; width: 100%; margin-top: auto; padding: 1.5rem 0 0; border-left: 0;
  text-align: center; color: var(--cream);
  background: linear-gradient(var(--gold), var(--gold)) center .6rem / 2.5rem 1px no-repeat;
}
.card__body .hf-remember__tag, .cattle-card__body .hf-remember__tag { color: var(--gold-soft); }
/* Animal page: the facts panel is green too — cream note, gold rule. */
.apage__side .hf-remember { color: var(--cream); border-left-color: var(--gold); }
.apage__side .hf-remember__tag { color: var(--gold-soft); }

/* Nav bar (Brent, Nov 17): Call, then Reach Out, then Menu — and Call is a
   button (gold outline, like the card Call). Bar only; the open menu drawer
   keeps its own order and styling. */
body:not(.menu-open) .nav__right .nav__links { order: 0; }
body:not(.menu-open) .nav__right .nav__call { order: 1; border: 1px solid var(--gold); border-radius: 2px; padding: .55rem 1rem; color: var(--cream); transition: background-color .2s, color .2s; }
body:not(.menu-open) .nav__right .nav__call:hover { background: var(--gold); color: var(--green-deep); }
body:not(.menu-open) .nav__right .nav__reach { order: 2; }
body:not(.menu-open) .nav__right .nav__toggle { order: 3; }

/* R6 (2026-11-18) "On This Land Since the 1880s" eyebrow (index + our-farm).
   ≤425px ONLY: the line wrapped with a lone "·" starting line 2 (index 320; our-farm 320–425).
   Here it becomes two clean lines, dot hidden — same height as before at every width in range.
   ≥426px: untouched (dot shows inline as before). */
@media (max-width: 425px) {
  .eyebrow--since .eyebrow__dot { display: none; }
  .eyebrow--since .eyebrow__rest { display: block; }
}
