/* =========================================================================
   CEJA FARMS — Global stylesheet
   1.  Tokens
   2.  Base / reset
   3.  Layout helpers
   4.  Buttons, icons, logo
   5.  Header + navigation
   6.  Hero
   7.  Feature strip
   8.  What We Do (service cards)
   9.  TAP callout banner
   10. Trust bar
   11. Footer
   12. Image placeholders
   13. Responsive
   ========================================================================= */

/* ============================== 1. TOKENS ============================== */
:root {
  /* Palette */
  --black:        #111110;   /* header / footer / solid buttons */
  --black-soft:   #1a1917;
  --ink:          #2a2521;   /* dark brown-black body text */
  --ink-muted:    #575350;
  --cream:        #f4f1ea;   /* warm off-white section background */
  --cream-deep:   #ece7dc;   /* alternate / placeholder base */
  --white:        #ffffff;
  --gold:         #d4a24c;   /* accent — underlines, outlined buttons */
  --gold-deep:    #b8863b;
  --line:         #e0d9cc;   /* hairline borders on cream */
  --line-dark:    #302d29;   /* hairline borders on black */

  /* Type */
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif:   "Playfair Display", "Times New Roman", Georgia, serif;

  /* Metrics */
  --container:    1240px;
  --gutter:       32px;
  --header-h:     100px;
  --radius:       2px;
  /* Distance from the viewport edge to the container's content edge */
  --edge:         max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  --shadow-card:  0 1px 2px rgba(30, 24, 16, .05), 0 8px 24px rgba(30, 24, 16, .06);
  --ease:         cubic-bezier(.4, 0, .2, 1);
}

/* ============================ 2. BASE / RESET ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p  { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ========================== 3. LAYOUT HELPERS ========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 84px 0 90px; }

/* Photo slot. Every image on the page sits in one of these so a missing photo
   still holds its aspect ratio (see section 12 for the placeholder styling).
   Declared here, ahead of the components, so component rules can override it. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 60%),
    var(--cream);
}

.section__head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 46px;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow__rule {
  width: 26px;
  height: 1px;
  background: var(--ink-muted);
  opacity: .55;
}

.section__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.06;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--black);
}

.section__lede {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-muted);
}

/* ===================== 4. BUTTONS, ICONS, LOGO ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arw { width: 24px; height: 12px; flex: none; }
.btn .arw path { fill: none; stroke: currentColor; stroke-width: 1.6; }

.btn--solid  { background: var(--black); color: var(--white); }
.btn--solid:hover { background: var(--gold-deep); }

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--ghost-gold {
  background: transparent;
  color: var(--white);
  border-color: var(--gold-deep);
}
.btn--ghost-gold:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .75);
}
.btn--ghost-light:hover { background: var(--white); color: var(--black); }

/* Line icons */
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--lg      { width: 34px; height: 34px; stroke-width: 1.2; }
.ico--card    { width: 34px; height: 34px; stroke-width: 1.15; color: var(--ink); }
.ico--callout { width: 40px; height: 40px; stroke-width: 1.1; color: var(--white); }
.ico--trust   { width: 34px; height: 34px; stroke-width: 1.2; color: var(--ink); }

/* Wordmark (images/logo.png — dark plaque w/ transparency, sits on the black bars) */
.logo {
  display: inline-block;
  line-height: 0;
}

.logo__img {
  display: block;
  height: 62px;
  width: auto;
}

.logo--footer .logo__img { height: 70px; }

/* ======================= 5. HEADER + NAVIGATION ======================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: space-between;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
  flex-wrap: wrap;
}

.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e9e6e0;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--white); }

.header__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  overflow: hidden;
}

.header__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--white);
  border-bottom: 1px solid var(--gold-deep);
  transition: background-color .2s var(--ease);
}
.header__phone:hover { background: rgba(212, 162, 76, .14); }

.header__quote {
  justify-content: center;
  padding: 9px 20px;
  border: 0;
  font-size: 13px;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px;
  width: 44px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bar + .nav-toggle__bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================ 6. HERO ================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 43vw, 640px);
  background: var(--cream);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Holds solid cream behind the headline, then clears quickly so the footage
   keeps its own colour instead of being hazed across the whole frame. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    var(--cream) 0%,
    rgba(244, 241, 234, .96) 27%,
    rgba(244, 241, 234, .66) 39%,
    rgba(244, 241, 234, .16) 51%,
    rgba(244, 241, 234, 0) 60%
  );
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__content { max-width: 640px; padding: 56px 0; }

.hero__title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: .002em;
  text-transform: uppercase;
  color: var(--black);
}
/* Line breaks are authored to match the mockup on desktop; below the nav
   breakpoint the headline reflows naturally instead. */
@media (max-width: 1024px) {
  .hero__title br { display: none; }
}

