/* =====================================================================
   WEINHEIMER RANCH — STYLES
   1. Design tokens (edit these to re-theme the whole site)
   ===================================================================== */
:root {
  /* Colour */
  --paper: #f5efe4;        /* page background, warm parchment */
  --paper-2: #ebe2d1;      /* alternate section */
  --card: #fffcf6;         /* cards */
  --ink: #1f1a15;          /* main text */
  --ink-2: #4b4239;        /* secondary text */
  --muted: #857a6d;        /* captions, meta */
  --red: #8e2f1f;          /* Hereford red — primary */
  --red-deep: #66200f;
  --wheat: #c9a35c;        /* accent, brass */
  --sage: #6c7558;
  --night: #16120e;        /* dark sections & footer */
  --line: rgba(31, 26, 21, 0.12);
  --line-light: rgba(255, 252, 246, 0.16);

  /* Type */
  --serif: "Metropolis", "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", sans-serif;   /* headlines, card titles, numbers */
  --display: var(--serif); /* large headlines */
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --radius: 16px;
  --radius-lg: 26px;

  /* Photos: corner radius and the thin inner frame.
     To remove the frame, set --photo-frame-color: transparent. */
  --radius-photo: 8px;
  --photo-frame-inset: 10px;
  --photo-frame-color: rgba(255, 252, 246, .65);
  --shadow: 0 1px 2px rgba(31, 26, 21, .06), 0 12px 32px -12px rgba(31, 26, 21, .18);
  --shadow-lg: 0 30px 60px -24px rgba(31, 26, 21, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);

  /* Spacing scale: used for the gaps between text blocks everywhere */
  --space-xs: 8px;   /* label -> small text */
  --space-sm: 16px;  /* eyebrow -> heading, paragraph -> paragraph */
  --space-md: 24px;  /* heading -> paragraph, breadcrumb -> heading */
  --space-lg: 32px;  /* text -> buttons / lists */

  /* Paragraph text: one size for every paragraph on the site */
  --p-size: 17px;
}

/* 2. Base ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--p-size)/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 var(--space-md); }
h1, h2, .big-quote { font-family: var(--display); }
h1 { font-size: clamp(2.9rem, 7.2vw, 6.6rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0 0 var(--space-sm); }
h3 { margin-bottom: var(--space-xs); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: var(--section) 0; position: relative; }
.section.alt { background: var(--paper-2); }
.muted { color: var(--muted); }
.eyebrow { font: 700 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-sm); display: flex; width: fit-content; align-items: center; gap: .8em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--wheat); }
.lead { color: var(--ink-2); max-width: 58ch; }

/* 3. Buttons =========================================================== */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.6em; border-radius: 100px; background: var(--bg); color: var(--fg); font: 700 .92rem/1 var(--sans); letter-spacing: .02em; border: 1px solid var(--bg); cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .4s var(--ease), border-color .4s; }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--hover, var(--red-deep)); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::after { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { --bg: var(--red); --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: currentColor; --hover: rgba(255, 255, 255, .14); border-color: currentColor; }
.btn-dark { --bg: var(--ink); --fg: var(--paper); --hover: var(--red); }
.btn-sm { padding: .78em 1.25em; font-size: .84rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--red); font-size: .95rem; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 4. Header ============================================================ */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); transition: background .5s var(--ease), color .4s, box-shadow .5s, padding .5s var(--ease); padding: 22px 0; }
.site-header.on-hero { color: #fff; }
.site-header.scrolled, .site-header.menu-open { background: rgba(245, 239, 228, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 9px; font-weight: 600; font-size: .84rem; white-space: nowrap; border-radius: 100px; position: relative; }
.nav-item > a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-item:hover > a::after, .nav-item.is-active > a::after { transform: scaleX(1); transform-origin: left; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .3s; }
.has-sub:hover .caret { transform: rotate(225deg) translate(-1px, -1px); }
.dropdown { position: absolute; top: 100%; left: 50%; padding-top: 10px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown ul { display: block !important; background: var(--card); color: var(--ink); border-radius: 14px; padding: 8px; min-width: 240px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .9rem; font-weight: 500; transition: background .25s, padding .3s var(--ease); }
.dropdown a:hover { background: var(--paper-2); padding-left: 19px; color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.header-phone svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle span:first-child { top: 18px; } .menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 49; background: var(--paper); color: var(--ink); padding: 96px var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s linear .7s; display: flex; flex-direction: column; }
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-list { list-style: none; margin: 0; padding: 0; }
.mobile-list > li { border-bottom: 1px solid var(--line); padding: 10px 0; opacity: 0; transform: translateY(16px); transition: all .6s var(--ease); transition-delay: calc(var(--i) * 50ms + 150ms); }
.mobile-menu.is-open .mobile-list > li { opacity: 1; transform: none; }
.mobile-list > li > a, .m-toggle { font: 400 clamp(1.2rem, 5vw, 1.45rem)/1.2 var(--serif); display: block; padding: 4px 0; color: var(--ink); }


.mobile-foot { margin-top: auto; padding-top: 30px; }
.mobile-foot .btn { width: 100%; justify-content: center; }

/* 5. Hero ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #2b2119; }
.hero-bg, .page-hero-bg { position: absolute; inset: -2%; background: #3a2c20 center/cover no-repeat; animation: kenburns 22s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16, 12, 9, .55) 0%, rgba(16, 12, 9, .05) 30%, rgba(16, 12, 9, .25) 55%, rgba(16, 12, 9, .88) 100%), linear-gradient(90deg, rgba(16, 12, 9, .55), transparent 70%); }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(80px, 13vh, 170px); padding-top: 140px; }
.hero h1 { max-width: 14ch; font-size: clamp(2.7rem, 6.4vw, 5.8rem); }
.hero h1 em { color: var(--wheat); }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 50ch; }
.hero .eyebrow { color: var(--wheat); }
.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 0 30px; border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 24px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 300 clamp(2rem, 3.6vw, 3rem)/1 var(--serif); color: #fff; }
.stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .7); font-weight: 600; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 150px; z-index: 2; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .75); }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(currentColor, transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
/* hero load-in */

.page-hero { position: relative; min-height: min(54svh, 500px); display: flex; align-items: flex-start; color: #fff; overflow: hidden; background: #2b2119; }
.page-hero .container { position: relative; z-index: 2; padding: clamp(120px, 15vh, 150px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 16ch; }
.page-hero h1 em { color: var(--wheat); }
.page-hero .lead { color: rgba(255, 255, 255, .85); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .7); margin-bottom: var(--space-md); }
.crumbs a:hover { color: #fff; }
.crumbs > * { white-space: nowrap; }
.crumbs > * + *::before { content: "/"; margin-right: 10px; opacity: .5; }

/* 6. Section heads & layout =========================================== */
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 34px 28px 10px 0; position: relative; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.feature .num { font: 400 .85rem/1 var(--serif); color: var(--muted); display: block; margin-bottom: 30px; }
.feature .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--red); margin-bottom: 22px; transition: transform .6s var(--ease), background .4s, color .4s; }
.feature:hover .ico { transform: rotate(-10deg) scale(1.08); background: var(--red); color: #fff; }
.feature .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--ink-2); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split.flip > :first-child { order: 2; }
.split-media { position: relative; border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.12); }
.float-card { position: absolute; left: 22px; bottom: 22px; right: 22px; background: rgba(255, 252, 246, .94); backdrop-filter: blur(8px); border-radius: 14px; padding: 18px 20px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow); }
.float-card b { font: 400 2.2rem/1 var(--serif); color: var(--red); }
.float-card span { font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.checklist { list-style: none; padding: 0; margin: var(--space-lg) 0; display: grid; gap: var(--space-sm); }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.checklist strong { color: var(--ink); }

/* Marquee */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; padding-left: 48px; }
.marquee span { font: 400 clamp(1.3rem, 2.4vw, 2rem)/1 var(--display); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .55em; color: var(--wheat); }

/* 7. Cattle cards ====================================================== */
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 28px; }
.lot { background: var(--card); border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .7s var(--ease); }
.lot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lot[hidden] { display: none; }
.lot-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.lot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lot:hover .lot-media img { transform: scale(1.06); }
.status { position: absolute; top: 16px; left: 16px; padding: 7px 12px; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 252, 246, .94); display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-available { color: #3f6b2f; }
.status-available::before { animation: pulse 2s infinite; }
.status-pending { color: #a26a12; }
.status-sold { color: var(--red); }
.lot[data-status="sold"] .lot-media img { filter: grayscale(.7) brightness(.85); }
.lot-id { position: absolute; top: 16px; right: 16px; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; background: rgba(22, 18, 14, .55); padding: 7px 11px; border-radius: 100px; backdrop-filter: blur(6px); }
.lot-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.lot-meta { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .7em; }
.lot h3 { margin-bottom: .35em; }
.lot-ped { font-size: .9rem; color: var(--ink-2); }
.lot-ped span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 0 4px 0 0; }
.lot-ped span + span, .lot-ped span:nth-of-type(2) { margin-left: 10px; }
.epds { display: grid; grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); margin: 4px 0 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.epds div { padding: 9px 4px; text-align: center; }
.epds div + div { border-left: 1px solid var(--line); }
.epds dt { font-size: .64rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.epds dd { margin: 2px 0 0; font: 500 .98rem/1.2 var(--serif); }
.lot-notes { color: var(--ink-2); }
.lot-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.price { font: 500 1.35rem/1 var(--serif); }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 36px; position: sticky; top: 74px; z-index: 5; padding: 14px 0; background: linear-gradient(var(--paper) 80%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--card); padding: 10px 16px; border-radius: 100px; font: 600 .88rem/1 var(--sans); cursor: pointer; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; transition: all .35s var(--ease); }
.chip span { font-size: .72rem; background: var(--paper-2); border-radius: 100px; padding: 3px 7px; transition: inherit; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-on span { background: var(--red); color: #fff; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.toggle input { appearance: none; width: 40px; height: 22px; border-radius: 100px; background: var(--paper-2); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background .3s; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.toggle input:checked { background: var(--red); }
.toggle input:checked::after { transform: translateX(18px); }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-2); }

/* Sires, dams */
.sires { display: grid; gap: 28px; }
.sire { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); }
.sire:nth-child(even) .sire-media { order: 2; }
.sire-media { overflow: hidden; min-height: 320px; }
.sire-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sire:hover .sire-media img { transform: scale(1.05); }
.sire-body { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.sire-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; }
.sire-body > p:not(.lot-meta) { color: var(--ink-2); }
.dams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dam { margin: 0; }
.dam-media { position: relative; border-radius: var(--radius-photo); overflow: hidden; margin-bottom: 20px; transition: transform .8s var(--ease); }
.dam img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.dam:hover .dam-media { transform: translateY(-6px); }
.dam p:not(.lot-meta) { color: var(--ink-2); }

