/* ==========================================================================
   Van Engen Ranch — site styles
   Palette & type per Devon's brand concept #1 (sky-blue dropped).
   Voice of the visuals: quietly premium. Editorial, warm, unhurried.
   ========================================================================== */

:root {
  /* Brand palette */
  --brown:      #513229;
  --brown-deep: #3d2620;
  --cream:      #F4F1E2;
  --sage:       #D7D4B1;
  --sage-deep:  #c3c09b;
  --rust:       #A1513C;
  --rust-deep:  #8a3f2e;
  --bg:         #FBF9F2;
  --ink:        #2b2019;

  /* Derived neutrals — muted passes AA on --bg (4.9:1) */
  --muted:      #6b5a4c;
  --muted-on-brown: #c9bba6;
  --line:       #e4dccd;
  --line-soft:  #efe9dc;

  /* Type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script:  'Sacramento', 'Snell Roundhand', cursive;

  /* Metrics */
  --head-h: 76px;          /* sticky header height, for anchor offsets */
  --wrap: 1140px;
  --gut: clamp(20px, 5vw, 32px);
  --section-y: clamp(64px, 9vw, 116px);

  /* Elegant Fraunces: no wonk, minimal softness, display optical size */
  --fr-display: 'SOFT' 0, 'WONK' 0, 'opsz' 120;
  --fr-text:    'SOFT' 12, 'WONK' 0, 'opsz' 24;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  color-scheme: light;      /* keep UA from inverting form controls */
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* height:auto is load-bearing — without it the HTML height attribute wins over
   a CSS width and images stretch. */
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Visible, on-brand focus ring everywhere */
:focus-visible {
  outline: 2.5px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 780px; }

/* Anchor targets must clear the sticky header. */
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brown); color: var(--cream);
  padding: 12px 20px; font-size: 14px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- headings */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: var(--fr-display);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.018em;
  color: var(--brown);
  text-wrap: balance;
}

.kicker {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rust);
  margin-bottom: 0.9rem;
}

.sec-head { max-width: 42rem; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.sec-head p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin-top: 1rem;
  text-wrap: pretty;
}

section { padding: var(--section-y) 0; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--body);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.9rem 1.6rem;
  border: 1.5px solid var(--brown);
  border-radius: 2px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center;
}
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover { background: var(--brown-deep); border-color: var(--brown-deep); }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-rust { background: var(--rust); border-color: var(--rust); color: var(--cream); }
.btn-rust:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
.btn[aria-disabled='true'],
.btn:disabled {
  opacity: .45; cursor: not-allowed; pointer-events: none;
}
.btn-block { width: 100%; }

/* --------------------------------------------------------------------- nav */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-head { background: rgba(251, 249, 242, .94); }
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}

/* Wordmark lockup: script "Van" stacked over serif "ENGEN RANCH" */
.lockup { display: inline-flex; flex-direction: column; line-height: .82; padding: 6px 0; }
.lockup .van {
  font-family: var(--script);
  font-size: 2.1rem;
  color: var(--rust);
  /* Sacramento carries a deep font descent; tuck the script toward the
     wordmark, but not far enough for the glyphs to touch the caps. */
  margin-bottom: -.09em;
  margin-left: .06em;
}
.lockup .engen {
  font-family: var(--display);
  font-variation-settings: var(--fr-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brown);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a { font-size: 0.93rem; font-weight: 500; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--rust); }
.site-nav .btn { padding: .65rem 1.2rem; font-size: .88rem; }

.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line);
  border-radius: 2px; padding: .5rem .7rem;
  color: var(--brown); cursor: pointer; font: inherit; font-size: 1.15rem;
  line-height: 1;
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(115% 85% at 78% -12%, color-mix(in srgb, var(--sage) 62%, transparent), transparent 62%),
    linear-gradient(180deg, #F7F2E5 0%, var(--bg) 82%);
}
/* Paper grain — tiny inline SVG turbulence, no image request */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: .05;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  /* padding-block, NOT the padding shorthand — .wrap owns the inline gutter */
  padding-block: clamp(52px, 8vw, 92px) clamp(72px, 9vw, 104px);
}