.hero__lede {
  max-width: 34ch;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================ 7. FEATURE STRIP ============================ */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--cream);
}

.feature {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.feature__media {
  aspect-ratio: 10 / 7;
  height: 100%;
}
.feature__media img { transition: transform .7s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.05); }

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .68) 100%);
  z-index: 1;
}

.feature__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 22px;
  color: var(--white);
}

.feature__name {
  position: relative;
  padding-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.feature__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.feature:hover .feature__name::after { width: 100%; }

/* ========================= 8. WHAT WE DO — CARDS ========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(30, 24, 16, .06), 0 16px 34px rgba(30, 24, 16, .12);
}

.card__media { aspect-ratio: 45 / 16; }
.card__media img { transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }

.card__body {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 22px 24px 26px;
  flex: 1;
}

.card__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--black);
}

.card__text p {
  margin: 0;
  font-size: 14.8px;
  line-height: 1.62;
  color: var(--ink-muted);
}

/* =========================== 9. TAP CALLOUT =========================== */
.callout {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.callout__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.callout .container { position: relative; z-index: 2; }

.callout__panel {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
  min-width: 0;              /* never let the button's width stretch the panel */
  max-width: 640px;
  padding: 46px 54px 48px 0;
}
.callout__text { min-width: 0; }
.callout__panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -100vw;              /* bleed the dark panel to the left edge */
  z-index: -1;
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    var(--black) 72%,
    rgba(17, 17, 16, .92) 88%,
    rgba(17, 17, 16, 0) 100%
  );
}

.callout__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
}
.callout__title-alt {
  display: block;
  font-size: .62em;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold);
}

.callout__text p {
  max-width: 52ch;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(240, 237, 231, .86);
}

/* ============================ 10. TRUST BAR ============================ */
.trust {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 36px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 6px 26px;
  border-left: 1px solid var(--line);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }

.trust__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--black);
}

.trust__item p {
  margin: 0;
  font-size: 13.6px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ============================== 11. FOOTER ============================== */
.site-footer {
  background: var(--black);
  color: #e9e6e0;
  padding: 44px 0 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.footer__tagline {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 230, 224, .82);
}

.footer__contact { display: grid; gap: 12px; }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(233, 230, 224, .9);
}
.footer__contact a { transition: color .2s var(--ease); }
.footer__contact a:hover { color: var(--gold); }

.footer__actions {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.socials { display: flex; gap: 12px; }

.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: var(--white);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.social:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.footer__legal p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(233, 230, 224, .5);
}

/* ======================= 12. EMPTY PHOTO SLOTS ======================= */
/* Nothing here draws a "placeholder". A slot whose photo hasn't landed yet
   either disappears entirely (content photos — cards, galleries, photo
   grids, texture overlays) or becomes a brand-toned surface that reads as
   part of the page (the big background bands, where something has to sit
   behind the copy).

   Drop the real photo into /images using the filename in data-ph and the
   slot comes back on its own — no markup changes. Add the class
   "show-slots" to <body> to light the empty ones up while you work.
   Base .media rules live in section 3 so component overrides (the
   absolutely positioned hero/callout backgrounds) win the cascade. */
.media.is-placeholder { background: transparent; }
.media.is-placeholder img { display: none; }

/* --- Content photos: the slot goes away --- */
.gallery__item.is-placeholder,
.photo-grid .media.is-placeholder,
.owner__photo.is-placeholder,
.statband__bg.is-placeholder,
.eligible__bg.is-placeholder,
.card__media.is-placeholder,
.project__media.is-placeholder { display: none; }

/* Card and project photos are dropped as a set, so a row never ends up half
   photographed and half not — the cards simply read as text cards until the
   whole set is shot. */
.cards:has(.card__media.is-placeholder) .card__media,
.projects__grid:has(.project__media.is-placeholder) .project__media { display: none; }