/* 8. Dark band / quote / social proof ================================= */
.band-dark { background: var(--night); color: var(--paper); }
.band-dark .lead, .band-dark p { color: rgba(245, 239, 228, .72); }
.band-dark h2 em { color: var(--wheat); }
.band-dark .eyebrow { color: var(--wheat); }
.big-quote { font: 400 clamp(1.7rem, 3.4vw, 2.8rem)/1.25 var(--display); letter-spacing: -.015em; max-width: 22ch; margin: 0; }
.big-quote em { color: var(--wheat); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 34px 32px; border-radius: var(--radius-lg); background: rgba(255, 252, 246, .05); border: 1px solid var(--line-light); display: flex; flex-direction: column; transition: background .5s, transform .6s var(--ease); }
.quote:hover { background: rgba(255, 252, 246, .09); transform: translateY(-4px); }
.quote-mark { width: 34px; fill: var(--wheat); margin-bottom: 22px; }
.quote blockquote { margin: 0 0 28px; font: 400 var(--p-size)/1.65 var(--sans); color: var(--paper); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .88rem; }
.quote figcaption span { color: rgba(245, 239, 228, .55); }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line-light); }
.proof-stats div { padding: 30px 20px 0 0; }
.proof-stats b { display: block; font: 300 clamp(2.4rem, 4.4vw, 3.8rem)/1 var(--serif); color: var(--wheat); margin-bottom: 8px; }
.proof-stats span { font-size: .88rem; color: rgba(245, 239, 228, .7); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 50px; }
.badge { border: 1px solid var(--line-light); border-radius: 100px; padding: 11px 18px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(245, 239, 228, .82); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: clamp(50px, 8vw, 110px) clamp(28px, 6vw, 90px); background: var(--red-deep); }
.cta-band .bg { position: absolute; inset: -10%; background: center/cover; opacity: .38; mix-blend-mode: luminosity; will-change: transform; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--red-deep) 25%, transparent); z-index: 1; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { max-width: 15ch; }
.cta-band h2 em { color: var(--wheat); }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 46ch; }
.cta-band .btn-primary { --bg: #fff; --fg: var(--red-deep); --hover: var(--wheat); }

/* 9. Contact =========================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: stretch; }
.contact-card { background: var(--night); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -120px; border-radius: 50%; border: 1px solid var(--line-light); box-shadow: 0 0 0 40px rgba(255, 255, 255, .02), 0 0 0 80px rgba(255, 255, 255, .015); }
.contact-card h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 400; }
.contact-card > p { color: rgba(245, 239, 228, .7); }
.c-line { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-light); position: relative; z-index: 1; }
.c-line i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 246, .07); color: var(--wheat); }
.c-line svg, .f-contact svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-line small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 239, 228, .5); font-weight: 700; }
.c-line a:hover { color: var(--wheat); }
.form { background: var(--card); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 50px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s, background .3s; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(142, 47, 31, .1); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 36ch; }
.lot-note { background: var(--paper-2); border-left: 3px solid var(--red); padding: 12px 16px; border-radius: 8px; margin-bottom: 22px; font-size: .92rem; }
.form-ok { text-align: center; padding: 40px 10px; animation: fadeUp .8s var(--ease) both; }
.form-ok h3 { font-size: 2rem; font-weight: 400; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font: 500 1.15rem/1.3 var(--serif); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--red); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 26px 22px; color: var(--ink-2); animation: fadeUp .5s var(--ease); }

/* Timeline (about) */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.t-item { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 0 0 44px; position: relative; }
.t-item::before { content: ""; position: absolute; left: 115px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.t-item b { font: 400 1.6rem/1 var(--serif); color: var(--red); }
.t-item h3 { margin-bottom: .3em; }
.t-item p { color: var(--ink-2); margin: 0; }

/* Info cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { background: var(--card); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.info-card:hover { transform: translateY(-5px); }
.info-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--paper-2); color: var(--red); display: grid; place-items: center; margin-bottom: 22px; }
.info-card .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info-card p { color: var(--ink-2); margin: 0; }

/* EPD table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th, td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
td:first-child { font-weight: 700; font-family: var(--serif); }
tr:last-child td { border-bottom: 0; }

/* Gallery */
.gallery { columns: 3 300px; column-gap: 18px; }
.g-item { display: block; break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius-photo); overflow: hidden; position: relative; background: var(--paper-2); }
.g-item img { width: 100%; transition: transform 1.2s var(--ease), filter .6s; }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(16, 12, 9, .75)); transform: translateY(100%); transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover span { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(16, 12, 9, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .5s var(--ease); padding: 60px 70px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; text-align: center; transform: scale(.96); transition: transform .6s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: var(--radius-photo); margin: 0 auto; }
.lightbox figcaption { color: rgba(245, 239, 228, .8); margin-top: 14px; font-family: var(--serif); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 14px; } .lb-next { right: 14px; }

/* 10. Footer =========================================================== */
.site-footer { background: var(--night); color: rgba(245, 239, 228, .78); padding-top: clamp(60px, 8vw, 100px); }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-cta h3 { font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.15 var(--display); color: var(--paper); margin: 0; max-width: 18ch; }
.signup { display: flex; gap: 10px; flex: 0 1 460px; }
.signup input { flex: 1; min-width: 0; padding: 15px 20px; border-radius: 100px; background: rgba(255, 252, 246, .06); border: 1px solid var(--line-light); color: #fff; font: 500 .95rem var(--sans); }
.signup input:focus { outline: none; border-color: var(--wheat); }
.signup-ok { color: var(--wheat); margin: 0; animation: fadeUp .6s var(--ease); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0; }
.f-brand .brand { color: var(--paper); margin-bottom: 20px; }
.f-brand p { max-width: 36ch; }
.f-col h4 { font: 700 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); margin-bottom: 20px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-col a { transition: color .3s, padding .3s var(--ease); }
.f-col ul a:hover { color: #fff; padding-left: 5px; }
.f-contact p { display: grid; grid-template-columns: 20px 1fr; gap: 12px; margin-bottom: 12px; }
.f-contact svg { color: var(--wheat); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all .4s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 0 30px; border-top: 1px solid var(--line-light); font-size: .84rem; color: rgba(245, 239, 228, .5); }
.footer-bottom p { margin: 0; }

/* 11. Motion =========================================================== */
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 107, 47, .5); } 100% { box-shadow: 0 0 0 8px rgba(63, 107, 47, 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 12. Responsive ======================================================= */
@media (max-width: 1320px) {
  .main-nav, .header-phone span { display: none; }
  .header-phone { display: inline-flex; }
  .menu-toggle { display: block; }
  .header-phone { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --p-size: 16px; }
  .section-head, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split-media { aspect-ratio: 4 / 3.4; }
  .quotes, .cards-3, .dams { grid-template-columns: 1fr; }
  .dams { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
  .sire { grid-template-columns: 1fr; }
  .sire:nth-child(even) .sire-media { order: 0; }
  .sire-media { min-height: 0; aspect-ratio: 16 / 11; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .stat { padding: 18px 0 20px 18px; }
  .scroll-cue { display: none; }
  .timeline::before { left: 6px; }
  .t-item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .t-item::before { left: 1px; }
  .filter-bar { top: 66px; }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 28px 0 6px; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { bottom: 20px; top: auto; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
}
.info-card .ico.initials { font: 500 1.1rem/1 var(--serif); border-radius: 50%; }
[id] { scroll-margin-top: 90px; }

/* 13. Added components (operations, brands, press, social, generations) */
.op-card { background: var(--card); border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.op-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.op-media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.op-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.op-card:hover .op-media img { transform: scale(1.06); }
.op-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.op-body > p:not(.lot-meta) { color: var(--ink-2); }
.op-body .link-arrow { margin-top: auto; }
.cards-3.ops { row-gap: 28px; }
.info-card .lot-meta { display: inline-block; margin-bottom: .4em; }

.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-card { background: var(--card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.brand-card:hover { transform: translateY(-5px); }
.brand-plate { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px; color: var(--paper);
  background: radial-gradient(circle at 50% 45%, #5a2a1a, var(--night) 75%); position: relative; overflow: hidden; }
.brand-plate::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 163, 92, .3); border-radius: 12px; }
.brand-plate svg { width: 56%; fill: none; stroke: var(--wheat); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 140, 60, .35)); transition: transform .8s var(--ease), filter .8s; }
.brand-card:hover .brand-plate svg { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(255, 140, 60, .6)); }
.brand-card > p:not(.lot-meta) { color: var(--ink-2); margin: 0; }

.social-card { background: var(--card); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .6s var(--ease), background .4s; }
.social-card:hover { transform: translateY(-5px); }
.sc-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 22px; transition: transform .6s var(--ease); }
.social-card:hover .sc-ico { transform: rotate(-10deg) scale(1.08); }
.sc-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-card p { color: var(--ink-2); }
.social-card .link-arrow { margin-top: auto; }

.press-list { display: grid; border-top: 1px solid var(--line); }
.press-item { display: grid; grid-template-columns: 200px 1fr 160px auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background .4s; }
.press-item:hover { padding-left: 14px; padding-right: 14px; background: var(--card); }
.press-item h3 { margin: 0; font-weight: 400; }
.press-outlet { font-size: .74rem; letter-spacing: .16em; font-weight: 700; color: var(--red); }
.press-date { font-size: .88rem; color: var(--muted); }

.generations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.generations::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 1px; background: var(--line); }
.generations li { text-align: center; padding: 0 10px; position: relative; }
.generations b { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--card); border: 1px solid var(--line); font: 400 1.35rem/1 var(--serif); color: var(--red); box-shadow: var(--shadow); transition: background .4s, color .4s; }
.generations li:hover b { background: var(--red); color: #fff; }
.generations h3 { font-size: 1.15rem; margin-bottom: .25em; }
.generations p { color: var(--muted); font-size: .88rem; }

@media (max-width: 860px) {
  .brands { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .press-item { grid-template-columns: 1fr; gap: 6px; }
  .generations { grid-template-columns: 1fr; gap: 22px; }
  .generations::before { top: 0; bottom: 0; left: 31px; right: auto; width: 1px; height: auto; }
  .generations li { display: grid; grid-template-columns: 62px 1fr; column-gap: 18px; text-align: left; padding: 0; align-items: center; }
  .generations b { grid-row: span 2; margin: 0; }
  .generations h3, .generations p { margin: 0; }
}

/* 14. Hero video & scroll-to-top */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s var(--ease); pointer-events: none; }
.hero-video.is-playing { opacity: 1; }
.video-toggle { position: absolute; z-index: 3; top: 118px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(16, 12, 9, .3); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.video-toggle:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.video-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; }
.video-toggle .vt-play { fill: currentColor; stroke-width: 1.5; opacity: 0; }
.video-toggle.is-paused .vt-play { opacity: 1; }
.video-toggle.is-paused .vt-pause { opacity: 0; }

.scroll-top { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 60; width: 54px; height: 54px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(22, 18, 14, .6);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s, background .3s; }
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--red); }
.scroll-top > svg:not(.st-ring) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); grid-area: 1 / 1; }
.scroll-top:hover > svg:not(.st-ring) { transform: translateY(-3px); }
.st-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.st-ring circle { stroke: rgba(245, 239, 228, .14); }
.st-ring .st-progress { stroke: var(--wheat); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.lightbox.open ~ .scroll-top, html.no-scroll .scroll-top { opacity: 0; visibility: hidden; }
@media (max-width: 860px) { .video-toggle { top: 96px; width: 40px; height: 40px; } .scroll-top { width: 48px; height: 48px; } }
.video-toggle[hidden] { display: none; }
@media (max-width: 560px) {
  .brand { gap: 10px; }
  .header-cta { gap: 8px; }
  .header-phone, .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle span { left: 12px; right: 12px; }
  .menu-toggle span:first-child { top: 16px; } .menu-toggle span:last-child { top: 24px; }
  .menu-open .menu-toggle span:first-child, .menu-open .menu-toggle span:last-child { top: 20px; }
}

/* Subpage hero: text sits at the top, so darken the top of the photo instead of the bottom */
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16, 12, 9, .78) 0%, rgba(16, 12, 9, .55) 45%, rgba(16, 12, 9, .25) 80%, rgba(16, 12, 9, .45) 100%), linear-gradient(90deg, rgba(16, 12, 9, .5), transparent 75%); }