.hero-lockup { display: block; margin-bottom: 1.4rem; }
.hero-lockup .van {
  display: block;
  font-family: var(--script);
  font-size: clamp(3.4rem, 8.5vw, 6.2rem);
  line-height: .8;
  color: var(--rust);
  margin-left: .04em;
}
.hero-lockup .engen {
  display: block;
  font-family: var(--display);
  font-variation-settings: var(--fr-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 6.6vw, 4.6rem);
  line-height: .96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--brown);
}
.hero-lockup .ranch {
  display: block;
  font-family: var(--display);
  font-variation-settings: var(--fr-text);
  font-weight: 400;
  font-size: clamp(.92rem, 2.1vw, 1.35rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: .8;
  margin-top: .5rem;
}

.hero .tagline {
  font-family: var(--display);
  font-variation-settings: var(--fr-text);
  font-style: italic;
  font-size: clamp(1.32rem, 2.8vw, 1.95rem);
  line-height: 1.25;
  color: var(--brown);
  margin-bottom: .85rem;
  text-wrap: balance;
}
.hero .sub {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 1.9rem;
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-emblem { display: flex; justify-content: center; align-items: center; }
.hero-emblem svg {
  width: min(230px, 74%);
  height: auto;
  color: var(--brown);
  opacity: .13;
}

.hero-strip {
  position: relative;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--sage) 34%, transparent);
  font-size: .84rem;
  letter-spacing: .06em;
  color: var(--brown);
  text-align: center;
  padding: .85rem 0;
}

/* ------------------------------------------------------------------ shares */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;
}
.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem 1.35rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -18px rgba(81, 50, 41, .32);
  border-color: var(--sage-deep);
}
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.card .frac {
  font-family: var(--display);
  font-variation-settings: var(--fr-text);
  font-size: .9rem; font-weight: 600; color: var(--rust);
}
.card h3 { font-size: 1.42rem; margin: .15rem 0 .35rem; }
/* Reserve two lines so the spec rows below line up across all four cards.
   If a "good for" line ever grows to three, bump this to match. */
