:root {
  --bg: #f4efe4;
  --bg-2: #efe6d4;
  --ink: #1c1610;
  --ink-soft: #4a4034;
  --green: #2f4a32;
  --green-dark: #1c2d1e;
  --rust: #b4532a;
  --rust-hover: #8f3e1d;
  --gold: #c9842a;
  --card: #fffdf7;
  --line: #d7ccb6;
  --sold: #8b1e1e;
  --reserved: #6b4f1d;
  --ok: #2f4a32;
  --max: 980px;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
header.site {
  background: var(--green-dark);
  color: #f6f1e6;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 4px solid var(--gold);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo { width: 128px; height: 128px; border-radius: 50%; background: #111; object-fit: cover; }
.brand { flex: 1; }
.brand small { display: block; color: #d7c8a4; font-family: system-ui, sans-serif; font-size: 0.78rem; letter-spacing: 0.04em; }
.brand a { color: inherit; text-decoration: none; }
nav.top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.8rem;
  max-width: var(--max);
  margin: 0 auto;
}
nav.top a {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: #f6f1e6;
  background: #2a4030;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
nav.top a[aria-current="page"] { background: var(--gold); color: #1c1610; }
nav.top a:hover { background: #3a5640; }
main { max-width: var(--max); margin: 0 auto; padding: 1.2rem 1rem 3rem; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--green-dark); }
h1 { font-size: 2rem; margin: 0.2rem 0 0.8rem; }
h2 { font-size: 1.45rem; margin: 1.6rem 0 0.6rem; }
h3 { font-size: 1.2rem; margin: 1.2rem 0 0.4rem; }
p { margin: 0 0 0.9rem; }
.lede { font-size: 1.12rem; }
.hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(28,22,16,0.18);
}
.hero img { width: 100%; max-height: 420px; object-fit: cover; }
.btn, .btn-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  margin: 0.3rem 0.4rem 0.3rem 0;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-hover); color: #fff; }
.btn-secondary { background: var(--green); color: #fff; }
.btn-secondary:hover { background: #223826; color: #fff; }
.btn-ghost { background: #fff; color: var(--green-dark); border: 2px solid var(--green); }
.btn-live { background: #1c1610; color: #ffd27a; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}
.card img { border-radius: 10px; margin: 0.4rem 0 0.8rem; width: 100%; object-fit: cover; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  html { font-size: 19px; }
}
.badge {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}
.badge-sold { background: #f4d2d2; color: var(--sold); }
.badge-reserved { background: #f3e3b8; color: var(--reserved); }
.badge-avail { background: #dce8d8; color: var(--ok); }
.price { font-family: system-ui, sans-serif; font-weight: 800; color: var(--green-dark); }
.gallery { display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.steps { counter-reset: step; }
.steps h3::before { }
ol.how { padding-left: 1.2rem; }
ol.how li { margin-bottom: 0.5rem; }
footer.site {
  background: var(--green-dark);
  color: #e8dfcc;
  padding: 1.6rem 1rem 2.4rem;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}
footer.site a { color: #ffd27a; }
.foot-inner { max-width: var(--max); margin: 0 auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0 1rem; }
.foot-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.note { background: #fff4d6; border-left: 6px solid var(--gold); padding: 0.8rem 1rem; margin: 1rem 0; }
.acro span { color: var(--rust); font-weight: 800; }

.beef-listing {
  position: relative;
  overflow: hidden;
  min-height: 13rem;
}
.beef-listing .listing-cow {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: 72%;
  height: auto;
  max-width: none;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  margin: 0;
  border-radius: 0;
}
.beef-listing > *:not(.listing-cow) { position: relative; z-index: 1; }
.beef-listing.listing-reserved {
  background-color: #fff8ea;
  border-color: #e0c889;
}
.beef-listing.listing-sold {
  background-color: #f8ece8;
  border-color: #e0b3a8;
}
.beef-listing.listing-sold .listing-cow { opacity: 0.62; }

body.page-photo header.site {
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
body.home header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.42), rgba(12, 22, 14, 0.55)),
    url("../images/IMG_0599.jpg");
}
body.about header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.42), rgba(12, 22, 14, 0.55)),
    url("../images/IMG_0598.jpg");
}
body.buying header.site,
body.reserve header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.42), rgba(12, 22, 14, 0.55)),
    url("../images/IMG_0828.JPG");
}
body.breeding header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.42), rgba(12, 22, 14, 0.55)),
    url("../images/IMG_0276.jpeg");
}
body.contact header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.38), rgba(12, 22, 14, 0.52)),
    url("../images/contact-mailbox-mockup.jpg");
  background-position: 88% 78%;
}
body.page-photo .header-inner {
  padding: 1.15rem 1rem 0.85rem;
}
body.page-photo .logo {
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}
body.page-photo nav.top a {
  background: rgba(20, 32, 22, 0.62);
  backdrop-filter: blur(4px);
}
body.page-photo nav.top a[aria-current="page"] {
  background: var(--gold);
}