/* --- Background bands: a brand-toned surface instead of a photo --- */
.hero__media.is-placeholder,
.page-hero__media.is-placeholder,
.split__media.is-placeholder {
  background:
    radial-gradient(120% 120% at 78% 22%, rgba(212, 162, 76, .20) 0%, rgba(212, 162, 76, 0) 58%),
    linear-gradient(112deg, var(--cream) 0%, var(--cream-deep) 44%, #ded2b8 74%, #cdbf9f 100%);
}

/* The callout sits on black with a dark panel over it; keep it dark. */
.callout__media.is-placeholder {
  background:
    radial-gradient(120% 130% at 82% 18%, rgba(212, 162, 76, .22) 0%, rgba(212, 162, 76, 0) 62%),
    linear-gradient(112deg, var(--black) 0%, #1e1c18 52%, #2b261c 100%);
}

/* Feature-strip tiles carry white type over a bottom scrim, so they need a
   dark tile rather than a light one. */
.feature__media.is-placeholder {
  background: linear-gradient(158deg, #2c2720 0%, #1a1714 100%);
}

/* Layout compensation: where a hidden slot would otherwise leave a hole,
   the surviving content takes the whole width. */
.drives__grid:has(.photo-grid .media.is-placeholder) { grid-template-columns: minmax(0, 1fr); }
.owner__grid:has(.owner__photo.is-placeholder) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

/* --- Working view: <body class="show-slots"> labels what's still missing --- */
.show-slots .media.is-placeholder,
.show-slots .cards:has(.card__media.is-placeholder) .card__media.is-placeholder,
.show-slots .projects__grid:has(.project__media.is-placeholder) .project__media.is-placeholder {
  display: grid;
  place-items: center;
  min-height: 60px;
  background: repeating-linear-gradient(45deg, #ece7dc 0 8px, #e2dacb 8px 16px);
  box-shadow: inset 0 0 0 1px rgba(120, 104, 76, .3);
}
.show-slots .media.is-placeholder::after {
  content: attr(data-ph);
  padding: 0 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.4;
  text-align: center;
  color: rgba(107, 92, 64, .9);
}

/* =========================================================================
   INTERIOR PAGE COMPONENTS
   Used by vinyards.html (and reusable by the other interior pages).
   ========================================================================= */

/* ------------------------------ Page hero ------------------------------ */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 36vw, 540px);
  background: var(--cream);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    var(--cream) 0%,
    rgba(244, 241, 234, .96) 24%,
    rgba(244, 241, 234, .74) 36%,
    rgba(244, 241, 234, .24) 50%,
    rgba(244, 241, 234, 0) 62%
  );
}
/* Which band of each hero photo shows. Most of these sources are portrait
   (1145 × 1374), far taller than the wide desktop hero, so object-fit: cover
   keeps only a horizontal strip — these pick the strip. Keyed on filename so
   replacing a photo never needs a markup change. The same value also frames
   the 250px band on phones. */
.page-hero__media img[src$="about-hero.jpg"]    { object-position: 50% 30%; }
.page-hero__media img[src$="contact-hero.jpg"]  { object-position: 50% 34%; }
.page-hero__media img[src$="projects-hero.jpg"] { object-position: 50% 52%; }
.page-hero__media img[src$="rentals-hero.jpg"]  { object-position: 50% 38%; }
.page-hero__media img[src$="vineyard-hero.jpg"] { object-position: 50% 26%; }
.page-hero__media img[src$="tap-hero.jpg"]      { object-position: 50% 30%; }

.page-hero__inner { position: relative; z-index: 2; width: 100%; }
.page-hero__content { max-width: 600px; padding: 54px 0; }

.page-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--black);
}

/* Short gold rule under a left-aligned heading */
.rule {
  width: 62px;
  height: 3px;
  margin: 0 0 22px;
  background: var(--gold);
  border: 0;
}

.page-hero__sub {
  max-width: 30ch;
  margin: 0 0 20px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--ink);
}

.page-hero__body {
  max-width: 44ch;
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* --------------------- Centred section heading + rule --------------------- */
.section__title--center { margin-bottom: 0; }

.rule--center {
  width: 62px;
  margin: 14px auto 18px;
}

/* ---------------------- Four-up cards (solutions) ---------------------- */
.cards--four { grid-template-columns: repeat(4, 1fr); }
.card--tall .card__media { aspect-ratio: 5 / 3; }

/* Narrower columns than the 3-up home grid, so the type steps down a notch. */
.cards--four .card__body {
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 20px 20px 24px;
}
.cards--four .ico--card { width: 30px; height: 30px; }
.cards--four .card__title { font-size: 17px; letter-spacing: .03em; }
.cards--four .card__text p { font-size: 14.2px; }

/* ------------------- Boxed TAP callout (interior pages) ------------------- */
.callout--boxed {
  background: transparent;
  overflow: visible;
  padding: 0;
}
.callout--boxed .callout__wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
}
.callout--boxed .callout__media {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  min-height: 100%;
}
.callout--boxed .callout__panel {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  padding: 40px 40px 42px 38px;
  z-index: 2;
}
.callout--boxed .callout__title { font-size: clamp(22px, 2.2vw, 28px); }
.callout--boxed .callout__text p { font-size: 14.6px; }

.callout--boxed .callout__panel::before {
  left: 0;
  right: -14%;
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    var(--black) 76%,
    rgba(17, 17, 16, 0) 100%
  );
}

/* -------------------------- Why growers choose -------------------------- */
.why { padding: 76px 0 78px; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 8px;
}

.why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px 22px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.why__item:first-child { border-left: 0; }

.why__text { max-width: 210px; }

.why__title {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--black);
}