.card .goodfor { font-size: .86rem; color: var(--muted); min-height: 2.9rem; }
.card dl {
  margin: 1.1rem 0 1.3rem;
  border-top: 1px solid var(--line-soft);
  font-size: .855rem;
}
.card dl > div {
  display: flex; justify-content: space-between; gap: .7rem;
  padding: .58rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.card dt { color: var(--muted); flex: 0 0 auto; }
.card dd { font-weight: 600; text-align: right; }
.card .btn { margin-top: auto; }

.avail {
  font-size: .66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em;
  padding: .3rem .5rem; border-radius: 2px;
  white-space: nowrap;
}
.avail-low  { background: color-mix(in srgb, var(--rust) 13%, transparent); color: var(--rust-deep); }
.avail-none { background: var(--line); color: var(--muted); }
.card.is-out { opacity: .62; }
.card.is-out:hover { transform: none; box-shadow: none; border-color: var(--line); }

.shares-foot {
  margin-top: 1.6rem; text-align: center;
  font-size: .95rem; color: var(--muted);
}
.shares-foot a { color: var(--rust); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------- cuts (beef)
   A primal map rather than an illustration: front-to-back along the top row,
   belly and legs beneath. Laid out as real text on a 24-column grid so it
   reflows, translates and reads to a screen reader.                        */
#cuts { background: var(--cream); border-block: 1px solid var(--line); }

.cut-axis {
  display: flex; align-items: center; gap: .9rem;
  font-size: .66rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: .6rem;
}
.cut-axis i { flex: 1 1 auto; height: 1px; background: var(--line); }

.cut-rowlabel {
  font-size: .64rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  margin: 1.1rem 0 .4rem;
}
.cut-rowlabel:first-of-type { margin-top: 0; }

.primals {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 6px;
}
.pr {
  border-radius: 3px;
  padding: .85rem .9rem .9rem;
  display: flex; flex-direction: column;
  min-width: 0;
}
.pr .nm {
  font-family: var(--display);
  font-variation-settings: var(--fr-text);
  font-weight: 600; font-size: 1rem;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1.1;
}
.pr .cook {
  font-size: .63rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; margin-top: .2rem;
}
.pr ul { list-style: none; margin: .6rem 0 0; font-size: .82rem; line-height: 1.5; }

.pr-up  { background: var(--brown); color: var(--cream); }
.pr-up .cook { color: var(--sage); }
.pr-low { background: var(--sage); color: var(--brown); }
.pr-low .cook { color: var(--rust); }
.pr-end { background: color-mix(in srgb, var(--sage) 55%, var(--cream)); color: var(--brown); }
.pr-end .cook { color: var(--rust); }
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .pr-end { background: #e6e2c6; }
}
.cuts-note {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 1.15rem 1.4rem;
  background: color-mix(in srgb, #fff 70%, transparent);
  border-left: 3px solid var(--rust);
  font-size: .97rem;
  color: var(--brown);
  max-width: 60rem;
}

/* --------------------------------------------------------------------- how */
#how { background: var(--sage); }
#how .sec-head p { color: color-mix(in srgb, var(--brown) 82%, transparent); }
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  list-style: none;
}
.step .n {
  font-family: var(--display);
  font-variation-settings: var(--fr-display);
  font-size: 2.6rem; line-height: 1;
  color: var(--rust);
  margin-bottom: .5rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { font-size: .93rem; color: #58493d; }

.how-foot {
  margin-top: clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}
.note {
  background: rgba(255, 255, 255, .58);
  border-left: 3px solid var(--rust);
  padding: 1.15rem 1.4rem;
  font-size: .97rem;
  color: var(--brown);
}

/* ---------------------------------------------------------------- pickup map
   Equirectangular and scaled for latitude, so the geography is proportioned
   rather than stretched. The ranch is shown as a region, not a pin — the
   exact place name is still unconfirmed, and ranches don't publish addresses. */
.mapcard {
  background: rgba(255, 255, 255, .58);
  border-radius: 3px;
  padding: 1.1rem 1.2rem 1.2rem;
}
.mapcard svg { width: 100%; height: auto; }
.mapcard figcaption {
  margin-top: .7rem;
  font-size: .82rem;
  line-height: 1.5;
  color: #58493d;
}
.map-water { fill: none; stroke: var(--brown); stroke-width: 3; opacity: .3; stroke-linecap: round; }
.map-border { fill: none; stroke: var(--brown); stroke-width: 2; opacity: .45; stroke-dasharray: 9 7; }
.map-state {
  font-size: 25px; font-weight: 600; letter-spacing: .22em;
  fill: var(--brown); opacity: .32; text-transform: uppercase;
}
.map-town { fill: var(--brown); opacity: .6; }
.map-townlabel { font-size: 23px; fill: var(--brown); opacity: .72; }
.map-anchor { font-size: 25px; font-weight: 600; fill: var(--brown); }
.map-pin-ring { fill: none; stroke: var(--rust); stroke-width: 3.5; }
.map-pin-dot { fill: var(--rust); }
.map-pinlabel { font-size: 26px; font-weight: 600; fill: var(--rust); letter-spacing: .02em; }
.map-region {
  font-size: 24px; font-weight: 600; fill: var(--brown); opacity: .78;
}
.map-glyph { fill: var(--brown); opacity: .2; }

/* -------------------------------------------------------------------- beef */
#beef { background: var(--brown); color: var(--cream); }
#beef h2, #beef h3 { color: var(--cream); }
/* This h2 sits outside .sec-head, so it needs its own breathing room. */
#beef h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); margin-bottom: 1.35rem; }
#beef .kicker { color: var(--sage); }
.beef-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
#beef p {
  color: #e7dccb;
  font-size: 1.04rem;
  margin-bottom: 1rem;
  max-width: 46ch;
  text-wrap: pretty;
}
.badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; list-style: none; }
.badge {
  font-size: .76rem; font-weight: 600; letter-spacing: .03em;
  border: 1px solid rgba(244, 241, 226, .34);
  color: var(--cream);
  padding: .45rem .85rem;
  border-radius: 40px;
}

/* Archival photo — deliberately a small, honestly-labelled inset, not a hero.
   The beef is the product; this is a founder footnote. Faded to black-and-white
   with a warm tint, per the vintage treatment in the brand refs. */
figure.archive { margin: 0; max-width: 330px; margin-left: auto; }
.archive .frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: var(--brown-deep);
}
.archive img {
  width: 100%;
  filter: grayscale(1) contrast(.94) brightness(1.06);
}
.archive .frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--rust), var(--brown));
  mix-blend-mode: color;
  opacity: .3;
  pointer-events: none;
}
.archive figcaption {
  margin-top: .8rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted-on-brown);
}

.pullquote {
  font-family: var(--display);
  font-variation-settings: var(--fr-text);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.28;
  color: var(--sage);
  text-align: center;
  max-width: 46rem;
  margin: clamp(48px, 6vw, 76px) auto 0;
  text-wrap: balance;
}
.pullquote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-on-brown);
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------- faq */
.faq { max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  font-family: var(--display);
  font-variation-settings: var(--fr-text);
  font-size: 1.1rem; font-weight: 600;
  color: var(--brown);
}
.faq summary::-webkit-details-marker { display: none; }
/* Swap the glyph rather than rotating it: a rotated square's bounding box is
   its own diagonal, so it always overflows the summary and forces a scroll. */
.faq summary::after {
  content: '+';
  flex: 0 0 auto;
  width: 1.5rem; height: 1.5rem;
  display: inline-grid; place-items: center;
  font-family: var(--body); font-weight: 400; font-size: 1.45rem;
  line-height: 1;
  color: var(--rust);
}
.faq details[open] summary::after { content: '\00d7'; }
.faq details > div {
  padding-bottom: 1.35rem;
  font-size: .99rem;
  color: #55473c;
  max-width: 68ch;
  text-wrap: pretty;
}
.faq details > div p + p { margin-top: .7rem; }