/* Mobile menu: hide the desktop overlay entirely on wide screens */
@media (min-width: 1321px) { .mobile-menu { display: none; } }
.site-header.menu-open { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }

/* Touch: bigger tap areas for small inline links (layout unchanged) */
@media (max-width: 1024px), (pointer: coarse) {
  .link-arrow { padding: 10px 0; margin: -10px 0; }
  .c-line a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .f-col ul { gap: 2px; }
  .f-col ul a { display: inline-block; padding: 7px 0; }
  .f-contact a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .crumbs a { padding: 8px 0; margin: -8px 0; }
}

/* Mobile menu: expandable sections (e.g. The Ranch) */
.m-toggle { width: 100%; background: none; border: 0; padding: 4px 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.m-chev { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: background .3s, border-color .3s; }
.m-chev::before, .m-chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.m-chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.m-group.is-open .m-chev { background: var(--red); border-color: var(--red); }
.m-group.is-open .m-chev::before, .m-group.is-open .m-chev::after { background: #fff; }
.m-group.is-open .m-chev::after { transform: translate(-50%, -50%) rotate(0deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.m-group.is-open .m-sub { grid-template-rows: 1fr; }
.m-sub > ul { overflow: hidden; list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); margin-left: 2px; }
.m-sub > ul > li:first-child { padding-top: 8px; }
.m-sub > ul > li:last-child { padding-bottom: 6px; }
.m-sub a { display: block; padding: 8px 0; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.m-sub a:active, .m-sub a:hover { color: var(--red); }
.m-group:not(.is-open) .m-sub a { visibility: hidden; transition: visibility 0s .45s; }

/* Paragraph consistency: same font, size, weight, line height and color everywhere.
   Change --p-size at the top of this file to resize every paragraph at once. */
main p, .faq details > div, .site-footer .f-brand p { font-family: var(--sans); font-size: var(--p-size); font-weight: 400; line-height: 1.65; }
main p { color: var(--ink-2); }
/* Labels (.eyebrow, .lot-meta) and pull quotes (.big-quote) keep their own styles: class rules outrank "main p". */

/* Spacing rhythm: text blocks end with no extra space, and buttons always sit
   --space-lg below the text above them (same gap on every page). */
.split > div > :last-child, .section-head > div > :last-child, .cta-band > :last-child, .page-hero .container > :last-child, .hero-content > :last-child { margin-bottom: 0; }
:is(p, ul, ol, h1, h2, h3, .checklist, .faq) + :is(.btn, .btn-row, .link-arrow) { margin-top: var(--space-lg); }
:is(p, ul, ol, h1, h2, h3, .checklist) + .btn { display: flex; width: fit-content; }
:is(p, ul, ol, h1, h2, h3) + .link-arrow { display: flex; width: fit-content; }
.checklist + .btn, .checklist + .btn-row { margin-top: 0; }
.checklist:last-child { margin-bottom: 0; }
.section-head.center .eyebrow { margin-inline: auto; }

/* Photo inner frame: a thin line set just inside the edge of every framed photo */
.split-media, .lot-media, .op-media, .sire-media, .dam-media, .g-item { position: relative; }
.split-media::after, .lot-media::after, .op-media::after, .sire-media::after, .dam-media::after, .g-item::after {
  content: ""; position: absolute; inset: var(--photo-frame-inset); z-index: 1; pointer-events: none;
  border: 1px solid var(--photo-frame-color); border-radius: max(0px, calc(var(--radius-photo) - var(--photo-frame-inset) / 2));
}
.float-card, .lot-media .status, .lot-media .lot-id, .g-item span { z-index: 2; }
.float-card { left: calc(var(--photo-frame-inset) + 12px); right: calc(var(--photo-frame-inset) + 12px); bottom: calc(var(--photo-frame-inset) + 12px); border-radius: 6px; }
.lot-media .status { top: calc(var(--photo-frame-inset) + 8px); left: calc(var(--photo-frame-inset) + 8px); }
.lot-media .lot-id { top: calc(var(--photo-frame-inset) + 8px); right: calc(var(--photo-frame-inset) + 8px); }

/* Logo (official artwork, drawn as SVG by js/main.js) */
:root { --logo-brown: #8F4201; --logo-gold: #B48619; }
.logo { display: block; width: auto; overflow: visible; }
.lg-ink { fill: currentColor; }
.lg-brown { fill: var(--logo-brown); transition: fill .4s; }
.lg-gold { fill: var(--logo-gold); transition: fill .4s; }
/* The "W" tilts like a swinging branding iron on hover */
.lg-w { transform-box: fill-box; transform-origin: 50% 60%; transition: transform .8s var(--ease); }
.brand:hover .lg-w, .brand:focus-visible .lg-w { transform: rotate(-12deg); }
.logo-h { height: 38px; }
/* Over the dark hero photo, the brown parts switch to wheat so they stay readable */
.site-header.on-hero:not(.scrolled):not(.menu-open) { --logo-brown: var(--wheat); --logo-gold: var(--wheat); }
.site-header.scrolled .brand, .site-header.menu-open .brand { color: #111; }
.site-footer .brand-stacked { color: var(--paper); --logo-brown: var(--wheat); --logo-gold: var(--wheat); margin-bottom: 24px; }
.logo-s { width: 230px; height: auto; }
@media (max-width: 1320px) { .logo-h { height: 44px; } }
@media (max-width: 560px)  { .logo-h { height: 38px; } }
@media (max-width: 380px)  { .logo-h { height: 33px; } }
@media (prefers-reduced-motion: reduce) { .lg-w { transition: none; } }
.big-quote em { font-style: normal; }

/* ===================================================================
   15. Components for the ranch's own content (Oct 2026 copy update)
   =================================================================== */
/* Footer: Facebook follow bar */
.footer-cta h3 + p { margin: var(--space-sm) 0 0; max-width: 52ch; color: rgba(245, 239, 228, .72); }
.footer-cta .btn { flex: none; }

/* Two-up card grid */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Text in two columns (long passages) */
.prose-cols { columns: 2 340px; column-gap: clamp(32px, 5vw, 72px); }
.prose-cols p { break-inside: avoid; }
.section-head + .prose-cols, .features + .prose-cols { margin-top: var(--space-lg); }

/* Pill lists (crops, sire names, goat colors) */
.tag-list { list-style: none; padding: 0; margin: 0 0 var(--space-sm); display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); font: 600 .86rem/1 var(--sans); color: var(--ink); }
.tag-list .sw { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tag-list li.is-accent { background: #3f5468; border-color: #3f5468; color: #fff; }
.band-dark .tag-list li { background: rgba(255, 252, 246, .06); border-color: var(--line-light); color: var(--paper); }

/* Highlighted fact: big figure + text */
.fact-row { display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(24px, 4vw, 48px); align-items: center; margin-top: var(--space-lg); padding: clamp(24px, 3vw, 36px); background: var(--card); border-radius: var(--radius-photo); border-left: 3px solid var(--red); box-shadow: var(--shadow); }
.fact-row b { font: 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--display); color: var(--red); white-space: nowrap; }
.fact-row b small { display: block; font: 700 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.fact-row p { margin: 0; }

/* Milestone cards (year + short label) */
.milestones { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.milestones > div { padding: 28px 24px 4px 0; }
.milestones > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.milestones b { display: block; font: 400 clamp(1.9rem, 3vw, 2.5rem)/1 var(--display); color: var(--red); margin-bottom: 12px; }
.milestones p { margin: 0; }

/* Dark band versions of the timeline */
.band-dark .timeline::before { background: var(--line-light); }
.band-dark .t-item::before { background: var(--night); border-color: var(--wheat); }
.band-dark .t-item b { color: var(--wheat); }
.band-dark .t-item h3 { color: var(--paper); }
.timeline.compact .t-item { grid-template-columns: 76px 1fr; gap: 24px; padding-bottom: 28px; }
.timeline.compact::before { left: 76px; }
.timeline.compact .t-item::before { left: 71px; top: 6px; }
.timeline.compact .t-item b { font-size: 1.3rem; }
.timeline.compact .t-item h3 { font-size: 1.15rem; margin: 0; }
.timeline .t-item:last-child { padding-bottom: 0; }

/* Herd packages (Livestock for Sale) */
.package { background: var(--card); border-radius: var(--radius-photo); padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 3px solid var(--red); }
.package b { font: 400 clamp(2.6rem, 4.6vw, 3.8rem)/1 var(--display); color: var(--red); }
.package h3 { margin: var(--space-sm) 0 var(--space-lg); }
.package .link-arrow { margin-top: auto; }

/* Crossbreeding diagram (Commercial Cattle) */
.program { background: var(--card); border-radius: var(--radius-photo); padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow); }
.program .lot-meta { margin-bottom: var(--space-xs); }
.program h3 { margin-bottom: var(--space-md); }
.cross { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: var(--space-md); }
.cross span { padding: 9px 14px; border-radius: 100px; background: var(--paper-2); font: 600 .88rem/1 var(--sans); color: var(--ink); }
.cross span.out { background: var(--red); color: #fff; }
.cross i { font-style: normal; font: 400 1.2rem/1 var(--display); color: var(--muted); }
.program p { margin: 0; }

/* Hunt cards: badge on the photo, details row */
.op-media .status { position: absolute; z-index: 2; top: calc(var(--photo-frame-inset) + 8px); left: calc(var(--photo-frame-inset) + 8px); }
.op-card .tag-list { margin: var(--space-sm) 0 0; }
.op-card .tag-list li { padding: 7px 12px; font-size: .8rem; background: var(--paper); }
.op-card.static { cursor: default; }
.op-card.static:hover { transform: none; box-shadow: var(--shadow); }
.op-card.static:hover .op-media img { transform: none; }

/* Brand plates drawn from the ranch's traced brands */
.brands.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.brand-plate.traced svg, .plate-media svg { fill: var(--wheat); stroke: none; filter: drop-shadow(0 0 14px rgba(255, 140, 60, .35)); }
.plate-media { aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #5a2a1a, var(--night) 72%); }
.plate-media svg { width: 58%; height: auto; position: relative; z-index: 2; }

/* Name plates (sire names on the dark LBJ band, recognition badges) */
.name-plates { display: grid; gap: 16px; }
.name-plate { border: 1px solid var(--line-light); border-radius: var(--radius-photo); padding: 26px 28px; background: rgba(255, 252, 246, .04); }
.name-plate small { display: block; font: 700 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); margin-bottom: 10px; }
.name-plate h3 { margin: 0; color: var(--paper); font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

/* Centered closing quote */
.closing { max-width: 860px; margin-inline: auto; text-align: center; }
.closing .big-quote { max-width: none; margin-bottom: var(--space-md); }
.closing p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .cards-2, .brands.two { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; }
  .milestones > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .milestones > div { padding-right: 0; }
}
/* Card links sit on the bottom edge so they line up across a row */
.op-card .op-body > p + .link-arrow { margin-top: auto; padding-top: var(--space-md); }
/* Quotes on light backgrounds use red for the accent words */
.section:not(.band-dark) .big-quote em { color: var(--red); }
.hero .scroll-cue { bottom: 48px; }
/* Hero text sits where it did when the stats bar was below it:
   --hero-lift is the height the stats bar used to take up. */
:root { --hero-lift: 176px; }
.hero-content { padding-bottom: calc(clamp(80px, 13vh, 170px) + var(--hero-lift)); }
@media (max-width: 860px) { :root { --hero-lift: 241px; } }

/* Ranch Brands: header photo anchored right so the brand isn't hidden behind the title */
.page-hero-bg.photo-right { left: 36%; background-position: center 22%; }
.page-hero:has(.photo-right) { background: #22150d; }
.page-hero:has(.photo-right)::before { background: linear-gradient(90deg, #22150d 34%, rgba(34, 21, 13, .55) 52%, rgba(34, 21, 13, .1) 75%), linear-gradient(180deg, rgba(16, 12, 9, .55), transparent 40%); }
@media (max-width: 860px) {
  .page-hero-bg.photo-right { left: 0; background-position: 30% 20%; }
  .page-hero:has(.photo-right)::before { background: linear-gradient(180deg, rgba(16, 12, 9, .8), rgba(16, 12, 9, .5) 60%, rgba(16, 12, 9, .35)); }
}

/* Brand history timeline (cards) */
.brand-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.bt-item { background: var(--card); border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bt-mark { position: relative; aspect-ratio: 3 / 2; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #5a2a1a, var(--night) 75%); }
.bt-mark::after { content: ""; position: absolute; inset: var(--photo-frame-inset); border: 1px solid rgba(201, 163, 92, .3); border-radius: 3px; pointer-events: none; }
.bt-mark svg { width: auto; height: 56%; max-width: 72%; fill: var(--wheat); filter: drop-shadow(0 0 10px rgba(255, 140, 60, .3)); }
.bt-body { padding: 20px 22px 22px; }
.bt-body b { display: block; font: 400 1.9rem/1 var(--display); color: var(--red); margin-bottom: var(--space-xs); }
.bt-body h3 { margin: 0 0 6px; font-size: 1.2rem; }
.bt-body p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.brand-timeline + .link-arrow { margin-top: var(--space-lg); display: flex; width: fit-content; }
@media (max-width: 1024px) { .brand-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .brand-timeline { gap: 12px; } .bt-body { padding: 16px; } .bt-body b { font-size: 1.5rem; } .bt-body h3 { font-size: 1.05rem; } }

/* Landscape photo beside text */
.split-media.landscape { aspect-ratio: 4 / 3; }
.split-media figcaption { position: absolute; z-index: 2; left: calc(var(--photo-frame-inset) + 12px); bottom: calc(var(--photo-frame-inset) + 10px); color: #fff; font-size: .82rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
/* Keep the horned Hereford's head in frame on the crossbreeding photo */
img[data-img="commercialHerd"] { object-position: 20% 50%; }

/* Brand history chart (the ranch's own graphic) */
.chart-figure { margin: 0; }
.chart-figure a { display: block; position: relative; border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.chart-figure img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.chart-figure a:hover img { transform: scale(1.015); }
.chart-figure a::after { content: ""; position: absolute; inset: var(--photo-frame-inset); border: 1px solid rgba(31, 26, 21, .12); border-radius: 3px; pointer-events: none; }
.chart-figure figcaption { margin-top: var(--space-sm); font-size: .88rem; color: var(--muted); text-align: center; }

/* Spanish Goats: stacked key dates beside a photo, and a pair of buck photos */
.milestones.stacked { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.milestones.stacked > div, .milestones.stacked > div + div { padding: 22px 0; border-left: 0; padding-left: 0; }
.milestones.stacked > div + div { border-top: 1px solid var(--line); }
.milestones.stacked > div:last-child { padding-bottom: 0; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: var(--space-lg); }
.photo-pair .split-media { margin: 0; aspect-ratio: 5 / 4; }
.photo-pair .split-media img { transform: none; }
img[data-img="goatsHistory"] { object-position: 50% 40%; }
@media (max-width: 860px) { .photo-pair { grid-template-columns: 1fr; } }

/* Home: Welcome photo collage (four ranch photos) */
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, 1fr); gap: 14px; aspect-ratio: 4 / 5; }
.collage figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-photo); background: var(--paper-2); }
.collage figure::after { content: ""; position: absolute; inset: var(--photo-frame-inset); z-index: 1; pointer-events: none; border: 1px solid var(--photo-frame-color); border-radius: max(0px, calc(var(--radius-photo) - var(--photo-frame-inset) / 2)); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.c-pond { grid-column: 1; grid-row: 1 / 5; }
.c-bulls { grid-column: 2; grid-row: 1 / 3; }
.c-oak { grid-column: 2; grid-row: 3 / 7; }
.c-grazing { grid-column: 1; grid-row: 5 / 7; }
.c-pond img { object-position: 55% 60%; }
.c-bulls img { object-position: 60% 55%; }
.c-oak img { object-position: 60% 62%; }
.collage .float-card { z-index: 2; padding: 12px 14px; gap: 10px; }
.collage .float-card b { font-size: 1.6rem; }
.collage .float-card span { font-size: .78rem; }
@media (max-width: 860px) { .collage { aspect-ratio: 1 / 1.05; gap: 10px; } }
@media (max-width: 480px) { .collage .float-card span { display: none; } }

/* Hunting: photo grid per hunt (first photo large, the rest in a row) */
.hunt-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.hunt-grid.n4 { grid-template-columns: repeat(3, 1fr); }
.hg-item { display: block; position: relative; overflow: hidden; border-radius: var(--radius-photo); background: var(--paper-2); aspect-ratio: 1 / 1; }
.hg-item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.hg-item::after { content: ""; position: absolute; inset: var(--photo-frame-inset); border: 1px solid var(--photo-frame-color); border-radius: max(0px, calc(var(--radius-photo) - var(--photo-frame-inset) / 2)); pointer-events: none; }
.hg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hg-item:hover img { transform: scale(1.04); }
.hunt-grid.n4 .hg-item:not(:first-child)::after { inset: 6px; }
.hunt-badge { margin-bottom: var(--space-sm); }
.hunt-badge .status { position: static; display: inline-flex; background: var(--card); border: 1px solid var(--line); }
.split .tag-list { margin-top: var(--space-sm); }
img[data-img="huntSwVelvet"] { object-position: 40% 60%; }
img[data-img="huntNm3"] { object-position: 50% 62%; }

/* Ranch Leadership photos */
.lead-grid .hg-item { margin: 0; }
.lead-grid .hg-item:not(:first-child) { aspect-ratio: 4 / 5; }
.hg-item figcaption { position: absolute; z-index: 2; left: calc(var(--photo-frame-inset) + 12px); right: calc(var(--photo-frame-inset) + 12px); bottom: calc(var(--photo-frame-inset) + 10px); color: #fff; font-size: .82rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
img[data-img="leadYoungBull"] { object-position: 50% 45%; }
img[data-img="leadMicrophone"] { object-position: 70% 40%; }
.today-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.today-cards { display: grid; gap: 24px; align-content: stretch; }
.today-cards .info-card { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .today-grid { grid-template-columns: 1fr; } }
img[data-img="semenBull"] { object-position: 55% 50%; transform: none !important; }
.float-card.float-top { top: calc(var(--photo-frame-inset) + 12px); bottom: auto; right: auto; max-width: 340px; padding: 10px 14px; }
.float-card.float-top b { font-size: 1.6rem; }
.float-card.float-top span { font-size: .8rem; }
@media (max-width: 480px) { .float-card.float-top span { display: none; } }

/* Registered Herefords: family album + bull pair */
.album-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.album-grid .hg-item { margin: 0; aspect-ratio: auto; height: clamp(320px, 38vw, 520px); }
.album-grid .hg-item:first-child { grid-column: auto; aspect-ratio: auto; }
.album-grid figcaption { font-weight: 500; line-height: 1.45; max-width: 60ch; }
.album-grid .hg-item:first-child::before { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 12, 9, .7)); z-index: 1; pointer-events: none; }
img[data-img="hfYoungBull"] { object-position: 50% 40%; }
img[data-img="hfRoyHerman"] { object-position: 50% 35%; }
.photo-pair.bulls .split-media { aspect-ratio: 4 / 3; }
img[data-img="hfShowWin"] { object-position: 50% 45%; }
@media (max-width: 860px) { .album-grid { grid-template-columns: 1fr; } .album-grid .hg-item { height: auto; aspect-ratio: 4 / 3; } .album-grid .hg-item:last-child { aspect-ratio: 4 / 5; } }
.split-media.landscape:has(img[data-img="hfShowWin"]) { aspect-ratio: 3 / 2; }
@media (max-width: 860px) {
  .album-grid .hg-item:first-child { aspect-ratio: auto; height: auto; background: var(--night); }
  .album-grid .hg-item:first-child img { aspect-ratio: 4 / 3; height: auto; }
  .album-grid .hg-item:first-child::before { display: none; }
  .album-grid .hg-item:first-child::after { bottom: auto; height: calc(100% - var(--cap-h, 0px)); }
  .album-grid .hg-item:first-child figcaption { position: static; padding: 14px 16px 16px; text-shadow: none; color: rgba(245, 239, 228, .85); }
  .album-grid .hg-item:first-child::after { display: none; }
}
/* Buck Sheep */
.page-hero-bg.photo-right[data-bg="sheepHeader"] { background-position: center 30%; }
.hunt-grid figure.hg-item { margin: 0; }
img[data-img="sheepBlack"] { object-position: 50% 55%; }

/* ===================================================================
   Press: magazine feature with fanned pages + on-page reader
   =================================================================== */
.press-feature { overflow: hidden; }
.pf-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pf-masthead { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1 var(--display); color: #c0392b; color: #d4553f; margin-bottom: var(--space-md); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; text-transform: uppercase; letter-spacing: .02em; }
.pf-masthead span { font: 600 .74rem/1.3 var(--sans); letter-spacing: .16em; color: rgba(245, 239, 228, .6); }
.press-feature h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.pf-byline { font-size: .86rem !important; letter-spacing: .04em; color: rgba(245, 239, 228, .55) !important; margin-bottom: var(--space-md); }
.press-feature .pf-lede { font: 400 clamp(1.15rem, 1.6vw, 1.35rem)/1.5 var(--serif); color: var(--paper) !important; border-left: 2px solid var(--wheat); padding-left: 18px; }
.press-feature .btn-ghost { color: var(--paper); }

.pf-stack { position: relative; height: clamp(360px, 40vw, 560px); perspective: 1600px; }
.pf-page { position: absolute; top: 50%; left: 50%; width: 52%; aspect-ratio: 630 / 810; padding: 0; border: 0; cursor: zoom-in; background: #fff; border-radius: 3px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .8s var(--ease), box-shadow .5s, filter .5s; }
.pf-page img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.pf-page::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(105deg, rgba(255, 255, 255, .18), transparent 40%, rgba(0, 0, 0, .12)); pointer-events: none; }
.pf-num { position: absolute; bottom: 10px; right: 10px; z-index: 2; font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(22, 18, 14, .7); padding: 6px 9px; border-radius: 100px; opacity: 0; transition: opacity .4s; }
.pf-page.p0 { z-index: 3; transform: translate(-82%, -50%) rotate(-7deg); }
.pf-page.p1 { z-index: 2; transform: translate(-50%, -54%) rotate(1deg); }
.pf-page.p2 { z-index: 1; transform: translate(-18%, -50%) rotate(8deg); }
.pf-stack:hover .pf-page.p0 { transform: translate(-100%, -50%) rotate(-11deg); }
.pf-stack:hover .pf-page.p2 { transform: translate(0%, -48%) rotate(12deg); }
.pf-page:hover, .pf-page:focus-visible { z-index: 5; filter: brightness(1.04); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .8); }
.pf-stack .pf-page:hover.p0 { transform: translate(-100%, -56%) rotate(-6deg) scale(1.05); }
.pf-stack .pf-page:hover.p1 { transform: translate(-50%, -60%) rotate(0deg) scale(1.05); }
.pf-stack .pf-page:hover.p2 { transform: translate(0%, -54%) rotate(7deg) scale(1.05); }
.pf-page:hover .pf-num, .pf-page:focus-visible .pf-num { opacity: 1; }

.pf-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 90px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line-light); }
.pf-quote { margin: 0; }
.pf-quote blockquote { margin: 0 0 14px; font: 400 clamp(1.2rem, 1.7vw, 1.45rem)/1.4 var(--display); color: var(--paper); }
.pf-quote figcaption { font: 700 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wheat); }

.reader { position: fixed; inset: 0; z-index: 120; background: rgba(16, 12, 9, .95); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .35s var(--ease); }
.reader.open { opacity: 1; }
.rd-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); color: rgba(245, 239, 228, .8); }
.rd-title { margin: 0; font-size: .86rem; letter-spacing: .06em; }
.rd-title span { color: var(--wheat); font-weight: 700; }
.rd-actions { display: flex; align-items: center; gap: 12px; }
.rd-link { font-size: .84rem; font-weight: 700; color: var(--paper); border: 1px solid var(--line-light); padding: 9px 14px; border-radius: 100px; transition: background .3s; }
.rd-link:hover { background: var(--red); border-color: var(--red); }
.rd-stage { display: grid; place-items: center; overflow: auto; padding: 0 72px; min-height: 0; }
.rd-img { max-height: calc(100vh - 150px); max-width: 100%; width: auto; border-radius: 3px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #fff; }
.reader.turn .rd-img { animation: pageTurn .45s var(--ease); }
@keyframes pageTurn { from { opacity: 0; transform: perspective(1200px) rotateY(-12deg) translateX(18px); } to { opacity: 1; transform: none; } }
.reader button.rd-prev, .reader button.rd-next, .rd-close { background: rgba(255, 255, 255, .08); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .3s; }
.rd-close { width: 42px; height: 42px; font-size: 1.5rem; }
.reader button:hover { background: var(--red); }
.rd-prev, .rd-next { position: absolute; top: 50%; transform: translateY(-50%); }
.rd-prev { left: 14px; } .rd-next { right: 14px; }
.rd-dots { display: flex; justify-content: center; gap: 10px; padding: 14px 0 18px; }
.rd-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(245, 239, 228, .3); cursor: pointer; }
.rd-dots button[aria-current="true"] { background: var(--wheat); }

@media (max-width: 860px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-stack { height: clamp(300px, 92vw, 460px); }
  .pf-page { width: 56%; }
  .pf-quotes { grid-template-columns: 1fr; gap: 28px; }
  .rd-stage { padding: 0 8px; }
  .rd-img { max-height: calc(100vh - 140px); }
  .rd-prev, .rd-next { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
  .rd-prev { left: calc(50% - 90px); } .rd-next { right: calc(50% - 90px); }
  .rd-title { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) { .reader.turn .rd-img { animation: none; } }
.reader[hidden] { display: none; }
.pf-page.p0 { z-index: 2; } .pf-page.p1 { z-index: 3; } .pf-page.p2 { z-index: 1; }
.reader { background: rgba(16, 12, 9, .985); backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .pf-page { width: 50%; }
  .pf-page.p0 { transform: translate(-78%, -50%) rotate(-6deg); }
  .pf-page.p2 { transform: translate(-22%, -50%) rotate(6deg); }
  .pf-stack:hover .pf-page.p0 { transform: translate(-82%, -50%) rotate(-8deg); }
  .pf-stack:hover .pf-page.p2 { transform: translate(-18%, -50%) rotate(8deg); }
}
.rd-link { white-space: nowrap; } @media (max-width: 480px) { .rd-title { font-size: .7rem; } }

/* ===================================================================
   Ranch History: photo prints, album timeline, 1975 champions
   =================================================================== */
.print { margin: 0; background: #fffdf8; padding: 12px 12px 0; border-radius: 3px; box-shadow: 0 1px 2px rgba(31, 26, 21, .12), 0 18px 40px -16px rgba(31, 26, 21, .45);
  transform: rotate(var(--tilt, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.print:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 1px 2px rgba(31, 26, 21, .12), 0 28px 56px -18px rgba(31, 26, 21, .5); }
.print-img { display: block; overflow: hidden; background: #e9e1d2; cursor: zoom-in; }
.print-img img { width: 100%; height: auto; display: block; filter: sepia(.08) contrast(1.02); }
.print figcaption { font: italic 400 .95rem/1.45 var(--serif); color: var(--ink-2); padding: 12px 4px 14px; }
.print:not(:has(figcaption)) { padding-bottom: 12px; }
.lead-print { max-width: 560px; justify-self: center; }
.lead-print.tall { max-width: 400px; }
.band-dark .print { background: #f4ecdd; }
.band-dark .print figcaption { color: #4b4239; }

/* Album timeline */
.album-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.album-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 88px; padding: 18px 0; }
.tl-year { position: absolute; left: 50%; top: 24px; transform: translateX(-50%); z-index: 2; background: var(--paper); border: 1px solid var(--red); color: var(--red);
  font: 400 1rem/1 var(--display); padding: 9px 14px; border-radius: 100px; white-space: nowrap; }
.tl-item.left .tl-body { grid-column: 1; text-align: right; }
.tl-item.right .tl-body { grid-column: 2; }
.tl-card { display: inline-block; max-width: 420px; text-align: left; background: var(--card); border-radius: var(--radius-photo); padding: 18px 22px; box-shadow: var(--shadow); }
.tl-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tl-card p { margin: 0; font-size: .95rem !important; }
.tl-card .link-arrow { display: inline-flex; margin: 6px 0 0; padding: 0; }
.tl-item.has-photo { padding: 32px 0; }
.tl-item.has-photo h3 { font-size: 1.35rem; margin: 2px 0 14px; }
.tl-item.has-photo .print { display: inline-block; max-width: 520px; text-align: left; }
.tl-item.left.has-photo .tl-body { padding-left: 4%; }
.tl-item.right.has-photo .tl-body { padding-right: 4%; }

/* 1975 champions */
.champ-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.champ-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.champ-copy > p:not(.eyebrow):not(.pf-byline) { font: 400 clamp(1.05rem, 1.5vw, 1.25rem)/1.55 var(--serif); color: var(--paper) !important; border-left: 2px solid var(--wheat); padding-left: 18px; }
.champ-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: clamp(40px, 6vw, 72px); }
.print.news { background: #efe8da; }

/* Family album pair */
.album-pair { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1040px; margin-inline: auto; }

@media (max-width: 860px) {
  .album-tl::before { left: 14px; }
  .tl-item, .tl-item.has-photo { grid-template-columns: 1fr; padding: 14px 0 14px 44px; }
  .tl-year { left: 14px; top: 14px; transform: translateX(-50%); font-size: .82rem; padding: 7px 10px; }
  .tl-item.left .tl-body, .tl-item.right .tl-body { grid-column: 1; text-align: left; padding: 40px 0 0; }
  .tl-item.has-photo .print { max-width: 100%; }
  .champ-grid, .champ-photos, .album-pair { grid-template-columns: 1fr; }
  .print { transform: none; }
}
@media (min-width: 861px) { .tl-item { column-gap: 140px; } }
@media (max-width: 860px) { .tl-year { left: 0; transform: none; } .tl-item, .tl-item.has-photo { padding-left: 24px; } .tl-item.left .tl-body, .tl-item.right .tl-body { padding-top: 46px; } }
@media (max-width: 860px) { .tl-item.left.has-photo .tl-body, .tl-item.right.has-photo .tl-body { padding-left: 0; padding-right: 0; } }

/* Sans-serif headlines (Metropolis / Avenir) */
h1, h2, h3, h4, .big-quote { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-weight: 600; letter-spacing: -0.01em; }
.big-quote { font-weight: 500; letter-spacing: -0.015em; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.print figcaption { font-style: normal; font-size: .9rem; }
.page-hero .eyebrow { color: var(--wheat); }
.home-hero { min-height: min(62svh, 560px); }
.split-media.lead-portrait { max-width: 440px; justify-self: center; width: 100%; }
img[data-img="leadHermanAnna"] { object-position: 50% 30%; transform: none !important; }
.hg-item:has(figcaption)::before { content: ""; position: absolute; inset: 55% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent, rgba(16, 12, 9, .75)); }

/* Press: light version + mirrored layout for additional articles */
.press-feature.alt .pf-masthead { color: var(--red); }
.press-feature.alt .pf-masthead span, .press-feature.alt .pf-byline { color: var(--muted) !important; }
.press-feature.alt h2 { color: var(--ink); }
.press-feature.alt .pf-lede { color: var(--ink) !important; border-left-color: var(--red); }
.press-feature.alt .btn-ghost { color: var(--ink); }
.press-feature.alt .pf-quotes { border-top-color: var(--line); }
.press-feature.alt .pf-quote blockquote { color: var(--ink); }
.press-feature.alt .pf-quote figcaption { color: var(--red); }
.press-feature.alt .pf-page { box-shadow: 0 30px 50px -22px rgba(31, 26, 21, .45), 0 2px 6px rgba(31, 26, 21, .2); }
@media (min-width: 861px) { .press-feature.flip .pf-copy { order: 2; } }
.pf-count { position: absolute; z-index: 6; right: 6%; bottom: 4%; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--red); color: #fff; padding: 8px 12px; border-radius: 100px; }
.press-feature .btn-row { row-gap: 12px; }

/* About the Ranch header: keep the rider and bulls in frame */
.page-hero-bg[data-bg="aboutHeader"] { background-position: center 36%; }

/* Contact form error message */
.form-error { margin: 0 0 var(--space-sm); padding: 12px 16px; border-radius: 8px; background: #f6e3dc; color: #7a2414; font-size: .95rem; }
.form-error[hidden] { display: none; }

/* Readable captions on split photos */
.split-media:has(figcaption)::before { content: ""; position: absolute; inset: 50% 0 0; z-index: 1; pointer-events: none; border-radius: 0 0 var(--radius-photo) var(--radius-photo); background: linear-gradient(transparent, rgba(16, 12, 9, .78)); }
.split-media figcaption { right: calc(var(--photo-frame-inset) + 12px); line-height: 1.45; }

/* Smaller landscape photo in a split (Commercial Cattle intro) */
.split-media.compact { aspect-ratio: 4 / 3; }

/* =====================================================================
   SEMEN SALES: order card, sire sections, pedigree, EPD table
   ===================================================================== */
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.order-card .eyebrow { margin-bottom: var(--space-sm); }
.order-price, .bull-price { display: flex; align-items: baseline; gap: 10px; }
.order-price b, .bull-price b { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: 1; color: var(--red); letter-spacing: -0.02em; }
.order-price span, .bull-price span { font-size: .95rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .12em; }
.order-card > p:not(.eyebrow) { margin: var(--space-sm) 0 var(--space-md); }
.order-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.order-lines li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-lines li > span { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.order-lines a { color: var(--ink); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.order-lines a b { font-weight: 700; margin-right: 6px; }
.order-lines a:hover { color: var(--red); }
.order-sires { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-md); }
.order-sires a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .3s, color .3s; }
.order-sires a::after { content: " ↓"; color: var(--red); }
.order-sires a:hover { border-color: var(--red); color: var(--red); }

.bull-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bull-grid.flip .bull-photo { order: 2; }
.bull-photo { position: relative; margin: 0; border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-2); }
.bull-photo img { display: block; width: 100%; height: auto; }
.bull-photo::after { content: ""; position: absolute; inset: var(--photo-frame-inset); border: 1px solid var(--photo-frame-color); border-radius: calc(var(--radius-photo) - 3px); pointer-events: none; }
.bull-info h2 { margin: 0; }
.bull-reg { margin: var(--space-xs) 0 0; color: var(--muted); font-weight: 600; }
.bull-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: var(--space-md) 0; padding: var(--space-md) 0; border-block: 1px solid var(--line); }
.bull-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bull-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.bull-info .btn-row { margin-top: var(--space-md); }

.bull-detail { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--space-lg); margin-top: clamp(40px, 5vw, 64px); }
.bull-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); }
.sire-section.alt .bull-block { background: var(--paper); }
.bull-block h3 { margin: 0; font-size: 1.25rem; }
.bull-note { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.bull-note a { color: var(--red); font-weight: 600; }
.bull-highlights { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: grid; gap: 10px; }
.bull-highlights li { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; }
.bull-highlights b { font-family: var(--serif); font-weight: 700; font-size: .9rem; text-align: center; color: #fff; background: var(--red); border-radius: 999px; padding: 6px 0; }
.bull-highlights span { font-size: .95rem; color: var(--ink-2); }

.ped { display: grid; grid-template-columns: repeat(var(--ped-cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--ped-rows), auto); gap: 6px 14px; margin-top: var(--space-md); }
.ped-cell { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; border-left: 3px solid var(--wheat); background: rgba(201, 163, 92, .1); border-radius: 0 6px 6px 0; min-width: 0; }
.ped-cell.g1 { border-left-color: var(--red); background: rgba(142, 47, 31, .07); }
.ped-cell small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.ped-cell b { font-size: .86rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ped-cell span { font-size: .74rem; color: var(--muted); }
.ped-cell.g3 b { font-size: .8rem; font-weight: 600; }

.epd-block { margin-top: var(--space-lg); }
.epd-head { margin-bottom: var(--space-md); }
.epd-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.epd-wrap:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.epd-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: .86rem; text-align: center; font-variant-numeric: tabular-nums; }
.epd-table th, .epd-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.epd-table thead th { background: var(--red-deep); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .04em; }
.epd-table thead th small { display: block; font-weight: 500; font-size: .66rem; opacity: .75; letter-spacing: 0; }
.epd-table tbody th { text-align: left; padding-left: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); position: sticky; left: 0; background: var(--card); }
.epd-table thead th:first-child { position: sticky; left: 0; text-align: left; padding-left: 14px; }
.epd-main td { font-weight: 700; color: var(--ink); }
.epd-acc td, .epd-avg td { color: var(--muted); }
.epd-avg td, .epd-avg th { border-bottom: 0; }
.epd-pct td { font-weight: 600; }
.epd-pct td.top { background: rgba(142, 47, 31, .12); color: var(--red-deep); font-weight: 800; }
.epd-hint { margin-top: 10px; }

@media (max-width: 960px) {
  .bull-grid, .bull-detail { grid-template-columns: 1fr; }
  .bull-grid.flip .bull-photo { order: 0; }
}
@media (max-width: 640px) {
  .ped { display: block; }
  .ped-cell { margin-bottom: 6px; }
  .ped-cell.g2 { margin-left: 18px; }
  .ped-cell.g3 { margin-left: 36px; }
  .bull-facts { grid-template-columns: 1fr 1fr; }
  .bull-info .btn-row .btn { width: 100%; justify-content: center; }
}
.epd-table { table-layout: fixed; }
.epd-table thead th:first-child { width: 120px; }
.epd-table th:not(:first-child), .epd-table td { padding-inline: 2px; }
.epd-table { font-size: .8rem; }
.epd-table thead th:first-child { width: 104px; }
.epd-main td { letter-spacing: -0.01em; }
.epd-table td, .epd-table thead th:not(:first-child) { text-align: center; }
.epd-table td { font-size: .84rem; }

/* =====================================================================
   LIVESTOCK FOR SALE: private treaty listings
   ===================================================================== */
.listing-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg); padding-bottom: var(--space-md); margin-bottom: var(--space-lg); border-bottom: 1px solid var(--line); }
.listing-bar .eyebrow { margin: 0; }
.listing-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-jump a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--card); transition: border-color .3s, color .3s; }
.listing-jump a:hover { border-color: var(--red); color: var(--red); }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.listing { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 110px; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.listing:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.listing-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.listing:hover .listing-media img { transform: scale(1.04); }
.listing-media::after { content: ""; position: absolute; inset: var(--photo-frame-inset); border: 1px solid var(--photo-frame-color); border-radius: 4px; pointer-events: none; }
.listing-badge { position: absolute; z-index: 1; top: calc(var(--photo-frame-inset) + 12px); left: calc(var(--photo-frame-inset) + 12px); padding: 6px 12px; border-radius: 999px; background: rgba(22, 18, 14, .78); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(4px); }
.listing-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 32px); }
.listing-cat { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-xs); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.listing-cat span { color: var(--muted); padding-right: 10px; border-right: 1px solid var(--line); }
.listing h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.listing-sub { margin: 4px 0 0; font-weight: 600; color: var(--ink-2); }
.listing-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: var(--space-sm) 0 0; padding: 0; }
.listing-tags li { padding: 4px 10px; border-radius: 4px; background: var(--paper-2); font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.listing-body > p:not(.listing-cat):not(.listing-sub) { margin: var(--space-sm) 0 0; }
.listing-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: auto; padding-top: var(--space-md); }
.listing-body > :nth-last-child(2) { margin-bottom: var(--space-md); }
.listing-foot { border-top: 1px solid var(--line); }
.listing-status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.listing-status i { width: 8px; height: 8px; border-radius: 50%; background: #4f8a3c; box-shadow: 0 0 0 4px rgba(79, 138, 60, .16); }
.listing-actions { display: flex; align-items: center; gap: 18px; }
.listing-wide { grid-column: 1 / -1; flex-direction: row; }
.listing-wide .listing-media { aspect-ratio: auto; flex: 0 0 46%; min-height: 360px; }
.pkg-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg-list li { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 8px; background: var(--paper); border-top: 3px solid var(--red); }
.pkg-list b { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--red); }
.pkg-list span { font-size: .88rem; line-height: 1.4; color: var(--ink-2); }
.listing-more { margin: var(--space-lg) 0 0; text-align: center; color: var(--ink-2); }
.listing-more a { color: var(--red); font-weight: 600; }
@media (max-width: 960px) {
  .listing-grid { grid-template-columns: 1fr; }
  .listing-wide { flex-direction: column; }
  .listing-wide .listing-media { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) {
  .pkg-list { grid-template-columns: 1fr; }
  .pkg-list li { flex-direction: row; align-items: center; gap: 14px; }
  .pkg-list b { min-width: 64px; }
  .listing-actions { width: 100%; justify-content: space-between; }
}
.listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.listing-foot { flex-direction: column; align-items: stretch; }
.listing-actions { justify-content: space-between; }
.listing-wide .listing-foot { flex-direction: row; align-items: center; }
@media (max-width: 1100px) { .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .listing-grid .listing:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 720px) { .listing-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .listing-wide .listing-media { flex: none; } .listing-wide .listing-foot { flex-direction: column; align-items: stretch; } }
@media (max-width: 560px) { .pkg-list b { flex: 0 0 92px; min-width: 0; } .listing-wide .listing-actions .btn { width: 100%; justify-content: center; } }

/* Leadership timeline: six entries (Roy and Tom listed separately) */
@media (min-width: 861px) {
  .generations { grid-template-columns: repeat(6, 1fr); }
  .generations::before { left: 8%; right: 8%; }
}

/* Press page: Len's quote under the headline */
.hero-quote { margin: var(--space-md) 0 0; max-width: 46ch; padding-left: 20px; border-left: 3px solid var(--wheat); }
.hero-quote blockquote { margin: 0; font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.4 var(--display); color: var(--paper); letter-spacing: -0.01em; }
.hero-quote figcaption { margin-top: 12px; font: 700 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wheat); }
.hero-quote figcaption span { color: rgba(245, 239, 228, .7); font-weight: 600; letter-spacing: .08em; text-transform: none; font-size: .82rem; }

/* Semen Sales: both bull photos the same width whichever side they sit on */
@media (min-width: 961px) { .bull-grid.flip { grid-template-columns: 1fr 1.25fr; } }

/* Commercial Cattle: Len's quote */
.len-quote { margin: var(--space-md) 0 0; padding: var(--space-md) var(--space-md) var(--space-md) 24px; border-left: 3px solid var(--red); background: var(--card); border-radius: 0 var(--radius-photo) var(--radius-photo) 0; }
.len-quote blockquote { margin: 0; font: 500 clamp(1.05rem, 1.5vw, 1.2rem)/1.55 var(--display); color: var(--ink); }
.len-quote figcaption { margin-top: 12px; font: 700 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* Livestock for Sale header: keep the grazing heads in frame */
.page-hero-bg[data-bg="livestockHeader"] { background-position: center 72%; }
