:root {
  color-scheme: light;
  --ink: #11181b;
  --ink-soft: #263337;
  --paper: #e9e0cf;
  --paper-deep: #d8c9ad;
  --brand: #c9b58f;
  --sky: #89a9c0;
  --mountain: #526a76;
  --pasture: #596848;
  --leather: #7c4f37;
  --line: rgba(17, 24, 27, 0.2);
  --display: "Bison", "Bison Bold", Impact, "Arial Narrow", sans-serif;
  --body: "Avenir Next", Avenir, Verdana, ui-sans-serif, system-ui, sans-serif;
  --sans: "Avenir Next", Avenir, Verdana, ui-sans-serif, system-ui, sans-serif;
  --max: 1240px;
}

@font-face {
  font-family: "Bison";
  src: local("Bison Bold"), local("Bison-Bold");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-family: var(--sans);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 0.75rem clamp(1.25rem, 4vw, 4rem);
  color: #fff;
  transition: background 220ms ease, min-height 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 4.25rem;
  background: rgba(17, 24, 27, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.header-brand { width: 8.5rem; }
.header-brand img { width: 100%; height: auto; }

.site-nav {
  display: flex;
  gap: clamp(1.3rem, 3vw, 2.7rem);
  align-items: center;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.4rem;
  height: 1px;
  background: var(--brand);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.5rem;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 1.6rem;
  height: 1px;
  margin: 0.35rem 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; object-position: 50% 48%; }

.hero-shade {
  background:
    linear-gradient(180deg, rgba(10, 16, 18, 0.5) 0%, rgba(10, 16, 18, 0.12) 33%, rgba(10, 16, 18, 0.6) 100%),
    linear-gradient(90deg, rgba(10, 16, 18, 0.3), transparent 45%, rgba(10, 16, 18, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(88vw, 74rem);
  text-align: center;
  padding: 7rem 1rem 5rem;
}

.hero-title {
  margin: 0;
  color: var(--brand);
  font-family: var(--display);
  font-size: clamp(5.5rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.28);
}

.hero-title span { display: block; }

.hero-title span:last-child {
  margin-top: 0.16em;
  font-size: 0.94em;
  letter-spacing: 0.04em;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow.dark { color: var(--leather); }

.hero-line {
  max-width: 42rem;
  margin: 1.4rem auto 2rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.35rem;
}

.hero-caption {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1.25rem;
  z-index: 2;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.section-pad { padding: clamp(5.5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }

.story { background: var(--paper); }

.section-kicker {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  color: var(--leather);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.display-year {
  margin: 0;
  color: rgba(124, 79, 55, 0.13);
  font-family: var(--display);
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: -0.035em;
}

h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

h2 { font-size: clamp(3.5rem, 7.5vw, 7rem); }
h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); }

.story-heading h2 { margin-top: -1rem; }
.story-copy { max-width: 40rem; }
.story-copy p { margin: 0 0 1.45rem; }
.story-copy .lead {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.45;
  color: var(--leather);
  font-weight: 500;
}

.founder-photo {
  grid-column: 1 / -1;
  width: min(100%, 62rem);
  margin: clamp(2rem, 5vw, 5rem) auto 0;
}

.founder-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 75 / 47;
  object-fit: contain;
  background: var(--paper-deep);
  border: 1px solid rgba(17, 24, 27, 0.14);
}

.founder-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.founder-photo figcaption strong {
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.image-break {
  position: relative;
  min-height: 80svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.image-break > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 16, 18, 0.76), rgba(10, 16, 18, 0.08) 65%);
}

.image-break-copy {
  position: relative;
  z-index: 2;
  width: min(45rem, 82vw);
  padding: clamp(2rem, 7vw, 6rem);
}

.image-break blockquote {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.12;
  font-family: var(--body);
  font-weight: 500;
  text-wrap: balance;
}

.principle {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.principle-number {
  font-family: var(--display);
  font-size: clamp(7rem, 15vw, 12rem);
  line-height: 0.8;
  color: rgba(17, 24, 27, 0.12);
}

.principle-body { max-width: 48rem; }
.principle-body h2 { max-width: 12ch; }
.principle-body p:not(.eyebrow) { max-width: 38rem; margin-top: 2rem; }

.cattle-section {
  background: var(--ink);
  color: var(--paper);
}

.cattle-intro {
  max-width: var(--max);
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 6rem;
  align-items: end;
}

.cattle-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -0.5rem; }
.cattle-intro h2 { max-width: 9ch; }
.cattle-intro > p:last-child { max-width: 36rem; color: rgba(233, 224, 207, 0.78); }

.breed-line {
  max-width: var(--max);
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(233, 224, 207, 0.24);
  border-bottom: 1px solid rgba(233, 224, 207, 0.24);
}

.breed {
  min-height: 19rem;
  padding: 2.25rem;
  border-right: 1px solid rgba(233, 224, 207, 0.24);
}

.breed:last-child { border-right: 0; }
.breed.current { background: var(--leather); }
.breed-era {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.breed h3 { margin: 3.2rem 0 1.5rem; }
.breed p:last-child { color: rgba(233, 224, 207, 0.72); line-height: 1.6; }
.breed.current p { color: var(--paper); }

.wide-photo { max-width: var(--max); margin: 0 auto; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wide-photo figcaption {
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(233, 224, 207, 0.6);
}

.working-days { overflow: hidden; }
.working-title {
  max-width: var(--max);
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.photo-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(20rem, 1.3fr);
  grid-template-rows: auto auto;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.photo-grid figure { margin: 0; overflow: hidden; }
.photo-tall { grid-row: 1 / 3; }
.photo-tall img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.working-copy {
  padding: clamp(1rem, 3vw, 2.5rem) 0 0 clamp(0rem, 4vw, 4rem);
  max-width: 42rem;
}

.working-copy p:first-child {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  color: var(--leather);
}

.stewardship {
  position: relative;
  min-height: 48rem;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 7vw, 7rem);
  overflow: hidden;
  background: var(--pasture);
}

.stewardship > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stewardship::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 27, 0.15), rgba(17, 24, 27, 0.54));
}

.stewardship-panel {
  position: relative;
  z-index: 2;
  width: min(39rem, 100%);
  margin-left: auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: rgba(17, 24, 27, 0.92);
  color: var(--paper);
}

.stewardship-panel h2 { font-size: clamp(3rem, 6vw, 5.5rem); }
.stewardship-panel p:not(.eyebrow) { color: rgba(233, 224, 207, 0.8); }

.facts { background: var(--paper); }
.facts-heading,
.facts-list,
.faq,
.sources { max-width: var(--max); margin-left: auto; margin-right: auto; }
.facts-heading { margin-bottom: 4rem; }

.facts-list {
  margin-top: 0;
  margin-bottom: 6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.facts-list div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.55fr) 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.facts-list div:nth-child(odd) { padding-right: 2.5rem; }
.facts-list div:nth-child(even) { padding-left: 2.5rem; border-left: 1px solid var(--line); }
.facts-list dt {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leather);
}
.facts-list dd { margin: 0; line-height: 1.45; }

.faq { max-width: 54rem; }
.faq h3 { margin-bottom: 2rem; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-family: var(--sans);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 43rem; margin: 0 0 1.5rem; }

.sources {
  max-width: 54rem;
  margin-top: 4rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sources summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sources-copy { margin-top: 1.5rem; font-size: 0.93rem; }
.sources-copy a { text-underline-offset: 0.2em; }

.site-footer {
  display: grid;
  justify-items: center;
  padding: clamp(5rem, 10vw, 9rem) 1.25rem 2rem;
  text-align: center;
  background: var(--ink);
  color: var(--brand);
}
.site-footer img {
  width: min(28rem, 72vw);
  height: auto;
  aspect-ratio: 1200 / 433;
  object-fit: contain;
  margin-bottom: 2.25rem;
}
.site-footer p {
  margin: 0.15rem 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer .copyright { margin-top: 3.5rem; color: rgba(201, 181, 143, 0.55); }

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  body { font-size: 1rem; }
  .site-header { min-height: 4.5rem; }
  .header-brand { width: 7.2rem; }
  .menu-button { display: block; z-index: 2; }
  .menu-button { position: absolute; right: 1.25rem; top: 1.05rem; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 2rem;
    text-align: center;
    background: rgba(17, 24, 27, 0.98);
    font-size: 1rem;
    transform: translateY(-105%);
    transition: transform 220ms ease;
  }
  .site-nav.is-open { transform: translateY(0); }
  .hero { min-height: 92svh; }
  .hero-content { width: 92vw; }
  .hero-caption { display: none; }
  .story-grid,
  .principle,
  .cattle-intro { grid-template-columns: 1fr; }
  .story-grid { gap: 3.5rem; }
  .display-year { font-size: 8rem; }
  .image-break { min-height: 70svh; }
  .principle-number { font-size: 7rem; }
  .cattle-intro .eyebrow { grid-column: auto; }
  .breed-line { grid-template-columns: 1fr; }
  .breed { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(233, 224, 207, 0.24); }
  .breed:last-child { border-bottom: 0; }
  .breed h3 { margin-top: 2rem; }
  .working-title { display: block; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-tall { grid-row: auto; }
  .photo-tall img { aspect-ratio: 4 / 5; }
  .working-copy { padding-left: 0; }
  .stewardship { min-height: auto; padding: 55vh 1.1rem 1.1rem; align-items: end; }
  .stewardship-panel { width: 100%; }
  .facts-list { grid-template-columns: 1fr; }
  .facts-list div:nth-child(odd),
  .facts-list div:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
}

@media (max-width: 520px) {
  .section-pad { padding-left: 1.1rem; padding-right: 1.1rem; }
  h2 { font-size: clamp(3.25rem, 16vw, 4.5rem); }
  .hero-image { object-position: 52% 50%; }
  .hero-content { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .hero-content > .eyebrow {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    letter-spacing: 0.15em;
  }
  .hero-title { width: 100%; font-size: 13.5vw; letter-spacing: 0; line-height: 0.82; }
  .hero-title span:first-child { white-space: nowrap; }
  .hero-line {
    width: auto;
    max-width: 18rem;
    margin: 1.35rem auto 2rem;
    font-size: 1.05rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .image-break-copy { width: 96vw; padding: 2rem 1.1rem; }
  .photo-grid { gap: 1.1rem; }
  .founder-photo figcaption { display: block; line-height: 1.5; }
  .founder-photo figcaption strong { display: block; margin-bottom: 0.25rem; }
  .facts-list div { grid-template-columns: 7.4rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
}