.why__item p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ---------------------------- Photo gallery ---------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  background: var(--cream);
}
.gallery__item { aspect-ratio: 16 / 9; }
.gallery__item img { transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

/* ----------------------------- CTA bar ----------------------------- */
.cta-bar {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.cta-bar__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border: 1px solid var(--ink-muted);
  border-radius: 50%;
  color: var(--ink);
}
.cta-bar__mark .ico { width: 24px; height: 24px; }

.cta-bar__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--black);
}

.cta-bar__text {
  margin: 0;
  padding-right: 26px;
  border-right: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ------------------------- Circled icon marks ------------------------- */
.mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.mark .ico { width: 26px; height: 26px; }

.mark--dark  { color: var(--ink); border-color: rgba(42, 37, 33, .4); }
.mark--light { color: #fff; border-color: rgba(255, 255, 255, .55); }

.mark--lg { width: 64px; height: 64px; }
.mark--lg .ico { width: 30px; height: 30px; }

/* Left-aligned gold eyebrow with a trailing rule */
.eyebrow--gold {
  justify-content: flex-start;
  margin-bottom: 12px;
  color: var(--gold-deep);
  letter-spacing: .2em;
}
.eyebrow--gold .eyebrow__rule { background: var(--gold-deep); opacity: .8; }

/* ---------------------- Badge row (4 reassurances) ---------------------- */
.badges {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 28px;
}

.badges__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.badges__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;        /* titles line up even when copy runs long */
  padding: 4px 24px;
  border-left: 1px solid var(--line);
}
.badges__item:first-child { border-left: 0; padding-left: 0; }

.badges__title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
}
.badges__item p {
  margin: 0;
  font-size: 13.4px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ------------------------- Equipment cards (5-up) ------------------------- */
.cards--five { grid-template-columns: repeat(5, 1fr); gap: 18px; }

.card--equip .card__media { aspect-ratio: 4 / 3; }

.card--equip .card__body {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.card--equip .card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card--equip .card__text p {
  margin: 0;
  font-size: 13.6px;
  line-height: 1.6;
}

.card__list {
  margin: 12px 0 0;
  display: grid;
  gap: 5px;
}
.card__list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.2px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 16px 0 5px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  box-shadow: inset 0 -2px 0 0 var(--gold);
  transition: box-shadow .25s var(--ease), color .25s var(--ease);
}
.card__link .arw { width: 22px; height: 12px; }
.card__link .arw path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.card__link:hover { box-shadow: inset 0 -2px 0 0 var(--black); }

/* ------------------ Reversed callout (photo left, panel right) ------------------ */
.callout--reverse .callout__wrap { grid-template-columns: minmax(0, 38%) minmax(0, 62%); }
.callout--reverse .callout__media { grid-column: 1; grid-row: 1; }
.callout--reverse .callout__panel {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 42px 44px 44px 46px;
}
.callout--reverse .callout__panel::before {
  left: -18%;
  right: 0;
  background: linear-gradient(
    270deg,
    var(--black) 0%,
    var(--black) 82%,
    rgba(17, 17, 16, 0) 100%
  );
}
.callout--reverse .callout__title { margin-bottom: 12px; }

/* --------------------- Two-column info row --------------------- */
.info-duo {
  background: var(--cream);
  padding: 42px 0 46px;
}
.info-duo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.info-duo__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding-left: 44px;
  border-left: 1px solid var(--line);
}
.info-duo__item:first-child { border-left: 0; padding-left: 0; }

.info-duo__title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--black);
}
.info-duo__item p {
  margin: 0;
  font-size: 14.6px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ===================== TAP PAGE COMPONENTS ===================== */

/* Gold sub-headline under a page-hero title */
.page-hero__alt {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.badges__grid--three { grid-template-columns: repeat(3, 1fr); }

/* ------------------- Split: copy left, photo right ------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  background: var(--cream);
}

.split__copy {
  display: flex;
  align-items: center;
  padding: 64px 52px 64px var(--edge);
}
.split__inner { max-width: 520px; }

.split__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.06;
  text-transform: uppercase;
  color: var(--black);
}

.split__copy p {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-muted);
}

.split__media { min-height: 420px; }

/* Bordered aside note */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 15px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}
.note .ico { width: 30px; height: 30px; color: var(--ink); }
.note p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.55;
}

/* --------------------------- Eligibility --------------------------- */
.eligible {
  position: relative;
  isolation: isolate;
  padding: 54px 0 50px;
  background: var(--cream-deep);
}
.eligible__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
}
.eligible .container { position: relative; }

.eligible__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.eligible__item {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 4px 26px;
  text-align: center;
  border-left: 1px solid rgba(42, 37, 33, .14);
}
.eligible__item:first-child { border-left: 0; }

.eligible__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.check {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
  color: var(--gold-deep);
}
.check .ico { width: 18px; height: 18px; stroke-width: 2.2; }

.eligible__note {
  max-width: 640px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 13.6px;
  font-style: italic;
  color: var(--ink-muted);
}