/* ----------------------------------------------------------------- reserve */
#reserve { background: var(--sage); }
#reserve .sec-head p { color: color-mix(in srgb, var(--brown) 82%, transparent); }
.reserve-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
form.reserve {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(20px, 3vw, 32px);
}
form.reserve .row { display: flex; gap: .9rem; }
form.reserve .row > div { flex: 1 1 0; min-width: 0; }
form.reserve label {
  display: block;
  font-size: .8rem; font-weight: 600; letter-spacing: .015em;
  color: var(--brown);
  margin: .95rem 0 .35rem;
}
form.reserve .req { color: var(--rust); }
form.reserve input,
form.reserve select,
form.reserve textarea {
  width: 100%;
  font-family: var(--body); font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .72rem .85rem;
}
form.reserve textarea { resize: vertical; min-height: 5.5rem; }
form.reserve input:hover, form.reserve select:hover, form.reserve textarea:hover { border-color: var(--sage-deep); }
form.reserve button { margin-top: 1.4rem; }
form.reserve .fine { margin-top: .9rem; font-size: .78rem; color: var(--muted); }

.formmsg {
  margin-top: 1rem;
  padding: .9rem 1.05rem;
  border-radius: 4px;
  font-size: .93rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--sage) 55%, #fff);
  color: var(--brown);
  border-left: 3px solid var(--rust);
}
.formmsg[hidden] { display: none; }
.formmsg.is-error { background: color-mix(in srgb, var(--rust) 12%, #fff); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(20px, 2.6vw, 28px);
}
.panel + .panel { margin-top: 1.1rem; }
.panel h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.panel p { font-size: .95rem; color: #55473c; }
.panel p + p { margin-top: .6rem; }
.panel .btn { margin-top: 1.1rem; }
.panel .fine { margin-top: .8rem; font-size: .78rem; color: var(--muted); }
.panel-quiet { background: transparent; border-style: dashed; }
.deposit-table {
  width: 100%;
  margin-top: 1rem;
  font-size: .89rem;
  border-collapse: collapse;
}
.deposit-table th, .deposit-table td {
  text-align: left; padding: .45rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.deposit-table th { font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.deposit-table td:last-child, .deposit-table th:last-child { text-align: right; font-weight: 600; }

/* ------------------------------------------------------------------ footer */
.site-foot {
  background: var(--brown);
  color: var(--muted-on-brown);
  padding: clamp(38px, 5vw, 56px) 0;
  font-size: .9rem;
}
.foot-in {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  align-items: center; justify-content: space-between;
}
.site-foot .lockup .van { color: var(--cream); }
.site-foot .lockup .engen { color: var(--cream); }
.site-foot a { text-decoration: underline; text-underline-offset: 3px; }
.site-foot a:hover { color: #fff; }
.foot-mark { display: flex; align-items: center; gap: 1rem; }
.foot-mark svg { width: 36px; color: var(--sage); opacity: .85; flex: 0 0 auto; }

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Below this width the proportional grid stops being legible, so the
     primals become plain equal cards and the front/rear axis is dropped. */
  .primals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .primals > .pr { grid-column: auto !important; }
  .cut-axis { display: none; }
  .beef-grid, .reserve-grid, .how-foot { grid-template-columns: 1fr; }
  .archive { max-width: 460px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
}

@media (max-width: 820px) {
  :root { --head-h: 64px; }
  .nav-toggle { display: block; }
  /* Mobile menu is class-driven so CSS alone owns visibility per breakpoint —
     no `hidden` attribute to get stranded when the viewport crosses over. */
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(81, 50, 41, .4);
  }
  .site-head.nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 1rem var(--gut); border-bottom: 1px solid var(--line-soft); }
  .site-nav .btn { margin: 1rem var(--gut) 1.2rem; }

  /* Header stays sticky on mobile — the Reserve CTA is the whole point of the
     page, so it shouldn't scroll away. `sticky` still establishes the
     containing block the dropdown is positioned against. */
  .head-in { min-height: 64px; }
  .lockup .van { font-size: 1.65rem; }
  .lockup .engen { font-size: .85rem; letter-spacing: .15em; }
}

@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .primals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq summary { gap: .7rem; }
  form.reserve .row { flex-direction: column; gap: 0; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
}

/* ------------------------------------------------------------------- print */
@media print {
  .site-head, .hero-emblem, .hero-strip, #reserve, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  #beef { background: #fff; color: #000; }
  #beef h2, #beef p, .pullquote { color: #000; }
  section { padding: 24px 0; break-inside: avoid; }
  .faq details { break-inside: avoid; }
  .faq details > div { display: block !important; }
}