body.blog header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.42), rgba(12, 22, 14, 0.55)),
    url("../images/IMG_0838.jpg");
}
body.blog-post header.site {
  background-image:
    linear-gradient(rgba(12, 22, 14, 0.42), rgba(12, 22, 14, 0.55)),
    url("../images/IMG_0838.jpg");
}
.post-date {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}
.kicker { font-family: system-ui, sans-serif; font-size: 0.95rem; margin-bottom: 0.4rem; }
.blog-list { display: grid; gap: 1rem; }
.blog-card { text-decoration: none; color: inherit; display: block; }
.blog-card h2 { margin-top: 0.4rem; font-size: 1.28rem; }
.blog-card img { border-radius: 10px; margin: 0 0 0.7rem; width: 100%; max-height: 240px; object-fit: cover; }
.blog-post-article img { border-radius: 12px; margin: 0.6rem 0 1rem; }

.blog-beside {
  display: grid;
  gap: 1.1rem;
  align-items: start;
}
.blog-beside .bot-pic {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 14px;
}
@media (min-width: 720px) {
  .blog-beside { grid-template-columns: 1fr 240px; }
  .blog-beside .bot-pic { max-width: none; margin: 0; }
}
.byline { font-weight: 700; color: var(--green-dark); }


.cost-board {
  background: var(--card);
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 0.4rem;
  margin: 1.1rem 0 1.4rem;
}
.cost-board h2 { margin: 0 0 0.35rem; font-size: 1.5rem; }
.cost-board .lede { margin-bottom: 0.9rem; }
.cost-grid {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
}
@media (min-width: 720px) {
  .cost-grid { grid-template-columns: 1fr 1fr; }
  .cost-grid .cost-total { grid-column: 1 / -1; }
}
.cost-item {
  background: #f6f1e4;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}
.cost-item dt {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.25rem;
}
.cost-item dd {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--green-dark);
  line-height: 1.15;
}
.cost-item .when {
  display: block;
  margin-top: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.cost-item.cost-total {
  background: var(--green-dark);
  color: #f6f1e6;
}
.cost-item.cost-total dt { color: #d7c8a4; }
.cost-item.cost-total dd { color: #fff; font-size: 1.7rem; }
.cost-item.cost-total .when { color: #e8dfcc; }
.cost-note { font-size: 0.98rem; margin: 0 0 1rem; }

.how-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  counter-reset: how;
}
.how-list li {
  counter-increment: how;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.05rem 0.7rem 4.1rem;
  margin: 0 0 0.75rem;
  position: relative;
}
.how-list li::before {
  content: counter(how);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-list h3 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.15rem;
}
.how-list p:last-child { margin-bottom: 0.15rem; }

.example-photos .card img {
  max-height: 280px;
  object-fit: cover;
}
.downloads .card img {
  max-height: 220px;
  object-fit: contain;
  background: #fff;
}

.sold-gallery {
  position: relative;
}
.sold-gallery img {
  filter: saturate(0.85) brightness(0.9);
}
.sold-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  z-index: 3;
  pointer-events: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b1e1e;
  border: 6px solid #8b1e1e;
  padding: 0.12rem 0.75rem 0.18rem;
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.9);
  box-shadow: 4px 4px 0 rgba(28, 22, 16, 0.18);
  line-height: 1;
  white-space: nowrap;
}

header.site .logo,
header.site .header-inner,
header.site .brand small,
header.site nav.top,
header.site nav.top a {
  transition: width .2s ease, height .2s ease, padding .2s ease, min-height .2s ease, gap .2s ease, font-size .2s ease, opacity .2s ease;
}
header.site.compact .logo { width: 52px; height: 52px; }
header.site.compact .header-inner { padding: 0.25rem 1rem; gap: 0.65rem; }
header.site.compact .brand small { height: 0; opacity: 0; overflow: hidden; margin: 0; }
header.site.compact .brand strong { font-size: 1.05rem; }
header.site.compact nav.top { padding-bottom: 0.45rem; gap: 0.3rem; }
header.site.compact nav.top a { min-height: 40px; padding: 0.35rem 0.7rem; font-size: 0.92rem; }
header.site.compact { border-bottom-width: 3px; }
@media (prefers-reduced-motion: reduce) {
  header.site .logo, header.site .header-inner, header.site .brand small, header.site nav.top, header.site nav.top a { transition: none; }
}

.home main article {
  min-height: calc(100vh - 18rem);
  display: flex;
  flex-direction: column;
}
.home .home-blog { margin-top: auto; padding-top: 2rem; }