/* ---------------------------- Process ---------------------------- */
.process {
  background: var(--black);
  padding: 58px 0 62px;
}
.process .section__title { color: var(--white); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 30px;
}

.process__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 18px;
  text-align: center;
}
/* Chevron between steps */
.process__step + .process__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--gold-deep);
  border-right: 2px solid var(--gold-deep);
  transform: rotate(45deg);
}

.process__icon { color: var(--gold); }
.process__icon .ico { width: 40px; height: 40px; stroke-width: 1.2; }

.process__title {
  margin: 2px 0 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--white);
}

.process__step p {
  margin: 0;
  font-size: 13.4px;
  line-height: 1.58;
  color: rgba(240, 237, 231, .78);
}

/* --------------------------- Ready to start --------------------------- */
.ready {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 52px 0 56px;
}

.ready__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.ready__title {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--black);
}

.ready__sub {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ready__grid > div p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.ready__contacts {
  display: grid;
  grid-template-columns: repeat(3, auto);   /* each sized to its own content */
}

.ready__contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 2px 18px;
  border-left: 1px solid var(--line);
  color: inherit;
}
.ready__contact:first-child { border-left: 0; padding-left: 0; }
.ready__contact .ico { width: 30px; height: 30px; color: var(--ink); }

.ready__label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
}
.ready__value {
  display: block;
  font-size: 14.4px;
  line-height: 1.45;
  color: var(--ink-muted);
}
a.ready__contact:hover .ready__value { color: var(--gold-deep); }

/* ======================= PROJECTS PAGE ======================= */
.filters {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.filters__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.filters__label {
  margin-right: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.filter {
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { background: rgba(17, 17, 16, .07); }
.filter.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.projects { background: var(--cream); padding: 34px 0 72px; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.project {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(30, 24, 16, .06), 0 16px 34px rgba(30, 24, 16, .12);
}
.project[hidden] { display: none; }

.project__media { aspect-ratio: 3 / 2; }
.project__media img { transition: transform .6s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }

.project__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 20px;
}

.project__cat {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.project__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--black);
}
.project__place {
  margin: 0 0 10px;
  font-size: 13.4px;
  color: var(--ink-muted);
}
.project__desc {
  margin: 0;
  font-size: 13.6px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Stats strip */
.stats {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 30px;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stats__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 4px 26px;
  border-left: 1px solid var(--line);
}
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__item .ico { width: 42px; height: 42px; stroke-width: 1.15; }

.stats__num {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.05;
  color: var(--black);
}
.stats__label {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--black);
}
.stats__sub {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Callout panel with no icon column */
.callout__panel--plain { grid-template-columns: 1fr; }

/* ========================= ABOUT PAGE ========================= */
.split--reverse { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
.split--reverse .split__copy { padding: 60px var(--edge) 60px 52px; }
.split--reverse .split__inner { max-width: 560px; }

.minifeat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}
.minifeat__item {
  display: grid;
  gap: 10px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
}
.minifeat__item:first-child { border-left: 0; padding-left: 0; }
.minifeat__item .ico { width: 34px; height: 34px; }
.minifeat__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--black);
}

/* Dark stat band */
.statband {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  padding: 44px 0 46px;
}
.statband__bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }

.statband__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  gap: 40px;
  align-items: center;
}
.statband__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--white);
}
.statband__grid > div > p {
  margin: 0 0 20px;
  font-size: 14.6px;
  line-height: 1.65;
  color: rgba(240, 237, 231, .82);
}

.statband__stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.statband__stat {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0 14px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.statband__stat:first-child { border-left: 0; }
.statband__stat .ico { width: 36px; height: 36px; color: var(--gold); stroke-width: 1.2; }

.statband__num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  color: var(--white);
}
.statband__label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.8px;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}
.statband__sub {
  margin: 0;
  font-size: 12.2px;
  line-height: 1.4;
  color: rgba(240, 237, 231, .68);
}

/* What drives us */
.drives { background: var(--cream); padding: 60px 0 64px; }
.drives__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.drives__grid > div > p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); }

.values { display: grid; gap: 13px; margin-top: 22px; }
.values__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.values__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.values__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--black);
}
.values__text { font-size: 14px; color: var(--ink-muted); }

.check--sm { width: 26px; height: 26px; }
.check--sm .ico { width: 14px; height: 14px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.photo-grid .media { aspect-ratio: 4 / 3; }

/* Meet the owner */
.owner {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 46px 0 50px;
}
.owner__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 34px;
  align-items: center;
}
.owner__photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
}
.owner__name {
  margin: 2px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--black);
}
.owner__copy p {
  margin: 0 0 12px;
  font-size: 14.4px;
  line-height: 1.65;
  color: var(--ink-muted);
}
.owner__copy p:last-child { margin-bottom: 0; }

.owner__quote {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}
.owner__quote blockquote {
  margin: 0;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 25px;
  line-height: 1.35;
  color: var(--ink);
}
.owner__sign {
  margin: 16px 0 2px;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 23px;
  color: var(--ink);
}
.owner__role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ======================== CONTACT PAGE ======================== */
.contact { background: var(--cream); padding: 58px 0 68px; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr);
  gap: 40px;
  align-items: start;
}

.form {
  padding: 30px 30px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.form__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  text-transform: uppercase;
  color: var(--black);
}
.form__intro {
  margin: 0 0 24px;
  font-size: 14.6px;
  color: var(--ink-muted);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
}

.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
}
.field .req { color: var(--gold-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fdfcfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #cfc6b4; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form__note {
  margin: 16px 0 0;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.form__status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(212, 162, 76, .1);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.form__status[hidden] { display: none; }
.form__status--ok  { border-left-color: #4a7c2f; background: rgba(74, 124, 47, .09); }
.form__status--err { border-left-color: #a8322b; background: rgba(168, 50, 43, .08); }

/* Off-screen but still readable by assistive tech / submitted with the form */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Dark contact details card */
.info-card {
  padding: 28px 26px 30px;
  background: var(--black);
  border-radius: var(--radius);
  color: #e9e6e0;
}
.info-card__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
  color: var(--white);
}
.info-card__list { display: grid; gap: 16px; }
.info-card__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  color: inherit;
}
.info-card__row .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--gold); }
.info-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(233, 230, 224, .62);
}
.info-card__value {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #f2efe9;
}
a.info-card__row:hover .info-card__value { color: var(--gold); }

.info-card__divider {
  height: 1px;
  margin: 22px 0;
  background: var(--line-dark);
  border: 0;
}
.info-card__note {
  margin: 0;
  font-size: 13.4px;
  line-height: 1.6;
  color: rgba(233, 230, 224, .72);
}

/* =========================== CHERRIES PAGE ===========================
   The cherries mockup swaps the site's gold accent for a deep cherry red and
   sets the card titles in the condensed sans rather than the serif. Scoped to
   .page-cherry on <body> so nothing else on the site is affected.
   ==================================================================== */
.page-cherry {
  --cherry: #7d2427;         /* on cream */
  --cherry-light: #c9524a;   /* on the dark callout */
}

.page-cherry .eyebrow--gold { color: var(--cherry); }
.page-cherry .eyebrow--gold .eyebrow__rule { background: var(--cherry); opacity: 1; }
.page-cherry .rule { background: var(--cherry); }

.page-cherry .ico--card,
.page-cherry .ico--trust { color: var(--cherry); }

.page-cherry .ico--callout { color: var(--cherry-light); }
.page-cherry .callout__title-alt { color: var(--cherry-light); }

.page-cherry .cards--four .card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
}
.page-cherry .card--tall .card__media { aspect-ratio: 16 / 9; }

/* ============================== VIDEO ==============================
   The home hero runs a short silent drone loop over its still photo; every
   other <video> is a click-to-play block that never downloads until asked.
   ================================================================= */

/* The drone footage is flat and dusty straight off the camera -- a light lift. */
.hero__media img,
.hero__video {
  filter: contrast(1.1) saturate(1.18) brightness(.98);
}

/* The loop is cut from the same frame as the still, so it fades in over the
   photo without a jump. It stays invisible until it is actually playing --
   if it never loads (reduced motion, data saver, no JS), the still is all
   anyone sees. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.hero__video.is-playing { opacity: 1; }

/* Pause/play for the loop (WCAG 2.2.2) -- small, bottom-right, off the copy. */
.hero__motion {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(17, 17, 16, .45);
  color: var(--white);
  cursor: pointer;
  transition: background .2s var(--ease);
}
.hero__motion:hover { background: rgba(17, 17, 16, .7); }
.hero__motion:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero__motion[hidden] { display: none; }
.hero__motion svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__motion-play { fill: currentColor !important; stroke-width: 1.2 !important; }
.hero__motion .hero__motion-play,
.hero__motion.is-paused .hero__motion-pause { display: none; }
.hero__motion.is-paused .hero__motion-play { display: block; }

/* ---------------------- Inline feature video block ---------------------- */
.videoblock {
  background: var(--cream);
  padding: 62px 0 68px;
}

.videoblock__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.videoblock__copy p {
  margin: 0;
  font-size: 15.2px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.videoblock__player {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.videoblock__player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.videoblock__copy .videoblock__note,
.videoblock__note {
  margin: 12px 0 0;
  font-size: 12.8px;
  color: var(--ink-muted);
}

/* Portrait modifier — phone footage stays phone-shaped instead of being
   cropped into the 16:9 frame the landscape clips use. */
.videoblock--portrait .videoblock__inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
}
.videoblock--portrait .videoblock__player {
  max-width: 340px;
  margin-inline: auto;
}
.videoblock--portrait .videoblock__player video {
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

/* ------------------------- Community footnote -------------------------
   A short band above the footer on the home page. Two vertical clips,
   click-to-play like every other video on the site — preload="none", so
   nothing downloads unless a visitor asks for it.
   -------------------------------------------------------------------- */
.community {
  background: var(--black-soft);
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 60px;
  color: rgba(233, 230, 224, .78);
}

.community__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.community__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
}

.community__copy p:last-child {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.72;
}

.community__clips { display: flex; gap: 18px; }

.community__clip { margin: 0; width: 168px; }

/* A single clip has room to breathe. */
.community__clips:has(> :only-child) .community__clip { width: 216px; }

.community__clip video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.community__clip figcaption {
  margin-top: 9px;
  font-size: 12.2px;
  line-height: 1.45;
  color: rgba(233, 230, 224, .58);
}

/* --------------------------- Footer follow --------------------------- */
.footer__follow { display: grid; justify-items: center; gap: 10px; }

.footer__follow-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(233, 230, 224, .82);
}

/* ============================ 13. RESPONSIVE ============================ */
@media (max-width: 1180px) {
  :root { --gutter: 24px; }
  .nav { gap: 18px; }
  .nav__list { gap: 14px; }
  .nav__link { font-size: 13.5px; letter-spacing: .07em; }
  .callout__panel { max-width: 560px; }
}

/* --- Nav collapses to a drawer --- */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .nav.is-open { max-height: 640px; padding-block: 8px 24px; }

  .header__inner { position: relative; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-dark); }
  .nav__link { padding: 14px 2px; font-size: 15px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--gold); }

  .header__actions { margin-top: 20px; }
  .header__phone { justify-content: flex-start; }
  .header__quote { justify-content: center; }
}

@media (max-width: 960px) {
  .section { padding: 66px 0 70px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .feature__media { aspect-ratio: 16 / 10; }

  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 32px;
  }
  .footer__actions { justify-items: start; }
}

@media (max-width: 780px) {
  .hero { min-height: 0; }
  .hero__scrim {
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      rgba(244, 241, 234, .95) 42%,
      rgba(244, 241, 234, .72) 70%,
      rgba(244, 241, 234, .35) 100%
    );
  }
  .hero__content { max-width: none; padding: 52px 0 340px; }
  .hero__title { max-width: none; }
  .hero__lede { max-width: 46ch; }

  /* Phones: stretched behind the whole stacked hero, the footage is cropped
     to a sliver and its subject sits under the headline. Pin it to a band
     below the buttons instead, so the tractor stays in frame. */
  .hero__media { top: auto; height: 340px; }
  .hero__scrim {
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      var(--cream) calc(100% - 340px),
      rgba(244, 241, 234, 0) calc(100% - 250px)
    );
  }

  .callout__panel {
    max-width: none;
    padding: 40px 0 44px;
    grid-template-columns: 36px 1fr;
  }
  .callout__panel::before {
    left: -100vw;
    right: -100vw;
    background: linear-gradient(180deg, rgba(17, 17, 16, .96) 0%, rgba(17, 17, 16, .9) 100%);
  }
  .callout__media img { object-position: center; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }

  .strip { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 16 / 9; }

  .cards { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 16 / 7; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__content { padding-bottom: 280px; }
  .hero__media { height: 280px; }
  .hero__scrim {
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      var(--cream) calc(100% - 280px),
      rgba(244, 241, 234, 0) calc(100% - 200px)
    );
  }

  .trust__grid { grid-template-columns: 1fr; gap: 22px; }
  .trust__item { border-left: 0; padding-left: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__legal { flex-direction: column; }
  .logo__img { height: 40px; }
  .logo--footer .logo__img { height: 46px; }
}

/* --- Interior page components (these follow the base rules above) --- */
@media (max-width: 1180px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .why__item:nth-child(3n + 1) { border-left: 0; }
}

@media (max-width: 960px) {
  .cards--four { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:nth-child(n + 4) { display: none; }

  .callout--boxed .callout__wrap { grid-template-columns: 1fr; }
  .callout--boxed .callout__media {
    grid-column: 1;
    grid-row: 1;
    position: absolute;
    inset: 0;
  }
  .callout--boxed .callout__panel { grid-column: 1; grid-row: 1; padding: 36px 30px 38px; }
  .callout--boxed .callout__panel::before {
    left: -30px;
    right: -30px;
    background: linear-gradient(180deg, rgba(17, 17, 16, .96) 0%, rgba(17, 17, 16, .9) 100%);
  }

  .cta-bar__text { padding-right: 0; border-right: 0; }
}

@media (max-width: 780px) {
  .why { padding: 60px 0 62px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .why__item:nth-child(2n + 1) { border-left: 0; }

  /* Same treatment as the home hero: the photo becomes a clear band under
     the copy instead of a washed-out layer behind it. */
  .page-hero__content { padding: 46px 0 250px; }
  .page-hero__media { top: auto; height: 250px; }
  .page-hero__scrim {
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      var(--cream) calc(100% - 250px),
      rgba(244, 241, 234, 0) calc(100% - 170px)
    );
  }

  .cta-bar__inner { flex-direction: column; text-align: center; }
  .cta-bar__text { text-align: center; }
}

@media (max-width: 620px) {
  /* Long button labels wrap rather than forcing their container wider. */
  .btn { white-space: normal; }

  .cards--four { grid-template-columns: 1fr; }
  .card--tall .card__media { aspect-ratio: 16 / 9; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(n + 3) { display: none; }

  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-left: 0 !important; padding-inline: 0; align-items: flex-start; }
  .why__text { max-width: none; }
}

/* --- Rentals page components --- */
@media (max-width: 1180px) {
  .cards--five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .badges__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .badges__item:nth-child(odd) { border-left: 0; padding-left: 0; }

  .callout--reverse .callout__wrap { grid-template-columns: 1fr; }
  .callout--reverse .callout__panel {
    grid-column: 1;
    grid-row: 1;
    padding: 36px 30px 38px;
  }
  .callout--reverse .callout__panel::before {
    left: -30px;
    right: -30px;
    background: linear-gradient(180deg, rgba(17, 17, 16, .96) 0%, rgba(17, 17, 16, .9) 100%);
  }

  .info-duo__grid { grid-template-columns: 1fr; gap: 30px; }
  .info-duo__item { border-left: 0; padding-left: 0; }
}

@media (max-width: 780px) {
  .cards--five { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .badges__grid { grid-template-columns: 1fr; }
  .badges__item { border-left: 0; padding-left: 0; }
  .cards--five { grid-template-columns: 1fr; }
  .card--equip .card__media { aspect-ratio: 16 / 9; }
}

/* --- TAP page components --- */
@media (max-width: 1180px) {
  .process__grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process__step:nth-child(3n + 1)::before { display: none; }
}

@media (max-width: 960px) {
  .badges__grid--three { grid-template-columns: 1fr; row-gap: 24px; }
  .badges__grid--three .badges__item { border-left: 0; padding-left: 0; }

  .split { grid-template-columns: 1fr; }
  .split__copy { padding: 52px var(--gutter) 46px; }
  .split__inner { max-width: none; }
  .split__media { min-height: 320px; }

  .eligible__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .eligible__item:nth-child(odd) { border-left: 0; }

  .ready__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 780px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__step::before { display: none !important; }

  .ready__contacts { grid-template-columns: 1fr; gap: 18px; }
  .ready__contact { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .eligible__grid { grid-template-columns: 1fr; }
  .eligible__item { border-left: 0; padding-inline: 0; }
  .process__grid { grid-template-columns: 1fr; }
}

/* --- Projects / About / Contact --- */
@media (max-width: 1180px) {
  .projects__grid { grid-template-columns: repeat(3, 1fr); }
  .owner__grid { grid-template-columns: auto minmax(0, 1fr); }
  .owner__quote { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }

  .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { grid-row: 1; }
  .split--reverse .split__copy { padding: 52px var(--gutter) 46px; }
  .split--reverse .split__inner { max-width: none; }

  .statband__grid { grid-template-columns: 1fr; gap: 28px; }
  .drives__grid { grid-template-columns: 1fr; gap: 34px; }

  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 780px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .minifeat { grid-template-columns: 1fr; gap: 20px; }
  .minifeat__item { border-left: 0; padding-left: 0; }
  .statband__stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .statband__stat:nth-child(odd) { border-left: 0; }

  .owner__grid { grid-template-columns: 1fr; justify-items: start; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .projects__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-left: 0; padding-left: 0; }
  .filters__inner { gap: 8px; }
  .filter { padding: 9px 14px; font-size: 11.5px; }
  .photo-grid { gap: 8px; }
  .form { padding: 24px 20px 26px; }
}

/* --- Video --- */
@media (max-width: 960px) {
  .videoblock__inner,
  .videoblock--portrait .videoblock__inner { grid-template-columns: 1fr; gap: 28px; }
  .videoblock--portrait .videoblock__player { max-width: 300px; margin-inline: 0; }
}
@media (max-width: 620px) {
  .videoblock { padding: 48px 0 52px; }
  .videoblock--portrait .videoblock__player { max-width: none; }
}

/* --- Community footnote --- */
@media (max-width: 960px) {
  .community__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .community { padding: 44px 0 48px; }
  .community__clips { gap: 14px; }
  .community__clip { width: auto; flex: 1 1 0; }
}

/* --- Motion preferences --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
